/* ==========================================================================
   NRNA NZ theme – main stylesheet
   Colours taken from the NRNA logo:
   indigo navy ring & lettering · sky-blue sky & mountains · gold→orange sun
   ========================================================================== */

:root {
	/* Brand (from logo) */
	--navy: #24246c;
	--navy-deep: #15153f;
	--navy-mid: #2f3a8f;
	--sky: #3fa9e0;
	--sky-deep: #1670ad;      /* links & small text on white (AA) */
	--sky-light: #b2daf4;
	--sky-pale: #eef7fd;
	--sun: #f8c414;
	--orange: #ed8c23;
	--orange-deep: #b65407;   /* small accent text on white (AA) */
	--sun-grad: linear-gradient(135deg, #fde047 0%, #f8c414 35%, #ed8c23 100%);
	--sky-grad: linear-gradient(125deg, #15153f 0%, #24246c 38%, #2c5ea8 75%, #3fa9e0 100%);

	/* Neutrals */
	--ink: #1b1b4f;
	--text: #3b3f5c;
	--muted: #676c88;
	--line: #e1e6f0;
	--white: #ffffff;

	/* Back-compat aliases (used by builder.css & older markup) */
	--nrna-blue: var(--navy);
	--nrna-red: var(--orange);
	--nrna-ink: var(--ink);
	--nrna-text: var(--text);
	--nrna-muted: var(--muted);
	--nrna-line: var(--line);
	--nrna-cream: var(--sky-pale);
	--nrna-gold: var(--sun);

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 14px 34px -16px rgba(21, 21, 63, .35);
	--shadow-sm: 0 6px 18px -12px rgba(21, 21, 63, .3);
	--font-body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);

	/* Mountain ridge (white) – echoes the logo */
	--ridge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.35' d='M0 110V70l140-34 120 30 170-58 150 60 120-28 140 44 170-62 140 46 120-20 170 40v62z'/%3E%3Cpath fill='%23ffffff' d='M0 110V86l170-30 130 26 190-44 150 48 140-22 150 34 170-46 150 38 190-18v86z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--sky-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.18;
	margin: 0 0 .5em;
	font-weight: 700;
	letter-spacing: -.015em;
	font-optical-sizing: auto;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }

p { margin: 0 0 1.1em; }
strong { color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tint { background: var(--sky-pale); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 10px; z-index: 1000;
	background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.icon { flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
/* Primary = the sun */
.btn--red, .btn--sun {
	background: var(--sun-grad); color: var(--navy-deep);
	box-shadow: 0 8px 20px -10px rgba(237, 140, 35, .8);
}
.btn--red:hover, .btn--sun:hover { color: var(--navy-deep); box-shadow: 0 12px 26px -10px rgba(237, 140, 35, .9); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-mid); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--sky-pale); color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: .95rem; }
.btn--sm .icon { width: 18px; height: 18px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 700;
	color: var(--sky-deep); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; width: 18px; height: 18px; }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
	font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .14em;
	text-transform: uppercase; color: var(--orange-deep); margin-bottom: .7em;
	display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 30px; height: 4px; border-radius: 4px; background: var(--sun-grad); flex: none; }
.eyebrow--light { color: var(--sun); }
.eyebrow[lang="ne"] { text-transform: none; letter-spacing: .02em; font-size: 1.1rem; font-weight: 600; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #cfd3f0; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--sun); }
.topbar__tag { color: var(--sun); font-weight: 600; }
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar .icon { width: 17px; height: 17px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
	border-bottom: 1px solid var(--line); transition: box-shadow .2s;
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 8px 28px -18px rgba(21,21,63,.45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.site-logo { flex: none; display: block; }
.site-logo__img, .site-logo .custom-logo { width: 68px; height: 68px; object-fit: contain; transition: transform .3s; }
.site-logo:hover .site-logo__img { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
	font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy);
	text-decoration: none; line-height: 1.05; letter-spacing: -.01em;
}
.brand__name:hover { color: var(--navy); }
.brand__name span { color: var(--sky-deep); }
.brand__full { font-size: .78rem; color: var(--muted); line-height: 1.3; max-width: 300px; margin-top: 3px; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; }
.site-nav li { position: relative; }
.site-nav a {
	display: block; padding: 10px 13px; color: var(--ink); text-decoration: none;
	font-weight: 600; font-size: 1.02rem; border-radius: 10px; position: relative;
}
.site-nav > ul > li > a::before {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 3px;
	border-radius: 3px; background: var(--sun-grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav > ul > li > a:hover::before,
.site-nav > ul > .current-menu-item > a::before,
.site-nav > ul > .current-menu-ancestor > a::before { transform: scaleX(1); }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--navy); }
.site-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
}
.site-nav .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff;
	border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line);
	border-top: 3px solid var(--sky);
	padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .18s ease; z-index: 50;
}
.site-nav .sub-menu a { font-weight: 500; padding: 10px 14px; }
.site-nav .sub-menu a:hover { background: var(--sky-pale); color: var(--navy); }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .site-nav__cta { padding: 11px 22px; color: var(--navy-deep); }
.site-nav .site-nav__cta:hover { color: var(--navy-deep); }
.submenu-toggle { display: none; }

.nav-toggle {
	display: none; width: 48px; height: 48px; border: 0; background: var(--sky-pale);
	border-radius: 12px; cursor: pointer; position: relative; flex: none;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	position: absolute; left: 13px; width: 22px; height: 2.5px; border-radius: 2px; background: var(--navy);
	transition: transform .2s, opacity .2s; content: "";
}
.nav-toggle__bars { top: 23px; }
.nav-toggle__bars::before { left: 0; top: -7px; }
.nav-toggle__bars::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Laptop: tighten nav */
@media (max-width: 1280px) {
	.site-nav a { padding: 10px 10px; font-size: .98rem; }
	.site-nav > ul > li > a::before { left: 10px; right: 10px; }
	.brand__full { display: none; }
}

/* Tablet & phone: off-canvas menu */
@media (max-width: 1100px) {
	/* blur creates a containing block that would trap the fixed menu */
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.nav-toggle { display: block; z-index: 95; }
	.site-nav {
		position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff;
		flex-direction: column; align-items: stretch; padding: 100px 22px 30px; gap: 22px;
		transform: translateX(100%); visibility: hidden;
		transition: transform .28s ease, visibility 0s .28s; overflow-y: auto;
		box-shadow: -24px 0 50px -24px rgba(21,21,63,.4); z-index: 90;
		border-left: 4px solid var(--sky);
	}
	.site-nav.is-open { transform: none; visibility: visible; transition: transform .28s ease; }
	.site-nav > ul { flex-direction: column; align-items: stretch; }
	.site-nav li { border-bottom: 1px solid var(--line); }
	.site-nav a { padding: 15px 4px; font-size: 1.08rem; }
	.site-nav > ul > li > a::before { display: none; }
	.site-nav .menu-item-has-children > a::after { display: none; }
	.site-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		border: 0; padding: 0 0 8px 14px; display: none; min-width: 0; border-radius: 0;
	}
	.site-nav li.is-open > .sub-menu { display: block; }
	.submenu-toggle {
		display: block; position: absolute; right: 0; top: 8px; width: 44px; height: 44px;
		border: 0; background: transparent; cursor: pointer;
	}
	.submenu-toggle::before {
		content: ""; position: absolute; left: 17px; top: 14px; width: 8px; height: 8px;
		border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
		transform: rotate(45deg); transition: transform .2s;
	}
	.is-open > .submenu-toggle::before { transform: rotate(-135deg); top: 19px; }
	body.nav-open { overflow: hidden; }
	body.nav-open::after {
		content: ""; position: fixed; inset: 0; background: rgba(21,21,63,.45); z-index: 80;
	}
	.site-nav .site-nav__cta { align-self: flex-start; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 600px) {
	.site-header__inner { min-height: 74px; }
	.site-logo__img, .site-logo .custom-logo { width: 54px; height: 54px; }
	.brand__name { font-size: 1.25rem; }
	.topbar__links a span { display: none; }
	.topbar { font-size: .85rem; }
}

/* ---------- Mountain ridge edge (reused) ---------- */
.has-ridge { position: relative; }
.has-ridge::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(36px, 6vw, 90px);
	background: var(--ridge) bottom / 100% 100% no-repeat; pointer-events: none; z-index: 1;
}

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: clamp(560px, 82vh, 760px); display: flex; color: #fff;
	overflow: hidden; background: var(--navy-deep);
}
.hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 7vw, 100px);
	background: var(--ridge) bottom / 100% 100% no-repeat; z-index: 3; pointer-events: none;
}
.hero__media { position: absolute; inset: 0; }
.hero__slide {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(100deg, rgba(21,21,63,.94) 0%, rgba(36,36,108,.80) 42%, rgba(44,94,168,.35) 75%, rgba(63,169,224,.15) 100%);
}
/* the logo's sun */
.hero__sun {
	position: absolute; z-index: 1; right: clamp(-80px, 6vw, 140px); top: clamp(40px, 8vw, 110px);
	width: clamp(140px, 18vw, 260px); aspect-ratio: 1; border-radius: 50%;
	background: linear-gradient(180deg, #fde047 0%, #f8c414 40%, #ed8c23 100%);
	opacity: .9; filter: blur(.5px);
	box-shadow: 0 0 80px 10px rgba(248,196,20,.35);
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; padding-bottom: clamp(120px, 14vw, 170px); }
.hero__copy { max-width: 700px; }
.hero h1 { color: #fff; margin-bottom: .45em; text-wrap: balance; }
.hero h1 .accent { background: var(--sun-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #dde3f7; max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__caption {
	position: absolute; right: var(--gutter); bottom: clamp(110px, 12vw, 150px); max-width: 360px;
	background: rgba(255,255,255,.97); color: var(--ink); padding: 16px 20px; border-radius: 14px;
	text-decoration: none; border-left: 5px solid var(--orange); box-shadow: var(--shadow); z-index: 4;
}
.hero__caption:hover { color: var(--navy); }
.hero__caption-label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-deep); }
.hero__caption-title { display: block; font-family: var(--font-head); font-weight: 700; line-height: 1.25; margin-top: 4px; }
.hero__dots { position: absolute; left: var(--gutter); bottom: clamp(100px, 11vw, 140px); display: flex; gap: 8px; z-index: 4; }
.hero__dots button {
	width: 28px; height: 6px; border-radius: 4px; border: 0; padding: 0; cursor: pointer;
	background: rgba(255,255,255,.45); transition: background .2s, width .2s;
}
.hero__dots button.is-active { background: var(--sun); width: 46px; }
@media (max-width: 900px) {
	.hero__caption { left: var(--gutter); right: var(--gutter); max-width: none; bottom: 110px; }
	.hero__inner { padding-bottom: 200px; padding-top: 56px; }
	.hero__dots { bottom: 82px; }
	.hero__sun { opacity: .55; }
}

/* ---------- Pillars ---------- */
.pillars { position: relative; z-index: 5; margin-top: clamp(-70px, -5vw, -40px); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
	background: #fff; border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow);
	border: 1px solid var(--line); position: relative; overflow: hidden;
	transition: transform .2s ease;
}
.pillar:hover { transform: translateY(-4px); }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sun-grad); }
.pillar h3 { color: var(--navy); margin: 14px 0 6px; }
.pillar p { margin: 0; font-size: 1rem; color: var(--text); }
.pillar__icon {
	display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
	background: var(--sky-pale); color: var(--navy);
}
.pillar__icon .icon { width: 26px; height: 26px; }
@media (max-width: 1024px) { .pillar { padding: 24px 20px 22px; } }
@media (max-width: 700px) { .pillars__grid { grid-template-columns: 1fr; gap: 14px; } .pillars { margin-top: -60px; } }

/* ---------- President ---------- */
.president__grid { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.president__photo { margin: 0; position: relative; isolation: isolate; }
.president__photo::before {
	content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius);
	background: var(--sky-grad); z-index: -1;
}
.president__photo::after {
	content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%;
	right: -38px; top: -30px; background: var(--sun-grad); z-index: -1;
}
.president__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.president blockquote { margin: 0 0 24px; padding: 0; position: relative; }
.president blockquote p {
	font-family: var(--font-head); font-size: clamp(1.25rem, 1.05rem + .9vw, 1.7rem); line-height: 1.45;
	color: var(--ink); font-weight: 600;
}
.president blockquote::before {
	content: "“"; position: absolute; right: 0; top: -50px; font-family: var(--font-head);
	font-size: 9rem; line-height: 1; color: var(--sky); opacity: .22;
}
.president__name { display: flex; flex-direction: column; margin-bottom: 18px; padding-left: 16px; border-left: 4px solid var(--orange); }
.president__name strong { color: var(--navy); font-size: 1.18rem; }
.president__name span { color: var(--muted); }
@media (max-width: 1024px) { .president__grid { grid-template-columns: minmax(220px, 300px) 1fr; } }
@media (max-width: 700px) {
	.president__grid { grid-template-columns: 1fr; }
	.president__photo { max-width: 340px; margin-right: 24px; }
}

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 7vw, 90px); }
.feature--flip .feature__img { order: 2; }
.feature__img { position: relative; }
.feature__img::before {
	content: ""; position: absolute; inset: -14px auto auto -14px; width: 46%; height: 46%;
	border-radius: var(--radius); background: var(--sky-light); z-index: 0;
}
.feature--flip .feature__img::before { inset: auto -14px -14px auto; background: rgba(248,196,20,.45); }
.feature__img img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__body p { font-size: 1.12rem; }
@media (max-width: 900px) {
	.feature { grid-template-columns: 1fr; }
	.feature--flip .feature__img { order: 0; }
}

/* ---------- Cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sky-light); }
.card__img { display: block; aspect-ratio: 16 / 10; background: var(--sky-pale); overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__placeholder {
	display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-head);
	font-size: 3rem; color: #fff; background: var(--sky-grad);
}
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__meta {
	font-size: .8rem; color: var(--orange-deep); margin-bottom: 8px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .08em;
}
.card__title { font-size: 1.2rem; margin-bottom: 16px; line-height: 1.3; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--sky-deep); }
.card .link-arrow { margin-top: auto; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Page banner ---------- */
.page-banner {
	background: var(--sky-grad); color: #fff; padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 9vw, 120px);
	position: relative; overflow: hidden;
}
.page-banner::before {
	content: ""; position: absolute; right: clamp(-60px, 6vw, 120px); top: clamp(20px, 3vw, 40px);
	width: clamp(90px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%;
	background: linear-gradient(180deg, #fde047 0%, #f8c414 45%, #ed8c23 100%);
	opacity: .85; box-shadow: 0 0 60px 6px rgba(248,196,20,.3);
}
.page-banner::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(34px, 5vw, 70px);
	background: var(--ridge) bottom / 100% 100% no-repeat;
}
.page-banner--slim { padding: clamp(36px, 4vw, 56px) 0 clamp(64px, 7vw, 92px); }
.page-banner__title { color: #fff; margin: 0; position: relative; z-index: 1; max-width: 900px; text-wrap: balance; }
.page-banner__meta { margin: 12px 0 0; color: #dde3f7; position: relative; z-index: 1; max-width: 680px; }
.page-banner__meta a { color: #fff; }
.page-banner__search { margin-top: 20px; max-width: 540px; position: relative; z-index: 1; }
.breadcrumb { font-size: .9rem; margin-bottom: 10px; color: #c3cbee; position: relative; z-index: 1; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--sun); }
.breadcrumb span { margin: 0 8px; }

/* ---------- Entry content ---------- */
.entry__thumb { margin: 0 0 32px; }
.entry__thumb img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow-sm); }
.entry-content { font-size: 1.12rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius-sm); height: auto; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 18px 26px; border-left: 5px solid var(--sky);
	background: var(--sky-pale); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-family: var(--font-head); font-size: 1.15rem; color: var(--ink);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 1rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--sky-pale); color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li::marker { color: var(--sky); }
.entry-content .alignleft { float: left; margin: .4em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.4em; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignwide { margin-left: -80px; margin-right: -80px; max-width: none; }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
@media (max-width: 1060px) { .entry-content .alignwide { margin-left: 0; margin-right: 0; } }
@media (max-width: 600px) { .entry-content .alignleft, .entry-content .alignright { float: none; margin: 1em 0; } }
.entry-content .wp-block-button__link { background: var(--sun-grad); color: var(--navy-deep); border-radius: 999px; font-weight: 700; }
.entry-content::after { content: ""; display: table; clear: both; }

.gallery, .wp-block-gallery { gap: 12px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }

.entry-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a {
	background: var(--sky-pale); color: var(--navy); padding: 4px 14px; border-radius: 999px;
	text-decoration: none; font-size: .9rem; font-weight: 600;
}

.post-nav {
	display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px;
	padding-top: 28px; border-top: 1px solid var(--line);
}
.post-nav a { display: block; text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.35; }
.post-nav a:hover { color: var(--sky-deep); }
.post-nav small { display: block; color: var(--orange-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; margin-bottom: 4px; }
.post-nav div:last-child { text-align: right; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav div:last-child { text-align: left; } }

.elementor-content { overflow: hidden; }

/* ---------- Pagination / search / forms ---------- */
.pagination, .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.page-numbers {
	display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px;
	border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700;
}
.page-numbers:hover { border-color: var(--navy); color: var(--navy); }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }

.search-form { display: flex; gap: 8px; flex-wrap: wrap; }
.search-field {
	flex: 1 1 220px; min-width: 0; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line);
	font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.empty { text-align: center; }
.empty .search-form { max-width: 540px; margin: 0 auto 28px; }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], textarea, select {
	font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line);
	border-radius: var(--radius-sm); width: 100%; max-width: 100%; background: #fff; color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(63,169,224,.18); }
input[type="submit"], button[type="submit"]:not(.btn) {
	background: var(--sun-grad); color: var(--navy-deep); border: 0; padding: 13px 28px; border-radius: 999px;
	font: inherit; font-weight: 700; cursor: pointer;
}

.comments { margin-top: 56px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.widget { margin-bottom: 32px; }
.widget-title { font-size: 1.1rem; }

/* ---------- CTA band ---------- */
.cta-band {
	background: var(--sky-grad); color: #fff; padding: clamp(56px, 7vw, 84px) 0;
	position: relative; overflow: hidden;
}
.cta-band::before {
	content: ""; position: absolute; left: clamp(-120px, -4vw, -40px); bottom: -120px;
	width: 300px; height: 300px; border-radius: 50%;
	background: linear-gradient(180deg, #fde047, #ed8c23); opacity: .25;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; }
.cta-band h2 { color: #fff; margin: 0; max-width: 640px; text-wrap: balance; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--white { background: var(--sun-grad); color: var(--navy-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9bfe0; font-size: 1rem; position: relative; }
.site-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sun-grad);
}
.site-footer a { color: #e6e9fa; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer__grid {
	display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 1.1fr; gap: clamp(28px, 4vw, 48px);
	padding-top: clamp(56px, 7vw, 80px); padding-bottom: 50px;
}
.site-footer h3 {
	font-family: var(--font-body); color: #fff; font-size: .95rem; text-transform: uppercase;
	letter-spacing: .14em; margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.site-footer h3::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--sun-grad); }
.footer-col > h3:not(:first-child) { margin-top: 30px; }
.footer-logo { display: inline-block; }
.footer-logo__img, .footer-logo .custom-logo {
	width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px;
	box-shadow: 0 0 0 6px rgba(255,255,255,.08);
}
.footer-name { color: #fff; font-family: var(--font-head); font-size: 1.2rem; line-height: 1.35; margin: 18px 0 6px; }
.footer-tag { color: var(--sun); font-weight: 600; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; flex-wrap: wrap; overflow-wrap: anywhere; }
.footer-contact small { color: #8b92bd; }
.footer-contact .icon, .footer-hours .icon, .footer-resource .icon { color: var(--sky); width: 18px; height: 18px; }
.footer-hours, .footer-resource { display: flex; gap: 10px; align-items: flex-start; }
.footer-hours .icon, .footer-resource .icon { margin-top: 4px; }
.footer-resource { line-height: 1.45; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: rgba(255,255,255,.08); transition: background .2s, color .2s;
}
.social a:hover { background: var(--sun); color: var(--navy-deep); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .9rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 1024px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	body { font-size: 17px; }
	.btn { padding: 12px 22px; }
}

/* ---------- Activities filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
	padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
	color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; background: #fff;
}
.chip:hover { border-color: var(--sky); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 24px 24px 20px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.contact-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sun-grad); }
.contact-card h2 { font-size: 1.2rem; margin: 14px 0 10px; }
.contact-card ul { list-style: none; margin: 0; padding: 0; }
.contact-card li { padding: 8px 0; border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; }
.contact-card li:last-child { border-bottom: 0; }
.contact-card li a { font-weight: 700; text-decoration: none; color: var(--navy); overflow-wrap: anywhere; }
.contact-card li a:hover { color: var(--sky-deep); }
.contact-card small { color: var(--muted); }
.contact-card p { margin-bottom: 14px; }
.contact-card__icon {
	display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
	background: var(--sky-pale); color: var(--navy);
}
.contact-form {
	background: var(--sky-pale); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px);
	border: 1px solid var(--line);
}
.contact-form h2 { margin-bottom: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- WordPress core ---------- */
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .9rem; color: var(--muted); }
.sticky .card__meta::after { content: " · Featured"; }
.bypostauthor { display: block; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 600px) {
	.page-banner::before { width: 84px; right: -26px; top: 14px; opacity: .55; }
	.hero__sun { width: 120px; right: -36px; top: 24px; opacity: .45; }
}

/* ==========================================================================
   Active menu item – clearly highlighted (navy pill, white text)
   ========================================================================== */
.site-nav > ul > li > a:hover { background: var(--sky-pale); }
.site-nav > ul > .current-menu-item > a,
.site-nav > ul > .current-menu-ancestor > a,
.site-nav > ul > .current_page_item > a,
.site-nav > ul > .current_page_ancestor > a,
.site-nav > ul > .current-menu-parent > a {
	background: var(--navy) !important;
	color: #fff !important;
	box-shadow: 0 6px 16px -8px rgba(36, 36, 108, .7);
}
.site-nav > ul > .current-menu-item > a::before,
.site-nav > ul > .current-menu-ancestor > a::before,
.site-nav > ul > .current_page_item > a::before,
.site-nav > ul > .current-menu-parent > a::before {
	/* sun underline sits inside the pill */
	transform: scaleX(1); bottom: 5px; height: 3px;
}
.site-nav .sub-menu .current-menu-item > a,
.site-nav .sub-menu .current_page_item > a {
	background: var(--sky-pale); color: var(--navy) !important; font-weight: 700;
	box-shadow: inset 4px 0 0 var(--orange);
}
@media (max-width: 1100px) {
	.site-nav > ul > .current-menu-item > a,
	.site-nav > ul > .current-menu-ancestor > a,
	.site-nav > ul > .current_page_item > a,
	.site-nav > ul > .current-menu-parent > a { padding-left: 14px; padding-right: 14px; border-radius: 10px; }
	.site-nav > ul > .current-menu-ancestor > .submenu-toggle::before,
	.site-nav > ul > .current-menu-parent > .submenu-toggle::before { border-color: #fff; }
}

/* ==========================================================================
   Colour lock: keep theme text colours even if Elementor's global
   "Site Settings" (kit) styles try to recolour headings, links or body text.
   ========================================================================== */
body .hero h1, body .hero h2, body .hero .hero__lead,
body .page-banner h1, body .page-banner .page-banner__title,
body .cta-band h2,
body .site-footer h3, body .site-footer .footer-name { color: #fff !important; }
body .hero__lead { color: #e4e8fa !important; }
body .page-banner .page-banner__meta { color: #e4e8fa !important; }
body .hero .eyebrow--light, body .cta-band .eyebrow--light,
body .topbar .topbar__tag, body .site-footer .footer-tag { color: var(--sun) !important; }
body .breadcrumb, body .breadcrumb span { color: #c9cff0 !important; }
body .breadcrumb a, body .page-banner__meta a { color: #fff !important; }
body .topbar a { color: #fff !important; }
body .topbar a:hover { color: var(--sun) !important; }
body .site-footer a { color: #e6e9fa !important; }
body .site-footer a:hover { color: var(--sun) !important; }
body .site-nav a { color: var(--ink); }
body .brand__name { color: var(--navy) !important; }
body .brand__name span { color: var(--sky-deep) !important; }
body .btn--ghost { color: #fff !important; }
body .btn--ghost:hover { color: var(--navy) !important; }
body .btn--red, body .btn--sun, body .cta-band .btn--white, body .site-nav .site-nav__cta { color: var(--navy-deep) !important; }
body .btn--outline { color: var(--navy) !important; }
body .btn--outline:hover { color: #fff !important; }
body .pillar h3, body .president__name strong { color: var(--navy) !important; }
body .card__title a, body .post-nav a { color: var(--ink) !important; }
body .card__title a:hover, body .post-nav a:hover { color: var(--sky-deep) !important; }
body .section-head h2, body .feature__body h2, body .contact-form h2, body .contact-card h2 { color: var(--ink) !important; }
body .hero h1, body .page-banner__title, body .cta-band h2, body .section-head h2, body .feature__body h2, body .card__title {
	font-family: var(--font-head) !important;
}

/* ==========================================================================
   Photo albums
   ========================================================================== */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.albums--4 { grid-template-columns: repeat(4, 1fr); }
.album-card {
	display: flex; flex-direction: column; text-decoration: none; background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: transform .2s, box-shadow .2s;
}
.album-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.album-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-pale); }
.album-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.album-card:hover .album-card__img img { transform: scale(1.06); }
.album-card__img::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(21,21,63,.55));
}
.album-card__count {
	position: absolute; z-index: 1; right: 12px; bottom: 12px; background: rgba(255,255,255,.95);
	color: var(--navy); font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: 999px;
}
.album-card__body { display: flex; flex-direction: column; padding: 16px 18px 20px; }
.album-card__date { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); }
.album-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--ink); margin-top: 4px; }
.album-card:hover .album-card__title { color: var(--sky-deep); }
.album-card .card__placeholder .icon { width: 48px; height: 48px; color: #fff; }
.section-head--divider { padding-top: 24px; border-top: 1px solid var(--line); margin-bottom: 8px; }
@media (max-width: 1024px) { .albums, .albums--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .albums, .albums--4 { grid-template-columns: 1fr; } }

/* Gallery block inside activities & albums */
.album-content .wp-block-gallery, .entry-content .wp-block-gallery { gap: 10px; }
.entry-content .wp-block-gallery img, .entry-content .wp-block-gallery .wp-block-image img { border-radius: var(--radius-sm); transition: transform .3s, filter .3s; }
.entry-content .wp-block-gallery a:hover img { filter: brightness(1.06); transform: scale(1.02); }
.album-content { max-width: none; }
.album-content .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.album-content .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; aspect-ratio: 1; }
.album-content .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .album-content .wp-block-gallery.has-nested-images { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .album-content .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 1000; background: rgba(13, 13, 40, .94);
	display: flex; align-items: center; justify-content: center; padding: 56px 64px;
}
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__fig figcaption { color: #cfd3f0; margin-top: 12px; font-size: .95rem; }
.lightbox button {
	position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
	width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lightbox button:hover { background: var(--sun); color: var(--navy-deep); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }
@media (max-width: 600px) {
	.lightbox { padding: 60px 8px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
	.lightbox__prev { left: calc(50% - 64px); }
	.lightbox__next { right: calc(50% - 64px); }
}
