/* =====================================================================
   BWF 2026 refresh — header, homepage announcements, footer, gallery,
   typography scale and WCAG contrast fixes.
   Loaded last (after responsive/rtl) from legion_header.php.
   ===================================================================== */

:root {
	--bwf-purple: #4c468d;
	--bwf-deep: #2e0a6e;
	--bwf-gold: #f4ba1c;
	--bwf-gold-text: #8c6400;   /* gold that passes 4.5:1 on white */
	--bwf-teal: #3b797b;
	--bwf-ink: #2b2740;
	--bwf-text: #3f3b52;
	--bwf-muted: #5f5b72;
	--bwf-line: #e7e4f2;
	--bwf-soft: #f6f4fc;
	--bwf-cream: #fffcf6;
	--bwf-radius: 14px;
	--bwf-header-h: 84px;
	--fs-h1: clamp(26px, 2.4vw, 34px);
	--fs-h2: clamp(22px, 1.9vw, 28px);
	--fs-h3: 19px;
	--fs-body: 16px;
	--fs-small: 14px;
	--fs-btn: 15px;
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
header.bwf-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	width: auto;
	padding: 0;
	background: #fff;
	box-shadow: 0 1px 0 var(--bwf-line), 0 8px 26px -20px rgba(46, 10, 110, .5);
}
mh { height: var(--bwf-header-h) !important; }

.bwf-header__bar {
	display: flex;
	align-items: center;
	gap: 18px;
	height: var(--bwf-header-h);
}
.bwf-logo { flex: none; display: flex; align-items: center; }
.bwf-logo picture, .bwf-logo img { display: block; height: 58px; width: auto; }

.bwf-nav { flex: 1; display: flex; justify-content: flex-end; }
.bwf-nav ul { list-style: none; margin: 0; padding: 0; }
.bwf-nav__list { display: flex; align-items: center; gap: 2px; }
.bwf-nav__item { position: relative; }

.bwf-nav__link {
	position: relative;
	display: block;
	padding: 31px 13px;
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 14px;
	line-height: 1;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--bwf-deep) !important;
	cursor: pointer;
	transition: color .2s;
}
.bwf-nav__item.has-sub > .bwf-nav__link { padding-inline-end: 30px; }
.bwf-nav__link::after {
	content: "";
	position: absolute;
	left: 13px;
	right: 13px;
	bottom: 22px;
	height: 3px;
	border-radius: 3px;
	background: var(--bwf-gold);
	transform: scaleX(0);
	transition: transform .25s;
}
.bwf-nav__item.has-sub > .bwf-nav__link::after { inset-inline-end: 30px; }
.bwf-nav__item:hover > .bwf-nav__link,
.bwf-nav__item:focus-within > .bwf-nav__link,
.bwf-nav__item.is-active > .bwf-nav__link { color: var(--bwf-purple) !important; }
.bwf-nav__item:hover > .bwf-nav__link::after,
.bwf-nav__item:focus-within > .bwf-nav__link::after,
.bwf-nav__item.is-active > .bwf-nav__link::after { transform: scaleX(1); }

.bwf-nav__toggle {
	position: absolute;
	top: 50%;
	inset-inline-end: 9px;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--bwf-deep);
	cursor: pointer;
	display: grid;
	place-items: center;
}
.bwf-nav__toggle svg { width: 11px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.bwf-nav__item:hover > .bwf-nav__toggle svg,
.bwf-nav__item.is-open > .bwf-nav__toggle svg { transform: rotate(180deg); }

.bwf-nav__panel {
	position: absolute;
	top: calc(100% - 8px);
	inset-inline-start: 0;
	z-index: 5;
	min-width: 250px;
	padding: 10px;
	border-radius: var(--bwf-radius);
	background: #fff;
	box-shadow: 0 0 0 1px var(--bwf-line), 0 24px 50px -20px rgba(46, 10, 110, .38);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.bwf-nav__item:last-child > .bwf-nav__panel { inset-inline-start: auto; inset-inline-end: 0; }
.bwf-nav__item:hover > .bwf-nav__panel,
.bwf-nav__item:focus-within > .bwf-nav__panel,
.bwf-nav__item.is-open > .bwf-nav__panel { opacity: 1; visibility: visible; transform: none; }
.bwf-nav__sub.is-grouped { min-width: 270px; }

.bwf-nav__sublink {
	display: block;
	padding: 10px 14px;
	border-radius: 9px;
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	line-height: 1.35;
	color: var(--bwf-ink) !important;
	text-transform: none;
	transition: background .15s, color .15s;
}
.bwf-nav__sublink:hover,
.bwf-nav__sublink:focus-visible { background: var(--bwf-soft); color: var(--bwf-deep) !important; }
.bwf-nav__sublink.is-active {
	background: var(--bwf-soft);
	color: var(--bwf-deep) !important;
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	box-shadow: inset 3px 0 0 var(--bwf-gold);
}
[dir=rtl] .bwf-nav__sublink.is-active { box-shadow: inset -3px 0 0 var(--bwf-gold); }

/* grouped dropdown (e.g. Programs: Current / Previous) */
.bwf-nav__group-title {
	display: block;
	padding: 10px 14px 6px;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bwf-teal) !important;
}
a.bwf-nav__group-title { border-radius: 9px; padding-bottom: 10px; transition: background .15s, color .15s; }
a.bwf-nav__group-title::after { content: " \2192"; }
[dir=rtl] a.bwf-nav__group-title::after { content: " \2190"; }
a.bwf-nav__group-title:hover,
a.bwf-nav__group-title.is-active { background: var(--bwf-soft); color: var(--bwf-deep) !important; }
.bwf-nav__group + .bwf-nav__group { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--bwf-line); }

/* language switcher */
.bwf-lang {
	flex: none;
	display: inline-flex;
	padding: 3px;
	border: 1px solid var(--bwf-line);
	border-radius: 999px;
	background: #fff;
}
.bwf-lang a {
	padding: 7px 12px;
	border-radius: 999px;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 13px;
	line-height: 1.1;
	color: var(--bwf-purple) !important;
	transition: background .15s, color .15s;
}
.bwf-lang a[lang=ar] { font-family: Cairo, Tahoma, sans-serif; font-size: 14px; font-weight: 700; padding-top: 5px; padding-bottom: 6px; }
.bwf-lang a:not(.is-current):hover { background: var(--bwf-soft); }
.bwf-lang a.is-current { background: var(--bwf-deep); color: #fff !important; }

.bwf-burger { display: none; }

@media (max-width: 1100px) {
	:root { --bwf-header-h: 70px; }
	.bwf-logo picture, .bwf-logo img { height: 48px; }
	.bwf-header__bar { gap: 12px; }
	.bwf-nav {
		position: fixed;
		top: var(--bwf-header-h);
		left: 0;
		right: 0;
		bottom: 0;
		display: block;
		padding: 8px 20px 40px;
		background: #fff;
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.bwf-header.is-open .bwf-nav { visibility: visible; opacity: 1; transform: none; }
	html.bwf-nav-open, html.bwf-nav-open body { overflow: hidden; }
	.bwf-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.bwf-nav__item { border-bottom: 1px solid var(--bwf-line); }
	.bwf-nav__link, .bwf-nav__item.has-sub > .bwf-nav__link { padding: 18px 50px 18px 4px; font-size: 15px; }
	[dir=rtl] .bwf-nav__link, [dir=rtl] .bwf-nav__item.has-sub > .bwf-nav__link { padding: 18px 4px 18px 50px; }
	.bwf-nav__link::after { display: none; }
	.bwf-nav__item.is-active > .bwf-nav__link::before {
		content: "";
		display: inline-block;
		width: 8px;
		height: 8px;
		margin-inline-end: 10px;
		border-radius: 50%;
		background: var(--bwf-gold);
		vertical-align: 2px;
	}
	.bwf-nav__toggle { top: 5px; inset-inline-end: 0; width: 46px; height: 46px; margin-top: 0; border-radius: 10px; }
	.bwf-nav__toggle:hover { background: var(--bwf-soft); }
	.bwf-nav__item:hover > .bwf-nav__toggle svg { transform: none; }
	.bwf-nav__item.is-open > .bwf-nav__toggle svg { transform: rotate(180deg); }
	.bwf-nav__panel,
	.bwf-nav__item:hover > .bwf-nav__panel,
	.bwf-nav__item:focus-within > .bwf-nav__panel {
		position: static;
		display: none;
		min-width: 0;
		padding: 0 0 12px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.bwf-nav__item.is-open > .bwf-nav__panel { display: block; }
	.bwf-nav__sub.is-grouped { min-width: 0; }
	.bwf-burger {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 46px;
		height: 46px;
		padding: 0 11px;
		border: 0;
		border-radius: 12px;
		background: var(--bwf-soft);
		cursor: pointer;
	}
	.bwf-burger span { display: block; height: 2px; border-radius: 2px; background: var(--bwf-deep); transition: transform .25s, opacity .2s; }
	.bwf-header.is-open .bwf-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.bwf-header.is-open .bwf-burger span:nth-child(2) { opacity: 0; }
	.bwf-header.is-open .bwf-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.bwf-lang { margin-inline-start: auto; }
}
@media (max-width: 400px) {
	.bwf-logo picture, .bwf-logo img { height: 42px; }
	.bwf-lang a { padding: 6px 9px; }
}

/* ---------------------------------------------------------------------
   Typography scale (one hierarchy for every page)
   --------------------------------------------------------------------- */
body { color: var(--bwf-text); }
html[dir=rtl] body,
html[dir=rtl] input,
html[dir=rtl] textarea,
html[dir=rtl] select,
html[dir=rtl] button { font-family: Cairo, Montserrat, Tahoma, sans-serif; }

/* page titles */
#top_title h1,
#top_title > a.mid,
#top_title h1 a {
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: var(--fs-h1) !important;
	line-height: 1.2;
	letter-spacing: .02em;
	color: var(--bwf-deep) !important;
}
/* section titles */
._title h1,
._title h2,
._title .bold_header,
._title #impact_title {
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: var(--fs-h2) !important;
	line-height: 1.25;
	color: var(--bwf-deep) !important;
}
._title a { color: inherit !important; }
html[dir=rtl] #top_title h1, html[dir=rtl] #top_title > a.mid,
html[dir=rtl] ._title h1, html[dir=rtl] ._title h2, html[dir=rtl] ._title .bold_header {
	font-family: Cairo, Tahoma, sans-serif;
	font-weight: 800;
	letter-spacing: 0;
}
h2.about_us_section_two_title, .about_us_objectives_title, .sdgs_title {
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 20px !important;
	line-height: 1.35;
	color: var(--bwf-deep) !important;
}

/* rich text coming from the CMS editor: one size, regardless of pasted inline styles */
.mce { font-size: var(--fs-body); line-height: 1.75; }
.mce p, .mce li, .mce div, .mce td { font-size: inherit; line-height: inherit; }
.mce [style*="font-size"] { font-size: inherit !important; }
.mce [style*="font-family"] { font-family: inherit !important; }
/* justified text pasted into the editor leaves big gaps between words */
.mce [style*="justify"], .mce[style*="justify"] { text-align: start !important; }
.mce h1 { font-size: 26px; line-height: 1.3; }
.mce h2 { font-size: 22px; line-height: 1.35; }
.mce h3 { font-size: var(--fs-h3); line-height: 1.4; }
.mce ul, .mce ol { margin: 0 0 1em; padding-inline-start: 1.4em; }
.mce li { margin-bottom: .4em; }
.mce p { margin: 0 0 1em; }
.about_us_section_two_introduction, .about_us_objectives_contetnt,
.about_us_content, .our_imapct_content, .p_content .mce {
	font-size: var(--fs-body) !important;
	line-height: 1.75 !important;
}
.about_us_objectives_contetnt p, .about_us_objectives_contetnt span,
.about_us_section_two_introduction p, .about_us_section_two_introduction span { font-size: inherit !important; }

/* buttons & links */
.more_btn, .read_more, .read_more_succ, .join_b, #join_submit_btn, .l_btn, .bwf-btn {
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: var(--fs-btn) !important;
	line-height: 1.2;
	border-radius: 8px;
}
html[dir=rtl] .more_btn, html[dir=rtl] .read_more, html[dir=rtl] .read_more_succ,
html[dir=rtl] .join_b, html[dir=rtl] #join_submit_btn { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }

/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid var(--bwf-gold);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   Colour contrast (WCAG AA): no white on yellow, no yellow text on white
   --------------------------------------------------------------------- */
.arrow_up_icon, .video, .c_row i, #join_submit_btn, .join_b,
.more_btn:hover, .read_more_succ:hover, .choose:hover, .activeP, .numa,
.reports_box:nth-child(3n-1), .reports_box:nth-child(3n-1) *,
.join_us_box:nth-child(3n-1), .join_us_box:nth-child(3n-1) *,
.single_news_box:nth-child(3n-1) ._contents, .single_news_box:nth-child(3n-1) ._contents *,
.programmes_box:nth-child(3) .programmes_title,
#accordion li:first-child .programmes_title,
.board_of_director_box:nth-child(3n-1) .board_of_director_title,
.board_of_director_box:nth-child(3n-1) .board_of_director_title * {
	color: var(--bwf-deep) !important;
}
.values_box, .values_box *,
.events_event_date, .events_location,
.projects_box:nth-child(3n), .projects_box:nth-child(3n) *,
.single_programmes_box:nth-child(3n), .single_programmes_box:nth-child(3n) * {
	color: var(--bwf-gold-text) !important;
}

/* success-story decorative bars stick out sideways in Arabic and widen the page on phones */
#success_stories_wrap { overflow-x: clip; }
/* rtl.css gave the Arabic hero a 10vh right padding (the English one has none), leaving a white strip next to the video */
html[dir=rtl] #intro { padding-right: 0; }
/* safety net: decorative shapes/photos must never make pages scroll sideways on phones */
main { overflow-x: clip; }
@media (max-width: 1199px) {
	/* width:100% + the 10px side margins from responsive.css was wider than the screen */
	.objectives_wrap.w1200 { width: auto !important; }
}

/* the yellow empty box on About us (field left empty in the panel) */
.about_us_our_strategy_:empty { display: none !important; }

/* ---------------------------------------------------------------------
   Homepage — Announcements: small glass card on the hero (same idea as
   the F4J grant card), crossfading when there is more than one
   --------------------------------------------------------------------- */
.bwf-hero-ann {
	position: absolute;
	/* far start edge of the hero; the sound button stays on the right */
	left: 32px;
	bottom: 60px;
	z-index: 5;
	width: 340px;
	max-width: calc(100% - 32px);
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 16px;
	color: #fff;
	/* purple-tinted glass so white text stays readable over the bright aerial video */
	background: linear-gradient(140deg, rgba(46, 10, 110, .58), rgba(76, 70, 141, .3));
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	box-shadow: 0 24px 60px rgba(20, 6, 50, .35);
	animation: bwfHeroAnnIn .8s cubic-bezier(.2, .8, .2, 1) .4s backwards;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.bwf-hero-ann { background: rgba(46, 10, 110, .9); }
}
/* Arabic mirrors to the right, raised above the sound button that sits bottom-right */
html[dir=rtl] .bwf-hero-ann { left: auto; right: 32px; bottom: 110px; }
@keyframes bwfHeroAnnIn { from { opacity: 0; transform: translateY(18px); } }

/* all slides share one grid cell, so the card takes the height of the tallest one */
.bwf-hero-ann__slides { display: grid; }
.bwf-hero-ann__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .5s, transform .5s, visibility .5s;
}
.bwf-hero-ann__slide.is-current { opacity: 1; visibility: visible; transform: none; }

.bwf-hero-ann__media {
	margin-bottom: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: 11px;
	box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
}
.bwf-hero-ann__media img { display: block; width: 100%; height: 112px; object-fit: cover; }
.bwf-hero-ann__chip {
	display: inline-block;
	margin-bottom: 9px;
	padding: 4px 9px;
	border-radius: 5px;
	background: var(--bwf-gold);
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--bwf-deep);
}
.bwf-hero-ann__title {
	margin: 0 0 6px;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 17px;
	line-height: 1.3;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bwf-hero-ann__text {
	margin: 0 0 12px;
	font-size: 13.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .88);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bwf-hero-ann__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 11px;
	border-top: 1px solid rgba(255, 255, 255, .2);
}
.bwf-hero-ann__date { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.bwf-hero-ann__date svg { width: 16px; height: 16px; fill: none; stroke: var(--bwf-gold); stroke-width: 1.8; stroke-linecap: round; }
.bwf-hero-ann__btn {
	padding: 8px 14px;
	border-radius: 8px;
	background: #fff;
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 13px;
	white-space: nowrap;
	color: var(--bwf-deep) !important;
	transition: background .2s;
}
.bwf-hero-ann__btn:hover { background: var(--bwf-gold); }
html[dir=rtl] .bwf-hero-ann__chip { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; font-size: 12px; letter-spacing: 0; }
html[dir=rtl] .bwf-hero-ann__title, html[dir=rtl] .bwf-hero-ann__btn { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }

.bwf-hero-ann__nav { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.bwf-hero-ann__arrow {
	flex: none;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .2s;
}
.bwf-hero-ann__arrow:hover { background: rgba(255, 255, 255, .26); }
.bwf-hero-ann__arrow svg { width: 7px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir=rtl] .bwf-hero-ann__arrow svg { transform: scaleX(-1); }
.bwf-hero-ann__dots { flex: 1; display: flex; justify-content: center; gap: 6px; }
.bwf-hero-ann__dots button {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
	transition: width .25s, background .25s;
}
.bwf-hero-ann__dots button.is-current { width: 18px; background: #fff; }

@media (max-width: 1199px) {
	/* tablets/phones: top start corner, clear of the sound button */
	.bwf-hero-ann { left: 24px; right: auto; bottom: auto; top: 24px; width: 320px; }
	html[dir=rtl] .bwf-hero-ann { left: auto; right: 24px; bottom: auto; }
}
@media (max-width: 600px) {
	/* phones: keep the card compact — photo strip, chip, title, date + button */
	.bwf-hero-ann,
	html[dir=rtl] .bwf-hero-ann { left: 16px; right: 16px; top: 16px; width: auto; max-width: none; padding: 12px; border-radius: 14px; }
	.bwf-hero-ann__media { margin-bottom: 10px; }
	.bwf-hero-ann__media img { height: 76px; }
	.bwf-hero-ann__title { font-size: 15.5px; margin-bottom: 8px; }
	.bwf-hero-ann__text { display: none; }
	.bwf-hero-ann__meta { padding-top: 9px; }
	.bwf-hero-ann__nav { margin-top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
	.bwf-hero-ann { animation: none; }
	.bwf-hero-ann__slide { transition: none; }
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.bwf-footer { margin-top: 60px; background: var(--bwf-deep); color: #e9e6f5; }
/* .w1200 is full-bleed (no side padding) below 1200px — keep footer content off the screen edges */
.bwf-footer .w1200,
.bwf-header__bar.w1200,
.bwf-gallery-page.w1200 { width: min(1200px, 100% - 48px); }
@media (max-width: 640px) {
	.bwf-footer .w1200,
	.bwf-header__bar.w1200,
	.bwf-gallery-page.w1200 { width: calc(100% - 32px); }
}
.bwf-footer a { color: #fff !important; }
.bwf-footer__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr 1.25fr;
	gap: 40px;
	padding: 56px 0 44px;
}
.bwf-footer__logo {
	display: inline-block;
	padding: 14px 18px;
	border-radius: var(--bwf-radius);
	background: #fff;
}
.bwf-footer__logo picture, .bwf-footer__logo img { display: block; height: 96px; width: auto; }
.bwf-footer__tagline { margin: 18px 0 0; max-width: 320px; font-size: 15px; line-height: 1.7; color: #cfc9e8; }
.bwf-footer__title {
	margin: 0 0 18px;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 15px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--bwf-gold);
}
html[dir=rtl] .bwf-footer__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; letter-spacing: 0; font-size: 17px; }
.bwf-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bwf-footer__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; }
.bwf-footer__list svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--bwf-gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bwf-footer__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bwf-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bwf-footer__social a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .1);
	transition: background .2s, transform .2s;
}
.bwf-footer__social a:hover { background: var(--bwf-gold); transform: translateY(-2px); }
.bwf-footer__social a:hover svg { fill: var(--bwf-deep); }
.bwf-footer__social svg { width: 18px; height: 18px; fill: #fff; }
.bwf-footer__map {
	overflow: hidden;
	border-radius: var(--bwf-radius);
	background: rgba(255, 255, 255, .06);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}
.bwf-footer__map iframe { display: block; width: 100%; height: 230px; border: 0; }
.bwf-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.bwf-footer__bottom .w1200 {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	font-size: 14px;
	color: #cfc9e8;
}
.bwf-footer__credit { display: inline-flex; align-items: center; gap: 10px; }
.bwf-footer__credit img { height: 22px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; }

@media (max-width: 980px) {
	.bwf-footer__grid { grid-template-columns: 1fr 1fr; }
	.bwf-footer__mapcol { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.bwf-footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 34px; }
	.bwf-footer__logo picture, .bwf-footer__logo img { height: 80px; }
	.bwf-footer__bottom .w1200 { flex-direction: column; text-align: center; }
}

/* ---------------------------------------------------------------------
   Photo gallery
   --------------------------------------------------------------------- */
.bwf-gallery-page { padding-bottom: 20px; }
.bwf-gallery__filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.bwf-gallery__filters button {
	padding: 9px 18px;
	border: 1px solid var(--bwf-line);
	border-radius: 999px;
	background: #fff;
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 14px;
	color: var(--bwf-deep);
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
html[dir=rtl] .bwf-gallery__filters button { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
.bwf-gallery__filters button:hover { border-color: var(--bwf-purple); }
.bwf-gallery__filters button.is-current { background: var(--bwf-deep); border-color: var(--bwf-deep); color: #fff; }
.bwf-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bwf-gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: var(--bwf-soft); aspect-ratio: 4 / 3; }
.bwf-gallery__item[hidden] { display: none; }
.bwf-gallery__item a { display: block; width: 100%; height: 100%; }
.bwf-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bwf-gallery__item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 34px 14px 12px;
	background: linear-gradient(transparent, rgba(30, 8, 70, .88));
	color: #fff;
	pointer-events: none;
	transition: opacity .25s, transform .25s;
}
.bwf-gallery__caption { display: block; font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: 14.5px; line-height: 1.35; }
html[dir=rtl] .bwf-gallery__caption { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; font-size: 15px; }
.bwf-gallery__date { display: block; margin-top: 3px; font-size: 12.5px; color: #e6e1f7; }
@media (hover: hover) {
	.bwf-gallery__item figcaption { opacity: 0; transform: translateY(8px); }
	.bwf-gallery__item:hover figcaption,
	.bwf-gallery__item:focus-within figcaption { opacity: 1; transform: none; }
	.bwf-gallery__item:hover img { transform: scale(1.05); }
}
@media (hover: none) {
	/* touch screens: no hover, so the event title is always shown */
	.bwf-gallery__item figcaption { padding: 26px 10px 9px; }
	.bwf-gallery__caption { font-size: 13px; }
	.bwf-gallery__date { display: none; }
}
.bwf-gallery__more { display: flex; justify-content: center; margin-top: 30px; }
.bwf-gallery__more button {
	padding: 12px 28px;
	border: 0;
	border-radius: 8px;
	background: var(--bwf-purple);
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: var(--fs-btn);
	color: #fff;
	cursor: pointer;
}
.bwf-gallery__more button:hover { background: var(--bwf-deep); }
.bwf-gallery__empty { padding: 40px; text-align: center; color: var(--bwf-muted); }
@media (max-width: 1000px) { .bwf-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .bwf-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------------------------------------------------------------------
   About us — Partners & Network
   --------------------------------------------------------------------- */
.bwf-logos-section { padding-top: 40px; scroll-margin-top: calc(var(--bwf-header-h) + 20px); }
.bwf-logos-section ._title { margin-bottom: 24px; }
/* same gap after the gold bar as the other section titles (#impact_title) */
.bwf-logos-section ._title h2 { margin: 0; margin-inline-start: 35px; }
.bwf-logos-section + .bwf-logos-section { padding-top: 20px; }
.bwf-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.bwf-logos__item {
	display: grid;
	place-items: center;
	height: 120px;
	padding: 16px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--bwf-line);
	transition: box-shadow .2s, transform .2s;
}
.bwf-logos__item:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--bwf-line), 0 14px 30px -18px rgba(46, 10, 110, .45); }
.bwf-logos__item img { max-width: 100%; max-height: 86px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 600px) {
	.bwf-logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.bwf-logos__item { height: 100px; }
}

/* contact page e-mails */
.bwf-mail-list a { color: inherit; }
.bwf-mail-list a + a::before { content: " · "; color: var(--bwf-muted); }

/* =====================================================================
   Homepage refresh — same sections (hero, about, impact, news,
   programmes, success stories), newer look
   ===================================================================== */
.bwf-container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.bwf-home-sec { padding: 96px 0; }

/* shared heading pieces */
.bwf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--bwf-gold-text);
}
.bwf-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--bwf-gold); }
.bwf-eyebrow--light { color: var(--bwf-gold); }
.bwf-sec-title {
	margin: 0;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--bwf-deep);
}
.bwf-sec-title--light { color: #fff; }
html[dir=rtl] .bwf-eyebrow { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 0; }
html[dir=rtl] .bwf-sec-title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; line-height: 1.35; letter-spacing: 0; }
.bwf-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.bwf-sec-head__actions { display: flex; align-items: center; gap: 10px; }

.bwf-arrow { width: 16px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
[dir=rtl] .bwf-arrow { transform: scaleX(-1); }
.bwf-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-inline-start: 8px;
	padding: 10px 2px;
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 15px;
	color: var(--bwf-purple) !important;
}
.bwf-link-arrow::after { content: "\2192"; transition: transform .25s; }
[dir=rtl] .bwf-link-arrow::after { content: "\2190"; }
.bwf-link-arrow:hover::after { transform: translateX(4px); }
[dir=rtl] .bwf-link-arrow:hover::after { transform: translateX(-4px); }
html[dir=rtl] .bwf-link-arrow { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
.bwf-round-btn {
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--bwf-line);
	border-radius: 50%;
	background: #fff;
	color: var(--bwf-deep);
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .2s, color .2s, border-color .2s;
}
.bwf-round-btn:hover { background: var(--bwf-deep); border-color: var(--bwf-deep); color: #fff; }
.bwf-round-btn.swiper-button-disabled { opacity: .35; cursor: default; background: #fff; color: var(--bwf-deep); }
.bwf-round-btn svg { width: 8px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir=rtl] .bwf-round-btn svg { transform: scaleX(-1); }
.bwf-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	background: var(--bwf-purple);
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: var(--fs-btn);
	color: #fff !important;
	box-shadow: 0 14px 28px -14px rgba(76, 70, 141, .8);
	transition: background .2s, transform .2s;
}
.bwf-btn:hover { background: var(--bwf-deep); transform: translateY(-2px); }
.bwf-btn:hover .bwf-arrow { transform: translateX(3px); }
[dir=rtl] .bwf-btn:hover .bwf-arrow { transform: scaleX(-1) translateX(3px); }
html[dir=rtl] .bwf-btn { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }

/* reveal on scroll (only when JS runs) */
html.bwf-js .bwf-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1);
	transition-delay: var(--delay, 0s);
}
html.bwf-js .bwf-reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
#intro::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(20, 6, 50, .28) 0%, transparent 26%, transparent 58%, rgba(20, 6, 50, .5) 100%);
}
#intro #myVideo { display: block; }
#intro .video {
	z-index: 6 !important;
	width: 48px;
	height: 48px;
	padding: 0;
	display: grid;
	place-items: center;
	font-size: 24px;
	line-height: 1;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .4);
	background: rgba(255, 255, 255, .16) !important;
	color: #fff !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	cursor: pointer;
	transition: background .2s;
}
#intro .video:hover { background: rgba(255, 255, 255, .3) !important; }
.bwf-scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 26px;
	z-index: 5;
	width: 26px;
	height: 42px;
	margin-left: -13px;
	border: 2px solid rgba(255, 255, 255, .8);
	border-radius: 14px;
}
.bwf-scroll-cue span {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: #fff;
	animation: bwfScrollCue 1.8s ease-in-out infinite;
}
@keyframes bwfScrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- about ---------- */
.bwf-about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.bwf-about__body { margin: 22px 0 32px; font-size: 17px !important; line-height: 1.85 !important; color: var(--bwf-text); }
.bwf-about__body p { margin: 0 0 1em; }
.bwf-about__body p:last-child { margin-bottom: 0; }
.bwf-about__media { position: relative; padding: 0 0 28px 28px; }
[dir=rtl] .bwf-about__media { padding: 0 28px 28px 0; }
.bwf-about__frame {
	position: relative;
	z-index: 2;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	max-height: 580px;
	border-radius: 26px;
	background: var(--bwf-soft);
	box-shadow: 0 34px 64px -32px rgba(46, 10, 110, .55);
}
.bwf-about__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bwf-about__shape { position: absolute; z-index: 1; left: 0; bottom: 0; width: 62%; height: 62%; border-radius: 26px; background: var(--bwf-teal); }
[dir=rtl] .bwf-about__shape { left: auto; right: 0; }
.bwf-about__dots {
	position: absolute;
	z-index: 3;
	top: 26px;
	right: -18px;
	width: 98px;
	height: 98px;
	background-image: radial-gradient(var(--bwf-gold) 2.2px, transparent 2.4px);
	background-size: 14px 14px;
}
[dir=rtl] .bwf-about__dots { right: auto; left: -18px; }

/* ---------- impact ---------- */
.bwf-home-impact { padding-top: 0; }
.bwf-impact {
	position: relative;
	overflow: hidden;
	padding: 56px 56px 52px;
	border-radius: 28px;
	color: #fff;
	background: radial-gradient(120% 140% at 0% 0%, #4c468d 0%, #2e0a6e 55%, #1e0748 100%);
	box-shadow: 0 40px 80px -40px rgba(46, 10, 110, .65);
}
.bwf-impact::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.4px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
	mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
}
.bwf-impact::after {
	content: "";
	position: absolute;
	top: -140px;
	right: -100px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(244, 186, 28, .32), transparent 65%);
}
.bwf-impact__head, .bwf-impact__grid { position: relative; z-index: 1; }
.bwf-impact__head { margin-bottom: 40px; }
.bwf-impact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bwf-impact__item {
	padding: 28px 26px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 20px;
	background: rgba(255, 255, 255, .07);
	transition: transform .3s, background .3s;
}
.bwf-impact__item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .11); }
.bwf-impact__icon { width: 64px; height: 64px; margin-bottom: 22px; border-radius: 18px; background: #fff; display: grid; place-items: center; }
.bwf-impact__icon img { width: 38px; height: 38px; object-fit: contain; }
.bwf-impact__num {
	display: inline-block;
	margin-bottom: 10px;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: clamp(38px, 4vw, 52px);
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--bwf-gold);
	font-variant-numeric: tabular-nums;
}
.bwf-impact__label { display: block; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .86); }

/* ---------- news ---------- */
.bwf-home-news { background: var(--bwf-soft); }
.bwf-news-swiper { overflow: hidden; margin: -10px -6px -34px; padding: 10px 6px 34px; }
.bwf-news-swiper .swiper-wrapper { align-items: stretch; }
/* the old news slider fixed .swiper at 550px (60vh on tablets) and added a bottom margin to slides */
.bwf-news-swiper, .bwf-news-swiper .swiper-wrapper { height: auto !important; }
.bwf-news-swiper .swiper-slide { margin-bottom: 0; }
.bwf-news-card {
	display: flex !important;
	flex-direction: column;
	height: auto !important;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	color: inherit !important;
	box-shadow: 0 0 0 1px var(--bwf-line), 0 18px 40px -28px rgba(46, 10, 110, .45);
	transition: transform .3s, box-shadow .3s;
}
.bwf-news-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--bwf-line), 0 28px 50px -26px rgba(46, 10, 110, .5); }
.bwf-news-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ece9f6; }
.bwf-news-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bwf-news-card:hover .bwf-news-card__media img { transform: scale(1.05); }
.bwf-news-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px 22px 24px; }
.bwf-news-card__date {
	align-self: flex-start;
	padding: 5px 11px;
	border-radius: 999px;
	background: #fdf3d6;
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 13px;
	color: var(--bwf-gold-text);
}
.bwf-news-card__title {
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 17.5px;
	line-height: 1.45;
	/* cap the height too: the slider sizes cards by the unclamped title otherwise */
	max-height: calc(1.45em * 3);
	color: var(--bwf-deep);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
html[dir=rtl] .bwf-news-card__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.6; max-height: calc(1.6em * 3); }
.bwf-news-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: 14.5px; color: var(--bwf-purple); }
.bwf-news-card:hover .bwf-news-card__more .bwf-arrow { transform: translateX(4px); }
[dir=rtl] .bwf-news-card:hover .bwf-news-card__more .bwf-arrow { transform: scaleX(-1) translateX(4px); }
html[dir=rtl] .bwf-news-card__more { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }

/* ---------- programmes (expanding panels) ---------- */
.bwf-prog { display: flex; gap: 16px; height: 520px; }
.bwf-prog__panel {
	position: relative;
	isolation: isolate;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	border-radius: 24px;
	background-size: cover;
	background-position: center;
	color: #fff !important;
	transition: flex .6s cubic-bezier(.2, .8, .2, 1);
}
.bwf-prog__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(20, 6, 50, .08) 25%, rgba(20, 6, 50, .88) 100%);
}
.bwf-prog__panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--bwf-gold); }
.bwf-prog__panel:nth-child(2)::after { background: #8b84d6; }
.bwf-prog__panel:nth-child(3)::after { background: #5fb3b5; }
.bwf-prog__panel:hover,
.bwf-prog__panel:focus-visible,
.bwf-prog:not(:hover):not(:focus-within) .bwf-prog__panel:first-child { flex: 2.4; }
.bwf-prog__num {
	position: absolute;
	top: 22px;
	inset-inline-start: 24px;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 14px;
	letter-spacing: .1em;
}
.bwf-prog__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 34px; }
.bwf-prog__title { font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 24px; line-height: 1.2; }
html[dir=rtl] .bwf-prog__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-prog__text, .bwf-prog__more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .4s; }
.bwf-prog__text { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.bwf-prog__more { display: inline-flex; align-items: center; gap: 8px; font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: 14.5px; color: var(--bwf-gold); }
.bwf-prog__panel:hover .bwf-prog__text,
.bwf-prog__panel:focus-visible .bwf-prog__text,
.bwf-prog:not(:hover):not(:focus-within) .bwf-prog__panel:first-child .bwf-prog__text { max-height: 8em; opacity: 1; }
.bwf-prog__panel:hover .bwf-prog__more,
.bwf-prog__panel:focus-visible .bwf-prog__more,
.bwf-prog:not(:hover):not(:focus-within) .bwf-prog__panel:first-child .bwf-prog__more { max-height: 2em; opacity: 1; }

/* ---------- success stories ---------- */
.bwf-home-stories { background: var(--bwf-cream); }
.bwf-stories { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bwf-story {
	display: grid;
	grid-template-columns: 42% 1fr;
	min-height: 320px;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	color: inherit !important;
	box-shadow: 0 0 0 1px #f1ead8, 0 24px 50px -32px rgba(46, 10, 110, .45);
	transition: transform .3s, box-shadow .3s;
}
.bwf-story:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #f1ead8, 0 32px 60px -30px rgba(46, 10, 110, .5); }
.bwf-story__media { position: relative; overflow: hidden; background: var(--bwf-soft); }
.bwf-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bwf-story:hover .bwf-story__media img { transform: scale(1.05); }
.bwf-story__body { display: flex; flex-direction: column; gap: 14px; padding: 30px 30px 28px; }
.bwf-story__quote { width: 38px; height: 29px; fill: var(--bwf-gold); }
.bwf-story__text {
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	max-height: calc(1.6em * 5);
	color: var(--bwf-deep);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
html[dir=rtl] .bwf-story__text { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
.bwf-story__name { font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--bwf-teal); }
.bwf-story__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: 14.5px; color: var(--bwf-purple); }
.bwf-story:hover .bwf-story__more .bwf-arrow { transform: translateX(4px); }
[dir=rtl] .bwf-story:hover .bwf-story__more .bwf-arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- homepage responsive ---------- */
@media (max-width: 1100px) {
	.bwf-stories { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
	.bwf-home-sec { padding: 72px 0; }
	.bwf-home-impact { padding-top: 0; }
	.bwf-about { grid-template-columns: 1fr; gap: 48px; }
	.bwf-about__media { max-width: 460px; width: 100%; margin-inline: auto; }
	.bwf-impact { padding: 40px 32px; }
	.bwf-impact__grid { grid-template-columns: 1fr; gap: 14px; }
	.bwf-impact__item { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: center; padding: 20px; }
	.bwf-impact__icon { grid-row: span 2; margin: 0; }
	.bwf-impact__num { margin-bottom: 4px; font-size: 36px; }
	.bwf-prog { flex-direction: column; height: auto; }
	.bwf-prog__panel, .bwf-prog__panel:hover, .bwf-prog:not(:hover):not(:focus-within) .bwf-prog__panel:first-child { flex: none; height: 320px; }
	.bwf-prog__text, .bwf-prog__more { max-height: 8em; opacity: 1; }
}
@media (max-width: 640px) {
	.bwf-home-sec { padding: 56px 0; }
	.bwf-home-impact { padding-top: 0; }
	.bwf-container { width: calc(100% - 32px); }
	.bwf-sec-head { margin-bottom: 26px; align-items: flex-start; flex-direction: column; gap: 14px; }
	.bwf-sec-head__actions { width: 100%; }
	.bwf-sec-head__actions .bwf-link-arrow { margin-inline-start: auto; }
	.bwf-about__body { font-size: 16px !important; }
	.bwf-impact { padding: 32px 20px; border-radius: 22px; }
	.bwf-story { grid-template-columns: 1fr; }
	.bwf-story__media { aspect-ratio: 16 / 10; }
	.bwf-story__body { padding: 24px 22px; }
	.bwf-scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html.bwf-js .bwf-reveal { opacity: 1; transform: none; transition: none; }
	.bwf-scroll-cue span { animation: none; }
	.bwf-prog__panel { transition: none; }
}

/* =====================================================================
   Inner-page header (reusable) + Board of Directors
   ===================================================================== */
.bwf-page-hero {
	position: relative;
	overflow: hidden;
	padding: 64px 0 72px;
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(76, 70, 141, .16), transparent 60%),
		radial-gradient(40% 80% at 0% 100%, rgba(244, 186, 28, .14), transparent 60%),
		var(--bwf-soft);
}
.bwf-page-hero__inner { position: relative; z-index: 1; }
.bwf-page-hero__title {
	margin: 0 0 14px;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.1;
	letter-spacing: -.015em;
	color: var(--bwf-deep);
}
html[dir=rtl] .bwf-page-hero__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.bwf-page-hero__lead { max-width: 620px; margin: 0; font-size: 18px; line-height: 1.7; color: var(--bwf-muted); }
.bwf-page-hero__dots {
	position: absolute;
	top: 50%;
	right: max(24px, calc((100% - 1200px) / 2));
	width: 150px;
	height: 150px;
	margin-top: -75px;
	background-image: radial-gradient(var(--bwf-gold) 2.4px, transparent 2.6px);
	background-size: 16px 16px;
	opacity: .55;
}
[dir=rtl] .bwf-page-hero__dots { right: auto; left: max(24px, calc((100% - 1200px) / 2)); }
.bwf-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--bwf-muted); }
.bwf-breadcrumb a { color: var(--bwf-purple) !important; }
.bwf-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bwf-breadcrumb [aria-current] { color: var(--bwf-deep); font-weight: 600; }

.bwf-board { padding: 72px 0 40px; }
.bwf-board__group + .bwf-board__group { margin-top: 64px; }
.bwf-board__heading {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 30px;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 24px;
	color: var(--bwf-deep);
}
.bwf-board__heading::after { content: ""; flex: 1; height: 1px; background: var(--bwf-line); }
html[dir=rtl] .bwf-board__heading { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-board__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 24px; }
.bwf-board__grid--lead { grid-template-columns: repeat(4, 1fr); gap: 32px 26px; }

.bwf-person {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	text-align: start;
	font: inherit;
	color: inherit;
}
button.bwf-person { cursor: pointer; }
.bwf-person__photo {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: 22px;
	background: var(--bwf-soft);
	box-shadow: 0 22px 44px -30px rgba(46, 10, 110, .55);
}
.bwf-person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.bwf-person__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(30, 8, 70, .7) 100%);
	opacity: 0;
	transition: opacity .35s;
}
.bwf-person__view {
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: 18px;
	padding: 9px 16px;
	border-radius: 999px;
	background: #fff;
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 13.5px;
	white-space: nowrap;
	color: var(--bwf-deep);
	opacity: 0;
	transform: translate(-50%, 10px);
	transition: opacity .3s, transform .3s;
}
html[dir=rtl] .bwf-person__view { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
button.bwf-person:hover .bwf-person__photo img,
button.bwf-person:focus-visible .bwf-person__photo img { transform: scale(1.05); }
button.bwf-person:hover .bwf-person__photo::after,
button.bwf-person:focus-visible .bwf-person__photo::after { opacity: 1; }
button.bwf-person:hover .bwf-person__view,
button.bwf-person:focus-visible .bwf-person__view { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) {
	.bwf-person__view { opacity: 1; transform: translate(-50%, 0); }
	.bwf-person__photo::after { opacity: .8; }
}
.bwf-person__info { display: flex; flex-direction: column; gap: 8px; padding-inline: 4px; }
.bwf-person__name { font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 18px; line-height: 1.3; color: var(--bwf-deep); }
.bwf-person--lead .bwf-person__name { font-size: 20px; }
html[dir=rtl] .bwf-person__name { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-person__role {
	align-self: flex-start;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--bwf-soft);
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 13px;
	color: var(--bwf-purple);
}
.bwf-person--lead .bwf-person__role { background: #fdf3d6; color: var(--bwf-gold-text); }
html[dir=rtl] .bwf-person__role { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }

/* profile pop-up */
html.bwf-dialog-open, html.bwf-dialog-open body { overflow: hidden; }
.bwf-person-dialog {
	width: min(760px, calc(100% - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	border-radius: 26px;
	background: #fff;
	color: var(--bwf-text);
	box-shadow: 0 40px 90px -30px rgba(20, 6, 50, .55);
	overflow: hidden;
}
.bwf-person-dialog::backdrop { background: rgba(20, 6, 50, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bwf-person-dialog[open] { animation: bwfDialogIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes bwfDialogIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.bwf-person-dialog__box { position: relative; max-height: calc(100vh - 48px); overflow-y: auto; padding: 34px 38px 38px; }
.bwf-person-dialog__close {
	position: absolute;
	top: 18px;
	inset-inline-end: 18px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--bwf-soft);
	color: var(--bwf-deep);
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .2s;
}
.bwf-person-dialog__close:hover { background: var(--bwf-line); }
.bwf-person-dialog__close svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bwf-person-dialog__head { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; padding-bottom: 24px; padding-inline-end: 40px; border-bottom: 1px solid var(--bwf-line); }
.bwf-person-dialog__photo { flex: none; width: 112px; height: 112px; border-radius: 22px; object-fit: cover; object-position: center 20%; }
.bwf-person-dialog__name { margin: 10px 0 6px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 26px; line-height: 1.2; color: var(--bwf-deep); }
html[dir=rtl] .bwf-person-dialog__name { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-person-dialog__company { font-size: 15px; font-weight: 600; color: var(--bwf-teal) !important; }
a.bwf-person-dialog__company:hover { text-decoration: underline; text-underline-offset: 3px; }
.bwf-person-dialog__bio { font-size: 16px; line-height: 1.8; }

@media (max-width: 1000px) {
	.bwf-board__grid--lead { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.bwf-page-hero { padding: 44px 0 50px; }
	.bwf-page-hero__lead { font-size: 16px; }
	.bwf-page-hero__dots { display: none; }
	.bwf-board { padding: 48px 0 24px; }
	.bwf-board__group + .bwf-board__group { margin-top: 48px; }
	.bwf-board__grid, .bwf-board__grid--lead { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
	.bwf-person__name, .bwf-person--lead .bwf-person__name { font-size: 16px; }
	.bwf-person__role { font-size: 12px; padding: 4px 10px; }
	.bwf-person__view { font-size: 12px; padding: 7px 12px; bottom: 12px; }
	.bwf-person-dialog__box { padding: 26px 22px 28px; }
	.bwf-person-dialog__head { flex-direction: column; align-items: flex-start; gap: 14px; }
	.bwf-person-dialog__photo { width: 88px; height: 88px; }
	.bwf-person-dialog__name { font-size: 22px; }
}

/* =====================================================================
   Share bar (legion_share.php) — Facebook, WhatsApp, LinkedIn, X,
   Pinterest, Email, copy link (+ native share sheet on phones)
   ===================================================================== */
#share_box.bwf-share {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 18px;
	width: min(1200px, 100% - 32px);
	margin: 48px auto 0;
	padding: 22px 26px;
	border: 1px solid var(--bwf-line);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 18px 40px -32px rgba(46, 10, 110, .45);
	text-align: center;
}
.bwf-share__label { font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: 15px; color: var(--bwf-deep); }
html[dir=rtl] .bwf-share__label { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
.bwf-share__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.bwf-share__btn {
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--bwf-soft);
	color: var(--bwf-deep) !important;
	cursor: pointer;
	transition: background .2s, color .2s, transform .2s;
}
.bwf-share__btn[hidden] { display: none; }
.bwf-share__btn svg { width: 19px; height: 19px; fill: currentColor; }
.bwf-share__btn:hover, .bwf-share__btn:focus-visible { transform: translateY(-2px); color: #fff !important; }
.bwf-share__btn--facebook:hover, .bwf-share__btn--facebook:focus-visible { background: #1877f2; }
.bwf-share__btn--whatsapp:hover, .bwf-share__btn--whatsapp:focus-visible { background: #128c4b; }
.bwf-share__btn--linkedin:hover, .bwf-share__btn--linkedin:focus-visible { background: #0a66c2; }
.bwf-share__btn--x:hover, .bwf-share__btn--x:focus-visible { background: #111; }
.bwf-share__btn--pinterest:hover, .bwf-share__btn--pinterest:focus-visible { background: #c8102e; }
.bwf-share__btn--email:hover, .bwf-share__btn--email:focus-visible,
.bwf-share__btn--copy:hover, .bwf-share__btn--copy:focus-visible,
.bwf-share__btn--native:hover, .bwf-share__btn--native:focus-visible { background: var(--bwf-purple); }
.bwf-share.is-copied .bwf-share__btn--copy { background: var(--bwf-teal); color: #fff !important; }
.bwf-share__toast {
	position: absolute;
	left: 50%;
	top: -14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--bwf-deep);
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	transform: translate(-50%, -4px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.bwf-share.is-copied .bwf-share__toast { opacity: 1; transform: translate(-50%, -10px); }
@media (max-width: 640px) {
	#share_box.bwf-share { flex-direction: column; gap: 12px; margin-top: 36px; padding: 20px 16px; border-radius: 22px; }
	.bwf-share__btn { width: 40px; height: 40px; }
}

/* =====================================================================
   Inner pages — shared cards & sections
   (team, assembly, about, programmes, videos, news, events, stories, contact)
   ===================================================================== */
.bwf-sec--soft { background: var(--bwf-soft); }
.bwf-sec-intro { max-width: 820px; margin: -16px 0 34px; font-size: 17px !important; line-height: 1.75 !important; color: var(--bwf-muted); }
.bwf-empty { padding: 30px; text-align: center; color: var(--bwf-muted); }
.bwf-more { display: flex; justify-content: center; margin-top: 40px; }
.bwf-more[hidden], .bwf-card[hidden], .bwf-member[hidden] { display: none !important; }

.bwf-chip {
	align-self: flex-start;
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--bwf-soft);
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 12.5px;
	line-height: 1.3;
	color: var(--bwf-purple);
}
.bwf-chip--gold { background: #fdf3d6; color: var(--bwf-gold-text); }
.bwf-date {
	align-self: flex-start;
	padding: 5px 11px;
	border-radius: 999px;
	background: #fdf3d6;
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 13px;
	color: var(--bwf-gold-text);
}
html[dir=rtl] .bwf-chip { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }

/* generic card grid */
.bwf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bwf-cards--two { grid-template-columns: repeat(2, 1fr); }
.bwf-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	color: inherit !important;
	box-shadow: 0 0 0 1px var(--bwf-line), 0 18px 40px -28px rgba(46, 10, 110, .45);
	transition: transform .3s, box-shadow .3s;
}
.bwf-sec--soft .bwf-card { box-shadow: 0 18px 40px -28px rgba(46, 10, 110, .45); }
.bwf-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--bwf-line), 0 28px 50px -26px rgba(46, 10, 110, .5); }
.bwf-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ece9f6; }
.bwf-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bwf-card:hover .bwf-card__media img { transform: scale(1.05); }
.bwf-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px 22px 24px; }
.bwf-card__title {
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 17.5px;
	line-height: 1.45;
	max-height: calc(1.45em * 3);
	color: var(--bwf-deep);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
html[dir=rtl] .bwf-card__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.6; max-height: calc(1.6em * 3); }
.bwf-card__text, .bwf-card__quote {
	font-size: 15px;
	line-height: 1.6;
	max-height: calc(1.6em * 3);
	color: var(--bwf-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bwf-card__quote { font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: 16px; color: var(--bwf-deep); max-height: calc(1.6em * 4); -webkit-line-clamp: 4; }
html[dir=rtl] .bwf-card__quote { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
.bwf-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: 14.5px; color: var(--bwf-purple); }
html[dir=rtl] .bwf-card__more { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
.bwf-card:hover .bwf-card__more .bwf-arrow, .bwf-feature:hover .bwf-card__more .bwf-arrow { transform: translateX(4px); }
[dir=rtl] .bwf-card:hover .bwf-card__more .bwf-arrow, [dir=rtl] .bwf-feature:hover .bwf-card__more .bwf-arrow { transform: scaleX(-1) translateX(4px); }

/* featured (latest news / featured story) */
.bwf-feature {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	margin-bottom: 48px;
	overflow: hidden;
	border-radius: 26px;
	background: #fff;
	color: inherit !important;
	box-shadow: 0 0 0 1px var(--bwf-line), 0 30px 60px -36px rgba(46, 10, 110, .5);
	transition: transform .3s, box-shadow .3s;
}
.bwf-feature:hover { transform: translateY(-4px); }
.bwf-feature__media { position: relative; min-height: 360px; overflow: hidden; background: #ece9f6; }
.bwf-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bwf-feature:hover .bwf-feature__media img { transform: scale(1.04); }
.bwf-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 42px; }
.bwf-feature__title { font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; color: var(--bwf-deep); }
.bwf-feature__title--quote { font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; }
html[dir=rtl] .bwf-feature__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; line-height: 1.5; }
.bwf-feature__text { font-size: 16px; line-height: 1.7; color: var(--bwf-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bwf-feature .bwf-card__more { margin-top: 6px; }
.bwf-feature--story { background: var(--bwf-cream); box-shadow: 0 0 0 1px #f1ead8, 0 30px 60px -36px rgba(46, 10, 110, .5); }

/* ---------- team / board grids ---------- */
.bwf-board__grid--four { grid-template-columns: repeat(4, 1fr); gap: 32px 26px; }

/* ---------- assembly members ---------- */
.bwf-members-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.bwf-members-bar__count { font-size: 16px; color: var(--bwf-muted); }
.bwf-members-bar__count strong { font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 22px; color: var(--bwf-deep); }
.bwf-search { position: relative; display: block; width: min(360px, 100%); }
.bwf-search svg { position: absolute; top: 50%; inset-inline-start: 16px; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--bwf-muted); stroke-width: 2; stroke-linecap: round; }
.bwf-search input {
	width: 100%;
	height: 48px;
	padding: 0 18px;
	padding-inline-start: 44px;
	border: 1px solid var(--bwf-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--bwf-ink);
}
.bwf-search input:focus { border-color: var(--bwf-purple); outline: 3px solid rgba(76, 70, 141, .18); outline-offset: 0; }
/* sharedCSS gives every element position:relative, so the input would cover the icon */
.bwf-search svg { z-index: 1; pointer-events: none; }
.bwf-search input::placeholder { color: var(--bwf-muted); opacity: 1; }
.bwf-members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bwf-member {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--bwf-line);
	transition: box-shadow .25s, transform .25s;
}
.bwf-member:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--bwf-line), 0 16px 34px -22px rgba(46, 10, 110, .45); }
.bwf-member__photo { flex: none; width: 74px; height: 74px; overflow: hidden; border-radius: 50%; background: var(--bwf-soft); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #fdf3d6; }
.bwf-member__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bwf-member__info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bwf-member__name { font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 16px; line-height: 1.3; color: var(--bwf-deep); }
html[dir=rtl] .bwf-member__name { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-member__company { font-size: 14px; line-height: 1.4; color: var(--bwf-teal) !important; overflow-wrap: anywhere; }
a.bwf-member__company:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- about ---------- */
.bwf-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: 16px !important; line-height: 1.75 !important; }
.bwf-pillars > p, .bwf-pillars > ul {
	margin: 0;
	padding: 26px 26px 28px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 40px -30px rgba(46, 10, 110, .45);
	border-top: 4px solid var(--bwf-gold);
	list-style: none;
}
.bwf-pillars > :nth-child(2) { border-top-color: var(--bwf-purple); }
.bwf-pillars > :nth-child(3) { border-top-color: var(--bwf-teal); }
.bwf-pillars li { margin: 0; padding: 0; list-style: none; text-align: start !important; }
.bwf-pillars strong, .bwf-pillars b { display: block; margin-bottom: 8px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 18px; line-height: 1.35; color: var(--bwf-deep); }
html[dir=rtl] .bwf-pillars strong, html[dir=rtl] .bwf-pillars b { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bwf-vmv__card {
	padding: 34px 30px 32px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--bwf-line), 0 22px 46px -32px rgba(46, 10, 110, .45);
}
.bwf-vmv__icon { width: 64px; height: 64px; margin-bottom: 20px; border-radius: 18px; display: grid; place-items: center; background: var(--bwf-teal); }
.bwf-vmv__card--mission .bwf-vmv__icon { background: var(--bwf-purple); }
.bwf-vmv__card--values .bwf-vmv__icon { background: var(--bwf-gold); }
.bwf-vmv__icon img { width: 34px; height: 34px; object-fit: contain; }
.bwf-vmv__title { margin: 0 0 12px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 22px; color: var(--bwf-deep); text-transform: capitalize; }
html[dir=rtl] .bwf-vmv__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-vmv__text { font-size: 15.5px !important; line-height: 1.75 !important; color: var(--bwf-text); text-align: start; }
.bwf-vmv__text p { margin: 0 0 .5em; text-align: start !important; }
.bwf-vmv__text * { color: inherit !important; text-align: start !important; }
.bwf-vmv__text strong, .bwf-vmv__text b { color: var(--bwf-deep) !important; }
.bwf-sdgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bwf-sdg { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -30px rgba(46, 10, 110, .45); }
.bwf-sdg__img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.bwf-sdg__title { margin: 0; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 17px; line-height: 1.35; color: var(--bwf-deep); }
.bwf-sdg__text { font-size: 15px; line-height: 1.65; color: var(--bwf-muted); }
.bwf-objectives { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; font-size: 16px !important; line-height: 1.6 !important; counter-reset: none; }
.bwf-objectives > p {
	margin: 0;
	padding: 24px 22px;
	border-radius: 18px;
	background: var(--bwf-soft);
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	color: var(--bwf-deep);
}
.bwf-objectives > p * { font-weight: inherit !important; }
.bwf-objectives > p:empty { display: none; }
.bwf-objectives > p:has(> br:only-child) { display: none; }
html[dir=rtl] .bwf-objectives > p { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }

/* ---------- programmes ---------- */
.bwf-prog-rows { display: flex; flex-direction: column; gap: 72px; }
.bwf-prog-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bwf-prog-row:nth-child(even) .bwf-prog-row__media { order: 2; }
.bwf-prog-row__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 26px; background: #ece9f6; box-shadow: 0 30px 60px -36px rgba(46, 10, 110, .55); }
.bwf-prog-row__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bwf-prog-row__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--bwf-gold); }
.bwf-prog-row:nth-child(2) .bwf-prog-row__media::after { background: var(--bwf-purple); }
.bwf-prog-row:nth-child(3) .bwf-prog-row__media::after { background: var(--bwf-teal); }
.bwf-prog-row__num { display: inline-block; margin-bottom: 14px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--bwf-purple); }
.bwf-prog-row__title { margin: 0 0 16px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; color: var(--bwf-deep); }
html[dir=rtl] .bwf-prog-row__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; line-height: 1.4; }
.bwf-prog-row__body { font-size: 17px !important; line-height: 1.8 !important; color: var(--bwf-text); }
.bwf-prog-row__body * { color: inherit !important; }

/* ---------- videos ---------- */
.bwf-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.bwf-video { display: flex; flex-direction: column; gap: 14px; color: inherit !important; }
.bwf-video__thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px; background: #1e0748; box-shadow: 0 22px 44px -30px rgba(46, 10, 110, .6); }
.bwf-video__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.bwf-video__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 6, 50, .55)); }
.bwf-video__play {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .2);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: transform .3s, background .3s;
}
.bwf-video__play svg { width: 26px; height: 26px; margin-left: 3px; fill: #fff; }
.bwf-video:hover .bwf-video__thumb img { transform: scale(1.05); }
.bwf-video:hover .bwf-video__play { transform: scale(1.1); background: var(--bwf-gold); }
.bwf-video:hover .bwf-video__play svg { fill: var(--bwf-deep); }
.bwf-video__title { font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 16.5px; line-height: 1.4; color: var(--bwf-deep); padding-inline: 4px; }
html[dir=rtl] .bwf-video__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }

/* ---------- events ---------- */
.bwf-events-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.bwf-event__date {
	position: absolute;
	z-index: 1;
	top: 14px;
	inset-inline-start: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 64px;
	padding: 8px 10px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 24px -12px rgba(20, 6, 50, .5);
	line-height: 1.1;
}
.bwf-event__date strong { font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 24px; color: var(--bwf-deep); }
.bwf-event__date span { font-size: 12px; font-weight: 600; color: var(--bwf-gold-text); white-space: nowrap; }
.bwf-event__loc { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--bwf-teal); }
.bwf-event__loc svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bwf-empty-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 36px 34px;
	border-radius: 24px;
	background: var(--bwf-soft);
}
.bwf-empty-card__icon { width: 56px; height: 56px; margin-bottom: 6px; border-radius: 16px; display: grid; place-items: center; background: #fff; }
.bwf-empty-card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--bwf-purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bwf-empty-card h3 { margin: 0; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 20px; color: var(--bwf-deep); }
html[dir=rtl] .bwf-empty-card h3 { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-empty-card p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.7; color: var(--bwf-muted); }
.bwf-empty-card .bwf-link-arrow { margin-inline-start: 0; }
.bwf-calendar-card { padding: 26px 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--bwf-line), 0 22px 46px -32px rgba(46, 10, 110, .45); }
.bwf-calendar-card__title { margin: 0 0 14px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 18px; color: var(--bwf-deep); }
html[dir=rtl] .bwf-calendar-card__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-calendar-card #caleandar { width: 100% !important; margin: 0 !important; background: none !important; box-shadow: none !important; }
.bwf-calendar-card .cld-main { width: 100% !important; }
.bwf-calendar-card .cld-datetime { margin-bottom: 10px; }
.bwf-calendar-card .cld-datetime .today { font-family: Montserrat-Bold, Montserrat, sans-serif; color: var(--bwf-deep) !important; }
.bwf-calendar-card .cld-nav { border-radius: 50%; }
.bwf-calendar-card .cld-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--bwf-muted) !important; }
.bwf-calendar-card .cld-day { border-radius: 10px; }
.bwf-calendar-card .cld-day.today .cld-number { background: var(--bwf-deep) !important; color: #fff !important; border-radius: 10px; }

/* ---------- contact ---------- */
.bwf-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.bwf-contact__info { display: grid; gap: 16px; }
.bwf-contact-tile {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 22px 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--bwf-line), 0 16px 34px -26px rgba(46, 10, 110, .4);
}
.bwf-contact-tile__icon { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--bwf-soft); }
.bwf-contact-tile__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--bwf-purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bwf-contact-tile__label { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bwf-gold-text); }
html[dir=rtl] .bwf-contact-tile__label { letter-spacing: 0; font-size: 13.5px; }
.bwf-contact-tile__value { display: block; font-size: 16.5px; line-height: 1.5; color: var(--bwf-deep) !important; overflow-wrap: anywhere; }
a.bwf-contact-tile__value:hover { color: var(--bwf-purple) !important; text-decoration: underline; text-underline-offset: 3px; }
.bwf-contact__form {
	padding: 38px 38px 40px;
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--bwf-line), 0 30px 60px -36px rgba(46, 10, 110, .5);
}
.bwf-contact__title { margin: 0 0 6px; line-height: 1.2; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 26px; color: var(--bwf-deep); }
html[dir=rtl] .bwf-contact__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-contact__hint { margin: 0 0 26px; font-size: 15.5px; line-height: 1.6; color: var(--bwf-muted); }
.bwf-contact__form .form_field { display: block; width: 100%; margin: 0 0 18px; }
/* main.css hides these with #contact_form_8325 label — labels stay visible for accessibility */
.bwf-contact__form #contact_form_8325 .form_field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--bwf-deep); }
.bwf-contact__form .input_area { display: block; width: 100%; }
.bwf-contact__form input[type=email], .bwf-contact__form input[type=text], .bwf-contact__form textarea {
	display: block;
	width: 100% !important;
	padding: 14px 16px;
	border: 1px solid var(--bwf-line) !important;
	border-radius: 14px !important;
	background: var(--bwf-soft) !important;
	box-shadow: none !important;
	font: inherit;
	font-size: 15.5px;
	color: var(--bwf-ink);
	transition: border-color .2s, background .2s;
}
.bwf-contact__form textarea { min-height: 160px; resize: vertical; }
.bwf-contact__form input:focus, .bwf-contact__form textarea:focus { border-color: var(--bwf-purple) !important; background: #fff !important; outline: 3px solid rgba(76, 70, 141, .16); outline-offset: 0; }
.bwf-contact__form .input_counter { font-size: 12px; color: var(--bwf-muted); }

#SuccessConnectedBox { margin-top: 10px; align-items: center; text-align: center; }
#SuccessConnectedBox .bwf-empty-card__icon svg { stroke: var(--bwf-teal); stroke-width: 2.4; }

/* ---------- inner pages responsive ---------- */
@media (max-width: 1100px) {
	.bwf-members { grid-template-columns: repeat(2, 1fr); }
	.bwf-sdgs, .bwf-objectives { grid-template-columns: repeat(2, 1fr); }
	.bwf-board__grid--four { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
	.bwf-cards, .bwf-videos { grid-template-columns: repeat(2, 1fr); }
	.bwf-feature { grid-template-columns: 1fr; }
	.bwf-feature__media { min-height: 0; aspect-ratio: 16 / 9; }
	.bwf-feature__body { padding: 30px 28px; }
	.bwf-pillars, .bwf-vmv { grid-template-columns: 1fr; }
	.bwf-prog-row { grid-template-columns: 1fr; gap: 28px; }
	.bwf-prog-row:nth-child(even) .bwf-prog-row__media { order: 0; }
	.bwf-prog-rows { gap: 56px; }
	.bwf-events-top { grid-template-columns: 1fr; }
	.bwf-contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.bwf-cards, .bwf-cards--two, .bwf-videos, .bwf-members, .bwf-sdgs, .bwf-objectives { grid-template-columns: 1fr; }
	.bwf-board__grid--four { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
	.bwf-members-bar { flex-direction: column; align-items: stretch; }
	.bwf-search { width: 100%; }
	.bwf-feature { margin-bottom: 32px; border-radius: 22px; }
	.bwf-feature__body { padding: 24px 22px 26px; }
	.bwf-prog-row__num { font-size: 42px; }
	.bwf-contact__form { padding: 26px 22px 28px; border-radius: 22px; }
	.bwf-empty-card { padding: 28px 22px; }
}


/* ---------- assembly members: portrait grid ---------- */
.bwf-mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; }
.bwf-mcard { display: flex; flex-direction: column; gap: 14px; }
.bwf-mcard[hidden] { display: none !important; }
.bwf-mcard__photo {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: 22px;
	background: var(--bwf-soft);
	box-shadow: 0 22px 44px -30px rgba(46, 10, 110, .55);
}
.bwf-mcard__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.bwf-mcard__photo::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	background: var(--bwf-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s;
}
[dir=rtl] .bwf-mcard__photo::after { transform-origin: right; }
.bwf-mcard:hover .bwf-mcard__photo img { transform: scale(1.05); }
.bwf-mcard:hover .bwf-mcard__photo::after { transform: scaleX(1); }
.bwf-mcard__info { display: flex; flex-direction: column; gap: 6px; padding-inline: 4px; }
.bwf-mcard__name { font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 18px; line-height: 1.3; color: var(--bwf-deep); }
html[dir=rtl] .bwf-mcard__name { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-mcard__company { align-self: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--bwf-teal) !important; overflow-wrap: anywhere; }
a.bwf-mcard__company:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .bwf-mgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
	.bwf-mgrid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
	.bwf-mcard__name { font-size: 15.5px; }
	.bwf-mcard__company { font-size: 13px; }
	.bwf-mcard__photo { border-radius: 18px; }
}

/* =====================================================================
   Strategy page
   ===================================================================== */
.bwf-btn--ghost { background: transparent; color: var(--bwf-deep) !important; box-shadow: inset 0 0 0 1.5px var(--bwf-line); }
.bwf-btn--ghost:hover { background: var(--bwf-soft); }
.bwf-btn--ghost svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bwf-btn--light { background: #fff; color: var(--bwf-deep) !important; box-shadow: none; }
.bwf-btn--light:hover { background: var(--bwf-gold); }

.bwf-strat-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.bwf-strat-intro__big {
	margin: 0;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: clamp(44px, 6vw, 84px);
	line-height: 1.02;
	letter-spacing: -.03em;
	color: var(--bwf-deep);
}
.bwf-strat-intro__big mark { padding: 0 .08em; background: linear-gradient(transparent 62%, var(--bwf-gold) 62%); color: inherit; }
html[dir=rtl] .bwf-strat-intro__big { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; letter-spacing: 0; line-height: 1.25; }
.bwf-strat-intro__text p { margin: 0 0 16px; font-size: 18px; line-height: 1.8; color: var(--bwf-text); }
.bwf-strat-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* theory of change */
.bwf-toc { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 0 34px; padding: 0; list-style: none; }
.bwf-toc::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 12%;
	right: 12%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--bwf-purple) 0 10px, transparent 10px 18px);
	opacity: .4;
}
.bwf-toc__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 0 6px;
	text-align: center;
}
.bwf-toc__num {
	position: relative;
	z-index: 1;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	font-family: Montserrat-Bold, Montserrat, sans-serif;
	font-size: 28px;
	color: var(--bwf-purple);
	box-shadow: 0 0 0 6px var(--bwf-soft), 0 0 0 7px var(--bwf-line), 0 16px 30px -16px rgba(46, 10, 110, .5);
}
.bwf-toc__step:nth-child(2) .bwf-toc__num { color: #1f8fbf; }
.bwf-toc__step:nth-child(3) .bwf-toc__num { color: var(--bwf-teal); }
.bwf-toc__step:nth-child(4) .bwf-toc__num { background: var(--bwf-deep); color: var(--bwf-gold); }
.bwf-toc__text { font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: 16.5px; line-height: 1.45; color: var(--bwf-deep); }
html[dir=rtl] .bwf-toc__text { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
.bwf-toc__paths { display: grid; gap: 14px; }
.bwf-toc__path {
	position: relative;
	padding: 16px 64px;
	border-radius: 999px;
	background: linear-gradient(90deg, #2a8fb5, #3b797b);
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	font-size: 15.5px;
	line-height: 1.45;
	text-align: center;
	color: #fff;
}
.bwf-toc__path--advocacy { background: linear-gradient(90deg, var(--bwf-deep), var(--bwf-purple)); }
.bwf-toc__path::before, .bwf-toc__path::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border-top: 2.5px solid rgba(255, 255, 255, .85);
	border-left: 2.5px solid rgba(255, 255, 255, .85);
}
.bwf-toc__path::before { left: 28px; transform: rotate(-45deg); }
.bwf-toc__path::after { right: 28px; transform: rotate(135deg); }
html[dir=rtl] .bwf-toc__path { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }

/* vision & mission + values */
.bwf-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.bwf-vm__card { position: relative; overflow: hidden; padding: 36px 36px 38px; border-radius: 26px; color: #fff; }
.bwf-vm__card--vision { background: linear-gradient(135deg, #3b797b, #2c5f61); }
.bwf-vm__card--mission { background: linear-gradient(135deg, #4c468d, #2e0a6e); }
.bwf-vm__card::after { content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.bwf-vm__label { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
html[dir=rtl] .bwf-vm__label { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; letter-spacing: 0; font-size: 15px; }
.bwf-vm__card p { position: relative; z-index: 1; margin: 0; font-size: 19px; line-height: 1.65; }
.bwf-values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.bwf-value { padding: 24px 20px 26px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--bwf-line), 0 18px 36px -28px rgba(46, 10, 110, .45); }
.bwf-value__num { display: block; margin-bottom: 14px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 14px; letter-spacing: .1em; color: var(--bwf-gold-text); }
.bwf-value__title { margin: 0 0 10px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 17px; line-height: 1.3; color: var(--bwf-deep); }
html[dir=rtl] .bwf-value__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-value__text { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--bwf-muted); }

/* strategic themes */
.bwf-strat-themes-sec { background: radial-gradient(120% 140% at 0% 0%, #4c468d 0%, #2e0a6e 55%, #1e0748 100%); }
.bwf-themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bwf-theme { padding: 30px 30px 26px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; background: rgba(255, 255, 255, .07); color: #fff; }
.bwf-theme__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.bwf-theme__num { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--bwf-gold); font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 22px; color: var(--bwf-deep); }
.bwf-theme__title { margin: 0; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 20px; line-height: 1.3; color: #fff; }
html[dir=rtl] .bwf-theme__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-theme__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.bwf-theme__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.bwf-theme__obj { flex: none; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 700; color: var(--bwf-gold); }

/* customer segments */
.bwf-segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bwf-segment {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 32px 30px 30px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--bwf-line), 0 22px 46px -32px rgba(46, 10, 110, .45);
	transition: transform .3s;
}
.bwf-segment:hover { transform: translateY(-4px); }
.bwf-segment__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #e7f2f7; }
.bwf-segment:nth-child(2) .bwf-segment__icon { background: #fdf3d6; }
.bwf-segment:nth-child(3) .bwf-segment__icon { background: var(--bwf-soft); }
.bwf-segment__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--bwf-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bwf-segment__tag { padding: 4px 10px; border-radius: 6px; background: var(--bwf-deep); font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 12px; letter-spacing: .08em; color: #fff; }
.bwf-segment__title { margin: 0; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 19px; line-height: 1.35; color: var(--bwf-deep); }
html[dir=rtl] .bwf-segment__title { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-segment__service { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding-top: 6px; font-family: Montserrat-SemiBold, Montserrat, sans-serif; font-size: 15px; color: var(--bwf-teal); }
html[dir=rtl] .bwf-segment__service { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
.bwf-strat-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 56px;
	padding: 34px 40px;
	border-radius: 26px;
	background: linear-gradient(120deg, var(--bwf-deep), var(--bwf-purple));
	color: #fff;
}
.bwf-strat-cta h3 { margin: 0 0 6px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 24px; color: #fff; }
html[dir=rtl] .bwf-strat-cta h3 { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-strat-cta p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .85); }

@media (max-width: 1100px) {
	.bwf-values { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
	.bwf-strat-intro { grid-template-columns: 1fr; gap: 28px; }
	.bwf-toc { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
	.bwf-toc::before { display: none; }
	.bwf-vm, .bwf-themes { grid-template-columns: 1fr; }
	.bwf-segments { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.bwf-toc { grid-template-columns: 1fr; }
	.bwf-toc__step { flex-direction: row; text-align: start; }
	.bwf-toc__num { flex: none; width: 56px; height: 56px; font-size: 22px; }
	.bwf-toc__path { padding: 14px 44px; border-radius: 22px; font-size: 14.5px; }
	.bwf-toc__path::before { left: 18px; }
	.bwf-toc__path::after { right: 18px; }
	.bwf-values { grid-template-columns: 1fr; }
	.bwf-vm__card { padding: 28px 24px; }
	.bwf-vm__card p { font-size: 17px; }
	.bwf-theme { padding: 24px 20px; }
	.bwf-strat-cta { padding: 28px 24px; }
}

/* =====================================================================
   Join Us — one application form with a membership-type dropdown
   ===================================================================== */
.bwf-join { display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: start; }
/* main.css (old squares layout) sets #join_form_wrap to width:190% with a negative margin and hides the type field */
#join_form_wrap.bwf-join__form { width: auto; margin: 0; padding: 38px 38px 40px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--bwf-line), 0 30px 60px -36px rgba(46, 10, 110, .5); }
#join_form_8322 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; padding: 0; }
#join_form_8322 .form_field { display: block; width: 100%; margin: 0 0 18px; padding: 0; float: none; }
#join_form_8322 .form_field.join_form_8322_join_type { display: block !important; }
#join_form_8322 ::placeholder { color: var(--bwf-muted) !important; opacity: 1; text-align: start; }
#join_form_8322 .join_form_8322_join_type { order: -1; grid-column: 1 / -1; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--bwf-line); }
#join_form_8322 .form_field label { display: block !important; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--bwf-deep); }
#join_form_8322 .input_area { display: block; width: 100%; }
#join_form_8322 input[type=text], #join_form_8322 input[type=email], #join_form_8322 select {
	display: block;
	width: 100% !important;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--bwf-line) !important;
	border-radius: 14px !important;
	background-color: var(--bwf-soft) !important;
	box-shadow: none !important;
	font: inherit;
	font-size: 15.5px;
	color: var(--bwf-ink) !important;
	transition: border-color .2s, background-color .2s;
}
#join_form_8322 select {
	height: 56px;
	padding-inline-end: 44px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232e0a6e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-size: 12px 8px !important;
	background-position: right 18px center !important;
	font-family: Montserrat-SemiBold, Montserrat, sans-serif;
	cursor: pointer;
}
[dir=rtl] #join_form_8322 select { background-position: left 18px center !important; }
html[dir=rtl] #join_form_8322 select { font-family: Cairo, Tahoma, sans-serif; font-weight: 700; }
#join_form_8322 input:focus, #join_form_8322 select:focus { border-color: var(--bwf-purple) !important; background-color: #fff !important; outline: 3px solid rgba(76, 70, 141, .16); outline-offset: 0; }
#join_form_8322 .select2-container { display: none !important; }
/* the site initialises select2 on it; keep the native dropdown (works with keyboards, screen readers and phones) */
#join_form_8322 select.select2-hidden-accessible { position: static !important; width: 100% !important; height: 56px !important; clip: auto !important; clip-path: none !important; overflow: visible !important; margin: 0 !important; padding: 0 44px 0 16px !important; white-space: nowrap !important; text-overflow: ellipsis; }
[dir=rtl] #join_form_8322 select.select2-hidden-accessible { padding: 0 16px 0 44px !important; }
.bwf-join__desc { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: #fdf3d6; font-size: 15px; line-height: 1.65; color: #5a4300; }
.bwf-join__desc[hidden] { display: none; }
.bwf-join__aside { padding: 32px 30px; border-radius: 26px; background: var(--bwf-soft); }
.bwf-join__aside-icon { width: 54px; height: 54px; margin-bottom: 16px; border-radius: 16px; display: grid; place-items: center; background: #fff; }
.bwf-join__aside-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--bwf-purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bwf-join__aside h3 { margin: 0 0 12px; font-family: Montserrat-Bold, Montserrat, sans-serif; font-size: 20px; color: var(--bwf-deep); }
html[dir=rtl] .bwf-join__aside h3 { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.bwf-join__aside-text { font-size: 15.5px !important; line-height: 1.75 !important; color: var(--bwf-text); }
.bwf-join__aside-text * { color: inherit !important; }
#SuccessJoinededBox { margin-top: 10px; align-items: center; text-align: center; }
#SuccessJoinededBox .bwf-empty-card__icon svg { stroke: var(--bwf-teal); stroke-width: 2.4; }
@media (max-width: 980px) { .bwf-join { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	#join_form_wrap.bwf-join__form { padding: 26px 20px 28px; border-radius: 22px; }
	#join_form_8322 { grid-template-columns: 1fr; }
}

/* =====================================================================
   Phone spacing — one side gutter everywhere (16px phones, 24px tablets)
   ===================================================================== */
/* main.css styles these two buttons by id (small, square, centred), which beats .bwf-btn */
#contact_boxes #contact_submit_btn,
#join_form_wrap #join_submit_btn {
	display: inline-flex;
	width: auto;
	margin: 6px 0 0;
	padding: 14px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--bwf-purple);
	font-size: var(--fs-btn);
	cursor: pointer;
}
#contact_boxes #contact_submit_btn:hover,
#join_form_wrap #join_submit_btn:hover { background: var(--bwf-deep); }
/* responsive.css adds 25px padding + margins to #contact_boxes on top of the container gutter */
#contact_boxes.bwf-contact { padding: 0; margin: 0 auto; background: none; }

/* old detail templates (single news, event, story, project): 3% / 9px / 25px side paddings and a
   -95px title offset that pushes "Projects" off the screen */
@media (max-width: 1199px) {
	#top_title.w1200 { width: calc(100% - 48px); margin-left: auto; margin-right: auto; }
	#top_title .new_top_title { margin-left: 0; }
	.single_news_title,
	.single_news_content,
	.single_events_content,
	.single_story_content { padding-left: 24px; padding-right: 24px; }
	#single_story_left { width: 100%; margin: 0; }
	#single_story .w40 { padding: 5px 24px; }
	#projects_wrap { padding: 0 24px; }
}
@media (max-width: 640px) {
	#top_title.w1200 { width: calc(100% - 32px); }
	.single_news_title,
	.single_news_content,
	.single_events_content,
	.single_story_content { padding-left: 16px; padding-right: 16px; }
	#single_story .w40 { padding: 5px 16px; }
	#projects_wrap { padding: 0 16px; }
}
