/* ==========================================================================
   UNHRO — Modern theme for inner pages
   Restyles the existing (legacy) markup using the same design tokens as the
   homepage. Loaded last so it overrides style.css / slider.css / team.css.
   No markup or PHP changes required.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600;700&display=swap');

:root {
  --royal-900: #0F2472;
  --royal-800: #1A3BB3;
  --royal-700: #2149C7;
  --royal-600: #3563DB;
  --cyan-500: #0891B2;
  --cyan-100: #E6EDFF;

  --green-600: #0E7C57;
  --green-500: #0E9F6E;
  --green-100: #E4F5EE;

  --flag-black: #111111;
  --flag-yellow: #FCDC04;
  --flag-red: #D21034;

  --gold-500: #F2C511;
  --gold-600: #D9AC00;

  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #52627A;
  --line: #DDE5ED;
  --line-soft: #EDF2F7;
  --surface: #FFFFFF;
  --surface-alt: #F5F9FC;
  --surface-tint: #EEF6FA;

  --radius-sm: 0px;
  --radius: 0px;
  --radius-lg: 0px;

  --shadow-xs: 0 1px 2px rgba(15, 36, 114, .06);
  --shadow-sm: 0 2px 8px rgba(15, 36, 114, .08);
  --shadow-md: 0 8px 24px rgba(15, 36, 114, .10);
  --shadow-lg: 0 18px 48px rgba(15, 36, 114, .16);

  --container: 1240px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --speed: 220ms;
}

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

body {
  font-family: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  overflow-x: hidden;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

body h1, body h2, body h3, body h4, body h5 {
  font-family: 'Figtree', 'Noto Sans', sans-serif !important;
  color: var(--ink);
  line-height: 1.24;
  letter-spacing: -.015em;
  font-weight: 700;
}

body a { transition: color var(--speed) var(--ease), background var(--speed) var(--ease); }

img { max-width: 100%; height: auto; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--royal-700);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Dark surfaces need a light ring to stay visible */
body .top-nav :focus-visible,
body nav :focus-visible,
body #page-banner :focus-visible,
body footer :focus-visible { outline-color: var(--flag-yellow); }

/* ==========================================================================
   HEADER
   ========================================================================== */
body header {
  position: relative !important;
  z-index: 40;
  width: 100%;
  background: var(--surface);
  box-shadow: none;
  border: 0;
}

/* --- Utility bar --- */
body .top-nav {
  background: var(--royal-900) !important;
  padding: 0 !important;
  height: auto !important;
  border: 0 !important;
}

body .top-nav ul {
  max-width: var(--container);
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 2px;
  min-height: 44px;
  list-style: none;
  background: none !important;
  width: auto !important;
  float: none !important;
}

body .top-nav ul li {
  display: inline-flex !important;
  align-items: center;
  float: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  list-style: none;
}

body .top-nav ul li a {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px !important;
  border-radius: var(--radius-sm);
  color: #CBD9E2 !important;
  font-size: .85rem !important;
  font-weight: 500;
  text-transform: none !important;
  border: 0 !important;
  background: none !important;
}
body .top-nav ul li a:hover { background: rgba(255, 255, 255, .1) !important; color: #fff !important; }

body .top-nav ul li form {
  display: flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  padding: 3px 14px !important;
  margin: 0 0 0 8px !important;
  height: auto !important;
}
body .top-nav ul li form:focus-within { border-color: var(--gold-500); background: rgba(255, 255, 255, .16); }

body .top-nav ul li form input {
  background: none !important;
  border: 0 !important;
  outline: none;
  color: #fff !important;
  font-size: .85rem !important;
  width: 150px !important;
  height: auto !important;
  padding: 7px 0 !important;
  margin: 0 !important;
}
body .top-nav ul li form input::placeholder { color: #B9C7E8 !important; }
body .top-nav ul li form .fa { color: #9FB3C1 !important; font-size: .9rem !important; margin: 0 !important; }

/* --- Uganda flag stripe --- */
body .row-border {
  display: flex !important;
  height: 5px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body .row-border > div { flex: 1 !important; height: 5px !important; width: auto !important; float: none !important; margin: 0 !important; }
body .row-border .bg-black { background: var(--flag-black) !important; }
body .row-border .bg-yellow { background: var(--flag-yellow) !important; }
body .row-border .bg-red { background: var(--flag-red) !important; }

/* --- Brand row --- */
body .row-logo {
  max-width: var(--container);
  margin: 0 auto !important;
  padding: 18px 24px !important;
  display: flex !important;
  align-items: center;
  gap: 22px;
  background: var(--surface) !important;
  height: auto !important;
  border-bottom: 1px solid var(--line-soft);
}

body .row-logo .site-logo,
body .row-logo .govt-logo {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}
body .row-logo .site-logo img { height: 78px !important; width: auto !important; }
body .row-logo .govt-logo img { height: 74px !important; width: auto !important; }

body .row-logo .site-title {
  flex: 1;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: clamp(1.02rem, 2.05vw, 1.6rem) !important;
  line-height: 1.24 !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
  color: var(--royal-800) !important;
  text-transform: uppercase;
  text-align: left !important;
}

/* ==========================================================================
   PRIMARY NAVIGATION
   ========================================================================== */
body nav {
  background: var(--royal-800) !important;
  border: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  position: relative;
  z-index: 50;
}

body nav > ul {
  max-width: var(--container);
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  list-style: none;
  background: none !important;
  height: auto !important;
  text-align: left !important;
}

body nav > ul > li {
  position: relative;
  float: none !important;
  display: block !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  height: auto !important;
}

body nav > ul > li > a {
  display: flex !important;
  align-items: center;
  gap: 7px;
  padding: 16px 17px !important;
  min-height: 44px;
  height: auto !important;
  line-height: 1.3 !important;
  color: #E2ECF2 !important;
  font-family: 'Figtree', sans-serif !important;
  font-weight: 600 !important;
  font-size: .935rem !important;
  text-transform: none !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  background: none !important;
}
body nav > ul > li > a:hover { background: rgba(255, 255, 255, .09) !important; color: #fff !important; }
body nav > ul > li > a.active {
  color: #fff !important;
  background: rgba(255, 255, 255, .07) !important;
  border-bottom-color: var(--flag-yellow) !important;
}

/* --- Dropdowns — square panels that read as an extension of the blue bar --- */
body nav ul li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 284px !important;
  max-width: 340px;
  width: auto !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-top: 3px solid var(--gold-500) !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 42px rgba(11, 31, 74, .18) !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  display: block !important;
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
  z-index: 60;
}
body nav ul li:hover > ul,
body nav ul li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }

body nav ul li > ul li {
  position: relative;
  float: none !important;
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line-soft) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
}
body nav ul li > ul li:last-child { border-bottom: 0 !important; }

body nav ul li > ul li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 13px 18px !important;
  min-height: 46px;
  height: auto !important;
  line-height: 1.45 !important;
  border-radius: 0 !important;
  color: var(--ink-soft) !important;
  font-family: 'Noto Sans', sans-serif !important;
  font-size: .92rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  text-decoration: none !important;
  border: 0 !important;
  background: none !important;
  white-space: normal !important;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
body nav ul li > ul li a:hover,
body nav ul li > ul li a:focus-visible {
  background: var(--surface-tint) !important;
  color: var(--royal-700) !important;
  box-shadow: inset 3px 0 0 var(--royal-700);
}

/* Items that open a further level get a quiet chevron */
body nav ul li > ul li:has(> ul) > a::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: .5;
  flex-shrink: 0;
}

body nav ul li > ul li > ul {
  top: -1px;
  left: 100%;
  margin-left: 1px !important;
  border-top: 1px solid var(--line) !important;
  border-left: 3px solid var(--gold-500) !important;
  border-radius: 0 !important;
}

/* --- Mobile nav toggle (injected by modern-inner.js) --- */
.u-legacy-navtoggle {
  display: none;
  align-items: center;
  gap: 10px;
  width: calc(100% - 48px);
  margin: 0 24px;
  background: none;
  border: 0;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 0;
  min-height: 48px;
  cursor: pointer;
  text-align: left;
}
.u-legacy-navtoggle .fa { font-size: 1.25rem; }

/* ==========================================================================
   PAGE BANNER
   ========================================================================== */
body #page-banner {
  background: linear-gradient(100deg, var(--royal-900) 0%, var(--royal-700) 62%, var(--royal-600) 100%) !important;
  padding: clamp(46px, 6vw, 78px) 24px !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  text-align: left !important;
  position: relative;
  overflow: hidden;
  border: 0 !important;
}
body #page-banner::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 0;
  background: radial-gradient(circle, rgba(14, 159, 110, .28) 0%, transparent 70%);
  pointer-events: none;
}
body #page-banner h3 {
  max-width: var(--container);
  margin: 0 auto !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  line-height: 1.15 !important;
  text-transform: none !important;
  border: 0 !important;
  background: none !important;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */
body #pages,
body section#pages {
  max-width: var(--container) !important;
  margin: 0 auto !important;
  padding: clamp(44px, 5.5vw, 76px) 24px !important;
  width: 100% !important;
  background: none !important;
  overflow: visible;
}

body #pages::after { content: ''; display: table; clear: both; }

/* Section headings */
body .headings {
  font-family: 'Figtree', sans-serif !important;
  font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
  font-weight: 700 !important;
  color: var(--royal-800) !important;
  letter-spacing: -.018em;
  margin: 0 0 28px !important;
  padding-bottom: 18px !important;
  border-bottom: 2px solid var(--line) !important;
  position: relative;
}
body .headings::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 78px;
  height: 4px;
  background: var(--royal-700);
}
body .text-blue { color: var(--royal-800) !important; }

/* Body copy */
body .text-div {
  font-size: 1.03rem !important;
  line-height: 1.78 !important;
  color: var(--ink-soft) !important;
  padding: 0 !important;
  margin: 0 0 26px !important;
  text-align: left !important;
}
body .text-div a { color: var(--green-600); font-weight: 600; }
body .text-div a:hover { color: var(--royal-700); text-decoration: underline; }

/* Columns */
body .col-30, body .col-60, body .col-90 { padding: 0 !important; }
body .col-60, body .col-90 { margin-bottom: 22px !important; }

/* ==========================================================================
   VISION / MISSION / GOAL TABLE
   ========================================================================== */
body .table-about {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0 !important;
  margin: 32px 0 0 !important;
  padding: 0 !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  width: 100% !important;
}

body .table-about > div {
  display: block !important;
  float: none !important;
  width: auto !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line-soft) !important;
  vertical-align: top;
}

body .table-about .icon {
  padding: 28px 0 28px 24px !important;
  text-align: center;
  background: var(--surface-alt) !important;
}
body .table-about .icon img {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  object-fit: contain;
  margin: 0 auto !important;
  padding: 9px;
  background: var(--green-100);
  border: 1px solid #C9E9DB;
  border-radius: var(--radius);
}
body .table-about .icon .ds { display: none !important; }

body .table-about .dets {
  padding: 28px 28px 28px 22px !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
  color: var(--muted) !important;
  background: var(--surface) !important;
}
body .table-about .dets h3 {
  font-family: 'Figtree', sans-serif !important;
  font-size: 1.22rem !important;
  font-weight: 700 !important;
  color: var(--royal-800) !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
}
body .table-about .dets a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 12px 12px 0 0;
  padding: 12px 22px !important;
  min-height: 44px;
  border-radius: 0;
  background: var(--green-500) !important;
  color: #fff !important;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(14, 159, 110, .28);
}
body .table-about .dets a:hover { background: var(--green-600) !important; color: #fff !important; }

body .table-about .no-border-bottom,
body .table-about .no-border { border-bottom: 0 !important; }

/* ==========================================================================
   TEAM / BOARD CARDS
   ========================================================================== */
body .team-row,
body .row.team-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

body .team-col {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
body .team-col:hover { box-shadow: var(--shadow-md); border-color: #B9CAF2; }

body .team-col img {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--surface-alt);
  border-radius: 0 !important;
  margin: 0 !important;
}

body .team-col .team-cap {
  display: flex !important;
  flex-direction: column;
  gap: 5px;
  padding: 18px 18px 20px !important;
  border-top: 3px solid var(--green-500);
  text-align: center;
  flex: 1;
  background: var(--surface) !important;
}
body .team-col .team-cap h4 {
  font-family: 'Figtree', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--royal-800) !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}
body .team-col .team-cap b {
  font-size: .8rem !important;
  font-weight: 700 !important;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green-600) !important;
  line-height: 1.45;
}
body .team-col .team-cap .team-more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  color: var(--royal-700) !important;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: .87rem;
  background: none !important;
  border: 0 !important;
}
body .team-col .team-cap .team-more:hover { color: var(--green-600) !important; text-decoration: underline; }

/* Director block on inner pages */
body .team-dir {
  background: var(--surface-alt) !important;
  border-top: 3px solid var(--green-500);
  padding: 18px !important;
}
body .team-dir h4 { color: var(--royal-800) !important; font-family: 'Figtree', sans-serif !important; }
body .team-dir b { color: var(--green-600) !important; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }

/* ==========================================================================
   FLOATING SOCIAL RAIL
   ========================================================================== */
body .slide-nav { z-index: 40; }
body .slide-nav ul {
  background: var(--royal-800) !important;
  border-radius: var(--radius) 0 0 var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
  padding: 6px !important;
  border: 0 !important;
}
body .slide-nav ul li { border: 0 !important; margin: 0 !important; }
body .slide-nav ul li a {
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  display: grid !important;
  place-items: center;
  border-radius: var(--radius-sm) !important;
  color: #CBD9E2 !important;
  background: none !important;
  border: 0 !important;
}
body .slide-nav ul li a:hover { background: var(--green-500) !important; color: #fff !important; }
body .slide-nav .arrow-show-nav {
  background: var(--royal-800) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  box-shadow: var(--shadow-sm);
  width: 32px !important;
  height: 44px !important;
  line-height: 44px !important;
  text-align: center;
}

/* ==========================================================================
   FORMS (contact page)
   ========================================================================== */
body .contact-form input[type="text"],
body .contact-form input[type="email"],
body .contact-form input[type="tel"],
body .contact-form textarea,
body #pages input[type="text"],
body #pages input[type="email"],
body #pages textarea {
  width: 100% !important;
  padding: 13px 16px !important;
  min-height: 48px;
  font-family: 'Noto Sans', sans-serif !important;
  font-size: 1rem !important;
  color: var(--ink) !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 16px !important;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
body #pages input:focus,
body #pages textarea:focus {
  border-color: var(--royal-700) !important;
  box-shadow: 0 0 0 3px rgba(33, 73, 199, .16);
}
body #pages input[type="submit"],
body #pages button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 30px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--green-500) !important;
  color: #fff !important;
  font-family: 'Figtree', sans-serif !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14, 159, 110, .28);
}
body #pages input[type="submit"]:hover,
body #pages button[type="submit"]:hover { background: var(--green-600) !important; }

/* ==========================================================================
   TABLES & LISTS inside content
   ========================================================================== */
body #pages table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 22px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .96rem;
}
body #pages table th {
  background: var(--surface-tint);
  color: var(--royal-800);
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
body #pages table td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
body #pages table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
body footer { background: var(--royal-900) !important; color: #B6C8D4 !important; border: 0 !important; }

body footer .foot {
  max-width: var(--container);
  margin: 0 auto !important;
  padding: clamp(48px, 6vw, 72px) 24px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 52px) !important;
  background: none !important;
  height: auto !important;
}

body footer .foot > div {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  min-height: 0 !important;
}

body footer .foot div h4 {
  color: #fff !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 20px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .14) !important;
}

body footer .foot .quick_links .foot-logo img { max-width: 210px !important; margin-bottom: 16px; }

body footer .foot div ul { margin: 0 !important; padding: 0 !important; list-style: none; }
body footer .foot div ul li {
  margin: 0 0 11px !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none;
  line-height: 1.58;
}
body footer .foot div ul li a {
  color: #B6C8D4 !important;
  font-size: .93rem !important;
  line-height: 1.58 !important;
  display: inline-block;
  border: 0 !important;
  background: none !important;
}
body footer .foot div ul li a:hover { color: #fff !important; }

body footer .foot .contact { font-size: .94rem !important; line-height: 1.72 !important; color: #B6C8D4 !important; }

/* Social icons in footer contact list */
body footer .foot .contact ul {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px !important;
}
body footer .foot .contact ul li { margin: 0 !important; }
body footer .foot .contact ul li b { color: #fff; font-family: 'Figtree', sans-serif; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
body footer .foot .contact ul li a {
  width: 44px;
  height: 44px;
  display: grid !important;
  place-items: center;
  border-radius: 0;
  background: rgba(255, 255, 255, .09) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  color: #fff !important;
  font-size: 1.02rem;
}
body footer .foot .contact ul li a:hover { background: var(--green-500) !important; border-color: var(--green-500) !important; }

/* Copyright bar */
body footer .copy {
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
  background: none !important;
  padding: 0 !important;
  height: auto !important;
}
body footer .copy ul {
  max-width: var(--container);
  margin: 0 auto !important;
  padding: 20px 24px !important;
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  font-size: .875rem;
  color: #B6C8D4;
}
body footer .copy ul li { margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; }
body footer .copy ul li:last-child { margin-left: auto !important; }
body footer .copy ul li a {
  color: #B6C8D4 !important;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
}
body footer .copy ul li a:hover { background: rgba(255, 255, 255, .09) !important; color: #fff !important; }
body footer .copy font[color="red"] { color: var(--flag-yellow) !important; }

/* ==========================================================================
   BACK TO TOP (injected by modern-inner.js)
   ========================================================================== */
.u-legacy-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 0;
  border: 0;
  background: var(--royal-700);
  color: #fff;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease),
              visibility var(--speed), background var(--speed) var(--ease);
}
.u-legacy-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.u-legacy-top:hover { background: var(--green-500); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  body footer .foot { grid-template-columns: 1fr 1fr; }
  body footer .foot .quick_links { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  body .table-about { grid-template-columns: 76px minmax(0, 1fr); }
  body .table-about .icon { padding: 22px 0 22px 16px !important; }
  body .table-about .icon img { width: 46px !important; height: 46px !important; }
  body .table-about .dets { padding: 22px 20px 22px 16px !important; }

  .u-legacy-navtoggle { display: flex; }

  body nav > ul {
    display: none !important;
    flex-direction: column;
    padding-bottom: 12px !important;
    max-height: 74vh;
    overflow-y: auto;
  }
  body nav > ul.is-open { display: flex !important; }
  body nav > ul > li { width: 100%; }
  body nav > ul > li > a {
    padding: 14px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
  }
  body nav > ul > li > a.active { border-bottom-color: var(--flag-yellow) !important; }

  body nav ul li > ul,
  body nav ul li > ul li > ul {
    position: static !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, .05) !important;
    border: 0 !important;
    border-left: 3px solid var(--gold-500) !important;
    border-radius: 0;
    margin: 4px 0 8px 10px !important;
    padding: 0 !important;
    min-width: 0 !important;
    max-width: none;
  }
  body nav ul li > ul.is-open { display: block !important; }
  body nav ul li > ul li { border-bottom: 1px solid rgba(255, 255, 255, .08) !important; }
  body nav ul li > ul li a { color: #D6E3EB !important; padding: 12px 14px !important; }
  body nav ul li > ul li a:hover,
  body nav ul li > ul li a:focus-visible {
    background: rgba(255, 255, 255, .1) !important;
    color: #fff !important;
    box-shadow: none;
  }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  body .row-logo { flex-wrap: wrap; justify-content: center; text-align: center; gap: 14px; }
  body .row-logo .site-title { flex-basis: 100%; order: 3; text-align: center !important; }
  body .row-logo .site-logo img,
  body .row-logo .govt-logo img { height: 60px !important; }

  body .top-nav ul { justify-content: center; }
  body .top-nav ul li form input { width: 124px !important; }

  body .table-about { grid-template-columns: 1fr; }
  body .table-about .icon { padding: 22px 20px 0 !important; text-align: left; background: var(--surface) !important; border-bottom: 0 !important; }
  body .table-about .icon img { margin: 0 !important; }
  body .table-about .dets { padding: 14px 20px 24px !important; }

  body .team-row, body .row.team-row { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 16px !important; }

  body footer .foot { grid-template-columns: 1fr; }
  body footer .copy ul { justify-content: center; text-align: center; }
  body footer .copy ul li:last-child { margin-left: 0 !important; flex-basis: 100%; }
}

/* ==========================================================================
   DOCUMENT PAGES — shared editorial primitives
   Used by the rebuilt contact / news / symposium templates.
   ========================================================================== */
body .u-doc__title,
body .u-post__title,
body .u-edition__title {
  font-family: 'Figtree', sans-serif !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  letter-spacing: -.025em;
  line-height: 1.18 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-transform: none !important;
}
body .u-doc__title { font-size: clamp(1.6rem, 3vw, 2.3rem) !important; }
body .u-doc__lead {
  margin: 14px 0 0 !important;
  font-size: 1.07rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 56ch;
}

/* Small uppercase label */
body .u-label {
  font-family: 'Figtree', sans-serif;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--royal-700);
  margin: 0 0 14px;
}

/* Primary call to action — gold on royal, square, same as the homepage */
body .u-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  background: var(--gold-500) !important;
  color: var(--royal-900) !important;
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 0 !important;
  border-radius: 0 !important;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--speed) var(--ease);
}
body .u-cta:hover { background: var(--gold-600) !important; color: var(--royal-900) !important; }

body .u-cta--ghost {
  background: none !important;
  color: var(--royal-700) !important;
  border: 2px solid var(--royal-700) !important;
}
body .u-cta--ghost:hover { background: var(--royal-700) !important; color: #fff !important; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
body .u-doc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
  border-top: 2px solid var(--ink);
  padding-top: clamp(32px, 4vw, 48px);
}

/* --- Form --- */
body .u-form { margin-top: clamp(26px, 3vw, 36px); }
body .u-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
body .u-field { margin: 0 0 20px !important; }
body .u-field label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Figtree', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
}
body .u-field label .u-req { color: var(--flag-red); margin-left: 3px; }
body .u-field input,
body .u-field textarea {
  width: 100% !important;
  padding: 13px 15px !important;
  min-height: 50px;
  font-family: 'Noto Sans', sans-serif !important;
  font-size: 1rem !important;
  color: var(--ink) !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  margin: 0 !important;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
body .u-field textarea { min-height: 168px; resize: vertical; line-height: 1.65; }
body .u-field input:focus,
body .u-field textarea:focus {
  border-color: var(--royal-700) !important;
  box-shadow: inset 0 0 0 1px var(--royal-700);
  outline: none;
}
/* Spam honeypot — hidden from people, reachable by bots */
body .u-field--trap {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

body .u-form__note {
  margin: 4px 0 0 !important;
  font-size: .88rem;
  color: var(--muted);
}

/* --- Status messages --- */
body .u-alert {
  margin: 24px 0 0 !important;
  padding: 16px 20px;
  font-size: .98rem;
  line-height: 1.6;
  border-left: 4px solid var(--royal-700);
  background: var(--surface-alt);
  color: var(--ink-soft);
}
body .u-alert strong { color: var(--ink); }
body .u-alert--ok { border-left-color: var(--green-500); background: var(--green-100); }
body .u-alert--err { border-left-color: var(--flag-red); background: #FDECEF; }

/* --- Aside: contact details --- */
body .u-doc__aside {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-top: 4px solid var(--royal-700);
  padding: clamp(24px, 3vw, 34px);
}
body .u-doc__aside h3 {
  font-family: 'Figtree', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: var(--royal-800) !important;
  line-height: 1.35 !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
}
body .u-deflist { margin: 0; padding: 0; }
body .u-deflist > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
body .u-deflist > div:first-child { border-top: 0; padding-top: 0; }
body .u-deflist dt {
  font-family: 'Figtree', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
body .u-deflist dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
body .u-deflist dd a { color: var(--royal-700); font-weight: 600; }
body .u-deflist dd a:hover { text-decoration: underline; }

body .u-doc__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
body .u-doc__social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--royal-800) !important;
  color: #fff !important;
  font-size: 1.05rem;
}
body .u-doc__social a:hover { background: var(--royal-600) !important; }

/* --- Map --- */
body .u-mapframe {
  margin: clamp(40px, 5vw, 64px) 0 0 !important;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}
body .u-mapframe iframe { display: block; width: 100%; height: 440px; border: 0; }
body .u-mapframe figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
}

/* ==========================================================================
   NEWS & EVENTS — article stack
   ========================================================================== */
body .u-posts { border-top: 2px solid var(--ink); }
body .u-post {
  padding: clamp(34px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
}
body .u-post__title {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem) !important;
  max-width: 46ch;
}
body .u-post__body { margin-top: 20px; }
body .u-post__body,
body .u-post__body p,
body .u-post__body div,
body .u-post__body span,
body .u-post__body li {
  font-size: 1.03rem !important;
  line-height: 1.78 !important;
  color: var(--ink-soft) !important;
}
body .u-post__body p { margin: 0 0 15px !important; }
body .u-post__body h1,
body .u-post__body h2,
body .u-post__body h3,
body .u-post__body h4 {
  font-family: 'Figtree', sans-serif !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  color: var(--royal-800) !important;
  margin: 26px 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  text-transform: none !important;
  letter-spacing: -.01em;
}
body .u-post__body a {
  color: var(--royal-700) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body .u-post__body a:hover { color: var(--green-600) !important; }
body .u-post__body img { max-width: 100%; height: auto; margin: 12px 0; border: 1px solid var(--line); }
body .u-post__body ul,
body .u-post__body ol { margin: 0 0 15px !important; padding-left: 22px !important; }
body .u-post__body li { margin-bottom: 7px; }
/* Legacy inline red "closed event" markers */
body .u-post__body font[color="#f00"],
body .u-post__body font[color="red"] {
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-size: .74rem !important;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--flag-red) !important;
  border: 1px solid currentColor;
  padding: 3px 9px;
  margin-left: 6px;
}
body .u-empty {
  padding: 40px 0;
  font-size: 1.03rem;
  color: var(--muted);
}

/* ==========================================================================
   SYMPOSIUM — editions
   ========================================================================== */
body .u-editions { border-top: 2px solid var(--ink); }

body .u-edition {
  padding: clamp(38px, 4.5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
body .u-edition__title {
  font-size: clamp(1.35rem, 2.6vw, 2rem) !important;
  max-width: 40ch;
}
body .u-edition__intro {
  max-width: 68ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
body .u-edition__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}
body .u-edition__meta > div {
  padding: 16px 22px 16px 0;
  border-right: 1px solid var(--line);
}
body .u-edition__meta > div:last-child { border-right: 0; }
body .u-edition__meta dt {
  font-family: 'Figtree', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--royal-700);
  margin-bottom: 6px;
}
body .u-edition__meta dd {
  margin: 0;
  font-size: .99rem;
  line-height: 1.6;
  color: var(--ink);
}

body .u-edition__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
  margin-top: clamp(26px, 3vw, 36px);
}
body .u-edition__main { min-width: 0; }
body .u-edition__layout--single { grid-template-columns: minmax(0, 1fr); }
body .u-edition .u-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
body .u-edition__main > .u-prose { margin-top: 20px; }
body .u-edition__main > .u-prose figure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 !important;
}
body .u-edition__main > .u-prose figure img {
  width: 100%;
  height: 210px;
  margin: 0 !important;
  object-fit: cover;
}

/* Editions sit in a centred column so a single item does not hug the left edge */
body .u-editions,
body .u-label--centered {
  max-width: 960px;
  margin-inline: auto;
}
body .u-label--centered { text-align: center; }
body .u-editions .u-edition__title {
  margin-inline: auto;
  text-align: center;
}
body .u-editions .u-edition__intro {
  max-width: 62ch;
  margin: 14px auto 0;
  text-align: center;
}
body .u-edition__layout--single { justify-items: center; }
body .u-edition__layout--single .u-edition__main { width: 100%; }
body .u-edition__layout--single .u-gallery--poster { justify-content: center; }
body .u-edition__layout--single .u-edition__main > .u-prose {
  max-width: 62ch;
  margin-inline: auto;
}
body .u-edition__layout--single .u-actions { justify-content: center; }

/* ==========================================================================
   CENTRED PAGE — one column with centred headings, added per page with
   <section id="pages" class="u-centered">
   ========================================================================== */
body #pages.u-centered > * {
  max-width: 960px;
  margin-left: auto !important;
  margin-right: auto !important;
}
body #pages.u-centered > .u-label,
body #pages.u-centered > h2,
body #pages.u-centered > h3,
body #pages.u-centered > .u-prose > h2,
body #pages.u-centered > .u-prose > h3 { text-align: center; }
/* Accent bars under headings are absolutely positioned, so recentre them */
body #pages.u-centered > h2::after,
body #pages.u-centered > h3::after,
body #pages.u-centered > .u-prose > h3::after {
  left: 50% !important;
  transform: translateX(-50%);
}
body #pages.u-centered > .u-prose .text-div,
body #pages.u-centered > .u-prose > p,
body #pages.u-centered > .u-prose > ol,
body #pages.u-centered > .u-prose > ul {
  max-width: 72ch;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Database copy uses these lists as section headings */
body #pages.u-centered > .u-prose > .page-links { text-align: center; }
body #pages.u-centered > .u-doc__lead,
body #pages.u-centered > .u-empty {
  max-width: 62ch;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

/* Image gallery */
body .u-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 24px !important;
  padding: 0;
}
body .u-gallery img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}
body .u-gallery--poster { grid-template-columns: minmax(0, 420px); }
body .u-gallery--poster img { height: auto; max-height: 560px; object-fit: contain; padding: 10px; }

/* Report sidebar */
body .u-report {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-top: 4px solid var(--royal-700);
  padding: 22px;
}
body .u-report h3 {
  font-family: 'Figtree', sans-serif !important;
  font-size: .76rem !important;
  font-weight: 800 !important;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--royal-700) !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
}
body .u-report img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 18px;
}

/* ==========================================================================
   PROSE — long-form copy that comes out of the database
   Applies to clinical studies, evidence-informed policy, news article bodies.
   ========================================================================== */
/* Cap the measure on text blocks rather than the whole container, so image
   rows and two-column blocks inside the copy can still use the full width. */
body .u-prose .text-div,
body .u-prose > p,
body .u-prose > ol,
body .u-prose > ul { max-width: 76ch; }

body .u-prose > h2,
body .u-prose > h2.headings {
  font-family: 'Figtree', sans-serif !important;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem) !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  letter-spacing: -.025em;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
}
body .u-prose > h2::after { display: none !important; }

body .u-prose h3,
body .u-prose h3.headings {
  font-family: 'Figtree', sans-serif !important;
  font-size: clamp(1.08rem, 1.9vw, 1.34rem) !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  letter-spacing: -.012em;
  margin: 48px 0 22px !important;
  padding: 0 0 14px !important;
  border: 0 !important;
  border-bottom: 2px solid var(--ink) !important;
  width: auto !important;
}
body .u-prose h3::after {
  width: 46px !important;
  height: 2px !important;
  bottom: -2px !important;
  background: var(--royal-700) !important;
}
body .u-prose > h3:first-child,
body .u-prose > h2 + h3 { margin-top: 30px !important; }

body .u-prose h4 {
  font-family: 'Figtree', sans-serif !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--royal-700) !important;
  margin: 30px 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
}
body .u-prose .text-div > h4:first-child,
body .u-prose > h4:first-child { margin-top: 0 !important; }

body .u-prose,
body .u-prose .text-div,
body .u-prose p,
body .u-prose span,
body .u-prose li {
  font-size: 1.045rem !important;
  line-height: 1.82 !important;
  color: var(--ink-soft) !important;
}
body .u-prose .text-div { margin: 0 0 26px !important; padding: 0 !important; }
body .u-prose p { margin: 0 0 18px !important; }

/* Numbered lists as an editorial index */
body .u-prose ol {
  counter-reset: u-ol;
  list-style: none !important;
  margin: 26px 0 !important;
  padding: 0 !important;
  border-top: 1px solid var(--line);
}
body .u-prose ol > li {
  counter-increment: u-ol;
  position: relative;
  margin: 0 !important;
  padding: 15px 0 15px 52px !important;
  border-bottom: 1px solid var(--line);
}
body .u-prose ol > li::before {
  content: counter(u-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 15px;
  font-family: 'Figtree', sans-serif;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--royal-700);
}
body .u-prose ul { margin: 22px 0 !important; padding-left: 22px !important; }
body .u-prose ul > li { margin-bottom: 9px; }

body .u-prose a {
  color: var(--royal-700) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body .u-prose a:hover { color: var(--green-600) !important; }

body .u-prose img { max-width: 100%; height: auto; margin: 14px 0; border: 1px solid var(--line); }

/* Legacy "(Closed event)" markers, as a class or a <font> tag */
body .u-prose .text-red,
body .u-prose font[color="#f00"],
body .u-prose font[color="red"] {
  display: inline-block;
  font-family: 'Figtree', sans-serif !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted) !important;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 4px 10px;
  margin-top: 6px;
}
body .u-prose font:empty { display: none !important; }

/* --- Legacy "page-links" pseudo-tabs (research institutions) ---
   These come from the database as two <ul>s of dead href="#" links, one per
   institute, with the current one marked .active-link. Rather than fake tabs,
   promote the active item to a section heading and drop the rest. */
body .u-prose .page-links {
  list-style: none !important;
  margin: 52px 0 24px !important;
  padding: 0 0 14px !important;
  border-bottom: 2px solid var(--ink);
}
body .u-prose .page-links:first-child { margin-top: 0 !important; }
body .u-prose .page-links li { display: contents; }
body .u-prose .page-links a:not(.active-link),
body .u-prose .page-links .fa { display: none !important; }
body .u-prose .page-links .active-link {
  display: block;
  font-family: 'Figtree', sans-serif !important;
  font-size: clamp(1.08rem, 1.9vw, 1.34rem) !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  letter-spacing: -.012em;
  text-decoration: none !important;
  cursor: default;
  pointer-events: none;
}

/* Legacy float rows inside database copy */
body .u-prose .row-wrap {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(22px, 3vw, 36px) !important;
  align-items: start;
  margin: 30px 0 !important;
  width: auto !important;
}
body .u-prose .col-50,
body .u-prose .col-30,
body .u-prose .col-60 {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
body .u-prose .page-img {
  width: 100% !important;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  margin: 0 0 14px !important;
}
body .u-prose .text-div.text-blue {
  font-family: 'Figtree', sans-serif !important;
  font-size: .95rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: var(--royal-800) !important;
  margin: 0 !important;
}

/* ==========================================================================
   PILLARS — vision / mission / goal (about page)
   ========================================================================== */
body .u-pillars {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
  margin-top: clamp(40px, 5vw, 60px);
}
body .u-pillar {
  display: grid;
  grid-template-columns: 64px minmax(0, 200px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(24px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}
body .u-pillar__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}
body .u-pillar__icon img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
  margin: 0 !important;
  border: 0 !important;
}
body .u-pillar h3 {
  font-family: 'Figtree', sans-serif !important;
  font-size: clamp(1.4rem, 2.6vw, 2rem) !important;
  font-weight: 800 !important;
  color: var(--royal-700) !important;
  letter-spacing: -.022em;
  line-height: 1.15 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body .u-pillar h3::after { display: none !important; }
body .u-pillar p {
  margin: 0 !important;
  max-width: 62ch;
  font-size: 1.045rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

/* --- Core values --- */
body .u-values {
  list-style: none !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 26px 0 0 !important;
  padding: 0 !important;
  border-top: 2px solid var(--ink);
}
body .u-values li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 !important;
  padding: 26px 26px 26px 0 !important;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
body .u-values li:last-child { border-right: 0; padding-right: 0 !important; }
body .u-values li > span {
  font-family: 'Figtree', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--royal-700);
}
body .u-values strong {
  font-family: 'Figtree', sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
body .u-values em {
  font-style: normal;
  font-size: .95rem;
  line-height: 1.66;
  color: var(--muted);
}

/* ==========================================================================
   PEOPLE — team, board, biography
   ========================================================================== */
body .u-people {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: clamp(18px, 2.4vw, 26px) !important;
  margin: 26px 0 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
body .u-person {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
body .u-person:hover { border-color: var(--royal-600) !important; box-shadow: var(--shadow-sm); }
body .u-person > img {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--surface-alt);
  margin: 0 !important;
  border: 0 !important;
}
body .u-person__cap {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 16px 16px 18px !important;
  border-top: 3px solid var(--royal-700);
  background: var(--surface) !important;
  text-align: left !important;
}
body .u-person__cap h4 {
  font-family: 'Figtree', sans-serif !important;
  font-size: .99rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  line-height: 1.32 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body .u-person__cap b {
  font-family: 'Figtree', sans-serif;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--royal-700) !important;
  line-height: 1.45;
}
body .u-person__cap .u-person__more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  color: var(--royal-700) !important;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: .84rem;
  background: none !important;
  border: 0 !important;
}
body .u-person__cap .u-person__more::after { content: '\2192'; }
body .u-person__cap .u-person__more:hover { color: var(--green-600) !important; text-decoration: underline; }

/* --- Biography profile --- */
body .u-bio {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  border-top: 2px solid var(--ink);
  padding-top: clamp(28px, 3.5vw, 44px);
}
body .u-bio__card { border: 1px solid var(--line); }
body .u-bio__card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  object-position: top center;
  background: var(--surface-alt);
  margin: 0 !important;
  border: 0 !important;
}
body .u-bio__ident {
  padding: 18px;
  border-top: 3px solid var(--royal-700);
  background: var(--surface-alt);
}
body .u-bio__ident h4 {
  font-family: 'Figtree', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
}
body .u-bio__ident b {
  font-family: 'Figtree', sans-serif;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--royal-700) !important;
}

/* ==========================================================================
   DOCUMENT INDEX — statutes, journals, downloads
   ========================================================================== */
body .u-docs { border-top: 2px solid var(--ink); }
body .u-docitem {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--speed) var(--ease);
}
body .u-docitem:hover { background: var(--surface-alt); }
body .u-docitem__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--royal-700);
  font-size: 1.22rem;
}
body .u-docitem__text { min-width: 0; }
body .u-docitem__title {
  font-family: 'Figtree', sans-serif !important;
  font-size: 1.04rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-transform: none !important;
  letter-spacing: -.01em;
}
body .u-docitem__title::after { display: none !important; }
body .u-docitem__meta {
  margin: 5px 0 0 !important;
  font-size: .86rem;
  color: var(--muted);
}
body .u-gap { margin-top: clamp(48px, 6vw, 76px) !important; }
body .u-docs--spaced { margin-top: 26px; }
body .u-filetype { margin-top: 12px !important; }

body .u-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
body .u-cta--sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: .86rem;
  white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE — document pages
   ========================================================================== */
@media (max-width: 1000px) {
  body .u-doc__grid { grid-template-columns: 1fr; }
  body .u-edition__layout { grid-template-columns: 1fr; }
  body .u-mapframe iframe { height: 360px; }
  body .u-pillar { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
  body .u-pillar__icon { width: 56px; height: 56px; }
  body .u-pillar h3 { grid-column: 2; }
  body .u-pillar p { grid-column: 2; margin-top: 10px !important; }
  body .u-bio { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body .u-values { grid-template-columns: 1fr; }
  body .u-values li {
    border-right: 0;
    padding: 22px 0 !important;
  }
  body .u-bio { grid-template-columns: 1fr; }
  body .u-bio__card { max-width: 300px; }
}

@media (max-width: 620px) {
  body .u-form__row { grid-template-columns: 1fr; }
  body .u-docitem {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 16px;
    align-items: start;
  }
  body .u-docitem__icon { width: 40px; height: 40px; font-size: 1.05rem; }
  body .u-docitem .u-cta { grid-column: 2; justify-self: start; margin-top: 6px; }
  body .u-prose ol > li { padding-left: 42px !important; }
  body .u-gallery { grid-template-columns: 1fr; }
  body .u-gallery img { height: 200px; }
  body .u-edition__meta { grid-template-columns: 1fr; }
  body .u-edition__meta > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
  }
  body .u-edition__meta > div:last-child { border-bottom: 0; }
  body .u-mapframe iframe { height: 300px; }
}

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

/* ---------- Print ---------- */
@media print {
  body .top-nav, body nav, body .slide-nav, .u-legacy-top, body #page-banner::after { display: none !important; }
  body { color: #000; font-size: 12pt; }
}
