/*
Theme Name: IUASR
Theme URI: https://iuasr.nl
Description: Custom classic PHP theme for the Islamic University of Applied Sciences Rotterdam (IUASR) public website. Bilingual NL/EN, ACF-driven content, native Gutenberg blog. Built and tested on staging.iuasr.nl.
Author: IUASR / Tasmeem
Author URI: https://iuasr.nl
Version: 0.9.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iuasr
Tags: custom, classic, bilingual, education

This theme is the ONE stylesheet for the site (per project hard rules).
Design tokens live in assets/css/tokens.css and are enqueued first.
Section/component styles are added per build phase — see docs/architecture.md.
*/

/* ============================================================
   1. RESET / NORMALIZE (lichtgewicht)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans-serif-font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: var(--iuasr-weight-body);
  color: var(--iuasr-text-default);
  background: var(--iuasr-bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--iuasr-text-link); text-decoration: none; transition: color var(--iuasr-duration-fast) var(--iuasr-ease-standard); }
a:hover { color: var(--iuasr-text-link-hover); }
a:focus-visible {
  outline: 2px solid var(--secColor100);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================
   2. BASE TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--serif-font);
  font-weight: 400;
  /* No global color: headings inherit from their section so dark sections
     (donate, teaser hover) render light text instead of indigo-on-indigo. */
  letter-spacing: -0.008em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--iuasr-text-3xl); line-height: 1.08; }
h2 { font-size: var(--iuasr-text-2xl); line-height: 1.15; }
h3 { font-size: var(--iuasr-text-xl); line-height: 1.2; }
h4 { font-size: var(--iuasr-text-lg); line-height: 1.25; }
h5, h6 { font-family: var(--sans-serif-font); margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
:lang(ar) { font-family: var(--arabic-font); direction: rtl; }

/* ============================================================
   3. LAYOUT PRIMITIVES
   ============================================================ */
.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ============================================================
   4. ACCESSIBILITY HELPERS
   ============================================================ */
.screen-reader-text {
  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; left: -9999px; top: 0; z-index: 100;
  background: var(--priColor100); color: #fff;
  padding: 10px 18px; border-radius: 2px;
}
.skip-link:focus { left: 16px; top: 16px; color: #fff; }

/* ============================================================
   5. SHARED ICON SYSTEM (inline SVG — zie inc/icons.php)
   ============================================================ */
.icon {
  display: inline-block;
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ============================================================
   6. GLOBAL SHELL — utility bar, header, mega-menu nav, footer
   Ontleend aan homepage v3. Tokens i.p.v. hard-coded waarden.
   ============================================================ */

/* ---- Utility bar ---- */
.utility {
  background: var(--priColor100);
  color: rgba(242, 241, 244, 0.85);
  font-size: 13px;
  font-weight: 300;
}
.utility__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 9px var(--container-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.utility__left { display: flex; align-items: center; gap: 22px; }
.utility__left span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.utility__left .icon { opacity: 0.7; }
.utility a { color: rgba(242, 241, 244, 0.85); }
.utility a:hover { color: var(--secColor300); }
.utility__right { display: flex; align-items: center; gap: 22px; }
.utility__cta {
  background: var(--secColor100);
  color: #fff !important;
  padding: 5px 16px;
  border-radius: var(--button-border-radius);
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.utility__cta:hover { background: var(--iuasr-btn-primary-hover); color: #fff !important; }

/* ---- Header ---- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--borderSubtleColor);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px var(--container-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
/* 96px tall, width auto → ~258px wide (matches inschrijving.iuasr.nl: 257.57 × 95.99). */
.brand img { height: var(--logo-header-h); width: auto; }
.brand .brand__txt {
  display: flex; flex-direction: column; gap: 0;
  border-left: 1px solid var(--borderSubtleColor);
  padding-left: 14px;
}
.brand .brand__txt .l1 {
  font-family: var(--serif-font);
  font-size: 17px; line-height: 1.05;
  color: var(--priColor100);
  letter-spacing: -0.005em;
}
.brand .brand__txt .l2 {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blackAltText); font-weight: 500; margin-top: 4px;
}

/* ---- Mobile nav toggle (hidden on desktop) ---- */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--priColor100);
  border-radius: var(--button-border-radius);
}
.nav-toggle:hover { background: var(--priColor102); }

/* ---- Primary nav + mega-menu ---- */
/* Items stretch to the full header height so the mega panel drops from the
   header's bottom edge with no hover gap between link and panel. */
.nav { display: flex; align-self: stretch; align-items: stretch; gap: 4px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--priColor100); font-weight: 500; font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--button-border-radius);
  transition: background var(--iuasr-duration-fast) var(--iuasr-ease-standard);
}
.nav__chevron { opacity: 0.6; transition: transform var(--iuasr-duration-fast) var(--iuasr-ease-standard); }
.nav__item:hover > .nav__link { background: var(--priColor102); color: var(--priColor100); }
.nav__item:hover > .nav__link .nav__chevron { transform: rotate(180deg); }
.nav__link.is-active { color: var(--secColor100); }

.mega {
  position: absolute; top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--borderSubtleColor);
  box-shadow: 0 22px 50px rgba(32, 21, 71, 0.12), 0 2px 6px rgba(32, 21, 71, 0.04);
  min-width: 720px;
  padding: 28px 30px 26px;
  display: none;
  border-radius: var(--button-border-radius);
  border-top: 3px solid var(--secColor100);
  gap: 24px 36px;
  z-index: 60;
}
.mega--right { left: auto; right: 0; }
.mega--small { min-width: 280px; }
.nav__item:hover .mega { display: grid; }
.mega--cols2 { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.mega--cols3 { grid-template-columns: 1fr 1fr 1fr; gap: 24px 36px; }
.mega h5 {
  font-family: var(--sans-serif-font); font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blackAltText);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--borderSubtleColor);
}
.mega h5 a { color: inherit; }
.mega ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mega ul a {
  display: block;
  color: var(--priColor100); font-size: 14px;
  padding: 4px 0;
  font-weight: 400;
}
.mega ul a:hover { color: var(--secColor100); }

/* ---- Footer ---- */
.site-footer {
  background: var(--iuasr-bg-footer);
  color: rgba(242, 241, 244, 0.78);
  padding: 72px 0 36px;
  /* No top margin: the pre-footer sits flush against the footer (design). */
}
.site-footer a { color: rgba(242, 241, 244, 0.78); }
.site-footer a:hover { color: #fff; }
.footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* Brand block sits flush-left; logo width-driven so its aspect ratio stays intact. */
.footer__brand { margin: 0; }
.footer__brand img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0; filter: brightness(0) invert(1); opacity: 0.95; }
/* Erasmus+ has many links → a tight two-column list under one Erasmus+ heading,
   kept close together so it reads as a single group (not an orphaned column).
   Scoped under .footer__top to beat `.footer__col ul { display:flex }` later. */
.footer__top .footer__col--split ul { display: block; column-count: 2; column-gap: 24px; }
.footer__top .footer__col--split ul li { break-inside: avoid; margin-bottom: 10px; }
.footer__brand p {
  margin: 20px 0 0;
  font-size: 13.5px; line-height: 1.6;
  color: rgba(242, 241, 244, 0.7);
  max-width: 32ch;
  font-weight: 300;
}
.footer__brand .addr {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; color: rgba(242, 241, 244, 0.7);
}
.footer__brand .addr b { color: #fff; font-weight: 500; }
.footer__col h6 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--secColor300); font-weight: 600;
  margin: 0 0 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a { color: rgba(242, 241, 244, 0.78); font-size: 14px; }
.footer__col ul a:hover { color: #fff; }
.footer__bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  font-size: 12.5px;
  color: rgba(242, 241, 244, 0.55);
  flex-wrap: wrap;
}
.footer__bottom .legal { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer__bottom .legal li { list-style: none; margin: 0; }
.footer__bottom .legal a { color: rgba(242, 241, 244, 0.7); }
.footer__bottom .legal a:hover { color: #fff; }
.footer__socials { display: flex; gap: 10px; align-items: center; }
.footer__socials a {
  width: 32px; height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(242, 241, 244, 0.78);
  border-radius: 50%;
  transition: all var(--iuasr-duration-fast) var(--iuasr-ease-standard);
}
.footer__socials a:hover { background: var(--secColor300); color: var(--priColor100); border-color: var(--secColor300); }
/* Bigger glyph inside the circle (.icon defaults to 1em, so size it explicitly). */
.footer__socials a .icon { width: 18px; height: 18px; }

/* ============================================================
   7. RESPONSIVE — breakpoints volgen het ontwerp (1100 / 1024 / 640)
   Geen horizontale scroll op 320px.
   ============================================================ */
@media (max-width: 1024px) {
  /* Desktop mega-menu hidden; mobile disclosure toggles .nav open. */
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--borderSubtleColor);
    box-shadow: var(--iuasr-shadow-md);
    padding: 8px var(--container-pad) 16px;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__item { position: static; border-top: 1px solid var(--borderSubtleColor); }
  .nav__link { padding: 14px 4px; }
  .mega {
    position: static; display: grid; min-width: 0;
    box-shadow: none; border: 0; border-top: 0;
    padding: 0 0 12px 12px;
    grid-template-columns: 1fr !important;
    gap: 8px 0;
  }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .utility__inner { padding: 9px 20px; gap: 12px; flex-wrap: wrap; }
  .utility__left { gap: 14px; }
  .site-header__inner { padding: 14px 20px; }
  .brand img { height: max(40px, calc(var(--logo-header-h) * 0.72)); }
  .footer__brand img { height: max(40px, calc(var(--logo-footer-h) * 0.72)); }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { gap: 16px; }
}

/* ============================================================
   8. HOME (front-page) SECTIONS — homepage v3
   ============================================================ */

/* Shared section head */
.section__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; margin-bottom: 36px; flex-wrap: wrap;
}
.section__head h2 {
  font-size: 40px; line-height: 1.1; margin: 0;
  letter-spacing: -0.008em; max-width: 22ch;
}
.section__head .eyebrow {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--secColor100); font-weight: 600; margin: 0 0 8px;
}
.section__head .right { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.section__head .right a {
  color: var(--priColor100); display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; border-bottom: 1px solid var(--borderColor); padding-bottom: 3px;
}
.section__head .right a:hover { color: var(--secColor100); border-color: var(--secColor100); }

/* Shared buttons — legacy homepage aliases, unified to the canonical .btn
   spec (portal single source of truth: 16px, 4px radius, 2px border, min 120x41). */
.btn-primary, .btn-secondary {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 120px; min-height: 41px; padding: 8px 16px;
  border: 2px solid transparent; border-radius: var(--iuasr-btn-radius);
  font-family: var(--sans-serif-font); font-size: 16px; font-weight: var(--iuasr-weight-medium); line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background var(--iuasr-duration-normal) var(--iuasr-ease-standard),
              color var(--iuasr-duration-normal) var(--iuasr-ease-standard),
              border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard);
}
.btn-primary { background: var(--secColor100); color: var(--priColor103) !important; border-color: var(--secColor100); }
.btn-primary:hover { background: var(--iuasr-btn-primary-hover); border-color: var(--iuasr-btn-primary-hover); color: #fff !important; }
.btn-secondary { background: transparent; color: var(--secColor100) !important; border-color: var(--secColor100); }
.btn-secondary:hover { background: rgba(200, 16, 46, 0.06); color: var(--iuasr-btn-primary-hover) !important; border-color: var(--secColor100); }

/* ---- HERO ---- */
.hero { background: var(--priColor100); }
.hero__stage { position: relative; overflow: hidden; display: grid; min-height: 560px; }
.hero__slide {
  grid-area: 1 / 1; position: relative; z-index: 0;
  display: flex; align-items: center; padding: 72px 0 110px;
  opacity: 0; pointer-events: none; transition: opacity 700ms ease;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero__copy {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad); padding-right: var(--container-pad);
}
.hero h1, .hero__title,
.hero__eyebrow,
.hero__actions { max-width: 640px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.hero__bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(16,4,74,0.90) 0%, rgba(16,4,74,0.74) 38%, rgba(16,4,74,0.34) 72%, rgba(16,4,74,0.18) 100%),
    linear-gradient(0deg, rgba(16,4,74,0.55) 0%, rgba(16,4,74,0) 36%);
}
.hero__bg--photo { background: var(--heroOverlay); }
/* Slider (iuasr_slide) options: image focus + overlay strength. */
.hero__bg-img.is-top { object-position: center top; }
.hero__bg-img.is-bottom { object-position: center bottom; }
.hero__bg--ovl-strong::after {
  background:
    linear-gradient(90deg, rgba(16,4,74,0.96) 0%, rgba(16,4,74,0.88) 40%, rgba(16,4,74,0.60) 78%, rgba(16,4,74,0.42) 100%),
    linear-gradient(0deg, rgba(16,4,74,0.70) 0%, rgba(16,4,74,0) 42%);
}
.hero__bg--ovl-light::after {
  background:
    linear-gradient(90deg, rgba(16,4,74,0.72) 0%, rgba(16,4,74,0.50) 40%, rgba(16,4,74,0.16) 78%, rgba(16,4,74,0.04) 100%),
    linear-gradient(0deg, rgba(16,4,74,0.34) 0%, rgba(16,4,74,0) 34%);
}
.hero__bg--panel { background-image: url("assets/img/docent-paneel.jpg"); background-position: center 62%; }
.hero__bg--brand { background: var(--heroOverlay) url("assets/logo/logo-icon.png") no-repeat calc(100% + 12vw) center / auto 148%; }
.hero__bg--heritage { background-image: url("assets/img/heritage-photo.png"); background-position: center 52%; }
.hero__eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--secColor300); font-weight: 600; margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero__eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--secColor300); display: inline-block; }
.hero h1, .hero__title {
  font-size: 60px; line-height: 1.06; margin: 0 0 22px;
  letter-spacing: -0.012em; color: #fff; text-wrap: pretty;
}
.hero h1 em, .hero__title em { font-style: normal; color: var(--secColor300); }
.hero__lead {
  font-size: 17.5px; line-height: 1.65; color: rgba(255,255,255,0.84);
  font-weight: 300; max-width: 52ch; margin: 0 0 32px; text-wrap: pretty;
}
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--secColor100); color: #fff !important;
  padding: 14px 24px; font-weight: 500; font-size: 15px; border-radius: var(--button-border-radius);
}
.hero__cta:hover { background: var(--iuasr-btn-primary-hover); }
.hero__cta-secondary { color: rgba(255,255,255,0.92) !important; font-weight: 500; font-size: 15px; white-space: nowrap; }
.hero__cta-secondary:hover { color: var(--secColor300) !important; }
.hero__nav { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 5; display: flex; justify-content: center; }
.hero__dots { display: flex; gap: 10px; align-items: center; }
.hero__dot {
  width: 36px; height: 4px; background: rgba(255,255,255,0.28);
  border: none; padding: 0; cursor: pointer; border-radius: 99px; transition: background 200ms;
}
.hero__dot.is-active { background: var(--secColor300); }

/* ---- NEWS ---- */
.news { background: #fff; padding: var(--space-section) 0; border-bottom: 1px solid var(--borderSubtleColor); }
.news__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.news__card {
  display: flex; flex-direction: column; text-decoration: none; background: #fff;
  border: 1px solid var(--borderSubtleColor); padding: 24px; transition: all 200ms;
  color: var(--priColor100); min-height: 220px;
}
.news__card:hover { border-color: var(--priColor100); transform: translateY(-2px); box-shadow: var(--iuasr-shadow-card-hover); }
.news__card-meta {
  display: flex; align-items: center; gap: 10px; font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blackAltText);
  font-weight: 500; margin-bottom: 14px;
}
.news__card-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blackAltText); }
.news__card-meta .tag { color: var(--secColor100); }
.news__card h3 { font-size: 21px; line-height: 1.25; margin: 0 0 10px; letter-spacing: -0.005em; text-wrap: balance; }
.news__card p { font-size: 14px; line-height: 1.6; color: var(--blackAltText); font-weight: 300; margin: 0; flex: 1; }
.news__card-cta { margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--secColor100); display: inline-flex; align-items: center; gap: 6px; }
.news__card--featured { grid-row: 1 / span 2; background: var(--priColor100); color: #fff; border-color: var(--priColor100); padding: 36px; }
.news__card--featured:hover { box-shadow: 0 16px 40px rgba(32,21,71,0.2); }
.news__card--featured .news__card-meta, .news__card--featured .news__card-meta .tag { color: var(--secColor300); }
.news__card--featured h3 { font-size: 32px; line-height: 1.15; color: #fff; margin-bottom: 16px; }
.news__card--featured p { color: rgba(242,241,244,0.78); font-size: 15px; }
.news__card--featured .news__card-cta { color: var(--secColor300); margin-top: 24px; }
.news__card--text h3 { font-size: 18px; }
.news__card--text p { font-size: 13.5px; line-height: 1.55; }

/* ---- STUDIES ---- */
.studies { padding: var(--space-section) 0; background: var(--priColor103); }
.studies__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.study-card {
  background: #fff; border: 1px solid var(--borderSubtleColor); padding: 36px 32px 32px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  min-height: 420px; transition: all 200ms;
}
.study-card:hover { border-color: var(--priColor100); transform: translateY(-2px); box-shadow: var(--iuasr-shadow-card-hover); }
.study-card__level {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--secColor100); font-weight: 600; margin: 0 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.study-card__level::before { content: ""; width: 28px; height: 1.5px; background: var(--secColor100); }
.study-card h3 { font-size: 28px; line-height: 1.14; margin: 0 0 12px; letter-spacing: -0.012em; text-wrap: balance; max-width: 16ch; }
.study-card__meta {
  display: flex; gap: 24px; font-size: 13px; color: var(--blackAltText);
  margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--borderSubtleColor);
}
.study-card__meta b { display: block; color: var(--priColor100); font-family: var(--serif-font); font-size: 17px; line-height: 1; margin-top: 4px; }
.study-card__desc { font-size: 14.5px; line-height: 1.65; color: var(--blackAltText); font-weight: 300; margin: 0 0 28px; flex: 1; max-width: 50ch; }
.study-card__actions { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
/* In the 3-up cards the two unified buttons must sit side by side, so let them
   shrink to content instead of enforcing the global 120px min-width. */
.study-card__actions .btn-primary, .study-card__actions .btn-secondary { min-width: 0; padding-left: 16px; padding-right: 16px; flex: 0 1 auto; white-space: nowrap; }

/* ---- QUOTE ---- */
.quote { background: #fff; padding: var(--space-section) 0; }
.quote__grid { display: grid; grid-template-columns: 80px 1fr 280px; gap: 48px; align-items: center; }
.quote__mark { font-family: var(--serif-font); font-size: 88px; line-height: 0.7; color: var(--secColor100); margin-top: 4px; }
.quote__text { font-size: 38px; line-height: 1.25; color: var(--priColor100); margin: 0 0 28px; letter-spacing: -0.008em; text-wrap: balance; max-width: 22ch; font-style: italic; font-family: var(--serif-font); }
.quote__cite { font-size: 13.5px; color: var(--blackAltText); line-height: 1.55; }
.quote__cite b { display: block; color: var(--priColor100); font-size: 14.5px; font-weight: 500; margin-bottom: 4px; }
.quote__cite i { display: block; margin-top: 8px; font-style: italic; font-size: 12.5px; }
.quote__side { border-left: 1px solid var(--borderSubtleColor); padding-left: 32px; font-size: 13.5px; line-height: 1.6; color: var(--blackAltText); }
.quote__side h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--priColor100); font-weight: 600; margin: 0 0 10px; }

/* ---- PABO ---- */
.pabo { background: var(--priColor103); padding: var(--space-section) 0; position: relative; }
.pabo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pabo__copy h2 { font-size: 44px; line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.012em; text-wrap: balance; }
.pabo__copy h2 em { font-style: italic; color: var(--secColor100); }
.pabo__lede { font-size: 17px; line-height: 1.6; color: var(--priColor100); margin: 0 0 24px; max-width: 52ch; }
.pabo__body { font-size: 14.5px; line-height: 1.7; color: var(--blackAltText); font-weight: 300; margin: 0 0 14px; max-width: 54ch; }
.pabo__body p { margin: 0 0 14px; }
.pabo__actions { margin-top: 28px; }
.pabo__card { background: #fff; border: 1px solid var(--borderSubtleColor); padding: 36px; position: sticky; top: 148px; }
.pabo__card-tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--secColor100); font-weight: 600; margin: 0 0 14px; display: inline-flex; align-items: center; gap: 12px; }
.pabo__card-tag::before { content: ""; width: 28px; height: 1.5px; background: var(--secColor100); }
.pabo__card h3 { font-size: 30px; line-height: 1.1; margin: 0 0 20px; letter-spacing: -0.008em; }
.pabo__card ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pabo__card ul li { display: flex; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--priColor100); }
.pabo__card ul li .icon { flex: none; color: var(--secColor100); margin-top: 3px; }
.pabo__card-when { background: var(--priColor103); padding: 18px 20px; margin-bottom: 24px; display: flex; gap: 24px; font-size: 13px; }
.pabo__card-when > div { display: flex; flex-direction: column; gap: 4px; }
.pabo__card-when .k { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blackAltText); font-weight: 600; }
.pabo__card-when .v { font-family: var(--serif-font); font-size: 17px; color: var(--priColor100); }

/* ---- TESTIMONIAL ---- */
.testimonial { background: #fff; padding: var(--space-section) 0; }
.testimonial__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; align-items: stretch; border-radius: 2px; overflow: hidden; background: var(--priColor100); color: #fff; }
.testimonial__photo { position: relative; min-height: 440px; background: var(--priColor100); }
/* Default (no custom alumnus photo set): on-brand indigo pattern panel — never a
   mismatched stock group photo. Set the alumnus portrait via the Home ACF field
   `tm_image` (wp-admin) to show a real photo instead. */
.testimonial__photo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(255,210,176,0.35), transparent 55%), var(--heroOverlay) url("assets/logo/logo-icon.png") no-repeat calc(100% + 4vw) center / auto 130%; opacity: 0.96; }
.testimonial__photo--custom::before { background: linear-gradient(180deg, transparent 30%, rgba(32,21,71,0.55) 100%); z-index: 1; }
.testimonial__photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.testimonial__caption { position: absolute; left: 32px; bottom: 28px; right: 32px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.testimonial__caption .k { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secColor300); font-weight: 600; }
.testimonial__caption .v { font-family: var(--serif-font); font-size: 22px; line-height: 1.2; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.testimonial__body { padding: 60px 56px 52px; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.testimonial__eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--secColor300); font-weight: 600; margin: 0; display: flex; align-items: center; gap: 12px; }
.testimonial__eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--secColor300); }
.testimonial__text { font-size: 26px; line-height: 1.4; margin: 0; color: #fff; letter-spacing: -0.005em; text-wrap: pretty; font-style: italic; font-family: var(--serif-font); }
.testimonial__attrib { display: flex; flex-direction: column; gap: 4px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.15); }
.testimonial__attrib .name { font-family: var(--serif-font); font-size: 20px; color: #fff; }
.testimonial__attrib .role { font-size: 12.5px; letter-spacing: 0.06em; color: rgba(255,210,176,0.85); }

/* ---- DONATE (compact contained indigo CTA panel with the globe watermark) ---- */
.donate { background: #fff; padding: var(--space-section) 0; }
.donate__panel { position: relative; overflow: hidden; border-radius: 2px; background: var(--heroOverlay); color: #fff; box-shadow: var(--iuasr-shadow-lg); }
.donate__panel-bg { position: absolute; inset: 0; z-index: 0; background: url("assets/logo/logo-icon.png") no-repeat calc(100% + 3vw) center / auto 150%; opacity: 0.9; }
.donate__panel-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,4,74,0.96) 0%, rgba(16,4,74,0.86) 52%, rgba(16,4,74,0.5) 100%); }
.donate__inner { position: relative; z-index: 2; color: #fff; max-width: 640px; padding: 52px 56px; display: flex; flex-direction: column; gap: 16px; }
.donate__label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--secColor300); }
.donate__inner h2 { font-family: var(--serif-font); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: -0.005em; text-wrap: balance; max-width: 18ch; color: #fff; margin: 0; }
.donate__inner h2 em { font-style: italic; color: var(--secColor300); }
.donate__desc { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.85); font-weight: 300; max-width: 46ch; margin: 0; }
.donate__desc p { margin: 0 0 12px; }
.donate__desc p:last-child { margin-bottom: 0; }
.donate__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 6px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); }
.donate__meta div { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; }
.donate__meta .k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,210,176,0.85); }
.donate__meta .v { color: #fff; font-weight: 500; }
.donate__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.donate__anbi { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--secColor300); }
.donate__anbi .icon { transition: transform 200ms var(--iuasr-ease-standard); }
/* On the indigo panel, peach → white on hover (crimson read as a jarring red). */
.donate__anbi:hover { color: #fff; }
.donate__anbi:hover .icon { transform: translateX(3px); }
.btn-paypal { background: var(--secColor300); color: var(--priColor100) !important; padding: 13px 24px; font-weight: 600; font-size: 14.5px; border-radius: var(--button-border-radius); display: inline-flex; align-items: center; gap: 10px; }
.btn-paypal:hover { background: #FFE6CB; }

/* ---- TEASERS ---- */
.teasers { padding: var(--space-section) 0; background: #fff; }
.teasers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.teaser { display: flex; flex-direction: column; background: var(--priColor103); padding: 44px; text-decoration: none; color: var(--priColor100); min-height: 240px; transition: all 200ms; position: relative; overflow: hidden; border: 1px solid var(--borderSubtleColor); }
.teaser:hover { background: var(--priColor100); color: #fff; }
.teaser__tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--secColor100); margin-bottom: 14px; }
.teaser:hover .teaser__tag { color: var(--secColor300); }
.teaser h3 { font-size: 28px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.008em; max-width: 18ch; text-wrap: balance; }
.teaser p { font-size: 14px; line-height: 1.55; color: var(--blackAltText); font-weight: 300; margin: 0; flex: 1; }
.teaser:hover p { color: rgba(242,241,244,0.78); }
.teaser__cta { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--secColor100); }
.teaser:hover .teaser__cta { color: var(--secColor300); }

/* ---- PRE-FOOTER ---- */
.prefooter { background: var(--priColor103); padding: 88px 0 72px; border-top: 1px solid var(--borderSubtleColor); }
.prefooter__grid { display: grid; grid-template-columns: 1.2fr 2.5fr; gap: 80px; }
.newsletter h3 { font-size: 30px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.008em; text-wrap: balance; }
.newsletter p { font-size: 14px; line-height: 1.6; color: var(--blackAltText); font-weight: 300; margin: 0 0 22px; max-width: 42ch; }
.newsletter__form .iuasr-form-placeholder { font-size: 13px; color: var(--blackAltText); }
.newsletter__form .gform_wrapper { margin: 0; }
.newsletter__form .gfield { margin-bottom: 10px; }
.newsletter__form input:not([type=submit]), .newsletter__form select, .newsletter__form textarea {
  width: 100%; border: 1px solid var(--borderColor); background: #fff;
  font-family: inherit; font-size: 14px; padding: 12px 14px; color: var(--priColor100);
  border-radius: var(--button-border-radius);
}
.newsletter__form input:focus { outline: none; border-color: var(--secColor100); box-shadow: var(--iuasr-focus-ring); }
.newsletter__form .gform_button, .newsletter__form input[type=submit] {
  background: var(--secColor100); color: #fff; border: 0; padding: 13px 22px;
  font-family: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer;
  border-radius: var(--button-border-radius); transition: background 150ms;
}
.newsletter__form .gform_button:hover, .newsletter__form input[type=submit]:hover { background: var(--iuasr-btn-primary-hover); }
/* Inline row layout: email field + submit side-by-side */
.newsletter__form form.gform { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.newsletter__form .gform_body { flex: 1; min-width: 0; }
.newsletter__form .gform_footer,
.newsletter__form .gform_page_footer { margin: 0; padding: 0; flex-shrink: 0; }
.newsletter__form .gfield_label,
.newsletter__form .gfield_required { display: none; }
.newsletter__form .gfield { margin-bottom: 0; }
.newsletter__form .ginput_container { margin-top: 0; }
/* Confirmation + validation */
.newsletter__form .gform_confirmation_wrapper,
.newsletter__form .gform_confirmation_message {
  font-size: 14px; line-height: 1.5; color: var(--priColor100);
  padding: 12px 16px; border-left: 3px solid var(--secColor100);
  background: rgba(37,100,176,0.06); border-radius: 4px;
}
.newsletter__form .gfield_validation_message,
.newsletter__form .validation_message { font-size: 12px; color: #c0392b; margin-top: 4px; }
.newsletter__form .gform_validation_errors,
.newsletter__form .gform_submission_error { display: none; }
.iuasr-quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.iuasr-quicklinks h5 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blackAltText); font-weight: 600; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--borderSubtleColor); }
.iuasr-quicklinks ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.iuasr-quicklinks ul a { font-size: 14px; color: var(--priColor100); display: inline-flex; align-items: center; gap: 6px; }
.iuasr-quicklinks ul a:hover { color: var(--secColor100); }
.iuasr-quicklinks ul a .icon { opacity: 0.4; }

/* ---- HOME RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero__slide { padding: 48px 0 96px; }
  .hero h1 { font-size: 44px; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .news__card--featured { grid-row: 1; grid-column: 1 / -1; }
  .studies__grid { grid-template-columns: 1fr; }
  .study-card { min-height: 0; }
  .quote__grid { grid-template-columns: 1fr; gap: 24px; }
  .quote__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--borderSubtleColor); padding-top: 20px; }
  .pabo__grid, .prefooter__grid, .testimonial__grid { grid-template-columns: 1fr; gap: 32px; }
  .donate__inner { padding: 44px 36px; max-width: none; }
  .pabo__card { position: static; }
  .teasers__grid { grid-template-columns: 1fr; }
  .iuasr-quicklinks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .hero__copy { padding-left: 20px; padding-right: 20px; }
  .news__grid { grid-template-columns: 1fr; }
  .section__head h2 { font-size: 30px; }
  .quote__text { font-size: 28px; }
  .pabo__copy h2 { font-size: 32px; }
  .donate__inner { padding: 32px 22px; }
  .donate__inner h2 { font-size: 27px; }
  /* Text spans the full narrow width, so darken the scrim almost fully. */
  .donate__panel-bg::after { background: linear-gradient(90deg, rgba(16,4,74,0.96) 0%, rgba(16,4,74,0.92) 60%, rgba(16,4,74,0.82) 100%); }
  .testimonial__body { padding: 36px 28px; }
  .iuasr-quicklinks { grid-template-columns: 1fr; }
}

/* ============================================================
   9. QC PASS — design-fidelity fixes (motion, admin bar, contrast)
   ============================================================ */

/* Protect the WP admin bar from the theme's global resets (mirrors what
   admin-bar.css does itself — guards against breakage if that CSS fails to
   load, e.g. behind a broken SSL cert). */
#wpadminbar, #wpadminbar * { box-sizing: content-box; }
#wpadminbar img { display: inline-block; height: auto; max-width: none; }
/* NB: the theme's footer quicklinks use the namespaced class .iuasr-quicklinks —
   because WordPress's own admin-bar toolbar is <div id="wp-toolbar" class="quicklinks">.
   An unscoped footer class of the same name leaked its grid/flex layout into the bar
   and stacked it vertically; keeping the theme class namespaced avoids that clash. */

/* NOTE (v0.11.9): the theme no longer re-implements the admin-bar layout — the
   LiteSpeed guard is fixed so core admin-bar.css loads intact and renders the bar
   (and its dropdowns) natively, exactly like wp-admin. We keep only the box-sizing
   shield (above) and the sticky-header offset (below). */

/* WordPress admin bar: keep the sticky header below it when logged in. */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media screen and (max-width: 600px) {
  /* WP admin bar is position:absolute below 600px (scrolls away). */
  .admin-bar .site-header { top: 0; }
}

/* Mirror core's html top-bump so the page never slides under the bar even when
   LiteSpeed strips the inline _admin_bar_bump_cb style for logged-in admins.
   Uses margin-top (the same property core uses) so the two coalesce to 32px
   rather than stacking to 64px when both are present. Admin-only, never seen
   by visitors. */
@media screen {
  html.wp-toolbar { margin-top: 32px; }
}
@media screen and (max-width: 782px) {
  html.wp-toolbar { margin-top: 46px; }
}

/* Motion: smooth hover transitions on buttons + interactive links
   (token timings, per the design system). Cards/nav already animate. */
.btn-primary, .btn-secondary, .hero__cta, .hero__cta-secondary, .btn-paypal,
.utility__cta, .news__card-cta, .teaser__cta, .iuasr-quicklinks ul a, .mega ul a,
.footer__col ul a, .footer__bottom .legal a, .section__head .right a, .study-card__level {
  transition: background var(--iuasr-duration-normal) var(--iuasr-ease-standard),
              color var(--iuasr-duration-normal) var(--iuasr-ease-standard),
              border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard);
}

/* Hero: slow Ken Burns zoom on the active slide (reduced-motion-safe). */
.hero__bg { transform: scale(1.08); transition: transform 8000ms ease-out; }
.hero__slide.is-active .hero__bg { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero__slide.is-active .hero__bg { transform: none; transition: none; }
}

/* Full logo lockup in the header (no text), left-aligned. */
.brand__logo { display: block; }

/* ============================================================
   10. REUSABLE COMPONENT LIBRARY
   ------------------------------------------------------------
   Design-system-faithful, token-driven building blocks shared by
   every Phase-2+ template (T1, people, contact, legal, FAQ,
   editorial). Source of truth: "IUASR Design System.html" +
   tokens.css. Homepage v3 sections above are intentionally left
   untouched. Buttons use the site-locked 2px radius
   (--iuasr-btn-radius); other surfaces use the radius scale.
   ============================================================ */

/* ---- 10.1 Buttons (6 variants × 3 sizes) ---- */
.btn {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 120px; min-height: 41px;
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: var(--iuasr-btn-radius);
  font-family: var(--sans-serif-font);
  font-size: 16px; font-weight: var(--iuasr-weight-medium); line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background var(--iuasr-duration-normal) var(--iuasr-ease-standard),
              color var(--iuasr-duration-normal) var(--iuasr-ease-standard),
              border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard);
}
.btn:focus-visible { outline: none; box-shadow: var(--iuasr-focus-ring); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn .icon { width: 16px; height: 16px; flex-shrink: 0; }
.btn--primary { background: var(--secColor100); color: var(--priColor103) !important; }
.btn--primary:hover:not(:disabled) { background: var(--iuasr-btn-primary-hover); color: #fff !important; }
.btn--secondary { background: transparent; color: var(--secColor100) !important; border-color: var(--secColor100); }
.btn--secondary:hover:not(:disabled) { background: rgba(200, 16, 46, 0.06); }
.btn--tertiary { background: var(--priColor100); color: var(--priColor103) !important; }
.btn--tertiary:hover:not(:disabled) { background: #15123A; }
.btn--quiet { background: transparent; color: var(--priColor100) !important; border-color: var(--borderColor); }
.btn--quiet:hover:not(:disabled) { background: var(--priColor102); border-color: var(--priColor100); }
.btn--link { background: transparent; color: var(--priColor100) !important; border: 0; min-width: 0; min-height: 0; padding: 0; }
.btn--link:hover { text-decoration: underline; }
.btn--sm { min-height: 32px; min-width: 90px; padding: 4px 12px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 12px 22px; font-size: 17px; }
.btn--full { width: 100%; }
/* On indigo/dark sections, the peach button reads as the warm accent. */
.btn--peach { background: var(--secColor300); color: var(--priColor100) !important; }
.btn--peach:hover:not(:disabled) { background: #FFE6CB; }

/* ---- 10.2 Form fields + states ---- */
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field > label { display: block; font-size: 13px; font-weight: var(--iuasr-weight-medium); color: var(--priColor100); margin-bottom: 6px; }
.field > label .req { color: var(--secColor100); }
.field input, .field select, .field textarea {
  width: 100%; height: 41px; padding: 8px 12px;
  font-family: inherit; font-size: 14px; font-weight: var(--iuasr-weight-body);
  background: #fff; color: var(--priColor100);
  border: 1px solid var(--borderColor); border-radius: var(--iuasr-radius-sm);
  transition: border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard),
              box-shadow var(--iuasr-duration-normal) var(--iuasr-ease-standard);
}
.field textarea { height: auto; min-height: 92px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(32, 21, 71, 0.35); }
.field input:hover:not(:focus):not(:disabled),
.field select:hover:not(:focus):not(:disabled),
.field textarea:hover:not(:focus):not(:disabled) { border-color: var(--priColor100); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--secColor100); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.20);
}
.field input:disabled, .field textarea:disabled, .field select:disabled {
  background: var(--priColor101); cursor: not-allowed; color: var(--blackAltText);
}
.field input.err, .field textarea.err, .field select.err { border-color: var(--secColor100); background: var(--iuasr-error-bg); }
.field .help { font-size: 11.5px; color: var(--blackAltText); margin-top: 5px; font-weight: 300; }
.field .errmsg { font-size: 12px; color: var(--secColor100); margin-top: 5px; font-weight: var(--iuasr-weight-medium); display: flex; align-items: center; gap: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- 10.3 Gravity Forms skin — fully custom (GF default CSS disabled via
   gform_disable_css, mirroring the portal). Targets .gform_wrapper directly so
   the skin applies everywhere, with no dependency on GF's orbital theme. ---- */
.gform_wrapper { margin: 0; padding: 0; max-width: 100% !important; }
/* GF 2.5+ renders checkbox/consent/radio fields as a <fieldset> with a
   <legend class="gfield_label">; strip the UA fieldset chrome so they look
   like every other field (GF's own CSS is disabled). */
.gform_wrapper fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.gform_wrapper legend.gfield_label { padding: 0; float: none; width: auto; }
.gform_wrapper .gform_heading { display: none; }
.gform_wrapper .gform_body { margin: 0; }
.gform_wrapper .gform_required_legend { display: none; }
/* Field list: two-column grid; fields span full width unless marked .iuasr-half. */
.gform_wrapper .gform_fields { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; }
.gform_wrapper .gfield { margin: 0; grid-column: 1 / -1; min-width: 0; }
.gform_wrapper .gfield.iuasr-half { grid-column: span 1; }
@media (max-width: 580px) { .gform_wrapper .gform_fields { grid-template-columns: 1fr; } .gform_wrapper .gfield.iuasr-half { grid-column: 1 / -1; } }
.gform_wrapper .gfield_label { display: block; font-size: 14px; font-weight: var(--iuasr-weight-medium); line-height: 20px; color: var(--priColor100); margin-bottom: 6px; }
.gform_wrapper .gfield_required { color: var(--secColor100); margin-left: 2px; }
.gform_wrapper .gfield_description { font-size: 13px; color: var(--blackAltText); margin: 4px 0; line-height: 19px; }
.gform_wrapper .ginput_container input[type="text"],
.gform_wrapper .ginput_container input[type="email"],
.gform_wrapper .ginput_container input[type="tel"],
.gform_wrapper .ginput_container input[type="number"],
.gform_wrapper .ginput_container input[type="url"],
.gform_wrapper .ginput_container input[type="date"],
.gform_wrapper .ginput_container select,
.gform_wrapper .ginput_container textarea {
  display: block; width: 100%; padding: 8px 12px;
  font-family: var(--sans-serif-font); font-size: 15px; font-weight: 400; line-height: 22px;
  color: var(--priColor100); background: #fff;
  border: 1px solid var(--borderColor); border-radius: var(--iuasr-radius-sm);
  -webkit-appearance: none; appearance: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.gform_wrapper .ginput_container input[type="text"],
.gform_wrapper .ginput_container input[type="email"],
.gform_wrapper .ginput_container input[type="tel"],
.gform_wrapper .ginput_container input[type="number"],
.gform_wrapper .ginput_container input[type="url"],
.gform_wrapper .ginput_container input[type="date"],
.gform_wrapper .ginput_container select { height: 41px; }
.gform_wrapper .ginput_container textarea { min-height: 120px; resize: vertical; }
.gform_wrapper .ginput_container input::placeholder, .gform_wrapper .ginput_container textarea::placeholder { color: rgba(30, 20, 70, 0.30); }
.gform_wrapper .ginput_container input:focus, .gform_wrapper .ginput_container select:focus, .gform_wrapper .ginput_container textarea:focus {
  outline: none; border-color: var(--secColor100); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.20);
}
/* Custom select arrow */
.gform_wrapper .ginput_container_select { position: relative; }
.gform_wrapper .ginput_container_select::after { content: ""; pointer-events: none; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 10px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231E1446' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.gform_wrapper .ginput_container_select select { padding-right: 36px; }
/* Consent / checkbox */
.gform_wrapper .gfield_checkbox .gchoice, .gform_wrapper .ginput_container_consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; color: var(--priColor100); }
.gform_wrapper .gfield_checkbox input, .gform_wrapper .ginput_container_consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--secColor100); }
/* Validation */
.gform_wrapper .gfield_description.validation_message, .gform_wrapper .validation_message { color: var(--secColor100); font-size: 12px; font-weight: var(--iuasr-weight-medium); margin-top: 5px; }
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error textarea, .gform_wrapper .gfield_error select { border-color: var(--secColor100); background: var(--iuasr-error-bg); }
.gform_wrapper .gform_validation_errors { background: var(--iuasr-error-bg); border: 1px solid rgba(200,16,46,0.25); border-radius: var(--iuasr-radius-sm); padding: 12px 16px; font-size: 13px; color: var(--iuasr-error-fg); margin-bottom: 18px; }
/* Submit */
.gform_wrapper .gform_footer { margin-top: 18px; padding: 0; }
.gform_wrapper .gform_button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 120px; min-height: 41px; padding: 8px 22px;
  background: var(--secColor100); color: #fff; border: 2px solid var(--secColor100); cursor: pointer;
  font-family: var(--sans-serif-font); font-size: 16px; font-weight: var(--iuasr-weight-medium); line-height: 1.2;
  border-radius: var(--iuasr-btn-radius);
  transition: background 150ms, border-color 150ms;
}
.gform_wrapper .gform_button:hover { background: var(--iuasr-btn-primary-hover); border-color: var(--iuasr-btn-primary-hover); }
.gform_confirmation_message { background: var(--iuasr-success-bg); color: var(--iuasr-success-fg); padding: 16px 18px; border-radius: var(--iuasr-radius-sm); }

/* ---- 10.4 Card ---- */
.card { background: var(--iuasr-bg-card); border: 1px solid var(--borderSubtleColor); border-radius: var(--iuasr-radius-md); padding: 22px 24px 24px; box-shadow: var(--iuasr-shadow-sm); }
.card--flat { box-shadow: none; }
.card--link { display: block; color: inherit; text-decoration: none; transition: border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard), transform var(--iuasr-duration-normal) var(--iuasr-ease-standard), box-shadow var(--iuasr-duration-normal) var(--iuasr-ease-standard); }
.card--link:hover { border-color: var(--priColor100); transform: translateY(-2px); box-shadow: var(--iuasr-shadow-card-hover); }

/* ---- 10.5 Peach callout ---- */
.callout { background: var(--secColor300); border-radius: var(--iuasr-radius-md); padding: 22px 24px; }
.callout small { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: var(--iuasr-weight-medium); color: var(--secColor100); display: block; margin-bottom: 8px; }
.callout h2, .callout h3, .callout h4, .callout h5 { font-family: var(--serif-font); font-weight: 400; font-size: 20px; line-height: 1.2; margin: 0 0 8px; color: var(--priColor100); }
.callout p { font-size: 13.5px; line-height: 1.55; color: var(--priColor100); margin: 0; }

/* ---- 10.6 Alerts ---- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--iuasr-radius-sm); font-size: 14px; line-height: 1.5; border: 1px solid; }
.alert .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert b { font-weight: var(--iuasr-weight-medium); }
.alert--info { background: var(--secColor301); border-color: rgba(255, 210, 176, 0.7); color: var(--priColor100); }
.alert--success { background: #E7F5EE; border-color: #BDE2CE; color: #0F4F30; }
.alert--warn { background: #FDF4E3; border-color: #F4DEA0; color: #6E4604; }
.alert--error { background: #FBE9EB; border-color: #F0B7BF; color: #7E0A1D; }

/* ---- 10.7 Tables (data + prose) ---- */
.table-wrap { background: #fff; border: 1px solid var(--borderSubtleColor); border-radius: var(--iuasr-radius-md); overflow-x: auto; }
.iuasr-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.iuasr-table th, .iuasr-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--borderSubtleColor); }
.iuasr-table thead th { background: var(--priColor101); font-weight: var(--iuasr-weight-medium); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blackAltText); }
.iuasr-table tbody tr { transition: background var(--iuasr-duration-fast) var(--iuasr-ease-standard); }
.iuasr-table tbody tr:hover { background: var(--priColor101); }
.iuasr-table tbody tr:last-child td { border-bottom: 0; }

/* ---- 10.8 Badges + article tags ---- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: var(--iuasr-radius-sm); font-size: 11.5px; font-weight: var(--iuasr-weight-medium); background: var(--priColor102); color: var(--priColor100); }
.badge--crimson { background: rgba(200, 16, 46, 0.10); color: var(--secColor100); }
.badge--peach { background: var(--secColor301); color: #8C4513; }
.badge--outline { background: transparent; border: 1px solid var(--borderColor); color: var(--priColor100); }
/* Eyebrow/category tag (news/blog/event single + teaser cards) */
.tag { display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--secColor100); }
.tag--peach { background: var(--secColor300); color: var(--priColor100); padding: 4px 12px; border-radius: var(--iuasr-radius-full); letter-spacing: 0.1em; }

/* ---- 10.9 Breadcrumbs (BreadcrumbList markup wired in Phase 13) ---- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--blackAltText); }
.breadcrumbs a { color: var(--blackAltText); }
.breadcrumbs a:hover { color: var(--priColor100); text-decoration: underline; }
.breadcrumbs .sep { color: rgba(32, 21, 71, 0.30); }
.breadcrumbs .cur { color: var(--priColor100); font-weight: var(--iuasr-weight-medium); }

/* ---- 10.10 Tabs ---- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--borderSubtleColor); overflow-x: auto; }
.tab { padding: 10px 14px; font-size: 14px; font-weight: var(--iuasr-weight-medium); color: var(--blackAltText); background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: color var(--iuasr-duration-normal) var(--iuasr-ease-standard), border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard); }
.tab:hover { color: var(--priColor100); }
.tab.is-active { color: var(--priColor100); border-color: var(--secColor100); }

/* ---- 10.11 Pagination (WP paginate_links + manual) ---- */
.pagination { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; justify-content: center; }
.pagination .page-numbers {
  min-width: 36px; height: 36px; padding: 0 8px;
  border-radius: var(--iuasr-radius-sm); border: 1px solid var(--borderSubtleColor);
  background: #fff; color: var(--priColor100); font-size: 13.5px; font-weight: var(--iuasr-weight-medium);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  transition: background var(--iuasr-duration-normal) var(--iuasr-ease-standard), border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard);
}
.pagination a.page-numbers:hover { border-color: var(--priColor100); background: var(--priColor101); }
.pagination .page-numbers.current { background: var(--priColor100); color: var(--priColor103); border-color: var(--priColor100); }
.pagination .page-numbers.dots { border: 0; background: transparent; color: var(--blackAltText); }

/* ---- 10.12 Accordion (FAQ + disclosure; refined in the FAQ phase) ---- */
.accordion { border-top: 1px solid var(--borderSubtleColor); }
.accordion__item { border-bottom: 1px solid var(--borderSubtleColor); }
.accordion__item > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; font-family: var(--serif-font); font-size: 19px; color: var(--priColor100);
}
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__item > summary .icon { color: var(--secColor100); transition: transform var(--iuasr-duration-normal) var(--iuasr-ease-standard); flex: none; }
.accordion__item[open] > summary .icon { transform: rotate(180deg); }
.accordion__panel { padding: 0 4px 20px; font-size: 14.5px; line-height: 1.7; color: var(--blackAltText); font-weight: 300; max-width: 70ch; }

/* ---- 10.13 Prose / rich-text body (Gutenberg + article bodies) ---- */
.prose { max-width: 68ch; color: var(--iuasr-text-default); font-size: 17px; line-height: 1.75; font-weight: var(--iuasr-weight-body-light); text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.prose > * + * { margin-top: 1.75em; }
/* Paragraphs: needs its own selector to beat `.prose p { margin:0 }`. */
.prose p + p { margin-top: 1.75em; }
/* Headings must never justify/hyphenate — that creates huge word gaps on wrap. */
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
/* Justify reads badly on narrow screens (big word gaps) — left-align on mobile. */
@media (max-width: 640px) { .prose { text-align: left; hyphens: manual; } }
.prose h2 { font-family: var(--serif-font); font-weight: 400; font-size: 30px; line-height: 1.18; margin: 1.8em 0 0.5em; color: var(--priColor100); }
.prose h3 { font-family: var(--serif-font); font-weight: 400; font-size: 23px; line-height: 1.22; margin: 1.5em 0 0.4em; color: var(--priColor100); }
.prose h4 { font-family: var(--sans-serif-font); font-weight: var(--iuasr-weight-medium); font-size: 18px; margin: 1.3em 0 0.4em; color: var(--priColor100); }
.prose p { margin: 0; }
.prose a { color: var(--secColor100); text-decoration: underline; text-underline-offset: 2px; }
.prose ol { padding-left: 1.4em; }
.prose ul { list-style: none; padding-left: 1.4em; }
.prose li { margin: 0.35em 0; }
.prose ol > li::marker { color: var(--secColor100); }
/* Content bullets use a restrained crimson en-dash marker instead of the
   default disc (the round dot reads as a templated/AI default). Nav lists
   are unaffected — they already set list-style:none. */
.prose ul > li { position: relative; }
.prose ul > li::before {
  content: "–"; position: absolute; left: -1.4em; top: 0;
  color: var(--secColor100); font-weight: 600;
}
.prose img { border-radius: var(--iuasr-radius-md); }
.prose figure { margin: 0; }
.prose figcaption { font-size: 12.5px; color: var(--blackAltText); margin-top: 8px; }
.prose blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--secColor300); font-family: var(--serif-font); font-size: 22px; line-height: 1.4; color: var(--priColor100); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--borderSubtleColor); }
/* Tables: rounded bordered container (scrolls on narrow screens), indigo header,
   zebra rows — legible + on-brand (e.g. the grading schedules on Erasmus+ pages). */
.prose .wp-block-table { margin: 1.75em 0; overflow-x: auto; border: 1px solid var(--borderSubtleColor); border-radius: var(--iuasr-radius-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; text-align: left; }
.prose th, .prose td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--borderSubtleColor); vertical-align: top; }
.prose thead th { background: var(--priColor100); color: #fff; font-family: var(--sans-serif-font); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.prose tbody tr:nth-child(even) { background: var(--priColor103); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td:not(:last-child), .prose th:not(:last-child) { border-right: 1px solid var(--borderSubtleColor); }

/* ---- 10.14 Document-download row (T1, T2, T7) ---- */
.doc-list { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.doc-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--borderSubtleColor); border-radius: var(--iuasr-radius-md);
  color: var(--priColor100); text-decoration: none;
  transition: border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard), box-shadow var(--iuasr-duration-normal) var(--iuasr-ease-standard);
}
.doc-item:hover { border-color: var(--priColor100); box-shadow: var(--iuasr-shadow-card-hover); }
.doc-item__icon { color: var(--secColor100); flex: none; }
.doc-item__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-item__title { font-weight: var(--iuasr-weight-medium); font-size: 15px; }
.doc-item__sub { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blackAltText); }
.doc-item__action { margin-left: auto; color: var(--secColor100); flex: none; }

/* ---- 10.15 Brand-strip ("kennis, geloof en compassie") ---- */
.brand-strip { background: var(--priColor100); color: #fff; padding: var(--space-xl) 0; text-align: center; }
.brand-strip h2 { font-family: var(--serif-font); font-weight: 400; font-size: 34px; line-height: 1.2; margin: 0 auto; max-width: 22ch; color: #fff; text-wrap: balance; }
.brand-strip h2 em { font-style: italic; color: var(--secColor300); }
.brand-strip p { margin: 16px auto 0; max-width: 56ch; color: rgba(242, 241, 244, 0.78); font-weight: 300; }
.brand-strip .btn { margin-top: 28px; }

/* ---- 10.16 Generic page hero (pattern + photo variants) ---- */
/* The universal hero used by every non-home template (overview §1).
   Photo variant for programmes/news; pattern (indigo) variant for content. */
.page-hero { position: relative; background: var(--priColor100); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 4, 74, 0.92) 0%, rgba(16, 4, 74, 0.72) 48%, rgba(16, 4, 74, 0.42) 100%); }
.page-hero__inner { position: relative; z-index: 2; max-width: var(--container-max); margin: 0 auto; padding: 72px var(--container-pad) 64px; }
.page-hero__eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--secColor300); font-weight: 600; margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.page-hero__eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--secColor300); }
.page-hero h1 { font-size: 48px; line-height: 1.08; margin: 0; letter-spacing: -0.012em; color: #fff; text-wrap: balance; max-width: 20ch; }
.page-hero__sub { font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.84); font-weight: 300; max-width: 56ch; margin: 18px 0 0; text-wrap: pretty; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.page-hero--pattern .page-hero__bg { background: var(--heroOverlay) url("assets/logo/logo-icon.png") no-repeat calc(100% + 8vw) center / auto 150%; opacity: 0.9; }
.page-hero--pattern .page-hero__bg::after { background: linear-gradient(90deg, rgba(16, 4, 74, 0.94) 0%, rgba(16, 4, 74, 0.80) 60%, rgba(16, 4, 74, 0.55) 100%); }

/* ---- 10.17 Person card (T4 grid → T3 profile) ---- */
.person-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person-card { display: flex; flex-direction: column; text-decoration: none; color: var(--priColor100); background: #fff; border: 1px solid var(--borderSubtleColor); border-radius: var(--iuasr-radius-md); overflow: hidden; transition: border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard), transform var(--iuasr-duration-normal) var(--iuasr-ease-standard), box-shadow var(--iuasr-duration-normal) var(--iuasr-ease-standard); }
.person-card:hover { border-color: var(--priColor100); transform: translateY(-2px); box-shadow: var(--iuasr-shadow-card-hover); }
.person-card__photo { aspect-ratio: 3 / 4; background: var(--priColor103); object-fit: cover; width: 100%; }
.person-card__body { padding: 18px 20px 22px; }
.person-card__name { font-family: var(--serif-font); font-size: 20px; line-height: 1.15; margin: 0 0 4px; }
.person-card__role { font-size: 13px; color: var(--blackAltText); }

/* ---- 10.18 Section rhythm helpers ---- */
.section { padding: var(--space-section) 0; }
.section--alt { background: var(--iuasr-bg-alt); }
.section--dark { background: var(--iuasr-bg-dark); color: #fff; }
.section__intro { max-width: 60ch; }

/* ---- 10.19 Component responsive pass (320 → 1100) ---- */
@media (max-width: 1024px) {
  .person-grid { grid-template-columns: repeat(3, 1fr); }
  .page-hero h1 { font-size: 40px; }
  .phero h1 { font-size: 42px; }
}
@media (max-width: 640px) {
  .person-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .page-hero__inner { padding: 48px 20px 40px; }
  .page-hero h1 { font-size: 32px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 25px; }
  .prose h3 { font-size: 20px; }
  .brand-strip h2 { font-size: 26px; }
  .btn { min-width: 0; }
}
@media (max-width: 380px) {
  .person-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   11. PAGE TEMPLATES
   ============================================================ */

/* ---- 11.1 Contact (T5, page-contact.php) — portal contact design, ported
   1:1 from the design (Pages (Design only)/pages/contact.html; the portal
   implements it as .iuasr-contact-page). Everything is scoped under the page
   wrapper .iuasr-contact so the Gravity Forms overrides never leak into the
   newsletter or any other form. ---- */

/* ---- Contact page (redesign 2026-07-11) ---- */
/* Two columns: branded indigo contact card + form card. */
.iuasr-contact .contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: start; }
.iuasr-contact .contact-card { background: var(--priColor100); color: #fff; border-radius: var(--iuasr-radius-lg); padding: 36px 34px; }
.iuasr-contact .contact-card__title { font-family: var(--serif-font); font-weight: 400; font-size: 24px; color: #fff; margin: 0 0 22px; }
.iuasr-contact .contact-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.iuasr-contact .contact-card__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.85); }
.iuasr-contact .contact-card__list li b { color: #fff; font-weight: 500; }
.iuasr-contact .contact-card__list a { color: rgba(255,255,255,0.85); }
.iuasr-contact .contact-card__list a:hover { color: #fff; }
.iuasr-contact .contact-card__list .icon { flex: none; color: var(--secColor300); margin-top: 2px; }
.iuasr-contact .contact-card__org { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); }
.iuasr-contact .contact-card__org-title { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secColor300); font-weight: 600; margin: 0 0 14px; }
.iuasr-contact .contact-card__org-grid { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 13.5px; }
.iuasr-contact .contact-card__org-grid .k { color: rgba(255,210,176,0.85); font-weight: 600; letter-spacing: 0.04em; }
.iuasr-contact .contact-card__org-grid .v { color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.iuasr-contact .contact-formcard { background: #fff; border: 1px solid var(--borderSubtleColor); border-radius: var(--iuasr-radius-lg); padding: 36px 34px; }
.iuasr-contact .contact-formcard__title { font-family: var(--serif-font); font-weight: 400; font-size: 26px; color: var(--priColor100); margin: 0 0 20px; }
.iuasr-contact .contact-body { max-width: none; margin: 40px 0 0; }

/* Designed campus map: full-bleed frame with a floating address card, flush to the footer. */
.iuasr-contact > .section { padding-bottom: 0; }
.iuasr-contact .contact-map { position: relative; margin-top: 96px; }
.iuasr-contact .contact-map__frame { position: relative; width: 100%; height: 480px; overflow: hidden; background: var(--priColor103); }
.iuasr-contact .contact-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.iuasr-contact .contact-map__card { position: absolute; left: max(24px, calc((100% - var(--container-max)) / 2 + 24px)); top: 32px; z-index: 2; background: #fff; border-radius: var(--iuasr-radius-md); box-shadow: var(--iuasr-shadow-lg); padding: 24px 26px; max-width: 320px; }
.iuasr-contact .contact-map__eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secColor100); font-weight: 600; margin: 0 0 10px; }
.iuasr-contact .contact-map__addr { font-size: 15px; line-height: 1.6; color: var(--priColor100); margin: 0 0 16px; }
.iuasr-contact .contact-map__addr b { font-weight: 600; }

/* Legacy hero (kept for safety; redesign uses .page-hero). */
.iuasr-contact .contact-hero { margin-bottom: 44px; max-width: 60ch; }
.iuasr-contact .contact-hero .breadcrumbs { margin-bottom: 14px; }
.iuasr-contact .contact-hero h1 {
  font-family: var(--serif-font); font-weight: 400;
  font-size: 44px; line-height: 50px; letter-spacing: -0.01em;
  color: var(--priColor100); margin: 0 0 14px;
}
.iuasr-contact .contact-hero__lead { font-size: 16px; line-height: 1.65; font-weight: 300; color: var(--priColor100); margin: 0; }
.iuasr-contact .contact-hero__intro { margin-top: 16px; }

/* Compact contact + organisation band, up top. */
.iuasr-contact .contact-topband {
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px;
  padding: 28px 0; margin-bottom: 48px;
  border-top: 1px solid var(--borderSubtleColor);
  border-bottom: 1px solid var(--borderSubtleColor);
}
.iuasr-contact .ct-k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secColor100); font-weight: 600; margin: 0 0 14px; }
.iuasr-contact .ct-address { font-size: 15px; line-height: 1.6; color: var(--priColor100); margin: 0 0 10px; }
.iuasr-contact .contact-body { max-width: none; margin: 8px 0 44px; }
/* Contact form: comfortable single column, left-aligned. */
.iuasr-contact .contact-form { max-width: 760px; margin: 0 0 8px; }
.iuasr-contact .visit-map.visit-map--full iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Two columns: visit info · form. */
.iuasr-contact .cx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 56px; align-items: start; }
.iuasr-contact .col-heading {
  font-family: var(--serif-font); font-weight: 400;
  font-size: 26px; line-height: 30px; color: var(--priColor100); margin: 0 0 6px;
}
.iuasr-contact .col-sub { font-size: 13.5px; color: var(--blackAltText); font-weight: 300; margin: 0 0 22px; line-height: 1.55; }

/* Visit column. */
.iuasr-contact .visit-address { font-size: 16px; line-height: 1.7; color: var(--priColor100); margin: 14px 0 20px; }
.iuasr-contact .visit-address b { font-weight: 500; }
.iuasr-contact .visit-map {
  position: relative; aspect-ratio: 4 / 3;
  background: var(--priColor102); border: 1px solid var(--borderSubtleColor);
  border-radius: 6px; overflow: hidden; margin-bottom: 12px;
}
.iuasr-contact .visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.iuasr-contact .visit-map__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--secColor100); margin-top: 10px; text-decoration: none;
}
.iuasr-contact .visit-map__link:hover { color: var(--secColor100-hover); text-decoration: underline; }
.iuasr-contact .visit-map__link .icon { width: 12px; height: 12px; }
.iuasr-contact .section-divider {
  margin: 28px 0 18px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--blackAltText);
}
.iuasr-contact .contact-list { font-size: 15px; line-height: 1.7; color: var(--priColor100); margin: 0; padding: 0; list-style: none; }
.iuasr-contact .contact-list li {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--borderSubtleColor);
}
.iuasr-contact .contact-list li:last-child { border-bottom: 0; }
.iuasr-contact .contact-list .k { color: var(--blackAltText); font-size: 13.5px; padding-top: 1px; }
.iuasr-contact .contact-list .v a { color: var(--priColor100); text-decoration: none; border-bottom: 1px solid var(--borderColor); }
.iuasr-contact .contact-list .v a:hover { color: var(--secColor100); border-bottom-color: var(--secColor100); }
.iuasr-contact .contact-list .v small { display: block; font-size: 13px; color: var(--blackAltText); font-weight: 300; margin-top: 2px; }

/* Contact-form skin: underlined transparent inputs, only the textarea keeps a
   bordered white box (per the design). Overrides the base .gform_wrapper skin
   (section 10.3) one specificity level up; the base skin's fixed 41px height
   must be reset explicitly. */
.iuasr-contact .gform_wrapper .ginput_container input[type="text"],
.iuasr-contact .gform_wrapper .ginput_container input[type="email"],
.iuasr-contact .gform_wrapper .ginput_container input[type="tel"],
.iuasr-contact .gform_wrapper .ginput_container input[type="url"],
.iuasr-contact .gform_wrapper .ginput_container input[type="number"] {
  height: auto;
  background: transparent !important;
  border: 0; border-bottom: 1px solid var(--borderColor); border-radius: 0;
  padding: 8px 0; line-height: 1.4;
  transition: border-color 120ms;
}
/* Defensive: GF sometimes paints field wrappers; keep them transparent here. */
.iuasr-contact .gform_wrapper .gfield,
.iuasr-contact .gform_wrapper .ginput_container { background: transparent !important; }
.iuasr-contact .gform_wrapper .ginput_container textarea {
  border: 1px solid var(--borderColor); border-radius: 4px;
  padding: 10px 12px; background: #fff; min-height: 120px; resize: vertical;
}
.iuasr-contact .gform_wrapper .ginput_container input:focus {
  outline: none; border-bottom-color: var(--priColor100); box-shadow: none;
}
.iuasr-contact .gform_wrapper .ginput_container textarea:focus {
  outline: none; border-color: var(--priColor100); box-shadow: 0 0 0 3px rgba(30, 20, 70, 0.08);
}

/* Confirmation: strip the global green card so the design success state
   (.contact-success below) renders without an enclosing box. */
.iuasr-contact .gform_confirmation_wrapper,
.iuasr-contact .gform_confirmation_wrapper .gform_confirmation_message,
.iuasr-contact .gform_wrapper .gform_confirmation_message,
.iuasr-contact .gform_confirmation_message {
  background: transparent !important; border: 0 !important;
  padding: 0 !important; margin: 0 !important;
  color: var(--priColor100) !important; box-shadow: none !important; border-radius: 0 !important;
}

/* Success state after submit (markup from iuasr_contact_confirmation()). */
.iuasr-contact .contact-success { padding-top: 4px; }
.iuasr-contact .cs-mark {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--priColor102); color: var(--priColor100);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.iuasr-contact .cs-mark .icon {
  width: 22px; height: 22px;
  stroke-width: 2.5;
  stroke-dasharray: 24; stroke-dashoffset: 24;
  animation: iuasrCsDraw 420ms cubic-bezier(0.2, 0, 0, 1) 140ms forwards;
}
@keyframes iuasrCsDraw { to { stroke-dashoffset: 0; } }
.iuasr-contact .cs-title {
  font-family: var(--serif-font); font-weight: 400;
  font-size: 30px; line-height: 34px; color: var(--priColor100); margin: 0 0 10px;
}
.iuasr-contact .cs-lead { font-size: 15.5px; line-height: 1.65; color: var(--priColor100); font-weight: 300; margin: 0 0 22px; max-width: 42ch; }
.iuasr-contact .cs-lead b { font-weight: 500; }
.iuasr-contact .cs-meta {
  display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px;
  margin: 0 0 24px; padding: 14px 0;
  border-top: 1px solid var(--borderSubtleColor); border-bottom: 1px solid var(--borderSubtleColor);
  font-size: 13.5px; line-height: 1.5;
}
.iuasr-contact .cs-meta dt { color: var(--blackAltText); margin: 0; font-size: 13px; }
.iuasr-contact .cs-meta dd { color: var(--priColor100); margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.iuasr-contact .cs-meta dd.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.iuasr-contact .cs-next { font-size: 13px; color: var(--blackAltText); margin: 0 0 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.iuasr-contact .cs-steps { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: iuasrcsstep; font-size: 14.5px; line-height: 1.55; color: var(--priColor100); }
.iuasr-contact .cs-steps li { counter-increment: iuasrcsstep; position: relative; padding: 8px 0 8px 32px; }
.iuasr-contact .cs-steps li::before {
  content: counter(iuasrcsstep);
  position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--priColor102); color: var(--priColor100);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.iuasr-contact .cs-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.iuasr-contact .cs-link {
  font-size: 14px; color: var(--secColor100); text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
}
.iuasr-contact .cs-link .icon { width: 14px; height: 14px; }
.iuasr-contact .cs-link:hover { color: var(--secColor100-hover); border-bottom-color: currentColor; }
.iuasr-contact .cs-link--ghost { color: var(--blackAltText); }
.iuasr-contact .cs-link--ghost:hover { color: var(--priColor100); }

/* FAQ teaser: hairline section (design .faq frame), title left / button right. */
.iuasr-contact .contact-faq-teaser {
  margin: 0 0 8px; padding-top: 44px; border-top: 1px solid var(--borderSubtleColor);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.iuasr-contact .contact-faq-teaser .col-sub { margin-bottom: 0; }

/* ---- 11.2 Organisation-data strip (contact) — design version: hairline band,
   serif title + 4 uppercase-label/value items. ---- */
.iuasr-contact .org-strip {
  border-top: 1px solid var(--borderSubtleColor); border-bottom: 1px solid var(--borderSubtleColor);
  padding-top: 28px; padding-bottom: 28px; margin-top: 40px;
  display: grid; grid-template-columns: minmax(220px, 0.9fr) repeat(4, 1fr);
  gap: 18px 36px; align-items: start;
}
.iuasr-contact .org-strip__title {
  font-family: var(--serif-font); font-weight: 400;
  font-size: 18px; line-height: 1.35; color: var(--priColor100); margin: 0;
}
.iuasr-contact .org-strip__title small {
  font-family: var(--sans-serif-font); display: block;
  font-size: 12.5px; color: var(--blackAltText); font-weight: 300; margin-top: 4px; line-height: 1.4;
}
.iuasr-contact .org-strip__item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.iuasr-contact .org-strip__item .k { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blackAltText); }
.iuasr-contact .org-strip__item .v { font-size: 14.5px; color: var(--priColor100); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: 0.01em; }

@media (max-width: 1024px) {
  .iuasr-contact .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .iuasr-contact .cs-meta { grid-template-columns: 95px 1fr; }
}
@media (max-width: 640px) {
  .iuasr-contact .contact-card, .iuasr-contact .contact-formcard { padding: 28px 22px; }
  .iuasr-contact .col-heading { font-size: 22px; line-height: 26px; }
  .iuasr-contact .contact-map__frame { height: 380px; }
  .iuasr-contact .contact-map__card { position: static; max-width: none; margin: -40px 16px 0; box-shadow: var(--iuasr-shadow-md); }
  .iuasr-contact .contact-card__org-grid .v { overflow-wrap: anywhere; }
}

/* ---- 11.3 FAQ (page-faq.php) ---- */
.faq__layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.faq__search { position: relative; margin-bottom: 18px; }
.faq__search-input { width: 100%; height: 48px; padding: 8px 16px; font-size: 15px; color: var(--priColor100); background: #fff; border: 1px solid var(--borderColor); border-radius: var(--iuasr-radius-sm); }
.faq__search-input:focus { outline: none; border-color: var(--secColor100); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.20); }
.faq__search-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--blackAltText); pointer-events: none; }
.faq__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.faq__chip { padding: 7px 16px; font-size: 13px; font-weight: var(--iuasr-weight-medium); color: var(--priColor100); background: #fff; border: 1px solid var(--borderColor); border-radius: var(--iuasr-radius-full); cursor: pointer; transition: background var(--iuasr-duration-normal) var(--iuasr-ease-standard), color var(--iuasr-duration-normal) var(--iuasr-ease-standard), border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard); }
.faq__chip:hover { border-color: var(--priColor100); }
.faq__chip.is-active { background: var(--priColor100); color: #fff; border-color: var(--priColor100); }
.faq__noresults { color: var(--blackAltText); font-style: italic; padding: 18px 4px; }
.faq__side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 208px; }
.faq__side-h { font-size: 16px; margin: 0 0 14px; }
.faq__popular ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.faq__popular ul a { font-size: 14px; color: var(--priColor100); }
.faq__popular ul a:hover { color: var(--secColor100); }
.faq__contact p { font-size: 14px; color: var(--blackAltText); margin: 0 0 12px; }
.faq__contact-line { display: flex; align-items: center; gap: 10px; color: var(--priColor100); font-size: 14px; margin-bottom: 8px; }
.faq__contact-line .icon { color: var(--secColor100); width: 18px; height: 18px; }

@media (max-width: 1024px) {
  .faq__layout { grid-template-columns: 1fr; gap: 32px; }
  .faq__side { position: static; flex-direction: row; flex-wrap: wrap; }
  .faq__side > .card { flex: 1 1 260px; }
}
@media (max-width: 640px) {
  .faq__side { flex-direction: column; }
}

/* ---- 11.4 Legal / document (page-legal.php) ---- */
.legal__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; align-items: start; }
/* Legal/document pages with no H2 sections render full-width (JS adds this class). */
.legal__grid.is-full { display: block; }
.legal__aside { position: sticky; top: 208px; }
.legal__toc-h { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blackAltText); font-weight: 600; margin: 0 0 14px; }
.legal__toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--borderSubtleColor); }
.legal__toc a { display: block; font-size: 13.5px; line-height: 1.4; color: var(--blackAltText); padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; }
.legal__toc a:hover { color: var(--priColor100); }
.legal__toc a.is-active { color: var(--priColor100); font-weight: var(--iuasr-weight-medium); border-left-color: var(--secColor100); }
/* Auto-number the document's H2 sections (matches the juridisch design). */
.legal__body { counter-reset: legal-section; max-width: 68ch; }
.legal__body h2 { counter-increment: legal-section; scroll-margin-top: 208px; display: flex; align-items: baseline; gap: 14px; }
.content__body h2, .content__body h3 { scroll-margin-top: 208px; }
.legal__body h2::before { content: counter(legal-section, decimal-leading-zero); font-family: var(--sans-serif-font); font-size: 13px; font-weight: 600; color: var(--secColor100); letter-spacing: 0.04em; }
.legal__docs { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--borderSubtleColor); }
.legal__docs h2 { font-size: 22px; margin: 0 0 18px; }

@media (max-width: 1024px) {
  .legal__grid { grid-template-columns: 1fr; gap: 28px; }
  .legal__aside { position: static; }
  .legal__toc ul { flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 8px; }
  .legal__toc a { border-left: 0; border-bottom: 2px solid transparent; padding: 6px 0; margin: 0; }
  .legal__toc a.is-active { border-left: 0; border-bottom-color: var(--secColor100); }
}

/* ---- 11.5 Content page (T1, page.php) + archive/vacancy hero ---- */
/* `.phero` is the dark indigo pattern banner shared by the team archive, the
   news/event/vacancy archives and the vacancy single. Phase 18: matched to the
   `.page-hero--pattern` banner (content/contact/legal pages) so the header
   banner is consistent site-wide — Geschiedenis is the approved reference. */
/* min-height keeps the banner from collapsing on short heroes (e.g. an archive
   with a one-word title). The globe watermark on ::before is sized to the hero
   height, so a collapsed banner shrinks the globe out of view. */
.phero { position: relative; min-height: 288px; background: var(--priColor100); color: #fff; overflow: hidden; }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--heroOverlay) url("assets/logo/logo-icon.png") no-repeat calc(100% + 8vw) center / auto 150%;
  opacity: 0.9;
}
.phero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16, 4, 74, 0.94) 0%, rgba(16, 4, 74, 0.80) 60%, rgba(16, 4, 74, 0.55) 100%);
}
.phero__inner {
  position: relative; z-index: 2;
  max-width: var(--container-max); margin: 0 auto;
  padding: 72px var(--container-pad) 64px;
}
.phero__eyebrow {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--secColor300); margin: 0 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.phero__eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--secColor300); }
.phero h1 {
  font-family: var(--serif-font); font-weight: 400;
  font-size: 52px; line-height: 1.06; letter-spacing: -0.01em;
  margin: 0; color: #fff; max-width: 22ch; text-wrap: balance;
}
.phero h1 em { font-style: italic; color: var(--secColor300); }
.phero__lead {
  font-size: 18px; line-height: 1.6; font-weight: 300;
  color: rgba(255, 255, 255, 0.84); margin: 20px 0 0; max-width: 62ch; text-wrap: pretty;
}

.content-layout--sidebar {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px;
  gap: 64px; align-items: start;
}
/* With a sidebar: the body is a 68ch reading column on the left, aside on the
   right. WITHOUT a sidebar (no TOC/callout/related): the body runs the FULL
   container width — a narrow centred column beside empty space reads as broken. */
.content-layout--full { display: block; }
.content-layout--full .content__body { max-width: none; }
.content__body { max-width: 68ch; }
/* First block in a content body/prose shouldn't add its own top margin on top of
   the section padding (that stacked into a big gap above the first heading). */
.content__body > :first-child, .prose > :first-child, .legal__body > :first-child { margin-top: 0; }
/* Person profile: keep a centred ~50% column (photo + justified text), not full width. */
.single-iuasr_person .content-layout--full .content__body { max-width: 640px; margin-left: auto; margin-right: auto; }
.single-iuasr_person .person-profile__photo img { display: block; width: 100%; }

.aside { position: sticky; top: 208px; display: flex; flex-direction: column; gap: 16px; }
.aside-block {
  background: #fff; border: 1px solid var(--borderSubtleColor);
  border-radius: 8px; padding: 22px 24px;
}
.aside-block h4 { font-family: var(--serif-font); font-weight: 400; font-size: 18px; margin: 0 0 14px; }
.aside-block .eyebrow {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--secColor100); font-weight: 600; margin: 0 0 10px;
}
.aside-block ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.aside-block ul a { font-size: 14px; color: var(--priColor100); display: flex; gap: 9px; align-items: baseline; text-decoration: none; }
.aside-block ul a:hover { color: var(--secColor100); }
.aside-block ul a svg { width: 11px; height: 11px; opacity: 0.45; flex-shrink: 0; }
.aside-block p { font-size: 13.5px; line-height: 1.6; color: var(--blackAltText); font-weight: 300; margin: 0; }

/* "Op deze pagina" TOC — one consistent style everywhere (page.php + legal):
   borderless, left-rule list, label flush with the content top (no card). */
.aside-toc { background: transparent; border: 0; border-radius: 0; padding: 0; }
.aside-toc .eyebrow { margin: 0 0 12px; }
#content-toc, #legal-toc {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
  border-left: 1px solid var(--borderSubtleColor);
}
#content-toc li, #legal-toc li { margin: 0; }
#content-toc li.toc-sub a, #legal-toc li.toc-sub a { padding-left: 30px; font-size: 12.5px; color: var(--blackAltText); }
#content-toc a, #legal-toc a {
  display: block; font-size: 13.5px; line-height: 1.4;
  color: var(--blackAltText); text-decoration: none;
  padding: 7px 0 7px 16px; margin-left: -1px;
  border-left: 2px solid transparent;
}
#content-toc a:hover, #legal-toc a:hover { color: var(--priColor100); }
#content-toc a.is-active, #legal-toc a.is-active { color: var(--secColor100); font-weight: 500; border-left-color: var(--secColor100); }
.callout__action { margin-top: 16px; }

@media (max-width: 1024px) {
  .content-layout--sidebar { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; }
}
@media (max-width: 640px) {
  .phero { min-height: 210px; }
  .phero__inner { padding: 40px var(--container-pad) 44px; }
  .phero h1 { font-size: 34px; }
  .phero__lead { font-size: 16px; }
}

/* ---- 11.6 Content-page hero with featured photo ---- */
.page-hero--photo .page-hero__bg { background-size: cover; background-position: center; opacity: 1; }
.page-hero--photo .page-hero__bg::after { background: linear-gradient(90deg, rgba(16,4,74,0.88) 0%, rgba(16,4,74,0.65) 55%, rgba(16,4,74,0.38) 100%); }

/* Person profile — same layout/width as content pages (page.php): the photo
   sits at the top of the 636px .content__body reading column; contact lives in
   the 330px .aside. Only the photo + a couple of helpers are profile-specific. */
.person-profile__photo { margin: 0 0 30px; }
.person-profile__photo img {
  display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover;
  object-position: center 25%; border-radius: var(--iuasr-radius-md);
}
.person-profile__pubs { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--borderSubtleColor); }
.person-profile__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.person-contact { display: flex; flex-direction: column; gap: 10px; }
.person-contact__row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--priColor100); }
.person-contact__row .icon { color: var(--secColor100); flex: none; }
a.person-contact__row:hover { color: var(--secColor100); }
@media (max-width: 640px) {
  .person-profile__photo img { max-height: 360px; }
}

/* ---- 11.7 Phero badge row (vacancy hero) ---- */
.phero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.phero__badges .badge { font-size: 12.5px; }

/* ============================================================
   12. PEOPLE (T3 profile · T4 team grid)
   ============================================================ */

/* ---- Avatar monogram ---- */
.avatar-mono { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--priColor100); color: #fff; font-family: var(--sans-font); font-size: 16px; font-weight: 600; letter-spacing: 0.04em; flex: none; }
.avatar-mono--alt   { background: var(--secColor100); }
.avatar-mono--green { background: #2d6a4f; }
.avatar-mono--lg    { width: 96px; height: 96px; font-size: 28px; }

/* ---- T4 team grid ---- */
.people-group { margin: 0 0 56px; scroll-margin-top: 150px; }
.people-group__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.people-group__head h2 { font-size: 22px; margin: 0; color: var(--priColor100); }
.people-group__head .count { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blackAltText); font-weight: 600; white-space: nowrap; }
.people-group__head .rule { flex: 1; height: 1px; background: var(--borderSubtleColor); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { display: flex; flex-direction: column; border: 1px solid var(--borderSubtleColor); border-radius: var(--iuasr-radius-md); background: #fff; text-decoration: none; color: inherit; overflow: hidden; transition: border-color var(--iuasr-duration-normal) var(--iuasr-ease-standard), box-shadow var(--iuasr-duration-normal) var(--iuasr-ease-standard), transform var(--iuasr-duration-normal) var(--iuasr-ease-standard); }
.person:hover { border-color: var(--secColor100); box-shadow: 0 4px 16px rgba(16,4,74,0.08); transform: translateY(-2px); }
.person__avatar { aspect-ratio: 4/5; width: 100%; background: var(--priColor103); overflow: hidden; }
.person__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.person__avatar .avatar-mono { width: 100%; height: 100%; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.person__body { padding: 16px 18px 20px; }
.person__name { font-family: var(--serif-font); font-size: 17px; font-weight: 400; margin: 0 0 5px; color: var(--priColor100); line-height: 1.25; }
.person__role { display: block; font-size: 13px; color: var(--blackAltText); line-height: 1.3; }
.person__dept { display: block; font-size: 11.5px; color: var(--secColor100); font-weight: 500; margin-top: 4px; }

@media (max-width: 1024px) {
  .people { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .people { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 380px) {
  .people { grid-template-columns: 1fr; }
}

/* ============================================================
   13. VACANCIES (T6)
   ============================================================ */

.vac-list-head { margin-bottom: 20px; }
.vac-list-head .eyebrow { display: block; margin-bottom: 6px; }
.vac-list-head h2 { font-size: 26px; margin: 0; color: var(--priColor100); }
.vac-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 48px; }
.vac { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; border: 1px solid var(--borderSubtleColor); border-radius: var(--iuasr-radius-md); background: #fff; text-decoration: none; color: inherit; transition: border-color 0.18s, box-shadow 0.18s; }
.vac:hover { border-color: var(--secColor100); box-shadow: 0 3px 12px rgba(16,4,74,0.07); }
.vac h3 { font-size: 16px; font-weight: 600; color: var(--priColor100); margin: 0 0 8px; }
.vac__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.vac__cta { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--secColor100); flex: none; }
.vac__cta .icon { transition: transform 0.15s; }
.vac:hover .vac__cta .icon { transform: translateX(3px); }
.vac-list__empty { color: var(--blackAltText); font-size: 15px; padding: 32px 0; }
.vac__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@media (max-width: 640px) {
  .vac { flex-direction: column; align-items: flex-start; gap: 12px; }
  .vac__cta { align-self: flex-end; }
}

/* ============================================================
   14. ARTICLES (T8 nieuws · T9 blog · T10 event)
   ============================================================ */

.article { }
/* Article header = a hero: title/meta over the featured (or default) image with
   an indigo scrim, so every article opens consistently (no title-band-then-image). */
.article__header { position: relative; overflow: hidden; background: var(--priColor100); color: #fff; }
.article__header--hero { min-height: 460px; display: flex; align-items: flex-end; }
.article__header-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.article__header::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(20,12,50,0.95) 0%, rgba(20,12,50,0.80) 40%, rgba(20,12,50,0.55) 100%);
}
.article__header .wrap { position: relative; z-index: 2; width: 100%; padding-top: 56px; padding-bottom: 48px; }
.article__header .breadcrumbs { margin-bottom: 20px; color: rgba(255,255,255,0.65); }
.article__header .breadcrumbs a { color: rgba(255,255,255,0.65); }
.article__header .breadcrumbs a:hover { color: #fff; }
.article__header .breadcrumbs .cur { color: rgba(255,255,255,0.9); }
.article__kicker { margin-bottom: 18px; display: inline-flex; }
.article__title { font-family: var(--serif-font); font-size: 46px; line-height: 1.08; max-width: 26ch; margin: 0 0 20px; color: #fff; text-align: left; text-wrap: pretty; letter-spacing: -0.012em; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.8); }
.article__meta .icon { color: var(--secColor300); }
.article__sep { opacity: 0.4; }
/* Article body runs the full container width (like a no-TOC page). */
.article__body { padding-top: 48px; padding-bottom: 64px; }
.article__body .prose { max-width: none; }
.article__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--borderSubtleColor); }
.article__back { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; }

/* Event-facts — bespoke centered strip (distinct from a plain meta row). Each
   fact is a centered stack: icon on top, uppercase label, then the value. */
.event-facts { background: var(--priColor103); border-bottom: 1px solid var(--borderSubtleColor); padding: 36px 0; }
.event-facts .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 56px; }
.ef {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; min-width: 130px; position: relative;
  padding: 0 28px;
}
/* thin divider between facts */
.ef + .ef::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--borderSubtleColor); }
.ef .icon { color: var(--secColor100); flex: none; width: 22px; height: 22px; }
.ef__label { display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blackAltText); font-weight: 600; }
.ef__value { display: block; font-family: var(--serif-font); font-size: 19px; line-height: 1.25; color: var(--priColor100); }
.ef__value small { display: block; font-family: var(--sans-serif-font); font-size: 12.5px; font-weight: 400; color: var(--blackAltText); margin-top: 2px; }

@media (max-width: 1024px) {
  .article__title { font-size: 36px; }
  .article__header--hero { min-height: 360px; }
}
@media (max-width: 640px) {
  .article__header--hero { min-height: 280px; }
  .article__header .wrap { padding-top: 32px; padding-bottom: 28px; }
  .article__title { font-size: 28px; }
  .event-facts .wrap { gap: 22px; }
  .ef { padding: 0; }
  .ef + .ef::before { display: none; }
}

/* ============================================================
   15. ARCHIVE / EDITORIAL HUB (T11)
   ============================================================ */

/* NB: namespaced on purpose — WordPress puts the class `archive` on <body> for
   EVERY archive view (team, vacatures, category, …). The old bare `.archive`
   wrapper class applied this max-width to the whole <body>, boxing the entire
   page (header/hero/footer included) to 1120px. Same collision family as the
   `.quicklinks` admin-bar bug. */
.iuasr-archive { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad) 80px; }
.filterbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0 20px; border-bottom: 1px solid var(--borderSubtleColor); margin-bottom: 32px; }
.filterbar .spacer { flex: 1; }
.result-count { font-size: 13px; color: var(--blackAltText); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 100px; border: 1.5px solid var(--borderSubtleColor); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--priColor100); cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.chip:hover { border-color: var(--secColor100); color: var(--secColor100); }
.chip.is-active { border-color: var(--priColor100); background: var(--priColor100); color: #fff; }
.iuasr-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acard { display: flex; flex-direction: column; border: 1px solid var(--borderSubtleColor); border-radius: var(--iuasr-radius-md); overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: border-color 0.18s, box-shadow 0.18s; }
/* Actueel chip filter toggles the `hidden` attribute; the author display:flex
   above beats the UA [hidden] rule, so re-assert it here. */
.acard[hidden] { display: none !important; }
.acard:hover { border-color: var(--secColor100); box-shadow: 0 6px 20px rgba(16,4,74,0.08); }
.acard__media { aspect-ratio: 16/9; overflow: hidden; background: var(--priColor100); }
.acard__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.acard:hover .acard__img { transform: scale(1.03); }
.media-ph { display: flex; align-items: center; justify-content: center; }
.media-ph span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 600; }
.acard__body { padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acard__date { font-size: 12px; color: var(--blackAltText); letter-spacing: 0.04em; display: flex; align-items: center; gap: 6px; }
.acard__body h3 { font-size: 17px; font-weight: 600; color: var(--priColor100); margin: 0; line-height: 1.3; }
.acard__body p { font-size: 14px; color: var(--blackAltText); margin: 0; line-height: 1.55; flex: 1; }
.acard__loc { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--blackAltText); }
.acard__loc .icon { flex: none; color: var(--secColor100); }
.acard__foot { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--secColor100); margin-top: 4px; }
.acard__foot .icon { transition: transform 0.15s; }
.acard:hover .acard__foot .icon { transform: translateX(3px); }
.iuasr-archive__empty { color: var(--blackAltText); padding: 48px 0; text-align: center; font-size: 16px; }

/* Pagination */
.pager-wrap { display: flex; justify-content: center; margin-top: 48px; }
.pager-wrap .page-numbers { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pager-wrap .page-numbers li { }
.pager-wrap a.page-numbers, .pager-wrap span.page-numbers { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--iuasr-radius-md); border: 1.5px solid var(--borderSubtleColor); background: #fff; font-size: 14px; color: var(--priColor100); text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.pager-wrap a.page-numbers:hover { border-color: var(--secColor100); color: var(--secColor100); }
.pager-wrap span.current { background: var(--priColor100); color: #fff; border-color: var(--priColor100); }
.pager-wrap span.dots { border: none; background: transparent; }

@media (max-width: 1024px) {
  .iuasr-archive__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .iuasr-archive__grid { grid-template-columns: 1fr; }
  .filterbar { gap: 10px; }
}

/* ============================================================
   Phase 13 — Header scroll shadow + mega-menu entrance motion
   Tokens used: --iuasr-duration-normal (200ms), --iuasr-ease-standard
   ============================================================ */

/* Header: smooth shadow lift when the page is scrolled */
.site-header {
  transition:
    box-shadow var(--iuasr-duration-normal) var(--iuasr-ease-standard),
    border-bottom-color var(--iuasr-duration-normal) var(--iuasr-ease-standard);
}
.site-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 2px 24px rgba(32, 21, 71, .10), 0 1px 4px rgba(32, 21, 71, .06);
}

/* Mega-menu: fade + slide down on hover */
@media (prefers-reduced-motion: no-preference) {
  @keyframes megaIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav__item:hover .mega {
    animation: megaIn var(--iuasr-duration-normal) var(--iuasr-ease-standard) forwards;
  }
}

/* ============================================================
   Onderhoudspagina — standalone 503 (inc/maintenance.php +
   template-parts/maintenance.php). IUASR-stijl, token-gebaseerd.
   ============================================================ */
.iuasr-maint-body { margin: 0; }

.iuasr-maint {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-md);
  background:
    radial-gradient(1000px 520px at 50% -8%, rgba(30, 20, 70, 0.07), transparent 70%),
    var(--priColor103);
  font-family: var(--sans-serif-font);
  color: var(--priColor100);
  -webkit-font-smoothing: antialiased;
}

.iuasr-maint__card {
  width: 100%;
  max-width: 660px;
  background: #fff;
  border: 1px solid var(--borderSubtleColor);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(30, 20, 70, 0.12);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.iuasr-maint__logo {
  display: block;
  width: auto;
  height: auto;
  max-height: var(--logo-header-h);
  max-width: min(280px, 80%);
  margin: 0 auto var(--space-md);
}

.iuasr-maint__title {
  font-family: var(--serif-font);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.08;
  margin: 0 0 var(--space-sm);
  color: var(--priColor100);
}

.iuasr-maint__msg {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--blackAltText);
  margin: 0 auto var(--space-lg);
  max-width: 48ch;
}

.iuasr-maint__links {
  display: grid;
  gap: 12px;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.iuasr-maint__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--borderSubtleColor);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--priColor100);
  transition: border-color 0.18s ease, background 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
}

.iuasr-maint__link:hover,
.iuasr-maint__link:focus-visible {
  border-color: var(--priColor100);
  background: var(--priColor101);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(30, 20, 70, 0.08);
  outline: none;
}

.iuasr-maint__link-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--priColor102);
  color: var(--priColor100);
}

.iuasr-maint__link-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.iuasr-maint__link-txt strong { font-weight: 600; }
.iuasr-maint__link-txt span { font-size: 0.88rem; color: var(--blackAltText); }

.iuasr-maint__link-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--borderColor);
  transition: transform 0.18s ease, color 0.18s ease;
}

.iuasr-maint__link:hover .iuasr-maint__link-arrow {
  color: var(--priColor100);
  transform: translate(2px, -2px);
}

.iuasr-maint__foot {
  border-top: 1px solid var(--borderSubtleColor);
  padding-top: var(--space-lg);
}

/* Login button reuses the canonical .btn .btn--tertiary .btn--lg (indigo/purple).
   The icon inherits the button's light text colour. */
.iuasr-maint__login .icon { color: currentColor; }

@media (max-width: 640px) {
  .iuasr-maint__card { padding: var(--space-lg) var(--space-md); border-radius: 14px; }
  .iuasr-maint__link { padding: 14px 16px; }
  .iuasr-maint__login { width: 100%; }
}
