/*
Theme Name: CSR Science Hub
Theme URI: https://csrsciencehub.nl
Author: CSR Science Hub @ VU Amsterdam
Description: Custom theme for the CSR Science Hub at Vrije Universiteit Amsterdam. Built to the CSR Science Hub Graphic Standards Manual (2025). Content is entered through labelled fields — there is no page builder and no layout for editors to break.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: csr-science-hub
Tags: education, research, custom-colors, custom-menu, accessibility-ready
*/

/* ==========================================================================
   CONTENTS
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons & links
   6.  Site header & navigation
   7.  Hero
   8.  Sections & bands
   9.  Cards (feature / member / resource / news)
   10. Resource filter bar
   11. Member profile
   12. Contact & partner
   13. Editor content (.entry-content)
   14. Site footer
   15. Utilities & accessibility
   16. Print
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   Colours are taken verbatim from the Graphic Standards Manual,
   "Main institutional colours".
   ========================================================================== */

:root {
	/* --- Brand palette (manual) ------------------------------------------ */
	--csr-blue:        #0080C8;  /* CMYK 100/30/0/0   RGB 0/128/201   */
	--csr-sky:         #9ED1DF;  /* CMYK 40/0/10/5    RGB 158/209/223 */
	--csr-yellow:      #FFF17A;  /* CMYK 3/0/63/0     RGB 255/241/122 */
	--csr-navy:        #00455D;  /* CMYK 100/60/40/25 RGB 0/69/93     */

	/* --- Derived tints. Same hues, used only for surfaces ---------------- */
	--csr-navy-deep:   #003547;  /* footer base, hero overlay          */
	--csr-blue-dark:   #006BA6;  /* hover state for blue surfaces      */
	--csr-sky-tint:    #EAF5F9;  /* very light section background      */
	--csr-sky-soft:    #D3E9F1;  /* card borders on tinted sections    */

	/* --- Neutrals -------------------------------------------------------- */
	--csr-white:       #FFFFFF;
	--csr-paper:       #F7FAFC;
	--csr-line:        #DCE6EC;
	--csr-grey:        #5A6B75;  /* 4.9:1 on white — safe for meta text */
	--csr-ink:         #1D1D1B;  /* matches the VU wordmark black       */

	/* --- Semantic roles --------------------------------------------------
	   Body text is always navy (9.5:1 on white). --csr-blue measures
	   4.27:1 on white, which passes AA for large text only, so it is
	   never used for body copy. See section 5.
	   -------------------------------------------------------------------- */
	--color-text:        var(--csr-navy);
	--color-text-muted:  var(--csr-grey);
	--color-heading:     var(--csr-navy);
	--color-link:        var(--csr-navy);
	--color-link-hover:  var(--csr-blue-dark);
	--color-bg:          var(--csr-white);
	--color-border:      var(--csr-line);

	/* --- Typography ------------------------------------------------------
	   Mulish is the manual's typeface for "online and digital
	   communication". DM Serif Text is the supplementary face and is
	   used sparingly — pull quotes and one display line per page.
	   -------------------------------------------------------------------- */
	--font-sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-serif: "DM Serif Text", Georgia, "Times New Roman", serif;

	/* Fluid scale: min at 360px viewport, max at 1280px */
	--step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.90rem);
	--step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.125rem);
	--step-1:  clamp(1.20rem, 1.12rem + 0.35vw, 1.44rem);
	--step-2:  clamp(1.44rem, 1.30rem + 0.65vw, 1.94rem);
	--step-3:  clamp(1.73rem, 1.50rem + 1.05vw, 2.60rem);
	--step-4:  clamp(2.07rem, 1.70rem + 1.65vw, 3.50rem);
	--step-5:  clamp(2.49rem, 1.90rem + 2.60vw, 4.60rem);

	--leading-tight: 1.15;
	--leading-snug:  1.35;
	--leading-body:  1.65;

	/* --- Spacing (4px base) ---------------------------------------------- */
	--space-2xs: 0.25rem;
	--space-xs:  0.5rem;
	--space-sm:  0.75rem;
	--space-md:  1rem;
	--space-lg:  1.5rem;
	--space-xl:  2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--space-4xl: 6rem;

	/* Vertical rhythm between page sections, fluid */
	--section-y: clamp(3rem, 2rem + 5vw, 6.5rem);

	/* --- Structure -------------------------------------------------------- */
	--container:      1200px;
	--container-text: 46rem;   /* ~70 characters at body size */
	--radius-sm:  4px;
	--radius:     10px;
	--radius-lg:  18px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(0, 69, 93, 0.06), 0 2px 6px rgba(0, 69, 93, 0.05);
	--shadow:    0 2px 6px rgba(0, 69, 93, 0.07), 0 10px 28px rgba(0, 69, 93, 0.08);
	--shadow-lg: 0 4px 12px rgba(0, 69, 93, 0.09), 0 20px 48px rgba(0, 69, 93, 0.12);

	--transition: 160ms cubic-bezier(0.22, 0.61, 0.36, 1);

	--header-h: 108px;
}

@media (max-width: 900px) {
	:root { --header-h: 86px; }
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--step-0);
	font-weight: 400;
	line-height: var(--leading-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

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

input, button, textarea, select { font: inherit; color: inherit; }

hr {
	border: 0;
	border-top: 1px solid var(--color-border);
	margin: var(--space-2xl) 0;
}

::selection {
	background: var(--csr-yellow);
	color: var(--csr-navy);
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--space-md);
	color: var(--color-heading);
	font-family: var(--font-sans);
	font-weight: 800;
	line-height: var(--leading-tight);
	letter-spacing: -0.015em;
	text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5 { font-size: var(--step-0); font-weight: 700; }
h6 {
	font-size: var(--step--1);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }

/* The supplementary face. Reserved for display moments — never body copy. */
.serif {
	font-family: var(--font-serif);
	font-weight: 400;
	letter-spacing: -0.01em;
}

.lead {
	font-size: var(--step-1);
	line-height: var(--leading-snug);
	font-weight: 400;
	color: var(--color-text);
}

/* Small uppercase label above a heading */
.eyebrow {
	display: block;
	margin-bottom: var(--space-sm);
	font-size: var(--step--1);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--csr-blue);
}

.eyebrow--on-dark { color: var(--csr-sky); }

/* Yellow marker under a word or two. Decorative only. */
.mark {
	background-image: linear-gradient(var(--csr-yellow), var(--csr-yellow));
	background-repeat: no-repeat;
	background-position: 0 88%;
	background-size: 100% 0.34em;
	padding: 0 0.06em;
}

blockquote {
	margin: var(--space-xl) 0;
	padding: var(--space-lg) 0 var(--space-lg) var(--space-lg);
	border-left: 4px solid var(--csr-blue);
	font-family: var(--font-serif);
	font-size: var(--step-2);
	line-height: var(--leading-snug);
	color: var(--csr-navy);
}

blockquote cite {
	display: block;
	margin-top: var(--space-sm);
	font-family: var(--font-sans);
	font-size: var(--step--1);
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

code, pre, kbd, samp {
	font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;
	font-size: 0.92em;
}

code {
	padding: 0.15em 0.4em;
	background: var(--csr-sky-tint);
	border-radius: var(--radius-sm);
	color: var(--csr-navy);
}


/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--space-lg);
}

@media (min-width: 700px) {
	.container { padding-inline: var(--space-xl); }
}

.container--narrow { max-width: 62rem; }
.container--text   { max-width: var(--container-text); }

/* Generic responsive grid. Set --min to control the breakpoint at which
   columns wrap; no media queries needed. */
.grid {
	display: grid;
	gap: var(--space-lg);
	grid-template-columns: repeat(auto-fill, minmax(min(var(--min, 17rem), 100%), 1fr));
}

.grid--wide { --min: 21rem; }
.grid--tight { gap: var(--space-md); }

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
.grid--3 { --min: 17rem; }
.grid--4 { --min: 13rem; }

/* Two-column split with an asymmetric ratio */
.split {
	display: grid;
	gap: var(--space-2xl);
	align-items: center;
}

@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--wide-left  { grid-template-columns: 1.25fr 1fr; }
	.split--wide-right { grid-template-columns: 1fr 1.25fr; }
}

.stack > * + * { margin-top: var(--space-md); }
.stack--lg > * + * { margin-top: var(--space-lg); }
.stack--xl > * + * { margin-top: var(--space-xl); }

.cluster {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	align-items: center;
}

.cluster--lg { gap: var(--space-md); }


/* ==========================================================================
   5. BUTTONS & LINKS

   Contrast, measured against WCAG AA:
     navy  #00455D on white ............ 9.5:1  — safe for body text
     blue  #0080C8 on white ............ 4.27:1 — large text only (>=24px)
     white on navy  #00455D ............ 9.5:1  — safe
     white on blue  #0080C8 ............ 4.27:1 — large/bold text only
     navy on sky    #9ED1DF ............ 6.3:1  — safe
     navy on yellow #FFF17A ............ 8.1:1  — safe
   Primary buttons therefore use a navy fill, not blue.
   ========================================================================== */

a {
	color: var(--color-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--transition), text-decoration-color var(--transition);
}

a:hover {
	color: var(--color-link-hover);
	text-decoration-thickness: 2px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xs);
	padding: 0.8em 1.6em;
	border: 2px solid transparent;
	border-radius: var(--radius-pill);
	font-size: var(--step-0);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--transition), border-color var(--transition),
	            color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: var(--csr-navy);
	border-color: var(--csr-navy);
	color: var(--csr-white);
}

.btn--primary:hover {
	background: var(--csr-blue-dark);
	border-color: var(--csr-blue-dark);
	color: var(--csr-white);
	box-shadow: var(--shadow);
}

.btn--secondary {
	background: var(--csr-white);
	border-color: var(--csr-navy);
	color: var(--csr-navy);
}

.btn--secondary:hover {
	background: var(--csr-navy);
	color: var(--csr-white);
}

/* For use on navy/blue backgrounds */
.btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--csr-white);
}

.btn--ghost:hover {
	background: var(--csr-white);
	border-color: var(--csr-white);
	color: var(--csr-navy);
}

.btn--accent {
	background: var(--csr-yellow);
	border-color: var(--csr-yellow);
	color: var(--csr-navy);
}

.btn--accent:hover {
	background: var(--csr-white);
	border-color: var(--csr-white);
	color: var(--csr-navy);
	box-shadow: var(--shadow);
}

.btn--sm { padding: 0.6em 1.15em; font-size: var(--step--1); }

/* Text link with a nudging arrow */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 800;
	text-decoration: none;
	color: var(--csr-navy);
}

.link-arrow::after {
	content: "→";
	transition: transform var(--transition);
}

.link-arrow:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.link-arrow:hover::after { transform: translateX(0.25em); }

.link-arrow--on-dark { color: var(--csr-white); }


/* ==========================================================================
   6. SITE HEADER & NAVIGATION
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--csr-white);
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-lg);
	min-height: var(--header-h);
}

.site-branding { flex: 0 0 auto; }

.site-branding a {
	display: block;
	text-decoration: none;
	line-height: 0;
}

/* The co-branded lockup is ~5:1, so it needs real height to stay legible.
   Sized against the header height above. */
.site-logo { width: auto; height: 66px; }
.site-logo--mobile { display: none; }

@media (max-width: 900px) {
	.site-logo { height: 54px; }
}

/* Below 620px the co-branded lockup is too wide; swap to the shorter
   CSR-only mark, which is 2.75:1 and can therefore sit taller. */
@media (max-width: 620px) {
	.site-logo { height: 46px; }
	.site-logo--desktop { display: none; }
	.site-logo--mobile { display: block; }
}

/* --- Primary navigation ------------------------------------------------- */

.main-nav ul {
	display: flex;
	align-items: center;
	gap: var(--space-lg);
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	position: relative;
	display: block;
	padding: 0.5rem 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--csr-navy);
	text-decoration: none;
	white-space: nowrap;
}

.main-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	border-radius: 2px;
	background: var(--csr-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--transition);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .is-current > a { color: var(--csr-blue-dark); }

.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after,
.main-nav .is-current > a::after { transform: scaleX(1); }

.nav-cta { margin-left: var(--space-sm); }

/* --- Mobile toggle ------------------------------------------------------ */

.nav-toggle {
	display: none;
	align-items: center;
	gap: var(--space-xs);
	padding: 0.55rem 0.9rem;
	background: var(--csr-white);
	border: 2px solid var(--csr-navy);
	border-radius: var(--radius-pill);
	color: var(--csr-navy);
	font-size: var(--step--1);
	font-weight: 800;
	cursor: pointer;
}

.nav-toggle__bars {
	position: relative;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--transition), top var(--transition);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }

	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: var(--space-md) var(--space-lg) var(--space-xl);
		background: var(--csr-white);
		border-bottom: 1px solid var(--color-border);
		box-shadow: var(--shadow);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}

	.main-nav.is-open { display: block; }

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.main-nav li + li { border-top: 1px solid var(--color-border); }

	.main-nav a {
		padding: var(--space-md) 0;
		font-size: var(--step-1);
	}

	.main-nav a::after { display: none; }

	.nav-cta { margin: var(--space-lg) 0 0; }
	.nav-cta .btn { width: 100%; }
}


/* ==========================================================================
   7. HERO
   ========================================================================== */

.hero {
	position: relative;
	background: var(--csr-navy-deep);
	color: var(--csr-white);
	overflow: hidden;
	isolation: isolate;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

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

/* Navy scrim. Keeps white text at >=7:1 over any photograph. */
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(0, 53, 71, 0.95) 0%, rgba(0, 69, 93, 0.88) 45%, rgba(0, 69, 93, 0.68) 100%);
}

.hero__inner {
	position: relative;
	padding-block: clamp(3.5rem, 2rem + 8vw, 7.5rem);
}

.hero__content { max-width: 44rem; }

.hero__signature {
	width: min(520px, 92%);
	height: auto;
	margin-bottom: var(--space-xl);
}

.hero h1 {
	color: var(--csr-white);
	font-size: var(--step-5);
	margin-bottom: var(--space-lg);
}

.hero__intro {
	font-size: var(--step-1);
	line-height: var(--leading-snug);
	color: rgba(255, 255, 255, 0.94);
	max-width: 38rem;
	margin-bottom: var(--space-xl);
}

.hero__actions { gap: var(--space-md); }

/* Compact hero for interior pages */
.page-hero {
	background: var(--csr-navy);
	color: var(--csr-white);
	padding-block: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
}

.page-hero h1 {
	color: var(--csr-white);
	margin-bottom: var(--space-md);
}

.page-hero__intro {
	max-width: 46rem;
	font-size: var(--step-1);
	line-height: var(--leading-snug);
	color: rgba(255, 255, 255, 0.92);
	margin: 0;
}

.page-hero a { color: var(--csr-sky); }
.page-hero a:hover { color: var(--csr-white); }


/* ==========================================================================
   8. SECTIONS & BANDS
   ========================================================================== */

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }

.section--tint  { background: var(--csr-sky-tint); }
.section--paper { background: var(--csr-paper); }

.section--navy {
	background: var(--csr-navy);
	color: var(--csr-white);
}

.section--navy h1, .section--navy h2,
.section--navy h3, .section--navy h4 { color: var(--csr-white); }

.section--navy a { color: var(--csr-sky); }
.section--navy a:hover { color: var(--csr-white); }

.section__header {
	max-width: 44rem;
	margin-bottom: var(--space-2xl);
}

.section__header--center {
	margin-inline: auto;
	text-align: center;
}

.section__title { margin-bottom: var(--space-md); }

.section__intro {
	font-size: var(--step-1);
	line-height: var(--leading-snug);
	color: var(--color-text);
	margin: 0;
}

.section--navy .section__intro { color: rgba(255, 255, 255, 0.9); }

.section__footer {
	margin-top: var(--space-2xl);
	text-align: center;
}

/* --- Call-to-action band ------------------------------------------------ */

.cta-band {
	background: var(--csr-yellow);
	color: var(--csr-navy);
	padding-block: clamp(2.5rem, 1.8rem + 4vw, 4.5rem);
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-xl);
}

.cta-band__text { max-width: 38rem; }

.cta-band h2 {
	color: var(--csr-navy);
	margin-bottom: var(--space-sm);
}

.cta-band p {
	font-size: var(--step-1);
	line-height: var(--leading-snug);
	margin: 0;
}

.cta-band .btn--primary:hover {
	background: var(--csr-navy-deep);
	border-color: var(--csr-navy-deep);
}


/* ==========================================================================
   9. CARDS
   ========================================================================== */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--csr-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
	transform: translateY(-3px);
	border-color: var(--csr-sky);
	box-shadow: var(--shadow);
}

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: var(--space-lg);
	gap: var(--space-sm);
}

.card__title {
	font-size: var(--step-1);
	margin: 0;
}

.card__title a {
	text-decoration: none;
	color: var(--csr-navy);
}

/* Stretched link: the whole card is clickable, but only the title is
   announced as the link. */
.card__title a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card:hover .card__title a { color: var(--csr-blue-dark); text-decoration: underline; }

.card__meta {
	font-size: var(--step--1);
	color: var(--color-text-muted);
	margin: 0;
}

.card__text {
	font-size: var(--step-0);
	margin: 0;
}

.card__footer {
	margin-top: auto;
	padding-top: var(--space-sm);
}

.card__media {
	aspect-ratio: 16 / 10;
	background: var(--csr-sky-tint);
}

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

/* Branded stand-in for a news item with no photograph yet. Reads as a
   designed panel rather than a missing image. Swap in a real photo by
   setting a Featured image on the post. */
.card__media--brand {
	display: grid;
	align-content: center;
	gap: var(--space-xs);
	padding: var(--space-lg);
	background:
		radial-gradient(120% 120% at 100% 0%, rgba(158, 209, 223, 0.35) 0%, rgba(158, 209, 223, 0) 55%),
		linear-gradient(135deg, var(--csr-navy-deep) 0%, var(--csr-navy) 55%, var(--csr-blue) 100%);
	color: var(--csr-white);
	text-align: left;
}

.card__media-kicker {
	margin: 0;
	font-size: var(--step--1);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--csr-sky);
}

.card__media-title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: var(--step-2);
	line-height: 1.2;
	color: var(--csr-white);
}

.card__media-foot {
	margin: 0;
	font-size: var(--step--1);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.85);
}

/* Generic fallback: the white logo centred on the brand gradient. */
.card__media--mark {
	place-items: center;
	align-content: center;
	justify-items: center;
}

.card__media--mark img {
	width: min(72%, 280px);
	height: auto;
	opacity: 0.92;
}

/* --- Feature card (homepage "what we do") ------------------------------- */

.feature-card {
	padding: var(--space-xl);
	background: var(--csr-white);
	border: 1px solid var(--color-border);
	border-top: 5px solid var(--csr-blue);
	border-radius: var(--radius-lg);
	height: 100%;
}

.feature-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: var(--space-lg);
	background: var(--csr-sky-tint);
	border-radius: var(--radius);
	color: var(--csr-blue-dark);
}

.feature-card__icon svg { width: 28px; height: 28px; }

.feature-card h3 {
	font-size: var(--step-1);
	margin-bottom: var(--space-sm);
}

.feature-card p { margin: 0; }

/* --- Member card -------------------------------------------------------- */

.member-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--csr-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.member-card:hover {
	transform: translateY(-3px);
	border-color: var(--csr-sky);
	box-shadow: var(--shadow);
}

.member-card__photo {
	aspect-ratio: 1 / 1;
	background: var(--csr-sky-tint);
	overflow: hidden;
}

.member-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.member-card:hover .member-card__photo img { transform: scale(1.04); }

/* Fallback when no portrait has been uploaded yet */
.member-card__photo--empty {
	display: grid;
	place-items: center;
	background: linear-gradient(140deg, var(--csr-sky-tint), var(--csr-sky-soft));
	color: var(--csr-navy);
	font-size: var(--step-4);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.member-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: var(--space-xs);
	padding: var(--space-lg);
}

.member-card__name {
	font-size: var(--step-1);
	margin: 0;
	/* body sets overflow-wrap: break-word, which will snap a long surname in
	   half ("Koningsbrugg / en") in a narrow card. Names break at spaces only. */
	overflow-wrap: normal;
	word-break: keep-all;
	hyphens: none;
}

.member-card__name a {
	color: var(--csr-navy);
	text-decoration: none;
}

.member-card__name a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.member-card:hover .member-card__name a { color: var(--csr-blue-dark); text-decoration: underline; }

.member-card__role {
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--csr-blue-dark);
	margin: 0;
	overflow-wrap: normal;
}

/* Compact card — the four-up strips on the homepage, About and profiles.
   Photo, name, role only. Sized to survive a ~13rem column. */
.member-card--compact .member-card__body {
	gap: var(--space-2xs);
	padding: var(--space-md);
}

.member-card--compact .member-card__name { font-size: var(--step-0); }

.member-card--compact .member-card__role {
	font-size: 0.78rem;
	letter-spacing: 0.03em;
	line-height: 1.35;
}

.member-card__tags { margin-top: var(--space-xs); }

/* Icon row sits above the stretched link so the icons stay clickable */
.member-card__links {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	margin-top: auto;
	padding-top: var(--space-md);
}

.icon-link {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: var(--csr-sky-tint);
	border: 1px solid transparent;
	border-radius: 50%;
	color: var(--csr-navy);
	text-decoration: none;
	transition: background-color var(--transition), color var(--transition);
}

.icon-link:hover {
	background: var(--csr-navy);
	color: var(--csr-white);
}

.icon-link svg { width: 18px; height: 18px; }

/* --- Tags --------------------------------------------------------------- */

.tag {
	display: inline-block;
	padding: 0.28em 0.75em;
	background: var(--csr-sky-tint);
	border-radius: var(--radius-pill);
	font-size: var(--step--1);
	font-weight: 700;
	line-height: 1.4;
	color: var(--csr-navy);
	text-decoration: none;
}

a.tag:hover { background: var(--csr-sky); }

/* --- Resource card ------------------------------------------------------ */

.resource-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--csr-white);
	border: 1px solid var(--color-border);
	border-left: 6px solid var(--csr-blue);
	border-radius: var(--radius);
	padding: var(--space-lg);
	gap: var(--space-sm);
	transition: transform var(--transition), box-shadow var(--transition);
}

.resource-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

/* Type colour-coding, using all four brand colours */
.resource-card[data-type="publication"] { border-left-color: var(--csr-navy); }
.resource-card[data-type="toolkit"]     { border-left-color: var(--csr-blue); }
.resource-card[data-type="event"]       { border-left-color: var(--csr-sky); }
.resource-card[data-type="link"]        { border-left-color: var(--csr-yellow); }

.resource-card__type {
	align-self: flex-start;
	padding: 0.28em 0.8em;
	border-radius: var(--radius-pill);
	font-size: var(--step--1);
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.4;
}

.resource-card[data-type="publication"] .resource-card__type { background: var(--csr-navy);   color: var(--csr-white); }
.resource-card[data-type="toolkit"]     .resource-card__type { background: var(--csr-blue);   color: var(--csr-white); }
.resource-card[data-type="event"]       .resource-card__type { background: var(--csr-sky);    color: var(--csr-navy); }
.resource-card[data-type="link"]        .resource-card__type { background: var(--csr-yellow); color: var(--csr-navy); }

.resource-card__title {
	font-size: var(--step-1);
	line-height: var(--leading-snug);
	margin: 0;
}

.resource-card__title a {
	color: var(--csr-navy);
	text-decoration: none;
}

.resource-card__title a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.resource-card:hover .resource-card__title a {
	color: var(--csr-blue-dark);
	text-decoration: underline;
}

.resource-card__meta {
	font-size: var(--step--1);
	color: var(--color-text-muted);
	margin: 0;
}

.resource-card__desc { margin: 0; }

.resource-card__action {
	margin-top: auto;
	padding-top: var(--space-sm);
	font-weight: 800;
	font-size: var(--step-0);
}

/* --- News card ---------------------------------------------------------- */

.news-card__date {
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--csr-blue-dark);
	margin: 0;
}


/* ==========================================================================
   10. RESOURCE FILTER BAR
   ========================================================================== */

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-lg);
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: var(--space-xl);
	padding-bottom: var(--space-lg);
	border-bottom: 1px solid var(--color-border);
}

.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.5em 1.1em;
	background: var(--csr-white);
	border: 2px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: var(--step--1);
	font-weight: 800;
	color: var(--csr-navy);
	cursor: pointer;
	white-space: nowrap;
	transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.chip:hover { border-color: var(--csr-blue); }

.chip[aria-pressed="true"] {
	background: var(--csr-navy);
	border-color: var(--csr-navy);
	color: var(--csr-white);
}

.chip__count {
	font-size: 0.85em;
	font-weight: 700;
	opacity: 0.75;
}

.filter-controls {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	align-items: center;
}

.field {
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs);
}

.field__label {
	font-size: var(--step--1);
	font-weight: 700;
	color: var(--color-text-muted);
}

.input, .select {
	padding: 0.6em 0.9em;
	background: var(--csr-white);
	border: 2px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: var(--step-0);
	color: var(--csr-navy);
	transition: border-color var(--transition);
}

.input:hover, .select:hover { border-color: var(--csr-sky); }
.input:focus, .select:focus { border-color: var(--csr-blue); outline: none; }

.input::placeholder { color: var(--color-text-muted); }

.select {
	appearance: none;
	padding-right: 2.4em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300455D'%3E%3Cpath d='M8 11.5 2.5 6h11z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9em center;
	background-size: 12px;
	cursor: pointer;
}

.results-count {
	margin-bottom: var(--space-lg);
	font-size: var(--step--1);
	font-weight: 700;
	color: var(--color-text-muted);
}

.empty-state {
	padding: var(--space-3xl) var(--space-lg);
	background: var(--csr-sky-tint);
	border-radius: var(--radius-lg);
	text-align: center;
}

.empty-state h3 { margin-bottom: var(--space-xs); }
.empty-state p { color: var(--color-text-muted); margin: 0; }

/* Hidden by the filter script */
[hidden] { display: none !important; }


/* ==========================================================================
   11. MEMBER PROFILE
   ========================================================================== */

.profile {
	display: grid;
	gap: var(--space-2xl);
	align-items: start;
}

@media (min-width: 860px) {
	.profile { grid-template-columns: 300px 1fr; }
}

.profile__photo {
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--csr-sky-tint);
	aspect-ratio: 1 / 1;
}

.profile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.profile__role {
	font-size: var(--step-1);
	font-weight: 700;
	color: var(--csr-blue-dark);
	margin-bottom: var(--space-lg);
}

.profile__bio {
	font-size: var(--step-0);
	max-width: var(--container-text);
}

.profile__bio p + p { margin-top: var(--space-md); }

/* "Expertise" and "Publications" blocks on a member profile */
.profile__subheading {
	margin: var(--space-xl) 0 var(--space-md);
	padding-top: var(--space-lg);
	border-top: 1px solid var(--color-border);
	font-size: var(--step--1);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--csr-blue-dark);
}

.expertise-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.profile__pub {
	padding: var(--space-md) 0;
	border-bottom: 1px solid var(--color-border);
}

.profile__pub:first-child { padding-top: 0; }
.profile__pub:last-child { border-bottom: 0; }

.profile__pub a {
	font-weight: 700;
	text-decoration: none;
}

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

.profile__pub-meta {
	display: block;
	margin-top: 2px;
	font-size: var(--step--1);
	color: var(--color-text-muted);
}

/* Compact expertise chips on the members grid */
.member-card__expertise {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: var(--space-xs) 0 0;
	padding: 0;
	list-style: none;
}

.member-card__expertise .tag {
	font-size: 0.78rem;
	padding: 0.2em 0.6em;
}

.profile__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-top: var(--space-xl);
	padding-top: var(--space-lg);
	border-top: 1px solid var(--color-border);
}

.profile__link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	padding: 0.55em 1.1em;
	background: var(--csr-sky-tint);
	border-radius: var(--radius-pill);
	font-size: var(--step--1);
	font-weight: 800;
	color: var(--csr-navy);
	text-decoration: none;
	transition: background-color var(--transition), color var(--transition);
}

.profile__link:hover { background: var(--csr-navy); color: var(--csr-white); }
.profile__link svg { width: 16px; height: 16px; }


/* ==========================================================================
   12. CONTACT & PARTNER
   ========================================================================== */

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

.contact-list li {
	display: flex;
	gap: var(--space-md);
	align-items: flex-start;
	padding: var(--space-md) 0;
	border-bottom: 1px solid var(--color-border);
}

.contact-list li:last-child { border-bottom: 0; }

.contact-list__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: var(--csr-sky-tint);
	border-radius: 50%;
	color: var(--csr-blue-dark);
}

.contact-list__icon svg { width: 18px; height: 18px; }

.contact-list__label {
	display: block;
	font-size: var(--step--1);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: 2px;
}

.contact-list__value { font-weight: 600; }
.contact-list__value a { font-weight: 700; }

/* Numbered "how it works" steps */
.steps {
	counter-reset: step;
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	position: relative;
	counter-increment: step;
	padding: 0 0 var(--space-xl) var(--space-3xl);
}

.step::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	background: var(--csr-blue);
	border-radius: 50%;
	color: var(--csr-white);
	font-size: var(--step-1);
	font-weight: 800;
	line-height: 1;
}

/* Connecting line between steps */
.step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 23px;
	top: 56px;
	bottom: 8px;
	width: 2px;
	background: var(--csr-sky-soft);
}

.step h3 {
	font-size: var(--step-1);
	margin-bottom: var(--space-xs);
	padding-top: 0.6rem;
}

.step p { margin: 0; }


/* ==========================================================================
   13. EDITOR CONTENT
   Everything typed into the WordPress editor lands here.
   ========================================================================== */

.entry-content {
	max-width: var(--container-text);
	font-size: var(--step-0);
}

.entry-content > * + * { margin-top: var(--space-md); }

.entry-content > h2 { margin-top: var(--space-2xl); }
.entry-content > h3 { margin-top: var(--space-xl); }
.entry-content > h2:first-child,
.entry-content > h3:first-child { margin-top: 0; }

.entry-content ul,
.entry-content ol { padding-left: 1.4em; }

.entry-content li + li { margin-top: var(--space-xs); }

.entry-content li::marker { color: var(--csr-blue); }

.entry-content img,
.entry-content figure { border-radius: var(--radius); }

.entry-content figure { margin: var(--space-xl) 0; }

.entry-content figcaption {
	margin-top: var(--space-xs);
	font-size: var(--step--1);
	color: var(--color-text-muted);
	text-align: center;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--step--1);
}

.entry-content th,
.entry-content td {
	padding: var(--space-sm) var(--space-md);
	border-bottom: 1px solid var(--color-border);
	text-align: left;
}

.entry-content th {
	background: var(--csr-sky-tint);
	font-weight: 800;
}

/* WordPress alignment classes */
.alignleft  { float: left;  margin: 0 var(--space-lg) var(--space-md) 0; }
.alignright { float: right; margin: 0 0 var(--space-md) var(--space-lg); }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: none; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--step--1); color: var(--color-text-muted); }

/* Wide content must scroll inside itself, never the page */
.table-scroll { overflow-x: auto; }


/* --- Figures & charts ---------------------------------------------------
   Series colour carries region, lightness carries year. Every bar is also
   direct-labelled with its value and a full data table follows, so nothing
   depends on colour alone.
   -------------------------------------------------------------------- */

.figure {
	margin: var(--space-2xl) 0;
	padding: var(--space-lg);
	background: var(--csr-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.figure__title {
	margin: 0 0 var(--space-2xs);
	font-size: var(--step-1);
	font-weight: 800;
	color: var(--csr-navy);
}

.figure__subtitle {
	margin: 0 0 var(--space-md);
	font-size: var(--step--1);
	color: var(--color-text-muted);
}

.chart-legend {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	margin: 0 0 var(--space-md);
	padding: 0;
	list-style: none;
	font-size: var(--step--1);
	font-weight: 700;
	color: var(--csr-navy);
}

.chart-legend li {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
}

.chart-legend .swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 3px;
	flex: 0 0 auto;
}

.chart-scroll { overflow-x: auto; }
.chart-scroll svg { display: block; min-width: 620px; width: 100%; height: auto; }

.figure__caption {
	margin: var(--space-md) 0 0;
	font-size: var(--step--1);
	line-height: 1.55;
	color: var(--color-text-muted);
}

.figure__data { margin-top: var(--space-md); }

.figure__data summary {
	cursor: pointer;
	font-size: var(--step--1);
	font-weight: 800;
	color: var(--csr-blue-dark);
}

.figure__data table {
	width: 100%;
	margin-top: var(--space-sm);
	border-collapse: collapse;
	font-size: var(--step--1);
}

.figure__data th,
.figure__data td {
	padding: var(--space-xs) var(--space-sm);
	border-bottom: 1px solid var(--color-border);
	text-align: right;
}

.figure__data th:first-child,
.figure__data td:first-child { text-align: left; }

.figure__data thead th {
	background: var(--csr-sky-tint);
	font-weight: 800;
}


/* ==========================================================================
   14. SITE FOOTER
   ========================================================================== */

.site-footer {
	background: var(--csr-navy-deep);
	color: rgba(255, 255, 255, 0.85);
	padding-block: var(--space-3xl) var(--space-xl);
}

.site-footer h2, .site-footer h3, .site-footer h4 { color: var(--csr-white); }

.site-footer a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--csr-white);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.footer-grid {
	display: grid;
	gap: var(--space-2xl);
	margin-bottom: var(--space-2xl);
}

@media (min-width: 760px) {
	.footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

.footer-logo {
	width: min(300px, 100%);
	height: auto;
	margin-bottom: var(--space-lg);
}

.footer__tagline {
	max-width: 30rem;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

.footer__heading {
	font-size: var(--step--1);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--csr-sky);
	margin-bottom: var(--space-md);
}

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

.footer-list li + li { margin-top: var(--space-xs); }

.footer-social {
	display: flex;
	gap: var(--space-xs);
	margin-top: var(--space-lg);
}

.footer-social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: var(--csr-white);
	transition: background-color var(--transition);
}

.footer-social a:hover { background: var(--csr-blue); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	align-items: center;
	justify-content: space-between;
	padding-top: var(--space-lg);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: var(--step--1);
	color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p { margin: 0; }

.footer-bottom nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	margin: 0;
	padding: 0;
	list-style: none;
}


/* ==========================================================================
   15. UTILITIES & ACCESSIBILITY
   ========================================================================== */

.screen-reader-text,
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: var(--space-md);
	z-index: 999;
	padding: var(--space-sm) var(--space-lg);
	background: var(--csr-navy);
	border-radius: 0 0 var(--radius) var(--radius);
	color: var(--csr-white);
	font-weight: 800;
	text-decoration: none;
	transition: top var(--transition);
}

.skip-link:focus { top: 0; color: var(--csr-white); }

/* One visible focus style everywhere. Yellow reads against navy and white. */
:focus-visible {
	outline: 3px solid var(--csr-blue);
	outline-offset: 3px;
	border-radius: 2px;
}

.hero :focus-visible,
.section--navy :focus-visible,
.site-footer :focus-visible,
.page-hero :focus-visible {
	outline-color: var(--csr-yellow);
}

.text-center { text-align: center; }
.mt-0  { margin-top: 0 !important; }
.mb-0  { margin-bottom: 0 !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mt-xl { margin-top: var(--space-xl) !important; }

.flow > * + * { margin-top: 1em; }

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	justify-content: center;
	margin-top: var(--space-2xl);
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--space-sm);
	background: var(--csr-white);
	border: 2px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-weight: 800;
	text-decoration: none;
	color: var(--csr-navy);
}

.pagination .page-numbers:hover { border-color: var(--csr-blue); }

.pagination .page-numbers.current {
	background: var(--csr-navy);
	border-color: var(--csr-navy);
	color: var(--csr-white);
}


/* ==========================================================================
   16. PRINT
   ========================================================================== */

@media print {
	.site-header, .site-footer, .filter-bar, .nav-toggle, .cta-band { display: none !important; }
	body { color: #000; font-size: 11pt; }
	a { text-decoration: underline; }
	.hero, .page-hero { background: none !important; color: #000 !important; }
	.hero h1, .page-hero h1 { color: #000 !important; }
	.card, .resource-card, .member-card { break-inside: avoid; border: 1px solid #999; }
}
