/*
Theme Name: iBNi Theme
Theme URI: https://ibni.co.uk/
Author: Ibrahim Olammy
Author URI: https://ibni.co.uk/
Description: Standalone Elementor-ready theme for iBNi World. Presentation only; state and enquiry live in the iBNi Core plugin.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ibni-theme
Tags: custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, elementor
*/

:root {
	--ibni-purple: #704db0;
	--ibni-deep: #2d174a;
	--ibni-gold: #f4c65f;
	--ibni-amber: #b87925;
	--ibni-teal: #02777c;
	--ibni-blue: #68c0e6;
	--ibni-green: #48a96b;
	--ibni-cream: #fff7e8;
	--ibni-ink: #211332;
	--ibni-primary: var(--ibni-purple);
	--ibni-radius: 10px;
}

/* Minimal base. Home page styles load from assets/home/ when that template is used. */
body {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.6;
	color: #1a1a1a;
	background: #fff;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	clip: auto;
	background: #fff;
	color: var(--ibni-deep);
	border-radius: var(--ibni-radius);
	box-shadow: 0 4px 16px rgba(45, 23, 74, 0.2);
}

/* Site header / footer chrome (used when no Elementor Theme Builder header/footer). */
.site-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding: 0.75rem 1.5rem;
	background: var(--ibni-cream);
	border-bottom: 1px solid rgba(112, 77, 176, 0.16);
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 44px;
}

.site-branding img,
.site-branding .custom-logo {
	display: block;
	width: auto;
	max-height: 44px;
}

.site-branding picture {
	display: contents;
}

.site-logo-link,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.site-nav .sub-menu {
	display: none;
}

.site-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 0.875rem;
	border-radius: 999px;
	color: var(--ibni-deep);
	font-weight: 600;
	text-decoration: none;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
	background: rgba(112, 77, 176, 0.12);
}

.site-nav a:focus-visible,
.site-logo-link:focus-visible,
.custom-logo-link:focus-visible {
	outline: 2px solid var(--ibni-purple);
	outline-offset: 2px;
}

.site-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding: 1rem 1.5rem;
	margin-top: 2rem;
	border-top: 1px solid rgba(112, 77, 176, 0.16);
	background: var(--ibni-cream);
	font-size: 0.9rem;
}

.site-footer .site-info {
	margin: 0;
	color: #4a3d5c;
}

@media (max-width: 600px) {
	.site-header {
		padding: 0.5rem 1rem;
	}

	.site-nav a {
		padding: 0 0.625rem;
	}

	.site-footer {
		justify-content: center;
		text-align: center;
	}
}

/* Content */
.site-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 2rem;
}

.alignwide {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	max-width: none;
	width: 100%;
}

.entry-header {
	margin: 0 0 1.25rem;
}

.entry-title {
	margin: 0;
	line-height: 1.2;
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
}

.post-thumbnail {
	margin-bottom: 1rem;
}

@media (max-width: 600px) {
	.site-content {
		padding: 1.5rem 1rem 1.5rem;
	}
}

.page-template-full-width .site-content,
.page-template-templatesfull-width-php .site-content {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/* Full-width Woo contexts (cart / checkout / account). */
body.ibni-fullwidth .site-content,
body.ibni-woo-fullwidth .site-content {
	max-width: none;
	width: 100%;
	padding-left: 1rem;
	padding-right: 1rem;
}
