:root {
  --blue: #203479;
  --blue-dark: #15204a;
  --yellow: #fbbe01;
  --green: #3D7F25;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --text-dark: #333333;
  --text-light: #666666;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

.about-container {
  --bg-image: url("assets/about-hero-bg.png");
}

.home-container {
  --bg-image: url("assets/home-hero-bg.png");
}

/* Hepers */
.align-right {
  text-align: right;
}

.bg-primary {
  background-color: var(--blue) !important;
}

.bg-secondary {
  background-color: var(--yellow) !important;
}

.bg-tertiary {
  background-color: var(--green);
}

.text-primary {
  color: var(--blue) !important;
}

.text-secondary {
  color: var(--yellow) !important;
}

.border-primary {
   border: 1px solid var(--blue);
}

.border-top-left {
  border-radius: 25px 0 0 0;
}

.border-style-1 {
  border-radius: 75px 0 75px 0;
}

.border-style-2 {
  border-radius: 0 75px 0 75px;
}

.border-style-3 {
  border-radius: 25px;
}

.border-bottom-only {
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  border-bottom: 1px solid var(--blue);
}

.border-bottom-only::placeholder {
  color: var(--blue);
  font-size: 0.85rem;
  opacity: 1;
}

/* Social links in Top Bar */
.top-bar {
  background-color: var(--yellow);
  width: 100%;
  height: 40px;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.top-bar-socials {
  display: flex;
  gap: 15px;
}

.top-bar-socials .social-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  /* Ensure white icons */
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.subtitle {
  font-family: Montserrat;
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 60px;
  letter-spacing: -0.36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 28px;
  border-radius: 0 20px 0 20px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-secondary {
  background: var(--yellow);
  color: var(--blue-dark);
}

.btn-accent {
  background: var(--yellow);
  color: var(--blue-dark);
}

.btn-outline-primary {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-light {
  background: var(--white);
  color: var(--blue);
}

/*
.site-header {
  background: var(--blue);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}
*/
.nav-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: var(--white);
  /* Ensure nav bar has background if sticky */
}

.site-footer {
  background: var(--blue-dark);
  /* Ensure footer is dark blue */
  color: var(--white);
  padding: 60px 0 20px;
}

.header-inner {
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 24px; */
}

.header {
  font-family: var(--font-heading);
  background: var(--blue);
  color: var(--white);
  padding: 20px;
}

header.bg-primary > .container {
  width: min(1400px, 96%);
  flex-wrap: nowrap;
}

header.bg-primary > .container > div {
  flex-wrap: nowrap !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

header.bg-primary .btn {
  padding: 10px 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo img {
  max-width: 200px;
  height: auto;
  width: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.1;
  text-transform: lowercase;
  color: var(--white);
  /* Ensure logo text is white */
}

.logo-text span {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.is-active {
  color: var(--yellow);
  /* Yellow active/hover state */
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.socials {
  display: flex;
  gap: 10px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 600;
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

.site-footer .social-icon {
  /* filter: brightness(0) invert(1); */
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 800px;
  /* Slightly increased for better scale */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
  /* Increased padding */
  margin: 30px;
  border-radius: 100px 0 100px 0;
  border: 1px solid #203479;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/home-hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 88px;
  background:
    linear-gradient(to right,
      #203479 0 48px,
      #FBBE01 48px 64px,
      #3D7F25 64px 76px,
      transparent 76px
    ),
  var(--bg-image) center / cover no-repeat;
  background-repeat: no-repeat, no-repeat;
  background-size: 76px 100%, center;
  background-position: left top, center;
}

.hero-card {
  padding: 50px;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  background: linear-gradient(203deg, rgba(255, 255, 255, 0.70) 52.64%, var(--Blue, rgba(0, 82, 146, 0.70)) 103.25%);
  margin-left: 20px;
}

.hero-card h1 {
  color: var(--blue);
  font-family: Montserrat;
  font-size: 70px;
  font-style: normal;
  font-weight: 700;
  line-height: 97%;
  letter-spacing: -1.9px;
}

.hero-subtext {
 line-height: 1.1;
}

.lead {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.342px;
}
/*
.hero-card p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}
*/

.hero-actions {
  display: flex;
  gap: 40px;
}

/* Update Social Icons for Dark Header */
.social-icon img {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  /* Make icons white */
  /* filter: brightness(0) invert(1); */
}

.partners {
  padding: 30px 0;
  margin: 40px 0;
}

.home-logo-band {
  background: var(--yellow);
  overflow: hidden;
}

.home-logo-band__inner {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 169px;
  justify-content: space-between;
  margin: 0 auto;
  padding: 28px 0;
  width: min(1526px, calc(100% - 2rem));
}

.home-logo-band__item {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}

.home-logo-band__item img {
  display: block;
  height: 100%;
  width: 100%;
}

.home-logo-band__item--1 {
  height: 103px;
  width: 62px;
}

.home-logo-band__item--2 {
  height: 111px;
  width: 117px;
}

.home-logo-band__item--3 {
  height: 110px;
  width: 156px;
}

.home-logo-band__item--4 {
  height: 104px;
  overflow: hidden;
  width: 83px;
}

.home-logo-band__item--5 {
  height: 113px;
  overflow: hidden;
  width: 100px;
}

.home-logo-band__layer {
  position: absolute;
}

.home-logo-band__layer--4-main {
  inset: 16.19% 5.59% 19.62% 6.38%;
}

.home-logo-band__layer--4-top {
  inset: 0 0 75.6% 0;
}

.home-logo-band__layer--4-bottom {
  inset: 76.65% 4.9% 0 2.79%;
}

.home-logo-band__layer--5-main {
  inset: 15.08% 8.33% 14.55% 6.73%;
}

.home-logo-band__layer--5-top {
  inset: 0 2.7% 76.25% 8.02%;
}

.home-logo-band__layer--5-bottom {
  inset: 68.25% 0 4.47% 0;
}

@media (max-width: 720px) {
  .home-logo-band__inner {
    display: grid;
    gap: 24px 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    justify-items: center;
    padding: 24px 20px;
    width: min(480px, 100%);
  }

  .home-logo-band__item--5 {
    grid-column: 1 / -1;
  }
}

.about-logo {
  width: 184px;
  position: absolute;
  bottom: -118px;
  right: 18px;
  z-index: 3;
}

.story-image img {
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(32, 52, 121, 0.2);
}

.value-card {
  background: var(--light);
  padding: 24px;
  border-radius: 20px;
  min-height: 220px;
}

.value-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.pillars {
  background: var(--light);
}

.pillar {
  background: var(--white);
  padding: 22px;
  border-radius: 18px;
  border-left: 6px solid var(--yellow);
  box-shadow: 0 12px 24px rgba(32, 52, 121, 0.08);
}

.leader {
  background: var(--light);
  border-radius: 18px;
  padding: 14px;
  text-align: center;
}

.leader img {
  width: 100%;
  height: 140px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 8px;
}

.timeline {
  background: var(--white);
}

.cta-panel {
  background-image: linear-gradient(120deg, rgba(32, 52, 121, 0.92), rgba(32, 52, 121, 0.4)), url("assets/ilembe4.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 48px;
  border-radius: 24px;
  max-width: 900px;
}

.mandate-section {
  padding-top: 64px;
  padding-bottom: 112px;
}

.mandate-layout {
  position: relative;
  isolation: isolate;
  min-height: 724px;
}

.mandate-vision {
  border: 1px solid var(--yellow);
  border-radius: 100px 0 100px 0;
  min-height: 314px;
  padding: 42px 76px 130px;
  position: relative;
}

.mandate-vision h2 {
  max-width: 1000px;
}

.about-card {
  border: 1px solid var(--yellow);
  border-radius: 0 111px 0 120px;
  margin-top: -69px;
  min-height: 346px;
  padding: 74px 220px 72px 76px;
  position: relative;
  width: min(72%, 864px);
  z-index: 1;
}

.about-card .lead {
  max-width: 520px;
}

h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -1px;
}

.tagline {
  font-family: "Shadows Into Light", cursive;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -1.14px;
  margin: 44px 0 0;
  max-width: 700px;
}

.about-media {
  position: absolute;
  top: 420px;
  right: 30px;
  width: min(44.7%, 536px);
  aspect-ratio: 766 / 405;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--green);
  border-radius: 0 111px 0 120px;
  box-shadow: 0 24px 56px rgba(15, 36, 91, 0.18);
  z-index: 2;
  background: #d4dde9;
}

.about-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.quote-mark {
  position: absolute;
  top: -20px;
  right: 40px;
  font-size: 120px;
  color: var(--yellow);
  line-height: 1;
}

.district-info h2 {
  margin-top: 0;
  color: var(--blue-dark);
}

.district-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}

.district-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 16px;
}

.district-list img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}
/*
.facts {
  background: var(--white);
}
*/
/*
.section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
*/

.section-header-right {
   text-align: right;
   padding: 120px 0 0 40px;
}

.section-header h2 {
  margin: 0;
  color: var(--blue-dark);
}
/*
.fact {
  padding: 28px;
  border-radius: 25px 0 0 0;
  min-height: 180px;
}
*/
.fact h3 {
  font-size: 36px;
  margin: 0 0 12px;
}
/*
.fact-blue {
  background: var(--blue);
  color: var(--white);
}

.fact-light {
  background: var(--light);
  color: var(--blue-dark);
}

.fact-accent {
  background: var(--yellow);
  color: var(--blue-dark);
}
*/
/*
.practice {
  background: var(--light);
}
*/
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.chip {
  padding: 8px 16px;
  background: var(--white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
  box-shadow: 0 8px 16px rgba(32, 52, 121, 0.1);
}

.image-card h3 {
  text-align: right;
  padding-right: 1.5rem;
}

.sectors-section {
  padding-top: 88px;
  padding-bottom: 98px;
}

.sectors-shell {
  width: min(1284px, 92%);
}

.sectors-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 28px;
}

.sectors-copy {
  max-width: 780px;
}

.sectors-heading {
  color: var(--blue);
  font-size: clamp(3rem, 4.5vw, 4.375rem);
  font-weight: 300;
  letter-spacing: -1.4px;
  line-height: 0.9;
  margin: 0 0 20px;
}

.sectors-heading span {
  font-weight: 700;
}

.sectors-description {
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.36px;
  line-height: 1.45;
  margin: 0;
  max-width: 760px;
}

.sectors-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
  min-width: 320px;
  padding-bottom: 12px;
}

.sectors-actions::before {
  content: "";
  background: rgba(32, 52, 121, 0.28);
  flex: 1 1 auto;
  height: 1px;
}

.sectors-cta {
  border-radius: 22px 22px 0 22px;
  min-height: 44px;
  padding: 0 28px;
  white-space: nowrap;
}

.sectors-panel {
  background: var(--yellow);
  border-radius: 30px;
  padding: 40px 32px 22px;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sector-card {
  background: var(--blue);
  border-radius: 28px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 516px;
  padding: 16px 16px 28px;
}

.sector-card__image {
  border: 1px solid rgba(251, 190, 1, 0.95);
  border-radius: 22px;
  height: 292px;
  overflow: hidden;
}

.sector-card__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.sector-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 10px 0;
  text-align: center;
}

.sector-card__title {
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.57px;
  line-height: 1.1;
  margin: 0 0 14px;
}

.sector-card__body p {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 250px;
}

.text-link {
  font-weight: 600;
  color: var(--yellow);
  margin-top: 12px;
}

.invest-logo {
  width: 120px;
  position: absolute;
  top: -60px;
  right: -60px;
}

.member {
  background: var(--light);
  padding: 18px;
  border-radius: 20px;
  text-align: center;
}

.member img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}

.member h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.gallery figure {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  margin: 0;
}

.gallery img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.gallery figcaption {
  padding: 14px 16px;
  font-weight: 600;
  color: var(--blue-dark);
}
/*
.calendar {
  background: var(--white);
}
*/

.calendar-select-day {
  border: 1px solid #FDCB05;
  filter: drop-shadow(0px 4px 4px #203479);
  border-radius: 20px;
}

.calendar-card {
  background: var(--blue);
  color: var(--white);
  padding: 28px;
  border-radius: 24px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-nav button {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.calendar-weekdays {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.calendar-days span {
  padding: 10px 0;
  border-radius: 50%;
}

.calendar-days .selected {
  background: var(--yellow);
  color: var(--blue-dark);
  font-weight: 700;
}

.calendar-days .muted {
  opacity: 0.5;
}

.calendar-panel {
  display: grid;
  gap: 16px;
}

.panel-block {
  padding: 12px;
  border: 1px solid #203479;
  border-radius: 20px;
}
.panel-block p {
  font-weight: 200;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-transform: capitalize;
  color: #BBBBBB;
}

.panel-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.panel-row input,
.panel-block input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d7dbe8;
  font-family: inherit;
  font-size: 14px;
}

.panel-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--light);
  font-weight: 600;
}

.vacancies-card {
  background: var(--yellow);
  padding: 18px;
  border-radius: 20px;
  display: grid;
  gap: 12px;
}

.vacancies-card img {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
}

/*
.contact {
  background: var(--blue);
  color: var(--white);
}
*/
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-details span {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.note {
  margin-top: 24px;
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  color: var(--text);
  padding: 28px;
  border-radius: 24px;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 40px 0 24px;
}
/*
.footer-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}
*/

.footer-brand img {
  width: 100px;
  margin-bottom: 20px;
}

.site-footer h4 {
  margin: 0 0 12px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom .container {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.back-to-top {
  color: var(--yellow);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .sectors-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .sectors-actions {
    min-width: 0;
    padding-bottom: 0;
    width: 100%;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .sectors-section {
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .sectors-heading {
    font-size: 46px;
    margin-bottom: 14px;
  }

  .sectors-description {
    font-size: 17px;
  }

  .sectors-actions::before {
    display: none;
  }

  .sectors-cta {
    width: 100%;
  }

  .sectors-panel {
    border-radius: 26px;
    padding: 24px 18px;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sector-card {
    min-height: 0;
  }

  .sector-card__image {
    height: 320px;
  }

  .sector-card__title {
    font-size: 32px;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-links.is-open,
  .nav-actions.is-open {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
    margin-left: 0;
  }

  .hero-grid,
  .about-grid,
  .story-grid,
  .district-grid,
  .invest-grid,
  .contact-grid,
  .calendar-grid,
  .leadership-grid,
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: 2;
  }

  .hero-image {
    order: 1;
  }
}

@media (max-width: 768px) {
  .nav-bar {
    flex-wrap: wrap;
  }

  .nav-links.is-open,
  .nav-actions.is-open {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-card {
    padding: 32px;
  }

  .hero-card h1 {
    font-size: 34px;
  }
/*
  .about-hero {
    padding: 80px 0;
  }
*/
  .hero-panel {
    padding: 28px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 32px;
  }

/*
  .footer-top-grid,
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  */
}

/* ---- Multi-page website enhancements ---- */
.site-nav {
  align-items: center;
  flex-wrap: nowrap !important;
  flex: 1;
  justify-content: space-evenly;
  gap: 0 !important;
}

.site-nav a {
  white-space: nowrap;
}

.site-nav a.is-active {
  color: var(--yellow);
  font-weight: 700;
}

.page-hero-generated {
  background-position: left top, center;
}

.footer-links {
  align-items: flex-start;
}

.footer-links a {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
}

.resource-list {
  padding-left: 18px;
  margin-bottom: 24px;
}

.resource-list li {
  margin-bottom: 10px;
}

.panel-block h3,
.panel-block .h5 {
  color: var(--blue);
  margin-bottom: 10px;
}

.panel-block a.btn {
  margin-top: 8px;
}

@media (max-width: 992px) {
  .hero-container {
    padding: 40px 24px;
  }

  .hero-card {
    max-width: 100%;
    margin-left: 0;
  }

  .mandate-layout {
    min-height: 0;
  }

  .mandate-vision {
    padding: 36px 36px 108px;
  }

  .mandate-vision .about-logo {
    width: 150px;
    bottom: -92px;
    right: 12px;
  }

  .about-card {
    margin-top: -44px;
    min-height: 0;
    padding: 62px 48px 160px;
    width: 100%;
  }

  .about-card .lead,
  .tagline {
    max-width: 100%;
  }

  .about-media {
    top: auto;
    right: 32px;
    bottom: 28px;
    width: min(48%, 450px);
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .site-nav {
    gap: 10px !important;
    font-size: 12px;
  }

  .hero-card h1 {
    font-size: 46px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .subtitle {
    line-height: 1.5;
  }

  .tagline {
    font-size: 36px;
  }

  .mandate-vision {
    padding: 32px 24px 96px;
  }

  .mandate-vision .about-logo {
    width: 118px;
    bottom: -74px;
    right: 10px;
  }

  .about-card {
    margin-top: -32px;
    padding: 48px 24px 32px;
  }

  .about-media {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
  }
}

/* Downloads catalogue */
.downloads-app .form-label {
  margin-bottom: 4px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #203479;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.download-main {
  min-width: 0;
}

.download-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.25;
}

.download-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(21, 32, 74, 0.75);
}

.download-actions .btn {
  white-space: nowrap;
}

.downloads-list {
  display: grid;
  gap: 20px;
}

.downloads-year-group {
  display: grid;
  gap: 12px;
}

.downloads-year-heading {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(32, 52, 121, 0.18);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
}

.downloads-year-items {
  display: grid;
  gap: 12px;
}

.downloads-meta {
  color: rgba(21, 32, 74, 0.85);
}

.downloads-page-status select.form-select-sm {
  border-radius: 12px;
}

@media (max-width: 768px) {
  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-actions {
    width: 100%;
  }

  .download-actions .btn {
    width: 100%;
  }
}

/* News cards + article typography */
.news-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card-body {
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.news-card-date {
  margin: 0;
  font-size: 12px;
  color: rgba(21, 32, 74, 0.7);
}

.news-card .h5 {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
}

.news-card-excerpt {
  margin: 0;
  font-size: 13px;
  color: rgba(21, 32, 74, 0.85);
}

.article-body {
  max-width: 920px;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body h2,
.article-body h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
}

.article-body img {
  margin: 16px 0;
  border-radius: 18px;
  border: 1px solid rgba(32, 52, 121, 0.12);
  box-shadow: 0 18px 40px rgba(32, 52, 121, 0.12);
}

.article-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  margin: 16px 0;
  background: rgba(21, 32, 74, 0.08);
}

.gallery-page .article-body {
  max-width: none;
  columns: 3 260px;
  column-gap: 18px;
}

.gallery-page .article-body > h1,
.gallery-page .article-body > h2,
.gallery-page .article-body > h3 {
  column-span: all;
}

.gallery-page .article-body a {
  color: inherit;
  text-decoration: none;
}

.gallery-page .article-body a.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
}

.gallery-page .article-body a.gallery-item img {
  margin: 0;
  border-radius: 16px;
  box-shadow: none;
}

.gallery-page .article-body a.gallery-item:hover img {
  transform: translateY(-2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 40px rgba(32, 52, 121, 0.18);
}

.gallery-page .article-body a.gallery-item h2 {
  margin: 12px 0 6px;
  font-size: 18px;
  color: var(--blue-dark);
}

.gallery-page .article-body a.gallery-item p {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(21, 32, 74, 0.82);
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

@media (max-width: 768px) {
  .news-card-image {
    height: 160px;
  }
}

@media (max-width: 992px) {
  .gallery-page .article-body {
    columns: 2 220px;
  }
}

@media (max-width: 576px) {
  .gallery-page .article-body {
    columns: 1;
  }
}
