/*
Theme Name: The Nationalist
Theme URI: https://nationalist.bd
Author: The Nationalist Institute for Policy & Research
Author URI: https://nationalist.bd
Description: Official theme of The Nationalist Institute for Policy & Research. Ideas. Research. National Progress. Custom post types for Publications, News, Events, Experts and Research Areas; universal membership registration; research library; leadership and governance pages.
Version: 1.12.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nationalist
*/

/* ==========================================================================
   1. Tokens
   Palette: 60% white / 25% deep green / 10% red / 5% gold.
   Red is for rules and markers only; gold only on deep green.
   ========================================================================== */
:root {
	--green: #14352C;
	--green-deep: #0F2921;
	--green-hover: #0B1F19;
	--green-line: #2E5246;
	--green-tint: #DDE5E1;
	--green-wash: #EEF3F0;
	--red: #ED1D24;
	--red-text: #B5121A;
	--gold: #E1C068;
	--ink: #202020;
	--body: #3A3A3A;
	--muted: #555555;
	--on-dark: #C9D4CF;
	--on-dark-strong: #E6ECE9;
	--rule: #E4E4E0;
	--rule-strong: #D9DCD8;
	--input: #8A8A8A;
	--paper: #F6F6F3;
	--white: #FFFFFF;
	--amber-line: #8A6D1F;
	--amber-text: #6B5414;
	--amber-wash: #FBF5E3;
	--heading: Montserrat, Inter, system-ui, sans-serif;
	--sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--bangla: "Noto Sans Bengali", sans-serif;
	--wrap: 1240px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
:lang(bn) body, body:lang(bn), [lang="bn"] { font-family: var(--bangla); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--heading); color: var(--green); font-weight: 700; line-height: 1.2; margin: 0; }
:lang(bn) h1, :lang(bn) h2, :lang(bn) h3 { font-family: var(--bangla); }
button, input, select, textarea { font-family: inherit; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--white); padding: 12px 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.section { padding: 80px 0; }
@media (max-width: 700px) { .section { padding: 56px 0; } }
.section--paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--navy { background: var(--green); color: var(--white); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--red); flex-shrink: 0; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold::before { background: var(--gold); }
.meta { font-size: 14px; color: var(--muted); }
.req, .sample-inline { color: var(--red-text); font-style: normal; }
.opt { font-weight: 400; color: var(--muted); }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn { display: inline-block; padding: 14px 24px; font-weight: 600; font-size: 15px; line-height: 1.3; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); text-align: center; }
.btn:hover { text-decoration: none; }
.btn--primary, .btn--green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--primary:hover, .btn--green:hover { background: var(--green-hover); color: var(--white); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--white { background: var(--white); color: var(--green); border-color: var(--white); font-weight: 700; }
.btn--white:hover { background: var(--paper); color: var(--green); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.btn--block { display: block; width: 100%; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn-join { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--green); color: var(--white); border: 0; padding: 12px 22px; font-family: var(--heading); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.btn-join:hover { background: var(--green-hover); color: var(--white); text-decoration: none; }
.btn-join--lg { padding: 18px 40px; font-size: 15px; letter-spacing: .14em; min-height: 56px; }
.btn-join--mobile { display: none; }
.btn-join[disabled] { opacity: .7; cursor: progress; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   4. Header and navigation
   ========================================================================== */
.brand-topline { height: 3px; background: var(--red); }
.utility { background: var(--green); color: var(--on-dark-strong); font-size: 13px; }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.utility .wrap > span { color: var(--gold); letter-spacing: .04em; }
.utility a { color: var(--on-dark-strong); }
.utility ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }

.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.site-header__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand__mark { width: 52px; height: 52px; flex-shrink: 0; }
.brand__name { font-family: var(--heading); font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: .08em; display: block; color: var(--green); }
.brand__tag { font-size: 11px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; display: block; margin-top: 7px; }
.custom-logo { max-height: 56px; width: auto; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--rule); background: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.header-search { display: none; border-top: 1px solid var(--rule); padding: 16px 0; }
.header-search.is-open { display: block; }

.lang-switch { display: flex; height: 44px; border: 1px solid var(--rule); }
.lang-switch a { display: flex; align-items: center; padding: 0 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.lang-switch a[lang="bn"] { font-family: var(--bangla); font-size: 14px; font-weight: 500; }
.lang-switch a.is-current { background: var(--green); color: var(--white); }
.lang-switch a:hover { text-decoration: none; background: var(--paper); }
.lang-switch a.is-current:hover { background: var(--green); }

.site-header__nav { border-top: 1px solid var(--rule); }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0 12px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 16px 0 14px; border-bottom: 2px solid transparent; font-family: var(--heading); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.primary-nav .menu > li > a:hover { color: var(--green); text-decoration: none; border-bottom-color: var(--rule); }
.primary-nav .menu > li.menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.primary-nav .menu > .current-menu-item > a, .primary-nav .menu > .current-menu-ancestor > a, .primary-nav .menu > .current-menu-parent > a { color: var(--green); border-bottom-color: var(--red); }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: -20px; z-index: 60; list-style: none; margin: 0; padding: 14px 0; min-width: 280px; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--green); box-shadow: 0 12px 32px rgba(20, 53, 44, .12); }
.primary-nav .menu > li:nth-last-child(-n+3) > .sub-menu { left: auto; right: -20px; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { display: block; padding: 9px 22px; font-size: 15px; color: var(--ink); }
.primary-nav .sub-menu a:hover { background: var(--paper); color: var(--green); text-decoration: none; }
.primary-nav .sub-menu .current-menu-item > a { color: var(--green); font-weight: 600; }
.submenu-toggle { display: none; }

@media (max-width: 1360px) {
	.primary-nav .menu > li > a { font-size: 11.5px; letter-spacing: .03em; }
}
@media (max-width: 1199px) {
	.nav-toggle { display: inline-flex; }
	.header-actions .btn-join { display: none; }
	.site-header__nav { display: none; }
	.site-header__nav.is-open { display: block; max-height: calc(100vh - 90px); overflow-y: auto; }
	.primary-nav .menu { flex-direction: column; flex-wrap: nowrap; }
	.primary-nav .menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--rule); }
	.primary-nav .menu > li > a { flex: 1; padding: 15px 0; border-bottom: 0; font-size: 13px; }
	.primary-nav .menu > li.menu-item-has-children > a::after { display: none; }
	.submenu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; font-size: 22px; color: var(--ink); cursor: pointer; }
	.primary-nav .sub-menu, .primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: none; position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--red); margin: 0 0 12px 2px; padding: 0 0 0 14px; }
	.primary-nav li.is-open > .sub-menu { display: block; }
	.primary-nav .sub-menu a { padding: 8px 0; }
	.btn-join--mobile { display: flex; margin: 16px 0 20px; }
}
@media (max-width: 600px) {
	.site-header__top { flex-wrap: nowrap; gap: 12px; }
	.brand { gap: 10px; min-width: 0; }
	.header-actions { gap: 8px; flex-shrink: 0; }
	.lang-switch a { padding: 0 10px; }
	.brand__name { font-size: 16px; letter-spacing: .04em; }
	.brand__mark { width: 44px; height: 44px; }
	.brand__tag { display: none; }
}

/* ==========================================================================
   5. Forms (search, newsletter, contact, membership)
   ========================================================================== */
.search-form { display: flex; flex-wrap: wrap; gap: 10px; }
.search-form input[type="search"], .field { flex: 1 1 220px; min-height: 48px; border: 1px solid var(--input); padding: 0 14px; font-size: 16px; background: var(--white); }
.nt-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.nt-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nt-field label { font-size: 14px; font-weight: 600; }
.nt-field input, .nt-field select, .nt-field textarea { min-height: 48px; border: 1px solid var(--input); padding: 10px 14px; font-size: 16px; background: var(--white); width: 100%; }
.nt-field input[type="file"] { border-style: dashed; padding: 14px; }
.nt-field input[type="checkbox"], .nt-field input[type="radio"] { width: 20px; height: 20px; min-height: 0; padding: 0; flex-shrink: 0; }
.nt-field--full, .nt-check { grid-column: 1 / -1; }
.nt-help { font-size: 13px; color: var(--muted); }
.nt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.nt-check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--green); }
.nt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; margin-bottom: 24px; border-left: 4px solid var(--green); background: var(--paper); }
.notice--error { border-left-color: var(--red); }
.notice:focus { outline: none; }

/* ==========================================================================
   6. Page headers, breadcrumbs, filters, pagination
   ========================================================================== */
.page-head { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 56px 0; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); margin-top: 10px; }
.page-head p { font-size: 18px; color: var(--body); max-width: 720px; margin: 14px 0 0; }
.page-head--tabs { padding-bottom: 0; }
.page-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.page-hero > div { flex: 2 1 560px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
.page-hero p { margin: 0; font-size: 19px; color: var(--on-dark-strong); max-width: 660px; }
.breadcrumbs { font-size: 14px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.title-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.title-row h1, .title-row h2 { margin: 0; }
.section-head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 16px; margin-bottom: 32px; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 3px; background: var(--red); }
.section-head h2 { font-size: clamp(24px, 3vw, 30px); }
.section-head a { font-weight: 600; font-size: 15px; }
.filters, .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters a, .chips a { padding: 9px 16px; border: 1px solid var(--rule-strong); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; }
.filters a:hover, .chips a:hover { border-color: var(--green); text-decoration: none; }
.filters a.is-active, .chips a.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 32px; }
.tabs a { padding: 14px 0 12px; border-bottom: 2px solid transparent; color: var(--ink); font-weight: 600; font-size: 15px; }
.tabs a.is-active { color: var(--green); border-bottom-color: var(--red); }
.tabs a:hover { text-decoration: none; color: var(--green); }
.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); color: var(--ink); padding: 0 12px; }
.pagination .current { background: var(--green); color: var(--white); border-color: var(--green); }
.status-tag { border: 1px solid var(--green); color: var(--green); padding: 8px 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ==========================================================================
   7. Grids and cards
   ========================================================================== */
.grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
@media (max-width: 360px) { .card-grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.card:hover { text-decoration: none; color: var(--ink); }
.card h3 { font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.card__img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: var(--green-tint); }
.card--expert .card__img { aspect-ratio: 1/1; }
.card--expert h3 { font-size: 17px; }
.placeholder { width: 100%; aspect-ratio: 4/3; background: var(--green-tint); }
.benefit { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--green); padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.benefit strong { font-family: var(--heading); font-size: 18px; color: var(--green); }
.benefit span { font-size: 15px; color: var(--body); line-height: 1.6; }
.card-link:hover { text-decoration: none; border-color: var(--green); }
.card-link .more { font-weight: 600; color: var(--green); margin-top: auto; }
.sample-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--white); color: var(--red-text); border: 1px solid var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; }
.sample-note { margin: 20px 0 0; font-size: 13px; }

.pub-card { border: 1px solid var(--rule); background: var(--white); display: flex; flex-direction: column; min-width: 0; }
.pub-card__cover { position: relative; aspect-ratio: 4/3; background: var(--green); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pub-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.doc-thumb { width: 46%; aspect-ratio: 3/4; background: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.doc-thumb__bar { height: 3px; width: 30%; background: var(--red); }
.doc-thumb__label { font-family: var(--heading); font-size: 11px; font-weight: 700; color: var(--green); line-height: 1.3; text-transform: uppercase; overflow: hidden; }
.pub-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.pub-card h3 { font-size: 19px; line-height: 1.35; font-weight: 600; }
.pub-card h3 a { color: var(--ink); }
.pub-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); flex-grow: 1; }
.pub-card__actions { display: flex; flex-wrap: wrap; gap: 18px; border-top: 1px solid var(--rule); padding-top: 14px; font-size: 14px; font-weight: 600; }
.pub-card--sample h3, .pub-card--sample .meta, .pub-card--sample p { color: var(--muted); }

.event-card { background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; min-width: 0; }
.event-card__media { position: relative; aspect-ratio: 16/9; background: var(--green-tint); display: block; overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__date { position: absolute; right: 0; bottom: 0; background: var(--green); color: var(--white); padding: 10px 16px; display: flex; flex-direction: column; align-items: center; }
.event-card__date b { font-family: var(--heading); font-size: 24px; line-height: 1; }
.event-card__date span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.event-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.event-card h3 { font-size: 19px; line-height: 1.35; font-weight: 600; }
.event-card h3 a { color: var(--ink); }
.event-card__venue { display: flex; gap: 8px; align-items: center; }
.event-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 12px; }
.event-card--sample h3, .event-card--sample .meta { color: var(--muted); }

.event-row { display: flex; gap: 24px; padding: 20px 0; border-top: 1px solid var(--rule-strong); }
.event-row:last-child { border-bottom: 1px solid var(--rule-strong); }
.event-date { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.event-date b { font-family: var(--heading); font-size: 32px; color: var(--red-text); font-weight: 700; line-height: 1.1; }
.event-date span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.event-row h3 { font-size: 20px; }
.event-row h3 a { color: var(--ink); }

/* ==========================================================================
   8. Homepage
   ========================================================================== */
.home-hero { background: var(--green); color: var(--white); position: relative; overflow: hidden; }
.home-hero::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 30%; background: var(--gold); }
.home-hero__columns { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 14%); pointer-events: none; }
.home-hero__inner { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.home-hero__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.home-hero h1 { color: var(--white); font-size: clamp(36px, 6vw, 68px); line-height: 1.02; letter-spacing: .04em; overflow-wrap: anywhere; }
.home-hero__tagline { margin: 0; font-family: var(--heading); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: var(--gold); }
.home-hero__desc { margin: 0; font-size: 19px; line-height: 1.65; color: var(--on-dark-strong); max-width: 540px; }
.home-hero__map { flex: 1 1 360px; max-width: 470px; margin: 0 auto; position: relative; }
.home-hero__map img { width: 100%; height: auto; }
.home-hero__mapnote { position: absolute; right: 0; top: 8%; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-bottom: 10px; border-bottom: 1px solid var(--gold); }
@media (max-width: 480px) { .home-about__pillars { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .home-hero__inner { padding-top: 56px; padding-bottom: 64px; } .home-hero__map { max-width: 300px; } .home-hero__mapnote { display: none; } }

.home-about__inner { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.home-about__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.home-about__text h2 { font-size: clamp(28px, 3.2vw, 38px); }
.home-about__text p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--body); }
.home-about__pillars { flex: 1 1 480px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.home-about__pillars li { padding: 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.home-about__pillars strong { font-family: var(--heading); font-size: 17px; color: var(--green); }
.home-about__pillars span { font-size: 14px; line-height: 1.6; color: var(--muted); }

.home-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.home-head__text { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.home-head__text h2 { font-size: clamp(26px, 3vw, 34px); }
.home-head__text p { margin: 0; color: var(--body); }
.home-head__link { font-weight: 600; font-size: 15px; }

.centre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.centre-card { background: var(--white); border: 1px solid var(--rule); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.centre-card:hover { border-color: var(--green); box-shadow: 0 8px 24px rgba(20, 53, 44, .08); }
.centre-card__icon { width: 56px; height: 56px; background: var(--green-wash); display: flex; align-items: center; justify-content: center; }
.centre-card h3, .centre-card__title { font-size: 18px; line-height: 1.3; }
.centre-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); flex-grow: 1; }
.centre-card a { font-size: 14px; font-weight: 600; border-top: 1px solid var(--rule); padding-top: 14px; }

.home-network { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.home-network__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.home-network__text h2 { font-size: clamp(26px, 3vw, 34px); }
.home-network__text p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--body); }
.audience-grid { flex: 1.3 1 520px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.audience-grid--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.audience-grid li { border: 1px solid var(--rule); border-left: 3px solid var(--green); padding: 16px; font-size: 15px; font-weight: 500; background: var(--white); }

.home-women { background: var(--green); color: var(--white); position: relative; }
.home-women::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 6px; background: var(--gold); }
.home-women__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.home-women__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.home-women__brand { font-family: var(--heading); font-size: 14px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.home-women h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 38px); }
.home-women p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--on-dark-strong); }
.home-women__focus { flex: 1 1 480px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.home-women__focus li { border: 1px solid var(--green-line); padding: 18px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.home-women__focus li::before { content: ""; width: 8px; height: 8px; background: var(--gold); margin-top: 7px; flex-shrink: 0; }

.news-layout { display: flex; flex-wrap: wrap; gap: 32px; }
.news-feature { flex: 1.3 1 480px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.news-feature__media { position: relative; aspect-ratio: 16/9; background: var(--green-tint); display: block; overflow: hidden; }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.news-feature h3 { font-size: 24px; line-height: 1.3; }
.news-feature h3 a, .news-list h3 a { color: var(--ink); }
.news-feature p { margin: 0; font-size: 16px; color: var(--body); }
.news-list { flex: 1 1 360px; display: flex; flex-direction: column; min-width: 0; }
.news-list article { padding: 20px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.news-list h3 { font-size: 17px; line-height: 1.4; font-weight: 600; }

.member-cta { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--green); padding: 64px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; position: relative; }
.member-cta::before { content: ""; position: absolute; top: -4px; left: 50%; margin-left: -40px; width: 80px; height: 4px; background: var(--red); }
.member-cta h2 { font-size: clamp(26px, 3.2vw, 36px); max-width: 760px; }
.member-cta p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--body); max-width: 680px; }
@media (max-width: 600px) { .member-cta { padding: 40px 20px; } }

.home-newsletter { border-top: 1px solid var(--rule); }
.home-newsletter__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.home-newsletter__inner > div:first-child { flex: 1 1 380px; }
.home-newsletter h2 { font-size: 26px; margin-bottom: 8px; }
.home-newsletter p { margin: 0; color: var(--body); }
.home-newsletter__form { flex: 1 1 460px; }

/* ==========================================================================
   9. Articles, publications, references, editorial record
   ========================================================================== */
.article-head { max-width: 860px; padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.article-head h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.15; }
.standfirst { font-size: 21px; line-height: 1.55; color: var(--body); margin: 0; }
.byline { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline .author { display: flex; gap: 12px; align-items: center; }
.byline .author a { font-weight: 600; color: var(--ink); }
.review-tag { color: var(--green); font-weight: 600; }
.article-layout { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 40px; padding-bottom: 80px; }
.prose { flex: 999 1 560px; min-width: 0; max-width: 740px; font-size: 18px; line-height: 1.8; color: #2A2A2A; }
.prose h2 { font-size: 26px; margin: 40px 0 16px; }
.prose h3 { font-size: 21px; margin: 32px 0 12px; }
.prose p, .prose ul, .prose ol { margin: 0 0 22px; }
.prose blockquote { margin: 32px 0; padding-left: 24px; border-left: 3px solid var(--red); font-style: italic; color: var(--body); }
.prose figure { margin: 36px 0; }
.prose figcaption, .wp-caption-text { font-size: 14px; color: var(--muted); padding-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px; text-align: left; }
.key-findings { background: var(--paper); border-top: 3px solid var(--red); padding: 28px 32px; margin-bottom: 36px; font-size: 16px; line-height: 1.65; }
.key-findings h2 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.key-findings ul { margin: 0; padding-left: 20px; }
.sidebar { flex: 1 1 280px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sidebar .box { border: 1px solid var(--rule); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.sidebar h2 { font-size: 20px; }
.related { border-top: 3px solid var(--green); padding-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.related a { font-family: var(--heading); font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--ink); }
.share { display: flex; gap: 10px; }
.share a { width: 44px; height: 44px; border: 1px solid var(--rule); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); font-weight: 600; }
.cite-box { font-size: 14px; background: var(--paper); padding: 14px; line-height: 1.5; overflow-wrap: anywhere; }
details summary { cursor: pointer; }
.references { margin-top: 40px; border-top: 3px solid var(--green); padding-top: 24px; font-family: var(--sans); }
.references h2 { font-size: 22px; margin: 0 0 16px; }
.references ol { padding-left: 22px; font-size: 15px; line-height: 1.7; margin: 0; }
.references li { margin-bottom: 8px; overflow-wrap: anywhere; }
.editorial-record { margin-top: 32px; background: var(--paper); border: 1px solid var(--rule); padding: 24px 28px; font-family: var(--sans); }
.editorial-record h2 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.editorial-record dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.editorial-record dl div.is-wide { grid-column: 1 / -1; }
.editorial-record dt { font-size: 13px; color: var(--muted); }
.editorial-record dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.editorial-record .is-wide dd { font-weight: 400; }
.editorial-record p { margin: 18px 0 0; font-size: 14px; font-weight: 600; }

/* ==========================================================================
   10. Research Library
   ========================================================================== */
.library-hero { background: var(--green); color: var(--white); padding: 56px 0; }
.library-hero .breadcrumbs, .library-hero .breadcrumbs a { color: var(--on-dark); }
.library-hero h1 { color: var(--white); font-size: clamp(32px, 4vw, 44px); margin-top: 12px; }
.library-hero > .wrap > p { color: var(--on-dark-strong); font-size: 18px; max-width: 720px; margin: 14px 0 0; }
.library-search { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; align-items: end; background: var(--white); color: var(--ink); padding: 24px; }
.library-search__q { grid-column: 1 / -1; }
.library-search__qrow { display: flex; }
.library-search__qrow input { flex: 1 1 auto; min-width: 0; }
.library-search__qrow select { flex: 0 0 auto; width: auto; border-left: 0; background: var(--paper); }
.library-search .field { width: 100%; flex: none; }
.library-search .library-search__qrow input.field { flex: 1 1 auto; width: auto; min-width: 0; }
.library-search .library-search__qrow select.field { flex: 0 0 auto; width: auto; max-width: 45%; }
.library-search select.field { padding: 0 12px; }
.library-search input[type="month"] { padding: 0 12px; }
.library-search__actions { display: flex; gap: 16px; align-items: center; }
.library-count { margin: 0 0 8px; }
.lib-list { display: flex; flex-direction: column; }
.lib-row { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px 0; border-top: 1px solid var(--rule); }
.lib-row__cover { flex: 0 0 120px; aspect-ratio: 3/4; background: var(--green); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lib-row__cover img { width: 100%; height: 100%; object-fit: cover; }
.lib-row__cover .doc-thumb { width: 72%; padding: 8px; }
.lib-row__cover .doc-thumb__label { font-size: 8px; }
.lib-row__body { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.lib-row h2 { font-size: 20px; line-height: 1.35; font-weight: 600; }
.lib-row h2 a { color: var(--ink); }
.lib-row p { margin: 0; color: var(--body); }
.lib-row--sample h2, .lib-row--sample p { color: var(--muted); }

/* ==========================================================================
   11. Research Area (centre) pages
   ========================================================================== */
.centre-hero { background: var(--green); color: var(--white); padding: 56px 0; }
.centre-hero .breadcrumbs, .centre-hero .breadcrumbs a { color: var(--on-dark); }
.centre-hero__row { display: flex; gap: 28px; align-items: flex-start; margin-top: 18px; flex-wrap: wrap; }
.centre-hero__icon { width: 80px; height: 80px; border: 1px solid var(--green-line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.centre-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin: 14px 0 0; }
.centre-hero p { color: var(--on-dark-strong); font-size: 18px; max-width: 720px; margin: 12px 0 0; }
.centre-hero .gov-tag--proposed { background: transparent; color: var(--gold); border-color: var(--gold); }
.centre-hero .gov-tag--established { background: var(--gold); color: var(--green); }

/* ==========================================================================
   12. Leadership, governance and profiles
   ========================================================================== */
.gov-tag { display: inline-block; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gov-tag--proposed { border: 1px solid var(--amber-line); color: var(--amber-text); background: var(--amber-wash); }
.gov-tag--established { background: var(--green); color: var(--white); }
.gov-notice { border: 1px solid var(--rule); border-left: 4px solid var(--amber-line); background: #FBF9F2; padding: 20px 24px; margin-bottom: 32px; font-family: var(--sans); font-size: 16px; line-height: 1.6; }
.gov-notice p { margin: 6px 0 0; color: var(--body); }
.gov-notice--established { border-left-color: var(--green); background: var(--paper); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.gov-notice--established p { margin: 0; }
.body-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.body-list li { padding: 28px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.body-list h2 { font-size: 24px; }
.body-list h2 a { color: var(--green); }
.body-list p { margin: 0; color: var(--body); max-width: 820px; }
.body-list .more { font-weight: 600; font-size: 15px; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.person-card { border: 1px solid var(--rule); background: var(--white); display: flex; flex-direction: column; }
.person-card--placeholder { border-style: dashed; border-color: #B9C6C0; }
.person-card__photo { position: relative; aspect-ratio: 1/1; background: var(--green-wash); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.person-card h3 { font-size: 17px; }
.person-card h3 a { color: var(--green); }
.person-card--placeholder h3, .person-card--placeholder span { color: var(--muted); }
.pending-tag { position: absolute; top: 12px; left: 12px; background: var(--white); border: 1px solid var(--input); color: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; }
.pending-tag--inline { position: static; display: inline-block; margin: 10px 0 0; }
.profile { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.profile__photo { flex: 0 1 300px; }
.profile__photo img, .profile__photo .card__img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.profile__body { flex: 1 1 480px; min-width: 0; }
.profile__name { font-size: clamp(30px, 3.6vw, 40px); margin: 10px 0 6px; }
.profile__role { font-size: 18px; color: var(--body); margin: 0 0 24px; }
.profile__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; border-top: 1px solid var(--rule); padding-top: 24px; }
.profile__facts h2, .profile__bio h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.profile__facts p, .profile__facts ul { margin: 0; color: var(--body); }
.profile__facts ul:not(.tags) { padding-left: 18px; }
.profile__bio { border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 24px; }
.profile__links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li span, .tags a { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule); font-size: 13px; color: var(--ink); }

/* ==========================================================================
   13. Membership: process, form, confirmation, directory
   ========================================================================== */
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 3px solid var(--green); }
.process-steps li { padding: 24px 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.process-steps__n { width: 36px; height: 36px; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--heading); font-weight: 700; }
.process-steps strong { font-family: var(--heading); font-size: 17px; color: var(--green); }
.process-steps span:last-child { font-size: 14px; color: var(--muted); line-height: 1.6; }
.apply-layout { display: flex; flex-wrap: wrap; gap: 64px; }
.apply-layout__intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.apply-layout__intro h2 { font-size: 30px; line-height: 1.25; }
.apply-layout__intro p { margin: 0; }
.apply-layout__form { flex: 2 1 560px; min-width: 0; }
.app-wrap { max-width: 920px; display: flex; flex-direction: column; gap: 28px; }
.app-intro { display: flex; flex-direction: column; gap: 12px; }
.app-intro h2 { font-size: clamp(26px, 3vw, 32px); }
.app-intro p { margin: 0; color: var(--body); }
.app-card { background: var(--white); border: 1px solid var(--rule); padding: 40px; }
@media (max-width: 600px) { .app-card { padding: 22px 16px; } }
.app-disclaimer { border: 1px solid var(--rule); border-left: 4px solid var(--green); background: var(--paper); padding: 20px 24px; margin-bottom: 8px; }
.app-disclaimer strong { font-family: var(--heading); color: var(--green); }
.app-disclaimer p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; }
.app-section { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 36px 0 12px; min-width: 0; }
.app-section__head { display: flex; gap: 16px; align-items: baseline; padding: 0; float: left; width: 100%; }
.app-section__head + * { clear: both; }
.app-section__num { font-family: var(--heading); font-size: 14px; font-weight: 700; color: var(--red-text); }
.app-section__title { font-family: var(--heading); font-size: 20px; font-weight: 700; color: var(--green); }
.app-section__desc { margin: 6px 0 22px 34px; font-size: 14px; color: var(--muted); }
.nt-checkgroup { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.nt-choice { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--rule); padding: 14px; font-size: 15px; cursor: pointer; background: var(--white); }
.nt-choice input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--green); }
.nt-choice.is-checked, .nt-choice:has(input:checked) { border-color: var(--green); background: var(--green-wash); }
.app-consent { border-top: 1px solid var(--rule); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.app-consent .btn-join { align-self: flex-start; }
.app-areas-error { color: var(--red-text); font-weight: 600; margin: 0; }
.app-confirm { display: flex; flex-direction: column; gap: 18px; }
.app-confirm:focus { outline: none; }
.app-confirm__tick { width: 56px; height: 56px; border-radius: 50%; background: var(--green-wash); color: var(--green); display: flex; align-items: center; justify-content: center; }
.app-confirm h2 { font-size: clamp(24px, 3vw, 32px); }
.app-confirm h3 { font-size: 17px; }
.app-confirm p { margin: 0; color: var(--body); line-height: 1.65; }
.app-confirm__ref { background: var(--paper); padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.app-confirm__ref span { font-size: 14px; color: var(--muted); }
.app-confirm__ref span:first-child { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.app-confirm__ref strong { font-family: var(--heading); font-size: 30px; letter-spacing: .06em; color: var(--green); }
.app-confirm__note { border-left: 3px solid var(--green); padding-left: 14px; font-size: 14px; }
.member-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.member-list li { background: var(--white); border: 1px solid var(--rule); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.member-list strong { font-family: var(--heading); color: var(--green); }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer { background: var(--green-deep); color: var(--on-dark); }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--white); }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 72px; padding-bottom: 40px; }
.footer-col { flex: 1 1 160px; min-width: 0; }
.footer-col--intro { flex: 2 1 320px; display: flex; flex-direction: column; gap: 16px; }
.footer-col--intro p { margin: 0; line-height: 1.7; font-size: 15px; max-width: 400px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > span { display: flex; flex-direction: column; gap: 4px; }
.site-footer .brand__name { color: var(--white); font-size: 19px; }
.footer-institution { color: var(--gold); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border: 1px solid var(--green-line); display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.footer-social a:hover { background: var(--green); }
.footer-col h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--green-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 32px; font-size: 13px; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   15a. Legal pages, cookie banner, small notes
   ========================================================================== */
.legal-meta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 14px !important; color: var(--muted) !important; }
.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--green); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .link-btn { color: var(--on-dark); font-weight: 400; text-decoration: none; font-size: 13px; padding: 0; min-height: 24px; }
.site-footer .link-btn:hover { color: var(--white); text-decoration: underline; }
.legal-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.legal-toc { flex: 0 1 260px; border-top: 3px solid var(--green); padding-top: 16px; position: sticky; top: 140px; }
.legal-toc h2 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 28px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.legal-toc a { color: var(--ink); }
.legal-body h2 { scroll-margin-top: 140px; }
@media (max-width: 900px) { .legal-toc { position: static; flex-basis: 100%; } }
.form-privacy { margin: 8px 0 0; }
.research-note { margin-top: 24px; font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: var(--white); border-top: 4px solid var(--green); box-shadow: 0 -8px 24px rgba(20, 53, 44, .12); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.cookie-banner p { margin: 0; flex: 1 1 520px; font-size: 15px; line-height: 1.6; }
.cookie-banner strong { color: var(--green); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Internal links to research areas */
.area-links h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.area-links .tags a { padding: 8px 12px; font-size: 14px; }
.area-links .tags a:hover { border-color: var(--green); text-decoration: none; }

/* ==========================================================================
   15. WordPress core classes
   ========================================================================== */
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.gallery-content .wp-block-gallery { margin-bottom: 32px; }
.widget { margin-bottom: 24px; }

/* ==========================================================================
   16. Motion and print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
/* Balanced grids: avoid orphaned last items (4→2→1, 5 steps → vertical list on tablets and phones) */
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid--4 { grid-template-columns: 1fr; } }
@media (max-width: 1023px) {
	.process-steps { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--green); }
	.process-steps > li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start; padding: 0 0 20px 20px; }
	.process-steps > li > .process-steps__n { grid-row: span 2; margin: 0; }
	.process-steps > li > strong, .process-steps > li > span:not(.process-steps__n) { grid-column: 2; }
}
@media (max-width: 600px) {
	.audience-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.audience-grid--wide li { font-size: 14px; }
}

/* Library: compact filters and rows on phones */
.library-search__toggle { display: none; }
@media (max-width: 767px) {
	.library-search { padding: 20px; gap: 14px; }
	.library-search.is-collapsible .library-search__toggle { display: block; }
	.library-search.is-collapsed .library-search__adv { display: none; }
	.lib-row { flex-wrap: nowrap; gap: 16px; }
	.lib-row__cover { flex: 0 0 72px; align-self: flex-start; }
	.lib-row__cover .doc-thumb__label { display: none; }
	.lib-row__body { flex: 1 1 auto; }
	.lib-row h2 { font-size: 17px; }
	.lib-row .eyebrow { display: block; font-size: 10.5px; line-height: 1.6; }
	.lib-row .eyebrow::before { display: inline-block; vertical-align: middle; width: 16px; margin: -2px 8px 0 0; }
	.library-search .library-search__toggle .btn { background: var(--white); color: var(--green); border: 1px solid var(--green); }
}

/* Tabs scroll sideways on small screens instead of wrapping into ragged rows */
@media (max-width: 1023px) {
	.tabs { flex-wrap: nowrap; gap: 0 24px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: -24px; padding-right: 24px; scroll-snap-type: x proximity; }
	.tabs::-webkit-scrollbar { display: none; }
	.tabs a { white-space: nowrap; flex-shrink: 0; scroll-snap-align: start; }
}
@media (max-width: 600px) { .tabs { margin-right: -16px; padding-right: 16px; } }
/* Footer link columns two-up on phones */
@media (max-width: 600px) {
	.footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; padding-top: 56px; }
	.footer-col--intro { grid-column: 1 / -1; }
}

/* Utilities (replace former inline styles so spacing stays consistent) */
.u-mt-8{margin-top:8px}.u-mt-16{margin-top:16px}.u-mt-20{margin-top:20px}.u-mt-32{margin-top:32px}.u-mt-48{margin-top:48px}.u-mt-56{margin-top:56px}
.u-mb-12{margin-bottom:12px}.u-mb-20{margin-bottom:20px}.u-mb-28{margin-bottom:28px}.u-mb-32{margin-bottom:32px}
.u-pt-48{padding-top:48px}.u-py-0{padding-top:0;padding-bottom:0}
.u-w-640{max-width:640px}.u-w-820{max-width:820px}.u-w-960{max-width:960px}.u-w-none{max-width:none}
.u-strong{font-weight:600}.u-small{font-size:13px}.u-body{font-size:16px}.u-inherit{color:inherit}.u-muted{color:var(--muted)}
.u-plain-list{list-style:none}.u-block{display:block}.u-row{display:flex;gap:14px;flex-wrap:wrap}
.u-label{font-family:var(--sans);font-size:14px;letter-spacing:.1em;text-transform:uppercase}
.u-h-section{font-size:clamp(24px,3vw,30px)}.u-h-sub{font-size:clamp(22px,2.6vw,26px)}

@media print {
	.brand-topline, .utility, .site-header, .site-footer, .sidebar, .share, .chips, .filters, .library-search, .cookie-banner, .legal-toc, .legal-meta .link-btn { display: none !important; }
	.prose { max-width: none; font-size: 12pt; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}
