/*
Theme Name: masthead-ppc
Text Domain: masthead-ppc
Description: Editorial newspaper-inspired theme for Punjab Press Club, Jalandhar. Crimson and newsprint, slab-serif mastheads, Facebook-synced events and gallery, printable membership form, and a year-wise members PDF archive.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* ═══════════════════════════════════════════════════════════════════════════
   MASTHEAD PPC — complete stylesheet.

   Written as plain CSS on purpose: no build step, no CDN runtime, nothing
   between this file and the browser. Design tokens are mirrored in
   theme.css's @theme block so the Gutenberg colour picker matches.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
	--crimson: #C8102E;
	--crimson-dark: #8A0A1F;
	--crimson-pale: #FDF2F4;
	--crimson-light: #E8A2AE;

	--ink: #17130F;
	--ink-700: #3A342C;
	--ink-500: #6E655A;
	--ink-300: #B4ADA2;
	--ink-100: #E7E3DC;

	--newsprint: #F7F4ED;
	--paper: #FFFFFF;
	--rule: #DAD3C6;
	--rule-soft: #EAE5DA;

	--font-display: "Zilla Slab", Georgia, "Times New Roman", serif;
	--font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-gurmukhi: "Mukta Mahee", "Noto Sans Gurmukhi", sans-serif;

	--wrap: 76rem;
	--wrap-narrow: 46rem;
	--pad: 1.25rem;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--newsprint);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: hidden;
}

/* Faint paper grain so flat areas have texture instead of dead colour. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: .3;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.015em;
	margin: 0;
	text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-underline-offset: 3px; }

button { font: inherit; }

::selection { background: var(--crimson); color: #fff; }

:focus-visible { outline: 2px solid var(--crimson); outline-offset: 2px; }

[x-cloak] { display: none !important; }

.is-gurmukhi, :lang(pa) { font-family: var(--font-gurmukhi); line-height: 1.5; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: absolute; top: .5rem; left: .5rem; z-index: 100;
	width: auto; height: auto; clip: auto; margin: 0;
	background: var(--ink); color: var(--newsprint);
	padding: .625rem 1rem; text-decoration: none;
}

/* ─── Layout shell ──────────────────────────────────────────────────────── */

.wrap, .wrap-narrow {
	width: 100%;
	margin-inline: auto;
	padding-inline: var(--pad);
	position: relative;
	z-index: 1;
}

.wrap { max-width: var(--wrap); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.site-main { flex: 1; position: relative; z-index: 1; }

/* ─── Utility bits used across templates ────────────────────────────────── */

.kicker {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--font-body);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--crimson);
}

.kicker::before {
	content: "";
	width: 1.75rem;
	height: 2px;
	background: currentColor;
}

.kicker--light { color: var(--crimson-light); }

.rule-double {
	border-top: 3px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	height: 4px;
	position: relative;
	z-index: 1;
}

.rule-hair { height: 1px; background: var(--rule); border: 0; margin: 0; }

.section-head {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.section-head::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--rule);
}

.section-head h2 {
	font-family: var(--font-body);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin: 0;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .8125rem 1.5rem;
	font-family: var(--font-body);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--newsprint);
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; }

.btn--crimson { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.btn--crimson:hover { background: var(--ink); border-color: var(--ink); color: var(--newsprint); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--newsprint); }

.btn--onink { background: transparent; border-color: var(--ink-700); color: var(--newsprint); }
.btn--onink:hover { background: var(--crimson); border-color: var(--crimson); }

.btn--full { width: 100%; }

.btn svg { flex-shrink: 0; }

/* ─── Top utility strip ─────────────────────────────────────────────────── */

.topbar {
	background: var(--crimson);
	color: #fff;
	font-size: .75rem;
	position: relative;
	z-index: 20;
}

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .25rem 1.5rem;
	padding-block: .5rem;
}

.topbar__date {
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 600;
}

.topbar__links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }

.topbar__links a {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	color: #fff;
	text-decoration: none;
}

.topbar__links a:hover { text-decoration: underline; }

/* ─── Masthead ──────────────────────────────────────────────────────────── */

.masthead { position: relative; z-index: 10; }

.masthead__inner {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 1.5rem;
	padding-block: 1.75rem;
	text-align: center;
}

.masthead__aside { display: none; }

.masthead__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
	text-decoration: none;
}

.masthead__logo { width: 4rem; height: 4rem; object-fit: contain; }

.masthead__name {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.75rem;
	line-height: 1;
	letter-spacing: .02em;
	color: var(--ink);
}

.masthead__pa {
	font-family: var(--font-gurmukhi);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1;
	color: var(--crimson);
}

/* ─── Navigation ────────────────────────────────────────────────────────── */

.nav {
	background: rgba(247, 244, 237, .96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--rule);
	position: sticky;
	top: 0;
	z-index: 30;
}

.nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: .75rem;
}

.nav__compact-brand {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: .9375rem;
	letter-spacing: .04em;
	text-decoration: none;
}

.nav__toggle {
	background: none;
	border: 0;
	padding: .25rem;
	cursor: pointer;
	color: var(--ink);
	display: flex;
}

.nav__desktop { display: none; }

.ppc-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .25rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ppc-nav > li { position: relative; }

.ppc-nav > li > a {
	display: block;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	padding-block: .25rem;
	position: relative;
}

.ppc-nav > li > a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -.3rem;
	height: 2px;
	background: var(--crimson);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .24s cubic-bezier(.22,1,.36,1);
}

.ppc-nav > li > a:hover::after,
.ppc-nav > li.current-menu-item > a::after,
.ppc-nav > li.current_page_item > a::after,
.ppc-nav > li.current-menu-parent > a::after { transform: scaleX(1); }

.ppc-nav > li.current-menu-item > a,
.ppc-nav > li.current_page_item > a { color: var(--crimson); }

.ppc-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	min-width: 14rem;
	margin: 0;
	padding: .375rem 0;
	list-style: none;
	background: var(--paper);
	border: 1px solid var(--rule);
	box-shadow: 0 14px 34px -18px rgba(23,19,15,.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 40;
}

.ppc-nav > li:hover .sub-menu,
.ppc-nav > li:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.ppc-nav .sub-menu a {
	display: block;
	padding: .5rem 1rem;
	font-size: .8125rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--ink-700);
}

.ppc-nav .sub-menu a:hover { background: var(--crimson-pale); color: var(--crimson); }

.nav__mobile { border-top: 1px solid var(--rule); }

.ppc-nav-mobile { list-style: none; margin: 0; padding: 0; }

.ppc-nav-mobile a {
	display: block;
	padding: .6875rem 0;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid var(--rule-soft);
}

.ppc-nav-mobile .sub-menu { list-style: none; margin: 0; padding-left: 1rem; }

.ppc-nav-mobile .sub-menu a {
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	font-size: .875rem;
}

.nav__mobile-cta { padding-block: 1rem 1.25rem; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */

.hero { position: relative; z-index: 1; }

.hero__media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	max-height: 70vh;
	overflow: hidden;
	background: var(--ink);
}

.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Ink wash from the lower edge so the overlapping panel has something to sit
   against and the photograph does not fight the type. */
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(23,19,15,.55) 0%, rgba(23,19,15,.12) 45%, rgba(23,19,15,0) 75%);
}

.hero__panel {
	background: var(--newsprint);
	border-top: 4px solid var(--crimson);
	padding: 1.75rem 1.5rem 2rem;
	margin-top: -2.5rem;
	position: relative;
	z-index: 2;
	box-shadow: 0 24px 60px -30px rgba(23,19,15,.55), 0 -2px 30px -20px rgba(23,19,15,.4);
}

.hero__title {
	font-size: clamp(1.875rem, 6.5vw, 3.5rem);
	line-height: 1.04;
	font-weight: 700;
	margin-top: 1rem;
}

.hero__standfirst {
	margin-top: 1.25rem;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink-700);
	max-width: 56ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ─── Latest strip ──────────────────────────────────────────────────────── */

.latest--row .latest__item + .latest__item { margin-top: 1rem; }

/* ─── Front page: the lead ──────────────────────────────────────────────── */

.lead { padding-block: 3rem 4rem; }

.lead__grid { display: grid; gap: 2.5rem; }

.lead__title {
	font-size: clamp(2.25rem, 7vw, 3.75rem);
	line-height: 1.03;
	font-weight: 700;
	margin-top: 1.25rem;
}

.lead__body {
	margin-top: 1.75rem;
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--ink-700);
	max-width: 54ch;
}

.lead__body > p:first-of-type::first-letter {
	float: left;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 3.9em;
	line-height: .78;
	padding-right: .08em;
	padding-top: .06em;
	color: var(--crimson);
}

.lead__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* Right-hand "latest" column */

.latest { list-style: none; margin: 0; padding: 0; }

.latest__item + .latest__item { border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 1rem; }

.latest__link { display: flex; gap: 1rem; text-decoration: none; }

.latest__no {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--crimson);
	font-size: .875rem;
	line-height: 1;
	padding-top: .25rem;
	width: 1.5rem;
	flex-shrink: 0;
}

.latest__title {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.125rem;
	line-height: 1.35;
	transition: color .16s ease;
}

.latest__link:hover .latest__title { color: var(--crimson); }

.latest__date {
	display: block;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--ink-500);
	margin-top: .375rem;
}

.textlink {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: 1.5rem;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--crimson);
	text-decoration: none;
	transition: gap .18s ease;
}

.textlink:hover { gap: .875rem; }

.notice-box { border: 1px solid var(--rule); background: var(--paper); padding: 1.5rem; }
.notice-box p { font-size: .875rem; color: var(--ink-500); line-height: 1.6; }
.notice-box .btn { margin-top: 1.25rem; }

/* ─── Figures strip ─────────────────────────────────────────────────────── */

.figures { background: var(--crimson); color: #fff; position: relative; z-index: 1; }

.figures__grid { display: grid; grid-template-columns: 1fr; }

.figures__item { padding-block: 2rem; text-align: center; }
.figures__item + .figures__item { border-top: 1px solid rgba(255,255,255,.28); }

.figures__value { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; }
.figures__label { font-size: .6875rem; text-transform: uppercase; letter-spacing: .2em; margin-top: .75rem; opacity: .92; }

/* ─── Pillars ───────────────────────────────────────────────────────────── */

.section { padding-block: 4rem; }

/* Consecutive sections should not stack their padding into a dead gap. */
.section + .section { padding-top: 0; }

.pillars {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
}

.pillar { background: var(--newsprint); padding: 1.75rem; }
.pillar__no { font-family: var(--font-display); font-weight: 700; color: var(--crimson); font-size: 1.5rem; line-height: 1; }
.pillar h3 { font-size: 1.25rem; margin: 1rem 0 .75rem; }
.pillar p { font-size: .9375rem; line-height: 1.65; color: var(--ink-700); }

/* ─── Article + sidebar layout ──────────────────────────────────────────── */

.article-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }

.factbox {
	border-top: 3px solid var(--ink);
	padding-top: 1.25rem;
}

.factbox h2 {
	font-family: var(--font-body);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.factbox dl { margin: 0; }

.factbox dt {
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--crimson);
}

.factbox dd {
	margin: .25rem 0 0;
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.35;
}

.factbox dd + dt { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }

.factbox .btn { margin-top: 1.75rem; }

/* ─── Documents ─────────────────────────────────────────────────────────── */

.document { border: 1px solid var(--rule); background: var(--paper); }

.document + .document { margin-top: 1.5rem; }

.document__bar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 1.5rem;
	border-bottom: 1px solid var(--rule);
}

.document__kicker {
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--crimson);
}

.document__title { font-size: 1.375rem; margin-top: .375rem; }
.document__meta { font-size: .8125rem; color: var(--ink-500); margin-top: .375rem; }

.document__actions { display: flex; flex-wrap: wrap; gap: .625rem; }

.document__viewer { background: var(--ink-100); }

.document__viewer iframe {
	display: block;
	width: 100%;
	height: 70vh;
	min-height: 30rem;
	border: 0;
}

.document__fallback {
	padding: 1rem 1.5rem;
	font-size: .8125rem;
	color: var(--ink-500);
	background: var(--paper);
	border-top: 1px solid var(--rule);
}

.document__fallback a { color: var(--crimson); }

/* Year-grouped document listing */

.doc-year + .doc-year { margin-top: 3rem; }

.doc-year__head {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.doc-year__head::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.doc-year__label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2rem;
	line-height: 1;
	color: var(--crimson);
}

/* ─── Plain checklist (used in factbox panels) ──────────────────────────── */

.checklist-plain { list-style: none; margin: 0 0 .5rem; padding: 0; }

.checklist-plain li {
	position: relative;
	padding-left: 1.25rem;
	font-size: .875rem;
	line-height: 1.6;
	color: var(--ink-700);
}

.checklist-plain li + li { margin-top: .875rem; padding-top: .875rem; border-top: 1px solid var(--rule); }

.checklist-plain li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: .4375rem;
	height: .4375rem;
	background: var(--crimson);
}

.checklist-plain li + li::before { top: 1.4em; }

.mnote {
	background: var(--crimson-pale);
	border-left: 3px solid var(--crimson);
	padding: 1rem 1.25rem;
	font-size: .875rem;
	line-height: 1.6;
}

.mnote a { color: var(--crimson); }

/* ─── Gallery + lightbox ────────────────────────────────────────────────── */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
}

.gallery-item {
	display: block;
	padding: 0;
	border: 0;
	background: var(--newsprint);
	aspect-ratio: 3 / 2;
	overflow: hidden;
	cursor: zoom-in;
	position: relative;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--crimson);
	opacity: 0;
	transition: opacity .25s ease;
	mix-blend-mode: multiply;
}

.gallery-item:hover::after { opacity: .18; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(23, 19, 15, .94);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.lightbox[hidden] { display: none; }

.lightbox__figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.lightbox__figure img {
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	object-fit: contain;
	border: 1px solid rgba(255,255,255,.15);
}

.lightbox__figure figcaption {
	color: var(--ink-300);
	font-size: .875rem;
	text-align: center;
	max-width: 46rem;
	line-height: 1.6;
}

.lightbox__close,
.lightbox__nav {
	position: absolute;
	background: transparent;
	border: 1px solid rgba(255,255,255,.25);
	color: #fff;
	width: 2.75rem;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover { background: var(--crimson); border-color: var(--crimson); }

.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: .75rem; top: 50%; transform: translateY(-50%); }

/* ─── Officers ──────────────────────────────────────────────────────────── */

.officers {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
}

.officer { background: var(--newsprint); padding: 1.5rem; text-align: center; }

.officer__photo {
	width: 7rem;
	height: 7rem;
	margin: 0 auto 1.25rem;
	overflow: hidden;
	border-radius: 50%;
	background: var(--ink-100);
	border: 3px solid var(--paper);
	box-shadow: 0 0 0 1px var(--rule);
}

.officer__photo img { width: 100%; height: 100%; object-fit: cover; }

.officer__role {
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--crimson);
	margin-bottom: .5rem;
}

.officer__name { font-size: 1.25rem; }
.officer__org { font-size: .875rem; color: var(--ink-500); margin-top: .375rem; }

/* ─── Contact ───────────────────────────────────────────────────────────── */

.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
}

.contact-card { background: var(--paper); padding: 1.75rem; }

.contact-card__label {
	font-family: var(--font-body);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--crimson);
	margin-bottom: 1rem;
}

.contact-card__body { font-style: normal; font-size: 1.0625rem; line-height: 1.7; }
.contact-card__body a { text-decoration: none; }
.contact-card__body a:hover { color: var(--crimson); text-decoration: underline; }
.contact-card .textlink { margin-top: 1rem; }

.map-frame { position: relative; z-index: 1; border-top: 1px solid var(--rule); line-height: 0; }
.map-frame iframe { display: block; }

/* ─── Cards ─────────────────────────────────────────────────────────────── */

.card-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }

.card {
	background: var(--paper);
	border: 1px solid var(--rule);
	display: flex;
	flex-direction: column;
	transition: border-color .18s ease;
}

.card:hover { border-color: var(--ink-300); }

.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-100); display: block; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.card:hover .card__media img { transform: scale(1.04); }

.card__body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .625rem; flex: 1; }
.card__title { font-size: 1.25rem; }
.card__title a { text-decoration: none; transition: color .16s ease; }
.card__title a:hover { color: var(--crimson); }
.card__excerpt { font-size: .9375rem; line-height: 1.6; color: var(--ink-500); }

/* ─── Membership band ───────────────────────────────────────────────────── */

.band { background: var(--ink); color: var(--newsprint); position: relative; z-index: 1; }
.band__inner { padding-block: 4rem; display: grid; gap: 2.5rem; }
.band__inner--single { max-width: 46rem; }
.band h2 { color: var(--newsprint); font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: 1.08; }
.band__text { margin-top: 1.5rem; color: var(--ink-300); line-height: 1.7; max-width: 52ch; }
.band__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.checklist { border: 1px solid var(--ink-700); padding: 1.75rem; }
.checklist h3 {
	font-family: var(--font-body);
	font-size: .6875rem;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-weight: 700;
	color: var(--newsprint);
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ink-700);
}
.checklist ul { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.checklist li { display: flex; gap: .75rem; font-size: .875rem; line-height: 1.6; color: var(--ink-300); }
.checklist li + li { margin-top: 1rem; }
.checklist svg { flex-shrink: 0; margin-top: .25rem; color: var(--crimson); }

/* ─── Gallery strip ─────────────────────────────────────────────────────── */

.photo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
}

.photo-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--newsprint); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.photo-grid a:hover img { transform: scale(1.06); }

.center { text-align: center; margin-top: 2rem; }

/* ─── Inner page head ───────────────────────────────────────────────────── */

.page-head { padding-block: 3rem 2rem; }
.page-head__title { font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.05; margin-top: 1.25rem; max-width: 20ch; }
.page-head__intro { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.7; color: var(--ink-500); max-width: 60ch; }
.page-head .rule-double { margin-top: 2.25rem; }

.page-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--ink-500);
	padding-bottom: 1.5rem;
}

.feature-image {
	width: 100%;
	max-width: none;
	margin: 0 0 3rem;
	padding: 0;
	position: relative;
	z-index: 1;
}

.feature-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border: 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

/* ─── Prose ─────────────────────────────────────────────────────────────── */

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { line-height: 1.75; }
.prose h2 { font-size: 1.75rem; margin-top: 2em; margin-bottom: .6em; }
.prose h3 { font-size: 1.375rem; margin-top: 1.6em; margin-bottom: .4em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { text-decoration: underline; text-decoration-color: var(--crimson); }
.prose img { border: 1px solid var(--rule); }
.prose blockquote {
	border-left: 3px solid var(--crimson);
	padding-left: 1.25rem;
	margin-inline: 0;
	font-family: var(--font-display);
	font-size: 1.375rem;
	line-height: 1.4;
}
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { border: 1px solid var(--rule); padding: .625rem .75rem; text-align: left; }
.prose th { background: var(--ink-100); font-family: var(--font-body); font-weight: 700; }

.prose--dropcap > p:first-of-type::first-letter {
	float: left;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 3.9em;
	line-height: .78;
	padding-right: .08em;
	padding-top: .06em;
	color: var(--crimson);
}

/* ─── Search form ───────────────────────────────────────────────────────── */

.searchform { display: flex; border: 1px solid var(--ink); max-width: 28rem; }
.searchform input[type="search"] {
	flex: 1;
	min-width: 0;
	background: var(--paper);
	border: 0;
	padding: .8125rem 1rem;
	font: inherit;
	font-size: .9375rem;
	outline: none;
}
.searchform button { border: 0; padding-inline: 1.25rem; }

/* ─── Pagination ────────────────────────────────────────────────────────── */

.ppc-pagination { margin-top: 3.5rem; }
.ppc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.ppc-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: .875rem;
	border: 1px solid var(--rule);
	background: var(--paper);
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	transition: all .16s ease;
}
.ppc-pagination .page-numbers:hover,
.ppc-pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--newsprint);
}
.ppc-pagination .screen-reader-text { display: none; }

/* ─── Post navigation ───────────────────────────────────────────────────── */

.post-nav {
	border-top: 1px solid var(--rule);
	padding-top: 2rem;
	padding-bottom: 5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	font-size: .875rem;
	font-weight: 600;
}
.post-nav a { text-decoration: none; }
.post-nav a:hover { color: var(--crimson); }

/* ─── 404 ───────────────────────────────────────────────────────────────── */

.error404 { padding-block: 6rem; text-align: center; }
.error404__code { font-family: var(--font-display); font-weight: 700; color: var(--crimson); font-size: clamp(5rem, 18vw, 8rem); line-height: 1; }
.error404 .rule-double { max-width: 18rem; margin: 2rem auto; }
.error404__text { margin-top: 1.25rem; color: var(--ink-500); max-width: 28rem; margin-inline: auto; line-height: 1.7; }
.error404 .searchform { margin: 2.5rem auto 0; }

/* ─── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
	background: var(--ink);
	color: var(--newsprint);
	position: relative;
	z-index: 1;
}

.site-footer__inner { padding-block: 3.5rem; display: grid; gap: 2.5rem; }

.colophon__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1.15; }
.colophon__pa { font-family: var(--font-gurmukhi); font-size: 1.125rem; color: var(--crimson-light); margin-top: .25rem; }
.colophon__blurb { font-size: .875rem; line-height: 1.7; color: var(--ink-300); margin-top: 1.25rem; max-width: 26rem; }

.social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--ink-700);
	color: var(--newsprint);
	transition: background-color .18s ease, border-color .18s ease;
}
.social a:hover { background: var(--crimson); border-color: var(--crimson); }

.footer-col h2 {
	font-family: var(--font-body);
	font-size: .6875rem;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-weight: 700;
	color: var(--newsprint);
	padding-bottom: .75rem;
	border-bottom: 1px solid var(--ink-700);
	margin-bottom: 1.25rem;
}

.footer-col address { font-style: normal; font-size: .875rem; line-height: 1.7; color: var(--ink-300); }
.footer-col address p + p { margin-top: .75rem; }
.footer-col address a { text-decoration: none; }
.footer-col address a:hover { color: #fff; }

.ppc-footer-menu { list-style: none; margin: 0; padding: 0; font-size: .875rem; }
.ppc-footer-menu li + li { margin-top: .625rem; }
.ppc-footer-menu a { text-decoration: none; color: var(--ink-300); transition: color .16s ease; }
.ppc-footer-menu a:hover { color: #fff; }

.colophon-bar {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ink-700);
	display: flex;
	flex-direction: column;
	gap: .75rem;
	font-size: .75rem;
	color: var(--ink-300);
}

/* ─── Motion ────────────────────────────────────────────────────────────── */

@keyframes ppc-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.rise { animation: ppc-rise .7s cubic-bezier(.22,1,.36,1) both; }
.rise--delay { animation-delay: .12s; }

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

/* ═══ Breakpoints ═══════════════════════════════════════════════════════ */

@media (min-width: 640px) {
	.masthead__name { font-size: 2.4rem; }
	.figures__grid { grid-template-columns: repeat(3, 1fr); }
	.figures__item + .figures__item { border-top: 0; border-left: 1px solid rgba(255,255,255,.28); }
	.figures__item { padding: 2.5rem 2rem; }
	.figures__value { font-size: 3rem; }
	.colophon-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
	:root { --pad: 1.5rem; }

	.hero__media { aspect-ratio: 21 / 9; }

	.hero__panel {
		max-width: 44rem;
		margin-top: -5rem;
		padding: 2.5rem 2.75rem 2.75rem;
	}

	.latest--row { grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
	.latest--row .latest__item + .latest__item { margin-top: 0; }

	.masthead__inner {
		grid-template-columns: 1fr auto 1fr;
		text-align: left;
		padding-block: 2.25rem;
	}

	.masthead__aside {
		display: block;
		font-size: .6875rem;
		text-transform: uppercase;
		letter-spacing: .2em;
		color: var(--ink-500);
		line-height: 1.8;
	}

	.masthead__aside--end { display: flex; justify-content: flex-end; }
	.masthead__logo { width: 6rem; height: 6rem; }
	.masthead__name { font-size: 2.9rem; }
	.masthead__pa { font-size: 1.375rem; }

	.nav__inner { justify-content: center; }
	.nav__desktop { display: block; }
	.nav__compact-brand, .nav__toggle, .nav__mobile { display: none; }

	.section { padding-block: 5rem; }
	.feature-image img { aspect-ratio: 16 / 5; max-height: 24rem; }
	.pillars { grid-template-columns: repeat(3, 1fr); }
	.officers { grid-template-columns: repeat(4, 1fr); }
	.officer { padding: 2rem 1.25rem; }
	.contact-grid { grid-template-columns: repeat(3, 1fr); }
	.gallery-grid { grid-template-columns: repeat(3, 1fr); }
	.lightbox__close { top: 1.75rem; right: 1.75rem; }
	.lightbox__nav--prev { left: 1.75rem; }
	.lightbox__nav--next { right: 1.75rem; }
	.contact-card { padding: 2.25rem; }
	.document__bar { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.75rem 2rem; }
	.pillar { padding: 2rem; }
	.card-grid { grid-template-columns: repeat(3, 1fr); }
	.photo-grid { grid-template-columns: repeat(3, 1fr); }
	.band__inner { padding-block: 5rem; }
	.checklist { padding: 2.25rem; }
	.site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-block: 4rem; }
	.lead { padding-block: 4rem 5rem; }
}

@media (min-width: 1024px) {
	.article-grid { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 4rem; }
	.factbox { position: sticky; top: 6rem; }
	.hero__panel { max-width: 48rem; margin-top: -7rem; }
	.latest--row { grid-template-columns: repeat(4, 1fr); }
	.latest--row .latest__item + .latest__item {
		border-top: 0;
		padding-top: 0;
		border-left: 1px solid var(--rule);
		padding-left: 1.5rem;
	}
	.latest--row { gap: 0 1.5rem; }
	.lead__grid { grid-template-columns: 1.55fr 1fr; gap: 3.5rem; }
	.lead__aside { border-left: 1px solid var(--rule); padding-left: 2.5rem; }
	.band__inner { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
	.band__inner--single { grid-template-columns: 1fr; }
	.photo-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ═══ Print ═════════════════════════════════════════════════════════════ */

@media print {
	.topbar, .nav, .site-footer, .masthead__aside, .rule-double, #wpadminbar,
	.document__actions, .mnote { display: none !important; }
	body::before { display: none; }
	body { background: #fff; }
	@page { margin: 15mm; }
	.wrap, .wrap-narrow { max-width: none; padding-inline: 0; }
	a { text-decoration: none; color: inherit; }
}
