/* ==========================================================================
   MEGA CITY — components
   ========================================================================== */

/* ==========================================================================
   Header
   --------------------------------------------------------------------------
   Brand hard left, nav hard right, nothing shrinkable in between. Below the
   breakpoint it is a button, because eight nav items and a long club name do
   not fit and no amount of CSS makes them.
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(251, 249, 246, 0.92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--rule);
}

/*
 * Height is set by the logo, not the other way round.
 *
 * The official club lockup is three lines of type — club name, "Rotary", then
 * the club ID and district — beside the wheel. At 56px tall the bottom line is
 * unreadable. It needs about 74px, and the bar has to make room for it.
 */
.header-bar {
	display: flex;
	align-items: center;
	gap: var(--s-6);
	min-height: 98px;
}

.brand { display: flex; align-items: center; gap: var(--s-4); text-decoration: none; flex: 0 0 auto; }
.brand img { max-height: 74px; width: auto; }

/*
 * No drawn wheel.
 *
 * Rotary's rules are explicit that the wheel alone — the Mark of Excellence —
 * must never serve as a club's logo, and that the mark cannot be redrawn. A
 * hand-drawn approximation used as a fallback breaks both. A club without its
 * logo uploaded gets type and a gold rule instead.
 */
.brand-mark {
	width: 4px;
	height: 42px;
	flex: 0 0 auto;
	background: var(--gold);
	border-radius: 2px;
}

.brand-name {
	font-family: var(--font-sans);
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--royal);
	line-height: 1.15;
	letter-spacing: -0.015em;
	white-space: nowrap;
}
.brand-tag {
	font-family: var(--font-sans);
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
	margin-top: 2px;
}

.nav { margin-left: auto; flex: 0 0 auto; }
.nav ul { display: flex; align-items: center; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a {
	display: block;
	padding: var(--s-2) 0;
	font-family: var(--font-sans);
	font-size: 0.96rem;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: border-color .16s, color .16s;
}
.nav .sub-menu a { font-size: 0.94rem; font-weight: 500; }
.nav a:hover,
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a { color: var(--royal); border-bottom-color: var(--gold); }

.nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: .38em; height: .38em;
	margin-left: .5em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-.18em) rotate(45deg);
	opacity: .5;
}

.nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: calc(var(--s-4) * -1);
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	box-shadow: 0 18px 40px rgba(22, 32, 44, .12);
	padding: var(--s-2) 0;
	flex-direction: column;
	gap: 0;
	z-index: 70;
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { display: flex; }
.nav .sub-menu a { padding: var(--s-3) var(--s-5); border: 0; white-space: normal; font-weight: 500; }
.nav .sub-menu a:hover { background: var(--paper-2); color: var(--royal); }

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: var(--s-3);
	cursor: pointer;
	color: var(--royal);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; }
.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 1150px) {
	.header-bar { flex-wrap: wrap; min-height: 68px; }
	.nav-toggle { display: block; }
	.brand-name { white-space: normal; }
	.nav { display: none; width: 100%; margin-left: 0; flex-basis: 100%; padding-bottom: var(--s-4); }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav a { padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); white-space: normal; }
	.nav .sub-menu {
		display: flex; position: static; border: 0; box-shadow: none;
		padding: 0 0 0 var(--s-5); background: transparent; min-width: 0;
	}
}

/* ==========================================================================
   Hero
   --------------------------------------------------------------------------
   Asymmetric on purpose. A centred headline over a full-bleed blue rectangle
   is what every nonprofit template does; type set against the left edge with
   the club's own photograph holding the right reads as a specific club rather
   than as a category.
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem); }

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
/* No photograph yet: one column, and the copy given room rather than half a
   grid with nothing in the other half. */
.hero--noimage .hero__grid { grid-template-columns: 1fr; }
.hero--noimage .hero__lede { max-width: 52ch; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__title { font-size: var(--step-5); }
/*
 * The motto sits in the deeper gold, not the brand gold.
 *
 * Rotary Gold on a near-white page is about 1.9:1 against the background —
 * unreadable, and it fails accessibility by a wide margin. The gold stays as
 * an accent on rules and buttons where it carries no text.
 */
.hero__motto {
	font-family: var(--font-head);
	font-size: var(--step-2);
	font-weight: 800;
	color: var(--royal);
	letter-spacing: -0.02em;
	margin-top: var(--s-4);
	/* A gold rule carries the brand colour here instead of the type doing it,
	   because gold text on cream cannot be read. */
	padding-top: var(--s-4);
	border-top: 3px solid var(--gold);
	display: inline-block;
}
.hero__lede {
	margin-top: var(--s-5);
	font-size: var(--step-1);
	line-height: 1.6;
	max-width: 46ch;
	/* Body grey on cream was too light to read comfortably at this size. */
	color: var(--ink);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-7); }

.hero__media { position: relative; }
.hero__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-lg);
}
/* A gold plate behind the photograph — depth from geometry, not from a drop
   shadow that every theme uses. */
.hero__media::before {
	content: "";
	position: absolute;
	inset: var(--s-6) calc(var(--s-6) * -1) calc(var(--s-6) * -1) var(--s-6);
	background: var(--gold);
	border-radius: var(--radius-lg);
	z-index: -1;
}
.hero__media--empty {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	background: var(--royal);
	display: grid;
	place-items: center;
	overflow: hidden;
}


/* Meeting details: the single most useful fact about a club, so it sits
   directly under the hero rather than on a contact page. */
.meeting {
	background: var(--royal);
	color: #fff;
}
.meeting__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: var(--s-5) var(--s-7);
	padding-block: var(--s-6);
}
.meeting dt {
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #9DBBE6;
	margin-bottom: var(--s-1);
}
.meeting dd { margin: 0; font-size: var(--step-0); font-weight: 600; color: #fff; }
.meeting dd a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.meeting dd a:hover { color: var(--gold); border-color: var(--gold); }

/* ==========================================================================
   Numbers
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-6); }
.stat__n {
	font-size: var(--step-4);
	font-weight: 800;
	color: var(--royal);
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}
.stat__l { margin-top: var(--s-2); font-size: var(--step--1); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* ==========================================================================
   Areas of focus
   --------------------------------------------------------------------------
   A numbered list rather than seven identical icon cards. The numbers give the
   eye somewhere to land and make the set feel deliberate rather than padded.
   ========================================================================== */
/*
 * Seven items never divide evenly into a column count, so the layout must be
 * able to end mid-row without showing it. The old version drew its rules by
 * putting a 1px gap over a grey background — which meant every unfilled cell
 * rendered as a grey slab. Borders on the cells do the same job and leave
 * nothing behind.
 */
.focus {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	border-top: 1px solid var(--rule);
}
.focus__item {
	background: var(--paper);
	padding: var(--s-6) var(--s-5);
	position: relative;
	border-bottom: 1px solid var(--rule);
	border-right: 1px solid var(--rule);
}
/* The rightmost border would double up against the page edge. */
.focus__item:last-child { border-right: 0; }
.focus__n {
	font-size: var(--step--1);
	font-weight: 800;
	color: var(--gold-text);
	font-variant-numeric: tabular-nums;
	display: block;
	margin-bottom: var(--s-3);
}
.focus__item h3 { font-size: var(--step-1); margin-bottom: var(--s-3); }
.focus__item p { font-size: 0.95rem; color: var(--body); line-height: 1.6; }
.focus__item::after {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 3px;
	background: var(--accent, transparent);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.grid { display: grid; gap: var(--s-6); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(22,32,44,.10); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: var(--s-3); }
.card__body h3 a { color: inherit; text-decoration: none; }
.card__body p { font-size: 0.95rem; color: var(--body); }
.card__foot { margin-top: auto; padding-top: var(--s-4); }

.chip {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--chip, var(--royal));
	color: #fff;
	margin-bottom: var(--s-3);
}
.card__impact {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--ink);
	margin-top: var(--s-3);
	padding-top: var(--s-3);
	border-top: 1px solid var(--rule);
}

/* ==========================================================================
   Quote band
   ========================================================================== */
.quote { background: var(--royal-deep); color: #fff; }
.quote blockquote {
	margin: 0;
	max-width: 24ch;
	font-size: var(--step-3);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff;
}
.quote cite { display: block; margin-top: var(--s-5); font-style: normal; font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
@media (max-width: 800px) { .quote__grid { grid-template-columns: 1fr; } }
.quote__grid p { color: #C6D6EE; }

/* ==========================================================================
   Page hero
   ========================================================================== */
.page-hero { border-bottom: 1px solid var(--rule); padding-block: clamp(2.5rem, 6vw, 5rem); background: var(--paper-2); }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero__sub { margin-top: var(--s-4); font-size: var(--step-1); color: var(--muted); max-width: 52ch; line-height: 1.5; }
.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: var(--s-4); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--royal); text-decoration: underline; }

.page-hero--image { position: relative; background: var(--royal-deep); border-bottom: 0; }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; }
.page-hero--image > .u-wrap { position: relative; }
.page-hero--image h1 { color: #fff; }
.page-hero--image .page-hero__sub { color: #C6D6EE; }
.page-hero--image .crumbs, .page-hero--image .crumbs a { color: #9DBBE6; }

/* ==========================================================================
   Prose
   ========================================================================== */
.prose { font-size: var(--step-0); line-height: 1.7; }
.prose > * + * { margin-top: var(--s-5); }
.prose > h2 { margin-top: var(--s-8); font-size: var(--step-2); }
.prose > h3 { margin-top: var(--s-6); color: var(--royal); }
.prose > p, .prose > ul, .prose > ol, .prose > blockquote { max-width: var(--prose); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--s-2); }
.prose img, .prose figure { border-radius: var(--radius-lg); }
.prose blockquote {
	border-left: 3px solid var(--gold);
	padding-left: var(--s-5);
	font-size: var(--step-1);
	color: var(--ink);
}
.prose .lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink); max-width: 46ch; }
.prose .callout {
	background: var(--paper-2);
	border-left: 3px solid var(--gold);
	border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
	padding: var(--s-5);
	max-width: none;
}
.prose .callout > * + * { margin-top: var(--s-3); }
.prose .cols-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--s-5) var(--s-7);
	max-width: none;
}
.prose table { width: 100%; border-collapse: collapse; max-width: none; }
.prose th, .prose td { text-align: left; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--rule); }
.prose th { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #96A3B4; font-size: 0.94rem; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr;
	gap: var(--s-7);
	padding-block: var(--s-8);
}
/* Two columns when the club has not entered contact details, so the footer
   does not sit with a third of itself empty. */
.footer-grid--two { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 800px) { .footer-grid, .footer-grid--two { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid, .footer-grid--two { grid-template-columns: 1fr; } }

.footer-brand strong { line-height: 1.25; }
.footer-brand__ids { font-size: 0.82rem; margin-top: var(--s-3); line-height: 1.6; }

/* The footer menu comes from wp_nav_menu, so it arrives as a <ul> with its own
   classes rather than the bare list the old markup assumed. */
.site-footer .menu,
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer .menu li + li,
.site-footer ul li + li { margin-top: var(--s-3); }
.site-footer h4 { color: #fff; font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s-4); }
.site-footer a { color: #96A3B4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: var(--s-3); }
.footer-brand strong { color: #fff; font-size: var(--step-1); display: block; margin-bottom: var(--s-2); }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding-block: var(--s-5);
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3) var(--s-6);
	justify-content: space-between;
	font-size: 0.82rem;
}
.socials { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.socials a {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--radius);
	color: #fff;
	transition: background-color .18s, border-color .18s, color .18s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ==========================================================================
   Misc
   ========================================================================== */
.pagination { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-8); }
.pagination .page-numbers {
	padding: var(--s-3) var(--s-4);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--ink);
	font-weight: 600;
}
.pagination .current, .pagination a:hover { background: var(--royal); border-color: var(--royal); color: #fff; }

.notice-empty {
	background: #FFF6E0;
	border: 1px dashed var(--gold-deep);
	color: #7A5200;
	padding: var(--s-4) var(--s-5);
	border-radius: var(--radius);
	font-size: 0.9rem;
}

/* ==========================================================================
   EVENT PAGE
   --------------------------------------------------------------------------
   The theme owns this page rather than filling a slot in it. That is the
   difference between one header and two, and between a poster sitting in the
   design and a thumbnail sitting in a paragraph.
   ========================================================================== */
.ev-hero {
	background: var(--royal-deep);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.ev-hero::before {
	content: "";
	position: absolute;
	right: -160px;
	top: -120px;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.06), transparent 62%);
	pointer-events: none;
}
.ev-hero__in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	padding-block: clamp(3rem, 6vw, 5rem) 0;
	position: relative;
	z-index: 2;
}
.ev-hero--bare .ev-hero__in { grid-template-columns: 1fr; padding-bottom: clamp(3rem, 6vw, 5rem); }
.ev-hero__copy { padding-bottom: clamp(3rem, 6vw, 5rem); }
.ev-hero--bare .ev-hero__copy { padding-bottom: 0; max-width: 46rem; }

.ev-hero h1 { color: #fff; font-size: var(--step-4); max-width: 18ch; }
.ev-hero__sub {
	margin-top: var(--s-4);
	font-size: var(--step-1);
	color: #BFD2EC;
	max-width: 46ch;
	line-height: 1.5;
}

.ev-facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-6) var(--s-7);
	margin-top: var(--s-6);
	padding-top: var(--s-5);
	border-top: 1px solid rgba(255, 255, 255, .16);
}
.ev-facts__l {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #7FA3D6;
	margin-bottom: 0.3rem;
}
.ev-facts__v { font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.35; }
.ev-facts__v small { display: block; font-size: 0.85rem; font-weight: 400; color: #BFD2EC; }

.ev-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-top: var(--s-6); }
.ev-hero__note { font-size: 0.85rem; color: #9FB8DC; margin-top: var(--s-4); }
.ev-closed { font-size: 0.95rem; color: #9FB8DC; }

/* The poster sits proud of the band. It is the best-looking thing the club
   produces, so it is not tucked politely inside a box. */
.ev-poster { position: relative; margin-bottom: -70px; z-index: 3; }
.ev-poster img { width: 100%; border-radius: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .42); }
.ev-poster::after {
	content: "";
	position: absolute;
	inset: 20px -16px -16px 20px;
	background: var(--gold);
	border-radius: 10px;
	z-index: -1;
}
.ev-poster__tap { text-align: center; font-size: 0.78rem; color: #8FAAD2; margin-top: var(--s-3); }

@media (max-width: 900px) {
	.ev-hero__in { grid-template-columns: 1fr; padding-bottom: 0; }
	.ev-hero__copy { padding-bottom: var(--s-6); }
	.ev-poster { max-width: 340px; margin: 0 auto -60px; }
}

/* ---------- Body ---------- */
.ev-main { padding-top: clamp(5rem, 9vw, 7rem); }
.ev-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: start;
}
@media (max-width: 900px) { .ev-cols { grid-template-columns: 1fr; } }

.ev-prog { margin-top: var(--s-8); }
.ev-prog h2 { font-size: var(--step-2); margin-bottom: var(--s-5); }

.ev-tl { list-style: none; padding: 0; margin: 0; position: relative; }
/*
 * The time column has to hold "6:00 – 6:30 PM" on one line. At 78px it broke
 * across three, which turned a timeline into a column of fragments.
 */
.ev-tl::before { content: ""; position: absolute; left: 130px; top: 12px; bottom: 12px; width: 2px; background: var(--rule); }
.ev-tl li {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: var(--s-5);
	align-items: baseline;
	padding-block: var(--s-3);
	position: relative;
}
.ev-tl li::before {
	content: "";
	position: absolute;
	left: 124px;
	top: 1.3rem;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--gold);
	border: 3px solid var(--paper);
	z-index: 2;
}
.ev-tl__t {
	text-align: right;
	font-weight: 800;
	color: var(--royal);
	font-size: 0.88rem;
	font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;
}
.ev-tl__w { font-size: 1.05rem; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
	.ev-tl::before, .ev-tl li::before { display: none; }
	.ev-tl li { grid-template-columns: 1fr; gap: 0.1rem; }
	.ev-tl__t { text-align: left; }
}

/* ---------- Sticky side ---------- */
.ev-side { position: sticky; top: 104px; display: grid; gap: var(--s-4); }
@media (max-width: 900px) { .ev-side { position: static; } }

.ev-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: var(--s-5); }
.ev-card h3 {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: var(--s-4);
}
.ev-card p { margin: 0 0 0.2rem; }
.ev-card__who { display: block; font-weight: 700; color: var(--ink); }
.ev-card__sub { display: block; color: var(--muted); font-size: 0.93rem; }
.ev-card--gold { background: var(--gold); border-color: var(--gold-deep); }
.ev-card--gold h3 { color: #6B4600; }
.ev-card--gold p { color: var(--ink); font-size: 0.95rem; }
.ev-card__btn { width: 100%; justify-content: center; margin-top: var(--s-4); }

/* Buttons state their own colour. A card link rule must never repaint one —
   that is how a button ends up with text the same colour as its background. */
.ev-card a:not(.btn) { color: var(--royal); font-weight: 600; }
.ev-card .btn--royal { background: var(--royal); color: #fff; }
.ev-card .btn--royal:hover { background: var(--royal-deep); color: #fff; }

.ev-speaker { display: flex; gap: var(--s-4); align-items: center; }
.ev-speaker__av {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	flex: 0 0 auto;
	background: var(--royal);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 1.05rem;
}

/* ---------- Also coming up ---------- */
.ev-more { background: var(--paper-2); border-top: 1px solid var(--rule); }
.ev-mini__top { display: flex; gap: var(--s-4); padding: var(--s-5) var(--s-5) 0; }
.ev-mini__d { flex: 0 0 auto; width: 58px; text-align: center; border-right: 1px solid var(--rule); padding-right: var(--s-4); }
.ev-mini__d b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--royal); line-height: 1; font-variant-numeric: tabular-nums; }
.ev-mini__d span { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }
.ev-mini h3 { font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.2rem; }
.ev-mini h3 a { color: var(--ink); text-decoration: none; }
.ev-mini h3 a:hover { color: var(--royal); }
.ev-mini__meta { font-size: 0.88rem; color: var(--muted); }
/*
 * The fee pill and the Details link share a row. A long fee — "Rs. 400 per
 * person — breakfast included" — wrapped to three lines inside a pill sized
 * for one, and ran straight under the link beside it.
 *
 * The row wraps instead of overlapping, and the pill keeps a sane maximum.
 */
.ev-pill {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.35;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: #EAF1FA;
	color: var(--royal);
	max-width: 100%;
}
.ev-mini .card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-3) var(--s-4);
}
.ev-mini .card__foot .link-more { margin-left: auto; white-space: nowrap; }

/* A logo that already carries the club name needs room, not a caption. */
.brand--logo img { max-height: 74px; width: auto; }
@media (max-width: 1150px) { .header-bar { min-height: 80px; } .brand--logo img { max-height: 58px; } }
@media (max-width: 560px)  { .brand--logo img { max-height: 46px; } }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: var(--s-5);
	margin-top: var(--s-8);
}
.contact-card {
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	padding: var(--s-6);
}
.contact-card h2 { font-size: var(--step-2); margin-bottom: var(--s-4); }
.contact-card__big {
	font-family: var(--font-head);
	letter-spacing: -0.02em;
	font-size: var(--step-2);
	font-weight: 700;
	color: var(--royal);
	line-height: 1.15;
	margin-bottom: var(--s-2);
}
.contact-card__venue { font-size: var(--step-1); color: var(--ink); font-weight: 600; }
.contact-card__addr { color: var(--muted); margin-top: var(--s-2); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.contact-list li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: var(--s-4); align-items: baseline; }
.contact-list__l {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
@media (max-width: 480px) {
	.contact-list li { grid-template-columns: 1fr; gap: 0.1rem; }
}

.contact-form-band { background: var(--paper-2); border-block: 1px solid var(--rule); }
.contact-form { max-width: 760px; }


/* ==========================================================================
   Faces by role
   --------------------------------------------------------------------------
   Georgia for reading, Open Sans for anything that labels or acts. A serif
   set at 12px in a table header or on a button reads as an accident.
   ========================================================================== */
.eyebrow, .btn, .link-more, .chip, .ev-pill,
.ev-facts__l, .ev-card h3, .ev-mini__d span, .contact-list__l,
.stat__l, .focus__n, .crumbs, .pagination, .site-footer h4,
.footer-brand strong, .meeting dt, .prose th, .notice-empty,
input, select, textarea, button {
	font-family: var(--font-sans);
}

/* Body copy in the reading face, wherever it appears. */
.prose, .u-lede, .card__body p, .ev-mini__meta, .quote__grid p {
	font-family: var(--font-body);
}

/* A serif quote at display size needs less tracking, not more. */
.quote blockquote { font-family: var(--font-head); letter-spacing: -0.025em; }

/* ==========================================================================
   Members page hero
   ========================================================================== */
.members-hero {
	background: var(--royal);
	color: #fff;
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	position: relative;
	overflow: hidden;
}
.members-hero h1 { color: #fff; max-width: 16ch; }
.members-hero__sub {
	margin-top: var(--s-4);
	font-size: var(--step-1);
	color: #C6D9F2;
	max-width: 52ch;
	line-height: 1.55;
}
.members-hero .crumbs, .members-hero .crumbs a { color: #9FBADF; }
.members-hero .crumbs a:hover { color: var(--gold); }

.members-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-7);
	margin-top: var(--s-6);
	padding-top: var(--s-5);
	border-top: 1px solid rgba(255, 255, 255, .18);
}
.members-hero__n {
	display: block;
	font-family: var(--font-head);
	font-size: var(--step-3);
	font-weight: 800;
	line-height: 1;
	color: #fff;
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -0.02em;
}
.members-hero__l {
	display: block;
	margin-top: var(--s-2);
	font-family: var(--font-sans);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #9FBADF;
}


.footer-legal { display: flex; gap: var(--s-5); }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }

/* ==========================================================================
   Event registration
   ========================================================================== */
.ev-register { background: var(--paper-2); border-top: 1px solid var(--rule); }
.ev-register__inner { max-width: 760px; }
.ev-register__alt {
	margin-top: var(--s-5);
	padding-top: var(--s-4);
	border-top: 1px solid var(--rule);
	font-size: 0.9rem;
	color: var(--muted);
}
.ev-register__alt a { font-weight: 600; }

/* The plugin's form styles are scoped to .rev; make sure its fields sit on the
   theme's tint rather than assuming white. */
.ev-register .rev-form input,
.ev-register .rev-form textarea { background: #fff; }

/* ==========================================================================
   Join the Club
   ========================================================================== */
.join-hero {
	background: var(--royal);
	color: #fff;
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.join-hero h1 { color: #fff; max-width: 16ch; }
.join-hero__sub {
	margin-top: var(--s-4);
	font-size: var(--step-1);
	color: #C6D9F2;
	max-width: 52ch;
	line-height: 1.55;
}
.join-hero__note {
	margin-top: var(--s-5);
	padding-top: var(--s-4);
	border-top: 1px solid rgba(255,255,255,.18);
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--gold);
}
.join-hero .crumbs, .join-hero .crumbs a { color: #9FBADF; }
.join-hero .crumbs a:hover { color: var(--gold); }

.join-steps {
	list-style: none;
	counter-reset: join;
	padding: 0;
	margin: var(--s-7) 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--s-6) var(--s-7);
}
.join-steps li { counter-increment: join; position: relative; padding-left: 3.4rem; }
.join-steps li::before {
	content: counter(join, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -0.1rem;
	font-family: var(--font-sans);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--gold-text);
	font-variant-numeric: lining-nums tabular-nums;
}
.join-steps li::after {
	content: "";
	position: absolute;
	left: 0;
	top: 1.9rem;
	width: 26px;
	height: 2px;
	background: var(--gold);
}
.join-steps h3 { font-size: var(--step-0); margin-bottom: var(--s-2); color: var(--ink); }
.join-steps p { font-size: 0.95rem; color: var(--body); line-height: 1.6; }

.join-pace {
	margin-top: var(--s-7);
	padding-top: var(--s-5);
	border-top: 1px solid var(--rule);
	font-size: var(--step-1);
	color: var(--ink);
	max-width: 52ch;
}
