/* ==========================================================================
   Site components
   Page-specific components built on the base design system
   ========================================================================== */

/* ---------- Utility bar + sticky header ---------- */
:root {
  --topbar-h: 34px;
}
body {
  padding-top: 0;
}
.utilbar {
  position: relative;
  z-index: 2;
  background: var(--brown);
  color: var(--sand);
  font-size: 12.5px;
}
.utilbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 2.4%;
}
.utilbar__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}
.utilbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sand);
  text-decoration: none;
  white-space: nowrap;
}
.utilbar__item:hover {
  color: #fff;
}
.utilbar__item svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
}
.utilbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.utilbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}
.utilbar__apply {
  color: var(--amber);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.utilbar__apply:hover {
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
}

/* ---------- Brand wordmark ---------- */
.brand--rtvc {
  gap: 10px;
}
.brand__mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
}
.brand__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.brand__mark .brand-mark__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__text strong {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--brown);
  white-space: nowrap;
}
.brand__text small {
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- Hero: split with side card ---------- */
.hero--split {
  text-align: left;
}
.hero--split .hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 4.5vw, 68px);
  width: min(1180px, 90%);
}
.hero--split h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 700;
  line-height: 1.16;
}
.hero-accent {
  color: var(--amber);
}
.hero--split .hero__copy p {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.95;
}
.hero--split .btn-row {
  justify-content: flex-start;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero-pill svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.hero-card {
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 55px -22px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}
.hero-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-card__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-card__item:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.hero-card__item:last-child {
  padding-bottom: 0;
}
.hero-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber);
}
.hero-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-card h3 {
  margin: 0 0 3px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.hero-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Stats strip ---------- */
.stats-band {
  padding: 26px 0;
  background: var(--sand-pale);
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat {
  padding: 12px 10px;
  text-align: center;
  border-right: 1px solid rgba(10, 37, 64, 0.12);
}
.stat:last-child {
  border-right: 0;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--red);
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.82;
}

/* ---------- Home intro + quote ---------- */
.home-intro {
  padding: clamp(58px, 6vw, 92px) 0;
}
.home-intro__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(30px, 5vw, 68px);
}
.quote-card {
  --quote-pad-x: clamp(26px, 3.4vw, 42px);
  position: relative;
  padding: 0 var(--quote-pad-x) clamp(36px, 4vw, 54px);
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, #0a2540 0%, #0d47a1 100%);
  box-shadow: var(--shadow-soft);
  color: #fff;
}
.quote-card__avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% + (var(--quote-pad-x) * 2));
  max-width: none;
  height: auto;
  aspect-ratio: 5 / 3;
  margin: 0 calc(var(--quote-pad-x) * -1) 22px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.12);
  object-fit: cover;
  object-position: center top;
}
.quote-card blockquote {
  position: relative;
  margin: 0 0 22px;
  font-size: 15.5px;
  font-style: italic;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.92);
}
.quote-card h3 {
  position: relative;
  margin: 0 0 3px;
  font-family: var(--font-head);
  font-size: 18px;
  color: #fff;
}
.quote-card p {
  position: relative;
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
}
.home-intro__copy .section-title {
  margin-bottom: 14px;
}
.home-intro__copy > p {
  font-size: 16px;
  line-height: 2;
  color: var(--brown-soft);
}
.quick-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}
.quick-card {
  display: block;
  padding: 22px 20px;
  border: 1px solid rgba(10, 37, 64, 0.14);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s,
    box-shadow 0.25s;
}
.quick-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 18px 34px -18px rgba(10, 37, 64, 0.35);
}
.quick-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--red);
}
.quick-card__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quick-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--brown);
}
.quick-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--brown-soft);
}

/* ---------- Home news strip ---------- */
.news-strip {
  padding: clamp(48px, 5.5vw, 76px) 0;
  background: linear-gradient(157deg, var(--amber) 26%, var(--orange) 82%);
}
.news-strip__grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  align-items: center;
  gap: clamp(26px, 4vw, 52px);
}
.news-strip__intro {
  padding-right: clamp(16px, 3vw, 34px);
  border-right: 8px solid var(--red);
}
.news-strip__intro .kicker {
  color: var(--brown);
}
.news-strip__intro h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--brown);
}
.news-strip__intro p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
  color: var(--brown);
}
.news-strip__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-mini {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 38px -26px rgba(10, 37, 64, 0.5);
}
.news-mini time {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
}
.news-mini h3 {
  margin: 7px 0 8px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--brown);
}
.news-mini p {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--brown-soft);
}
.news-mini a {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
}
.news-mini a:hover {
  color: var(--orange);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(52px, 6vw, 82px) 0;
  background: linear-gradient(129deg, var(--red) 0%, var(--brown) 100%);
  text-align: center;
  color: #fff;
}
.cta-band .kicker {
  color: var(--amber);
}
.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.3vw, 40px);
  color: #fff;
}
.cta-band p {
  max-width: 660px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Policy cards ---------- */
.policy-band {
  padding: clamp(52px, 6vw, 84px) 0;
  background: var(--sand-pale);
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: min(1080px, 88%);
  margin-inline: auto;
}
.policy-card {
  padding: 30px 26px;
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.policy-card:nth-child(2) {
  border-top-color: var(--amber);
}
.policy-card:nth-child(3) {
  border-top-color: var(--olive);
}
.policy-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.08);
  color: var(--red);
}
.policy-card:nth-child(2) .policy-card__icon {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}
.policy-card:nth-child(3) .policy-card__icon {
  background: rgba(29, 78, 216, 0.12);
  color: var(--olive);
}
.policy-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.policy-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--brown);
}
.policy-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--brown-soft);
}

/* ---------- Leadership ---------- */
.people-band {
  padding: clamp(54px, 6vw, 86px) 0;
  background: #fff;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1120px, 90%);
  margin-inline: auto;
}
.person {
  padding: 0 20px 28px;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.12);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.person:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -20px rgba(10, 37, 64, 0.3);
}
.person__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 28px auto 14px;
  border: 2px solid rgba(13, 71, 161, 0.16);
  border-radius: 50%;
  background: var(--sand-pale);
  color: var(--red);
}
.person__icon--avatar {
  display: block;
  width: calc(100% + 40px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 -20px 18px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 13px 13px 0 0;
  background: #fff;
  box-shadow: none;
}
.person__icon--avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
}
.person__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.people-band--alt {
  background: linear-gradient(180deg, var(--sand-pale) 0%, #fff 100%);
}
.person h3 {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--brown);
}
.person .role {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
}
.person .role + p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--brown-soft);
}

/* ---------- Service charter ---------- */
.charter-band {
  padding: clamp(52px, 6vw, 84px) 0;
  background: linear-gradient(180deg, #fff 0%, rgba(159, 185, 216, 0.35) 100%);
}
.charter-wrap {
  width: min(1080px, 90%);
  margin-inline: auto;
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.charter {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}
.charter th {
  padding: 14px 16px;
  background: var(--brown);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-align: left;
  text-transform: uppercase;
}
.charter td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
  line-height: 1.6;
  color: var(--brown-soft);
  vertical-align: top;
}
.charter tr:last-child td {
  border-bottom: 0;
}
.charter tr:nth-child(even) td {
  background: #f8fbff;
}
.charter td:first-child {
  font-weight: 600;
  color: var(--brown);
}
.charter .time {
  color: var(--olive);
  font-weight: 600;
}

/* ---------- Admissions: filters + programme cards ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(760px, 90%);
  margin: 0 auto 12px;
}
.filter-bar .input {
  flex: 1 1 240px;
  width: auto;
  border: 1px solid rgba(10, 37, 64, 0.2);
  background: #fff;
  color: var(--brown);
}
.filter-bar select.input {
  flex: 0 1 210px;
}
.filter-bar .input::placeholder {
  color: #7c8da3;
}
.filter-count {
  margin: 0 0 26px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.level {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.level--craft {
  background: var(--orange);
  color: var(--brown);
}
.level--artisan {
  background: var(--olive);
  color: #fff;
}
.program-card {
  padding-bottom: 24px;
}
.course-card[data-level="Diploma"] {
  border-top-color: var(--red);
}
.course-card[data-level="Craft Certificate"] {
  border-top-color: var(--orange);
}
.course-card[data-level="Artisan"] {
  border-top-color: var(--olive);
}
.program-card .course-card__icon {
  color: var(--red);
}
.program-meta {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.program-meta li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 5px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--brown-soft);
}
.program-meta svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  fill: none;
  stroke: var(--olive);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.program-card .btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.72em 1.25em;
  font-size: 12px;
}
.no-results {
  display: none;
  width: 100%;
  padding: 34px 20px;
  text-align: center;
  font-size: 15px;
  color: var(--brown-soft);
}
.no-results.is-visible {
  display: block;
}

/* ---------- Admissions: process ---------- */
.process-band {
  padding: clamp(50px, 6vw, 82px) 0;
  background: linear-gradient(180deg, #fff 0%, rgba(159, 185, 216, 0.4) 100%);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1100px, 90%);
  margin-inline: auto;
}
.process-step {
  padding: 26px 22px;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 8px;
  background: #fff;
}
.process-step__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--amber);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
}
.process-step:nth-child(2) .process-step__num {
  background: var(--red);
  color: #fff;
}
.process-step:nth-child(3) .process-step__num {
  background: var(--orange);
  color: var(--brown);
}
.process-step:nth-child(4) .process-step__num {
  background: var(--olive);
  color: #fff;
}
.process-step h3 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--brown);
}
.process-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--brown-soft);
}

/* ---------- Fees ---------- */
.fees-band {
  padding: clamp(54px, 6vw, 86px) 0;
  background: linear-gradient(135deg, var(--brown) 0%, var(--red) 100%);
  color: #fff;
}
.fees-band .section-head {
  color: #fff;
}
.fees-band .kicker {
  color: var(--sand);
}
.fees-band .section-title {
  color: #fff;
}
.fees-band .section-lead {
  color: rgba(255, 255, 255, 0.8);
}
.fees-band .rule {
  border-top-color: var(--amber);
}
.fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: min(980px, 88%);
  margin-inline: auto;
}
.fee-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}
.fee-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.fee-card__badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--brown);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}
.fee-card__badge--bank {
  background: var(--sand);
  color: var(--brown);
}
.fee-card__badge svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.fee-card h3 {
  margin: 0 0 2px;
  font-family: var(--font-body);
  font-size: 16.5px;
  color: #fff;
}
.fee-card .sub {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sand);
}
.fee-card ol,
.fee-card ul {
  margin: 0;
  padding-left: 18px;
}
.fee-card li {
  margin-bottom: 6px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}
.fee-card strong {
  color: var(--amber);
}
.fee-note {
  margin: 18px 0 0;
  font-size: 12.5px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Departments ---------- */
.dept-section {
  padding: clamp(54px, 6vw, 86px) 0;
}
.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(1240px, 92%);
  margin-inline: auto;
}
.dept-card {
  overflow: hidden;
  border-bottom: 4px solid var(--olive);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  scroll-margin-top: calc(var(--header-h) + 26px);
}
.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px -18px rgba(10, 37, 64, 0.34);
}
.dept-card__media {
  height: 150px;
  overflow: hidden;
  background-color: var(--brown);
  background-size: cover;
  background-position: center;
}
.dept-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dept-card__body {
  padding: 20px 18px 22px;
}
.dept-card h3 {
  margin: 0 0 7px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brown);
}
.dept-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--brown-soft);
}
.support-band {
  padding: clamp(52px, 6vw, 82px) 0;
  background: var(--sand-pale);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1100px, 90%);
  margin-inline: auto;
}
.support {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 8px;
  background: #fff;
}
.support__icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(29, 78, 216, 0.12);
  color: var(--olive);
}
.support__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.support h3 {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
}
.support p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--brown-soft);
}

/* ---------- Portals ---------- */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: min(1080px, 88%);
  margin-inline: auto;
}
.portal-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.portal-card:nth-child(2) {
  border-top-color: var(--orange);
}
.portal-card:nth-child(3) {
  border-top-color: var(--olive);
}
.portal-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--red);
}
.portal-card:nth-child(2) .portal-card__icon {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}
.portal-card:nth-child(3) .portal-card__icon {
  background: rgba(29, 78, 216, 0.12);
  color: var(--olive);
}
.portal-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.portal-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--brown);
}
.portal-card p {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--brown-soft);
}
.portal-card .btn {
  align-self: flex-start;
  margin-top: auto;
  font-size: 12px;
  padding: 0.72em 1.25em;
}
.gov-section {
  padding: clamp(50px, 6vw, 80px) 0;
  background: var(--sand-pale);
}
.gov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(1080px, 88%);
  margin-inline: auto;
}
.gov-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(10, 37, 64, 0.12);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
}
.gov-card:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  color: var(--red);
}
.gov-card span {
  font-size: 18px;
  color: var(--orange);
}
.portal-help {
  padding: clamp(44px, 5vw, 68px) 0;
  background: var(--brown);
  color: var(--sand);
}
.portal-help__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1080px, 88%);
  margin-inline: auto;
}
.portal-help h2 {
  margin: 0 0 6px;
  color: #fff;
}
.portal-help p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] {
  display: none;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 33, 0.72);
  backdrop-filter: blur(3px);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}
.modal__dialog h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--brown);
}
.modal__dialog .sub {
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--red);
}
.modal__dialog p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--brown-soft);
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--sand-pale);
  color: var(--brown);
  cursor: pointer;
}
.modal__close:hover {
  background: var(--orange);
  color: #fff;
}
.modal__close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- Careers ---------- */
.vacancy-section {
  padding: clamp(52px, 6vw, 84px) 0;
}
.vacancy-list {
  display: grid;
  gap: 16px;
  width: min(960px, 90%);
  margin-inline: auto;
}
.vacancy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 30px;
  border-left: 6px solid var(--red);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.vacancy:nth-child(2) {
  border-left-color: var(--orange);
}
.vacancy h3 {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--brown);
}
.vacancy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--brown-soft);
}
.vacancy__side {
  flex: 0 0 auto;
  text-align: right;
}
.deadline {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--sand-pale);
  color: var(--red);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.vacancy__side .btn {
  font-size: 11.5px;
  padding: 0.65em 1.1em;
}
.internship-band {
  background: var(--olive-deep);
  color: rgba(255, 255, 255, 0.88);
}
.internship-band .split__media {
  min-height: 430px;
}
.internship-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 3px;
  color: var(--amber);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ---------- News page ---------- */
.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(1160px, 90%);
  margin-inline: auto;
}
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 6px solid var(--orange);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.news-card:nth-child(2) {
  border-top-color: var(--red);
}
.news-card:nth-child(3) {
  border-top-color: var(--olive);
}
.news-card__media {
  height: 180px;
  background-color: var(--brown);
  background-size: cover;
  background-position: center;
}
.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
.news-card time {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
}
.news-card h2,
.news-card h3 {
  margin: 7px 0 10px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--brown);
}
.news-card p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--brown-soft);
}
.news-card a {
  margin-top: auto;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
}
.news-card a:hover {
  color: var(--orange);
}

/* ---------- Contact map ---------- */
.map-band {
  padding: clamp(50px, 6vw, 80px) 0;
  background: var(--sand-pale);
}
.map-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  width: min(1080px, 88%);
  margin-inline: auto;
  align-items: stretch;
}
.map-card {
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: 8px;
  background: var(--brown);
  color: var(--sand);
}
.map-card .kicker {
  color: var(--orange);
}
.map-card h2 {
  margin: 0 0 12px;
  color: #fff;
}
.map-card p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
}
.map-card .btn {
  margin-top: 8px;
}
.map-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(rgba(10, 37, 64, 0.25), rgba(10, 37, 64, 0.55)),
    var(--map-image, linear-gradient(135deg, #0a2540 0%, #1f6f54 100%)) center / cover;
}
.map-pin {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.map-pin svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ---------- Footer quick action icons ---------- */
.footer-social svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Site responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul {
    gap: 12px;
  }
  .main-nav a {
    font-size: 13px;
  }
  .brand__text strong {
    font-size: 15.5px;
  }
  .brand__text small {
    font-size: 7.5px;
    letter-spacing: 1.3px;
  }
  .dept-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
  }
  .brand__mark {
    width: 40px;
    height: 40px;
  }
  .brand__text strong {
    font-size: 15px;
  }
  .brand__text small {
    font-size: 7px;
  }
  .hero--split .hero__inner {
    grid-template-columns: 1fr;
    width: min(640px, 88%);
  }
  .hero--split h1 {
    font-size: clamp(32px, 6vw, 44px);
  }
  .hero--split .hero__copy {
    text-align: center;
  }
  .hero--split .hero__copy p {
    margin-inline: auto;
  }
  .hero--split .btn-row {
    justify-content: center;
  }
  .hero-card {
    text-align: left;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(10, 37, 64, 0.12);
  }
  .home-intro__grid,
  .news-strip__grid,
  .policy-grid,
  .people-grid,
  .process-grid,
  .fee-grid,
  .portal-grid,
  .support-grid,
  .news-cards,
  .map-grid,
  .portal-help__inner {
    grid-template-columns: 1fr;
  }
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-strip__intro {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 6px solid var(--red);
  }
  .news-strip__cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gov-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portal-help__inner {
    display: grid;
    gap: 18px;
  }
  .vacancy {
    align-items: flex-start;
  }
  .charter {
    min-width: 640px;
  }
}

@media (max-width: 700px) {
  .utilbar__contacts {
    display: none;
  }
  .utilbar__inner {
    justify-content: center;
    padding: 6px 4%;
  }
  .utilbar__right {
    gap: 10px;
  }
  .utilbar__apply {
    display: none;
  }
  .utilbar__status {
    font-size: 11px;
    letter-spacing: 0.2px;
  }
  .brand__mark {
    width: 36px;
    height: 36px;
  }
  .brand__text strong {
    font-size: 13.5px;
    letter-spacing: 0.8px;
  }
  .brand__text small {
    display: none;
  }
  .hero--split {
    padding: 58px 0 54px;
  }
  .hero--split h1 {
    font-size: clamp(29px, 8vw, 36px);
  }
  .hero__copy p {
    font-size: 15.5px;
  }
  .hero-card {
    padding: 22px 18px;
  }
  .stats-band {
    padding: 18px 0;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat span {
    font-size: 10px;
  }
  .quick-cards {
    grid-template-columns: 1fr;
  }
  .news-strip__cards {
    grid-template-columns: 1fr;
  }
  .news-strip {
    padding: 46px 0;
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .policy-grid,
  .process-grid,
  .dept-grid,
  .gov-grid,
  .news-cards {
    width: 90%;
  }
  .dept-grid {
    grid-template-columns: 1fr;
  }
  .process-step {
    padding: 22px;
  }
  .vacancy {
    flex-direction: column;
    gap: 16px;
    padding: 22px;
  }
  .vacancy__side {
    text-align: left;
  }
  .portal-card {
    padding: 26px 22px;
  }
  .modal__dialog {
    padding: 26px 22px;
  }
  .contact-band .section-title,
  .apply-band .section-title {
    font-size: 26px;
  }
  .map-visual {
    min-height: 260px;
  }
  .footer-card {
    padding: 18px 12px;
  }
  .brand__mark {
    flex-basis: 36px;
  }
  .header-inner {
    gap: 8px;
  }
  .hero-card h2 {
    font-size: 13px;
    letter-spacing: 2px;
  }
}

@media (max-width: 420px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 10px 4px;
  }
  .stat strong {
    font-size: 24px;
  }
  .utilbar__status {
    font-size: 10px;
  }
  .gov-grid {
    grid-template-columns: 1fr;
  }
  .news-card__media {
    height: 160px;
  }
}

/* ---------- Home hero background ---------- */
.hero--split {
  background-color: var(--brown);
  background-image: var(--hero-image, linear-gradient(135deg, #0a2540 0%, #0d47a1 55%, #1f6f54 100%));
  background-size: cover;
  background-position: center 35%;
}

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(62px, 7vw, 100px) 0;
  overflow: hidden;
  background-color: var(--brown);
  background-image: linear-gradient(135deg, #0a2540 0%, #0d47a1 55%, #1f6f54 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 37, 64, 0.6) 0%,
    rgba(10, 37, 64, 0.88) 100%
  );
}
.page-hero__inner {
  width: min(840px, 88%);
  margin-inline: auto;
}
.page-hero .kicker {
  color: var(--orange);
}
.page-hero h1 {
  margin: 6px 0 14px;
  font-family: var(--font-head);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.page-hero p {
  margin: 0 auto;
  max-width: 700px;
  font-size: 16.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.88);
}
.crumbs {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}
.crumbs a {
  color: var(--amber);
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
}
.crumbs span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Footer quick actions ---------- */
.footer-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.footer-quick a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-decoration: none;
}
.footer-quick a:hover {
  color: var(--amber);
}
.footer-quick svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Course grid spacing ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: min(1120px, 90%);
  margin-inline: auto;
}
.course-section {
  padding: clamp(50px, 6vw, 80px) 0 clamp(30px, 4vw, 48px);
}
@media (max-width: 980px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Modal body lists ---------- */
.modal__dialog ol,
.modal__dialog ul {
  margin: 0 0 18px;
  padding-left: 20px;
}
.modal__dialog li {
  margin-bottom: 7px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--brown-soft);
}
.modal__dialog .mini-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--olive);
  background: var(--sand-pale);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--brown);
}

/* ---------- Header fit for eight links ---------- */
@media (max-width: 1360px) and (min-width: 981px) {
  .header-cta {
    padding: 0.62em 0.92em;
    font-size: 11.5px;
    letter-spacing: 1px;
    white-space: nowrap;
  }
  .main-nav ul {
    gap: 9px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .brand__text strong {
    font-size: 15px;
  }
  .brand__text small {
    font-size: 7.5px;
    letter-spacing: 1.2px;
  }
}

@media (min-width: 981px) {
  .header-inner {
    column-gap: clamp(10px, 1.2vw, 24px);
  }
}

/* ---------- Anchor/hidden helpers ---------- */
.course-card[hidden] {
  display: none;
}
.dept-card[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.news-card[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
#apply-now,
#vacancies {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- Readability fixes ---------- */
.program-card .level {
  align-self: flex-start;
}
.panel--do .meta-list strong {
  color: var(--amber);
}
.panel--do .meta-list a {
  color: #fff;
  text-decoration: underline;
}
.internship-band .split__panel {
  color: var(--brown);
}
.internship-band .split__panel h2 {
  color: var(--brown);
}
.internship-band .panel--campus .internship-tag {
  color: var(--red);
  border-color: rgba(13, 71, 161, 0.35);
  background: rgba(13, 71, 161, 0.06);
}
.message-panel .input {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.message-panel .input::placeholder {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
}

@media (max-width: 980px) {
  .utilbar__contacts .utilbar__item:last-child {
    display: none;
  }
  .news-strip__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .news-strip__cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) and (min-width: 981px) {
  .brand__text small {
    display: none;
  }
  .brand__text strong {
    font-size: 14px;
  }
  .main-nav ul {
    gap: 8px;
  }
  .main-nav a {
    font-size: 11.5px;
  }
}

/* ---------- Navigation dropdowns ---------- */
.main-nav > ul > li {
  position: relative;
}
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: inherit;
  color: var(--brown);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-parent:hover,
.nav-parent[aria-expanded="true"] {
  color: var(--red);
}
.nav-caret {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}
.has-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
}
.nav-item.is-active > .nav-parent {
  position: relative;
  color: var(--red);
}
.nav-item.is-active > .nav-parent::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--amber);
}
.nav-parent {
  white-space: nowrap;
}
.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 40;
  display: block;
  width: max-content;
  min-width: 264px;
  max-width: 322px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid #dfe9f5;
  border-radius: 12px;
  box-shadow: 0 26px 55px -20px rgba(10, 37, 64, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.main-nav .dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
}
.main-nav .dropdown a {
  display: block;
  padding: 10px 12px;
  border-bottom: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}
.main-nav .dropdown a strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brown);
}
.main-nav .dropdown a span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.5;
  color: #64748b;
}
.main-nav .dropdown a:hover,
.main-nav .dropdown a:focus-visible {
  background: var(--sand-pale);
}
.main-nav .dropdown a:hover strong,
.main-nav .dropdown a:focus-visible strong,
.main-nav .dropdown a[aria-current="page"] strong {
  color: var(--red);
}
.main-nav .dropdown a[aria-current="page"] {
  background: var(--sand-pale);
}

@media (min-width: 981px) {
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown,
  .has-dropdown.is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 980px) {
  .main-nav > ul > li {
    border-bottom: 1px solid #eaf1f9;
  }
  .main-nav > ul > li:last-child {
    border-bottom: 0;
  }
  .nav-parent {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 13px 0;
    font-size: 16px;
    text-align: left;
  }
  .nav-item.is-active > .nav-parent::after {
    display: none;
  }
  .main-nav .dropdown {
    position: static;
    display: none;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0 0 10px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .main-nav .dropdown::before {
    display: none;
  }
  .has-dropdown.is-open > .dropdown {
    display: block;
  }
  .main-nav .dropdown a {
    padding: 10px 0;
    border-bottom: 1px solid #eaf1f9;
    border-radius: 0;
    font-size: 15px;
  }
  .main-nav .dropdown li:last-child a {
    border-bottom: 0;
  }
  .main-nav .dropdown a strong {
    font-size: 15px;
    font-weight: 500;
  }
  .main-nav .dropdown a span {
    display: none;
  }
  .main-nav .dropdown a[aria-current="page"] {
    background: transparent;
  }
}

/* ---------- Home carousel ---------- */
.campus-carousel {
  padding: clamp(54px, 6.5vw, 92px) 0;
  background: #fff;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--brown);
  box-shadow: 0 30px 60px -34px rgba(10, 37, 64, 0.6);
}
.carousel__viewport {
  overflow: hidden;
}
.carousel__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.6s var(--ease);
}
.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  height: clamp(290px, 40vw, 460px);
}
.carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 52px clamp(22px, 4vw, 46px) clamp(24px, 3.4vw, 38px);
  background: linear-gradient(180deg, rgba(10, 37, 64, 0) 0%, rgba(10, 37, 64, 0.86) 100%);
  color: #fff;
}
.carousel__caption span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
}
.carousel__caption h3 {
  margin: 6px 0 0;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.35;
  color: #fff;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.45);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, border-color 0.2s;
}
.carousel__btn:hover,
.carousel__btn:focus-visible {
  background: var(--red);
  border-color: var(--red);
}
.carousel__btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel__btn--prev {
  left: 18px;
}
.carousel__btn--next {
  right: 18px;
}
.carousel__controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(8px);
}
.carousel__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s;
}
.carousel__dots button[aria-selected="true"] {
  width: 24px;
  background: var(--amber);
}
.carousel__pause {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.carousel__pause svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.carousel__pause .icon-play {
  display: none;
}
.carousel__pause[data-paused="true"] .icon-pause {
  display: none;
}
.carousel__pause[data-paused="true"] .icon-play {
  display: block;
}
.carousel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}
.carousel__foot .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
}
.carousel__foot .link-arrow:hover {
  color: #b45309;
}

/* ---------- Gallery ---------- */
.gallery-band {
  padding: clamp(52px, 6vw, 84px) 0 clamp(44px, 5vw, 70px);
  background: #fff;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 30px;
}
.gallery-filter {
  padding: 9px 18px;
  border: 1px solid #dfe9f5;
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gallery-filter:hover {
  border-color: var(--red);
  color: var(--red);
}
.gallery-filter.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1160px, 90%);
  margin-inline: auto;
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--brown);
  cursor: zoom-in;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}
.gallery-item__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 18px 16px;
  text-align: left;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0) 0%, rgba(10, 37, 64, 0.86) 100%);
  color: #fff;
}
.gallery-item__cap > span:first-child {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--amber);
}
.gallery-item__title {
  display: block;
  margin-top: 3px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}
.gallery-item[hidden] {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(4, 16, 30, 0.94);
}
.lightbox[hidden] {
  display: none;
}
.lightbox__figure {
  margin: 0;
  max-width: min(1040px, 92vw);
  text-align: center;
}
.lightbox__figure img {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  margin-inline: auto;
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.lightbox__cap {
  margin-top: 16px;
  color: #fff;
}
.lightbox__cap span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--amber);
}
.lightbox__cap strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--red);
  border-color: var(--red);
}
.lightbox__close {
  top: 20px;
  right: 20px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav--prev {
  left: 20px;
}
.lightbox__nav--next {
  right: 20px;
}
.lightbox svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Library extras ---------- */
.library-hours {
  background: var(--sand-pale);
}
.resource-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1100px, 90%);
  margin-inline: auto;
}
.resource-link {
  display: block;
  padding: 24px;
  border: 1px solid rgba(10, 37, 64, 0.12);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.resource-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -24px rgba(10, 37, 64, 0.4);
}
.resource-link span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b45309;
}
.resource-link h3 {
  margin: 6px 0 6px;
  font-size: 17px;
  color: var(--brown);
}
.resource-link p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--brown-soft);
}

/* ---------- Alumni quote ---------- */
.testimonial-band {
  padding: clamp(54px, 6vw, 88px) 0;
  background: linear-gradient(135deg, var(--brown) 0%, var(--red) 100%);
  color: #fff;
  text-align: center;
}
.testimonial-band .wrap {
  width: min(1120px, 90%);
}
.testimonial-band__head {
  max-width: 640px;
  margin: 0 auto 34px;
}
.testimonial-band__head .kicker {
  color: var(--amber);
}
.testimonial-band__head h2 {
  margin: 8px 0 10px;
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 400;
  color: #fff;
}
.testimonial-band__head p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}
.testimonial-card {
  padding: 0 22px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}
.testimonial-card__avatar {
  display: block;
  width: calc(100% + 44px);
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 -22px 18px;
  border: 0;
  border-radius: 15px 15px 0 0;
  background: rgba(255, 255, 255, 0.08);
  object-fit: cover;
  object-position: center top;
}
.testimonial-band blockquote {
  margin: 0 auto 20px;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}
.testimonial-band blockquote::before {
  content: "\201C";
  display: block;
  margin-bottom: 4px;
  font-size: 54px;
  line-height: 0.6;
  color: var(--amber);
}
.testimonial-band .who {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--amber);
}
.testimonial-band .who span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.75);
}
.testimonial-band .testimonial-card blockquote {
  margin: 0 auto 18px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.8;
  color: #fff;
}
.testimonial-band .testimonial-card blockquote::before {
  margin-bottom: 6px;
  font-size: 34px;
}

/* ---------- Responsive: new components ---------- */
@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .resource-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .carousel__btn {
    width: 40px;
    height: 40px;
  }
  .carousel__btn--prev {
    left: 12px;
  }
  .carousel__btn--next {
    right: 12px;
  }
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .resource-links {
    grid-template-columns: 1fr;
  }
  .carousel__slide {
    height: 300px;
  }
  .carousel__caption {
    padding: 40px 18px 22px;
  }
  .carousel__controls {
    top: 12px;
    right: 12px;
  }
  .carousel__foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .lightbox__nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }
  .lightbox__nav--prev {
    left: calc(50% - 58px);
  }
  .lightbox__nav--next {
    right: calc(50% - 58px);
  }
  .lightbox__cap {
    padding-bottom: 44px;
  }
}

/* ---------- New anchor offsets ---------- */
#mission,
#leadership,
#service-charter,
#support,
#fees,
#sports,
#hostel,
#join,
#resources,
#gallery-title {
  scroll-margin-top: calc(var(--header-h) + 28px);
}

/* ---------- Carousel touch behaviour ---------- */
.carousel__viewport {
  touch-action: pan-y;
}

/* ---------- Home hero slider ---------- */
.hero--slider {
  background-image: none;
  padding-bottom: clamp(110px, 11vw, 160px);
}
.hero--slider::before {
  background: linear-gradient(
    90deg,
    rgba(10, 37, 64, 0.92) 0%,
    rgba(10, 37, 64, 0.74) 52%,
    rgba(10, 37, 64, 0.48) 100%
  );
}
.hero-slider__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--brown);
  overflow: hidden;
}
.hero-slider__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 1.4s ease;
}
.hero-slider__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero--slider .hero__inner {
  position: relative;
  z-index: 1;
}
.hero--slider .hero__copy {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.hero--slider .hero__copy.is-fading {
  opacity: 0;
  transform: translateY(8px);
}
.hero--slider .hero-card {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.hero--slider .hero-card.is-fading {
  opacity: 0;
  transform: translateY(8px);
}
.hero-card__item.is-hidden {
  display: none;
}
.hero-slider__controls {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}
.hero-slider__nav {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.4);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.hero-slider__nav:hover,
.hero-slider__nav:focus-visible {
  background: rgba(10, 37, 64, 0.8);
  border-color: var(--amber);
}
.hero-slider__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-slider__pause svg {
  fill: currentColor;
  stroke: none;
}
.hero-slider__pause[data-paused="false"] .icon-play,
.hero-slider__pause[data-paused="true"] .icon-pause {
  display: none;
}
.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(10, 37, 64, 0.4);
}
.hero-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.hero-slider__dot[aria-selected="true"] {
  width: 22px;
  background: var(--amber);
}
.hero-slider__dot:focus-visible,
.hero-slider__nav:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero--slider {
    padding-bottom: clamp(96px, 13vw, 140px);
  }
  .hero--slider::before {
    background: linear-gradient(
      180deg,
      rgba(10, 37, 64, 0.68) 0%,
      rgba(10, 37, 64, 0.86) 100%
    );
  }
  .hero-slider__controls {
    bottom: 18px;
  }
}

@media (max-width: 700px) {
  .hero-slider__nav {
    display: none;
  }
  .hero-slider__pause {
    display: grid;
  }
  .hero-slider__controls {
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide,
  .hero--slider .hero__copy,
  .hero--slider .hero-card {
    transition: none;
  }
}

/* ---------- Testimonial cards responsive ---------- */
@media (max-width: 1100px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 0 18px 22px;
  }
  .testimonial-card__avatar {
    width: calc(100% + 36px);
    margin: 0 -18px 16px;
  }
}

/* ---------- Downloads page ---------- */
.downloads-band {
  background: #f7fafd;
}
.downloads-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(780px, 92%);
  margin: 0 auto 26px;
}
.downloads-summary__item {
  padding: 16px 18px;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.downloads-summary__value {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--olive);
}
.downloads-summary__label {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.downloads-filters {
  margin-bottom: 10px;
}
.downloads-filters .btn {
  flex: 0 0 auto;
  padding: 0.68em 1.4em;
  font-size: 13px;
}
.downloads-filters__clear {
  align-self: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
}
.downloads-filters__clear:hover {
  color: var(--orange);
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1160px, 92%);
  margin-inline: auto;
}
.download-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-top: 5px solid var(--orange);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px -26px rgba(10, 37, 64, 0.38);
}
.download-card:nth-child(3n + 2) {
  border-top-color: var(--red);
}
.download-card:nth-child(3n + 3) {
  border-top-color: var(--olive);
}
.download-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.download-card__type {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--sand-pale);
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.9px;
}
.download-card__category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--red);
  text-align: right;
}
.download-card h3 {
  margin: 14px 0 8px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brown);
}
.download-card p {
  flex: 1;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--brown-soft);
}
.download-card__muted {
  font-style: italic;
  opacity: 0.8;
}
.download-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(10, 37, 64, 0.16);
}
.download-card__meta dt {
  margin: 0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.download-card__meta dd {
  margin: 2px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brown);
}
.download-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: auto;
}
.download-card__actions .btn {
  padding: 0.6em 1.15em;
  font-size: 12px;
}
.download-card__download {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
}
.download-card__download:hover {
  color: var(--orange);
}
.download-grid__empty {
  grid-column: 1 / -1;
}
.downloads-help {
  background: var(--sand-pale);
}
.downloads-help__body {
  width: min(820px, 92%);
  margin-inline: auto;
  color: var(--brown-soft);
}
.downloads-help__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}
.downloads-help__body a {
  color: var(--red);
  font-weight: 600;
}

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

@media (max-width: 700px) {
  .downloads-summary {
    grid-template-columns: 1fr;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .downloads-filters .btn,
  .downloads-filters__clear {
    width: 100%;
    text-align: center;
  }
}
