/*
Theme Name: REAP PFM 2026
Theme URI: https://reap.finance.go.ug/
Author: Dell Wall Technologies
Author URI: https://dellwall.com/
Description: A performance-focused, accessible and security-conscious WordPress theme for Uganda's Resource Enhancement and Accountability Programme (REAP) and Public Financial Management reform communications.
Version: 2.5.1
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: reap-pfm
*/

:root {
  --reap-ink: #111111;
  --reap-ink-2: #242424;
  --reap-paper: #ffffff;
  --reap-mist: #f6f6f6;
  --reap-line: #dedede;
  --reap-muted: #4b4b4b;
  --reap-red: #b82a2f;
  --reap-orange: #e4832b;
  --reap-green: #53833b;
  --reap-purple: #6d4a8d;
  --reap-gold: #d9a739;
  --reap-radius: 18px;
  --reap-shadow: 0 20px 50px rgba(19,34,56,.10);
  --reap-max: 1240px;
  --reap-reading: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--reap-paper);
  color: var(--reap-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: #111; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #871f24; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--reap-gold); outline-offset: 3px; }

.reap-container { width: min(calc(100% - 40px), var(--reap-max)); margin-inline: auto; }
.reap-reading { width: min(calc(100% - 40px), var(--reap-reading)); margin-inline: auto; }
.reap-section { padding: clamp(58px, 7vw, 96px) 0; }
.reap-section--soft { background: var(--reap-mist); }
.reap-section--dark { background: var(--reap-ink); color: #fff; }
.reap-section--tight { padding: 36px 0; }
.reap-kicker { margin: 0 0 9px; color: #111; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.reap-section-title { margin: 0; max-width: 780px; font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1.08; letter-spacing: -.035em; }
.reap-section-lead { max-width: 760px; margin: 18px 0 0; color: var(--reap-muted); font-size: 1.08rem; }
.reap-section--dark .reap-section-lead { color: #dbe5eb; }
.reap-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }

.reap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.reap-btn:hover { transform: translateY(-1px); }
.reap-btn--primary { background: var(--reap-red); color: #fff; box-shadow: 0 10px 25px rgba(184,42,47,.22); }
.reap-btn--primary:hover { background: #9c2227; color: #fff; }
.reap-btn--light { background: #fff; color: var(--reap-ink); }
.reap-btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.reap-btn--outline { border-color: var(--reap-line); color: var(--reap-ink); background: #fff; }

.reap-skip-link { position: fixed; left: 20px; top: -100px; z-index: 99999; padding: 11px 15px; background: #fff; color: var(--reap-ink); border-radius: 9px; box-shadow: var(--reap-shadow); }
.reap-skip-link:focus { top: 16px; }

/* Header */
.reap-utility { background: #0c192a; color: #dbe4ec; font-size: .78rem; }
.reap-utility .reap-container { display: flex; min-height: 36px; justify-content: space-between; align-items: center; gap: 20px; }
.reap-utility a { color: #fff; text-decoration: none; }
.reap-utility__items { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.reap-utility__label { color: #9db0c1; }

.reap-site-header { position: sticky; top: 0; z-index: 9990; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,228,233,.78); backdrop-filter: saturate(135%) blur(12px); transition: box-shadow .2s ease, background .2s ease; }
.reap-site-header.is-scrolled { box-shadow: 0 14px 35px rgba(19,34,56,.11); background: rgba(255,255,255,.985); }
.admin-bar .reap-site-header { top: 32px; }
.reap-nav-row { min-height: 96px; display: grid; grid-template-columns: minmax(220px, 340px) 1fr auto; align-items: center; gap: 28px; transition: min-height .2s ease; }
.reap-site-header.is-scrolled .reap-nav-row { min-height: 74px; }
.reap-brand { display: inline-flex; min-width: 0; align-items: center; gap: 12px; color: var(--reap-ink); text-decoration: none; }
.reap-brand img { width: auto; max-width: 260px; max-height: 76px; object-fit: contain; transition: max-height .2s ease; }
.reap-site-header.is-scrolled .reap-brand img { max-height: 58px; }
.reap-brand__mark { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 12px; color: #fff; font-weight: 900; letter-spacing: -.06em; background: var(--reap-red); }
.reap-brand__words { min-width: 0; }
.reap-brand__title { display: block; font-size: .94rem; line-height: 1.12; font-weight: 850; }
.reap-brand__sub { display: block; margin-top: 3px; color: var(--reap-muted); font-size: .68rem; line-height: 1.25; }

.reap-primary-nav ul { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin: 0; padding: 0; list-style: none; }
.reap-primary-nav li { position: relative; }
.reap-primary-nav a { display: block; padding: 12px 10px; color: var(--reap-ink); font-size: .88rem; font-weight: 720; text-decoration: none; white-space: nowrap; }
.reap-primary-nav > div > ul > li > a:hover, .reap-primary-nav .current-menu-item > a, .reap-primary-nav .current-menu-ancestor > a { color: var(--reap-red); }
.reap-primary-nav .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; display: grid; min-width: 280px; padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); background: #fff; border: 1px solid var(--reap-line); border-radius: 14px; box-shadow: var(--reap-shadow); transition: .18s ease; }
.reap-primary-nav li:hover > .sub-menu, .reap-primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.reap-primary-nav .sub-menu a { white-space: normal; border-radius: 9px; }
.reap-primary-nav .sub-menu a:hover { background: var(--reap-mist); }
.reap-nav-actions { display: flex; align-items: center; gap: 8px; }
.reap-icon-btn { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--reap-line); border-radius: 50%; background: #fff; color: var(--reap-ink); }
.reap-icon-btn svg { width: 19px; height: 19px; }
.reap-menu-toggle { display: none; }

.reap-search-panel { display: none; position: fixed; inset: 0; z-index: 10050; padding: 100px 20px 20px; background: rgba(12,25,42,.92); }
.reap-search-panel.is-open { display: block; }
.reap-search-panel__inner { max-width: 780px; margin: 0 auto; padding: 28px; background: #fff; border-radius: 20px; box-shadow: var(--reap-shadow); }
.reap-search-panel form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.reap-search-panel input[type="search"] { width: 100%; min-height: 54px; padding: 12px 15px; border: 1px solid var(--reap-line); border-radius: 12px; }

/* Hero */
.reap-hero { position: relative; overflow: hidden; background: #11263d; color: #fff; }
.reap-hero::before { content: ""; position: absolute; inset: 0; background: none; pointer-events: none; }
.reap-hero__grid { position: relative; z-index: 1; min-height: clamp(610px, 75vh, 820px); display: grid; grid-template-columns: 1.06fr .94fr; gap: 50px; align-items: center; }
.reap-hero__copy { padding: 84px 0 92px; }
.reap-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #dce8f0; background: rgba(255,255,255,.06); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.reap-hero__title { max-width: 780px; margin: 0; font-size: clamp(3rem, 5.4vw, 5.9rem); line-height: .95; letter-spacing: -.055em; }
.reap-hero__title strong { color: #fff3da; }
.reap-hero__lead { max-width: 710px; margin: 26px 0 0; color: #d8e3eb; font-size: clamp(1.06rem, 1.4vw, 1.25rem); line-height: 1.65; }
.reap-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.reap-hero__meta { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 33px; color: #c7d6e2; font-size: .83rem; }
.reap-hero__meta b { color: #fff; }
.reap-hero__visual { position: relative; min-height: 520px; align-self: stretch; }
.reap-hero__image { position: absolute; inset: 40px -14vw 40px 0; overflow: hidden; border-radius: 28px 0 0 28px; background: #203b57; box-shadow: 0 35px 90px rgba(0,0,0,.28); }
.reap-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.reap-hero__image::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.reap-hero__stat { position: absolute; z-index: 2; left: -28px; bottom: 75px; width: min(310px, 80%); padding: 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(12,25,42,.88); backdrop-filter: blur(9px); box-shadow: var(--reap-shadow); }
.reap-hero__stat-number { display: block; font-size: 2.25rem; line-height: 1; font-weight: 900; }
.reap-hero__stat-label { display: block; margin-top: 8px; color: #d9e4ec; font-size: .84rem; }
.reap-brand-rule { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; height: 6px; }
.reap-brand-rule span:nth-child(1) { background: var(--reap-red); }
.reap-brand-rule span:nth-child(2) { background: var(--reap-red); }
.reap-brand-rule span:nth-child(3) { background: var(--reap-red); }
.reap-brand-rule span:nth-child(4) { background: var(--reap-red); }

/* Focus */
.reap-focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.reap-focus-card { position: relative; min-height: 250px; padding: 28px; overflow: hidden; color: var(--reap-ink); background: #fff; border: 1px solid var(--reap-line); border-radius: var(--reap-radius); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.reap-focus-card:hover { transform: translateY(-4px); color: var(--reap-ink); box-shadow: var(--reap-shadow); border-color: transparent; }
.reap-focus-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--accent, var(--reap-red)); }
.reap-focus-card__num { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent, var(--reap-red)); font-size: .83rem; font-weight: 850; }
.reap-focus-card h3 { margin: 25px 0 10px; font-size: 1.22rem; line-height: 1.23; }
.reap-focus-card p { margin: 0; color: var(--reap-muted); font-size: .92rem; }
.reap-focus-card__arrow { position: absolute; right: 24px; bottom: 22px; font-size: 1.35rem; color: var(--accent, var(--reap-red)); }

/* Story / metrics */
.reap-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(38px, 7vw, 90px); align-items: center; }
.reap-photo-frame { position: relative; }
.reap-photo-frame img { width: 100%; min-height: 480px; object-fit: cover; border-radius: 24px; box-shadow: var(--reap-shadow); }
.reap-photo-badge { position: absolute; right: -20px; bottom: 30px; max-width: 250px; padding: 20px; border-radius: 16px; background: #fff; box-shadow: var(--reap-shadow); }
.reap-photo-badge b { display: block; font-size: 1.15rem; }
.reap-photo-badge span { color: var(--reap-muted); font-size: .82rem; }
.reap-prose p { color: #475665; }
.reap-prose h2, .reap-prose h3 { line-height: 1.2; letter-spacing: -.025em; }
.reap-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 27px; }
.reap-metric { padding: 16px; border-radius: 14px; background: var(--reap-mist); }
.reap-metric b { display: block; font-size: 1.35rem; }
.reap-metric span { display: block; margin-top: 3px; color: var(--reap-muted); font-size: .75rem; }

/* Systems */
.reap-system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reap-system-card { min-height: 265px; display: flex; flex-direction: column; padding: 26px; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #19324d; text-decoration: none; }
.reap-system-card:hover { color: #fff; background: #203b59; }
.reap-system-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.10); }
.reap-system-card h3 { margin: 30px 0 9px; font-size: 1.2rem; }
.reap-system-card p { margin: 0; color: #c9d7e2; font-size: .9rem; }
.reap-system-card__more { margin-top: auto; padding-top: 20px; color: #fff4d6; font-weight: 800; font-size: .82rem; }

/* Publications */
.reap-resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reap-resource-card { display: flex; flex-direction: column; min-height: 250px; padding: 24px; border: 1px solid var(--reap-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(19,34,56,.05); }
.reap-resource-card__type { align-self: flex-start; padding: 5px 8px; border-radius: 7px; color: #111; background: #f2f2f2; font-size: .69rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.reap-resource-card h3 { margin: 17px 0 9px; font-size: 1.05rem; line-height: 1.35; }
.reap-resource-card p { margin: 0; color: var(--reap-muted); font-size: .84rem; }
.reap-resource-card__link { margin-top: auto; padding-top: 20px; font-weight: 780; font-size: .83rem; }

/* News */
.reap-news-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }
.reap-news-feature { position: relative; min-height: 520px; overflow: hidden; border-radius: 22px; background: var(--reap-ink); }
.reap-news-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reap-news-feature::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.68); }
.reap-news-feature__copy { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; color: #fff; }
.reap-news-feature__copy a { color: #fff; text-decoration: none; }
.reap-news-feature__copy h3 { margin: 8px 0 0; font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.07; letter-spacing: -.03em; }
.reap-news-list { display: grid; gap: 13px; }
.reap-news-item { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 11px; border: 1px solid var(--reap-line); border-radius: 15px; background: #fff; }
.reap-news-item img { width: 112px; height: 100px; object-fit: cover; border-radius: 11px; background: var(--reap-mist); }
.reap-news-item time { color: var(--reap-muted); font-size: .72rem; }
.reap-news-item h3 { margin: 5px 0 0; font-size: .96rem; line-height: 1.35; }
.reap-news-item a { color: var(--reap-ink); text-decoration: none; }

/* Inner pages */
.reap-page-hero { position: relative; overflow: hidden; padding: 84px 0 72px; color: #fff; background: var(--reap-purple); }
.reap-page-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -90px; bottom: -190px; border-radius: 50%; border: 70px solid rgba(228,131,43,.14); }
.reap-page-hero .reap-container { position: relative; z-index: 1; }
.reap-breadcrumbs { margin-bottom: 18px; color: #cbd8e3; font-size: .78rem; }
.reap-breadcrumbs a { color: #fff; }
.reap-page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.045em; }
.reap-page-hero p { max-width: 720px; margin: 18px 0 0; color: #d9e5ed; }
.reap-content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 50px; align-items: start; }
.reap-entry-content { min-width: 0; font-size: 1.01rem; }
.reap-entry-content > * { max-width: var(--reap-reading); }
.reap-entry-content > .alignwide { max-width: 1100px; }
.reap-entry-content > .alignfull { max-width: none; }
.reap-entry-content h2, .reap-entry-content h3, .reap-entry-content h4 { margin-top: 1.8em; line-height: 1.2; letter-spacing: -.025em; }
.reap-entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.reap-entry-content blockquote { margin-left: 0; padding: 18px 20px; border-left: 4px solid var(--reap-orange); background: var(--reap-mist); }
.reap-entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.reap-entry-content th, .reap-entry-content td { padding: 10px; border: 1px solid var(--reap-line); text-align: left; }
.reap-entry-content th { background: var(--reap-mist); }
.reap-entry-content iframe { width: 100%; min-height: 500px; border: 0; border-radius: 16px; }
.reap-sidebar-card { padding: 22px; border: 1px solid var(--reap-line); border-radius: 16px; background: var(--reap-mist); }
.reap-sidebar-card + .reap-sidebar-card { margin-top: 15px; }
.reap-sidebar-card h3 { margin-top: 0; font-size: 1rem; }
.reap-sidebar-card ul { margin: 0; padding-left: 18px; }
.reap-sidebar-card a { color: var(--reap-ink); text-decoration: none; }

/* Archive/search */
.reap-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reap-post-card { overflow: hidden; border: 1px solid var(--reap-line); border-radius: 17px; background: #fff; }
.reap-post-card img { width: 100%; height: 220px; object-fit: cover; background: var(--reap-mist); }
.reap-post-card__body { padding: 20px; }
.reap-post-card h2, .reap-post-card h3 { margin: 8px 0; font-size: 1.15rem; line-height: 1.3; }
.reap-post-card a { color: var(--reap-ink); text-decoration: none; }
.reap-post-card p { color: var(--reap-muted); font-size: .88rem; }

/* Footer */
.reap-footer { color: #dbe6ed; background: #0d1c2e; }
.reap-footer-cta { position: relative; top: -36px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 28px 32px; border-radius: 20px; color: #fff; background: var(--reap-red); box-shadow: 0 24px 60px rgba(8,18,31,.25); }
.reap-footer-cta h2 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.1; }
.reap-footer-cta p { margin: 8px 0 0; color: #f7dfe0; }
.reap-footer-main { padding: 36px 0 54px; }
.reap-footer-grid { display: grid; grid-template-columns: 1.4fr .75fr .9fr 1.05fr; gap: clamp(28px, 5vw, 60px); }
.reap-footer-brand { color: #fff; text-decoration: none; }
.reap-footer-brand img { max-width: 250px; max-height: 86px; object-fit: contain; filter: brightness(0) invert(1); }
.reap-footer-brand__fallback { display: flex; align-items: center; gap: 12px; }
.reap-footer-about { max-width: 390px; margin-top: 18px; color: #aebfcd; font-size: .88rem; }
.reap-footer h3 { margin: 0 0 17px; color: #fff; font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; }
.reap-footer ul { margin: 0; padding: 0; list-style: none; }
.reap-footer li + li { margin-top: 9px; }
.reap-footer a { color: #c9d7e1; text-decoration: none; }
.reap-footer a:hover { color: #fff; }
.reap-footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.reap-footer-contact svg { width: 16px; margin-top: 4px; }
.reap-footer-partners { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.reap-footer-partners__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }
.reap-footer-partners__label { color: #71889a; font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.reap-footer-partners a { color: #c7d4de; font-size: .8rem; }
.reap-footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.reap-footer-bottom .reap-container { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 22px; color: #8499a9; font-size: .74rem; }
.reap-footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 12px 18px; }

/* Responsive */
@media (max-width: 1080px) {
  .reap-primary-nav { display: none; position: fixed; top: var(--reap-mobile-top, 106px); left: 18px; right: 18px; max-height: calc(100vh - 130px); overflow: auto; padding: 16px; border: 1px solid var(--reap-line); border-radius: 16px; background: #fff; box-shadow: var(--reap-shadow); }
  .reap-primary-nav.is-open { display: block; }
  .reap-primary-nav ul { display: grid; justify-content: stretch; }
  .reap-primary-nav a { font-size: .95rem; }
  .reap-primary-nav .sub-menu { position: static; display: grid; min-width: 0; padding: 0 0 0 16px; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
  .reap-menu-toggle { display: grid; }
  .reap-nav-row { grid-template-columns: 1fr auto; }
  .reap-nav-actions { grid-column: 2; grid-row: 1; }
  .reap-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .reap-hero__copy { padding: 70px 0 25px; }
  .reap-hero__visual { min-height: 430px; }
  .reap-hero__image { inset: 0 -20px 30px 0; }
  .reap-focus-grid, .reap-system-grid, .reap-resource-grid, .reap-card-grid { grid-template-columns: repeat(2, 1fr); }
  .reap-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .reap-footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  .admin-bar .reap-site-header { top: 46px; }
  .reap-utility .reap-container { padding: 7px 0; }
  .reap-utility__items:first-child { display: none; }
  .reap-nav-row { min-height: 74px; }
  .reap-brand__sub { display: none; }
  .reap-brand img { max-width: 205px; max-height: 52px; }
  .reap-heading-row { display: block; }
  .reap-heading-row .reap-btn { margin-top: 20px; }
  .reap-split, .reap-news-grid, .reap-content-wrap { grid-template-columns: 1fr; }
  .reap-photo-badge { right: 15px; }
  .reap-sidebar { order: -1; }
  .reap-footer-cta { grid-template-columns: 1fr; top: -28px; }
  .reap-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 590px) {
  .reap-container, .reap-reading { width: min(calc(100% - 28px), var(--reap-max)); }
  .reap-utility__items { gap: 8px; }
  .reap-utility__items span:not(:last-child) { display: none; }
  .reap-nav-row { gap: 8px; }
  .reap-brand__words { display: none; }
  .reap-brand img { max-width: 185px; }
  .reap-hero__title { font-size: clamp(2.75rem, 16vw, 4.4rem); }
  .reap-hero__visual { min-height: 350px; }
  .reap-hero__stat { left: 12px; bottom: 48px; }
  .reap-focus-grid, .reap-system-grid, .reap-resource-grid, .reap-card-grid, .reap-metrics { grid-template-columns: 1fr; }
  .reap-news-item { grid-template-columns: 90px 1fr; }
  .reap-news-item img { width: 90px; height: 82px; }
  .reap-footer-grid { grid-template-columns: 1fr; }
  .reap-footer-grid > :last-child { grid-column: auto; }
  .reap-footer-bottom .reap-container { padding: 18px 0; display: block; }
  .reap-footer-bottom nav { margin-top: 10px; }
  .reap-search-panel form { grid-template-columns: 1fr; }
}

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


/* Version 2: full-width homepage slider and programme continuum */
.reap-slider {
  position: relative;
  overflow: hidden;
  background: #0b1828;
  color: #fff;
  isolation: isolate;
}
.reap-slider__viewport { position: relative; min-height: clamp(540px, 72vh, 790px); }
.reap-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}
.reap-slider__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.reap-slider__media,
.reap-slider__shade { position: absolute; inset: 0; }
.reap-slider__media { background: #172d46; }
.reap-slider__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.reap-slider__shade {
  background: transparent;
}
.reap-slider__content {
  position: relative;
  z-index: 3;
  min-height: clamp(540px, 72vh, 790px);
  display: flex;
  align-items: center;
  padding-top: clamp(54px, 7vw, 90px);
  padding-bottom: clamp(82px, 10vw, 122px);
}
.reap-slider__copy { max-width: 790px; }
.reap-slider__eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(10,25,42,.22);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.reap-slider h1,
.reap-slider__title {
  margin: 0;
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.7rem, 5.2vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0,0,0,.24);
}
.reap-slider__lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #edf3f7;
  font-size: clamp(1rem, 1.4vw, 1.23rem);
  line-height: 1.65;
  text-shadow: 0 2px 15px rgba(0,0,0,.28);
}
.reap-btn--slider {
  margin-top: 28px;
  background: #fff;
  color: var(--reap-ink);
  box-shadow: 0 12px 35px rgba(0,0,0,.16);
}
.reap-btn--slider:hover { color: var(--reap-red); background: #fff; }
.reap-slider__controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.reap-slider__dots { display: flex; align-items: center; justify-content: center; gap: 9px; pointer-events: auto; }
.reap-slider__dot {
  width: 26px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.44);
  transition: width .2s ease, background .2s ease;
}
.reap-slider__dot.is-active { width: 50px; background: #fff; }
.reap-slider .reap-brand-rule { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; }

.reap-programme-intro { background: #fff; }
.reap-intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.reap-intro-copy { max-width: 720px; color: var(--reap-muted); font-size: 1.06rem; }
.reap-intro-copy p:first-child { margin-top: 3px; }
.reap-text-link { color: var(--reap-ink); font-weight: 800; text-decoration: none; }
.reap-text-link:hover { color: var(--reap-red); }
.reap-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(42px, 6vw, 70px);
  overflow: hidden;
  border: 1px solid var(--reap-line);
  border-radius: 20px;
  background: var(--reap-line);
}
.reap-timeline__item { position: relative; min-height: 250px; padding: clamp(25px, 3vw, 38px); background: #fff; }
.reap-timeline__item::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: #738498; }
.reap-timeline__item.is-primary::before { background: var(--reap-purple); }
.reap-timeline__item.is-current::before { background: var(--reap-purple); }
.reap-timeline__year { display: inline-block; margin-bottom: 25px; color: #111; font-size: .78rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.reap-timeline__item h3 { margin: 0 0 10px; font-size: 1.35rem; }
.reap-timeline__item p { margin: 0; color: var(--reap-muted); }
.reap-split--story { align-items: stretch; }
.reap-story-panel { padding: clamp(28px, 4vw, 54px); border: 1px solid var(--reap-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 45px rgba(19,34,56,.07); }
.reap-story-panel__brand { max-width: 235px; margin-bottom: 38px; }
.reap-story-panel__brand img { display: block; width: 100%; height: auto; }
.reap-story-panel > p:not(.reap-kicker) { color: var(--reap-muted); }
.reap-principles { display: grid; align-content: stretch; border-top: 1px solid var(--reap-line); }
.reap-principle { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--reap-line); }
.reap-principle > span { color: #111; font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.reap-principle h3 { margin: 0 0 6px; font-size: 1.08rem; }
.reap-principle p { margin: 0; color: var(--reap-muted); }
.reap-news-item__placeholder { width: 100%; height: 100%; min-height: 82px; border-radius: 11px; background: #edf2f5; }

/* Keep below-the-fold rendering cheap on long public-sector pages. */
@supports (content-visibility: auto) {
  .reap-section { content-visibility: auto; contain-intrinsic-size: 1px 800px; }
  .reap-slider, .reap-programme-intro { content-visibility: visible; contain-intrinsic-size: auto; }
}

@media (max-width: 900px) {
  .reap-slider__viewport,
  .reap-slider__content { min-height: 620px; }
  .reap-slider__shade {
    background: transparent;
  }
  .reap-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .reap-timeline { grid-template-columns: 1fr; }
  .reap-timeline__item { min-height: 0; }
}

@media (max-width: 600px) {
  .reap-slider__viewport,
  .reap-slider__content { min-height: 560px; }
  .reap-slider__image { object-position: center center; }
  .reap-slider__shade { background: transparent; }
  .reap-slider h1, .reap-slider__title { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  .reap-slider__lead { font-size: 1rem; }
  .reap-slider__controls { bottom: 28px; }
  .reap-story-panel { padding: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .reap-slider__slide { transition: none; }
}

/* Official REAP logo remains in its supplied colours in the footer. */
.reap-footer-brand { display: inline-flex; padding: 11px 14px; border-radius: 14px; background: #fff; }
.reap-footer-brand img { display: block; width: auto; max-width: 250px; max-height: 86px; height: auto; object-fit: contain; filter: none; }
.reap-footer-main { position: relative; }
.reap-footer-main::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--reap-red); opacity: .9; }

/* Version 2.1 responsive system: mobile is a primary layout, not a reduced desktop layout. */
.reap-mobile-shortcuts { display: none; }
.reap-slider__picture { position: absolute; inset: 0; display: block; }
.reap-slider__picture .reap-slider__image { display: block; }

/* Wide screens get more breathing room while reading measure remains controlled. */
@media (min-width: 1440px) {
  :root { --reap-max: 1360px; }
  .reap-nav-row { grid-template-columns: minmax(260px, 360px) 1fr auto; gap: 36px; }
  .reap-primary-nav a { padding-inline: 13px; font-size: .91rem; }
  .reap-slider__copy { max-width: 860px; }
  .reap-slider h1, .reap-slider__title { font-size: clamp(3.5rem, 4.8vw, 5.8rem); }
  .reap-focus-grid { gap: 20px; }
  .reap-focus-card { min-height: 270px; padding: 31px; }
  .reap-footer-grid { grid-template-columns: 1.55fr .8fr .95fr 1.1fr; }
}

@media (min-width: 1800px) {
  :root { --reap-max: 1440px; }
  .reap-slider__viewport, .reap-slider__content { min-height: 780px; }
}

/* Tablet navigation becomes a generous touch-friendly sheet. */
@media (max-width: 1080px) {
  .reap-site-header { backdrop-filter: saturate(125%) blur(14px); }
  .reap-primary-nav {
    left: 16px;
    right: 16px;
    padding: 14px;
    border-radius: 20px;
    overscroll-behavior: contain;
  }
  .reap-primary-nav > div > ul { gap: 3px; }
  .reap-primary-nav a { min-height: 48px; display: flex; align-items: center; padding: 12px 14px; border-radius: 11px; }
  .reap-primary-nav > div > ul > li > a { font-size: 1rem; }
  .reap-primary-nav .sub-menu { gap: 2px; margin: 1px 0 8px; padding-left: 13px; border-left: 2px solid #edf1f4; }
  .reap-primary-nav .sub-menu a { min-height: 44px; color: #405160; }
  .reap-icon-btn { width: 46px; height: 46px; }
}

/* Mobile header and fast-access rail. */
@media (max-width: 782px) {
  body { overflow-x: clip; }
  .reap-utility { font-size: .74rem; }
  .reap-utility .reap-container { min-height: 32px; justify-content: center; }
  .reap-utility__items:first-child { display: none; }
  .reap-utility__items { width: 100%; justify-content: center; }
  .reap-utility__items span { display: inline-flex; }
  .reap-utility__items span:first-child::before { content: "REAP · MoFPED"; color: #b8c8d4; margin-right: 12px; }
  .reap-site-header { box-shadow: 0 7px 24px rgba(19,34,56,.08); }
  .reap-site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--reap-red);
    pointer-events: none;
  }
  .reap-nav-row { min-height: 72px; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .reap-site-header.is-scrolled .reap-nav-row { min-height: 64px; }
  .reap-brand { min-width: 0; }
  .reap-brand img { max-width: min(176px, 48vw); max-height: 54px; }
  .reap-site-header.is-scrolled .reap-brand img { max-height: 47px; }
  .reap-nav-actions { gap: 7px; }
  .reap-icon-btn { width: 44px; height: 44px; border-color: #d7e0e6; }
  .reap-menu-toggle { background: var(--reap-ink); color: #fff; border-color: var(--reap-ink); }

  .reap-mobile-shortcuts { display: block; max-height: 46px; overflow: hidden; border-top: 1px solid #eef2f4; background: #fff; transition: max-height .2s ease, opacity .2s ease; }
  .reap-site-header.is-scrolled .reap-mobile-shortcuts { max-height: 0; opacity: 0; border-top-color: transparent; }
  .reap-mobile-shortcuts__row { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .reap-mobile-shortcuts a {
    min-width: 0;
    min-height: 43px;
    display: grid;
    place-items: center;
    padding: 8px 4px;
    border-right: 1px solid #edf1f4;
    color: #33485b;
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }
  .reap-mobile-shortcuts a:last-child { border-right: 0; }
  .reap-mobile-shortcuts a:nth-child(1) { box-shadow: inset 0 2px 0 var(--reap-red); }
  .reap-mobile-shortcuts a:nth-child(2) { box-shadow: inset 0 2px 0 var(--reap-red); }
  .reap-mobile-shortcuts a:nth-child(3) { box-shadow: inset 0 2px 0 var(--reap-red); }
  .reap-mobile-shortcuts a:nth-child(4) { box-shadow: inset 0 2px 0 var(--reap-red); }

  .reap-primary-nav {
    top: var(--reap-mobile-top, 122px);
    left: 10px;
    right: 10px;
    max-height: calc(100dvh - var(--reap-mobile-top, 122px) - 12px);
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 24px 65px rgba(8,18,31,.24);
  }
  .reap-primary-nav a { min-height: 50px; font-size: .98rem; }

  .reap-search-panel { padding: max(76px, calc(env(safe-area-inset-top) + 64px)) 10px 10px; }
  .reap-search-panel__inner { width: 100%; padding: 20px; border-radius: 18px; }
  .reap-search-panel__inner .reap-heading-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
  .reap-search-panel__inner .reap-section-title { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .reap-search-panel input[type="search"] { min-height: 52px; font-size: 16px; }

  .reap-section { padding: 54px 0; }
  .reap-section--tight { padding: 30px 0; }
  .reap-section-title { font-size: clamp(1.9rem, 8.5vw, 2.7rem); line-height: 1.04; }
  .reap-section-lead { font-size: 1rem; line-height: 1.6; }
  .reap-heading-row { margin-bottom: 26px; }
  .reap-heading-row .reap-btn { width: 100%; }

  /* On phones, the slider is image-led and copy sits safely over a deeper bottom gradient. */
  .reap-slider__viewport, .reap-slider__content { min-height: clamp(510px, 78dvh, 690px); }
  .reap-slider__media, .reap-slider__picture { inset: 0; }
  .reap-slider__image { object-position: center 42%; }
  .reap-slider__shade {
    background: transparent;
  }
  .reap-slider__content { align-items: flex-end; padding-top: 90px; padding-bottom: 92px; }
  .reap-slider__copy { width: min(100%, 620px); }
  .reap-slider__eyebrow { margin-bottom: 12px; padding: 6px 9px; font-size: .65rem; letter-spacing: .065em; }
  .reap-slider h1, .reap-slider__title { max-width: 12.5ch; font-size: clamp(2.25rem, 10.8vw, 3.45rem); line-height: .98; letter-spacing: -.04em; text-wrap: pretty; }
  .reap-slider__lead { max-width: 40rem; margin-top: 15px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: .98rem; line-height: 1.5; }
  .reap-btn--slider { min-height: 47px; margin-top: 18px; padding: 11px 17px; }
  .reap-slider__controls { bottom: 22px; }
  .reap-slider__dots { gap: 6px; }
  .reap-slider__dot { width: 18px; height: 4px; }
  .reap-slider__dot.is-active { width: 35px; }

  .reap-intro-grid { gap: 18px; }
  .reap-intro-copy { font-size: 1rem; }
  .reap-timeline { margin-top: 30px; border-radius: 16px; }
  .reap-timeline__item { padding: 24px; }
  .reap-timeline__year { margin-bottom: 15px; }

  .reap-split--story { gap: 22px; }
  .reap-story-panel { border-radius: 18px; }
  .reap-story-panel__brand { max-width: 190px; margin-bottom: 25px; }
  .reap-principle { grid-template-columns: 42px 1fr; gap: 12px; padding: 20px 0; }

  .reap-system-grid { grid-template-columns: 1fr; gap: 12px; }
  .reap-system-card { min-height: 210px; padding: 22px; border-radius: 16px; }
  .reap-system-card h3 { margin-top: 22px; }

  .reap-news-grid { gap: 14px; }
  .reap-news-feature { min-height: 410px; border-radius: 18px; }
  .reap-news-feature__copy { left: 20px; right: 20px; bottom: 20px; }
  .reap-news-feature__copy h3 { font-size: clamp(1.55rem, 7vw, 2.25rem); }
  .reap-news-list { gap: 10px; }
  .reap-news-item { grid-template-columns: 96px minmax(0,1fr); gap: 12px; padding: 9px; }
  .reap-news-item img { width: 96px; height: 86px; }

  /* Inner pages prioritize reading before supplementary sidebar content. */
  .reap-page-hero { padding: 56px 0 48px; }
  .reap-page-hero h1 { font-size: clamp(2rem, 10vw, 3.25rem); line-height: 1.02; }
  .reap-breadcrumbs { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .reap-breadcrumbs::-webkit-scrollbar { display: none; }
  .reap-content-wrap { gap: 30px; }
  .reap-sidebar { order: initial; }
  .reap-entry-content { font-size: 1rem; line-height: 1.7; }
  .reap-entry-content iframe { min-height: 250px; border-radius: 12px; }
  .reap-entry-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .reap-entry-content pre { max-width: 100%; overflow-x: auto; }
  .reap-entry-content img { border-radius: 10px; }

  .reap-footer { margin-top: 0; }
  .reap-footer .reap-container { width: min(calc(100% - 28px), var(--reap-max)); }
  .reap-footer-cta { top: 0; margin: 0 0 42px; padding: 24px; border-radius: 18px; }
  .reap-footer-cta .reap-btn { width: 100%; }
  .reap-footer-main { padding: 44px 0 38px; }
  .reap-footer-grid { gap: 30px 22px; }
  .reap-footer-brand img { max-width: min(220px, 70vw); }
  .reap-footer-partners__row { align-items: flex-start; gap: 10px 20px; }
  .reap-footer-partners__label { flex-basis: 100%; }
  .reap-footer-bottom .reap-container { min-height: 0; }
}

/* Phones use swipeable content rails. The visible next-card edge signals that more content exists. */
@media (max-width: 640px) {
  .reap-container, .reap-reading { width: min(calc(100% - 28px), var(--reap-max)); }

  .reap-focus-grid,
  .reap-resource-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 350px);
    grid-template-columns: none;
    gap: 12px;
    margin-left: -2px;
    margin-right: -14px;
    padding: 2px 14px 14px 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .reap-focus-grid::-webkit-scrollbar,
  .reap-resource-grid::-webkit-scrollbar { display: none; }
  .reap-focus-card,
  .reap-resource-card { scroll-snap-align: start; }
  .reap-focus-card { min-height: 235px; padding: 24px; }
  .reap-resource-card { min-height: 230px; }

  .reap-timeline { gap: 0; background: #fff; border: 0; overflow: visible; }
  .reap-timeline__item { margin-bottom: 10px; border: 1px solid var(--reap-line); border-radius: 15px; overflow: hidden; }
  .reap-timeline__item:last-child { margin-bottom: 0; }

  .reap-card-grid { grid-template-columns: 1fr; gap: 14px; }
  .reap-post-card img { height: auto; aspect-ratio: 16 / 10; }

  .reap-footer-grid { grid-template-columns: 1fr; }
  .reap-footer-grid > :last-child { grid-column: auto; }
  .reap-footer h3 { margin-bottom: 12px; }
  .reap-footer-bottom .reap-container { padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .reap-utility__items span:nth-child(2) { display: none; }
  .reap-brand img { max-width: min(166px, 47vw); }
  .reap-icon-btn { width: 43px; height: 43px; }
  .reap-mobile-shortcuts a { font-size: .68rem; }

  .reap-slider__viewport, .reap-slider__content { min-height: clamp(500px, 74dvh, 620px); }
  .reap-slider__content { padding-bottom: 84px; }
  .reap-slider h1, .reap-slider__title { font-size: clamp(2.12rem, 11.2vw, 3rem); }
  .reap-slider__lead { -webkit-line-clamp: 2; }
  .reap-slider__controls { justify-content: center; }

  .reap-section { padding: 48px 0; }
  .reap-section-title { font-size: clamp(1.8rem, 9.3vw, 2.35rem); }
  .reap-btn { min-height: 48px; }
  .reap-heading-row .reap-btn { justify-content: center; }

  .reap-news-feature { min-height: 360px; }
  .reap-news-item { grid-template-columns: 84px minmax(0,1fr); }
  .reap-news-item img { width: 84px; height: 78px; }
  .reap-news-item h3 { font-size: .9rem; }

  .reap-footer-cta h2 { font-size: 1.55rem; }
  .reap-footer-about { font-size: .86rem; }
}

@media (max-width: 360px) {
  .reap-container, .reap-reading { width: min(calc(100% - 22px), var(--reap-max)); }
  .reap-brand img { max-width: 145px; }
  .reap-nav-actions { gap: 4px; }
  .reap-icon-btn { width: 40px; height: 40px; }
  .reap-mobile-shortcuts a { font-size: .63rem; letter-spacing: -.01em; }
  .reap-slider h1, .reap-slider__title { font-size: 2rem; }
  .reap-slider__eyebrow { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .reap-focus-grid, .reap-resource-grid { grid-auto-columns: 88vw; }
}

@media (hover: none) and (pointer: coarse) {
  .reap-btn:hover, .reap-focus-card:hover { transform: none; }
  .reap-primary-nav li:hover > .sub-menu { transform: none; }
  a, button { -webkit-tap-highlight-color: rgba(184,42,47,.12); }
}

body.reap-menu-open, body.reap-search-open { overflow: hidden; }


/* Version 2.2: sector-specific inner pages, native programme timeline and accessibility. */

/* Breadcrumbs */
.reap-breadcrumbs { margin-bottom: 20px; }
.reap-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 0; padding: 0; list-style: none; }
.reap-breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; color: #cbd8e3; font-size: .76rem; }
.reap-breadcrumbs li + li::before { content: "/"; color: rgba(255,255,255,.42); }
.reap-breadcrumbs a { color: #fff; text-decoration: none; }
.reap-breadcrumbs [aria-current="page"] { color: #dbe5ed; }

/* Designed inner-page hero */
.reap-page-hero { isolation: isolate; min-height: 360px; display: grid; align-items: end; padding: clamp(70px, 8vw, 112px) 0 clamp(54px, 6vw, 82px); background: #132238; }
.reap-page-hero::after { display: none; }
.reap-page-hero__media, .reap-page-hero__overlay { position: absolute; inset: 0; }
.reap-page-hero__media { z-index: -3; background-position: center; background-size: cover; }
.reap-page-hero__overlay { z-index: -2; background: rgba(0,0,0,.58); }
.reap-page-hero:not(.reap-page-hero--has-image) .reap-page-hero__overlay { background: var(--reap-purple); }
.reap-page-hero--orange:not(.reap-page-hero--has-image) .reap-page-hero__overlay { background: var(--reap-purple); }
.reap-page-hero--green:not(.reap-page-hero--has-image) .reap-page-hero__overlay { background: var(--reap-purple); }
.reap-page-hero--purple:not(.reap-page-hero--has-image) .reap-page-hero__overlay { background: var(--reap-purple); }
.reap-page-hero__inner { position: relative; z-index: 1; }
.reap-page-hero__kicker { margin: 0 0 13px; color: #ffcf96; font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.reap-page-hero h1, .reap-reform-hero h1, .reap-timeline-hero h1, .reap-library-hero h1, .reap-news-hero h1, .reap-contact-hero h1 { margin: 0; max-width: 950px; color: #fff; font-size: clamp(2.55rem, 5.2vw, 5rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.reap-page-hero__lead { max-width: 780px; margin: 20px 0 0; color: #e2eaf0; font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.62; }
.reap-page-meta { display: flex; flex-wrap: wrap; gap: 8px 9px; margin-top: 26px; }
.reap-page-meta span, .reap-page-meta a { display: inline-flex; min-height: 32px; align-items: center; padding: 5px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #e7eef3; background: rgba(8,20,34,.22); font-size: .72rem; font-weight: 720; text-decoration: none; }

/* Inner content system */
.reap-inner-section { background: #fff; }
.reap-inner-layout { display: grid; grid-template-columns: minmax(0,1fr) 315px; gap: clamp(38px, 6vw, 76px); align-items: start; }
.reap-inner-sidebar { display: grid; gap: 16px; min-width: 0; position: sticky; top: 106px; }
.reap-entry-content--designed { min-width: 0; max-width: 900px; font-size: 1.03rem; }
.reap-entry-content--designed > p:first-child { font-size: 1.11em; color: #33495d; }
.reap-entry-content p { margin: 0 0 1.25em; }
.reap-entry-content h2 { margin-top: 2.15em; padding-top: .1em; }
.reap-entry-content h2:first-child { margin-top: 0; }
.reap-entry-content h3 { margin-top: 1.7em; }
.reap-entry-content ul, .reap-entry-content ol { padding-left: 1.35em; }
.reap-entry-content li + li { margin-top: .48em; }
.reap-entry-content figure { margin: 2em 0; }
.reap-entry-content figure img { border-radius: 18px; }
.reap-entry-content figcaption { margin-top: 8px; color: var(--reap-muted); font-size: .78rem; }
.reap-entry-content .wp-block-file { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 14px 0; padding: 15px 17px; border: 1px solid var(--reap-line); border-radius: 13px; background: #fff; }
.reap-entry-content .wp-block-file__button { flex: 0 0 auto; border-radius: 999px; }
.reap-entry-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.reap-entry-content th { color: #fff; background: var(--reap-ink); }
.reap-entry-content tr:nth-child(even) td { background: #f8fafb; }
.reap-entry-content blockquote { position: relative; margin: 2em 0; padding: 25px 28px 25px 32px; border-left: 5px solid var(--reap-orange); border-radius: 0 15px 15px 0; background: #f6f8fa; font-size: 1.08em; }

.reap-sidebar-card { padding: 21px; border: 1px solid var(--reap-line); border-radius: 17px; background: #f7f9fa; }
.reap-sidebar-card h2 { margin: 2px 0 12px; font-size: 1.03rem; line-height: 1.25; }
.reap-sidebar-card p { margin: 0 0 12px; color: #63717d; font-size: .84rem; }
.reap-sidebar-eyebrow { color: #111 !important; font-size: .68rem !important; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.reap-sidebar-card--accent { border: 0; background: #f6f6f6; box-shadow: 0 14px 38px rgba(19,34,56,.08); }
.reap-sidebar-links { display: grid; gap: 0; margin: 0; padding: 0 !important; list-style: none; }
.reap-sidebar-links li { margin: 0 !important; border-top: 1px solid #dde5ea; }
.reap-sidebar-links li:first-child { border-top: 0; }
.reap-sidebar-links a { display: block; padding: 10px 0; color: #273c50; font-size: .82rem; font-weight: 700; text-decoration: none; }
.reap-sidebar-links a:hover { color: #111; }
.reap-sidebar-links--docs a { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.reap-sidebar-links--docs span { color: #111; font-size: .64rem; font-weight: 900; }
.reap-toc ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.reap-toc li { counter-increment: toc; margin: 0; }
.reap-toc a { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 9px 0; color: #415365; font-size: .79rem; line-height: 1.35; text-decoration: none; border-top: 1px solid #e2e8ec; }
.reap-toc a::before { content: counter(toc, decimal-leading-zero); color: #9a5960; font-size: .63rem; font-weight: 850; }
.reap-toc a:hover { color: #111; }

.reap-related-pages { margin-top: clamp(54px, 7vw, 90px); padding-top: 36px; border-top: 1px solid var(--reap-line); }
.reap-section-minihead h2 { margin: 0 0 24px; padding: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.reap-inner-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.reap-inner-link-card { position: relative; min-width: 0; padding: 22px; border: 1px solid var(--reap-line); border-radius: 16px; color: var(--reap-ink); background: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.reap-inner-link-card:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(19,34,56,.08); }
.reap-inner-link-card__num { color: #111; font-size: .67rem; font-weight: 900; letter-spacing: .08em; }
.reap-inner-link-card h3 { margin: 10px 35px 7px 0; font-size: 1.05rem; }
.reap-inner-link-card p { margin: 0; color: var(--reap-muted); font-size: .82rem; }
.reap-inner-link-card__arrow { position: absolute; top: 19px; right: 19px; }

/* Strategic reform pages */
.reap-reform-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 500px; display: grid; align-items: end; padding: clamp(82px,10vw,130px) 0 72px; color: #fff; background: #10243a; }
.reap-reform-hero__image, .reap-reform-hero__shade { position: absolute; inset: 0; z-index: -2; }
.reap-reform-hero__image { background-position: center; background-size: cover; }
.reap-reform-hero__shade { z-index: -1; background: rgba(0,0,0,.58); }
.reap-reform-hero:not(.reap-reform-hero--has-image) .reap-reform-hero__shade { background: var(--reap-purple); }
.reap-reform-hero__content { position: relative; }
.reap-reform-hero__number { position: absolute; right: 0; bottom: -30px; color: rgba(255,255,255,.07); font-size: clamp(7rem,18vw,15rem); font-weight: 950; line-height: .7; letter-spacing: -.08em; pointer-events: none; }
.reap-reform-nav-wrap { border-bottom: 1px solid var(--reap-line); background: #fff; }
.reap-reform-nav { display: flex; gap: 0; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.reap-reform-nav a { flex: 0 0 min(235px,70vw); min-height: 72px; display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; padding: 12px 16px; border-right: 1px solid var(--reap-line); color: #34485a; font-size: .75rem; font-weight: 760; line-height: 1.25; text-decoration: none; scroll-snap-align: start; }
.reap-reform-nav a span { color: #a44a52; font-size: .63rem; font-weight: 900; }
.reap-reform-nav a.is-current { color: #fff; background: var(--reap-red); }
.reap-reform-nav a.is-current span { color: #ffd7d9; }
.reap-policy-intro { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; margin-bottom: 38px; padding: 24px; border: 1px solid #dbe4e9; border-radius: 18px; background: #f7f7f7; }
.reap-policy-intro__mark { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--reap-ink); font-size: .78rem; font-weight: 900; }
.reap-policy-intro p:last-child { margin: 0; color: #455969; }
.reap-document-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.reap-document-card { min-width: 0; display: flex; flex-direction: column; min-height: 220px; padding: 22px; border: 1px solid var(--reap-line); border-radius: 16px; color: var(--reap-ink); background: #fff; text-decoration: none; }
.reap-document-card:hover { border-color: #c8d3da; box-shadow: 0 13px 32px rgba(19,34,56,.07); }
.reap-document-card__type { display: inline-flex; align-self: flex-start; padding: 4px 7px; border-radius: 6px; color: #fff; background: var(--reap-red); font-size: .61rem; font-weight: 900; letter-spacing: .08em; }
.reap-document-card h2, .reap-document-card h3 { margin: 15px 0 8px; font-size: 1.02rem; line-height: 1.32; }
.reap-document-card p { margin: 0 0 16px; color: var(--reap-muted); font-size: .8rem; }
.reap-document-card__meta, .reap-document-card__year { color: var(--reap-muted); font-size: .71rem; }
.reap-document-card__action { margin-top: auto; padding-top: 18px; color: #111; font-size: .77rem; font-weight: 800; }

/* Native timeline page */
.reap-timeline-hero { position: relative; overflow: hidden; padding: clamp(78px,9vw,120px) 0 70px; color: #fff; background: var(--reap-purple); }
.reap-timeline-hero__grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: clamp(38px,7vw,90px); align-items: end; }
.reap-timeline-hero__summary { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.12); backdrop-filter: blur(9px); }
.reap-timeline-hero__summary div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 18px; background: rgba(8,20,34,.62); }
.reap-timeline-hero__summary strong { color: #fff; font-size: 1.3rem; }
.reap-timeline-hero__summary span { color: #cdd9e2; font-size: .76rem; line-height: 1.35; }
.reap-timeline-intro { border-bottom: 1px solid var(--reap-line); }
.reap-timeline-jump { position: sticky; top: 74px; z-index: 40; border-bottom: 1px solid var(--reap-line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.admin-bar .reap-timeline-jump { top: 106px; }
.reap-timeline-jump__track { display: flex; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.reap-timeline-jump a { flex: 1 0 210px; min-height: 67px; display: flex; flex-direction: column; justify-content: center; padding: 11px 17px; border-right: 1px solid var(--reap-line); color: var(--reap-ink); text-decoration: none; scroll-snap-align: start; }
.reap-timeline-jump a span { color: #111; font-size: .64rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.reap-timeline-jump a strong { margin-top: 2px; font-size: .84rem; }
.reap-timeline-jump a.is-current { color: #fff; background: var(--reap-ink); }
.reap-timeline-jump a.is-current span { color: #ffbf84; }
.reap-timeline-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.reap-timeline-heading > p { margin: 0; color: var(--reap-muted); }
.reap-history { position: relative; margin: 0; padding: 0; list-style: none; }
.reap-history::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: var(--reap-purple); }
.reap-history__item { position: relative; display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; min-height: 250px; scroll-margin-top: 165px; }
.reap-history__item:nth-child(odd) .reap-history__card { grid-column: 1; }
.reap-history__item:nth-child(even) .reap-history__card { grid-column: 3; }
.reap-history__item:nth-child(even) .reap-history__marker { grid-column: 2; grid-row: 1; }
.reap-history__marker { grid-column: 2; grid-row: 1; z-index: 2; display: grid; place-items: center; }
.reap-history__marker span { width: 46px; height: 46px; display: grid; place-items: center; border: 7px solid #f4f7f9; border-radius: 50%; color: #fff; background: var(--reap-ink); font-size: .68rem; font-weight: 900; box-shadow: 0 0 0 2px #cbd7df; }
.reap-history__item.is-current .reap-history__marker span { background: var(--reap-purple); box-shadow: 0 0 0 3px rgba(109,74,141,.22); }
.reap-history__card { overflow: hidden; border: 1px solid var(--reap-line); border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(19,34,56,.07); }
.reap-history__topline { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--reap-line); background: #fbfcfd; }
.reap-history__period { color: #111; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.reap-history__current { padding: 4px 8px; border-radius: 999px; color: #fff; background: var(--reap-purple); font-size: .62rem; font-weight: 850; }
.reap-history__body { padding: 24px; }
.reap-history__body.has-image { display: grid; grid-template-columns: 1fr 150px; gap: 20px; }
.reap-history__label { margin: 0 0 6px; color: #667784; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.reap-history__body h3 { margin: 0 0 10px; font-size: 1.45rem; letter-spacing: -.025em; }
.reap-history__body p:not(.reap-history__label) { margin: 0 0 14px; color: var(--reap-muted); font-size: .88rem; }
.reap-history__image img { width: 150px; height: 150px; object-fit: cover; border-radius: 13px; }
.reap-timeline-memory__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.reap-timeline-memory__grid > div:last-child { color: var(--reap-muted); }

/* Reports and publications library */
.reap-library-hero { padding: clamp(78px,9vw,118px) 0 68px; color: #fff; background: var(--reap-red); }
.reap-library-hero__grid { display: grid; grid-template-columns: 1fr 260px; gap: 50px; align-items: end; }
.reap-library-hero__stat { padding: 23px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(10,23,39,.35); }
.reap-library-hero__stat strong { display: block; color: #fff; font-size: 3rem; line-height: 1; }
.reap-library-hero__stat span { display: block; margin-top: 8px; color: #d9e5ed; font-size: .78rem; line-height: 1.4; }
.reap-library-tools { display: grid; grid-template-columns: minmax(0,1fr) 180px auto; gap: 12px; align-items: end; padding: 18px; border: 1px solid var(--reap-line); border-radius: 18px; background: #fff; box-shadow: 0 13px 35px rgba(19,34,56,.06); }
.reap-library-tools label { display: block; margin: 0 0 6px; color: #526271; font-size: .71rem; font-weight: 800; }
.reap-library-tools input, .reap-library-tools select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cdd8df; border-radius: 11px; color: var(--reap-ink); background: #fff; }
.reap-library-status { margin: 21px 0 13px; color: var(--reap-muted); font-size: .76rem; font-weight: 750; }
.reap-document-grid--library { grid-template-columns: repeat(3,minmax(0,1fr)); }
.reap-document-grid--library .reap-document-card { min-height: 250px; }
.reap-document-card__top { display: flex; justify-content: space-between; align-items: center; }
.reap-document-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--reap-line); }
.reap-document-card__foot a { color: #111; font-size: .78rem; font-weight: 850; text-decoration: none; }
.reap-library-empty { padding: 42px; border: 1px dashed #cbd6dd; border-radius: 18px; text-align: center; background: #fff; }
.reap-library-empty h2 { margin: 0 0 7px; }
.reap-library-empty p { margin: 0; color: var(--reap-muted); }

/* Team directory */
.reap-team-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.reap-team-card { overflow: hidden; border: 1px solid var(--reap-line); border-radius: 18px; background: #fff; }
.reap-team-card__photo { display: block; aspect-ratio: 4/4.3; overflow: hidden; background: #e9eef1; text-decoration: none; }
.reap-team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.reap-team-card:hover .reap-team-card__photo img { transform: scale(1.025); }
.reap-team-card__initials { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; background: #111; font-size: 4.4rem; font-weight: 900; }
.reap-team-card__body { padding: 18px; }
.reap-team-card__role { min-height: 2.2em; margin: 0 0 7px; color: #111; font-size: .68rem; font-weight: 850; line-height: 1.35; text-transform: uppercase; }
.reap-team-card h2 { margin: 0 0 11px; font-size: 1.08rem; line-height: 1.2; }
.reap-team-card h2 a { color: var(--reap-ink); text-decoration: none; }

/* Contact */
.reap-contact-hero { padding: clamp(78px,9vw,118px) 0 68px; color: #fff; background: var(--reap-purple); }
.reap-contact-hero__grid { display: grid; grid-template-columns: 1fr 340px; gap: 70px; align-items: end; }
.reap-contact-hero__card { padding: 23px; border-left: 4px solid #ffb563; background: rgba(9,22,37,.45); }
.reap-contact-hero__card span { display: block; color: #cddae4; font-size: .72rem; }
.reap-contact-hero__card strong { display: block; margin-top: 7px; color: #fff; font-size: 1.1rem; }
.reap-contact-grid { display: grid; grid-template-columns: 390px minmax(0,1fr); gap: clamp(42px,7vw,90px); align-items: start; }
.reap-contact-details { display: grid; gap: 12px; }
.reap-contact-card { display: grid; grid-template-columns: 50px 1fr; gap: 15px; align-items: start; padding: 20px; border: 1px solid var(--reap-line); border-radius: 16px; color: var(--reap-ink); background: #fff; text-decoration: none; }
a.reap-contact-card:hover { border-color: #bccbd4; box-shadow: 0 12px 30px rgba(19,34,56,.07); }
.reap-contact-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--reap-ink); }
.reap-contact-card__icon svg { width: 20px; }
.reap-contact-card small, .reap-contact-card strong, .reap-contact-card em { display: block; }
.reap-contact-card small { color: #111; font-size: .66rem; font-weight: 850; text-transform: uppercase; }
.reap-contact-card strong { margin-top: 3px; font-size: .91rem; }
.reap-contact-card em { margin-top: 5px; color: var(--reap-muted); font-size: .72rem; font-style: normal; }
.reap-contact-content { max-width: 800px; }
.reap-map-shell { min-height: 350px; display: grid; align-items: center; border-top: 1px solid var(--reap-line); background: #eef2f4; }
.reap-map-shell__prompt { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.reap-map-shell__prompt h2 { margin: 0 0 8px; font-size: clamp(1.65rem,3vw,2.5rem); }
.reap-map-shell__prompt p:last-child { margin: 0; color: var(--reap-muted); }
.reap-map-shell__frame iframe { display: block; width: 100%; height: 520px; border: 0; }

/* News archive and article pages */
.reap-news-hero { padding: clamp(78px,9vw,118px) 0 65px; color: #fff; background: var(--reap-purple); }
.reap-news-categories { display: flex; gap: 8px; overflow-x: auto; margin-top: 28px; padding-bottom: 4px; scrollbar-width: thin; }
.reap-news-categories a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; font-size: .72rem; font-weight: 750; text-decoration: none; }
.reap-news-lead-card { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; margin-bottom: 54px; border: 1px solid var(--reap-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 48px rgba(19,34,56,.07); }
.reap-news-lead-card__image { min-height: 390px; background: #edf1f4; }
.reap-news-lead-card__image img, .reap-news-lead-card__placeholder { width: 100%; height: 100%; min-height: 390px; display: block; object-fit: cover; }
.reap-news-lead-card__placeholder { background: #eeeeee; }
.reap-news-lead-card__body { align-self: center; padding: clamp(28px,5vw,55px); }
.reap-news-lead-card__body h2 { margin: 10px 0 14px; font-size: clamp(1.75rem,3.2vw,3rem); line-height: 1.06; letter-spacing: -.035em; }
.reap-news-lead-card__body h2 a { color: var(--reap-ink); text-decoration: none; }
.reap-news-lead-card__body > p:not(.reap-kicker) { color: var(--reap-muted); }
.reap-news-archive__heading { display: flex; justify-content: space-between; gap: 30px; align-items: baseline; margin-bottom: 18px; }
.reap-news-archive__heading h2 { margin: 0; font-size: 1.35rem; }
.reap-news-archive__heading span { color: var(--reap-muted); font-size: .75rem; }
.reap-post-card__image { display: block; background: #edf1f4; }
.reap-post-card__placeholder { display: block; width: 100%; height: 220px; background: #eeeeee; }
.reap-pagination { margin-top: 40px; }
.reap-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.reap-pagination .page-numbers { min-width: 42px; min-height: 42px; display: grid; place-items: center; padding: 7px 11px; border: 1px solid var(--reap-line); border-radius: 9px; color: var(--reap-ink); background: #fff; text-decoration: none; }
.reap-pagination .current { color: #fff; background: var(--reap-ink); border-color: var(--reap-ink); }

.reap-article-hero { padding: clamp(72px,8vw,110px) 0 54px; color: #fff; background: var(--reap-purple); }
.reap-article-hero h1 { margin: 0; color: #fff; font-size: clamp(2.45rem,5.2vw,4.7rem); line-height: 1.01; letter-spacing: -.045em; text-wrap: balance; }
.reap-article-hero__meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 23px 0 0; color: #c9d6e0; font-size: .75rem; }
.reap-article-featured { margin-top: 38px; }
.reap-article-featured img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 22px; }
.reap-article-layout { display: grid; grid-template-columns: 90px minmax(0,820px) 280px; gap: 36px; justify-content: center; align-items: start; }
.reap-entry-content--article { max-width: 820px; font-size: 1.04rem; }
.reap-article-tools { position: sticky; top: 110px; display: grid; gap: 8px; }
.reap-article-tools button { min-height: 42px; padding: 8px; border: 1px solid var(--reap-line); border-radius: 10px; color: var(--reap-ink); background: #fff; font-size: .68rem; font-weight: 800; }
.reap-article-sidebar { position: sticky; top: 110px; }

/* Accessible media */
.reap-media-access { margin-top: 46px; padding: 24px; border: 1px solid #cad8df; border-radius: 18px; background: #f6f9fa; }
.reap-media-access h2 { margin: 0 0 12px !important; padding: 0 !important; font-size: 1.4rem; }
.reap-transcript { margin-top: 15px; border-top: 1px solid #d7e1e6; }
.reap-transcript summary { min-height: 48px; display: flex; align-items: center; padding: 11px 0; color: var(--reap-ink); font-weight: 800; cursor: pointer; }
.reap-transcript__body { padding: 2px 0 8px; color: #3d5161; }

/* Accessibility panel */
.reap-access-symbol { font-size: .83rem; font-weight: 950; text-decoration: underline; text-underline-offset: 2px; }
.reap-access-panel { position: fixed; inset: 0; z-index: 10050; display: none; align-items: stretch; justify-content: flex-end; padding: 0; background: rgba(7,17,29,.62); }
.reap-access-panel.is-open { display: flex; }
.reap-access-panel__surface { width: min(520px,100%); height: 100%; overflow-y: auto; padding: clamp(24px,4vw,40px); background: #fff; box-shadow: -20px 0 60px rgba(7,17,29,.23); }
.reap-access-panel__head { display: flex; justify-content: space-between; gap: 18px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--reap-line); }
.reap-access-panel__head h2 { margin: 0; font-size: clamp(1.55rem,3vw,2.2rem); line-height: 1.08; }
.reap-access-panel__intro { margin: 19px 0 24px; color: var(--reap-muted); font-size: .88rem; }
.reap-access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reap-access-group { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--reap-line); border-radius: 15px; background: #f9fbfc; }
fieldset.reap-access-group { border: 1px solid var(--reap-line); }
.reap-access-group legend, .reap-access-group__title { display: block; margin-bottom: 11px; color: var(--reap-ink); font-size: .76rem; font-weight: 850; }
.reap-access-group p { margin: 0 0 12px; color: var(--reap-muted); font-size: .76rem; }
.reap-access-size { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.reap-access-size button, .reap-access-action { min-height: 44px; border: 1px solid #cbd7de; border-radius: 9px; color: var(--reap-ink); background: #fff; font-weight: 800; }
.reap-access-size button[aria-pressed="true"] { color: #fff; background: var(--reap-ink); border-color: var(--reap-ink); }
.reap-access-action { width: 100%; margin-top: 7px; padding: 8px 10px; font-size: .73rem; }
.reap-access-action:disabled { opacity: .48; cursor: not-allowed; }
.reap-access-switch { min-height: 42px; display: flex; gap: 9px; align-items: center; color: #33485b; font-size: .78rem; cursor: pointer; }
.reap-access-switch input { width: 20px; height: 20px; accent-color: var(--reap-red); }
.reap-access-panel__foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--reap-line); }
.reap-access-status { min-height: 1.3em; margin: 10px 0 0; color: #5b6874; font-size: .72rem; }
body.reap-access-open { overflow: hidden; }

/* User-selected accessibility display states. */
html.reap-text-large { font-size: 112.5%; }
html.reap-text-xlarge { font-size: 125%; }
html.reap-spacing body { line-height: 1.9; letter-spacing: .025em; word-spacing: .08em; }
html.reap-links-underlined a:not(.reap-btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .18em !important; }
html.reap-grayscale body { filter: grayscale(1); }
html.reap-high-contrast { --reap-ink:#000; --reap-ink-2:#111; --reap-paper:#fff; --reap-mist:#fff; --reap-line:#000; --reap-muted:#111; --reap-red:#8b0000; --reap-orange:#6a4300; --reap-green:#174e00; --reap-purple:#3a1452; --reap-gold:#ffd400; }
html.reap-high-contrast body { color:#000; background:#fff; }
html.reap-high-contrast .reap-site-header, html.reap-high-contrast .reap-sidebar-card, html.reap-high-contrast .reap-document-card, html.reap-high-contrast .reap-post-card, html.reap-high-contrast .reap-team-card { border-color:#000; }
html.reap-high-contrast :focus-visible { outline-color:#ffd400; outline-width:4px; }
html.reap-reduce-motion { scroll-behavior:auto; }
html.reap-reduce-motion *, html.reap-reduce-motion *::before, html.reap-reduce-motion *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }

/* Mobile inner pages are deliberately stronger than simple desktop stacking. */
@media (max-width: 1080px) {
  .reap-inner-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 38px; }
  .reap-team-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .reap-document-grid--library { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reap-article-layout { grid-template-columns: minmax(0,780px) 260px; }
  .reap-article-tools { position: static; grid-column: 1 / -1; display: flex; }
  .reap-article-tools button { padding-inline: 14px; }
}

@media (max-width: 860px) {
  .reap-inner-layout, .reap-inner-layout--reform, .reap-timeline-hero__grid, .reap-library-hero__grid, .reap-contact-hero__grid, .reap-contact-grid, .reap-timeline-heading, .reap-timeline-memory__grid, .reap-news-lead-card, .reap-article-layout { grid-template-columns: 1fr; }
  .reap-inner-sidebar, .reap-article-sidebar { position: static; order: 2; }
  .reap-entry-content--designed, .reap-entry-content--article { max-width: none; }
  .reap-toc { display: none; }
  .reap-timeline-hero__summary { grid-template-columns: repeat(3,1fr); }
  .reap-timeline-hero__summary div { grid-template-columns: 1fr; gap: 4px; }
  .reap-history::before { left: 23px; transform: none; }
  .reap-history__item, .reap-history__item:nth-child(odd), .reap-history__item:nth-child(even) { grid-template-columns: 46px minmax(0,1fr); gap: 15px; min-height: 0; margin-bottom: 24px; }
  .reap-history__marker, .reap-history__item:nth-child(even) .reap-history__marker { grid-column: 1; grid-row: 1; align-self: start; margin-top: 20px; }
  .reap-history__card, .reap-history__item:nth-child(odd) .reap-history__card, .reap-history__item:nth-child(even) .reap-history__card { grid-column: 2; grid-row: 1; }
  .reap-team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reap-news-lead-card__image, .reap-news-lead-card__image img, .reap-news-lead-card__placeholder { min-height: 320px; }
  .reap-article-sidebar { order: 2; }
}

@media (max-width: 600px) {
  .reap-page-hero, .reap-reform-hero { min-height: 0; padding-top: 58px; padding-bottom: 42px; }
  .reap-page-hero__overlay, .reap-reform-hero__shade { background: rgba(0,0,0,.68); }
  .reap-page-hero h1, .reap-reform-hero h1, .reap-timeline-hero h1, .reap-library-hero h1, .reap-news-hero h1, .reap-contact-hero h1 { font-size: clamp(2.2rem,11vw,3.35rem); line-height: 1.01; }
  .reap-page-hero__lead { font-size: .98rem; }
  .reap-page-meta { gap: 6px; }
  .reap-page-meta span, .reap-page-meta a { font-size: .66rem; }
  .reap-inner-section { padding-top: 42px; padding-bottom: 58px; }
  .reap-entry-content--designed, .reap-entry-content--article { font-size: 1rem; }
  .reap-entry-content h2 { font-size: 1.65rem; line-height: 1.14; }
  .reap-entry-content iframe { min-height: 240px; border-radius: 12px; }
  .reap-entry-content .wp-block-file { align-items: flex-start; flex-direction: column; }
  .reap-inner-card-grid, .reap-document-grid, .reap-document-grid--library, .reap-team-grid { grid-template-columns: 1fr; }
  .reap-inner-link-card { min-height: 150px; }
  .reap-reform-hero__number { display: none; }
  .reap-reform-nav { width: auto; margin-inline: -14px; padding-inline: 14px; }
  .reap-reform-nav a { flex-basis: 74vw; min-height: 66px; }
  .reap-policy-intro { grid-template-columns: 50px 1fr; padding: 18px; }
  .reap-policy-intro__mark { width: 48px; height: 48px; border-radius: 12px; font-size: .65rem; }
  .reap-timeline-hero, .reap-library-hero, .reap-news-hero, .reap-contact-hero, .reap-article-hero { padding-top: 54px; padding-bottom: 43px; }
  .reap-timeline-hero__summary { grid-template-columns: 1fr; }
  .reap-timeline-hero__summary div { grid-template-columns: 80px 1fr; }
  .reap-timeline-jump { top: 64px; }
  .admin-bar .reap-timeline-jump { top: 110px; }
  .reap-timeline-jump__track { width: auto; margin-inline: -14px; padding-inline: 14px; }
  .reap-timeline-jump a { flex-basis: 67vw; }
  .reap-history::before { left: 18px; }
  .reap-history__item, .reap-history__item:nth-child(odd), .reap-history__item:nth-child(even) { grid-template-columns: 36px minmax(0,1fr); gap: 11px; }
  .reap-history__marker span { width: 36px; height: 36px; border-width: 6px; font-size: .58rem; }
  .reap-history__body.has-image { grid-template-columns: 1fr; }
  .reap-history__image img { width: 100%; height: 180px; }
  .reap-history__topline, .reap-history__body { padding: 17px; }
  .reap-library-hero__stat { display: none; }
  .reap-library-tools { grid-template-columns: 1fr; padding: 14px; }
  .reap-library-tools input, .reap-library-tools select { min-height: 50px; font-size: 16px; }
  .reap-document-card { min-height: 200px; }
  .reap-team-card { display: grid; grid-template-columns: 112px minmax(0,1fr); min-height: 132px; }
  .reap-team-card__photo { aspect-ratio: auto; min-height: 132px; }
  .reap-team-card__body { align-self: center; padding: 15px; }
  .reap-team-card__role { min-height: 0; }
  .reap-team-card__initials { font-size: 2.2rem; }
  .reap-contact-hero__card { display: none; }
  .reap-contact-card { grid-template-columns: 46px 1fr; padding: 17px; }
  .reap-map-shell__prompt { grid-template-columns: 1fr; padding-top: 42px; padding-bottom: 42px; }
  .reap-map-shell__prompt .reap-btn { width: 100%; }
  .reap-map-shell__frame iframe { height: 420px; }
  .reap-news-categories { width: auto; margin-inline: -14px; padding-inline: 14px; }
  .reap-news-lead-card { border-radius: 17px; }
  .reap-news-lead-card__image, .reap-news-lead-card__image img, .reap-news-lead-card__placeholder { min-height: 235px; }
  .reap-news-lead-card__body { padding: 23px; }
  .reap-news-lead-card__body h2 { font-size: 1.75rem; }
  .reap-news-archive__heading { display: block; }
  .reap-news-archive__heading span { display: block; margin-top: 5px; }
  .reap-article-featured { width: auto; margin: 0; }
  .reap-article-featured img { border-radius: 0; max-height: 420px; }
  .reap-article-body-section { padding-top: 40px; }
  .reap-article-tools { overflow-x: auto; }
  .reap-access-grid { grid-template-columns: 1fr; }
  .reap-access-panel__surface { padding: 22px 16px 32px; }
  .reap-access-panel__head { position: sticky; top: 0; z-index: 2; margin: -22px -16px 0; padding: 18px 16px; background: #fff; }
}

@media (max-width: 360px) {
  .reap-page-meta span:nth-child(2) { display: none; }
  .reap-team-card { grid-template-columns: 96px minmax(0,1fr); }
  .reap-history__body h3 { font-size: 1.2rem; }
}

@media print {
  .reap-utility, .reap-site-header, .reap-mobile-shortcuts, .reap-footer, .reap-inner-sidebar, .reap-article-tools, .reap-access-panel, .reap-assistant, .reap-search-panel, .reap-reform-nav-wrap { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .reap-page-hero, .reap-reform-hero, .reap-article-hero { min-height: 0; padding: 20px 0; color: #000; background: #fff !important; }
  .reap-page-hero h1, .reap-reform-hero h1, .reap-article-hero h1, .reap-page-hero__lead, .reap-page-hero__kicker { color: #000 !important; text-shadow: none; }
  .reap-inner-layout, .reap-article-layout { display: block; }
  a { color: #000; text-decoration: underline; }
  .reap-entry-content { max-width: none; }
}

/* Search and error states */
.reap-search-results-form { max-width: 720px; margin-top: 25px; }
.reap-search-results-form form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.reap-search-results-form input[type="search"] { min-height: 50px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.32); border-radius: 12px; color: #fff; background: rgba(8,20,34,.28); }
.reap-search-results-form input[type="search"]::placeholder { color: #c9d6e0; }
.reap-search-results-form button { min-height: 50px; padding: 10px 18px; border: 0; border-radius: 12px; color: var(--reap-ink); background: #fff; font-weight: 850; }
.reap-search-results { display: grid; gap: 12px; }
.reap-search-result { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 24px; padding: 24px; border: 1px solid var(--reap-line); border-radius: 16px; background: #fff; }
.reap-search-result__type { align-self: start; padding: 6px 8px; border-radius: 7px; color: #fff; background: var(--reap-ink); font-size: .64rem; font-weight: 900; text-align: center; }
.reap-search-result h2 { margin: 0 0 7px; font-size: 1.25rem; }
.reap-search-result h2 a { color: var(--reap-ink); text-decoration: none; }
.reap-search-result p { margin: 0 0 10px; color: var(--reap-muted); }
.reap-404 { min-height: 620px; display: grid; align-items: center; color: #fff; background: var(--reap-purple); }
.reap-404__grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.reap-404 h1 { max-width: 800px; margin: 0; font-size: clamp(2.6rem,5.8vw,5.4rem); line-height: .98; letter-spacing: -.045em; }
.reap-404 p { max-width: 690px; color: #d7e2ea; }
.reap-404__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.reap-404__number { color: rgba(255,255,255,.07); font-size: clamp(8rem,20vw,18rem); font-weight: 950; line-height: .7; letter-spacing: -.08em; }
@media (max-width:600px) {
  .reap-search-results-form form { grid-template-columns: 1fr; }
  .reap-search-results-form input[type="search"] { font-size: 16px; }
  .reap-search-result { grid-template-columns: 1fr; gap: 10px; padding: 19px; }
  .reap-search-result__type { justify-self: start; }
  .reap-404 { min-height: 560px; }
  .reap-404__grid { grid-template-columns: 1fr; }
  .reap-404__number { display: none; }
  .reap-404__actions .reap-btn { width: 100%; }
}
.reap-footer-bottom__links { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.reap-footer-access-btn { padding: 0; border: 0; color: #c9d7e1; background: transparent; font: inherit; cursor: pointer; }
.reap-footer-access-btn:hover { color: #fff; text-decoration: underline; }
@media (max-width:590px) { .reap-footer-bottom__links { margin-top: 10px; } }

/* Digital PFM project and system pages */
.reap-system-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px,9vw,122px) 0 70px; color: #fff; background: #102238; }
.reap-system-hero__image, .reap-system-hero__shade { position: absolute; inset: 0; z-index: -2; }
.reap-system-hero__image { background-position: center; background-size: cover; }
.reap-system-hero__shade { z-index: -1; background: rgba(0,0,0,.58); }
.reap-system-hero:not(.reap-system-hero--has-image) .reap-system-hero__shade { background: var(--reap-purple); }
.reap-system-hero__grid { display: grid; grid-template-columns: 1fr auto; gap: 55px; align-items: end; }
.reap-system-hero h1 { margin: 0; max-width: 930px; color: #fff; font-size: clamp(2.5rem,5vw,4.8rem); line-height: .99; letter-spacing: -.045em; }
.reap-system-hero__mark { max-width: 230px; padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; color: #fff; background: rgba(9,22,37,.42); font-size: clamp(1.5rem,3vw,2.6rem); font-weight: 900; letter-spacing: -.04em; text-align: center; }
.reap-system-switcher { border-bottom: 1px solid var(--reap-line); background: #fff; }
.reap-system-switcher__track { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.reap-system-switcher a { flex: 1 0 205px; min-height: 70px; display: flex; flex-direction: column; justify-content: center; padding: 11px 15px; border-right: 1px solid var(--reap-line); color: var(--reap-ink); text-decoration: none; scroll-snap-align: start; }
.reap-system-switcher strong { color: #111; font-size: .78rem; }
.reap-system-switcher span { margin-top: 2px; color: #627381; font-size: .66rem; line-height: 1.25; }
.reap-system-switcher a.is-current { color: #fff; background: var(--reap-ink); }
.reap-system-switcher a.is-current strong, .reap-system-switcher a.is-current span { color: #fff; }
.reap-system-intro { display: grid; grid-template-columns: 82px 1fr; gap: 20px; align-items: start; margin-bottom: 38px; padding: 24px; border: 1px solid var(--reap-line); border-radius: 18px; background: #f8fafb; }
.reap-system-intro > span { width: 72px; min-height: 72px; display: grid; place-items: center; padding: 8px; border-radius: 15px; color: #111; background: var(--reap-green); font-size: .74rem; font-weight: 900; text-align: center; }
.reap-system-intro p:last-child { margin: 0; color: var(--reap-muted); }

/* FAQ page */
.reap-faq-layout { display: grid; grid-template-columns: 310px minmax(0,780px); gap: clamp(40px,7vw,90px); justify-content: center; align-items: start; }
.reap-faq-intro { position: sticky; top: 110px; }
.reap-faq-intro h2 { margin: 0 0 14px; font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1.08; }
.reap-faq-intro > p:last-child { color: var(--reap-muted); }
.reap-faq-content { max-width: 780px; }
.reap-faq-question { width: 100%; min-height: 62px; display: grid; grid-template-columns: 1fr 34px; gap: 16px; align-items: center; padding: 15px 17px; border: 0; border-top: 1px solid var(--reap-line); color: var(--reap-ink); background: #fff; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.reap-faq-question:first-child { border-top: 0; border-radius: 15px 15px 0 0; }
.reap-faq-question > span:last-child { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--reap-ink); font-size: 1rem; }
.reap-faq-question[aria-expanded="true"] { color: #111; }
.reap-faq-answer { padding: 4px 18px 22px; border-bottom: 1px solid var(--reap-line); background: #fff; }
.reap-faq-answer p:last-child { margin-bottom: 0; }
@media (max-width:860px) {
  .reap-system-hero__grid, .reap-faq-layout { grid-template-columns: 1fr; }
  .reap-system-hero__mark { justify-self: start; }
  .reap-faq-intro { position: static; }
}
@media (max-width:600px) {
  .reap-system-hero { padding-top: 54px; padding-bottom: 43px; }
  .reap-system-hero h1 { font-size: clamp(2.2rem,11vw,3.35rem); }
  .reap-system-hero__mark { display: none; }
  .reap-system-switcher__track { width: auto; margin-inline: -14px; padding-inline: 14px; }
  .reap-system-switcher a { flex-basis: 68vw; }
  .reap-system-intro { grid-template-columns: 52px 1fr; padding: 18px; }
  .reap-system-intro > span { width: 50px; min-height: 50px; border-radius: 11px; font-size: .6rem; }
  .reap-faq-question { min-height: 58px; padding: 13px 14px; font-size: .92rem; }
}

/* Version 2.3: report covers, boxed homepage, clean slider and desktop mega menu. */

/* The homepage slider keeps the source photograph visually clean. No full-image tint, brand-colour wash or text panel is placed over the image. */
.reap-slider__shade { display: none !important; }
/* Keep hero photographs sharp: no CSS filters, opacity tricks or transform-based scaling. */
.reap-slider__media,
.reap-slider__picture,
.reap-slider__image { filter: none !important; }
.reap-slider__image {
  image-rendering: auto;
  opacity: 1;
  transform: none;
}
.reap-slider__copy {
  max-width: min(760px, calc(100% - 20px));
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.reap-slider__eyebrow {
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  font-size: .69rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.88), 0 1px 2px rgba(0,0,0,.9);
}
.reap-slider h1,
.reap-slider__title {
  max-width: none;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4.35rem);
  line-height: 1;
  text-shadow: 0 4px 28px rgba(0,0,0,.88), 0 2px 5px rgba(0,0,0,.88);
}
.reap-slider__lead {
  max-width: 640px;
  margin-top: 15px;
  color: #fff;
  font-size: clamp(.94rem, 1.18vw, 1.08rem);
  line-height: 1.55;
  text-shadow: 0 3px 18px rgba(0,0,0,.92), 0 1px 3px rgba(0,0,0,.95);
}
.reap-slider__dots {
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(10,22,36,.42);
  box-shadow: 0 8px 26px rgba(5,15,27,.12);
}
.reap-slider__dot { background: rgba(255,255,255,.58); }
.reap-slider__dot.is-active { background: #fff; }
.reap-slider__arrow {
  border-color: rgba(255,255,255,.68);
  color: #fff;
  background: rgba(10,22,36,.34);
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
}
.reap-slider__arrow:hover,
.reap-slider__arrow:focus-visible { color: var(--reap-ink); background: #fff; }

/* Boxed composition beneath the edge-to-edge slider. */
.reap-home { background: #eef2f4; }
.reap-home main > .reap-section {
  width: min(calc(100% - 40px), var(--reap-max));
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid #e0e7eb;
  border-radius: 24px;
  box-shadow: 0 10px 34px rgba(19,34,56,.045);
}
.reap-home main > .reap-section:last-of-type { margin-bottom: 72px; }
.reap-home main > .reap-section > .reap-container {
  width: min(calc(100% - 64px), calc(var(--reap-max) - 64px));
}
.reap-home .reap-programme-intro { background: #fff; }
.reap-home .reap-section--soft { background: #f8fafb; }
.reap-home .reap-section--dark { border-color: #20354b; }
.reap-home .reap-heading-row { margin-bottom: 30px; }
.reap-home .reap-section-title {
  max-width: none;
  font-size: clamp(1.55rem, 1.8vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.reap-home .reap-story-panel .reap-section-title { font-size: clamp(1.55rem, 2vw, 2.1rem); }
.reap-home .reap-section-lead { max-width: 820px; margin-top: 13px; font-size: 1rem; }
.reap-home .reap-footer > .reap-container { width: min(calc(100% - 40px), var(--reap-max)); }
.reap-home .reap-footer-cta { top: -30px; border-radius: 20px; }

/* First-page PDF report covers. WordPress generates the preview once at upload time. */
.reap-pdf-cover {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #edf1f3;
}
.reap-pdf-cover__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}
.reap-pdf-cover--fallback {
  position: relative;
  align-content: end;
  justify-items: start;
  gap: 10px;
  padding: 28px 24px;
  color: var(--reap-ink);
  background: #f5f5f5;
}
.reap-pdf-cover--fallback::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 6px;
  background: var(--reap-red);
}
.reap-pdf-cover__badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 7px;
  color: #fff;
  background: var(--reap-red);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.reap-pdf-cover--fallback strong { font-size: 1rem; line-height: 1.3; }
.reap-pdf-cover--fallback small { color: var(--reap-muted); font-size: .71rem; }

.reap-document-grid--library { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.reap-document-grid--library .reap-document-card--cover {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}
.reap-document-card__cover {
  display: block;
  aspect-ratio: 1 / 1.36;
  overflow: hidden;
  border-bottom: 1px solid var(--reap-line);
  background: #edf1f3;
  text-decoration: none;
}
.reap-document-card__body { display: flex; flex: 1; flex-direction: column; min-height: 240px; padding: 18px; }
.reap-document-card--cover h2 { margin: 13px 0 8px; font-size: .98rem; }
.reap-document-card--cover p { font-size: .78rem; }

.reap-resource-card--with-cover { min-height: 0; padding: 0; overflow: hidden; }
.reap-resource-card__cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--reap-line);
  background: #eef2f4;
  text-decoration: none;
}
.reap-resource-card__cover .reap-pdf-cover__image { object-fit: cover; object-position: center top; }
.reap-resource-card__cover .reap-pdf-cover--fallback { padding: 20px; }
.reap-resource-card__body { display: flex; flex: 1; flex-direction: column; min-height: 210px; padding: 20px; }
.reap-resource-card__meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--reap-muted); font-size: .7rem; }
.reap-resource-card--with-cover h3 { margin-top: 14px; }

/* Desktop mega menu: grouped, scannable and keyboard-friendly. */
@media (min-width: 1081px) {
  .reap-primary-nav { position: relative; min-width: 0; }
  .reap-primary-nav > div > ul { position: relative; width: 100%; }
  .reap-primary-nav > div > ul > li { position: static; }
  .reap-primary-nav > div > ul > li.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }
  .reap-primary-nav > div > ul > li.menu-item-has-children > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
  }
  .reap-primary-nav > div > ul > li > .sub-menu {
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 700px;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 7px;
    padding: 18px;
    border-top: 4px solid var(--reap-red);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 22px 54px rgba(19,34,56,.15);
  }
  .reap-primary-nav > div > ul > li:hover > .sub-menu,
  .reap-primary-nav > div > ul > li:focus-within > .sub-menu {
    transform: translateY(0);
  }
  .reap-primary-nav > div > ul > li > .sub-menu > li { min-width: 0; }
  .reap-primary-nav > div > ul > li > .sub-menu > li > a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #20354b;
    font-size: .82rem;
    line-height: 1.3;
    white-space: normal;
  }
  .reap-primary-nav > div > ul > li > .sub-menu > li > a:hover,
  .reap-primary-nav > div > ul > li > .sub-menu > li > a:focus-visible {
    border-color: #dfe7eb;
    background: #f5f8fa;
  }
  .reap-primary-nav > div > ul > li > .sub-menu .sub-menu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 2px 0 8px 13px;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-left: 2px solid #e8edef;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .reap-primary-nav > div > ul > li > .sub-menu .sub-menu a {
    padding: 7px 9px;
    color: #60717f;
    font-size: .75rem;
    font-weight: 650;
  }
  .reap-primary-nav .reap-nav-contact > a {
    margin-left: 4px;
    padding-inline: 16px;
    border-radius: 999px;
    color: #fff;
    background: var(--reap-red);
  }
  .reap-primary-nav .reap-nav-contact > a:hover { color: #fff; background: #992329; }
}

@media (max-width: 1180px) and (min-width: 1081px) {
  .reap-nav-row { grid-template-columns: minmax(190px, 255px) 1fr auto; gap: 14px; }
  .reap-brand img { max-width: 225px; }
  .reap-primary-nav a { padding-inline: 7px; font-size: .8rem; }
  .reap-primary-nav > div > ul > li > .sub-menu { min-width: 620px; grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1080px) {
  .reap-primary-nav > div > ul > li.menu-item-has-children > a { font-weight: 820; color: var(--reap-ink); }
  .reap-primary-nav > div > ul > li > .sub-menu { margin: 2px 0 11px; padding: 3px 0 5px 14px; border-left: 2px solid #e4eaee; }
  .reap-primary-nav .reap-nav-contact > a { color: #fff; background: var(--reap-red); justify-content: center; }
  .reap-document-grid--library { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 782px) {
  .reap-slider__copy { max-width: 620px; padding: 0; border-radius: 0; }
  .reap-slider h1, .reap-slider__title { font-size: clamp(2rem, 9.2vw, 3.25rem); }
  .reap-slider__lead { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .reap-home main > .reap-section {
    width: min(calc(100% - 24px), var(--reap-max));
    margin-top: 14px;
    border-radius: 19px;
  }
  .reap-home main > .reap-section:last-of-type { margin-bottom: 42px; }
  .reap-home main > .reap-section > .reap-container { width: min(calc(100% - 30px), calc(var(--reap-max) - 30px)); }
  .reap-home .reap-section-title { white-space: normal; font-size: clamp(1.75rem, 8vw, 2.35rem); }
  .reap-home .reap-footer > .reap-container { width: min(calc(100% - 24px), var(--reap-max)); }
  .reap-home .reap-footer-cta { top: 0; margin-top: 20px; }
  .reap-document-grid--library { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .reap-document-card__body { min-height: 210px; padding: 15px; }
}

@media (max-width: 520px) {
  .reap-slider__copy { max-width: calc(100% - 2px); padding: 0; }
  .reap-slider__eyebrow { font-size: .61rem; }
  .reap-slider h1, .reap-slider__title { font-size: clamp(1.8rem, 9.8vw, 2.55rem); }
  .reap-slider__lead { margin-top: 10px; font-size: .9rem; }
  .reap-document-grid--library { grid-template-columns: 1fr 1fr; gap: 10px; }
  .reap-document-card__body { min-height: 190px; padding: 12px; }
  .reap-document-card--cover h2 { font-size: .88rem; }
  .reap-document-card--cover p { display: none; }
  .reap-document-card__foot { padding-top: 12px; }
  .reap-document-card__foot span { display: none; }
  .reap-document-card__cover { aspect-ratio: 1 / 1.38; }
}

@media (max-width: 360px) {
  .reap-document-grid--library { grid-template-columns: 1fr; }
}

/* Primary menu markup can be direct <ul> because wp_nav_menu uses container=false. */
@media (min-width: 1081px) {
  .reap-primary-nav > ul,
  .reap-primary-nav > div > ul { position: relative; width: 100%; }
  .reap-primary-nav > ul > li,
  .reap-primary-nav > div > ul > li { position: static; }
  .reap-primary-nav > ul > li.menu-item-has-children > a,
  .reap-primary-nav > div > ul > li.menu-item-has-children > a { display: inline-flex; align-items: center; gap: 7px; }
  .reap-primary-nav > ul > li.menu-item-has-children > a::after,
  .reap-primary-nav > div > ul > li.menu-item-has-children > a::after {
    content: ""; width: 6px; height: 6px; margin-top: -4px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  }
  .reap-primary-nav > ul > li > .sub-menu,
  .reap-primary-nav > div > ul > li > .sub-menu {
    top: calc(100% + 9px); left: 0; right: 0; width: 100%; min-width: 700px;
    grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; padding: 18px;
    border-top: 4px solid var(--reap-red); border-radius: 0 0 18px 18px;
    box-shadow: 0 22px 54px rgba(19,34,56,.15);
  }
  .reap-primary-nav > ul > li:hover > .sub-menu,
  .reap-primary-nav > ul > li:focus-within > .sub-menu,
  .reap-primary-nav > div > ul > li:hover > .sub-menu,
  .reap-primary-nav > div > ul > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .reap-primary-nav > ul > li > .sub-menu > li,
  .reap-primary-nav > div > ul > li > .sub-menu > li { min-width: 0; }
  .reap-primary-nav > ul > li > .sub-menu > li > a,
  .reap-primary-nav > div > ul > li > .sub-menu > li > a {
    min-height: 52px; display: flex; align-items: center; padding: 11px 13px;
    border: 1px solid transparent; border-radius: 11px; color: #20354b;
    font-size: .82rem; line-height: 1.3; white-space: normal;
  }
  .reap-primary-nav > ul > li > .sub-menu > li > a:hover,
  .reap-primary-nav > ul > li > .sub-menu > li > a:focus-visible,
  .reap-primary-nav > div > ul > li > .sub-menu > li > a:hover,
  .reap-primary-nav > div > ul > li > .sub-menu > li > a:focus-visible { border-color: #dfe7eb; background: #f5f8fa; }
  .reap-primary-nav > ul > li > .sub-menu .sub-menu,
  .reap-primary-nav > div > ul > li > .sub-menu .sub-menu {
    position: static; min-width: 0; margin: 0; padding: 2px 0 8px 13px;
    opacity: 1; visibility: visible; transform: none; border: 0; border-left: 2px solid #e8edef;
    border-radius: 0; box-shadow: none; background: transparent;
  }
}
@media (max-width: 1180px) and (min-width: 1081px) {
  .reap-primary-nav > ul > li > .sub-menu,
  .reap-primary-nav > div > ul > li > .sub-menu { min-width: 620px; grid-template-columns: repeat(2,minmax(0,1fr)); }
}


/* Version 2.3.2: compact navigation and mobile scroll reliability. */

/* Desktop: use a compact dropdown card instead of a page-wide mega menu. */
@media (min-width: 1081px) {
  .reap-primary-nav { position: relative; min-width: 0; }
  .reap-primary-nav > ul,
  .reap-primary-nav > div > ul { position: static; width: auto; }
  .reap-primary-nav > ul > li,
  .reap-primary-nav > div > ul > li { position: relative; }

  .reap-primary-nav > ul > li > .sub-menu,
  .reap-primary-nav > div > ul > li > .sub-menu {
    top: calc(100% + 10px);
    left: 0;
    right: auto;
    width: min(380px, calc(100vw - 40px));
    min-width: 320px;
    max-height: min(70vh, 620px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--reap-line);
    border-top: 3px solid var(--reap-red);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(19,34,56,.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
  }
  .reap-primary-nav > ul > li:nth-last-child(-n+3) > .sub-menu,
  .reap-primary-nav > div > ul > li:nth-last-child(-n+3) > .sub-menu {
    left: auto;
    right: 0;
  }
  .reap-primary-nav > ul > li:hover > .sub-menu,
  .reap-primary-nav > ul > li:focus-within > .sub-menu,
  .reap-primary-nav > div > ul > li:hover > .sub-menu,
  .reap-primary-nav > div > ul > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .reap-primary-nav > ul > li > .sub-menu > li > a,
  .reap-primary-nav > div > ul > li > .sub-menu > li > a {
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    font-size: .82rem;
    line-height: 1.3;
  }
  .reap-primary-nav > ul > li > .sub-menu .sub-menu,
  .reap-primary-nav > div > ul > li > .sub-menu .sub-menu {
    position: static;
    display: grid;
    gap: 1px;
    min-width: 0;
    margin: -1px 0 7px 12px;
    padding: 1px 0 2px 11px;
    border: 0;
    border-left: 2px solid #e8edef;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .reap-primary-nav > ul > li > .sub-menu .sub-menu a,
  .reap-primary-nav > div > ul > li > .sub-menu .sub-menu a {
    min-height: 38px;
    padding: 7px 9px;
    color: #60717f;
    font-size: .75rem;
    font-weight: 650;
  }
  .reap-submenu-toggle { display: none !important; }
}

/* Tablet and mobile: attached accordion sheet. It never locks page scrolling. */
@media (max-width: 1080px) {
  .reap-site-header { position: sticky; }
  .reap-primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    width: auto;
    max-height: min(62vh, 540px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
    border: 1px solid var(--reap-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(8,18,31,.18);
  }
  .reap-primary-nav > ul,
  .reap-primary-nav > div > ul { gap: 2px; }
  .reap-primary-nav li.menu-item-has-children { position: relative; }
  .reap-primary-nav li.menu-item-has-children > a { padding-right: 54px; }
  .reap-primary-nav .sub-menu,
  .reap-primary-nav li.menu-item-has-children > .sub-menu {
    display: none;
    margin: 1px 5px 8px 14px;
    padding: 3px 0 4px 12px;
    border: 0;
    border-left: 2px solid #e4eaee;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .reap-primary-nav li.is-submenu-open > .sub-menu { display: grid; }
  .reap-submenu-toggle {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #e0e7eb;
    border-radius: 10px;
    background: #f7f9fa;
    color: var(--reap-ink);
    font-size: 0;
  }
  .reap-submenu-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px,-1px);
    transition: transform .16s ease;
  }
  .reap-primary-nav li.is-submenu-open > .reap-submenu-toggle::before {
    transform: rotate(225deg) translate(-1px,-1px);
  }
  .reap-primary-nav .sub-menu a {
    min-height: 42px;
    padding: 9px 10px;
    color: #405160;
    font-size: .9rem;
  }

  /* Keep the document scrollable even while navigation is open. */
  body.reap-menu-open {
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
  }
}

/* Search and accessibility are true modal layers and may still lock the page. */
body.reap-search-open,
body.reap-access-open { overflow: hidden; }

/* Version 2.4: standard dropdown navigation, photographic inner-page headers, and national PFM timeline. */

/* Desktop navigation is deliberately conventional: one compact vertical dropdown per item. */
@media (min-width: 1081px) {
  .reap-primary-nav > ul,
  .reap-primary-nav > div > ul {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    width: auto !important;
  }
  .reap-primary-nav > ul > li,
  .reap-primary-nav > div > ul > li {
    position: relative !important;
  }
  .reap-primary-nav > ul > li > a,
  .reap-primary-nav > div > ul > li > a,
  .reap-primary-nav .reap-nav-contact > a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 10px !important;
    color: var(--reap-ink) !important;
    background: transparent !important;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 720;
  }
  .reap-primary-nav > ul > li.menu-item-has-children > a::after,
  .reap-primary-nav > div > ul > li.menu-item-has-children > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 2px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .reap-primary-nav > ul > li > .sub-menu,
  .reap-primary-nav > div > ul > li > .sub-menu {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    left: 0 !important;
    right: auto !important;
    display: block !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: min(340px, calc(100vw - 40px)) !important;
    max-height: min(68vh, 560px);
    overflow-y: auto;
    margin: 0 !important;
    padding: 8px !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px) !important;
    background: #fff !important;
    border: 1px solid var(--reap-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 42px rgba(19,34,56,.15) !important;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    z-index: 120;
  }
  .reap-primary-nav > ul > li:nth-last-child(-n+3) > .sub-menu,
  .reap-primary-nav > div > ul > li:nth-last-child(-n+3) > .sub-menu {
    left: auto !important;
    right: 0 !important;
  }
  .reap-primary-nav > ul > li:hover > .sub-menu,
  .reap-primary-nav > ul > li:focus-within > .sub-menu,
  .reap-primary-nav > div > ul > li:hover > .sub-menu,
  .reap-primary-nav > div > ul > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) !important;
  }
  .reap-primary-nav .sub-menu > li {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .reap-primary-nav .sub-menu > li > a {
    display: block !important;
    min-height: 0 !important;
    padding: 10px 11px !important;
    color: #283c4e !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: .91rem !important;
    font-weight: 680 !important;
    line-height: 1.35;
    white-space: normal !important;
  }
  .reap-primary-nav .sub-menu > li > a:hover,
  .reap-primary-nav .sub-menu > li > a:focus-visible {
    color: var(--reap-red) !important;
    background: #f4f7f9 !important;
  }
  /* Third-level items stay inside the same dropdown instead of opening another page-covering panel. */
  .reap-primary-nav .sub-menu .sub-menu {
    position: static !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 0 4px 12px !important;
    padding: 0 0 0 9px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border: 0 !important;
    border-left: 2px solid #e5eaee !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .reap-primary-nav .sub-menu .sub-menu a {
    padding: 7px 9px !important;
    color: #5a6975 !important;
    font-size: .84rem !important;
    font-weight: 620 !important;
  }
  .reap-submenu-toggle { display: none !important; }
}

/* Photographic headers for all inner content types. */
.reap-inner-image-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #17212b !important;
}
.reap-inner-hero__media,
.reap-inner-hero__shade {
  position: absolute;
  inset: 0;
}
.reap-inner-hero__media { z-index: -3; }
.reap-inner-hero__media .reap-inner-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}
.reap-inner-hero__shade {
  z-index: -2;
  background: rgba(0,0,0,.58);
}
.reap-inner-image-hero > .reap-container,
.reap-inner-image-hero > .reap-reading { position: relative; z-index: 1; }
.reap-inner-image-hero .reap-breadcrumbs,
.reap-inner-image-hero .reap-breadcrumbs a,
.reap-inner-image-hero h1,
.reap-inner-image-hero .reap-page-hero__lead,
.reap-inner-image-hero .reap-page-hero__kicker,
.reap-inner-image-hero .reap-article-hero__meta { color: #fff !important; }
.reap-inner-image-hero .reap-page-hero__kicker { color: #ffe0ae !important; }
.reap-inner-image-hero .reap-breadcrumbs { opacity: .9; }

.reap-page-hero.reap-inner-image-hero,
.reap-reform-hero.reap-inner-image-hero,
.reap-system-hero.reap-inner-image-hero,
.reap-timeline-hero.reap-inner-image-hero,
.reap-library-hero.reap-inner-image-hero,
.reap-contact-hero.reap-inner-image-hero,
.reap-news-hero.reap-inner-image-hero,
.reap-article-hero.reap-inner-image-hero {
  min-height: 390px;
  display: grid;
  align-items: end;
  padding: clamp(70px, 7vw, 102px) 0 clamp(48px, 5vw, 72px);
  background-image: none !important;
}
.reap-page-hero__overlay,
.reap-reform-hero__shade,
.reap-system-hero__shade { display: none !important; }

.reap-library-hero__stat,
.reap-contact-hero__card {
  color: var(--reap-ink);
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(255,255,255,.78) !important;
  backdrop-filter: blur(8px);
}
.reap-library-hero__stat span,
.reap-contact-hero__card span { color: #566574 !important; }
.reap-system-hero__mark { color: rgba(255,255,255,.92) !important; border-color: rgba(255,255,255,.34) !important; }
.reap-news-categories a { color: #fff !important; border-color: rgba(255,255,255,.36) !important; background: rgba(8,18,29,.28); }
.reap-news-categories a:hover { background: rgba(255,255,255,.16); }

/* National PFM timeline detail. */
.reap-history__content { min-width: 0; }
.reap-history__reforms { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--reap-line); }
.reap-history__reforms h4 { margin: 0 0 11px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--reap-ink-2); }
.reap-history__reforms ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.reap-history__reforms li { color: #425363; line-height: 1.48; }
.reap-history__focus { margin: 22px 0; padding: 16px 18px; border-left: 4px solid var(--reap-purple); background: #f7f9fa; border-radius: 0 10px 10px 0; }
.reap-history__focus span { display: block; margin-bottom: 5px; color: var(--reap-red); font-size: .74rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.reap-history__focus p { margin: 0 !important; color: #33485a !important; }

@media (max-width: 1080px) {
  .reap-page-hero.reap-inner-image-hero,
  .reap-reform-hero.reap-inner-image-hero,
  .reap-system-hero.reap-inner-image-hero,
  .reap-timeline-hero.reap-inner-image-hero,
  .reap-library-hero.reap-inner-image-hero,
  .reap-contact-hero.reap-inner-image-hero,
  .reap-news-hero.reap-inner-image-hero,
  .reap-article-hero.reap-inner-image-hero {
    min-height: 320px;
    padding: 58px 0 42px;
  }
  .reap-inner-hero__shade { background: rgba(0,0,0,.68); }
}

@media (max-width: 640px) {
  .reap-page-hero.reap-inner-image-hero,
  .reap-reform-hero.reap-inner-image-hero,
  .reap-system-hero.reap-inner-image-hero,
  .reap-timeline-hero.reap-inner-image-hero,
  .reap-library-hero.reap-inner-image-hero,
  .reap-contact-hero.reap-inner-image-hero,
  .reap-news-hero.reap-inner-image-hero,
  .reap-article-hero.reap-inner-image-hero {
    min-height: 300px;
    padding: 46px 0 34px;
  }
  .reap-inner-hero__media .reap-inner-hero__image { object-position: 50% 45%; }
  .reap-history__reforms ul { padding-left: 18px; }
}

/* Version 2.5: native team directory, monochrome reading text and single-line section headings. */

/* Reading text is intentionally monochrome. REAP brand colours remain as visual
   accents, borders, markers and backgrounds, never as ordinary body copy. */
body,
.reap-entry-content,
.reap-prose,
.reap-page-content,
.reap-section-title,
.reap-heading-row h2,
.reap-heading-row h3 { color: #111; }

a { color: #111; }
a:hover, a:focus-visible { color: #000; }

.reap-kicker,
.reap-resource-card__type,
.reap-sidebar-eyebrow,
.reap-inner-link-card__num,
.reap-focus-card__arrow,
.reap-history__period,
.reap-history__focus span,
.reap-contact-card small,
.reap-document-card__action,
.reap-document-card__foot a,
.reap-timeline-jump a span,
.reap-reform-nav a span,
.reap-team-card__role,
.reap-team-card__profile,
.reap-team-profile__role,
.reap-team-profile__contacts a {
  color: #111 !important;
}

.reap-resource-card__type { background: #f1f1f1; }
.reap-primary-nav > ul > li > a:hover,
.reap-primary-nav > div > ul > li > a:hover,
.reap-primary-nav .current-menu-item > a,
.reap-primary-nav .current-menu-ancestor > a,
.reap-primary-nav .sub-menu > li > a:hover,
.reap-primary-nav .sub-menu > li > a:focus-visible { color: #111 !important; }

/* Keep white text on genuinely dark or photographic surfaces. */
.reap-hero,
.reap-hero a,
.reap-hero .reap-kicker,
.reap-section--dark,
.reap-section--dark a,
.reap-section--dark .reap-kicker,
.reap-footer,
.reap-footer a,
.reap-footer h2,
.reap-footer h3,
.reap-footer .reap-kicker,
.reap-inner-image-hero,
.reap-inner-image-hero a,
.reap-inner-image-hero .reap-kicker,
.reap-inner-image-hero .reap-page-hero__kicker,
.reap-inner-image-hero h1,
.reap-inner-image-hero h2,
.reap-btn--primary,
.reap-btn--primary:hover,
.reap-btn--ghost,
.reap-system-card,
.reap-system-card a,
.reap-document-card__type,
.reap-history__current,
.reap-reform-nav a.is-current,
.reap-reform-nav a.is-current span,
.reap-timeline-jump a.is-current,
.reap-timeline-jump a.is-current span {
  color: #fff !important;
}

/* Section titles stay on a single line on normal desktop widths. The type scales
   down before wrapping, while tablet and mobile retain natural wrapping. */
.reap-section-title { max-width: none; }
.reap-heading-row > div { min-width: 0; flex: 1 1 auto; }
@media (min-width: 1081px) {
  .reap-section-title,
  .reap-home .reap-section-title {
    max-width: none !important;
    white-space: nowrap;
    font-size: clamp(1.55rem, 1.8vw, 2.15rem) !important;
    line-height: 1.08;
    letter-spacing: -.028em;
  }
}

/* Native Team directory -------------------------------------------------- */
.reap-team-intro { border-bottom: 1px solid var(--reap-line); background: #fff; }
.reap-team-intro__content { max-width: 880px; margin-inline: auto; font-size: 1.03rem; }
.reap-team-directory { background: #f5f6f7; }
.reap-heading-row--team { align-items: end; }
.reap-team-count { flex: 0 0 auto; margin: 0 0 3px; color: #555; font-size: .82rem; font-weight: 700; }

.reap-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 22px;
  align-items: stretch;
}
.reap-team-card {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #d9dde0;
  border-top: 4px solid var(--reap-purple);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(10, 20, 30, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .reap-team-card:hover {
    transform: translateY(-3px);
    border-color: #c4c9cd;
    border-top-color: var(--reap-purple);
    box-shadow: 0 16px 38px rgba(10, 20, 30, .08);
  }
}
.reap-team-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
  overflow: hidden;
  background: #e8eaec;
  text-decoration: none;
}
.reap-team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: none;
  transform: none;
  transition: transform .28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .reap-team-card:hover .reap-team-card__photo img { transform: scale(1.018); }
}
.reap-team-card__initials {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  color: #fff;
  background: #171717;
  font-size: 4.4rem;
  font-weight: 850;
}
.reap-team-card__body {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 19px 20px 18px;
}
.reap-team-card__name { margin: 0 0 7px; font-size: 1.16rem; line-height: 1.18; letter-spacing: -.015em; }
.reap-team-card__name a { color: #111; text-decoration: none; }
.reap-team-card__role {
  min-height: 2.55em;
  margin: 0;
  color: #111 !important;
  font-size: .84rem;
  font-weight: 760;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}
.reap-team-card__unit {
  min-height: 1.45em;
  margin: 6px 0 0;
  color: #555;
  font-size: .76rem;
  line-height: 1.45;
}
.reap-team-card__profile {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e5e5e5;
  color: #111 !important;
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}
.reap-team-card__profile span { transition: transform .16s ease; }
@media (hover: hover) and (pointer: fine) {
  .reap-team-card__profile:hover span { transform: translateX(3px); }
}
.reap-team-empty { padding: 42px; border: 1px dashed #c8cdd1; border-radius: 16px; text-align: center; background: #fff; }
.reap-team-empty h2 { margin: 0 0 8px; }
.reap-team-empty p { max-width: 700px; margin: 0 auto; color: #555; }

/* Native individual team profile --------------------------------------- */
.reap-team-profile-section { background: #fff; }
.reap-team-profile {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 760px);
  gap: clamp(42px, 7vw, 88px);
  justify-content: center;
  align-items: start;
}
.reap-team-profile__portrait {
  position: sticky;
  top: 108px;
  min-width: 0;
}
.reap-team-profile__portrait > img,
.reap-team-profile__initials {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  background: #e7e9eb;
}
.reap-team-profile__initials {
  display: grid;
  place-items: center;
  color: #fff;
  background: #171717;
  font-size: 7rem;
  font-weight: 850;
}
.reap-team-profile__summary { padding: 20px 2px 0; }
.reap-team-profile__summary h2 { margin: 0 0 7px; color: #111; font-size: 1.45rem; line-height: 1.15; }
.reap-team-profile__role { margin: 0; font-size: .92rem; font-weight: 760; line-height: 1.45; }
.reap-team-profile__unit { margin: 5px 0 0; color: #666; font-size: .82rem; }
.reap-team-profile__contacts { display: grid; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #ddd; }
.reap-team-profile__contacts a { width: fit-content; font-size: .82rem; text-decoration-thickness: 1px; }
.reap-team-profile__content { min-width: 0; max-width: 760px; }
.reap-team-profile__heading { margin: 0 0 25px; color: #111; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.1; }
.reap-team-profile-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
}
.reap-team-profile-nav a { display: grid; gap: 4px; padding: 15px 16px; border: 1px solid #ddd; border-radius: 12px; color: #111; text-decoration: none; }
.reap-team-profile-nav a span { color: #666; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.reap-team-profile-nav a strong { font-size: .88rem; line-height: 1.35; }
.reap-team-profile-nav__next { text-align: right; }

@media (max-width: 1180px) and (min-width: 901px) {
  .reap-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .reap-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .reap-team-profile { grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 640px) {
  .reap-team-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .reap-heading-row--team { display: block; }
  .reap-team-count { margin-top: 10px; }
  .reap-team-card {
    min-height: 150px;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto;
    border-radius: 13px;
  }
  .reap-team-card__photo {
    width: 116px;
    height: 145px;
    aspect-ratio: 4 / 5;
    align-self: start;
  }
  .reap-team-card__photo img,
  .reap-team-card__initials { width: 116px; height: 145px; aspect-ratio: 4 / 5; }
  .reap-team-card__body { min-height: 145px; align-self: stretch; padding: 14px 15px 12px; }
  .reap-team-card__name { font-size: 1.03rem; }
  .reap-team-card__role { min-height: 0; font-size: .79rem; }
  .reap-team-card__unit { min-height: 0; font-size: .71rem; }
  .reap-team-card__profile { min-height: 36px; padding-top: 10px; font-size: .71rem; }

  .reap-team-profile { grid-template-columns: 1fr; gap: 28px; }
  .reap-team-profile__portrait { position: static; width: min(100%, 360px); margin-inline: auto; }
  .reap-team-profile__summary { text-align: center; }
  .reap-team-profile__contacts { justify-items: center; }
  .reap-team-profile__content { max-width: none; }
  .reap-team-profile-nav { grid-template-columns: 1fr; }
  .reap-team-profile-nav__next { text-align: left; }
}

@media (max-width: 360px) {
  .reap-team-card { grid-template-columns: 96px minmax(0, 1fr); }
  .reap-team-card__photo,
  .reap-team-card__photo img,
  .reap-team-card__initials { width: 96px; height: 120px; }
  .reap-team-card__body { min-height: 120px; padding: 11px 12px 10px; }
  .reap-team-card__name { font-size: .96rem; }
  .reap-team-card__profile { min-height: 32px; }
}

/* Remove remaining coloured typography from legacy components. */
.reap-hero__title strong,
.reap-system-card__more { color: #fff !important; }
.reap-btn--slider:hover,
.reap-text-link:hover,
.reap-timeline__year,
.reap-principle > span,
.reap-sidebar-links a:hover,
.reap-sidebar-links--docs span,
.reap-toc a::before,
.reap-toc a:hover,
.reap-system-switcher strong,
.reap-faq-question[aria-expanded="true"] { color: #111 !important; }


/* Version 2.5 final: compact title scale and strict flat-colour discipline. */

/* No gradient treatments are used anywhere in the theme. Brand colour is
   applied as one flat accent per component, while reading text remains black
   or white according to the surface beneath it. */
.reap-inner-image-hero .reap-page-hero__kicker,
.reap-inner-image-hero .reap-kicker,
.reap-slider__eyebrow { color: #fff !important; }

/* Keep ordinary text monochrome even inside legacy components. */
.reap-entry-content p,
.reap-entry-content li,
.reap-entry-content h2,
.reap-entry-content h3,
.reap-entry-content h4,
.reap-section-lead:not(.reap-section--dark .reap-section-lead),
.reap-team-card__unit,
.reap-team-profile__unit,
.reap-history__reforms li,
.reap-history__focus p,
.reap-sidebar-card p,
.reap-sidebar-links a,
.reap-toc a,
.reap-system-switcher a:not(.is-current),
.reap-system-switcher a:not(.is-current) strong,
.reap-system-switcher a:not(.is-current) span { color: #111 !important; }

/* Compact desktop and large-tablet headings. The title scale is intentionally
   conservative so section and page headings read as one horizontal statement
   instead of dominating the screen. */
@media (min-width: 1081px) {
  .reap-slider h1,
  .reap-slider__title {
    max-width: calc(100vw - 180px) !important;
    font-size: clamp(1.9rem, 2.55vw, 3.05rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.032em !important;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .reap-page-hero h1,
  .reap-reform-hero h1,
  .reap-timeline-hero h1,
  .reap-library-hero h1,
  .reap-news-hero h1,
  .reap-contact-hero h1,
  .reap-system-hero h1,
  .reap-article-hero h1 {
    max-width: none !important;
    font-size: clamp(1.85rem, 2.5vw, 3rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.03em !important;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .reap-section-title,
  .reap-home .reap-section-title,
  .reap-section-minihead h2,
  .reap-news-archive__heading h2,
  .reap-team-profile__heading,
  .reap-faq-intro h2 {
    max-width: none !important;
    font-size: clamp(1.35rem, 1.45vw, 1.78rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -.02em !important;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .reap-footer-cta h2 {
    max-width: none;
    margin: 0;
    font-size: clamp(1.28rem, 1.45vw, 1.72rem) !important;
    line-height: 1.12;
    white-space: nowrap;
  }
}

@media (min-width: 641px) and (max-width: 1080px) {
  .reap-slider h1,
  .reap-slider__title,
  .reap-page-hero h1,
  .reap-reform-hero h1,
  .reap-timeline-hero h1,
  .reap-library-hero h1,
  .reap-news-hero h1,
  .reap-contact-hero h1,
  .reap-system-hero h1,
  .reap-article-hero h1 {
    max-width: none !important;
    font-size: clamp(1.65rem, 4vw, 2.35rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -.025em !important;
  }
  .reap-section-title,
  .reap-home .reap-section-title { font-size: clamp(1.35rem, 2.7vw, 1.75rem) !important; }
}

/* Phones use a deliberately smaller title scale. Short and medium headings
   stay on one line, while unusually long page titles may wrap rather than be
   shrunk below an accessible reading size. */
@media (max-width: 640px) {
  .reap-slider h1,
  .reap-slider__title {
    max-width: none !important;
    font-size: clamp(1.35rem, 6.2vw, 1.9rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -.022em !important;
  }
  .reap-page-hero h1,
  .reap-reform-hero h1,
  .reap-timeline-hero h1,
  .reap-library-hero h1,
  .reap-news-hero h1,
  .reap-contact-hero h1,
  .reap-system-hero h1,
  .reap-article-hero h1 {
    max-width: none !important;
    font-size: clamp(1.35rem, 6vw, 1.85rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -.018em !important;
  }
  .reap-section-title,
  .reap-home .reap-section-title,
  .reap-section-minihead h2 { font-size: clamp(1.25rem, 5.2vw, 1.6rem) !important; }
}

/* Version 2.5.1: visual Digital Public Finance project cards ---------------- */
.reap-system-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.reap-system-card {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  color: #111 !important;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.reap-system-card:hover,
.reap-system-card:focus-visible {
  color: #111 !important;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}
.reap-system-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.reap-system-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.reap-system-card__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 26px;
  color: #fff;
  text-align: center;
}
.reap-system-card__fallback--red { background: var(--reap-red); }
.reap-system-card__fallback--orange { background: var(--reap-orange); }
.reap-system-card__fallback--green { background: var(--reap-green); }
.reap-system-card__fallback--purple { background: var(--reap-purple); }
.reap-system-card__fallback strong {
  color: #fff !important;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.reap-system-card__fallback span {
  max-width: 26ch;
  color: #fff !important;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.25;
}
.reap-system-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 7px;
  color: #fff !important;
  background: #111;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .04em;
}
.reap-system-card__body {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  padding: 18px 19px 19px;
  background: #fff;
}
.reap-system-card h3 {
  margin: 0 0 9px;
  color: #111 !important;
  font-size: 1.03rem;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.reap-system-card p {
  margin: 0;
  color: #111 !important;
  font-size: .82rem;
  line-height: 1.52;
}
.reap-system-card__more {
  margin-top: auto;
  padding-top: 18px;
  color: #111 !important;
  font-size: .77rem;
  font-weight: 850;
}
.reap-section--dark .reap-system-card,
.reap-section--dark .reap-system-card h3,
.reap-section--dark .reap-system-card p,
.reap-section--dark .reap-system-card__more {
  color: #111 !important;
}

@media (max-width: 980px) {
  .reap-system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .reap-system-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 330px);
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 20px 14px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
  }
  .reap-system-card {
    scroll-snap-align: start;
    border-radius: 14px;
  }
  .reap-system-card__body { min-height: 190px; padding: 16px; }
  .reap-system-card h3 { font-size: 1rem; }
}
