/*
Theme Name: NARS Seychelles
Theme URI: https://narsseychelles.com/
Description: Custom theme for the Nurses Association of the Republic of Seychelles. News posts, events with dates and venues, and editable pages, all from the normal WordPress editor.
Author: NARS
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: nars
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #0e2235;
	--ink-2: #2c3f52;
	--muted: #5b6977;
	--line: #dde3e9;
	--paper: #ffffff;
	--mist: #f2f5f8;
	--cobalt: #1b5ea6;
	--cobalt-deep: #12406f;
	--cobalt-tint: #e7eff8;
	--flame: #efa51b;

	--font-sans: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
	--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 32px);
	--radius: 6px;
	--section: clamp(72px, 9vw, 120px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.12; letter-spacing: -.015em; color: var(--ink); }
p { margin: 0 0 1em; }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #dfe7ef; }
.section--ink h2, .section--ink h3 { color: #fff; }

/* The lamp mark: one small amber dot before a label, the only use of amber on the site */
.kicker {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--cobalt);
}
.kicker::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%;
	background: var(--flame); box-shadow: 0 0 0 4px rgba(239, 165, 27, .18);
}
.section--ink .kicker { color: #9cc0e6; }

.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0; max-width: 18ch; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center h2 { max-width: 22ch; }
.link-arrow {
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	font-weight: 600; font-size: 15px; text-decoration: none; color: var(--cobalt);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px;
	font: 600 15px/1 var(--font-sans); letter-spacing: .01em;
	border: 1.5px solid var(--cobalt); border-radius: var(--radius);
	background: var(--cobalt); color: #fff; text-decoration: none; cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--cobalt); }
.btn--ghost:hover { background: var(--cobalt-tint); color: var(--cobalt-deep); border-color: var(--cobalt-deep); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--cobalt-tint); border-color: var(--cobalt-tint); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 34, 53, .35); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.brand__full { font-size: 12.5px; color: var(--muted); max-width: 230px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav__list a {
	position: relative; display: block; padding: 8px 0;
	font-size: 15.5px; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
	background: var(--cobalt); transform: scaleX(0); transform-origin: left;
	transition: transform .25s var(--ease);
}
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a,
.nav__list .current-menu-ancestor > a { color: var(--ink); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after { transform: scaleX(1); }
.nav__list .sub-menu { display: none; }
.nav .btn { min-height: 44px; padding: 0 20px; }

.nav-toggle {
	display: none; align-items: center; justify-content: center;
	width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
	background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
	transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.03; letter-spacing: -.03em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--cobalt); }
.hero__line { display: block; }
.hero__line + .hero__line { margin-top: .14em; }
.hero__lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__figure { margin: 0; }
.hero__frame { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.hero__figure figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* ---------- Facts strip ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--mist); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 56px; }
.fact { position: relative; padding: 36px 0; }
.fact + .fact::before { content: ""; position: absolute; left: -28px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.fact__num { display: block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--cobalt-deep); margin-bottom: 12px; }
.fact__label { display: block; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.fact__src { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }

/* ---------- Welcome / mission ---------- */
.welcome__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.welcome h2 { font-size: clamp(30px, 3.6vw, 44px); }
.welcome__body p:not(.kicker) { font-family: var(--font-serif); font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.pillars { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.pillar {
	display: flex; flex-direction: column; justify-content: center;
	padding: 34px 36px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line);
}
.pillar--deep { background: var(--cobalt-deep); border-color: var(--cobalt-deep); color: #dbe7f4; }
.pillar--deep :is(h2, h3) { color: #fff; }
.pillar :is(h2, h3) { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; color: var(--cobalt); }
.pillar--deep :is(h2, h3) { color: #9cc0e6; }
.pillar p { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 500; }

/* ---------- What we do ---------- */
.work__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 56px; border-top: 1px solid var(--line); }
.work__item { position: relative; padding: 32px 0 8px; }
.work__item + .work__item::before { content: ""; position: absolute; left: -28px; top: 32px; bottom: 0; width: 1px; background: var(--line); }
.work__num { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--cobalt); margin-bottom: 20px; }
.work__item h3 { font-size: 23px; margin-bottom: 12px; }
.work__item p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.event-row {
	display: grid; grid-template-columns: 112px 1fr auto; gap: 32px; align-items: center;
	padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.event-row:hover .event-row__title { color: var(--cobalt); }
.event-row:hover .event-row__go { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.datebox {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 112px; height: 112px; border-radius: var(--radius); background: var(--cobalt-tint); color: var(--cobalt-deep);
}
.datebox__day { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.datebox__month { margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.datebox__year { font-size: 12px; color: var(--muted); margin-top: 2px; }
.datebox--past { background: var(--mist); color: var(--ink-2); }
.event-row__title { font-size: 23px; margin: 0 0 8px; transition: color .2s; }
.event-row__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--muted); }
.event-row__meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-row__go {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
	border: 1px solid var(--line); border-radius: 50%; color: var(--cobalt); transition: all .2s;
}
.events-empty {
	display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
	padding: 32px 36px; margin-bottom: 40px; border: 1px dashed #c4cfda; border-radius: var(--radius); background: #fff;
}
.events-empty__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); }
.events-empty p { margin: 0; color: var(--ink-2); }
.events-empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.subhead { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }

/* ---------- Cards (news) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	text-decoration: none; color: inherit; transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { box-shadow: 0 22px 40px -28px rgba(14, 34, 53, .45); transform: translateY(-3px); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__media--empty { display: grid; place-items: center; }
.card__media--empty img { width: 84px; height: 84px; object-fit: contain; opacity: .55; transform: none !important; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.card__date { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.card__title { font-size: 21px; line-height: 1.25; margin-bottom: 12px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__excerpt { font-size: 15.5px; color: var(--ink-2); margin-bottom: 20px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--cobalt); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Heritage band ---------- */
.heritage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.heritage blockquote { margin: 0; }
.heritage blockquote p {
	font-family: var(--font-serif); font-style: italic; font-weight: 400;
	font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; color: #fff; margin: 0 0 20px;
}
.heritage cite { font-style: normal; font-size: 14px; letter-spacing: .06em; color: #9cb0c4; }
.heritage__text p { color: #c9d5e1; font-size: 17px; }
.heritage__text .btn { margin-top: 12px; }

/* ---------- Get involved ---------- */
.involve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.involve__item {
	display: flex; flex-direction: column; height: 100%; overflow: hidden;
	border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
	text-decoration: none; color: inherit; transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.involve__item:hover { box-shadow: 0 22px 40px -28px rgba(14, 34, 53, .45); transform: translateY(-3px); color: inherit; }
.involve__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.involve__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.involve__item:hover .involve__media img { transform: scale(1.035); }
.involve__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 28px; }
.involve__item h3, .involve__title { font-size: 23px; margin-bottom: 10px; }
.involve__item p { color: var(--ink-2); font-size: 16px; margin-bottom: 24px; }
.involve__item .btn { margin-top: auto; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.gallery__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 34, 53, .78), rgba(14, 34, 53, 0) 55%); }
.gallery__cap { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; color: #fff; font-weight: 600; font-size: 16px; line-height: 1.3; }
.gallery__tile:hover img { transform: scale(1.04); }

/* ---------- WhatsApp ---------- */
.btn--wa { background: #128c4a; border-color: #128c4a; color: #fff; }
.btn--wa:hover { background: #0e6f3a; border-color: #0e6f3a; color: #fff; }
.btn--block { width: 100%; }
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 60;
	display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px;
	border-radius: 99px; background: #128c4a; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
	box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: background .2s, transform .2s;
}
.wa-float:hover { background: #0e6f3a; color: #fff; transform: translateY(-2px); }
.contact-card--wa { border-color: #b9e2c9; background: #f1faf4; }
.contact-card--wa .contact-card__icon { background: #128c4a; color: #fff; }
a.contact-card--wa:hover { border-color: #128c4a; }

/* ---------- Join / volunteer layout ---------- */
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__grid .hero__actions { margin-top: 28px; }
.page-hero__figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.page-hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.join-title { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 18px; }
.join-lede { font-family: var(--font-serif); font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.join-photo { margin: 28px 0 0; }
.join-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.join-photo figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.benefits { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.benefits li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.benefits li:last-child { border-bottom: 1px solid var(--line); }
.benefits__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); }
.benefits h3 { font-size: 19px; margin-bottom: 6px; }
.benefits p { margin: 0; color: var(--ink-2); font-size: 16px; }

.ask-card { margin-top: 32px; padding: 28px; border-radius: var(--radius); background: var(--cobalt-deep); color: #dbe7f4; }
.ask-card h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.ask-card p { margin: 0 0 18px; }
.ask-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ask-card .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.ask-card .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* ---------- Form panel extras ---------- */
.form-panel { background: #fff; box-shadow: 0 30px 60px -40px rgba(14, 34, 53, .35); }
.section--mist .form-panel { background: #fff; }
.form-panel__intro { color: var(--ink-2); margin-bottom: 24px; }
.form-or { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.form-or::before, .form-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-panel .btn--wa { width: 100%; min-height: 52px; }
.form-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.nars-choice { margin: 0 0 18px; }
.nars-choice__label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.nars-choice .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
.nars-choice .wpcf7-list-item { margin: 0; }
.nars-choice .wpcf7-list-item label {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; cursor: pointer;
	border: 1px solid #c9d3dc; border-radius: 99px; background: #fff; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
	transition: border-color .2s, background .2s;
}
.nars-choice .wpcf7-list-item label:has(input:checked) { border-color: var(--cobalt); background: var(--cobalt-tint); color: var(--cobalt-deep); }
.nars-choice input[type="checkbox"] { accent-color: var(--cobalt); margin: 0; }
.nars-consent { font-size: 14px; color: var(--ink-2); }
.nars-consent .wpcf7-list-item { margin: 0; }
.nars-consent label { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.nars-consent input { margin-top: 4px; accent-color: var(--cobalt); }

/* ---------- Page header ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 18px; max-width: 20ch; }
.page-hero__lede { font-size: 19px; color: var(--ink-2); max-width: 40em; margin: 0; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .page-hero__lede { margin-left: auto; margin-right: auto; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }

/* ---------- Prose (post + page content from the editor) ---------- */
.prose { font-family: var(--font-serif); font-size: 19px; line-height: 1.75; color: var(--ink-2); }
.prose > * { margin-top: 0; margin-bottom: 1.15em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-sans); color: var(--ink); margin-top: 1.8em; margin-bottom: .6em; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 23px; } .prose h4 { font-size: 19px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--line); font-style: italic; color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose img { border-radius: var(--radius); }
.prose figcaption, .prose .wp-element-caption { font-family: var(--font-sans); font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }
.prose .wp-block-image.size-large img, .prose .wp-block-image img { margin: 0 auto; max-height: 720px; width: auto; }
.prose .wp-block-gallery { gap: 12px; }
.prose .wp-block-button__link { font-family: var(--font-sans); background: var(--cobalt); border-radius: var(--radius); font-size: 15px; font-weight: 600; padding: 14px 24px; }
.prose a { color: var(--cobalt); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .alignwide { margin-left: calc(-1 * min(120px, 8vw)); margin-right: calc(-1 * min(120px, 8vw)); }
.prose iframe { width: 100%; border: 0; border-radius: var(--radius); }

/* ---------- Single post ---------- */
.article-head { padding: clamp(48px, 7vw, 88px) 0 40px; text-align: center; }
.article-head h1 { font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -.025em; line-height: 1.08; max-width: 22ch; margin: 0 auto 22px; }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; color: var(--muted); }
.article-cover { margin: 0 auto 56px; max-width: 1000px; padding: 0 var(--gutter); }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.article-foot { display: flex; justify-content: space-between; gap: 20px; padding: 32px 0; margin-top: 48px; border-top: 1px solid var(--line); }
.article-foot a { text-decoration: none; font-weight: 600; max-width: 45%; }
.article-foot small { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.share { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.share a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-2); }
.share a:hover { border-color: var(--cobalt); color: var(--cobalt); }

/* ---------- Single event ---------- */
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; padding: 56px 0 var(--section); }
.event-facts { position: sticky; top: 110px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.event-facts dl { margin: 0 0 24px; display: grid; gap: 18px; }
.event-facts dt { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.event-facts dd { margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.event-facts .btn { width: 100%; }
.event-facts .btn + .btn { margin-top: 10px; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--cobalt-tint); color: var(--cobalt-deep); }
.badge--past { background: #e9ecef; color: var(--ink-2); }

/* ---------- About page ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-intro__figure { margin: 0; position: sticky; top: 110px; }
.about-intro__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); }
.about-intro__figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 0 0 36px; position: relative; }
.timeline li::before {
	content: ""; position: absolute; left: 115px; top: 9px; width: 11px; height: 11px; border-radius: 50%;
	background: #fff; border: 2px solid var(--cobalt);
}
.timeline__year { font-size: 22px; font-weight: 700; color: var(--cobalt-deep); letter-spacing: -.02em; text-align: right; padding-right: 24px; }
.timeline h3 { font-size: 19px; margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 16px; }
.timeline a { font-size: 13.5px; }
.affil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.affil__item { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.affil__item h3 { font-size: 20px; line-height: 1.25; margin-bottom: 12px; min-height: 2.5em; display: flex; align-items: flex-end; }
.affil__item p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; }
a.contact-card:hover { border-color: var(--cobalt); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); }
.contact-card small { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card span { font-size: 17px; font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-card__links { display: flex !important; gap: 16px; margin-top: 4px; font-size: 14.5px !important; }
.contact-card__links a { font-weight: 600; color: var(--cobalt); }
.footer__muted { color: #8fa1b3; }
.contact-map { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 280px; border: 0; }
.form-panel { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.form-panel h2 { font-size: 28px; }
.form-panel > p { color: var(--ink-2); }

/* Contact Form 7 */
.wpcf7 form p { margin: 0 0 18px; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: 8px; padding: 14px 16px; font: 400 16px/1.4 var(--font-sans); color: var(--ink);
	background: #fff; border: 1px solid #c9d3dc; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(27, 94, 166, .15); }
.wpcf7 input[type="submit"] { width: 100%; min-height: 52px; font: 600 16px var(--font-sans); color: #fff; background: var(--cobalt); border: 0; border-radius: var(--radius); cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--cobalt-deep); }
.wpcf7 .nars-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wpcf7-not-valid-tip { font-size: 13px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius); font-size: 15px; }

/* ---------- News index ---------- */
.news-feature { display: grid; grid-template-columns: 7fr 5fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; margin-bottom: 56px; }
.news-feature__media { aspect-ratio: 4 / 3; background: var(--mist); }
.news-feature .card__more { margin-top: 8px; }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.news-feature__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 56px); }
.news-feature__body h2 { font-size: clamp(26px, 2.8vw, 36px); }
.news-feature__body p { color: var(--ink-2); }
.news-feature:hover h2 { color: var(--cobalt); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cobalt-deep); color: #dbe7f4; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 0; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0 0 6px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b6c4d2; font-size: 15.5px; }
.site-footer a { color: #dfe7ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 80px 0 56px; }
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__brand img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; flex-shrink: 0; }
.footer__brand strong { display: block; color: #fff; font-size: 17px; line-height: 1.3; margin-bottom: 10px; }
.footer__brand p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.footer__col h2 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col address { font-style: normal; line-height: 1.7; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #8fa1b3; }

/* ---------- 404 / empty ---------- */
.empty-state { text-align: center; padding: var(--section) 0; }
.empty-state h1 { font-size: clamp(36px, 5vw, 56px); }
.empty-state p { color: var(--ink-2); font-size: 18px; margin-bottom: 28px; }

/* ---------- Motion: nothing is ever hidden waiting for an animation ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.brand__full { display: none; }
	.nav { gap: 24px; }
	.nav__list { gap: 22px; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed; inset: 84px 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
		background: #fff; overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility 0s .2s;
	}
	.nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 18px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
	.nav__list a::after { display: none; }
	.nav .btn { margin-top: 24px; min-height: 52px; }
	.nav-open { overflow: hidden; }

	.hero__grid, .welcome__grid, .heritage__grid, .about-intro, .contact-grid, .event-layout { grid-template-columns: 1fr; }
	.hero__figure { order: -1; }
	.facts__grid { grid-template-columns: 1fr 1fr; gap: 0 40px; }
	.fact { padding: 28px 0; }
	.fact + .fact::before { display: none; }
	.fact:nth-child(even)::before { display: block; left: -20px; }
	.fact:nth-child(n+3) { border-top: 1px solid var(--line); }
	.work__grid { grid-template-columns: 1fr 1fr; gap: 0 40px; }
	.work__item { padding: 28px 0; }
	.work__item + .work__item::before { display: none; }
	.work__item:nth-child(even)::before { display: block; left: -20px; top: 28px; bottom: 28px; }
	.work__item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.cards, .involve, .affil { grid-template-columns: 1fr; gap: 20px; }
	.gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
	.page-hero__grid, .join-grid { grid-template-columns: 1fr; }
	.news-feature { grid-template-columns: 1fr; }
	.news-feature__media { aspect-ratio: 3 / 2; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.event-facts, .about-intro__figure { position: static; }
	.pillars { grid-template-rows: auto; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.site-header__bar { height: 72px; }
	.nav { inset: 72px 0 0 0; }
	.brand img { width: 44px; height: 44px; }
	.section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
	.hero__lede { font-size: 17px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.facts__grid, .work__grid { grid-template-columns: 1fr; }
	.fact { padding: 24px 0; }
	.fact:nth-child(even)::before { display: none; }
	.fact + .fact { border-top: 1px solid var(--line); }
	.work__item { padding: 24px 0; }
	.work__item:nth-child(even)::before { display: none; }
	.work__item + .work__item { border-top: 1px solid var(--line); }
	.event-row { grid-template-columns: 76px 1fr; gap: 18px; padding: 22px 0; }
	.event-row__go { display: none; }
	.datebox { width: 76px; height: 84px; }
	.datebox__day { font-size: 30px; }
	.event-row__title { font-size: 19px; }
	.events-empty { grid-template-columns: 1fr; text-align: left; padding: 26px; }
	.pillar { padding: 28px; }
	.pillar p { font-size: 19px; }
	.timeline::before { left: 5px; }
	.timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
	.timeline li::before { left: 0; }
	.timeline__year { text-align: left; padding: 0; }
	.footer__grid { grid-template-columns: 1fr; padding-top: 56px; }
	.gallery__cap { font-size: 14px; left: 12px; right: 12px; bottom: 10px; }
	.wa-float { right: 16px; bottom: 16px; height: 54px; width: 54px; padding: 0; justify-content: center; }
	.wa-float span { display: none; }
	.site-footer { padding-bottom: 80px; }
	.footer__bottom { flex-direction: column; }
	.wpcf7 .nars-form-row { grid-template-columns: 1fr; gap: 0; }
	.article-foot { flex-direction: column; }
	.article-foot a { max-width: none; }
	.prose { font-size: 18px; }
}

/* Logged-in editors see the WordPress bar at the top; keep the header below it. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
