/* ==========================================================================
   مركز برهان لبناء اليقين — Burhan Core styles
   Logical properties throughout so the same rules work RTL (ar) and LTR (nl).
   ========================================================================== */

:root {
	--bh-navy: #24324A;
	--bh-navy-2: #2F4163;
	--bh-navy-3: #1B2638;
	--bh-ink: #1C2433;
	--bh-body: #3B4252;
	--bh-muted: #6E6A60;
	--bh-gold: #C2A160;
	--bh-gold-2: #A8884A;
	--bh-gold-soft: #F3EBD9;
	--bh-cream: #F8F5EE;
	--bh-sand: #EFE8DA;
	--bh-line: #E4DDCF;
	--bh-white: #FFFFFF;
	--bh-radius: 18px;
	--bh-radius-sm: 12px;
	--bh-shadow: 0 1px 2px rgba(28, 36, 51, .05), 0 12px 32px -12px rgba(28, 36, 51, .18);
	--bh-font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
	--bh-display: 'Reem Kufi', 'IBM Plex Sans Arabic', system-ui, sans-serif;
	--bh-quran: 'Amiri', 'Traditional Arabic', serif;
	--bh-header-h: 84px;
	--bh-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23C2A160' stroke-width='1'%3E%3Cpath d='M44 14l8.8 21.2L74 44l-21.2 8.8L44 74l-8.8-21.2L14 44l21.2-8.8z'/%3E%3Crect x='23' y='23' width='42' height='42' transform='rotate(45 44 44)'/%3E%3Crect x='23' y='23' width='42' height='42'/%3E%3C/g%3E%3C/svg%3E");
}

.bh-lang-nl { --bh-display: 'IBM Plex Sans Arabic', system-ui, sans-serif; }

html.bh-no-scroll { overflow: hidden; }

body.bh-site {
	font-family: var(--bh-font);
	color: var(--bh-body);
	background: var(--bh-white);
	-webkit-font-smoothing: antialiased;
}

body.bh-site h1, body.bh-site h2, body.bh-site h3, body.bh-site h4,
body.bh-site .entry-title { font-family: var(--bh-font); color: var(--bh-ink); }

/* Hide the theme's own header/footer and any old builder header/footer. */
body.bh-site #masthead,
body.bh-site header.site-header:not(#bh-header),
body.bh-site .elementor-location-header,
body.bh-site #colophon,
body.bh-site footer.site-footer:not(#bh-footer),
body.bh-site .elementor-location-footer,
body.bh-site footer[data-elementor-type="footer"],
body.bh-site .ast-above-header-wrap,
body.bh-site .ast-mobile-header-wrap { display: none !important; }

.bh-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }

.bh-icon { flex: none; }

/* ---------- Buttons & links ---------- */
.bh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px; border-radius: 999px;
	font: 600 15px/1.2 var(--bh-font); text-decoration: none !important;
	border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
	white-space: nowrap;
}
.bh-btn:focus-visible, .bh-link:focus-visible, .bh-nav a:focus-visible, .bh-lang a:focus-visible, .bh-burger:focus-visible {
	outline: 3px solid var(--bh-gold); outline-offset: 2px;
}
.bh-btn--lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }
.bh-btn--navy { background: var(--bh-navy); color: var(--bh-white) !important; }
.bh-btn--navy:hover { background: var(--bh-navy-3); transform: translateY(-1px); box-shadow: var(--bh-shadow); }
.bh-btn--gold { background: var(--bh-gold); color: var(--bh-navy-3) !important; }
.bh-btn--gold:hover { background: #D1B274; transform: translateY(-1px); box-shadow: var(--bh-shadow); }
.bh-btn--ghost { background: transparent; color: var(--bh-navy) !important; border-color: var(--bh-line); }
.bh-btn--ghost:hover { border-color: var(--bh-navy); }
.bh-btn--outline-light { background: transparent; color: var(--bh-white) !important; border-color: rgba(255,255,255,.35); }
.bh-btn--outline-light:hover { border-color: var(--bh-gold); color: var(--bh-gold) !important; }
.bh-btn[disabled] { opacity: .6; cursor: wait; }

.bh-link { display: inline-flex; align-items: center; gap: 6px; color: var(--bh-navy) !important; font-weight: 600; text-decoration: none !important; }
.bh-link .bh-icon { width: 18px; height: 18px; color: var(--bh-gold-2); transition: transform .2s; }
.bh-link:hover .bh-icon { transform: translateX(3px); }
[dir="rtl"] .bh-link .bh-icon, [dir="rtl"] .bh-btn .bh-icon[data-flip], .bh-lang-ar .bh-link .bh-icon, .bh-lang-ar .bh-btn .bh-icon { transform: scaleX(-1); }
.bh-lang-ar .bh-link:hover .bh-icon { transform: scaleX(-1) translateX(3px); }
.bh-lang-ar .bh-btn .bh-icon:not(:last-child) { transform: none; }

/* ---------- Header ---------- */
.bh-header {
	position: sticky; top: 0; z-index: 999;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
	font-family: var(--bh-font);
}
.admin-bar .bh-header { top: 32px; }
.bh-header.is-scrolled { border-bottom-color: var(--bh-line); box-shadow: 0 6px 24px -18px rgba(28,36,51,.35); }
.bh-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--bh-header-h); }
.bh-brand { display: inline-flex; flex: none; }
.bh-brand img { display: block; height: 62px; width: auto; }

.bh-nav { flex: 1; display: flex; justify-content: center; }
.bh-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bh-nav__list a {
	display: block; padding: 10px 14px; border-radius: 999px;
	color: var(--bh-ink); font-weight: 500; font-size: 15.5px; text-decoration: none;
	transition: background .2s, color .2s; white-space: nowrap;
}
.bh-nav__list a:hover { background: var(--bh-cream); color: var(--bh-navy); }
.bh-nav__list a.is-current { color: var(--bh-navy); background: var(--bh-gold-soft); font-weight: 600; }
.bh-nav__mobile-extra { display: none; }

.bh-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.bh-lang { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--bh-line); border-radius: 999px; color: var(--bh-muted); }
.bh-lang > .bh-icon { width: 18px; height: 18px; margin-inline: 6px 2px; }
.bh-lang a { padding: 6px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--bh-muted); text-decoration: none; line-height: 1; }
.bh-lang a:hover { color: var(--bh-navy); }
.bh-lang a.is-current { background: var(--bh-navy); color: var(--bh-white); }

.bh-burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--bh-line); background: var(--bh-white); color: var(--bh-navy); align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.bh-burger__close { display: none; }
.bh-header.is-open .bh-burger__open { display: none; }
.bh-header.is-open .bh-burger__close { display: inline-flex; }
.bh-burger span { display: inline-flex; }

@media (max-width: 1280px) {
	.bh-header__bar { gap: 16px; }
	.bh-nav__list { gap: 0; }
	.bh-nav__list a { padding: 10px 10px; font-size: 15px; }
	.bh-header__actions .bh-btn { padding-inline: 16px; }
}
@media (max-width: 1180px) {
	.bh-header__actions .bh-btn--ghost { display: none; }
}
@media (max-width: 1024px) {
	:root { --bh-header-h: 72px; }
	.bh-brand img { height: 52px; }
	.bh-burger { display: inline-flex; }
	.bh-hide-mobile, .bh-lang--desktop { display: none !important; }
	.bh-nav {
		position: fixed; inset: var(--bh-header-h) 0 0 0; z-index: 998;
		background: var(--bh-white); display: none; flex-direction: column; justify-content: flex-start;
		padding: 16px 24px 32px; overflow-y: auto; border-top: 1px solid var(--bh-line);
	}
	.admin-bar .bh-nav { inset-block-start: calc(var(--bh-header-h) + 46px); }
	.bh-header.is-open .bh-nav { display: flex; }
	.bh-nav__list { flex-direction: column; gap: 2px; }
	.bh-nav__list a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
	.bh-nav__mobile-extra { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--bh-line); }
	.bh-nav__mobile-extra .bh-btn { width: 100%; }
	.bh-nav__mobile-extra .bh-lang { align-self: flex-start; }
}
@media (max-width: 782px) { .admin-bar .bh-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bh-header { top: 0; } }

/* ---------- Footer & CTA ---------- */
.bh-cta { background: var(--bh-navy); position: relative; overflow: hidden; font-family: var(--bh-font); }
.bh-cta::before { content: ""; position: absolute; inset: 0; background-image: var(--bh-star); background-size: 88px; opacity: .09; }
.bh-cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 56px; }
.bh-cta__title { color: var(--bh-white) !important; font-size: clamp(26px, 3.2vw, 38px); margin: 6px 0 10px; font-family: var(--bh-display) !important; font-weight: 700; line-height: 1.3; }
.bh-cta__text { color: rgba(255,255,255,.78); margin: 0; max-width: 620px; font-size: 16.5px; line-height: 1.8; }
@media (max-width: 800px) { .bh-cta__inner { flex-direction: column; align-items: flex-start; } }

.bh-footer { background: var(--bh-navy-3); color: rgba(255,255,255,.72); font-family: var(--bh-font); font-size: 15px; }
.bh-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px 40px; }
.bh-footer__brand img { height: 92px; width: auto; display: block; margin-bottom: 16px; }
.bh-footer__brand p, .bh-footer__col p { line-height: 1.9; margin: 0 0 16px; color: rgba(255,255,255,.72); }
.bh-footer h3 { color: var(--bh-white) !important; font-size: 16px; margin: 6px 0 16px; font-weight: 700; }
.bh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bh-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.bh-footer a:hover { color: var(--bh-gold); }
.bh-footer .bh-lang { margin-top: 18px; border-color: rgba(255,255,255,.18); }
.bh-footer .bh-lang a { color: rgba(255,255,255,.7); }
.bh-footer .bh-lang a.is-current { background: var(--bh-gold); color: var(--bh-navy-3); }
.bh-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.bh-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; font-size: 14px; flex-wrap: wrap; }
.bh-footer__bottom p { margin: 0; }
.bh-footer__bottom nav { display: flex; gap: 20px; }
@media (max-width: 900px) { .bh-footer__grid { grid-template-columns: 1fr 1fr; } .bh-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .bh-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page content building blocks (used inside Elementor HTML widgets)
   ========================================================================== */
.bh-page { font-family: var(--bh-font); color: var(--bh-body); font-size: 17px; line-height: 1.85; }
.bh-page *, .bh-page *::before, .bh-page *::after { box-sizing: border-box; }
.bh-page h1, .bh-page h2, .bh-page h3, .bh-page h4 { margin: 0; line-height: 1.35; }
.bh-page p { margin: 0; }
.bh-page a:not(.bh-btn):not(.bh-link):not(.bh-axis) { color: var(--bh-navy); text-decoration: underline; text-decoration-color: var(--bh-gold); text-underline-offset: 3px; }

.bh-section { padding-block: 88px; position: relative; }
.bh-section--cream { background: var(--bh-cream); }
.bh-section--navy { background: var(--bh-navy); color: rgba(255,255,255,.8); overflow: hidden; }
.bh-section--navy::before { content: ""; position: absolute; inset: 0; background-image: var(--bh-star); background-size: 88px; opacity: .08; pointer-events: none; }
body.bh-site .bh-section--navy h2, body.bh-site .bh-section--navy h3,
body.bh-site .bh-panel--navy h3, body.bh-site .bh-page-hero h1 { color: var(--bh-white); }
.bh-section--tight { padding-block: 56px; }
@media (max-width: 700px) { .bh-section { padding-block: 64px; } }

.bh-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px !important; color: var(--bh-gold-2); font-weight: 600; font-size: 14.5px; letter-spacing: .02em; }
.bh-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.bh-eyebrow--light { color: var(--bh-gold); }
.bh-h2 { font-family: var(--bh-display) !important; font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; margin-bottom: 16px !important; }
.bh-lead { font-size: 18.5px; color: var(--bh-muted); max-width: 720px; }
.bh-section--navy .bh-lead { color: rgba(255,255,255,.75); }
.bh-head { margin-bottom: 48px; }
.bh-head--center { text-align: center; }
.bh-head--center .bh-lead { margin-inline: auto; }
.bh-head--center .bh-eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }

.bh-grid { display: grid; gap: 24px; }
.bh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .bh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bh-grid--2, .bh-grid--3, .bh-grid--4 { grid-template-columns: 1fr; } }

.bh-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .bh-split { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Home hero ---------- */
.bh-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bh-cream) 0%, var(--bh-white) 100%); padding-block: 72px 96px; }
.bh-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--bh-star); background-size: 88px; opacity: .16; mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 65%); pointer-events: none; }
.bh-lang-nl .bh-hero::before { mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, transparent 65%); }
.bh-hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.bh-hero__title { font-family: var(--bh-display) !important; font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; line-height: 1.25 !important; margin-bottom: 20px !important; }
.bh-hero__title em { font-style: normal; color: var(--bh-gold-2); }
.bh-hero__text { font-size: 19px; color: var(--bh-muted); max-width: 600px; margin-bottom: 32px !important; }
.bh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bh-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--bh-ink); font-weight: 500; font-size: 15.5px; }
.bh-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.bh-hero__facts li::before { content: ""; width: 8px; height: 8px; background: var(--bh-gold); transform: rotate(45deg); }

.bh-hero__art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.bh-hero__art-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--bh-line); }
.bh-hero__art-ring:nth-child(2) { inset: 9%; border-color: rgba(194,161,96,.45); border-style: dashed; animation: bh-spin 80s linear infinite; }
.bh-hero__art-core { position: absolute; inset: 18%; border-radius: 50%; background: var(--bh-navy); box-shadow: 0 30px 60px -30px rgba(36,50,74,.6); display: grid; place-items: center; overflow: hidden; }
.bh-hero__art-core::before { content: ""; position: absolute; inset: 0; background-image: var(--bh-star); background-size: 64px; opacity: .14; }
.bh-hero__art-core img { position: relative; width: 70%; height: auto; }
.bh-hero__chip { position: absolute; background: var(--bh-white); border: 1px solid var(--bh-line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--bh-shadow); font-size: 14px; font-weight: 600; color: var(--bh-ink); display: flex; align-items: center; gap: 8px; }
.bh-hero__chip b { color: var(--bh-gold-2); font-size: 20px; font-family: var(--bh-display); }
.bh-hero__chip--a { inset-block-start: 8%; inset-inline-end: -2%; }
.bh-hero__chip--b { inset-block-end: 10%; inset-inline-start: -4%; }
@keyframes bh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bh-hero__art-ring:nth-child(2) { animation: none; } }
@media (max-width: 900px) { .bh-hero__grid { grid-template-columns: 1fr; } .bh-hero__art { max-width: 320px; order: -1; } .bh-hero { padding-block: 48px 72px; } }

/* ---------- Quote ---------- */
.bh-quote { text-align: center; max-width: 860px; margin-inline: auto; }
.bh-quote__ayah { font-family: var(--bh-quran); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.9; color: var(--bh-white); margin-bottom: 14px !important; }
.bh-quote__ref { color: var(--bh-gold); font-size: 15px; }
.bh-quote__tr { color: rgba(255,255,255,.8); font-size: 19px; font-style: italic; margin-bottom: 12px !important; }

/* ---------- Cards ---------- */
.bh-card { background: var(--bh-white); border: 1px solid var(--bh-line); border-radius: var(--bh-radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; }
.bh-card:hover { transform: translateY(-3px); box-shadow: var(--bh-shadow); border-color: #D8CDB6; }
.bh-card h3 { font-size: 19px; margin-bottom: 10px !important; }
.bh-card p { color: var(--bh-muted); font-size: 16px; line-height: 1.8; }
.bh-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bh-gold-soft); color: var(--bh-gold-2); display: grid; place-items: center; margin-bottom: 18px; }
.bh-card__icon svg { width: 26px; height: 26px; }
.bh-section--cream .bh-card { background: var(--bh-white); }

/* ---------- Axes ---------- */
.bh-axes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .bh-axes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bh-axes { grid-template-columns: 1fr; } }
.bh-axis { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: var(--bh-radius); background: var(--bh-white); border: 1px solid var(--bh-line); text-decoration: none !important; color: inherit; transition: transform .25s, box-shadow .25s, background .25s; overflow: hidden; }
.bh-axis::after { content: ""; position: absolute; inset-inline-end: -30px; inset-block-start: -30px; width: 110px; height: 110px; background-image: var(--bh-star); background-size: 55px; opacity: .25; }
.bh-axis:hover { transform: translateY(-4px); box-shadow: var(--bh-shadow); }
.bh-axis__num { font-family: var(--bh-display); font-size: 34px; font-weight: 700; color: var(--bh-gold); line-height: 1; }
.bh-axis h3 { font-size: 19px; color: var(--bh-ink); margin: 0; }
.bh-axis p { font-size: 15px; color: var(--bh-muted); line-height: 1.75; margin: 0; flex: 1; }
.bh-axis__count { font-size: 14px; font-weight: 600; color: var(--bh-navy); }

/* ---------- Course cards ---------- */
.bh-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .bh-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bh-courses { grid-template-columns: 1fr; } }
.bh-course { display: flex; flex-direction: column; background: var(--bh-white); border: 1px solid var(--bh-line); border-radius: var(--bh-radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.bh-course:hover { transform: translateY(-4px); box-shadow: var(--bh-shadow); }
.bh-course__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bh-navy); overflow: hidden; }
.bh-course__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.bh-course:hover .bh-course__media img { transform: scale(1.04); }
.bh-badge { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: var(--bh-white); color: var(--bh-navy); font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.bh-course__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.bh-course__axis { font-size: 13.5px !important; font-weight: 600; color: var(--bh-gold-2); }
.bh-course__title { font-size: 20px !important; line-height: 1.45 !important; }
.bh-course__title a { color: var(--bh-ink) !important; text-decoration: none !important; }
.bh-course__title a:hover { color: var(--bh-navy-2) !important; }
.bh-course__excerpt { font-size: 15.5px; color: var(--bh-muted); line-height: 1.8; flex: 1; }
.bh-course__meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 6px; padding: 0; }
.bh-course__meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--bh-navy); background: var(--bh-cream); border-radius: 999px; padding: 5px 11px; }
.bh-course__meta .bh-icon { width: 15px; height: 15px; }

.bh-axis-group { margin-bottom: 56px; }
.bh-axis-group:last-child { margin-bottom: 0; }
.bh-axis-group__head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--bh-line); }
.bh-axis-group__num { font-family: var(--bh-display); font-size: 40px; line-height: 1; font-weight: 700; color: var(--bh-gold); }
.bh-axis-group__head h3 { font-size: 24px; margin: 0 0 6px; color: var(--bh-ink); }
.bh-axis-group__head p { margin: 0; color: var(--bh-muted); font-size: 16px; }
.bh-empty { text-align: center; color: var(--bh-muted); }

/* ---------- Steps (methodology pipeline) ---------- */
.bh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: bh-step; }
@media (max-width: 1000px) { .bh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bh-steps { grid-template-columns: 1fr; } }
.bh-step { position: relative; padding: 26px 24px; border-radius: var(--bh-radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); counter-increment: bh-step; }
.bh-step::before { content: counter(bh-step, decimal-leading-zero); display: block; font-family: var(--bh-display); font-size: 30px; font-weight: 700; color: var(--bh-gold); line-height: 1; margin-bottom: 14px; }
.bh-step h3 { font-size: 18.5px; margin-bottom: 8px !important; }
.bh-step p { font-size: 15.5px; line-height: 1.8; color: rgba(255,255,255,.72); }
.bh-section:not(.bh-section--navy) .bh-step { background: var(--bh-white); border-color: var(--bh-line); }
.bh-section:not(.bh-section--navy) .bh-step p { color: var(--bh-muted); }

/* ---------- Checklist / pills ---------- */
.bh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bh-list li { position: relative; padding-inline-start: 30px; }
.bh-list li::before { content: ""; position: absolute; inset-inline-start: 4px; inset-block-start: .7em; width: 10px; height: 10px; background: var(--bh-gold); transform: rotate(45deg); }
.bh-list strong { color: var(--bh-ink); }

.bh-panel { background: var(--bh-white); border: 1px solid var(--bh-line); border-radius: 24px; padding: 36px; box-shadow: var(--bh-shadow); }
.bh-panel--navy { background: var(--bh-navy); color: rgba(255,255,255,.8); border: 0; position: relative; overflow: hidden; }
.bh-panel--navy::before { content: ""; position: absolute; inset: 0; background-image: var(--bh-star); background-size: 72px; opacity: .1; }
.bh-panel--navy > * { position: relative; }
.bh-panel--navy h3 { color: var(--bh-white); }

/* ---------- Roadmap ---------- */
.bh-roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 800px) { .bh-roadmap { grid-template-columns: 1fr; } }
.bh-phase { border-radius: 24px; padding: 32px; border: 1px solid var(--bh-line); background: var(--bh-white); }
.bh-phase--active { border: 2px solid var(--bh-gold); }
.bh-phase__tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--bh-gold-soft); color: var(--bh-gold-2); margin-bottom: 14px; }
.bh-phase h3 { font-size: 22px; margin-bottom: 10px !important; }
.bh-phase p { color: var(--bh-muted); }
.bh-phase__stat { display: flex; gap: 28px; margin-top: 20px; }
.bh-phase__stat b { display: block; font-family: var(--bh-display); font-size: 34px; color: var(--bh-navy); line-height: 1.1; }
.bh-phase__stat span { font-size: 14px; color: var(--bh-muted); }

/* ---------- Page hero (inner pages) ---------- */
.bh-page-hero { position: relative; background: var(--bh-navy); padding-block: 72px 64px; overflow: hidden; }
.bh-page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--bh-star); background-size: 88px; opacity: .09; }
.bh-page-hero .bh-container { position: relative; }
.bh-page-hero h1 { color: var(--bh-white) !important; font-family: var(--bh-display) !important; font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; margin-bottom: 14px !important; }
.bh-page-hero p { color: rgba(255,255,255,.78); font-size: 18.5px; max-width: 760px; }
.bh-crumbs { display: flex; gap: 8px; font-size: 14px; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.bh-crumbs a { color: var(--bh-gold) !important; text-decoration: none !important; }

/* ---------- FAQ ---------- */
.bh-faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.bh-faq details { background: var(--bh-white); border: 1px solid var(--bh-line); border-radius: 16px; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.bh-faq details[open] { border-color: #D8CDB6; box-shadow: var(--bh-shadow); }
.bh-faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--bh-ink); font-size: 17.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bh-faq summary::-webkit-details-marker { display: none; }
.bh-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bh-cream); color: var(--bh-gold-2); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .2s; }
.bh-faq details[open] summary::after { transform: rotate(45deg); }
.bh-faq details > div { padding: 0 0 22px; color: var(--bh-muted); line-height: 1.9; }
.bh-faq summary:focus-visible { outline: 3px solid var(--bh-gold); outline-offset: 4px; border-radius: 8px; }

/* ---------- Prose (legal pages) ---------- */
.bh-prose { max-width: 820px; margin-inline: auto; }
.bh-prose h2 { font-size: 24px; margin: 44px 0 14px !important; padding-top: 8px; }
.bh-prose h2:first-child { margin-top: 0 !important; }
.bh-prose p, .bh-prose li { color: var(--bh-body); line-height: 1.95; }
.bh-prose p + p { margin-top: 14px !important; }
.bh-prose ul { margin: 12px 0 0; padding-inline-start: 22px; }
.bh-prose li { margin-bottom: 8px; }
.bh-note { background: var(--bh-cream); border-inline-start: 4px solid var(--bh-gold); border-radius: 12px; padding: 18px 20px; margin-bottom: 36px; font-size: 15.5px; }

/* ---------- Forms ---------- */
.bh-form { display: grid; gap: 18px; }
.bh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .bh-form__row { grid-template-columns: 1fr; } }
.bh-field { display: grid; gap: 8px; font-weight: 600; color: var(--bh-ink); font-size: 15px; }
.bh-field input, .bh-field select, .bh-field textarea {
	width: 100%; font: 400 16px/1.6 var(--bh-font); color: var(--bh-ink);
	background: var(--bh-white); border: 1.5px solid var(--bh-line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.bh-field input:focus, .bh-field select:focus, .bh-field textarea:focus { outline: none; border-color: var(--bh-navy); box-shadow: 0 0 0 4px rgba(36,50,74,.12); }
.bh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--bh-muted); }
.bh-check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--bh-navy); flex: none; }
.bh-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.bh-form__status { margin: 0; font-weight: 600; min-height: 1.5em; }
.bh-form__status.is-ok { color: #1E7A4E; }
.bh-form__status.is-error { color: #A43A3A; }
.bh-form .bh-btn { justify-self: start; }

.bh-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .bh-contact-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.bh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.bh-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Elementor / Astra wrappers around our pages ---------- */
body.bh-site .elementor-widget-html .bh-page { margin: 0; }
body.bh-site.bh-full .site-content > .ast-container { max-width: none; padding: 0; display: block; }
body.bh-site.bh-full #primary { margin: 0; padding: 0; }
body.bh-site.bh-full .entry-header { display: none; }

/* ---------- Tutor pages: base brand look (Dutch side uses Tutor's native templates) ---------- */
body.bh-site .tutor-btn-primary { background-color: var(--bh-navy); border-color: var(--bh-navy); }
body.bh-site .tutor-btn-primary:hover { background-color: var(--bh-navy-3); border-color: var(--bh-navy-3); }
body.bh-site .tutor-course-details-title, body.bh-site .tutor-course-name { font-family: var(--bh-font); }
body.bh-lang-nl .tutor-wrap, body.bh-lang-nl .tutor-course-details-page { font-family: var(--bh-font); }

/* Header fit: let the nav shrink before anything overflows. */
.bh-nav { min-width: 0; }
.bh-header__bar > * { min-width: 0; }
@media (max-width: 1440px) {
	.bh-lang-nl .bh-nav__list a { padding-inline: 9px; font-size: 15px; }
	.bh-lang-nl .bh-header__actions .bh-btn { padding-inline: 16px; }
}

/* Burger icon states (more specific than `.bh-burger span`). */
.bh-burger .bh-burger__close { display: none; }
.bh-header.is-open .bh-burger .bh-burger__open { display: none; }
.bh-header.is-open .bh-burger .bh-burger__close { display: inline-flex; }

@media (max-width: 600px) {
	.bh-hero__art { max-width: 260px; }
	.bh-hero__chip { font-size: 12.5px; padding: 7px 10px; }
	.bh-hero__chip b { font-size: 16px; }
	.bh-hero__chip--a { inset-inline-end: 0; inset-block-start: 2%; }
	.bh-hero__chip--b { inset-inline-start: 0; }
	.bh-container { padding-inline: 16px; }
}

/* Open mobile menu: a backdrop-filter would make the header the containing block of the fixed menu. */
.bh-header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bh-white); }
body.bh-site .bh-burger, body.bh-site .bh-burger:hover, body.bh-site .bh-burger:focus {
	background: var(--bh-white) !important; color: var(--bh-navy) !important; border: 1px solid var(--bh-line) !important; box-shadow: none !important;
}
.bh-header.is-open .bh-burger { background: var(--bh-cream) !important; }

/* Keep footer links readable on pages whose legacy snippets restyle links. */
body.bh-site .bh-footer a:not(.bh-btn) { color: rgba(255,255,255,.78) !important; opacity: 1 !important; }
body.bh-site .bh-footer a:not(.bh-btn):hover { color: var(--bh-gold) !important; }
