/* ============================================================
   MDC Landing Page Styles
   Navy Blue + Gold brand palette
============================================================ */

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* MDC Brand Color System — Royal Blue + Gold + Red (from logo) */
  --blue:        #1B4FB0;   /* Royal Blue — primary (matches logo) */
  --blue-dark:   #163E8A;   /* Royal Blue — darker (hover) */
  --blue-deeper: #11357A;   /* Royal Blue — deeper */
  --blue-light:  #E8EEF7;   /* Royal Blue — 100 tint */
  --blue-light2: #B8CAE8;   /* Royal Blue — 200 tint */
  --navy:        #0A1F4C;   /* Deep Navy — backgrounds only */
  --navy-mid:    #11357A;   /* Navy Mid — gradient transitions */

  --amber:       #FFD700;   /* Brand Gold (matches logo) — small accents */
  --amber-dark:  #D4A017;   /* Antique Gold — larger fills, gradients */
  --amber-light: #FFF4CC;   /* Pale Gold — soft tints */

  --red:         #E11D2A;   /* Brand Red (matches logo) — school spirit accent */
  --red-dark:    #B81620;   /* Brand Red — darker (hover) */
  --green:       #1fa822;   /* Success Green */

  --gray-100:    #edf0f5;   /* Cool Gray 100 — bg */
  --gray-200:    #d5dae6;   /* Cool Gray 200 — border */
  --gray-300:    #bcc4d6;   /* Cool Gray 300 */
  --gray-400:    #a2aec5;   /* Cool Gray 400 */
  --gray-500:    #6878a0;   /* Cool Gray 500 — muted text */
  --gray-700:    #3f4a64;   /* Cool Gray 700 */
  --gray-800:    #2b3346;   /* Cool Gray 800 */
  --gray-900:    #1c2232;   /* Cool Gray 900 — primary text */

  --white:       #ffffff;

  --shadow-sm:   0 2px 8px rgba(27,79,176,.07);
  --shadow-md:   0 8px 32px rgba(27,79,176,.12);
  --shadow-lg:   0 20px 60px rgba(10,31,76,.22);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   UTILITY
============================================================ */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { background: #edf0f5; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,.25); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); font-weight: 700; }
.btn-white:hover { background: var(--blue-light); color: var(--blue-deeper); }

.btn-outline-blue { background: transparent; color: var(--blue); border: 2px solid var(--blue-light2); }
.btn-outline-blue:hover { background: var(--blue-light); border-color: var(--blue); }

.btn-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  color: var(--white);
  box-shadow:
    0 4px 14px rgba(27,79,176,.28),
    inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-blue:hover {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deeper) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(27,79,176,.42),
    0 0 0 1px rgba(255,215,0,.18),
    inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-blue svg { transition: transform .25s ease; }
.btn-blue:hover svg { transform: translateX(4px); }

/* Size & layout modifiers */
.btn--lg    { padding: 15px 30px; }
.btn--block { width: 100%; justify-content: center; padding: 16px 28px; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .12s ease, padding .25s ease, box-shadow .2s ease;
}
@media (max-width: 1024px) {
  .navbar { transition: background .08s ease, padding .2s ease, box-shadow .15s ease; }
}
.navbar.scrolled,
.navbar.navbar--force-solid {
  background: rgba(10,31,76,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,.28);
}
/* Drop-in gap for pages with no hero/page-banner as their first section —
   the navbar is fixed and takes no space in flow, so whatever comes first
   needs this to avoid sitting behind it. Heights match the solid navbar's
   actual rendered height (logo-icon + its 14px vertical padding) at each
   breakpoint — see the .logo-icon size drop at 680px below. */
.nav-spacer { height: 70px; }
@media (max-width: 680px) {
  .nav-spacer { height: 65px; }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 900; font-size: 17px;
  color: var(--navy);
  flex-shrink: 0;
  letter-spacing: -.5px;
}
.logo-text { line-height: 1.15; }
.logo-text strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: var(--white); }
.logo-text span   { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--amber); }
.nav-link-dropdown { display: inline-flex !important; align-items: center; gap: 5px; }
.nav-link-dropdown svg { transition: transform .25s ease; opacity: .75; }
.has-dropdown:hover .nav-link-dropdown svg { transform: rotate(180deg); opacity: 1; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(10,31,76,.18), 0 6px 16px rgba(10,31,76,.06), 0 0 0 1px rgba(10,31,76,.04);
  padding: 10px;
  min-width: 280px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .3s cubic-bezier(.4,0,.2,1), visibility .25s ease;
  border: none;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 3px 0 0 0;
  box-shadow: -2px -2px 6px rgba(10,31,76,.04);
}
.dropdown::after {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Dropdown items — plain text links */
.dropdown a {
  display: block !important;
  padding: 10px 14px !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--navy) !important;
  border-radius: 10px;
  background: transparent !important;
  transition: background .2s ease, color .2s ease, padding-left .25s ease;
}
.dropdown a + a { margin-top: 2px; }
.dropdown a:hover {
  background: linear-gradient(135deg, rgba(27,79,176,.06) 0%, rgba(27,79,176,.02) 100%) !important;
  color: var(--blue) !important;
  padding-left: 18px !important;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-apply {
  background: var(--white); color: var(--navy);
  padding: 10px 22px; border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px;
  transition: var(--transition);
}
.btn-apply:hover { background: #edf0f5; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,255,255,.2); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 32px; padding: 4px; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 2; width: 100%; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/site/images/mdc/2.webp');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom .7s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,31,76,.85) 0%,
    rgba(27,79,176,.55) 55%,
    rgba(10,31,76,.75) 100%
  );
}
.hero-overlay-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 88%, rgba(255,215,0,.12) 0%, transparent 34%),
    radial-gradient(circle at 88% 84%, rgba(200,30,42,.14) 0%, transparent 48%),
    radial-gradient(circle at 82% 18%, rgba(27,79,176,.18) 0%, transparent 52%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 140px 0 180px;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,215,0,.14);
  border: 1px solid rgba(255,215,0,.35);
  color: var(--amber);
  padding: 7px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp .7s .2s forwards;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800; color: var(--white);
  line-height: 1.08; margin-bottom: 24px;
  max-width: 18ch;
  letter-spacing: -.015em;
  opacity: 0; animation: fadeUp .7s .4s forwards;
}
.hero h1 span { color: var(--amber); }
.hero p {
  font-size: 18px; color: rgba(255,255,255,.78);
  max-width: 540px; line-height: 1.75; margin-bottom: 40px;
  opacity: 0; animation: fadeUp .7s .6s forwards;
}
.hero-cta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .7s .8s forwards;
}
.hero-scroll {
  position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  z-index: 2;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

.hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: rgba(10,31,76,.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.hero-stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.hero-stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.18);
  position: relative;
}
.hero-stat:last-child { border-right: none; }
.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%; right: -3px;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255,215,0,.6);
}
.hero-stat-num { font-family: 'Poppins', sans-serif; font-size: clamp(26px,3vw,38px); font-weight: 800; color: var(--amber); line-height: 1; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ============================================================
   PROGRAMS
============================================================ */
.programs { padding: 100px 0; background: var(--gray-100); }
.programs-header { margin-bottom: 56px; max-width: 720px; }
.programs-header .section-title { max-width: 16ch; }
.programs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  opacity: 0; transform: translateY(32px);
}
.program-card.visible { opacity: 1; transform: none; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.program-img { position: relative; height: 260px; overflow: hidden; }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.program-card:hover .program-img img { transform: scale(1.07); }
.program-body { padding: 24px; }
.program-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.program-body p  { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; line-height: 1.65; }
.program-courses { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.course-tag { font-size: 11px; font-weight: 600; color: var(--blue); background: var(--blue-light); padding: 4px 10px; border-radius: 6px; }
.program-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue); transition: var(--transition);
}
.program-link:hover { gap: 10px; }

/* ============================================================
   OUR STORY — centered editorial layout
============================================================ */
.our-story {
  padding: 120px 0;
  background: #F3F6FB;
  position: relative;
  overflow: hidden;
}
.our-story::before {
  content: '';
  position: absolute; top: 60px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 600px;
  background: radial-gradient(ellipse at center top, var(--blue-light) 0%, transparent 60%);
  opacity: .55;
  pointer-events: none;
}
.our-story-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.our-story-inner .section-label { justify-content: center; }
.our-story-inner .section-label::before { display: none; }
.our-story-inner .section-title {
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
  margin-bottom: 20px;
}
.our-story-lead {
  font-size: 18px; color: var(--gray-700);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 56px;
}
.our-story-seal {
  display: inline-flex;
  flex-direction: column; align-items: center;
  gap: 2px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--blue-deeper);
  padding: 14px 28px;
  border-radius: 100px;
  margin-bottom: 32px;
  box-shadow: 0 10px 28px rgba(212,160,23,.30);
}
.our-story-seal-year {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 800;
  line-height: 1; letter-spacing: -.02em;
}
.our-story-seal-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.our-story-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.story-pillar {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 10px;
  padding: 32px 24px;
  border-right: 1px solid var(--gray-200);
  transition: var(--transition);
}
.story-pillar:last-child { border-right: none; }
.story-pillar:hover { background: rgba(255,255,255,.6); }
.story-pillar-num {
  font-family: 'Poppins', sans-serif;
  font-size: 38px; font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -.03em;
}
.story-pillar-label {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
  max-width: 26ch;
}
.our-story-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.our-story-banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(.4,0,.2,1);
}
.our-story-banner:hover .our-story-banner-img {
  transform: scale(1.03);
}
.our-story-banner-caption {
  margin-top: 14px;
  margin-bottom: 40px;
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: .02em;
  font-style: italic;
}

.our-story-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--blue-deeper);
  position: relative; padding-bottom: 5px;
  letter-spacing: -.005em;
  transition: color .25s ease;
}
.our-story-link::after {
  content: ''; position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(.4); transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}
.our-story-link svg { transition: transform .3s ease; }
.our-story-link:hover::after { transform: scaleX(1); }
.our-story-link:hover { color: var(--amber-dark); }
.our-story-link:hover svg { transform: translateX(5px); }

/* ============================================================
   WHY CHOOSE US
============================================================ */
.why-us { padding: 100px 0; background: var(--white); }
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.why-us-img-wrap { position: relative; }
.why-main-img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.why-float-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--gray-200);
}
.why-float-1 { bottom: -30px; right: -30px; }
.why-float-2 { top: -24px; left: -24px; }
.float-icon {
  width: 48px; height: 48px;
  border-radius: 10px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-icon--amber { background: #fff5cc; }
.float-text strong { display: block; font-size: 22px; font-weight: 800; color: var(--navy); font-family: 'Poppins', sans-serif; line-height: 1; }
.float-text span   { font-size: 12px; color: var(--gray-500); }

.why-features {
  display: flex; flex-direction: column;
  margin-top: 36px;
}
.feature-item {
  display: flex; gap: 22px;
  align-items: flex-start;
  padding: 22px 4px;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}
.feature-item::before {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: linear-gradient(to right, var(--blue), transparent);
  transition: width .5s cubic-bezier(.4,0,.2,1);
}
.feature-item:last-child { border-bottom: none; }
.feature-item:hover { padding-left: 10px; }
.feature-item:hover::before { width: 100%; }
.feature-num {
  font-family: 'Poppins', sans-serif;
  font-size: 42px; font-weight: 800;
  line-height: .95;
  color: var(--blue);
  opacity: .42;
  letter-spacing: -.04em;
  flex-shrink: 0;
  min-width: 60px;
  transition: var(--transition);
  font-feature-settings: "tnum" 1;
}
.feature-item:hover .feature-num {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 1;
}
.feature-text { padding-top: 6px; }
.feature-text h4 {
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
  transition: var(--transition);
}
.feature-item:hover .feature-text h4 { color: var(--blue-deeper); }
.feature-text p  { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ============================================================
   CAMPUS LIFE
============================================================ */
.campus-life { padding: 100px 0; background: var(--navy); }
.campus-life .section-label { color: var(--amber); }
.campus-life .section-title { color: var(--white); }
.campus-life .section-sub   { color: rgba(255,255,255,.55); }
.campus-life-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px;
}
.campus-life-cta {
  display: flex; justify-content: center;
  margin-top: 48px;
}

/* Subtle amber section cap — softens jarring background transitions */
.has-amber-cap { position: relative; }
.has-amber-cap::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(60%, 560px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  pointer-events: none;
  z-index: 2;
  opacity: .65;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-template-rows: repeat(4, 190px);
  gap: 16px;
  margin-top: 48px;
}
.gallery-item { display: block; overflow: hidden; border-radius: var(--radius); position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.gallery-item:hover img { transform: scale(1.06); }

/* Orientation-aware grid (JS-placed): tiles start hidden + skeletoned, then fade in once
   each image is measured and slotted. Scoped to --auto so the static fallback is unaffected. */
.gallery-grid--auto .gallery-item img { opacity: 0; transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .5s ease; }
.gallery-grid--auto .gallery-item.is-ready img { opacity: 1; }
.gallery-item.is-loading { background: #e8edf5; }
.gallery-item.is-loading::before { opacity: 0; }
.gallery-item.is-loading::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-100%);
  animation: galleryShimmer 1.3s ease-in-out infinite;
}
@keyframes galleryShimmer { 100% { transform: translateX(100%); } }

/* Persistent gradient for caption legibility */
.gallery-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(17,53,122,.80) 0%,
    rgba(17,53,122,.20) 38%,
    transparent 58%);
  z-index: 1;
  transition: var(--transition);
  pointer-events: none;
}
.gallery-item:hover::before {
  background: linear-gradient(to top,
    rgba(17,53,122,.88) 0%,
    rgba(17,53,122,.40) 48%,
    transparent 68%);
}

/* Caption */
.gallery-caption {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  z-index: 2;
  transform: translateY(3px);
  transition: var(--transition);
  pointer-events: none;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

.gallery-caption-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px; font-weight: 700;
  color: var(--amber);
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 6px;
}
.gallery-caption-eyebrow::before {
  content: ''; width: 14px; height: 2px;
  background: var(--amber); border-radius: 1px;
}
.gallery-caption-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -.005em;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}

/* Mosaic slot map (12-col × 4-row grid):
   ┌──────────┬─────┬─────┐
   │          │ g2  │ g3  │   g1  = feature  (square-ish, landscape)
   │    g1    ├─────┼─────┤   g2–g5 = wide landscape tiles
   │          │ g4  │ g5  │   g6,g7 = tall PORTRAIT towers
   ├────┬────┬┴─────┴─────┤   g8  = big landscape
   │ g6 │ g7 │    g8       │
   └────┴────┴─────────────┘ */
.g1 { grid-column: 1/6;  grid-row: 1/3; }
.g2 { grid-column: 6/9;  grid-row: 1/2; }
.g3 { grid-column: 9/13; grid-row: 1/2; }
.g4 { grid-column: 6/9;  grid-row: 2/3; }
.g5 { grid-column: 9/13; grid-row: 2/3; }
.g6 { grid-column: 1/4;  grid-row: 3/5; }
.g7 { grid-column: 4/7;  grid-row: 3/5; }
.g8 { grid-column: 7/13; grid-row: 3/5; }

/* Featured + big tiles — bigger caption */
.g1 .gallery-caption,
.g8 .gallery-caption { left: 24px; right: 24px; bottom: 22px; }

/* ============================================================
   ACCREDITATION BAND
============================================================ */
.accred-band {
  padding: 64px 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255,215,0,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(17,53,122,.55) 0%, transparent 60%),
    linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}
.accred-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.accred-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}
.accred-text { max-width: 620px; }
.accred-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.accred-eyebrow::before,
.accred-eyebrow::after {
  content: '';
  width: 28px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
  opacity: .7;
}
.accred-text h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.accred-text p {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
}

.accred-logos {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}
.accred-logo {  
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  min-width: 160px;
  box-shadow:
    0 10px 30px rgba(15,25,55,.22),
    inset 0 1px 0 rgba(255,255,255,.6);
  transition: var(--transition);
}
.accred-logo:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(15,25,55,.30),
    inset 0 1px 0 rgba(255,255,255,.6);
}
.accred-seal {
  width: 44px; height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.accred-info { display: flex; flex-direction: column; line-height: 1.2; text-align: start; }
.accred-info strong {
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}
.accred-info span {
  font-size: 11px; font-weight: 500;
  color: var(--gray-500);
  margin-top: 3px;
  letter-spacing: .02em;
}

/* ============================================================
   NEWS
============================================================ */
.news { padding: 90px 0; background: var(--gray-100); }
.news-header .btn { flex-shrink: 0; }

/* News grid count modifiers — adapts to how many DB items exist */
.news-grid.news-grid--2 { grid-template-columns: 1fr 1fr; }
.news-grid.news-grid--1 {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-inline: auto;
}

.news-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 20px; flex-wrap: wrap;
}
.news-footer { display: none; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.news-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: var(--transition); opacity: 0; transform: translateY(24px);
}
.news-card.visible { opacity: 1; transform: none; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-img { display: block; overflow: hidden; height: 210px; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.news-category { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-date { white-space: nowrap; }
.news-category {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--blue); background: var(--blue-light); padding: 3px 9px; border-radius: 5px;
}
.news-category--red { color: var(--red); background: rgba(225,29,42,.10); }
.news-category--gold { color: var(--amber-dark); background: var(--amber-light); }
.news-date { font-size: 12px; color: var(--gray-500); }
.news-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.news-body h3 a { color: inherit; transition: color .25s ease; }
.news-body h3 a:hover { color: var(--blue); }
.news-body p  { font-size: 14px; color: var(--gray-500); line-height: 1.65; margin-bottom: auto; }
.news-read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--blue-deeper);
  margin-top: 20px;
  letter-spacing: -.005em;
  position: relative;
  padding-bottom: 5px;
  transition: color .25s ease;
}
.news-read-more::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}
.news-read-more svg {
  transition: transform .3s ease;
}
.news-read-more:hover { color: var(--blue-deeper); }
.news-read-more:hover::after { transform: scaleX(1); }
.news-read-more:hover svg { transform: translateX(5px); }
.news-read-more { margin-top: 18px; }

/* ============================================================
   ADMISSIONS
============================================================ */
.admissions { padding: 110px 0; background: var(--white); position: relative; overflow: hidden; }
.admissions::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,79,176,.05) 0%, transparent 70%);
  border-radius: 50%;
}
.admissions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.admission-steps { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.step {
  display: flex; gap: 22px;
  padding-bottom: 36px; position: relative;
  transition: var(--transition);
}
.step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 23px; top: 48px; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--blue-light2) 0%, var(--gray-200) 100%);
  border-radius: 2px;
}
.step-num {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 800;
  flex-shrink: 0; position: relative; z-index: 1;
  letter-spacing: -.01em;
  box-shadow: 0 6px 16px rgba(27,79,176,.25);
  transition: var(--transition);
}
.step:hover { transform: translateX(4px); }
.step:hover .step-num { box-shadow: 0 10px 24px rgba(27,79,176,.40); }
.step-content h4 {
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
  margin-top: 11px;
  transition: var(--transition);
}
.step:hover .step-content h4 { color: var(--blue-deeper); }
.step-content p  { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

.admissions-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 60%, var(--blue) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  color: var(--white);
  position: sticky; top: 100px;
  overflow: hidden;
}
.admissions-cta-box::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,215,0,.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.admissions-cta-box::after {
  content: '';
  position: absolute; bottom: -120px; left: -120px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(27,79,176,.25) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-box-content { position: relative; z-index: 1; }
.cta-box-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,215,0,.14);
  border: 1px solid rgba(255,215,0,.3);
  color: var(--amber);
  padding: 6px 14px; border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.cta-box-eyebrow svg { width: 12px; height: 12px; }

.cta-box-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.cta-box-lead {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
}

/* Apply-Online portal highlight (replaces avatar social-proof) */
.cta-portal {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 24px 0 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition);
  color: inherit;
}
.cta-portal:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,215,0,.4);
  transform: translateY(-2px);
}
.cta-portal-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--blue-deeper);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,215,0,.25);
}
.cta-portal-text { flex: 1; line-height: 1.35; min-width: 0; }
.cta-portal-text strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--white);
}
.cta-portal-text span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
  word-break: break-all;
}
.cta-portal-arrow {
  color: rgba(255,255,255,.45);
  flex-shrink: 0;
  transition: var(--transition);
}
.cta-portal:hover .cta-portal-arrow { color: var(--amber); transform: translate(2px,-2px); }

.requirements-title {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 24px;
  margin-bottom: 16px;
}
.requirements-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,.18), transparent);
}
.requirements { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.req-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.req-item--block { align-items: flex-start; }
.req-item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  transform: translateX(3px);
}
.req-check {
  width: 24px; height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--navy);
  box-shadow: 0 2px 8px rgba(10,31,76,.20);
}

.cta-microcopy {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.cta-microcopy span { display: inline-flex; align-items: center; gap: 6px; }
.cta-microcopy svg { color: var(--amber); flex-shrink: 0; }

.cta-call-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.cta-call-link strong { color: var(--white); font-weight: 600; }
.cta-call-link:hover { color: var(--amber); }
.cta-call-link:hover strong { color: var(--amber); }

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 72px 0 0; }

/* Pre-footer Contact CTA — quieter, supportive (not competing with Admissions CTA) */
.pre-footer-cta { padding: 24px 0 80px; background: var(--white); position: relative; }
.footer-cta {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
}
.footer-cta-content { flex: 1 1 320px; }
.footer-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.footer-cta-eyebrow::before {
  content: ''; width: 18px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.footer-cta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -.005em;
  line-height: 1.3;
}
.footer-cta p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 520px;
}
.footer-cta-actions {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.footer-cta-actions .btn { padding: 12px 22px; font-size: 14px; }

.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p { font-size: 14px; margin-top: 16px; line-height: 1.75; color: rgba(255,255,255,.5); }
.footer-col h5  {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: .08em; text-transform: uppercase;
}
.footer-col h5 svg {
  color: var(--amber);
  opacity: .85;
}
.footer-col ul  { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,.5);
  transition: var(--transition); display: inline-flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--amber); padding-left: 4px; }
.footer-bottom {
  padding: 24px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-bottom p.footer-credit { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-credit-heart { color: #ff6b6b; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: var(--transition);
}
.social-link:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

/* ============================================================
   MOBILE MENU — Slide-out drawer with backdrop
============================================================ */
.mobile-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 31, 76, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 550;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  cursor: pointer;
}
.mobile-menu-backdrop.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  left: auto;
  width: calc(100% - 64px);
  max-width: 360px;
  background: var(--navy);
  z-index: 600;
  padding: 28px 24px;
  transform: translateX(105%);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
  overflow-y: auto;
  box-shadow: -20px 0 50px rgba(0, 0, 0, .3);
}
.mobile-menu.open { transform: none; }

.mobile-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links > a,
.mobile-nav-group-label {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 500;
  color: rgba(255, 255, 255, .9);
  padding: 16px 4px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  cursor: pointer;
  text-align: left;
  transition: color .2s ease;
}
.mobile-nav-links > a:hover,
.mobile-nav-group-label:hover { color: var(--amber); }

.mobile-nav-chevron {
  opacity: .55;
  transition: transform .3s ease, opacity .2s ease;
}
.mobile-nav-group.open .mobile-nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--amber);
}
.mobile-nav-group.open > .mobile-nav-group-label { color: var(--amber); }

/* Accordion content — collapsed by default, expands smoothly */
.mobile-nav-group-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-nav-group.open .mobile-nav-group-content { max-height: 400px; }

.mobile-nav-group-content a {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 400;
  color: rgba(255, 255, 255, .62);
  padding: 11px 0 11px 16px;
  transition: color .2s ease, padding-left .2s ease;
}
.mobile-nav-group-content a:first-child { padding-top: 14px; }
.mobile-nav-group-content a:last-child { padding-bottom: 18px; }
.mobile-nav-group-content a:hover {
  color: var(--amber);
  padding-left: 20px;
}

.mobile-cta { margin-top: 28px; }
.close-btn {
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, .07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer; border: none;
  transition: background .2s ease;
}
.close-btn:hover { background: rgba(255, 255, 255, .14); }

@media (max-width: 360px) {
  .mobile-menu { width: calc(100% - 48px); }
}

/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(27,79,176,.40);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .25s ease;
  z-index: 90;
  border: 2px solid var(--white);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--blue-deeper);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(27,79,176,.50);
}
.back-to-top svg { transition: transform .3s ease; }
.back-to-top:hover svg { transform: translateY(-2px); }
@media (max-width: 680px) {
  .back-to-top { bottom: 20px; right: 16px; width: 42px; height: 42px; }
}

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

/* ============================================================
   TOUCH-DEVICE FALLBACKS (no hover available)
============================================================ */
@media (hover: none) {
  /* Gallery — show captions at rest on touch (no hover available) */
  .gallery-item::before {
    background: linear-gradient(to top,
      rgba(17,53,122,.82) 0%,
      rgba(17,53,122,.22) 40%,
      transparent 62%);
  }
  .gallery-caption { transform: translateY(0); }


  /* News read-more underline — full at rest */
  .news-read-more::after { transform: scaleX(1); }

  /* Our Story link — full underline at rest */
  .our-story-link::after { transform: scaleX(1); }
}

/* ============================================================
   INNER PAGE — Banner, breadcrumbs, timeline, founders
============================================================ */

/* Page banner — slimmer hero for inner pages (matches home-v2 hero treatment) */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  background:
    linear-gradient(135deg, rgba(10,31,76,.85) 0%, rgba(27,79,176,.55) 55%, rgba(10,31,76,.75) 100%),
    url('/site/images/mdc/about.webp') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 88%, rgba(255,215,0,.12) 0%, transparent 34%),
    radial-gradient(circle at 88% 84%, rgba(200,30,42,.14) 0%, transparent 48%),
    radial-gradient(circle at 82% 18%, rgba(27,79,176,.18) 0%, transparent 52%);
  pointer-events: none;
}
/* Lighter overlay variant — exposes more of the background imagery (used on pages where the photo adds context) */
.page-banner--imagery {
  background:
    linear-gradient(135deg, rgba(10,31,76,.70) 0%, rgba(27,79,176,.35) 55%, rgba(10,31,76,.60) 100%),
    url('/site/images/mdc/about.webp') center/cover no-repeat;
}
/* SHS-specific banner — Senior High classroom photo as the backdrop */
.page-banner--shs {
  background:
    linear-gradient(135deg, rgba(10,31,76,.72) 0%, rgba(27,79,176,.38) 55%, rgba(10,31,76,.62) 100%),
    url('/sinior-high/This8.webp') center/cover no-repeat;
}
/* Baccalaureate-specific banner — CCSIT group photo as the backdrop */
.page-banner--bp {
  background:
    linear-gradient(135deg, rgba(10,31,76,.74) 0%, rgba(27,79,176,.40) 55%, rgba(10,31,76,.65) 100%),
    url('/baccalaureate/CCSIT.webp') center/cover no-repeat;
}
/* Three-Year Diploma — /diploma/1.webp as backdrop */
.page-banner--dp {
  background:
    linear-gradient(135deg, rgba(10,31,76,.72) 0%, rgba(27,79,176,.38) 55%, rgba(10,31,76,.62) 100%),
    url('/diploma/1.webp') center/cover no-repeat;
}
/* History — uses same photo + full 3-spot radial pattern as home-v2 hero */
.page-banner--history {
  background:
    linear-gradient(135deg, rgba(10,31,76,.85) 0%, rgba(27,79,176,.55) 55%, rgba(10,31,76,.75) 100%),
    url('/site/images/mdc/about.webp') center/cover no-repeat;
}
/* Technical-Vocational — /tech-voc/head.webp as backdrop (portrait image, so center-top crop) */
.page-banner--tve {
  background:
    linear-gradient(135deg, rgba(10,31,76,.74) 0%, rgba(27,79,176,.40) 55%, rgba(10,31,76,.65) 100%),
    url('/tech-voc/head.webp') center 25%/cover no-repeat;
}
.page-banner-inner {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.page-banner-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,215,0,.14);
  border: 1px solid rgba(255,215,0,.35);
  color: var(--amber);
  padding: 7px 16px; border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.page-banner h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}
.page-banner h1 span {
  position: relative;
  background: linear-gradient(135deg, var(--amber) 0%, #FFD96B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.page-banner-sub {
  font-size: 17px;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  max-width: 620px;
  margin: 0;
}
.page-banner-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--amber), rgba(255,215,0,.2));
  border-radius: 2px;
  margin: 24px 0 0;
}

/* Breadcrumbs */
.breadcrumb-trail {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-bottom: 22px;
  letter-spacing: .04em;
  padding: 4px 11px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.breadcrumb-trail a {
  color: rgba(255,255,255,.7);
  transition: color .2s ease;
}
.breadcrumb-trail a:hover { color: var(--amber); }
.breadcrumb-trail .sep { opacity: .35; }
.breadcrumb-trail .current { color: var(--amber); font-weight: 600; }

/* Founders highlight */
.founders {
  padding: 90px 0;
  background: #F3F6FB;
}
.founders-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.founders-header .section-label { justify-content: center; }
.founders-header .section-title { margin-top: 6px; }
.founders-header .section-sub { margin: 14px auto 0; }

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 52px auto 0;
}

/* Card */
.founder-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(13,61,163,.13);
}
.founder-card--amber:hover {
  box-shadow: 0 20px 48px rgba(180,130,10,.13);
}

/* Photo zone — tall portrait, no overlay */
.founder-photo {
  height: 400px;
  overflow: hidden;
  flex-shrink: 0;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  display: block;
  transition: transform .55s ease;
}
.founder-card:hover .founder-photo img {
  transform: scale(1.04);
}

/* Body */
.founder-body {
  padding: 24px 26px 28px;
  flex: 1;
  border-top: 3px solid var(--blue);
}
.founder-card--amber .founder-body {
  border-top-color: var(--blue);
}

/* Role label */
.founder-tag {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 7px;
}
.founder-card--amber .founder-tag {
  color: var(--blue);
}

/* Name */
.founder-name {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.25;
}

/* Bio */
.founder-bio {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.72;
  margin: 0;
}

/* Timeline */
.timeline-section { padding: 100px 0; background: var(--white); }
.timeline-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.timeline-header .section-label { justify-content: center; }
.timeline-header .section-label::before { display: none; }
.timeline-header .section-title { margin-bottom: 14px; }

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--gray-200) 6%,
    var(--gray-200) 94%,
    transparent 100%);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 28px 48px;
  box-sizing: border-box;
}
.timeline-item:nth-child(odd) {
  left: 0;
}
.timeline-item:nth-child(even) {
  left: 50%;
}
/* Cinematic stagger — right-side items fade in slightly after their left pair */
.timeline-item.fade-up:nth-child(even) { transition-delay: 120ms; }
.timeline-item:last-child { padding-bottom: 20px; }
.timeline-item::before {
  content: '';
  position: absolute;
  top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  z-index: 1;
  transition: transform .3s ease, border-color .3s ease;
}
.timeline-item:nth-child(odd)::before { right: -8px; }
.timeline-item:nth-child(even)::before { left: -8px; }
.timeline-item:hover::before {
  transform: scale(1.2);
  border-color: var(--amber);
}
.timeline-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(10,31,76,.10);
  transition: transform .35s ease;
}
.timeline-item:hover .timeline-img {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10,31,76,.16);
}
.timeline-year {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase;
  color: var(--blue-deeper);
  padding: 6px 14px;
  background: rgba(17,53,122,.08);
  border: 1px solid rgba(17,53,122,.28);
  border-radius: 100px;
  margin-bottom: 12px;
}
.timeline-year::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--blue-deeper);
  border-radius: 50%;
}
.timeline-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.timeline-body {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* History — Pull quote callout */
.history-quote {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 60%, var(--blue) 100%);
  color: var(--white);
  overflow: hidden;
}
.history-quote::before {
  content: '"';
  position: absolute;
  top: 16px; left: 6%;
  font-family: 'Poppins', serif;
  font-size: 240px;
  font-weight: 900;
  color: var(--amber);
  opacity: .12;
  line-height: 1;
  pointer-events: none;
}
.history-quote-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}
.history-quote-eyebrow {
  display: inline-flex; align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 26px;
  padding: 6px 18px;
  background: rgba(255,215,0,.08);
  border: 1px solid rgba(255,215,0,.25);
  border-radius: 100px;
}
.history-quote-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 28px;
  font-style: italic;
}
.history-quote-text em { color: var(--amber); font-style: italic; font-weight: 600; }
.history-quote-author {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.history-quote-author-line {
  width: 40px; height: 2px;
  background: var(--amber);
}
.history-quote-author-text { text-align: left; }
.history-quote-author-name {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber);
}
.history-quote-author-role {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

/* History — MDC Today stats */
.history-today {
  padding: 90px 0;
  background: #F3F6FB;
}
.history-today-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.history-today-header .section-label { justify-content: center; }
.history-today-header .section-label::before { display: none; }
.history-today-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.history-today-stat {
  background: var(--white);
  padding: 36px 22px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.history-today-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.history-today-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.history-today-num .unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  margin-left: 4px;
  letter-spacing: 0;
}
.history-today-label {
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .history-quote { padding: 52px 0; }
  .history-quote::before { font-size: 120px; left: 4%; top: 8px; opacity: .08; }
  .history-quote-eyebrow { font-size: 10px; padding: 5px 14px; margin-bottom: 18px; }
  .history-quote-text { font-size: 18px; line-height: 1.6; margin-bottom: 20px; }
  .history-quote-author { gap: 12px; }
  .history-quote-author-line { width: 28px; }
  .history-quote-author-name { font-size: 12px; letter-spacing: .08em; }
  .history-quote-author-role { font-size: 11px; }

  .history-today { padding: 60px 0; }
  .history-today-header { margin-bottom: 32px; }
  .history-today-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .history-today-stat { padding: 24px 16px; }
}

/* MDC Hymn — Unified lyrics card with integrated player */
.hymn-page {
  padding: 72px 0 80px;
  background: #F3F6FB;
}
.hymn-page-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.hymn-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 24px 50px rgba(10,31,76,.08);
  overflow: hidden;
}

/* Card header — navy bg with play button + meta */
.hymn-card-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hymn-card-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 100%, rgba(255,215,0,.10) 0%, transparent 50%),
    radial-gradient(circle at 90% 0%, rgba(27,79,176,.18) 0%, transparent 55%);
  pointer-events: none;
}

/* Play / Pause button — pill style with icon + text */
.hymn-play-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px 14px 22px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(212,160,23,.40), inset 0 -2px 6px rgba(0,0,0,.10);
  transition: transform .25s ease, box-shadow .25s ease;
  flex-shrink: 0;
}
.hymn-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(212,160,23,.55), inset 0 -2px 6px rgba(0,0,0,.10);
}
.hymn-play-btn:active { transform: translateY(0); }

.hymn-icon-play,
.hymn-icon-pause { width: 16px; height: 16px; flex-shrink: 0; }
.hymn-icon-pause { display: none; }
.hymn-play-btn.playing .hymn-icon-play { display: none; }
.hymn-play-btn.playing .hymn-icon-pause { display: block; }

.hymn-play-text-playing { display: none; }
.hymn-play-btn.playing .hymn-play-text-default { display: none; }
.hymn-play-btn.playing .hymn-play-text-playing { display: inline; }

/* Card meta — all elements share the same left edge */
.hymn-card-meta { position: relative; z-index: 2; flex: 1; min-width: 0; }
.hymn-card-eyebrow {
  display: block;
  position: relative;
  padding-top: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.hymn-card-eyebrow::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.hymn-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px; font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.hymn-card-sub {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

/* Play button + YouTube fallback link wrapper */
.hymn-play-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  flex-shrink: 0;
  position: relative; z-index: 2;
}
.hymn-yt-fallback {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.70);
  letter-spacing: .04em;
  transition: color .2s ease;
}
.hymn-yt-fallback:hover { color: var(--amber); }
.hymn-yt-fallback svg { opacity: .8; }
.hymn-yt-fallback:hover svg { opacity: 1; }

/* Animated equalizer bars — hidden completely when idle (no leading space) */
.hymn-card-bars {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}
.hymn-card.playing .hymn-card-bars {
  display: inline-flex;
}
.hymn-card-bars span {
  width: 3px;
  height: 4px;
  background: var(--amber);
  border-radius: 1px;
}
.hymn-card.playing .hymn-card-bars span {
  animation: hymnBar 1.1s ease-in-out infinite;
}
.hymn-card.playing .hymn-card-bars span:nth-child(1) { animation-delay: 0s; }
.hymn-card.playing .hymn-card-bars span:nth-child(2) { animation-delay: .2s; }
.hymn-card.playing .hymn-card-bars span:nth-child(3) { animation-delay: .4s; }
.hymn-card.playing .hymn-card-bars span:nth-child(4) { animation-delay: .15s; }
@keyframes hymnBar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* Lyrics body — centered, ceremonial, with rich subtle backdrop */
.hymn-lyrics-body {
  padding: 56px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    /* corner glows — amber + blue diagonals */
    radial-gradient(ellipse 60% 50% at 12% 0%, rgba(212,160,23,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 88% 100%, rgba(27,79,176,.08) 0%, transparent 60%),
    /* opposite corner accents */
    radial-gradient(ellipse 50% 40% at 92% 15%, rgba(27,79,176,.05) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 8% 85%, rgba(212,160,23,.06) 0%, transparent 55%),
    /* warm paper gradient base */
    linear-gradient(180deg, #FCFCFD 0%, #F7FAFC 100%);
  /* Vintage page vignette */
  box-shadow: inset 0 0 80px rgba(10,31,76,.04);
}
/* Large faded music symbol behind the lyrics */
.hymn-lyrics-body::before {
  content: '\266B';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 400px;
  color: var(--navy);
  opacity: .03;
  line-height: 1;
  font-family: 'Times New Roman', serif;
  pointer-events: none;
  z-index: 0;
}
/* Subtle dotted paper texture overlay */
.hymn-lyrics-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,31,76,.05) 1px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
}
.hymn-verse,
.hymn-chorus,
.hymn-ornament {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}
.hymn-verse:last-child,
.hymn-chorus:last-child { margin-bottom: 0; }

/* Verse label with line accents (like .section-label) */
.hymn-verse-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.hymn-verse-label::before,
.hymn-verse-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--amber);
  opacity: .45;
}

.hymn-verse p {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  line-height: 2;
  margin: 0;
  letter-spacing: -.005em;
}

/* Chorus — clean card with subtle bg */
.hymn-chorus {
  background: #F6F9FD;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 32px 36px;
  margin: 16px 0 24px;
}
.hymn-chorus .hymn-verse-label {
  color: var(--blue);
}
.hymn-chorus .hymn-verse-label::before,
.hymn-chorus .hymn-verse-label::after {
  background: var(--blue);
}
.hymn-chorus p {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--blue-deeper);
  line-height: 2;
  margin: 0;
  letter-spacing: -.005em;
}

/* Three-dot ornament between verse/chorus groups */
.hymn-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 28px;
}
.hymn-ornament span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber);
  opacity: .35;
}
.hymn-ornament span:nth-child(2) { opacity: .6; }

/* Hidden audio iframe (YouTube audio source) */
.hymn-audio-hidden {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.hymn-audio-hidden iframe {
  width: 0; height: 0;
  border: 0;
}

/* iPad portrait (768 – 899px) — stacked card head, reduced padding */
@media (min-width: 768px) and (max-width: 899px) {
  .hymn-page { padding: 60px 0 72px; }
  .hymn-card { border-radius: 16px; }
  .hymn-card-head { padding: 24px 28px; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
  .hymn-card-meta { flex: 0 0 100%; width: 100%; }
  .hymn-card-title { font-size: 20px; }
  .hymn-card-sub { font-size: 12px; }
  .hymn-play-wrap { width: 100%; align-items: stretch; gap: 10px; }
  .hymn-play-btn { padding: 13px 20px; font-size: 12px; width: 100%; justify-content: center; margin-top: 0; }
  .hymn-yt-fallback { justify-content: center; }
  .hymn-lyrics-body { padding: 44px 36px; }
  .hymn-verse p,
  .hymn-chorus p { font-size: 17px; line-height: 1.95; }
  .hymn-chorus { padding: 26px 24px; margin: 14px 0 22px; }
  .hymn-verse,
  .hymn-chorus { margin-bottom: 22px; }
  .hymn-ornament { margin: 18px 0 24px; }
}

/* Mobile phones (up to 767px) */
@media (max-width: 767px) {
  .hymn-page { padding: 56px 0 64px; }
  .hymn-page-intro { margin-bottom: 32px; }
  .hymn-card { border-radius: 14px; }
  .hymn-card-head { padding: 22px 20px; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
  .hymn-card-meta { flex: 0 0 100%; width: 100%; }
  .hymn-play-wrap { width: 100%; align-items: stretch; gap: 12px; }
  .hymn-play-btn { padding: 12px 20px; font-size: 12px; width: 100%; justify-content: center; margin-top: 0; }
  .hymn-yt-fallback { justify-content: center; }
  .hymn-icon-play, .hymn-icon-pause { width: 16px; height: 16px; }
  .hymn-card-title { font-size: 17px; }
  .hymn-card-sub { font-size: 12px; }
  .hymn-lyrics-body { padding: 36px 20px; }
  .hymn-verse p,
  .hymn-chorus p { font-size: 15px; line-height: 1.9; }
  .hymn-chorus { padding: 22px 18px; margin: 12px 0 20px; }
  .hymn-verse,
  .hymn-chorus { margin-bottom: 20px; }
  .hymn-verse-label::before,
  .hymn-verse-label::after { width: 16px; }
  .hymn-ornament { margin: 14px 0 20px; }
}

/* Hymn — Significance section */
.hymn-significance {
  padding: 72px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hymn-significance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto 0;
}
.hymn-significance-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* Top accent line — draws in on hover (matches mission card pattern) */
.hymn-significance-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.hymn-significance-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(10,31,76,.14);
  border-color: transparent;
}
.hymn-significance-card:hover::before { transform: scaleX(1); }

/* Big gradient number — mirrors .mission-card-num */
.hymn-significance-num {
  display: block;
  width: fit-content;
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  transition: transform .35s ease, background .35s ease;
  transform-origin: left;
}
.hymn-significance-card:hover .hymn-significance-num {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Eyebrow pill — matches .mission-eyebrow / .timeline-year navy treatment */
.hymn-significance-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-deeper);
  padding: 5px 13px;
  background: rgba(17,53,122,.08);
  border: 1px solid rgba(17,53,122,.28);
  border-radius: 100px;
  margin-bottom: 16px;
}
.hymn-significance-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-deeper);
  border-radius: 50%;
}

.hymn-significance-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 19px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -.01em;
  transition: color .25s ease;
}
.hymn-significance-card:hover h4 { color: var(--blue-deeper); }

.hymn-significance-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
}
.hymn-significance-card p em {
  color: var(--amber-dark);
  font-style: italic;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hymn-significance-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hymn-section { padding: 60px 0; }
  .hymn-intro { margin-bottom: 36px; }
  .hymn-meta { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .hymn-significance { padding: 60px 0; }
  .hymn-significance-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .hymn-video-wrap { border-radius: 14px; }
}

/* ============================================================
   HOW TO ENROLL AT MDC — Step-by-step enrollment guide
   Sits above Admission Policies on the same RFA page
============================================================ */

.howto-section {
  margin-bottom: 56px;
}

/* Section header */
.howto-header {
  text-align: center;
  margin-bottom: 44px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.howto-header-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 10px;
  justify-content: center;
}
.howto-header-subtitle::before,
.howto-header-subtitle::after {
  content: '';
  width: 22px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.howto-header-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.howto-header-title span { color: var(--amber-dark); }
.howto-header-intro {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Steps container */
.howto-steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Step card — clean white card, big number is the only identifier */
.howto-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  box-shadow: 0 4px 14px rgba(10,31,76,.04);
  scroll-margin-top: 100px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.howto-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(10,31,76,.10);
}

/* Big gradient step number — sequential indicator (replaces text badge) */
.howto-step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-deeper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  min-width: 64px;
  transition: background .3s ease;
}
.howto-step:hover .howto-step-num {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-deeper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Step head: icon + title (aligned to first line) */
.howto-step-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.howto-step-head .howto-step-icon { margin-top: 2px; }

/* Icon tile — matches .rfa-card-icon pattern */
.howto-step-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(27,79,176,.08) 0%, rgba(27,79,176,.04) 100%);
  color: var(--blue);
  transition: background .3s ease, color .3s ease;
}
.howto-step-icon svg { width: 24px; height: 24px; }
.howto-step:hover .howto-step-icon {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  color: var(--white);
}

/* Step title — navy, color shift on hover */
.howto-step-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin: 0;
  color: var(--navy);
  letter-spacing: -.015em;
  line-height: 1.15;
  text-transform: uppercase;
  transition: color .25s ease;
}
.howto-step:hover .howto-step-title { color: var(--blue-deeper); }

/* Step body */
.howto-step-body > p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.75;
  margin: 0 0 16px;
}
.howto-step-body > p:last-child { margin-bottom: 0; }

/* Step 1 enrollment — unified card: QR + clickable link in one */
.howto-enroll {
  display: flex;
  align-items: stretch;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 18px;
}
.howto-enroll-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.howto-qr-canvas {
  width: 168px;
  height: 168px;
  background: var(--white);
  border-radius: 12px;
  /* padding: 8px; */
  /* border: 2px dashed var(--gray-300); */
  display: flex; align-items: center; justify-content: center;
}
.howto-qr-canvas img,
.howto-qr-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 4px;
}
.howto-enroll-scan {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-500);
}
.howto-enroll-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 10px;
  border-left: 1px solid var(--gray-200);
  padding-left: 24px;
}
.howto-enroll-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.howto-enroll-link {
  display: flex; align-items: center; gap: 12px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 16px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.howto-enroll-link:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(10,31,76,.08);
  transform: translateY(-2px);
}
.howto-enroll-url {
  flex: 1; min-width: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; font-weight: 600;
  color: var(--blue);
  word-break: break-all;
}
.howto-enroll-arrow {
  width: 18px; height: 18px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform .25s ease, color .25s ease;
}
.howto-enroll-link:hover .howto-enroll-arrow {
  color: var(--blue);
  transform: translate(2px, -2px);
}
.howto-enroll-hint {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 0;
}

/* Note callout */
.howto-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--amber-light);
  border-left: 3px solid var(--amber-dark);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: 18px;
}
.howto-note::before {
  content: '!';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--amber-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
}
.howto-note strong { color: var(--navy); }

/* Payment amount pill */
.howto-amount {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--blue-deeper);
  background: rgba(27,79,176,.08);
  border: 1px solid rgba(27,79,176,.22);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: -.005em;
  white-space: nowrap;
}

/* Sub-card grids label */
.howto-sub-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 20px 0 14px;
}

.howto-grid {
  display: grid;
  gap: 14px;
}
.howto-grid--3 { grid-template-columns: repeat(3, 1fr); }
.howto-grid--4 { grid-template-columns: repeat(2, 1fr); }

.howto-subcard {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--blue);
  border-radius: 12px;
  padding: 18px 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-top-color .25s ease;
}
.howto-subcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10,31,76,.08);
  border-top-color: var(--amber);
}
.howto-subcard-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: rgba(212,160,23,.10);
  border: 1px solid rgba(212,160,23,.25);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.howto-subcard-tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--amber-dark);
  border-radius: 50%;
}
.howto-subcard h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.howto-subcard p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}
.howto-subcard p strong { color: var(--navy); font-weight: 600; }

/* Payment options (Step 2) — single bordered container, vertical dividers between columns */
.howto-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
}
.howto-pay {
  display: flex;
  flex-direction: column;
  padding: 22px 22px;
}
.howto-pay + .howto-pay {
  position: relative;
}
.howto-pay + .howto-pay::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 72%;
  background: var(--gray-200);
}
.howto-pay-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.howto-pay-num {
  width: 26px; height: 26px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.howto-pay-method {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
.howto-pay-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.3;
}
.howto-pay-detail {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-900);
  line-height: 1.5;
  margin: 0 0 6px;
}
.howto-pay-detail:last-child { margin-bottom: 0; }
.howto-pay-detail span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1px;
}

/* Dashed divider between steps — with chevron indicator */
.howto-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 0;
  margin: 18px 0;
  position: relative;
}
.howto-divider::after {
  content: '↓';
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 2px 6px rgba(10,31,76,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--blue);
  line-height: 1;
}

/* Location chips — steps 3, 5, 6, 7 */
.howto-location {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.howto-location-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 14px 18px;
  flex: 1;
  min-width: 200px;
}
.howto-location-chip svg {
  width: 18px; height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}
.howto-location-chip div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.howto-location-chip strong {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.howto-location-chip span {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--gray-500);
  line-height: 1.4;
}
/* single-location chip: don't force full width */
.howto-location:has(.howto-location-chip:only-child) .howto-location-chip {
  flex: 0 0 auto;
}

/* Sub-card people list (#4 — for Step 4 Dean's office multi-person card) */
.howto-subcard-people {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.howto-subcard-people li {
  display: flex;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--gray-700);
  line-height: 1.45;
}
.howto-subcard-people li strong {
  color: var(--navy);
  font-weight: 700;
  min-width: 64px;
}

/* Dean's Office cards (Step 4) */
.howto-dean-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.howto-dean {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px 22px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.howto-dean:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(10,31,76,.08);
  transform: translateY(-2px);
}
.howto-dean-dept {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.howto-dean-office {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
.howto-dean-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
.howto-dean-row > span:first-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
  flex-shrink: 0;
}
.howto-dean-row > span:last-child {
  color: var(--gray-900);
  text-align: right;
}

/* Responsive */
@media (max-width: 760px) {
  .howto-dean-grid { grid-template-columns: 1fr; }
}

/* Contact footer */
.howto-contact {
  margin-top: 48px;
  padding: 36px 36px 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.howto-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 100%, rgba(255,215,0,.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(27,79,176,.15) 0%, transparent 55%);
  pointer-events: none;
}

/* Contact heading */
.howto-contact-head {
  position: relative;
  display: block;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.howto-contact-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.howto-contact-eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.howto-contact-title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.howto-contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.howto-contact-list {
  display: flex; flex-direction: column;
  gap: 8px;
}
.howto-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.howto-contact-row svg {
  width: 16px; height: 16px;
  color: var(--amber);
  flex-shrink: 0;
}
.howto-contact-row p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,.92);
  margin: 0;
  line-height: 1.5;
}
.howto-contact-row p strong { color: var(--amber); font-weight: 700; }
.howto-contact-socials {
  display: flex;
  gap: 8px;
}
.howto-social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.howto-social-link:hover {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
  transform: translateY(-2px);
}
.howto-social-link svg { width: 16px; height: 16px; }

/* Section break — visual transition between How to Enroll and Admission Policies */
.rfa-section-break {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 56px 0 32px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.rfa-section-break-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-300), transparent);
}
.rfa-section-break-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.rfa-section-break-label svg {
  width: 14px; height: 14px;
  color: var(--amber);
}

/* Policies header (sits above the policy cards) */
.rfa-policies-header {
  text-align: center;
  margin: 0 0 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.rfa-policies-header-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}
.rfa-policies-header-eyebrow::before,
.rfa-policies-header-eyebrow::after {
  content: '';
  width: 22px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.rfa-policies-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}
.rfa-policies-header h2 span { color: var(--amber-dark); }

/* Responsive */
@media (max-width: 760px) {
  .howto-section { margin-bottom: 40px; }
  .howto-header { margin-bottom: 32px; }
  .howto-step { padding: 26px 22px 24px; }
  .howto-step-badge { font-size: 11px; padding: 6px 14px; }
  .howto-step-head { gap: 12px; margin-bottom: 16px; }
  .howto-step-icon { width: 40px; height: 40px; }
  .howto-step-icon svg { width: 20px; height: 20px; }
  .howto-step-title { font-size: 18px; }
  .howto-step-body > p { font-size: 14.5px; }
  .howto-note { padding: 10px 12px; font-size: 13px; }
  .howto-location-chip { flex: 1 1 100%; min-width: 0; }
  .howto-location:has(.howto-location-chip:only-child) .howto-location-chip { flex: 1 1 100%; }
  .howto-enroll { flex-direction: column; gap: 0; padding: 0; align-items: center; border: none; background: transparent; border-radius: 0; margin-bottom: 0; }
  .howto-enroll-body {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
    margin-top: 20px;
    width: 100%;
  }
  .howto-enroll-url { font-size: 12.5px; }
  .howto-qr-canvas { width: 180px; height: 180px; }
  .howto-grid--3, .howto-grid--4 { grid-template-columns: 1fr; }
  .howto-subcard { padding: 16px 18px; }
  .howto-pay-grid { grid-template-columns: 1fr; }
  .howto-pay { padding: 18px 18px; }
  .howto-pay + .howto-pay { border-left: none; border-top: 1px solid var(--gray-200); }
  .howto-pay + .howto-pay::before { display: none; }
  .howto-contact { padding: 22px 22px; }
  .howto-contact-inner { grid-template-columns: 1fr; gap: 18px; }
  .howto-contact-socials { justify-content: flex-start; }
  .rfa-policies-header { margin-bottom: 24px; }
}

/* Print styles (#9: covers all new elements) */
@media print {
  .howto-contact,
  .howto-divider,
  .rfa-section-break,
  .back-to-top { display: none !important; }
  .howto-step {
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid var(--gray-300) !important;
    border-left: 2px solid var(--navy) !important;
    background: var(--white) !important;
    transform: none !important;
    margin-bottom: 14px !important;
    padding: 18px 22px !important;
  }
  .howto-step-badge {
    background: var(--white) !important;
    color: var(--navy) !important;
    border: 1px solid var(--navy);
    box-shadow: none !important;
  }
  .howto-step-icon {
    background: var(--white) !important;
    color: var(--navy) !important;
    border: 1px solid var(--gray-300);
  }
  .howto-subcard {
    background: var(--white) !important;
    border: 1px solid var(--gray-300) !important;
    border-top: 2px solid var(--navy) !important;
  }
  .howto-enroll {
    background: var(--white) !important;
    border: 1px solid var(--gray-300) !important;
  }
  .howto-qr-canvas {
    border-color: var(--navy);
    border-style: solid;
  }
  .howto-amount {
    background: var(--white) !important;
    border: 1px solid var(--navy) !important;
    color: var(--navy) !important;
  }
  .howto-where {
    background: var(--white) !important;
    border: 1px solid var(--gray-300) !important;
    color: var(--gray-900) !important;
  }
}

/* ============================================================
   REGISTRATION FOR ADMISSION — V2 designed page
   Uses mdc.css design tokens only (no new colors introduced)
============================================================ */

.rfa-page {
  padding: 72px 0 96px;
  background: var(--gray-100);
}

/* Banner extras specific to RFA */
.page-banner-intro {
  margin: 14px auto 0;
  max-width: 580px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

/* Hero CTA — primary action button in the banner */
.page-banner-cta,
.tve-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  border-radius: 100px;
  box-shadow: 0 10px 24px rgba(212,160,23,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.page-banner-cta:hover,
.tve-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(212,160,23,.50);
  color: var(--navy);
}
.page-banner-cta svg,
.tve-cta svg { width: 16px; height: 16px; }

/* Registration banner CTA — white pill */
.page-banner-cta {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.page-banner-cta:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
}

/* Quick contact strip — sits below the banner */
.rfa-contact-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
  font-size: 13px;
  color: var(--gray-700);
  font-family: 'Inter', sans-serif;
}
.rfa-contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.rfa-contact-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rfa-contact-strip-item svg {
  width: 14px; height: 14px;
  color: var(--amber-dark);
}
.rfa-contact-strip-item strong { color: var(--navy); font-weight: 700; }
.rfa-contact-strip-item a { color: var(--blue); }
.rfa-contact-strip-item a:hover { color: var(--blue-deeper); }

/* Cross-link CTA between pages */
.rfa-crosslink {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.rfa-crosslink-text {
  flex: 1; min-width: 240px;
}
.rfa-crosslink-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 6px;
}
.rfa-crosslink-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  letter-spacing: -.01em;
}
.rfa-crosslink-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.55;
}
.rfa-crosslink-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: .04em;
  transition: background .25s ease, color .25s ease;
}
.rfa-crosslink-btn:hover {
  background: var(--blue-deeper);
  color: var(--white);
}
.rfa-crosslink-btn svg { width: 14px; height: 14px; }

@media (max-width: 640px) {
  .rfa-contact-strip-inner { gap: 14px 22px; }
  .rfa-crosslink { padding: 22px; }
  .rfa-crosslink-btn { width: 100%; justify-content: center; }
}

/* Two-column layout: sticky TOC + content */
.rfa-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: flex-start;
}

/* ============ TOC SIDEBAR ============ */
.rfa-toc {
  position: sticky;
  top: 100px;
}
.rfa-toc-inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(10,31,76,.04);
}
.rfa-toc-label {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.rfa-toc-label::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--amber);
  border-radius: 1px;
}
.rfa-toc-group + .rfa-toc-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}
.rfa-toc-group-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 4px 12px 10px 14px;
}
.rfa-toc ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 2px;
}
.rfa-toc a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 12px 8px 14px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: all .25s ease;
  line-height: 1.4;
}
.rfa-toc a:hover {
  background: var(--gray-100);
  color: var(--navy);
  border-left-color: var(--blue);
}
.rfa-toc a.active {
  background: linear-gradient(135deg, rgba(27,79,176,.10) 0%, rgba(212,160,23,.05) 100%);
  color: var(--blue-deeper);
  font-weight: 700;
  border-left-color: var(--amber);
  border-left-width: 3px;
  position: relative;
  padding-right: 26px;
}
.rfa-toc a.active::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,160,23,.18);
}

/* ============ CARDS ============ */
.rfa-content {
  display: flex; flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.rfa-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 36px 30px;
  box-shadow: 0 4px 14px rgba(10,31,76,.04);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rfa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.rfa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(10,31,76,.10);
  border-color: transparent;
}
.rfa-card:hover::before { transform: scaleX(1); }

.rfa-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 18px;
}
.rfa-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(27,79,176,.08) 0%, rgba(27,79,176,.04) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease;
}
.rfa-card-icon svg { width: 22px; height: 22px; }
.rfa-card:hover .rfa-card-icon {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  color: var(--white);
}
.rfa-card-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rfa-card h2,
.rfa-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.rfa-card > p {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.85;
  margin: 0;
}

/* Cards with numbered lists (BTVTED, BSCRIM) */
.rfa-card-lead {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 6px;
}
.rfa-card-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0 0 20px;
}
.rfa-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 14px;
  counter-reset: rfa-counter;
}
.rfa-list li {
  display: flex; align-items: flex-start; gap: 16px;
  counter-increment: rfa-counter;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.7;
  padding: 14px 16px;
  background: var(--gray-100);
  border-radius: 10px;
  border-left: 2px solid var(--gray-200);
  transition: border-left-color .25s ease, background .25s ease;
}
.rfa-list li:hover {
  background: rgba(27,79,176,.04);
  border-left-color: var(--blue);
}
.rfa-list li::before {
  content: counter(rfa-counter, decimal-leading-zero);
  flex-shrink: 0;
  width: 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ CALLOUTS (Returning + NOA) ============ */
.rfa-callout {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  scroll-margin-top: 100px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.rfa-callout:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(10,31,76,.10);
}
.rfa-callout-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 12px;
}
.rfa-callout-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rfa-callout-icon svg { width: 22px; height: 22px; }
.rfa-callout h2,
.rfa-callout h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.rfa-callout p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}

/* Returning Students — amber accent */
.rfa-callout--info {
  background: rgba(212,160,23,.06);
  border: 1px solid rgba(212,160,23,.20);
  border-left: 3px solid var(--amber);
}
.rfa-callout--info .rfa-callout-icon {
  background: rgba(212,160,23,.14);
  color: var(--amber-dark);
}
.rfa-callout--info h2,
.rfa-callout--info h3 { color: var(--navy); }
.rfa-callout--info p { color: var(--gray-700); }

/* NOA — navy/important */
.rfa-callout--important {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  color: var(--white);
}
.rfa-callout--important::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 100%, rgba(255,215,0,.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(27,79,176,.15) 0%, transparent 55%);
  pointer-events: none;
}
.rfa-callout--important > * { position: relative; z-index: 1; }
.rfa-callout--important .rfa-callout-icon {
  background: var(--amber);
  color: var(--navy);
}
.rfa-callout--important h2,
.rfa-callout--important h3 { color: var(--white); }
.rfa-callout--important p { color: rgba(255,255,255,.85); }

/* Visually-hidden helper for accessibility */
.rfa-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============ RESPONSIVE ============ */

/* ≤960px (iPad landscape + mobile): hide TOC, single-column block */
@media (max-width: 960px) {
  .rfa-toc { display: none; }
  .rfa-layout { display: block; }
}

/* iPad (641px–960px): tighten spacing, collapse pay grid */
@media (max-width: 960px) and (min-width: 641px) {
  .rfa-page { padding: 56px 0 80px; }
  .howto-step { padding: 28px 28px 26px; }
  .howto-step-num { font-size: 36px; min-width: 52px; }
  .rfa-card { padding: 26px 28px 24px; }
  .rfa-callout { padding: 24px 26px; }
  .howto-contact { padding: 26px 28px; }
  .rfa-crosslink { padding: 22px 26px; }
  .howto-pay-grid { grid-template-columns: 1fr; }
  .howto-pay + .howto-pay::before { display: none; }
  .howto-pay + .howto-pay { border-top: 1px solid var(--gray-200); }
}

/* Mobile (≤640px): compact, full-width layout */
@media (max-width: 640px) {
  .rfa-page { padding: 48px 0 64px; }
  .rfa-card { padding: 22px 20px 20px; }
  .rfa-card-title-row { gap: 10px; margin-bottom: 12px; }
  .rfa-card-title-row .rfa-card-num { font-size: 32px; min-width: 44px; }
  .rfa-card h3 { font-size: 18px; }
  .rfa-card > p,
  .rfa-card-sub { font-size: 14.5px; line-height: 1.8; }
  .rfa-list { gap: 10px; }
  .rfa-list li { font-size: 13.5px; padding: 12px 14px; gap: 12px; }
  .rfa-list li::before { width: 28px; min-width: 28px; font-size: 11px; }
  .rfa-callout { padding: 20px 18px; }
  .rfa-callout h3 { font-size: 17px; }
  .rfa-callout p { font-size: 14.5px; }
  .howto-step-num { font-size: 34px; min-width: 48px; }
  .rfa-policies-header h2 { font-size: 24px; }
  .rfa-crosslink { padding: 20px 18px; }
  .rfa-crosslink-title { font-size: 16px; }
}

/* ============ PRINT STYLES ============ */
@media print {
  .navbar, .mobile-menu, .mobile-menu-backdrop,
  footer, .pre-footer-cta, .back-to-top,
  .rfa-toc, .breadcrumb-trail, .page-banner-divider {
    display: none !important;
  }
  body, .rfa-page { background: var(--white) !important; }
  .page-banner {
    padding: 24px 0 18px !important;
    background: var(--white) !important;
    color: var(--navy) !important;
    border-bottom: 2px solid var(--navy);
  }
  .page-banner::before,
  .page-banner::after { display: none !important; }
  .page-banner h1,
  .page-banner h1 span {
    color: var(--navy) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
  }
  .page-banner-sub,
  .page-banner-intro { color: var(--gray-700) !important; }
  .rfa-layout { display: block !important; }
  .rfa-card,
  .rfa-callout {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid var(--gray-200) !important;
    transform: none !important;
    margin-bottom: 16px;
  }
  .rfa-card::before { display: none !important; }
  .rfa-callout--important {
    background: var(--white) !important;
    border-left: 3px solid var(--navy) !important;
    color: var(--navy) !important;
  }
  .rfa-callout--important h2,
  .rfa-callout--important p {
    color: var(--navy) !important;
  }
  .rfa-callout--important .rfa-callout-icon {
    background: var(--gray-100) !important;
    color: var(--navy) !important;
  }
  .rfa-list li {
    background: var(--white) !important;
    border-left-color: var(--gray-200) !important;
  }
}

/* Hero policy statement card — P1 */
.admission-hero-card {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  max-width: 920px;
  margin: 0 auto 56px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10,31,76,.18);
  isolation: isolate;
}
.admission-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 100%, rgba(255,215,0,.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(27,79,176,.20) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.admission-hero-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 4px;
  background: var(--amber);
  border-top-left-radius: var(--radius-lg);
}
.admission-hero-text {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  line-height: 1.75;
  margin: 0;
  letter-spacing: -.005em;
}

/* Section title */
.admission-policies {
  max-width: 920px;
  margin: 0 auto;
}
.admission-policies-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin: 0 0 44px;
  letter-spacing: -.015em;
  line-height: 1.15;
  position: relative;
  padding-bottom: 18px;
}
.admission-policies-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: 2px;
}

/* Admission feature items — mirrors home-v2 .feature-item pattern */
.admission-feature {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 30px 4px;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  transition: padding-left .3s ease;
}
.admission-feature::before {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: linear-gradient(to right, var(--blue), var(--amber));
  transition: width .4s ease;
}
.admission-feature:last-child { border-bottom: none; }
.admission-feature:hover { padding-left: 14px; }
.admission-feature:hover::before { width: 100%; }

.admission-feature-num {
  flex-shrink: 0;
  min-width: 78px;
  font-family: 'Poppins', sans-serif;
  font-size: 54px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform .3s ease;
}
.admission-feature:hover .admission-feature-num {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.admission-feature-content {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}
.admission-feature-content > p {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.85;
  margin: 0;
}

/* Special feature (BTVTED, BSCRIM) — has intro + numbered list */
.admission-feature-lead {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 20px;
  line-height: 1.55;
  letter-spacing: -.005em;
}
.admission-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: af-counter;
}
.admission-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  counter-increment: af-counter;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.65;
}
.admission-feature-list li::before {
  content: counter(af-counter, decimal-leading-zero);
  flex-shrink: 0;
  width: 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -.01em;
}

/* NOA closing card — P6 */
.admission-noa-card {
  max-width: 920px;
  margin: 36px auto 0;
  padding: 32px 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--amber);
  box-shadow: 0 4px 14px rgba(10,31,76,.04);
  position: relative;
}
.admission-noa-card::before {
  content: '';
  position: absolute;
  top: 24px; right: 28px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(212,160,23,.15);
}
.admission-noa-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.75;
  margin: 0;
  letter-spacing: -.005em;
}

@media (max-width: 760px) {
  .admission-page { padding: 56px 0 64px; }
  .admission-hero-card { padding: 36px 24px; margin-bottom: 40px; border-radius: 14px; }
  .admission-hero-text { font-size: 16px; line-height: 1.75; }
  .admission-policies-title { font-size: 26px; margin-bottom: 28px; }
  .admission-feature { gap: 18px; padding: 22px 4px; }
  .admission-feature:hover { padding-left: 8px; }
  .admission-feature-num { min-width: 54px; font-size: 38px; }
  .admission-feature-content { padding-top: 4px; }
  .admission-feature-content > p { font-size: 15px; line-height: 1.8; }
  .admission-feature-lead { font-size: 15px; margin-bottom: 16px; }
  .admission-feature-list li { font-size: 14px; }
  .admission-feature-list li::before { width: 24px; font-size: 13px; }
  .admission-noa-card { padding: 24px 22px; margin-top: 24px; }
  .admission-noa-card p { font-size: 15px; }
  .admission-noa-card::before { top: 18px; right: 20px; }
}

/* Registration for Admission — Steps section wrapper */
.admission-steps-section {
  padding: 90px 0;
  background: var(--white);
}
.admission-steps-section .admission-steps {
  max-width: 720px;
  margin: 48px auto 0;
}

/* Registration for Admission — Policy cards */
.policy-section {
  padding: 90px 0;
  background: #F3F6FB;
}
.policy-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.policy-section-header .section-label { justify-content: center; }
.policy-section-header .section-label::before { display: none; }

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.policy-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 36px 32px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.policy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.policy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(10,31,76,.14);
  border-color: transparent;
}
.policy-card:hover::before { transform: scaleX(1); }

.policy-card-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
  padding: 5px 13px;
  background: rgba(212,160,23,.10);
  border: 1px solid rgba(212,160,23,.28);
  border-radius: 100px;
  margin-bottom: 16px;
}
.policy-card-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}
.policy-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -.01em;
  transition: color .25s ease;
}
.policy-card:hover h4 { color: var(--blue-deeper); }
.policy-card > p {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 14px;
}
.policy-card > p:last-child { margin-bottom: 0; }

/* Bulleted requirement list */
.policy-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}
.policy-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-top: 8px;
}

/* Numbered requirements (BTVTED, BSCRIM) */
.policy-numbered {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: policy-counter;
}
.policy-numbered li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  counter-increment: policy-counter;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}
.policy-numbered li::before {
  content: counter(policy-counter, decimal-leading-zero);
  flex-shrink: 0;
  width: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Span both columns for special program cards */
.policy-card--special { grid-column: span 2; }
.policy-card--special .policy-card-tag {
  background: rgba(27,79,176,.08);
  border-color: rgba(27,79,176,.25);
  color: var(--blue);
}
.policy-card--special .policy-card-tag::before { background: var(--blue); }

/* Important Notes — info boxes */
.policy-notes-section {
  padding: 80px 0;
  background: var(--white);
}
.policy-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 48px auto 0;
}
.policy-note {
  position: relative;
  background: #F3F6FB;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 32px 28px;
  border-left: 3px solid var(--amber);
}
.policy-note h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.policy-note h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.policy-note p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 760px) {
  .admission-steps-section { padding: 60px 0; }
  .admission-steps-section .admission-steps { margin-top: 32px; }
  .policy-section { padding: 60px 0; }
  .policy-section-header { margin-bottom: 32px; }
  .policy-grid { grid-template-columns: 1fr; gap: 16px; }
  .policy-card { padding: 28px 22px; }
  .policy-card--special { grid-column: auto; }
  .policy-notes-section { padding: 56px 0; }
  .policy-notes-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .policy-note { padding: 24px 20px; }
}

/* ============================================================
   BOARD OF TRUSTEES — v2 designed page
============================================================ */
.bot-page {
  padding: 72px 0 96px;
  background: var(--white);
}

/* Section separator — horizontal hairline with central amber dot.
   Sits between bot-hero/Board/Officers groups so each section reads
   as a distinct block without competing with the group headings. */
.bot-section-divider {
  width: 100%;
  max-width: 1080px;
  height: 1px;
  margin: 56px auto;
  position: relative;
  background: linear-gradient(90deg, transparent, var(--gray-200) 25%, var(--gray-200) 75%, transparent);
}
.bot-section-divider::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  background: var(--amber);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(212,160,23,.35);
}
/* (bot-section-divider mobile margin handled in the unified breakpoints below) */

/* Hero group photo */
.bot-hero {
  max-width: 1080px;
  margin: 0 auto 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bot-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: var(--gray-100);
}
.bot-hero-caption {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 18px 0 6px;
}

/* Section group (BOT, Officers) */
.bot-group {
  max-width: 1080px;
  margin: 0 auto 56px;
}
.bot-group:last-of-type { margin-bottom: 0; }
.bot-group-header {
  text-align: center;
  margin-bottom: 36px;
}
.bot-group-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 10px;
}
.bot-group-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.015em;
  line-height: 1.15;
  position: relative;
  padding-bottom: 14px;
}
.bot-group-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: 2px;
}

/* Grid layouts */
.bot-grid {
  display: grid;
  gap: 22px;
}
.bot-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bot-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 0 auto; }
.bot-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; }
.bot-grid--tier2 { margin-top: 22px; }

/* Member card */
.bot-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.bot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10,31,76,.10);
  border-color: transparent;
}
.bot-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.bot-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
  transition: transform .5s ease;
}
/* Per-portrait face crop overrides — keeps inline styles out of the markup */
.bot-card-photo img[data-pos="10"] { object-position: 50% 10%; }
.bot-card-photo img[data-pos="13"] { object-position: 50% 13%; }
.bot-card-photo img[data-pos="20"] { object-position: 50% 20%; }
.bot-card-photo img[data-pos="30"] { object-position: 50% 30%; }
.bot-card:hover .bot-card-photo img { transform: scale(1.04); }
.bot-card-info {
  padding: 20px 22px 22px;
  text-align: center;
  border-top: 3px solid var(--amber);
}
.bot-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -.005em;
  line-height: 1.3;
  text-transform: uppercase;
}
.bot-card-role {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin: 0;
  line-height: 1.4;
}

/* ——— TABLET / iPAD LANDSCAPE (≤ 960px) ——————————————————————————————— */
@media (max-width: 960px) {
  .bot-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .bot-grid--3 { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
}

/* ——— iPAD PORTRAIT (≤ 768px) ————————————————————————————————————————
   Full 2-col grids; loosen the --2 max-width so leaders fill the column. */
@media (max-width: 768px) {
  .bot-page            { padding: 56px 0 72px; }
  .bot-hero            { margin-bottom: 44px; }
  .bot-group           { margin-bottom: 40px; }
  .bot-section-divider { margin: 40px auto; }
  .bot-grid            { gap: 18px; }
  .bot-grid--2         { max-width: 100%; }
  .bot-grid--tier2     { margin-top: 18px; }
  .bot-group-header    { margin-bottom: 28px; }
}

/* ——— LARGE PHONE (≤ 600px) ——————————————————————————————————————————
   Shrink card chrome; still 2-col for all grids.
   Group photo: strip inner padding so the image fills the full card width,
   then force a taller crop (object-fit cover) so faces aren't tiny. */
@media (max-width: 600px) {
  .bot-page            { padding: 48px 0 60px; }
  .bot-hero            { margin-bottom: 36px; }
  .bot-hero-caption    { margin-top: 12px; }
  .bot-group           { margin-bottom: 32px; }
  .bot-section-divider { margin: 32px auto; }
  .bot-grid            { gap: 14px; }
  .bot-grid--tier2     { margin-top: 14px; }
  .bot-group-header    { margin-bottom: 22px; }
  .bot-card-info       { padding: 14px 16px 16px; }
  .bot-card-name       { font-size: 14px; }
  .bot-card-role       { font-size: 12.5px; }
}

/* ——— PHONE (≤ 430px) ————————————————————————————————————————————————
   2-col 2×2 grid for 4-card groups; Chairman+President pair stays 2-col.
   Tighten padding so names/roles don't feel cramped. */
@media (max-width: 430px) {
  .bot-grid            { gap: 10px; }
  .bot-grid--4,
  .bot-grid--3         { max-width: none; }
  .bot-grid--tier2     { margin-top: 10px; }
  .bot-card-info       { padding: 10px 12px 12px; }
  .bot-card-name       { font-size: 12.5px; letter-spacing: 0; }
  .bot-card-role       { font-size: 11px; }
}

/* ——— SMALL PHONE (≤ 370px) ——————————————————————————————————————————
   Switch to 1-col; restore readable font sizes.
   President/CEO card is reordered to appear first (Chairman stays first on desktop). */
@media (max-width: 370px) {
  .bot-grid--4,
  .bot-grid--3,
  .bot-grid--2         { grid-template-columns: 1fr; max-width: 310px; margin: 0 auto; }
  .bot-grid--tier2     { margin-top: 14px; }
  .bot-card-info       { padding: 14px 18px 16px; }
  .bot-card-name       { font-size: 14px; letter-spacing: -.005em; }
  .bot-card-role       { font-size: 12.5px; }
  .bot-card--president { order: -1; }
}

@media print {
  .bot-page { background: var(--white) !important; padding: 24px 0 !important; }
  .bot-hero,
  .bot-card {
    box-shadow: none !important;
    border: 1px solid var(--gray-300) !important;
    page-break-inside: avoid;
  }
}

/* ============================================================
   SENIOR HIGH SCHOOL — v2 designed page
============================================================ */
.shs-page {
  padding: 72px 0 24px;
  background: var(--white);
}
.shs-tracks-section {
  padding: 72px 0;
}
.shs-tracks-section--white { background: var(--white); }
.shs-tracks-section--gray { background: var(--gray-100); }
.shs-closing-section {
  padding: 24px 0 96px;
  background: var(--white);
}

/* Intro: text + image */
.shs-intro {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto 64px;
}
.shs-intro-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 12px;
}
.shs-intro-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.shs-intro-title span { color: var(--amber-dark); }
.shs-intro p {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.8;
  margin: 0 0 16px;
}
.shs-intro p strong { color: var(--navy); font-weight: 700; }
.shs-intro p:last-child { margin-bottom: 0; }
.shs-intro-img {
  width: 100%;
  border-radius: var(--radius-lg);
  /* background: var(--gray-100); */
}

/* Logos row — "Recognized By" card */
.shs-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  margin: 56px auto 0;
  padding: 32px 48px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  max-width: 720px;
  position: relative;
  box-shadow: 0 4px 16px rgba(10,31,76,.04);
}
.shs-logos::before {
  content: 'Recognized By';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 2px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
}
.shs-logos img {
  height: 96px;
  width: auto;
  opacity: .92;
  transition: opacity .3s ease, transform .3s ease;
}
.shs-logos img:hover { opacity: 1; transform: scale(1.04); }

/* Affordability highlights — 4 cards (merged Vouchers + No Exam) */
.shs-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.shs-highlight {
  background: linear-gradient(135deg, var(--white) 0%, var(--amber-light) 100%);
  border: 1px solid rgba(212,160,23,.25);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.shs-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(212,160,23,.18);
}
.shs-highlight-num {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.shs-highlight-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.4;
}

/* Section group (Tech-Voc, Academic) */
.shs-section-header {
  text-align: center;
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.shs-section-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 10px;
}
.shs-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.015em;
  line-height: 1.15;
  position: relative;
  padding-bottom: 14px;
}
.shs-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: 2px;
}
.shs-section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-700);
  max-width: 640px;
  margin: 14px auto 0;
  line-height: 1.65;
}

.shs-strands-section {
  max-width: 1080px;
  margin: 0 auto 64px;
}
.shs-strands-grid {
  display: grid;
  gap: 22px;
}
.shs-strands-grid--2 { grid-template-columns: repeat(2, 1fr); }
.shs-strands-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Strand card */
.shs-strand {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.shs-strand::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  z-index: 2;
}
.shs-strand:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(10,31,76,.12);
  border-color: transparent;
}
.shs-strand:hover::before { transform: scaleX(1); }
.shs-strand-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--gray-100);
  transition: transform .5s ease;
}
.shs-strand:hover .shs-strand-img { transform: scale(1.04); }
.shs-strand-body {
  padding: 22px 24px 24px;
}
.shs-strand-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.shs-strand-badge--tvl {
  color: var(--blue-deeper);
  background: rgba(27,79,176,.10);
  border: 1px solid rgba(27,79,176,.20);
}
.shs-strand-badge--academic {
  color: var(--amber-dark);
  background: rgba(212,160,23,.10);
  border: 1px solid rgba(212,160,23,.25);
}
.shs-strand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 4px;
  letter-spacing: -.005em;
  line-height: 1.25;
}
.shs-strand-full {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-500);
  font-style: italic;
  margin: 0 0 10px;
  line-height: 1.4;
}
.shs-strand-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0;
}

/* Closing section with requirements */
.shs-closing {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 48px;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.shs-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 100%, rgba(255,215,0,.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(27,79,176,.15) 0%, transparent 55%);
  pointer-events: none;
}
.shs-closing-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.shs-closing-pitch h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 14px;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.shs-closing-pitch p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin: 0 0 14px;
}
.shs-closing-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--amber);
  margin-top: 18px !important;
  letter-spacing: -.005em;
}

/* Closing CTA band */
.shs-closing-statement {
  max-width: 1080px;
  margin: 40px auto 0;
  padding: 40px 48px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 55%, var(--blue) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.shs-closing-statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 4% 50%, rgba(212,160,23,.13) 0%, transparent 42%),
    radial-gradient(circle at 96% 50%, rgba(27,79,176,.18) 0%, transparent 42%);
  pointer-events: none;
}
.shs-closing-statement p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.25;
  flex: 1;
  position: relative;
}
.shs-closing-statement p span {
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.shs-closing-statement .shs-closing-cta {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0;
  position: relative;
  box-shadow: 0 4px 16px rgba(255,255,255,.25);
}
.shs-closing-statement .shs-closing-cta:hover {
  background: var(--gray-100);
  box-shadow: 0 6px 20px rgba(255,255,255,.35);
}
.shs-intro-cta,
.shs-closing-cta {
  margin-top: 24px;
}

/* Admission requirements callout */
.shs-requirements {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid var(--amber);
  border-radius: 12px;
  padding: 24px 26px;
}
.shs-requirements-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 8px;
}
.shs-requirements h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px;
  letter-spacing: -.005em;
}
.shs-requirements ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.shs-requirements li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.shs-requirements li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 7px;
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .shs-intro { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  .shs-intro-img { max-width: 480px; margin: 0 auto; }
  .shs-intro-cta { display: block; width: fit-content; min-width: 220px; text-align: center; margin-left: auto; margin-right: auto; }
  .shs-intro-cta svg { display: none; }
  .shs-highlights { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shs-strands-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .shs-tracks-section { padding: 48px 0; }
  .shs-closing { padding: 36px 32px; }
  .shs-closing-grid { grid-template-columns: 1fr; gap: 28px; }
  .shs-closing-section { padding: 0 0 72px; }
  .shs-closing-statement { margin-top: 32px; padding: 32px 28px; flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 600px) {
  .shs-page { padding: 56px 0 48px; }
  .shs-logos { gap: 28px; padding: 24px 28px; margin-top: 40px; }
  .shs-logos img { height: 72px; }
  .shs-highlights { grid-template-columns: repeat(2, 1fr); }
  .shs-strands-grid--2,
  .shs-strands-grid--3 { grid-template-columns: 1fr; }
  .shs-strand-img { height: 180px; }
  .shs-closing { padding: 28px 24px; }
  .shs-closing-statement { margin-top: 24px; padding: 24px 20px; gap: 20px; }
  .shs-closing-statement p { font-size: 17px; }
  .shs-closing-statement .shs-closing-cta { width: 100%; justify-content: center; }
  .shs-closing-statement .shs-closing-cta svg { display: none; }
}

/* ============================================================
   SHS v2 — REDESIGN ADDITIONS
============================================================ */

/* Intro media — image with floating badges */
.shs-intro-media {
  position: relative;
}
.shs-intro-media .shs-intro-img {
  display: block;
}
.shs-intro-tag {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(10,31,76,.12);
  max-width: 220px;
  z-index: 2;
}
.shs-intro-tag--tl { top: 18px; left: -22px; }
.shs-intro-tag--br { bottom: 24px; right: -22px; }
.shs-intro-tag-ic {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(212,160,23,.14);
  color: var(--amber-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.shs-intro-tag--br .shs-intro-tag-ic {
  background: rgba(27,79,176,.10);
  color: var(--blue);
}
.shs-intro-tag-ic svg { width: 18px; height: 18px; }
.shs-intro-tag strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.005em;
  line-height: 1.2;
}
.shs-intro-tag span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--gray-500);
  margin-top: 1px;
}

/* Why MDC SHS — feature cards */
.shs-features-section {
  padding: 80px 0;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.shs-features-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: var(--amber-light);
  border-radius: 50%;
  opacity: .45;
  filter: blur(6px);
}
.shs-features-section .container { position: relative; z-index: 1; }
.shs-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.shs-feature {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.shs-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,31,76,.10);
  border-color: transparent;
}
.shs-feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.shs-feature-icon::after {
  content: '';
  position: absolute;
  bottom: -3px; right: -3px;
  width: 12px; height: 12px;
  background: var(--amber);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.shs-feature-icon svg { width: 24px; height: 24px; }
.shs-feature h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -.005em;
  line-height: 1.3;
}
.shs-feature p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Strand card — image wrap + badge overlay + head + careers */
.shs-strand-img-wrap {
  position: relative;
  overflow: hidden;
}
.shs-strand-img-wrap .shs-strand-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.shs-strand-img-wrap .shs-strand-badge--tvl {
  color: var(--white);
  background: rgba(27,79,176,.92);
  border-color: rgba(255,255,255,.20);
}
.shs-strand-img-wrap .shs-strand-badge--academic {
  color: var(--navy);
  background: rgba(255,215,0,.95);
  border-color: rgba(255,255,255,.25);
}
.shs-strand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.shs-strand-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(212,160,23,.12);
  color: var(--amber-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.shs-strand-icon svg { width: 20px; height: 20px; }
.shs-strand--tvl .shs-strand-icon {
  background: rgba(27,79,176,.10);
  color: var(--blue);
}
.shs-strand-head .shs-strand-name {
  margin: 0;
}
.shs-strand-careers-label {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.shs-strand-careers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
}
/* When a "Sample career paths" label precedes the pills, suppress the duplicate top border/spacing on the pills */
.shs-strand-careers-label + .shs-strand-careers {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.shs-strand-career {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.shs-strand:hover .shs-strand-career {
  background: var(--white);
  border-color: var(--gray-300);
}

/* SHS Recognition Band — dark navy strip between intro and strands */
.shs-rec-band {
  background: var(--navy);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.06);  
}
.shs-rec-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.shs-rec-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin: 0 48px 0 0;
  flex-shrink: 0;
}
.shs-rec-logos {
  display: flex;
  align-items: center;
  gap: 0;
}
.shs-rec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  text-align: center;
}
.shs-rec-item img {
  height: 60px;
  width: auto;
  opacity: .88;
  transition: opacity .25s ease, transform .25s ease;
}
.shs-rec-item img:hover { opacity: 1; transform: scale(1.05); }
.shs-rec-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.shs-rec-item span {
  font-size: 11px;
  color: rgba(255,255,255,.48);
  letter-spacing: .4px;
  display: block;
  margin-top: 2px;
}
.shs-rec-sep {
  display: block;
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,.14);
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 768px) {
  .shs-rec-inner { flex-direction: column; gap: 20px; padding: 4px 0; }
  .shs-rec-label { margin: 0; }
  .shs-rec-logos { gap: 0; }
  .shs-rec-item { padding: 0 24px; }
  .shs-rec-item img { height: 48px; }
}
@media (max-width: 480px) {
  .shs-rec-item { padding: 0 16px; gap: 12px; }
  .shs-rec-item img { height: 40px; }
  .shs-rec-item strong { font-size: 13px; }
}

/* Pathways section */
.shs-pathways-section {
  padding: 80px 0;
  background: var(--gray-100);
}
.shs-pathways {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.shs-pathway {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.shs-pathway::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
}
.shs-pathway--tvl::before {
  background: linear-gradient(90deg, var(--blue-deeper), var(--blue));
}
.shs-pathway--academic::before {
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
}
.shs-pathway:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10,31,76,.12);
  border-color: transparent;
}
.shs-pathway-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(27,79,176,.08);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.shs-pathway--academic .shs-pathway-tag {
  color: var(--amber-dark);
  background: rgba(212,160,23,.12);
}
.shs-pathway h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.shs-pathway > p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0 0 22px;
}
.shs-pathway-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.shs-pathway-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: background .25s ease, border-color .25s ease;
}
.shs-pathway--tvl .shs-pathway-step:hover {
  background: var(--blue-light);
  border-color: var(--blue-light2);
}
.shs-pathway--academic .shs-pathway-step:hover {
  background: var(--amber-light);
  border-color: rgba(212,160,23,.3);
}
.shs-pathway-step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 13px;
}
.shs-pathway-step-text { flex: 1; min-width: 0; }
.shs-pathway-step-text strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  letter-spacing: -.005em;
}
.shs-pathway-step-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.45;
}
.shs-pathway-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  transition: gap .25s ease, color .25s ease;
  text-decoration: none;
}
.shs-pathway--academic .shs-pathway-link { color: var(--amber-dark); }
.shs-pathway-link:hover { gap: 12px; color: var(--blue-dark); }
.shs-pathway--academic .shs-pathway-link:hover { color: var(--navy); }
.shs-pathway-link svg { width: 14px; height: 14px; }

/* Responsive overrides for SHS v2 additions */
@media (max-width: 900px) {
  .shs-intro-tag--tl { top: 10px; left: 10px; }
  .shs-intro-tag--br { bottom: 10px; right: 10px; }
  .shs-features { grid-template-columns: repeat(2, 1fr); }
  .shs-features-section { padding: 56px 0; }
  .shs-pathways { grid-template-columns: 1fr; }
  .shs-pathways-section { padding: 56px 0; }
  .shs-pathway { padding: 30px 26px; }
}
@media (max-width: 600px) {
  .shs-intro-media { display: none; }
  .shs-intro-tag { display: none; }
  .shs-intro-cta { display: block; width: fit-content; min-width: 220px; text-align: center; margin-left: auto; margin-right: auto; }
  .shs-intro-cta svg { display: none; }
  .shs-features { grid-template-columns: 1fr; gap: 16px; }
  .shs-feature { padding: 26px 22px; }
  .shs-pathway { padding: 26px 22px; }
  .shs-pathway-step { padding: 12px 14px; gap: 12px; }
  .shs-strand-careers { gap: 5px; }
  .shs-strand-career { font-size: 11.5px; padding: 3px 9px; }
}

/* ============================================================
   BACCALAUREATE PROGRAMS — v2 designed page
============================================================ */
.bp-page {
  padding: 72px 0 32px;
  background: var(--white);
}

/* Intro */
.bp-intro {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.bp-intro-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 12px;
}
.bp-intro-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.bp-intro-title span { color: var(--amber-dark); }
.bp-intro p {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.8;
  margin: 0 0 16px;
}
.bp-intro p strong { color: var(--navy); font-weight: 700; }
.bp-intro p:last-child { margin-bottom: 0; }
.bp-intro-img {
  width: 100%;
  border-radius: var(--radius-lg);
  /* background: var(--gray-100); */
}

/* College sections (alternating bg) */
.bp-college-section {
  padding: 72px 0;
}
.bp-college-section--white { background: var(--white); }
.bp-college-section--gray { background: var(--gray-100); }

/* College header — logo + name */
.bp-college-header {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 720px;
}
.bp-college-logo {
  height: 96px;
  width: auto;
  margin: 0 auto 16px;
  display: block;
}
.bp-college-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 6px;
}
.bp-college-name {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.015em;
  line-height: 1.2;
  position: relative;
  padding-bottom: 14px;
}
.bp-college-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: 2px;
}

/* Programs list — each card is image-left, text-right */
.bp-programs {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.bp-program {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.bp-program::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--amber));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s ease;
}
.bp-program:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(10,31,76,.12);
  border-color: transparent;
}
.bp-program:hover::before { transform: scaleY(1); }
.bp-program-img-wrap {
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  background: var(--gray-100);
}
.bp-program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
  background-color: #fff;
}
.bp-program:hover .bp-program-img { transform: scale(1.04); }
.bp-program-body {
  padding: 28px 32px 28px 0;
}
.bp-program-name {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.bp-program-acro {
  font-weight: 700;
}
.bp-program-body p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.75;
  margin: 0;
}
.bp-program-body p strong { color: var(--navy); font-weight: 700; }

/* Closing — pitch + requirements card */
.bp-closing-section {
  padding: 24px 0 96px;
  background: var(--white);
}
.bp-closing {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 48px;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.bp-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 100%, rgba(255,215,0,.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(27,79,176,.15) 0%, transparent 55%);
  pointer-events: none;
}
.bp-closing-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.bp-closing-pitch h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 14px;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.bp-closing-pitch p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin: 0;
}

/* Requirements aside */
.bp-requirements {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid var(--amber);
  border-radius: 12px;
  padding: 24px 26px;
}
.bp-requirements-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 8px;
}
.bp-requirements-label--alt {
  margin-top: 22px;
}
.bp-requirements h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px;
  letter-spacing: -.005em;
}
.bp-requirements ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.bp-requirements li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.bp-requirements li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 7px;
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
}

/* Statement piece + CTA */
.bp-closing-statement {
  max-width: 1080px;
  margin: 40px auto 0;
  padding: 40px 48px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 55%, var(--blue) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.bp-closing-statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 4% 50%, rgba(212,160,23,.13) 0%, transparent 42%),
    radial-gradient(circle at 96% 50%, rgba(27,79,176,.18) 0%, transparent 42%);
  pointer-events: none;
}
.bp-closing-statement p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.25;
  flex: 1;
  position: relative;
}
.bp-closing-statement p span {
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.bp-closing-statement .bp-closing-cta {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0;
  position: relative;
  box-shadow: 0 4px 16px rgba(255,255,255,.25);
}
.bp-closing-statement .bp-closing-cta:hover {
  background: var(--gray-100);
  box-shadow: 0 6px 20px rgba(255,255,255,.35);
}
.bp-intro-cta,
.bp-closing-cta {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .bp-intro { grid-template-columns: 1fr; gap: 32px; }
  .bp-intro-img { max-width: 480px; margin: 0 auto; }
  .bp-college-section { padding: 56px 0; }
  .bp-college-logo { height: 80px; }
  .bp-program {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .bp-program-img-wrap { height: auto; min-height: unset; max-height: unset; aspect-ratio: 16/9; }
  .bp-program-body { padding: 24px 28px 28px; }
  .bp-closing { padding: 36px 32px; }
  .bp-closing-grid { grid-template-columns: 1fr; gap: 28px; }
  .bp-closing-section { padding: 0 0 72px; }
  .bp-intro-cta { display: block; width: fit-content; min-width: 220px; text-align: center; margin-left: auto; margin-right: auto; }
  .bp-intro-cta svg { display: none; }
  .bp-closing-statement { margin-top: 32px; padding: 32px 28px; flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 600px) {
  .bp-page { padding: 56px 0 24px; }
  .bp-college-section { padding: 48px 0; }
  .bp-college-logo { height: 64px; }
  .bp-college-header { margin-bottom: 32px; }
  .bp-program-img-wrap { aspect-ratio: 4/3; }
  .bp-program-body { padding: 20px 22px 22px; }
  .bp-program-name { font-size: 17px; }
  .bp-closing { padding: 28px 24px; }
  .bp-closing-statement { margin-top: 24px; padding: 24px 20px; gap: 20px; }
  .bp-closing-statement p { font-size: 17px; }
  .bp-closing-statement .bp-closing-cta { width: 100%; justify-content: center; }
  .bp-closing-statement .bp-closing-cta svg { display: none; }
}

/* ============================================================
   BACCALAUREATE — v2 REDESIGN ADDITIONS
============================================================ */

/* Intro media — image w/ floating tags */
.bp-intro-media { position: relative; }
.bp-intro-media .bp-intro-img { display: block; }
.bp-intro-tag {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(10,31,76,.12);
  max-width: 220px;
  z-index: 2;
}
.bp-intro-tag--tl { top: 18px; left: -22px; }
.bp-intro-tag--br { bottom: 24px; right: -22px; }
.bp-intro-tag-ic {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(212,160,23,.14);
  color: var(--amber-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.bp-intro-tag--br .bp-intro-tag-ic {
  background: rgba(27,79,176,.10);
  color: var(--blue);
}
.bp-intro-tag-ic svg { width: 18px; height: 18px; }
.bp-intro-tag strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.005em;
  line-height: 1.2;
}
.bp-intro-tag span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--gray-500);
  margin-top: 1px;
}

/* Section header (shared by features + outcomes) */
.bp-section-header {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 720px;
}
.bp-section-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 10px;
}
.bp-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.015em;
  line-height: 1.15;
  position: relative;
  padding-bottom: 14px;
}
.bp-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: 2px;
}
.bp-section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 16px auto 0;
  max-width: 640px;
}

/* Why MDC Baccalaureate — feature cards */
.bp-features-section {
  padding: 80px 0;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.bp-features-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: var(--amber-light);
  border-radius: 50%;
  opacity: .45;
  filter: blur(6px);
}
.bp-features-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  background: var(--blue-light);
  border-radius: 50%;
  opacity: .5;
  filter: blur(8px);
}
.bp-features-section .container { position: relative; z-index: 1; }
.bp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.bp-feature {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.bp-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,31,76,.10);
  border-color: transparent;
}
.bp-feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.bp-feature-icon::after {
  content: '';
  position: absolute;
  bottom: -3px; right: -3px;
  width: 12px; height: 12px;
  background: var(--amber);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.bp-feature-icon svg { width: 24px; height: 24px; }
.bp-feature h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -.005em;
  line-height: 1.3;
}
.bp-feature p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Program card — overlay badge, head icon, chips */
.bp-program-img-wrap { position: relative; }
.bp-program-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  color: var(--navy);
  background: rgba(255,215,0,.95);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.bp-program-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.bp-program-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(27,79,176,.10);
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.bp-program-icon svg { width: 21px; height: 21px; }
.bp-program-head .bp-program-name { margin: 0; }
.bp-program-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--gray-200);
}
.bp-program-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.bp-program-chip svg {
  width: 13px; height: 13px;
  color: var(--blue);
  flex-shrink: 0;
}
.bp-program-chip--major {
  color: var(--blue-deeper);
  background: var(--blue-light);
  border-color: rgba(27,79,176,.18);
  font-weight: 700;
}
.bp-program-chip--accent {
  color: var(--amber-dark);
  background: var(--amber-light);
  border-color: rgba(212,160,23,.25);
}
.bp-program-chip--accent svg { color: var(--amber-dark); }
.bp-program:hover .bp-program-chip {
  background: var(--white);
  border-color: var(--gray-300);
}
.bp-program:hover .bp-program-chip--major { background: var(--white); }
.bp-program:hover .bp-program-chip--accent { background: var(--white); }

/* Career Outcomes section */
.bp-outcomes-section {
  padding: 80px 0;
  background: var(--white);
}
.bp-outcomes-label {
  display: block;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 18px;
}
.bp-outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.bp-outcome {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.bp-outcome::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.bp-outcome:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,31,76,.10);
  border-color: transparent;
}
.bp-outcome:hover::before { transform: scaleX(1); }
.bp-outcome-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(212,160,23,.12);
  color: var(--amber-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.bp-outcome-icon svg { width: 22px; height: 22px; }
.bp-outcome h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -.005em;
  line-height: 1.3;
}
.bp-outcome p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}
.bp-outcome-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
}
.bp-outcome-tags span {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 9px;
  border-radius: 100px;
}

/* Closing tagline (parallels SHS) */
.bp-closing-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: var(--amber) !important;
  margin-top: 18px !important;
  letter-spacing: -.005em !important;
}

/* Responsive overrides for BP v2 additions */
@media (max-width: 900px) {
  .bp-intro-tag--tl { top: 10px; left: 10px; }
  .bp-intro-tag--br { bottom: 10px; right: 10px; }
  .bp-features { grid-template-columns: repeat(2, 1fr); }
  .bp-features-section { padding: 56px 0; }
  .bp-outcomes { grid-template-columns: repeat(2, 1fr); }
  .bp-outcomes-section { padding: 56px 0; }
  .bp-program-head { gap: 12px; }
  .bp-program-icon { width: 38px; height: 38px; }
  .bp-program-icon svg { width: 19px; height: 19px; }
}
@media (max-width: 600px) {
  .bp-intro-media { display: none; }
  .bp-intro-tag { display: none; }
  .bp-features { grid-template-columns: 1fr; gap: 16px; }
  .bp-feature { padding: 26px 22px; }
  .bp-outcomes { grid-template-columns: 1fr; gap: 16px; }
  .bp-outcome { padding: 24px 22px; }
  .bp-program-chips { gap: 6px; }
  .bp-program-chip { font-size: 11.5px; padding: 4px 9px; }
  .bp-program-badge { font-size: 9.5px; padding: 4px 10px; }
}

/* ============================================================
   THREE-YEAR DIPLOMA PROGRAM — v2 designed page
============================================================ */
.dp-page {
  padding: 72px 0 32px;
  background: var(--white);
}

/* Intro */
.dp-intro {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.dp-intro-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 12px;
}
.dp-intro-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.dp-intro-title span { color: var(--amber-dark); }
.dp-intro p {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.8;
  margin: 0 0 16px;
}
.dp-intro p strong { color: var(--navy); font-weight: 700; }
.dp-intro p:last-child { margin-bottom: 0; }
.dp-intro-img {
  width: 100%;
  border-radius: var(--radius-lg);
  /* box-shadow: 0 20px 44px rgba(10,31,76,.12); */
  /* background: var(--gray-100); */
}

/* Section wrappers — alternating bg */
.dp-scholarship-section,
.dp-courses-section,
.dp-requirements-section {
  padding: 72px 0;
}
.dp-scholarship-section { background: var(--gray-100); }
.dp-courses-section { background: var(--white); }
.dp-requirements-section { background: var(--gray-100); }

/* Shared section header */
.dp-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.dp-section-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 8px;
}
.dp-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.015em;
  line-height: 1.15;
  position: relative;
  padding-bottom: 14px;
}
.dp-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: 2px;
}

/* Scholarship cards (benefits + qualifications) */
.dp-scholarship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.dp-scholarship-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.dp-scholarship-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(10,31,76,.10);
}
.dp-scholarship-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.dp-scholarship-icon svg { width: 22px; height: 22px; }
.dp-scholarship-card--benefits .dp-scholarship-icon {
  background: rgba(212,160,23,.12);
  color: var(--amber-dark);
}
.dp-scholarship-card--qualifications .dp-scholarship-icon {
  background: rgba(27,79,176,.10);
  color: var(--blue-deeper);
}
.dp-scholarship-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
.dp-scholarship-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}
.dp-scholarship-list > li {
  position: relative;
  padding-left: 20px;
}
.dp-scholarship-list > li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.dp-scholarship-card--qualifications .dp-scholarship-list > li::before {
  background: var(--blue);
}
.dp-scholarship-sublist {
  list-style: decimal;
  margin: 10px 0 0;
  padding-left: 22px;
  display: flex; flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: var(--gray-500);
}

/* Courses offered — 4 cards */
.dp-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.dp-course {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.dp-course::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.dp-course:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(10,31,76,.12);
  border-color: transparent;
}
.dp-course:hover::before { transform: scaleX(1); }
.dp-course-code {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--amber-dark);
  letter-spacing: .02em;
  margin-bottom: 10px;
}
.dp-course-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.5;
}

/* Requirements — 2 card columns */
.dp-requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.dp-req-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.dp-req-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(10,31,76,.10);
}
.dp-req-card-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.dp-req-card-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-deeper);
  background: rgba(27,79,176,.10);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.dp-req-card-head h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.dp-req-list {
  list-style: decimal;
  margin: 0;
  padding-left: 22px;
  display: flex; flex-direction: column;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.55;
}
.dp-req-list li::marker {
  color: var(--amber-dark);
  font-weight: 700;
}
.dp-req-note {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 16px 22px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--gray-700);
  background: rgba(255,215,0,.08);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  line-height: 1.6;
}
.dp-req-note strong { color: var(--navy); font-weight: 700; }

/* Closing — single CTA card */
.dp-closing-section {
  padding: 72px 0 96px;
  background: var(--white);
}
.dp-closing {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.dp-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 100%, rgba(255,215,0,.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(27,79,176,.15) 0%, transparent 55%);
  pointer-events: none;
}
.dp-closing > * { position: relative; }
.dp-closing h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 14px;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.dp-closing p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin: 0 auto 24px;
  max-width: 640px;
}
.dp-intro-cta,
.dp-closing-cta {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .dp-intro { grid-template-columns: 1fr; gap: 32px; }
  .dp-intro-img { max-width: 480px; margin: 0 auto; }
  .dp-intro-cta { display: block; width: fit-content; min-width: 220px; text-align: center; margin-left: auto; margin-right: auto; }
  .dp-intro-cta svg { display: none; }
  .dp-scholarship-section,
  .dp-courses-section,
  .dp-requirements-section { padding: 56px 0; }
  .dp-scholarship-grid,
  .dp-requirements-grid { grid-template-columns: 1fr; }
  .dp-courses-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-closing-section { padding: 56px 0 72px; }
  .dp-closing { padding: 40px 32px; }
}
@media (max-width: 600px) {
  .dp-page { padding: 56px 0 24px; }
  .dp-scholarship-card,
  .dp-req-card { padding: 24px 22px; }
  .dp-courses-grid { grid-template-columns: 1fr; }
  .dp-closing { padding: 32px 24px; }
}

/* ============================================================
   THREE-YEAR DIPLOMA — v2 REDESIGN ADDITIONS
============================================================ */

/* Intro media — image with floating tags */
.dp-intro-media { position: relative; }
.dp-intro-media .dp-intro-img { display: block; }
.dp-intro-tag {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(10,31,76,.12);
  max-width: 220px;
  z-index: 2;
}
.dp-intro-tag--tl { top: 18px; left: -22px; }
.dp-intro-tag--br { bottom: 24px; right: -22px; }
.dp-intro-tag-ic {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(212,160,23,.14);
  color: var(--amber-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.dp-intro-tag--br .dp-intro-tag-ic {
  background: rgba(27,79,176,.10);
  color: var(--blue);
}
.dp-intro-tag-ic svg { width: 18px; height: 18px; }
.dp-intro-tag strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.005em;
  line-height: 1.2;
}
.dp-intro-tag span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--gray-500);
  margin-top: 1px;
}

/* Why This Program — feature cards */
.dp-features-section {
  padding: 80px 0;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.dp-features-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: var(--amber-light);
  border-radius: 50%;
  opacity: .45;
  filter: blur(6px);
}
.dp-features-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  background: var(--blue-light);
  border-radius: 50%;
  opacity: .5;
  filter: blur(8px);
}
.dp-features-section .container { position: relative; z-index: 1; }
.dp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.dp-feature {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.dp-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,31,76,.10);
  border-color: transparent;
}
.dp-feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.dp-feature-icon::after {
  content: '';
  position: absolute;
  bottom: -3px; right: -3px;
  width: 12px; height: 12px;
  background: var(--amber);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.dp-feature-icon svg { width: 24px; height: 24px; }
.dp-feature h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -.005em;
  line-height: 1.3;
}
.dp-feature p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Enhanced course card — icon + careers */
.dp-course-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  position: relative;
}
.dp-course-icon::after {
  content: '';
  position: absolute;
  bottom: -3px; right: -3px;
  width: 11px; height: 11px;
  background: var(--amber);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.dp-course-icon svg { width: 22px; height: 22px; }
.dp-course-careers-label {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.dp-course-careers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
}
/* Suppress duplicate top border/spacing when label precedes the pills */
.dp-course-careers-label + .dp-course-careers {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.dp-course-career {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  transition: background .25s ease, border-color .25s ease;
}
.dp-course:hover .dp-course-career {
  background: var(--white);
  border-color: var(--gray-300);
}

/* Closing tagline */
.dp-closing-tagline {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: var(--amber) !important;
  margin: 8px auto 24px !important;
  letter-spacing: -.005em !important;
}

/* ============================================================
   SCHOLARSHIP — redesigned two-panel layout
============================================================ */
.dp-schol-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.dp-schol-panel {
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}
.dp-schol-panel--benefits {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
}
.dp-schol-panel--benefits::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(255,215,0,.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(27,79,176,.18) 0%, transparent 55%);
  pointer-events: none;
}
.dp-schol-panel--qualifications {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.dp-schol-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  position: relative;
}
.dp-schol-panel-head h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.dp-schol-panel--benefits .dp-schol-panel-head h3 { color: var(--white); }
.dp-schol-panel--qualifications .dp-schol-panel-head h3 { color: var(--navy); }
.dp-schol-panel-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dp-schol-panel--benefits .dp-schol-panel-icon { background: rgba(255,215,0,.18); }
.dp-schol-panel--benefits .dp-schol-panel-icon svg { width: 22px; height: 22px; stroke: var(--amber); }
.dp-schol-panel--qualifications .dp-schol-panel-icon { background: rgba(27,79,176,.10); }
.dp-schol-panel--qualifications .dp-schol-panel-icon svg { width: 22px; height: 22px; stroke: var(--blue); }

/* Benefits icon-row list */
.dp-schol-benefit-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.dp-schol-benefit-list > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dp-schol-benefit-ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,215,0,.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dp-schol-benefit-ic svg { width: 18px; height: 18px; stroke: var(--amber); }
.dp-schol-benefit-list strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
.dp-schol-benefit-list span {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,.60);
  line-height: 1.5;
  margin-top: 2px;
}

/* Qualifications checklist */
.dp-schol-qual-list {
  list-style: none;
  padding: 0; margin: 0;
}
.dp-schol-qual-list > li {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  padding: 11px 0 11px 28px;
  border-bottom: 1px dashed var(--gray-200);
  position: relative;
}
.dp-schol-qual-list > li:last-child { border-bottom: none; }
.dp-schol-qual-list > li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(27,79,176,.10);
  border: 2px solid var(--blue);
}
.dp-schol-qual-sublist {
  list-style: decimal;
  padding-left: 20px;
  margin-top: 6px;
}
.dp-schol-qual-sublist li {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  padding: 2px 0;
}

/* ============================================================
   SCHOLARSHIP REDESIGN — Benefit Cards + Qualifications Panel
============================================================ */
.dp-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.dp-benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 28px 24px 30px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.dp-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
  border-color: transparent;
}
.dp-benefit-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.dp-benefit-icon svg { width: 24px; height: 24px; }
.dp-benefit-icon--amber { background: rgba(245,158,11,.12); }
.dp-benefit-icon--amber svg { stroke: #d97706; }
.dp-benefit-icon--blue { background: rgba(27,79,176,.10); }
.dp-benefit-icon--blue svg { stroke: var(--blue); }
.dp-benefit-icon--green { background: rgba(5,150,105,.10); }
.dp-benefit-icon--green svg { stroke: #059669; }
.dp-benefit-icon--navy { background: rgba(10,22,64,.10); }
.dp-benefit-icon--navy svg { stroke: var(--navy); }
.dp-benefit-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.dp-benefit-desc {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* Qualifications Panel */
.dp-qual-panel {
  background: linear-gradient(135deg, var(--navy) 0%, #1b2d6e 100%);
  border-radius: 20px;
  padding: 42px 48px;
  position: relative;
  overflow: hidden;
}
.dp-qual-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 4% 92%, rgba(255,215,0,.08) 0%, transparent 45%),
    radial-gradient(circle at 96% 6%, rgba(255,255,255,.04) 0%, transparent 50%);
  pointer-events: none;
}
.dp-qual-panel-head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: relative;
}
.dp-qual-panel-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,215,0,.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dp-qual-panel-icon svg { width: 24px; height: 24px; stroke: #ffd700; }
.dp-qual-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
  line-height: 1.2;
}
.dp-qual-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  margin: 0;
}
.dp-qual-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
}
.dp-qual-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.dp-qual-item--full { grid-column: 1 / -1; }
.dp-qual-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.dp-qual-check svg { width: 11px; height: 11px; stroke: #ffffff; }
.dp-qual-text {
  font-size: 14px;
  color: rgba(255,255,255,.88);
  line-height: 1.6;
}
.dp-qual-tracks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding-left: 4px;
  list-style: decimal;
  list-style-position: inside;
}
.dp-qual-track {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  display: list-item;
  line-height: 1.5;
}

/* ============================================================
   COURSES — BP-like vertical program listings
============================================================ */
.dp-programs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.dp-program {
  display: grid;
  grid-template-columns: 380px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .25s ease, transform .25s ease;
}
.dp-program:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-2px);
}
.dp-program:nth-child(even) { grid-template-columns: 1fr 380px; }
.dp-program:nth-child(even) .dp-program-img-wrap { order: 2; }
.dp-program:nth-child(even) .dp-program-body { order: 1; }
.dp-program-img-wrap {
  position: relative;
  min-height: 280px;
  background: var(--gray-100);
  overflow: hidden;
}
.dp-program-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.dp-program:hover .dp-program-img { transform: scale(1.04); }
.dp-program-logo-wrap {
  position: absolute;
  bottom: 16px; left: 16px;
  width: 58px; height: 58px;
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
}
.dp-program:nth-child(even) .dp-program-logo-wrap { left: auto; right: 16px; }
.dp-program-logo {
  width: 100%; height: 100%;
  object-fit: cover;
}
.dp-program-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.dp-program-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.dp-program-code {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: rgba(212,160,23,.12);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(212,160,23,.30);
  width: fit-content;
}
.dp-program-name {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.dp-program-desc {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.75;
  margin: 0 0 22px;
}
.dp-program-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.dp-program-chip {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 5px 13px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
}
.dp-program-chip--major {
  color: var(--blue);
  background: rgba(27,79,176,.07);
  border-color: rgba(27,79,176,.20);
  font-weight: 600;
}

/* ============================================================
   REQUIREMENTS — redesigned checklist cards
============================================================ */
.dp-req-v2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.dp-req-v2-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.dp-req-v2-head {
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  position: relative;
}
.dp-req-v2-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(255,215,0,.12) 0%, transparent 60%);
  pointer-events: none;
}
.dp-req-v2-head--blue {
  background: linear-gradient(135deg, #1b3a7a 0%, var(--navy) 100%);
}
.dp-req-v2-head--blue::after {
  background: radial-gradient(circle at 10% 50%, rgba(212,160,23,.14) 0%, transparent 60%);
}
.dp-req-v2-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.dp-req-v2-badge--blue {
  color: var(--white);
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.30);
}
.dp-req-v2-head h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 4px;
  position: relative; z-index: 1;
  letter-spacing: -.015em;
}
.dp-req-v2-head p {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin: 0;
  position: relative; z-index: 1;
}
.dp-req-v2-list {
  list-style: none;
  padding: 20px 0 20px;
  margin: 0;
}
.dp-req-v2-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.55;
  padding: 10px 30px;
}
.dp-req-v2-list li:last-child { border-bottom: none; }
.dp-req-v2-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(27,79,176,.10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.dp-req-v2-check svg { width: 10px; height: 10px; stroke: var(--blue); }
.dp-req-v2-check--amber { background: rgba(212,160,23,.14); }
.dp-req-v2-check--amber svg { stroke: var(--amber-dark); }

/* Requirement note */
.dp-req-v2-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 24px;
  background: rgba(27,79,176,.07);
  border-radius: 12px;
  border-left: 3px solid var(--blue);
}
.dp-req-v2-note-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dp-req-v2-note-icon svg { width: 18px; height: 18px; stroke: var(--white); }
.dp-req-v2-note p {
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0;
  padding-top: 8px;
}
.dp-req-v2-note strong { color: var(--blue-dark); }

/* Course description */
.dp-course-desc {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 8px 0 0;
  text-align: center;
}

/* Closing — two-column pitch + checklist grid */
.dp-closing-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
  text-align: left;
}
.dp-closing-pitch h3 { text-align: left; margin-bottom: 10px; }
.dp-closing-pitch p  { text-align: left; max-width: none; margin: 0; }
.dp-closing-pitch--centered { text-align: center; max-width: 620px; margin: 0 auto; }
.dp-closing-pitch--centered h3 { text-align: center; }
.dp-closing-pitch--centered p  { text-align: center; }
.dp-closing-aside {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 26px;
  border-left: 3px solid var(--amber);
}
.dp-closing-aside h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}
.dp-closing-aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dp-closing-aside ul li {
  font-size: 13.5px;
  color: rgba(255,255,255,.80);
  line-height: 1.55;
  padding: 6px 0 6px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.dp-closing-aside ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
}
.dp-closing-aside ul li:last-child { border-bottom: none; }

/* Responsive overrides for DP v2 additions */
@media (max-width: 1024px) {
  .dp-program { grid-template-columns: 300px 1fr; }
  .dp-program:nth-child(even) { grid-template-columns: 1fr 300px; }
}
@media (max-width: 900px) {
  .dp-intro-tag--tl { top: 10px; left: 10px; }
  .dp-intro-tag--br { bottom: 10px; right: 10px; }
  .dp-features { grid-template-columns: repeat(2, 1fr); }
  .dp-features-section { padding: 56px 0; }
  .dp-closing-grid { grid-template-columns: 1fr; gap: 24px; }
  .dp-schol-v2 { grid-template-columns: 1fr; }
  .dp-schol-panel { padding: 30px 32px; }
  .dp-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-qual-panel { padding: 32px 36px; }
  .dp-req-v2-grid { grid-template-columns: 1fr; }
  .dp-program,
  .dp-program:nth-child(even) { grid-template-columns: 1fr; }
  .dp-program:nth-child(even) .dp-program-img-wrap,
  .dp-program:nth-child(even) .dp-program-body { order: unset; }
  .dp-program-img-wrap { min-height: 220px; max-height: 260px; }
  .dp-program-body { padding: 26px 28px 30px; }
  .dp-program:nth-child(even) .dp-program-logo-wrap { left: 16px; right: auto; }
}
@media (max-width: 600px) {
  .dp-intro-media { display: none; }
  .dp-intro-tag { display: none; }
  .dp-features { grid-template-columns: 1fr; gap: 16px; }
  .dp-feature { padding: 26px 22px; }
  .dp-course-careers { gap: 4px; }
  .dp-course-career { font-size: 11px; padding: 2px 8px; }
  .dp-schol-panel { padding: 24px 22px; }
  .dp-benefit-grid { grid-template-columns: 1fr; }
  .dp-qual-panel { padding: 28px 24px; }
  .dp-qual-items { grid-template-columns: 1fr; }
  .dp-qual-item--full { grid-column: 1; }
  .dp-program-body { padding: 22px 22px 26px; }
  .dp-req-v2-list li { padding: 9px 22px; }
  .dp-req-v2-head { padding: 22px 22px; }
}

/* ============================================================
   TECH-VOC EDUCATION — v2 designed page
============================================================ */
.tve-page {
  padding: 72px 0 32px;
  background: var(--white);
}

/* Intro */
.tve-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto 64px;
}
.tve-intro-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 12px;
}
.tve-intro-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.tve-intro-title span { color: var(--amber-dark); }
.tve-intro-quote {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--blue-deeper);
  line-height: 1.6;
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--amber);
}
.tve-intro p {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.8;
  margin: 0 0 16px;
}
.tve-intro p strong { color: var(--navy); font-weight: 700; }
.tve-intro p:last-child { margin-bottom: 0; }
.tve-intro-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 17%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px rgba(10,31,76,.12);
  background: var(--gray-100);
}

/* Intro media — image with floating tags */
.tve-intro-media { position: relative; }
.tve-intro-media .tve-intro-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 17%;
}
.tve-intro-tag {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(10,31,76,.12);
  max-width: 220px;
  z-index: 2;
}
.tve-intro-tag--tl { top: 18px; left: -22px; }
.tve-intro-tag--br { bottom: 24px; right: -22px; }
.tve-intro-tag-ic {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(212,160,23,.14);
  color: var(--amber-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.tve-intro-tag--br .tve-intro-tag-ic {
  background: rgba(27,79,176,.10);
  color: var(--blue);
}
.tve-intro-tag-ic svg { width: 18px; height: 18px; }
.tve-intro-tag strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.005em;
  line-height: 1.2;
}
.tve-intro-tag span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--gray-500);
  margin-top: 1px;
}

/* Section header (shared by features + programs + assessment + reqs) */
.tve-features-section,
.tve-programs-section,
.tve-assessment-section,
.tve-requirements-section { padding: 80px 0; }
.tve-features-section { background: var(--gray-100); position: relative; overflow: hidden; }
.tve-programs-section { background: var(--gray-100); }
.tve-assessment-section { background: var(--white); }
.tve-requirements-section { background: var(--gray-100); }

.tve-features-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: var(--amber-light);
  border-radius: 50%;
  opacity: .45;
  filter: blur(6px);
}
.tve-features-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  background: var(--blue-light);
  border-radius: 50%;
  opacity: .5;
  filter: blur(8px);
}
.tve-features-section .container { position: relative; z-index: 1; }

.tve-section-header {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 720px;
}
.tve-section-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 10px;
}
.tve-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.015em;
  line-height: 1.15;
  position: relative;
  padding-bottom: 14px;
}
.tve-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: 2px;
}
.tve-section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 16px auto 0;
  max-width: 640px;
}

/* Why MDC Tech-Voc — feature cards */
.tve-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.tve-feature {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.tve-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,31,76,.10);
  border-color: transparent;
}
.tve-feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.tve-feature-icon::after {
  content: '';
  position: absolute;
  bottom: -3px; right: -3px;
  width: 12px; height: 12px;
  background: var(--amber);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.tve-feature-icon svg { width: 24px; height: 24px; }
.tve-feature h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -.005em;
  line-height: 1.3;
}
.tve-feature p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* ── Training Programs redesign ── */
.prog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 48px auto 0;
}
.prog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 12px 12px;
  padding: 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.prog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(27,79,176,.1);
  border-color: var(--blue-light2);
  border-top-color: var(--blue);
}
/* Flagship — spans full width, horizontal layout */
.prog-card--flagship {
  grid-column: 1 / -1;
  border-top-color: var(--amber-dark);
  background: linear-gradient(105deg, #fffef5 0%, var(--white) 60%);
  flex-direction: row;
  align-items: center;
  padding: 28px 32px;
}
.prog-card--flagship:hover {
  box-shadow: 0 14px 36px rgba(212,160,23,.1);
  border-top-color: var(--amber-dark);
  border-color: rgba(212,160,23,.25);
}
.prog-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prog-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
/* Decorative number */
.prog-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  line-height: 1;
  user-select: none;
}
.prog-card:not(.prog-card--flagship) .prog-num {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 44px;
  color: rgba(0,0,0,.05);
}
.prog-card--flagship .prog-num {
  font-size: 72px;
  color: rgba(212,160,23,.18);
  padding-left: 28px;
  border-left: 1px dashed rgba(212,160,23,.35);
  margin-left: 20px;
  flex-shrink: 0;
}
/* Code badge */
.prog-code {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}
.prog-card--flagship .prog-code {
  color: var(--amber-dark);
  background: var(--amber-light);
}
/* Flagship tag */
.prog-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-dark);
  background: var(--amber-light);
  border: 1px solid rgba(212,160,23,.3);
  padding: 3px 10px;
  border-radius: 100px;
}
/* Program name */
.prog-name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin: 0;
  padding-right: 44px;
}
.prog-card--flagship .prog-name {
  font-size: 21px;
  padding-right: 0;
}
/* Italic sub-label */
.prog-note {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: var(--gray-500);
  margin-top: 3px;
}
/* Footer: duration */
.prog-foot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  padding-top: 12px;
  border-top: 1px dashed var(--gray-200);
  margin-top: auto;
}
.prog-clock {
  width: 13px; height: 13px;
  flex-shrink: 0;
  color: var(--blue);
}
.prog-card--flagship .prog-clock { color: var(--amber-dark); }

/* ── Training Programs — gallery-card pattern ── */
.prg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
/* Card — mirrors .gl-card */
.prg-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.prg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
/* Visual zone — mirrors .gl-card-img */
.prg-visual {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--gray-200);
}
.prg-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.prg-card:hover .prg-visual img { transform: scale(1.06); }
/* NC code badge — mirrors .gl-card-count */
.prg-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(10,31,76,.18);
}
/* Hover overlay — mirrors .gl-card-overlay */
.prg-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10,31,76,0) 0%, rgba(10,31,76,.78) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 2;
}
.prg-card:hover .prg-overlay { opacity: 1; }
/* Hours pill — mirrors .gl-card-view */
.prg-ov-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
  background: var(--white);
  padding: 9px 18px;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}
.prg-ov-pill svg { color: var(--blue); flex-shrink: 0; }
.prg-card--flagship .prg-ov-pill svg { color: var(--amber-dark); }
/* Body — mirrors .gl-card-body */
.prg-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Flagship star badge */
.prg-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--amber-dark);
  background: var(--amber-light);
  border: 1px solid rgba(212,160,23,.25);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  width: fit-content;
}
/* Program name — mirrors .gl-card-title */
.prg-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
  letter-spacing: -.005em;
}
.prg-title::after { content: ''; display: block; border-bottom: 1px dashed var(--gray-200); margin-top: 10px; }
/* Mobile sub-label — mirrors .gl-card-excerpt */
.prg-sub {
  font-size: 13.5px;
  color: var(--gray-500);
  font-style: italic;
  margin: 4px 0 0;
  line-height: 1.5;
}
.prg-hrs { display: inline-flex; align-items: center; gap: 5px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(27,79,176,.08); border: 1px solid rgba(27,79,176,.15); padding: 3px 10px; border-radius: 100px; margin-top: 6px; width: fit-content; }
.prg-hrs svg { flex-shrink: 0; }
/* Footer: dashed divider + duration — mirrors gl-read-more area */
.prg-foot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
}
.prg-foot svg { color: var(--blue); flex-shrink: 0; }
.prg-card--flagship .prg-foot { color: var(--amber-dark); }
.prg-card--flagship .prg-foot svg { color: var(--amber-dark); }

/* Responsive — same breakpoints as .gl-grid */
@media (max-width: 768px) {
  .prg-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .prg-grid { grid-template-columns: 1fr; gap: 12px; }
  .prg-visual { height: 160px; }
}

/* ── Training Programs Grid (mission-card style) ── */
.tp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 48px auto 0;
}
/* Base card — mirrors .mission-card */
.tp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 16px 16px;
  padding: 26px 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(10,31,76,.12);
}
/* Top row: gradient number (left) + icon box (right) */
.tp-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}
/* Gradient number — same trick as .mission-card-num */
.tp-num {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--blue) 0%, #1a3fa8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}
/* Icon box — same as .bp-program-icon */
.tp-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(27,79,176,.10);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tp-icon svg { width: 19px; height: 19px; }
/* NC code badge */
.tp-code {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}
/* Program name */
.tp-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy, #0a1f4c);
  margin: 0;
  line-height: 1.35;
}
/* Mobile sub-label */
.tp-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--gray-500);
  margin-top: 2px;
}
/* Footer: dashed divider + clock + hours — like .bp-program-chips */
.tp-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
}
.tp-foot svg { width: 13px; height: 13px; color: var(--blue); flex-shrink: 0; }

/* ── Flagship card — full-width horizontal ── */
.tp-card--flagship {
  grid-column: 1 / -1;
  border-top-color: var(--amber-dark, #d4a017);
  background: linear-gradient(100deg, #fffdf2 0%, var(--white) 50%);
  flex-direction: row;
  align-items: center;
  padding: 28px 32px;
  gap: 0;
}
.tp-card--flagship:hover {
  box-shadow: 0 22px 50px rgba(212,160,23,.11);
}
.tp-flagship-l { flex: 1; }
.tp-flagship-l .tp-num {
  font-size: 48px;
  background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  display: block;
  margin-bottom: 10px;
}
.tp-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.tp-card--flagship .tp-code {
  color: var(--amber-dark, #d4a017);
  background: var(--amber-light, #fef9c3);
}
.tp-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--amber-dark, #d4a017);
  background: var(--amber-light, #fef9c3);
  border: 1px solid rgba(212,160,23,.25);
  padding: 3px 10px;
  border-radius: 100px;
}
.tp-card--flagship .tp-name { font-size: 20px; }
/* Vertical separator */
.tp-flagship-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(212,160,23,.22);
  margin: 0 28px;
  flex-shrink: 0;
}
/* Right: big duration display */
.tp-flagship-r {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--amber-dark, #d4a017);
}
.tp-flagship-r svg { width: 18px; height: 18px; color: var(--amber-dark, #d4a017); }
.tp-flagship-r strong { font-size: 28px; font-weight: 900; font-family: 'Poppins', sans-serif; line-height: 1; }

/* Responsive */
@media (max-width: 768px) {
  .tp-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-card--flagship {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }
  .tp-flagship-sep { display: none; }
  .tp-flagship-r { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(212,160,23,.25); width: 100%; }
  .tp-flagship-l .tp-num { font-size: 36px; }
}
@media (max-width: 480px) {
  .tp-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ── Training Programs List Cards ── */
.lc-stack {
  max-width: 860px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lc-card {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  padding: 18px 24px;
  gap: 0;
  transition: transform .22s ease, box-shadow .22s ease, border-left-width .22s ease;
}
.lc-card:hover {
  transform: translateX(5px);
  border-left-width: 6px;
  box-shadow: -4px 6px 24px rgba(27,79,176,.09), 0 4px 14px rgba(27,79,176,.06);
}
/* Flagship card */
.lc-card--flagship {
  border-left-color: var(--amber-dark, #d4a017);
  background: linear-gradient(90deg, #fffdf0 0%, var(--white) 42%);
}
.lc-card--flagship:hover {
  box-shadow: -4px 6px 24px rgba(212,160,23,.12), 0 4px 14px rgba(212,160,23,.08);
}
/* Number column */
.lc-num-col {
  min-width: 76px;
  flex-shrink: 0;
}
.lc-num {
  font-family: 'Poppins', sans-serif;
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  color: rgba(37,99,235,.08);
  user-select: none;
}
.lc-card--flagship .lc-num { color: rgba(212,160,23,.14); }
/* Body */
.lc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 24px;
  border-left: 1px dashed var(--gray-200);
}
.lc-badges {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
/* NC code badge */
.lc-code {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 2px 9px;
  border-radius: 100px;
  width: fit-content;
}
.lc-card--flagship .lc-code {
  color: var(--amber-dark, #d4a017);
  background: var(--amber-light, #fef9c3);
}
/* Flagship star badge */
.lc-flag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--amber-dark, #d4a017);
  background: var(--amber-light, #fef9c3);
  border: 1px solid rgba(212,160,23,.25);
  padding: 2px 9px;
  border-radius: 100px;
}
/* Program name */
.lc-name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.3;
}
.lc-card--flagship .lc-name { font-size: 18px; }
/* Mobile sub-label */
.lc-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--gray-500);
  margin-top: 2px;
}
/* Right: duration pill */
.lc-end { flex-shrink: 0; padding-left: 20px; }
.lc-hours {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.lc-card--flagship .lc-hours {
  color: var(--amber-dark, #d4a017);
  background: var(--amber-light, #fef9c3);
}
/* Responsive */
@media (max-width: 600px) {
  .lc-card { flex-wrap: wrap; padding: 16px 18px; }
  .lc-num-col { min-width: 52px; }
  .lc-num { font-size: 36px; }
  .lc-body { padding: 8px 0 0; border-left: none; }
  .lc-end {
    width: 100%;
    padding-left: 0;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px dashed var(--gray-200);
  }
}

/* ── Training Programs Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 48px auto 0;
}
/* Base tile */
.bento-tile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 185px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(27,79,176,.11);
}
/* Flagship — blue gradient, spans 2 cols */
.bento-tile--flagship {
  grid-column: span 2;
  background: linear-gradient(135deg, #1a3fa8 0%, #2563eb 60%, #3b82f6 100%);
  border-color: transparent;
  min-height: 220px;
  padding: 32px;
  gap: 12px;
}
.bento-tile--flagship:hover {
  box-shadow: 0 22px 52px rgba(27,79,176,.28);
}
/* Wide — spans 2 cols */
.bento-tile--wide { grid-column: span 2; }
/* Navy dark tile */
.bento-tile--navy {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-color: transparent;
}
.bento-tile--navy:hover {
  box-shadow: 0 18px 44px rgba(15,23,42,.22);
}
/* Large background icon (flagship + navy) */
.bt-bg-icon {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 140px;
  height: 140px;
  color: var(--white);
  opacity: .07;
  pointer-events: none;
}
.bt-bg-icon svg { width: 100%; height: 100%; }
/* Watermark number */
.bt-watermark {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0,0,0,.055);
  user-select: none;
  pointer-events: none;
}
.bento-tile--flagship .bt-watermark,
.bento-tile--navy .bt-watermark {
  color: rgba(255,255,255,.07);
  font-size: 72px;
}
/* Icon box (regular tiles) */
.bt-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.bt-icon svg { width: 20px; height: 20px; }
/* Header row (flagship) */
.bt-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
/* NC code badge */
.bt-code {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}
.bento-tile--flagship .bt-code {
  color: #d4a017;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
}
.bento-tile--navy .bt-code {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
}
/* Flagship star badge */
.bt-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #d4a017;
  background: rgba(255,255,255,.92);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
/* Program name */
.bt-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin: 0;
}
.bento-tile--flagship .bt-name {
  font-size: 22px;
  color: var(--white);
  margin-top: 2px;
}
.bento-tile--navy .bt-name { color: var(--white); font-size: 17px; }
/* Italic sub-label */
.bt-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--gray-500);
  margin-top: 2px;
}
/* Footer duration */
.bt-foot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
}
.bento-tile--flagship .bt-foot {
  color: rgba(255,255,255,.75);
  border-top-color: rgba(255,255,255,.18);
}
.bento-tile--navy .bt-foot {
  color: rgba(255,255,255,.65);
  border-top-color: rgba(255,255,255,.12);
}
/* Responsive */
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-tile--flagship,
  .bento-tile--wide { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .bento-grid { grid-template-columns: 1fr; gap: 12px; }
  .bento-tile--flagship,
  .bento-tile--wide { grid-column: span 1; }
  .bento-tile--flagship { min-height: auto; padding: 24px; }
  .bento-tile--flagship .bt-name { font-size: 18px; }
}

/* ── Training Programs Table ── */
.prog-table-wrap {
  max-width: 900px;
  margin: 48px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(27,79,176,.10);
  border: 1px solid var(--gray-200);
}
.prog-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  background: var(--white);
}
/* Header */
.prog-table thead tr {
  background: linear-gradient(90deg, var(--blue-dark, #1b4fb0) 0%, var(--blue, #2563eb) 100%);
}
.prog-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
}
.prog-table thead th svg {
  vertical-align: middle;
  margin-right: 3px;
  opacity: .75;
}
/* Body rows */
.prog-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background .18s ease;
}
.prog-table tbody tr:last-child { border-bottom: none; }
.prog-table tbody tr:nth-child(even):not(.pt-row--flagship) {
  background: var(--gray-50, #f9fafb);
}
.prog-table tbody tr:hover:not(.pt-row--flagship) {
  background: var(--blue-light, #eff6ff);
}
/* Flagship row */
.pt-row--flagship {
  background: linear-gradient(90deg, #fffef5 0%, #fff8e1 100%) !important;
  border-left: 4px solid var(--amber-dark, #d4a017);
}
.pt-row--flagship:hover {
  background: #fff3c4 !important;
}
/* Cells */
.prog-table td {
  padding: 14px 18px;
  vertical-align: middle;
}
.pt-col-num  { width: 44px; }
.pt-col-code { width: 120px; }
.pt-col-hours{ width: 110px; }
.pt-col-type { width: 110px; }
/* Row number */
.pt-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-300);
  font-family: 'Poppins', sans-serif;
}
.pt-row--flagship .pt-num { color: rgba(212,160,23,.45); }
/* Code badge */
.pt-code {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.pt-code--amber {
  color: var(--amber-dark, #d4a017);
  background: var(--amber-light, #fef9c3);
}
/* Program name */
.pt-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.35;
}
.pt-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--gray-500);
  margin-top: 2px;
}
/* Flagship inline badge */
.pt-badge-flagship {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--amber-dark, #d4a017);
  background: var(--amber-light, #fef9c3);
  border: 1px solid rgba(212,160,23,.3);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
}
/* Duration */
.pt-hours span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
}
.pt-row--flagship .pt-hours span { color: var(--amber-dark, #d4a017); }
/* Type badge */
.pt-type {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid transparent;
}
.pt-type--campus {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.pt-type--mobile {
  color: #7c3aed;
  background: #f5f3ff;
  border-color: #ddd6fe;
}
/* Responsive */
@media (max-width: 640px) {
  .prog-table-wrap { border-radius: 12px; }
  .prog-table thead th,
  .prog-table td { padding: 12px 12px; }
  .pt-col-type,
  .prog-table td:last-child { display: none; }
  .pt-badge-flagship { display: none; }
  .pt-sub { display: inline; margin-left: 4px; }
}

/* Assessment Center qualifications grid */
.tve-assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}
.tve-assessment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tve-assessment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27,79,176,.12);
  border-color: var(--blue);
}
.tve-assessment-ic {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(27,79,176,.10);
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease;
}
.tve-assessment-item:hover .tve-assessment-ic {
  background: var(--blue);
  color: var(--white);
}
.tve-assessment-ic svg { width: 17px; height: 17px; }
.tve-assessment-item span { line-height: 1.35; }

/* Requirements — 2 card columns */
.tve-requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.tve-req-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tve-req-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(10,31,76,.10);
}
.tve-req-card-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.tve-req-card-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-deeper);
  background: rgba(27,79,176,.10);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.tve-req-card-head h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.tve-req-list {
  list-style: decimal;
  margin: 0;
  padding-left: 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.55;
}
.tve-req-list li::marker {
  color: var(--amber-dark);
  font-weight: 700;
}

/* Closing — single CTA card */
.tve-closing-section {
  padding: 24px 0 96px;
  background: var(--white);
}
.tve-closing {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.tve-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 100%, rgba(255,215,0,.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(27,79,176,.15) 0%, transparent 55%);
  pointer-events: none;
}
.tve-closing > * { position: relative; }
.tve-closing h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 14px;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.tve-closing p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin: 0 auto 12px;
  max-width: 640px;
}
.tve-closing-tagline {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: var(--amber) !important;
  margin: 6px auto 24px !important;
  letter-spacing: -.005em !important;
}
.tve-intro-cta,
.tve-closing-cta { margin-top: 24px; }

@media (max-width: 900px) {
  .tve-intro { grid-template-columns: 1fr; gap: 32px; }
  .tve-intro-img { max-width: 480px; margin: 0 auto; }
  .tve-intro-cta { display: block; width: fit-content; min-width: 220px; text-align: center; margin-left: auto; margin-right: auto; }
  .tve-intro-cta svg { display: none; }
  .tve-intro-tag--tl { top: 10px; left: 10px; }
  .tve-intro-tag--br { bottom: 10px; right: 10px; }
  .tve-features-section,
  .tve-programs-section,
  .tve-assessment-section,
  .tve-requirements-section { padding: 56px 0; }
  .tve-features { grid-template-columns: repeat(2, 1fr); }
  .tve-programs-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-cards { grid-template-columns: repeat(2, 1fr); }
  .prog-card--flagship { grid-column: 1 / -1; }
  .tve-assessment-grid { grid-template-columns: repeat(2, 1fr); }
  .tve-requirements-grid { grid-template-columns: 1fr; }
  .tve-closing-section { padding: 0 0 72px; }
  .tve-closing { padding: 40px 32px; }
}
@media (max-width: 600px) {
  .tve-page { padding: 56px 0 24px; }
  .tve-intro-media { display: none; }
  .tve-intro-tag { display: none; }
  .tve-features { grid-template-columns: 1fr; gap: 16px; }
  .tve-feature { padding: 26px 22px; }
  .tve-programs-grid { grid-template-columns: 1fr; }
  .tve-program { padding: 24px 22px; }
  .prog-cards { grid-template-columns: 1fr; }
  .prog-card--flagship { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .prog-card--flagship .prog-num { border-left: none; padding-left: 0; margin-left: 0; font-size: 40px; align-self: flex-end; }
  .tve-assessment-grid { grid-template-columns: 1fr; }
  .tve-req-card { padding: 24px 22px; }
  .tve-closing { padding: 32px 24px; }
}

/* Closing CTA on inner pages */
.inner-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  text-align: center;
  color: var(--white);
}
.inner-cta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.inner-cta p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.inner-cta-actions {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* Related-pages nav — "Continue exploring" block before the final CTA */
.related-pages { padding: 80px 0; background: #f0f4ff; }
.related-pages-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.related-pages-header .section-label { justify-content: center; }
.related-pages-header .section-label::before { display: none; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.related-card {
  display: block;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light2);
}
.related-card-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.related-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.related-card-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.related-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--blue);
  transition: var(--transition);
}
.related-card:hover .related-card-link { gap: 10px; color: var(--amber-dark); }
@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Light variant — used on pages where a navy section already exists nearby (e.g. history-v2 with its pull-quote) */
.inner-cta--light {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  position: relative;
}
.inner-cta--light::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  border-radius: 0 0 3px 3px;
}
.inner-cta--light h3 { color: var(--navy); }
.inner-cta--light p  { color: var(--gray-500); }

@media (max-width: 1024px) {
  .page-banner-eyebrow { font-size: 10px; padding: 5px 13px; }
  .history-quote { padding: 72px 0; }
  .history-quote::before { font-size: 180px; top: 12px; }
  .history-quote-eyebrow { font-size: 10.5px; padding: 5px 16px; margin-bottom: 20px; }
  .history-quote-text { font-size: clamp(20px, 2.6vw, 26px); }
  .history-quote-author-name { font-size: 13px; }
  .history-quote-author-role { font-size: 11.5px; }
}

/* Mobile responsive — timeline goes single column, founders stack */
@media (max-width: 760px) {
  .page-banner { padding: 130px 0 60px; }
  .page-banner-eyebrow { font-size: 10px; padding: 5px 13px; }
  .breadcrumb-trail { flex-wrap: wrap; justify-content: center; border-radius: 16px; gap: 5px 7px; padding: 4px 11px; }
  .founders { padding: 64px 0; }
  .founders-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .founder-card--amber { order: -1; }
  .founder-photo { height: auto; aspect-ratio: 5 / 5; }

  .timeline-section { padding: 64px 0; }
  .timeline-header { margin-bottom: 40px; }
  .timeline { padding: 12px 0 12px 20px; }
  .timeline::before { left: 7px; transform: none; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%; left: 0;
    text-align: left;
    padding: 0 0 36px 44px;
  }
  .timeline-item::before,
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: -14px; right: auto;
    width: 14px; height: 14px; top: 6px;
  }
  .timeline-img { height: 150px; border-radius: 10px; margin-bottom: 14px; }
  .timeline-year { font-size: 11px; padding: 5px 11px; margin-bottom: 9px; gap: 6px; }
  .timeline-year::before { width: 6px; height: 6px; }
  .timeline-title { font-size: 16px; margin-bottom: 6px; }
  .timeline-body { font-size: 13.5px; line-height: 1.68; }
  .inner-cta { padding: 60px 0; }
  .inner-cta-actions { width: 100%; flex-direction: column; }
  .inner-cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .why-us-grid { gap: 48px; }
  .our-story-grid { gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-apply { display: none; }
  .admissions-grid, .why-us-grid { grid-template-columns: 1fr; }
  .admissions-cta-box { position: static; }
  .admissions-cta-box::before { display: none; }
  .why-float-1, .why-float-2 { display: none; }
  .why-main-img { height: 360px; }
  .our-story-pillars { grid-template-columns: 1fr; }
  .story-pillar { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .story-pillar:last-child { border-bottom: none; }
  /* Hero — tablet fixes */
  .hero-content { padding: 120px 0 210px; }
  .hero h1 { font-size: 40px; }
  /* Stats — 2×2 grid, fix orphan dot on row-end cells */
  .hero-stats-inner { grid-template-columns: repeat(2,1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat::after { display: none; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
  .hero-scroll { display: none; }
  .our-story { padding: 80px 0; }
  /* Accreditation — 2×2 grid on all iPads (avoids 4-across squeeze below ~860px) */
  .accred-logos { gap: 14px;   display: grid;
  grid-template-columns: repeat(2, 1fr); }
  .accred-logo { flex: 1 1 calc(50% - 7px); min-width: 0; }
  /* Pre-footer CTA — reduce padding on iPad so text isn't cramped */
  .footer-cta { padding: 28px 24px; }
}
@media (max-width: 680px) {
  /* Tighter container side padding */
  .container { padding: 0 20px; }
  .container-wide { padding: 0 20px; }

  /* Section vertical rhythm — reduce 90–120px → 64px */
  .programs, .why-us, .campus-life, .news, .admissions, .our-story { padding: 64px 0; }

  /* Navbar — slightly smaller logo to free up space */
  .logo-icon { width: 38px; height: 38px; }
  .logo-text strong { font-size: 14px; }
  .logo-text span { font-size: 10px; }

  /* Hero — switch from flex to block so stats bar stacks below content */
  .hero { min-height: auto; display: block; }
  .hero-badge { font-size: 11px; padding: 5px 12px; letter-spacing: .07em; gap: 6px; margin-bottom: 20px; }
  .hero-content { padding: 130px 0 56px; }
  .hero p { font-size: 16px; line-height: 1.7; margin-bottom: 100px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 14px 24px !important; font-size: 14px !important; }

  /* Hero stats — flow below content (was absolute, covered hero buttons) */
  .hero-stats-bar { position: static; padding: 20px 0; }
  .hero-stat { padding: 18px 12px; }
  .hero-stat-num { font-size: 24px; }
  .hero-stat-label { font-size: 10px; }
  .hero-stat:not(:last-child)::after { display: none; }

  /* Grids stack */
  .programs-grid { grid-template-columns: 1fr; }
  .news-grid,
  .news-grid.news-grid--1,
  .news-grid.news-grid--2 { grid-template-columns: 1fr; max-width: none; }
  .gallery-grid { display: flex; flex-direction: column; }
  .gallery-item { height: 220px !important; }
  .our-story-banner-img { height: 220px; }
  .why-main-img { height: 280px; }

  /* Section headers — tighter spacing on mobile */
  .programs-header { margin-bottom: 36px; }
  .news-header { margin-bottom: 32px; }
  .news-header .btn { display: none; }
  .news-footer { display: flex; justify-content: center; margin-top: 28px; }
  .news-footer .btn { width: 100%; justify-content: center; }

  /* News card images — shorter on mobile */
  .news-img { height: 200px; }
  .news-body { padding: 20px; }

  /* Why Us — smaller number indicator + tighter spacing */
  .feature-item { gap: 16px; padding: 18px 4px; }
  .feature-num { font-size: 32px; }
  .feature-text h4 { font-size: 16px; }
  .feature-text p { font-size: 13px; }

  /* Story pillars — tighter when stacked */
  .story-pillar-num { font-size: 32px; }
  .story-pillar { padding: 18px 8px; }

  /* Admissions CTA box — mobile polish */
  .admissions-cta-box { padding: 28px 20px; margin-top: 8px; }
  .cta-box-title { font-size: 22px; }
  .cta-box-lead { font-size: 14px; }
  .cta-portal { padding: 14px 16px; gap: 12px; margin: 20px 0 22px; }
  .cta-portal-icon { width: 38px; height: 38px; border-radius: 9px; }
  .cta-portal-text strong { font-size: 13px; }
  .cta-portal-text span { font-size: 11px; }
  .requirements-title { font-size: 12px; margin-top: 20px; margin-bottom: 12px; }
  .requirements { gap: 8px; margin-bottom: 22px; }
  .req-item { font-size: 13px; padding: 8px 12px; }
  .cta-microcopy { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta-call-link { margin-top: 16px; padding-top: 16px; font-size: 13px; }

  /* Admission steps — tighter */
  .admission-steps { margin-top: 28px; }
  .step { gap: 16px; padding-bottom: 28px; }
  .step:not(:last-child)::after { left: 20px; top: 42px; }
  .step-num { width: 40px; height: 40px; font-size: 14px; }
  .step-content h4 { font-size: 16px; }
  .step-content p { font-size: 13px; }

  /* Footer */
  footer { padding: 56px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .pre-footer-cta { padding: 24px 0 64px; }
  .footer-cta { padding: 32px 24px; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn { width: 100%; justify-content: center; }

  /* Accreditation — full-width stacked cards, tighter padding */
  .accred-band { padding: 52px 0; }
  .accred-inner { gap: 28px; }
  .accred-logos { gap: 10px; flex-direction: column;   display: grid;
  grid-template-columns: repeat(2, 1fr); }
  .accred-logo { min-width: 0; width: 100%; padding: 14px 16px; gap: 12px; }
  .accred-seal { width: 36px; height: 36px; }
  .accred-info strong { font-size: 13px; }
  .accred-info span { font-size: 10px; }
}

@media (max-width: 480px) {
  /* Very small screens — tightest spacing */
  .container { padding: 0 16px; }
  /* Fix 3: reduce banner top-padding on small phones (130px is too tall at 360-390px) */
  .page-banner { padding: 100px 0 48px; }

  /* Hide overly-long brand subtitle to save space */
  .logo-text span { display: none; }

  /* Slightly smaller section padding */
  .programs, .why-us, .campus-life, .news, .admissions, .our-story { padding: 52px 0; }

  /* Hero — fix bottom padding (stats now flow naturally, no need for huge gap) */
  .hero-badge { font-size: 10px; padding: 4px 10px; }
  .hero-content { padding: 171px 0 124px; }
  .our-story-lead { font-size: 16px; }
  .our-story-banner-img { height: 180px; }

  /* Even tighter CTA box */
  .admissions-cta-box { padding: 24px 16px; }
  .cta-box-title { font-size: 20px; }
  .req-item { font-size: 13px; padding: 7px 10px; }

  /* Hero stat numbers a touch smaller */
  .hero-stat-num { font-size: 22px; }

  /* Gallery items shorter on very small screens */
  .gallery-item { height: 180px !important; }

  /* News headings shrink slightly */
  .news-card h3 { font-size: 16px; }

  /* Milestones — tightest mobile */
  .timeline-section { padding: 48px 0; }
  .timeline { padding: 10px 0 10px 16px; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) { padding: 0 0 28px 36px; }
  .timeline-img { height: 130px; border-radius: 8px; margin-bottom: 12px; }
  .timeline-year { font-size: 10.5px; padding: 4px 10px; margin-bottom: 8px; }
  .timeline-title { font-size: 15px; }
  .timeline-body { font-size: 13px; }

  /* Founder's philosophy — tightest mobile */
  .history-quote { padding: 44px 0; }
  .history-quote::before { display: none; }
  .history-quote-eyebrow { font-size: 10px; padding: 4px 12px; margin-bottom: 14px; }
  .history-quote-text { font-size: 16.5px; line-height: 1.65; margin-bottom: 18px; }
  .history-quote-author { flex-direction: column; align-items: center; gap: 6px; }
  .history-quote-author-line { display: none; }
  .history-quote-author-text { text-align: center; }
  .history-quote-author-name { font-size: 11.5px; }
  .history-quote-author-role { font-size: 10.5px; margin-top: 3px; }
}

/* ============================================================
   HRDD — v2 designed page
============================================================ */
.hrdd-page {
  padding: 72px 0 96px;
  background: var(--white);
}

/* Layout: main only (sidebar removed) */
.hrdd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

/* Main header (title + inline search) */
.hrdd-main-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.hrdd-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 6px;
}
.hrdd-section-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--amber-dark);
  border-radius: 2px;
}
.hrdd-section-sub {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 4px 0 0;
}
.hrdd-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.015em;
  line-height: 1.2;
}

/* Inline search box */
.hrdd-search-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 0 16px 0 18px;
  flex: 1;
  min-width: 240px;
  max-width: 380px;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.hrdd-search-inline:focus-within {
  background: var(--white);
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(212,160,23,.18);
}
.hrdd-search-inline svg {
  width: 16px; height: 16px;
  color: var(--gray-500);
  flex-shrink: 0;
}
.hrdd-search-inline input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 11px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  outline: none;
}
.hrdd-search-inline input::placeholder {
  color: var(--gray-500);
}

/* Article grid */
.hrdd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hrdd-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hrdd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(10,31,76,.12);
  border-color: transparent;
}
.hrdd-card-img-link { display: block; }
.hrdd-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-100) 0%, #f4f6fa 100%);
  padding: 12px;
}
.hrdd-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .5s ease;
  border-radius: 8px;
}
.hrdd-card:hover .hrdd-card-img { transform: scale(1.03); }

/* Updates (MADACIG Times) + HRDD listing pages — crop to fill, anchored to the top of the photo */
.hrdd-page .hrdd-card-img-wrap,
.mt-page .hrdd-card-img-wrap,
.news .hrdd-card-img-wrap {
  padding: 0;
  background: var(--gray-100);
}
.hrdd-page .hrdd-card-img,
.mt-page .hrdd-card-img,
.news .hrdd-card-img {
  object-fit: cover;
  object-position: top;
  border-radius: 0;
}

/* Featured (first) article — horizontal layout, image left, content right */
.hrdd-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}
.hrdd-card--featured .hrdd-card-img-link { height: 100%; }
.hrdd-card--featured .hrdd-card-img-wrap {
  height: 100%;
  aspect-ratio: auto;
  min-height: 340px;
}
.hrdd-card--featured .hrdd-card-body {
  padding: 32px 36px;
  justify-content: center;
}
.hrdd-card--featured .hrdd-card-title {
  font-size: 24px;
  line-height: 1.3;
}
.hrdd-card--featured .hrdd-card-excerpt {
  font-size: 15px;
  line-height: 1.7;
}
.hrdd-card-featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--amber);
  padding: 5px 11px;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(212,160,23,.35);
}
.hrdd-card-featured-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--navy);
  border-radius: 50%;
}
.hrdd-card-date {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(10,31,76,.18);
  z-index: 2;
  min-width: 52px;
}
.hrdd-card-date .d {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.01em;
}
.hrdd-card-date .m {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-top: 4px;
}
.hrdd-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hrdd-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(27,79,176,.08);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.hrdd-card-cat svg { width: 12px; height: 12px; }
.hrdd-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -.01em;
  line-height: 1.35;
}
.hrdd-card-title a {
  color: inherit;
  transition: color .2s ease;
}
.hrdd-card-title a:hover { color: var(--blue); }
.hrdd-card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0 0 18px;
  flex: 1;
}
.hrdd-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
}
.hrdd-card-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-500);
}
.hrdd-card-time svg { width: 13px; height: 13px; color: var(--amber-dark); }
.hrdd-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  transition: gap .25s ease, color .25s ease;
}
.hrdd-card-link:hover { gap: 10px; color: var(--blue-dark); }
.hrdd-card-link svg { width: 13px; height: 13px; }

/* Empty state */
.hrdd-empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
}
.hrdd-empty-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-500);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.hrdd-empty-icon svg { width: 24px; height: 24px; }
.hrdd-empty h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.hrdd-empty p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  margin: 0;
}

/* Sidebar */
.hrdd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}
.hrdd-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.hrdd-widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}
.hrdd-widget-bar {
  display: inline-block;
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--amber), var(--amber-dark));
  border-radius: 2px;
}
.hrdd-widget-empty {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--gray-500);
  margin: 0;
}

/* Latest news list */
.hrdd-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hrdd-latest-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hrdd-latest-thumb {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-100);
  display: block;
}
.hrdd-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.hrdd-latest-thumb:hover img { transform: scale(1.06); }
.hrdd-latest-body {
  flex: 1;
  min-width: 0;
}
.hrdd-latest-body h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -.005em;
  line-height: 1.35;
}
.hrdd-latest-body h5 a {
  color: inherit;
  transition: color .2s ease;
}
.hrdd-latest-body h5 a:hover { color: var(--blue); }
.hrdd-latest-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gray-500);
}
.hrdd-latest-date svg { width: 12px; height: 12px; color: var(--amber-dark); }

/* Contact CTA widget */
.hrdd-widget-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deeper) 100%);
  border-color: transparent;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hrdd-widget-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,215,0,.18) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(27,79,176,.22) 0%, transparent 55%);
  pointer-events: none;
}
.hrdd-widget-cta > * { position: relative; z-index: 1; }
.hrdd-widget-cta-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--amber);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.hrdd-widget-cta-icon svg { width: 22px; height: 22px; }
.hrdd-widget-cta h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 8px;
  letter-spacing: -.005em;
}
.hrdd-widget-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin: 0 0 16px;
}
.hrdd-widget-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--amber);
  transition: gap .25s ease, color .25s ease;
}
.hrdd-widget-cta-link:hover {
  gap: 12px;
  color: var(--white);
}
.hrdd-widget-cta-link svg { width: 13px; height: 13px; }

/* Get in Touch — gradient-header CTA card */
.hrdd-cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: none;
  background:
    linear-gradient(145deg, rgba(10,31,76,.92) 0%, rgba(20,52,120,.88) 60%, rgba(27,79,176,.85) 100%),
    url('/site/images/mdc/about.webp') center/cover no-repeat;
}
.hrdd-cta-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,215,0,.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hrdd-cta-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(27,79,176,.28) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hrdd-cta-head {
  position: relative;
  z-index: 1;
  padding: 28px 22px 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hrdd-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,.14);
  border: 1px solid rgba(255,215,0,.32);
  color: var(--amber);
  padding: 5px 13px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.hrdd-cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.hrdd-cta-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: rgba(255,255,255,.60);
  line-height: 1.65;
  margin: 0;
}
.hrdd-cta-body {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 18px 20px 20px;
}
.hrdd-ci-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hrdd-ci-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  transition: var(--transition);
}
.hrdd-ci-list li:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.14);
  transform: translateX(3px);
}
.hrdd-ci-list li svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  padding: 8px;
  background: rgba(255,215,0,.16);
  border-radius: 50%;
  color: var(--amber);
  box-sizing: content-box;
}
.hrdd-ci-val {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.hrdd-ci-lbl {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.52);
  margin-top: 2px;
  font-weight: 500;
}
.hrdd-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  color: #0d2660;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.01em;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.hrdd-cta-btn:hover {
  background: #edf0f5;
  color: #0d2660;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.hrdd-cta-btn-arrow {
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease;
}
.hrdd-cta-btn:hover .hrdd-cta-btn-arrow {
  transform: translateX(3px);
}

/* MDC paginator — used via ->links('pagination.mdc'). Designed to match
   the v2 design language (pill buttons, navy/amber accents). */
.mdc-pagination {
  margin: 48px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.mdc-pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.mdc-pagination-btn:hover {
  border-color: var(--blue);
  color: var(--blue-deeper);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(10,31,76,.06);
}
.mdc-pagination-btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.mdc-pagination-btn--disabled:hover {
  border-color: var(--gray-200);
  color: var(--navy);
  transform: none;
  box-shadow: none;
}
.mdc-pagination-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

.mdc-pagination-pages {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mdc-pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
  transition: background .25s ease, color .25s ease;
}
.mdc-pagination-page:hover {
  background: var(--gray-100);
  color: var(--navy);
  cursor: pointer;
}
.mdc-pagination-page--active {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  color: var(--white);
}
.mdc-pagination-page--active:hover {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  color: var(--white);
  cursor: default;
}
.mdc-pagination-dots {
  padding: 0 6px;
  color: var(--gray-500);
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
}
@media (max-width: 540px) {
  .mdc-pagination { gap: 8px; margin-top: 36px; }
  .mdc-pagination-btn { padding: 8px 14px; font-size: 12px; }
  .mdc-pagination-page { min-width: 34px; height: 34px; font-size: 12.5px; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hrdd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  /* Featured card stacks: image top, content bottom */
  .hrdd-card--featured { grid-template-columns: 1fr; }
  .hrdd-card--featured .hrdd-card-img-wrap { min-height: 280px; aspect-ratio: 4 / 3; }
  .hrdd-card--featured .hrdd-card-body { padding: 24px 26px; }
  .hrdd-card--featured .hrdd-card-title { font-size: 20px; }
}
@media (max-width: 768px) {
  .hrdd-page { padding: 56px 0 72px; }
  .hrdd-main-head { flex-direction: column; align-items: flex-start; }
  /* Search goes full-width once the header stacks */
  .hrdd-search-inline { min-width: 0; width: 100%; }
  .hrdd-grid { grid-template-columns: 1fr; gap: 18px; }
  /* Reduce card image padding on single-column cards — avoids the gray-border effect */
  .hrdd-card-img-wrap { padding: 6px; }
}
@media (max-width: 600px) {
  .hrdd-card-body { padding: 20px 20px 22px; }
  .hrdd-card-title { font-size: 17px; }
  .hrdd-card-foot { flex-wrap: wrap; gap: 10px; }
  /* Fix 5: when foot wraps, push "Read More" link to the right of its row */
  .hrdd-card-link { margin-left: auto; }
}

/* ============================================================
   HRDD DETAILS — v2 designed article page
============================================================ */

/* Compact banner variant for article pages */
.page-banner--compact { padding: 90px 0 30px; }
.page-banner--compact .page-banner-divider { margin-top: 24px; }
.page-banner-article-title {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* Article meta strip in banner */
.hrddd-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 22px auto 0;
  padding: 8px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
}
.hrddd-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hrddd-meta-item svg {
  width: 13px; height: 13px;
  color: var(--amber);
  flex-shrink: 0;
}
.hrddd-meta-divider {
  width: 4px; height: 4px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
}

/* Article page */
.hrddd-page {
  padding: 56px 0 80px;
  background: var(--white);
}

/* Hero image — shows the full image at its natural aspect ratio */
.hrddd-hero {
  position: relative;
  max-width: 980px;
  margin: 0 auto 48px;
  padding: 18px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(10,31,76,.14);
  text-align: center;
}
.hrddd-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: var(--radius-lg) 0 0 0;
}
.hrddd-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--blue));
  border-radius: 0 0 var(--radius-lg) 0;
}
.hrddd-hero img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--gray-100);
}
.hrddd-hero-overlay-cat {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,215,0,.95);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(10,31,76,.18);
}
.hrddd-hero-overlay-cat svg { width: 12px; height: 12px; }

/* Article body wrapper */
.hrddd-body {
  max-width: 760px;
  margin: 0 auto;
}

/* Typography for rendered HTML content */
.hrddd-content {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--gray-800);
  line-height: 1.8;
  word-wrap: break-word;
}
.hrddd-content > *:first-child { margin-top: 0; }
.hrddd-content > *:last-child { margin-bottom: 0; }
.hrddd-content p {
  margin: 0 0 22px;
}
.hrddd-content h1,
.hrddd-content h2,
.hrddd-content h3,
.hrddd-content h4,
.hrddd-content h5,
.hrddd-content h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 40px 0 16px;
  line-height: 1.25;
}
.hrddd-content h1 { font-size: 30px; }
.hrddd-content h2 { font-size: 26px; }
.hrddd-content h3 { font-size: 22px; }
.hrddd-content h4 { font-size: 19px; }
.hrddd-content h5,
.hrddd-content h6 { font-size: 17px; }
.hrddd-content a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(27,79,176,.4);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.hrddd-content a:hover {
  color: var(--blue-dark);
  text-decoration-color: var(--blue-dark);
}
.hrddd-content strong,
.hrddd-content b { color: var(--navy); font-weight: 700; }
.hrddd-content em,
.hrddd-content i { font-style: italic; }
.hrddd-content ul,
.hrddd-content ol {
  margin: 0 0 22px;
  padding-left: 26px;
}
.hrddd-content ul li,
.hrddd-content ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.hrddd-content ul li::marker { color: var(--amber-dark); }
.hrddd-content ol li::marker { color: var(--amber-dark); font-weight: 700; }
.hrddd-content blockquote {
  margin: 30px 0;
  padding: 20px 26px;
  background: var(--amber-light);
  border-left: 4px solid var(--amber);
  border-radius: 0 12px 12px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
}
.hrddd-content blockquote p:last-child { margin-bottom: 0; }
.hrddd-content blockquote cite,
.hrddd-content blockquote footer {
  display: block;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
  color: var(--gray-700);
}
.hrddd-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 26px 0;
  display: block;
  box-shadow: 0 12px 32px rgba(10,31,76,.10);
}
.hrddd-content figure {
  margin: 26px 0;
}
.hrddd-content figure img { margin: 0; }
.hrddd-content figcaption {
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
  font-style: italic;
}
.hrddd-content hr {
  margin: 36px 0;
  border: none;
  height: 1px;
  background: var(--gray-200);
}
.hrddd-content pre,
.hrddd-content code {
  font-family: 'Courier New', monospace;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 14px;
}
.hrddd-content code { padding: 2px 6px; color: var(--blue-deeper); }
.hrddd-content pre {
  padding: 18px 22px;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--gray-200);
}
.hrddd-content pre code { background: none; padding: 0; }
.hrddd-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 14.5px;
}
.hrddd-content table th,
.hrddd-content table td {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  text-align: left;
}
.hrddd-content table th {
  background: var(--gray-100);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

/* Share strip */
.hrddd-share {
  margin: 48px 0 32px;
  padding: 22px 26px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.hrddd-share-label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}
.hrddd-share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hrddd-share-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  cursor: pointer;
  padding: 0;
}
.hrddd-share-btn svg { width: 16px; height: 16px; }
.hrddd-share-btn:hover {
  background: var(--navy);
  color: var(--amber);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.hrddd-share-btn.copied {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

/* Back to list link */
.hrddd-back-row {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.hrddd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  transition: gap .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.hrddd-back-link:hover {
  gap: 14px;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--amber);
}
.hrddd-back-link svg { width: 14px; height: 14px; }

/* "More from HRDD" section */
.hrddd-related-section {
  padding: 80px 0 96px;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.hrddd-related-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: var(--amber-light);
  border-radius: 50%;
  opacity: .45;
  filter: blur(6px);
}
.hrddd-related-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  background: var(--blue-light);
  border-radius: 50%;
  opacity: .5;
  filter: blur(8px);
}
.hrddd-related-section .container { position: relative; z-index: 1; }
.hrddd-related-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.hrddd-related-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue);
  transition: gap .25s ease, color .25s ease;
}
.hrddd-related-all:hover { gap: 12px; color: var(--blue-dark); }
.hrddd-related-all svg { width: 13px; height: 13px; }

/* 3-col grid variant for related news */
.hrdd-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .hrdd-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-banner--compact { padding: 70px 0 24px; }
  .hrddd-meta { font-size: 12px; gap: 10px; padding: 6px 14px; }
  .hrddd-hero { margin-bottom: 32px; padding: 12px; }
  .hrddd-hero-overlay-cat { top: 22px; left: 22px; font-size: 10px; padding: 5px 10px; }
  .hrddd-content { font-size: 15.5px; }
  .hrddd-content h1 { font-size: 26px; }
  .hrddd-content h2 { font-size: 22px; }
  .hrddd-content h3 { font-size: 19px; }
  .hrddd-share { padding: 18px 20px; flex-direction: column; align-items: flex-start; }
  .hrddd-related-section { padding: 56px 0 72px; }
}
@media (max-width: 600px) {
  .hrddd-page { padding: 40px 0 60px; }
  .hrddd-hero { border-radius: 14px; padding: 8px; }
  .hrddd-hero img { border-radius: 8px; }
  .hrddd-hero::before,
  .hrddd-hero::after { width: 48px; height: 3px; }
  .hrddd-hero-overlay-cat { top: 16px; left: 16px; }
  .hrddd-meta-divider { display: none; }
  .hrddd-meta { flex-direction: column; gap: 4px; border-radius: 12px; padding: 10px 16px; }
  /* Fix 1: keep 2-col on iPad mini (768px); drop to 1-col only at true mobile */
  .hrdd-grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   HRDD DETAILS v2 — Two-column article layout
============================================================ */
.hrddd-v2-page {
  background: var(--white);
  padding-top: 48px;
  padding-bottom: 72px;
}
.hrddd-v2-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 24px;
}

/* Left column */
.hrddd-v2-main {
  padding: 24px 32px 32px 24px;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

/* Hero image */
.hrddd-v2-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  width: calc(100% + 56px);
  background: var(--navy);
  border-radius: 0;
  overflow: hidden;
  margin: -24px -32px 22px -24px;
}
.hrddd-v2-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: .85;
  display: block;
}
.hrddd-v2-hero-caption {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10,31,76,.60);
  backdrop-filter: blur(4px);
  padding: 5px 16px;
  border-radius: 100px 100px 0 0;
  white-space: nowrap;
}

/* Back link */
.hrddd-v2-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(27, 79, 176, .28), inset 0 1px 0 rgba(255, 255, 255, .15);
  margin: 24px auto 0;
  transition: background .2s ease;
}
.hrddd-v2-back:hover { background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--navy) 100%); }

.hrddd-v2-top-back-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 20px;
}
.hrddd-v2-top-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: color .2s ease, gap .2s ease;
}
.hrddd-v2-top-back svg { width: 13px; height: 13px; transition: transform .2s ease; }
.hrddd-v2-top-back:hover {
  color: var(--blue);
  gap: 9px;
}
.hrddd-v2-top-back:hover svg { transform: translateX(-2px); }
@media (max-width: 768px) {
  .hrddd-v2-top-back-row { padding: 0 16px 16px; }
}

/* Category + date row */
.hrddd-v2-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.hrddd-v2-cat-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--amber);
  padding: 3px 10px;
  border-radius: 100px;
}
.hrddd-v2-top-date {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-500);
  flex-shrink: 0;
  padding-top: 4px;
}

/* Story title */
.hrddd-v2-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(19px, 2.8vw, 26px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -.02em;
  margin: 0;
  flex: 1;
}

/* Gold accent bar */
.hrddd-v2-bar {
  width: 100%;
  border: none;
  border-top: 1px dashed #cbd5e1;
  margin: 16px 0 20px;
}

/* Meta pills */
.hrddd-v2-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: space-between;
}
.hrddd-v2-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 4px 10px;
  border-radius: 100px;
}
.hrddd-v2-pill svg { width: 11px; height: 11px; color: var(--amber-dark); flex-shrink: 0; }

/* Article footer row — share + top border */
.hrddd-v2-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  margin-top: 32px;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.hrddd-v2-share-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hrddd-v2-share-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gray-500);
  margin-right: 2px;
}
.hrddd-v2-share-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  padding: 0;
}
.hrddd-v2-share-btn svg { width: 14px; height: 14px; }
.hrddd-v2-share-btn:hover {
  background: var(--navy);
  color: var(--amber);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.hrddd-v2-share-btn.copied {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

/* Right sidebar */
.hrddd-v2-sidebar {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 16px 40px;
  position: sticky;
  top: 88px;
  align-self: start;
}
.hrddd-v2-sidebar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.hrddd-v2-sidebar-bar {
  display: inline-block;
  width: 4px; height: 15px;
  background: var(--amber);
  border-radius: 2px;
}
.hrddd-v2-sidebar-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Related story cards */
.hrddd-v2-rel-card {
  display: block;
  padding: 0;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: opacity .2s, border-color .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.hrddd-v2-rel-card:last-child { margin-bottom: 0; }
.hrddd-v2-rel-card:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(27,79,176,.12); }
.hrddd-v2-rel-thumb {
  aspect-ratio: 16 / 9;
  background: var(--navy);
  overflow: hidden;
}
.hrddd-v2-rel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: .85;
  display: block;
}
.hrddd-v2-rel-card .hrddd-v2-rel-cat,
.hrddd-v2-rel-card .hrddd-v2-rel-title,
.hrddd-v2-rel-card .hrddd-v2-rel-date {
  padding-left: 12px;
  padding-right: 12px;
}
.hrddd-v2-rel-card .hrddd-v2-rel-cat { padding-top: 10px; }
.hrddd-v2-rel-card .hrddd-v2-rel-date { padding-bottom: 10px; }
.hrddd-v2-rel-cat {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 4px;
}
.hrddd-v2-rel-title {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin: 6px 0 4px;
}
.hrddd-v2-rel-date {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gray-500);
}
.hrddd-v2-rel-empty {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  padding: 20px 0;
}

/* Article body prose */
.hrddd-content {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700);
}
.hrddd-content p { margin: 0 0 1.25em; }
.hrddd-content p:last-child { margin-bottom: 0; }
.hrddd-content h2, .hrddd-content h3, .hrddd-content h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin: 1.6em 0 .5em;
  line-height: 1.3;
}
.hrddd-content h2 { font-size: 20px; }
.hrddd-content h3 { font-size: 17px; }
.hrddd-content h4 { font-size: 15px; }
.hrddd-content ul, .hrddd-content ol {
  padding-left: 1.5em;
  margin: 0 0 1.25em;
}
.hrddd-content li { margin-bottom: .4em; }
.hrddd-content a { color: var(--blue); text-decoration: underline; }
.hrddd-content a:hover { color: var(--navy); }
.hrddd-content img { max-width: 100%; border-radius: 8px; margin: 1em 0; }
.hrddd-content blockquote {
  border-left: 3px solid var(--amber);
  margin: 1.5em 0;
  padding: .75em 1.25em;
  background: var(--gray-50, #f8fafc);
  border-radius: 0 8px 8px 0;
  color: var(--gray-600);
  font-style: italic;
}
.hrddd-content strong { color: var(--navy); }

/* Responsive */
@media (max-width: 900px) {
  .hrddd-v2-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .hrddd-v2-page { padding-top: 32px; }
  .hrddd-v2-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .hrddd-v2-main { padding: 16px 16px 36px; }
  .hrddd-v2-sidebar {
    position: static;
    margin-top: 8px;
  }
  .hrddd-v2-hero { margin: -16px -16px 18px -16px; width: calc(100% + 32px); }
  .hrddd-v2-back { min-height: 44px; font-size: 14px; width: 100%; }
}
@media (max-width: 600px) {
  .hrddd-v2-title { font-size: 18px; }
  .hrddd-v2-hero { aspect-ratio: 16 / 9; border-radius: 8px; }
  .hrddd-v2-footer-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   UPDATES CTA — shared across Events, Gallery, Madacig Times v2
============================================================ */
.updates-cta {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -6px 16px rgba(0,0,0,0.10);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.updates-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--blue) 48%, var(--blue-dark) 52%, transparent);
  border-radius: 0 0 3px 3px;
}
.updates-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.updates-cta-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.updates-cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}
.updates-cta-sub {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin: 0 0 20px;
}
.updates-cta-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.updates-cta-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600, #4b5563);
  line-height: 1.5;
}
.updates-cta-features li::before {
  content: '';
  width: 7px; height: 7px;
  flex-shrink: 0;
  background: var(--blue);
  border-radius: 50%;
  opacity: .7;
}
.updates-cta-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.updates-cta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-50, #f9fafb);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  transition: background .22s, border-color .22s, transform .22s, box-shadow .22s;
}
.updates-cta-card:hover {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(27,79,176,.1);
  transform: translateX(5px);
}
.updates-cta-card-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.updates-cta-card-icon svg { width: 20px; height: 20px; color: var(--blue); }
.updates-cta-card-body { flex: 1; }
.updates-cta-card-body strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.updates-cta-card-body span {
  font-size: 12px;
  color: var(--gray-500);
}
.updates-cta-card-arrow {
  color: var(--gray-300, #d1d5db);
  flex-shrink: 0;
  transition: color .22s, transform .22s;
}
.updates-cta-card:hover .updates-cta-card-arrow {
  color: var(--blue);
  transform: translateX(3px);
}
.updates-cta-card-arrow svg { width: 15px; height: 15px; }

/* Responsive */
@media (max-width: 1100px) {
  /* Fix 6: tighten CTA gap on iPad Pro 12.9" portrait so text columns breathe */
  .updates-cta-inner { gap: 40px; }
}
@media (max-width: 860px) {
  .updates-cta-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .updates-cta { padding: 52px 0 60px; }
  .updates-cta-cards { gap: 8px; }
  .updates-cta-card { padding: 10px 14px; gap: 12px; border-radius: 10px; }
  .updates-cta-card-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
  .updates-cta-card-icon svg { width: 15px; height: 15px; }
  /* hide subtitle on mobile — cards become compact icon + title + arrow pills */
  .updates-cta-card-body span { display: none; }
  .updates-cta-card-body strong { font-size: 13.5px; }
}

/* ============================================================
   MADACIG TIMES v2
============================================================ */
.mt-page {
  padding: 56px 0 100px;
  background: var(--white);
}
.mt-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.mt-head-divider {
  width: 100%;
  height: 0;
  position: relative;
  margin-bottom: 40px;
  border-top: 1px dashed var(--gray-300);
}
.mt-page-head h2 span { color: var(--amber-dark); }
.mt-page-sub {
  font-size: 15px;
  color: var(--gray-500);
  margin: 6px 0 0;
  line-height: 1.6;
  max-width: 480px;
}

/* Archive header */
.mt-archive-header--centered {
  text-align: center;
}
.mt-archive-header--centered .mt-archive-label {
  margin-left: auto;
  margin-right: auto;
}
.mt-archive-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.mt-archive-label::before,
.mt-archive-label::after {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--amber-dark);
  border-radius: 2px;
}
.mt-page .mt-archive-label::after,
.ev-page .mt-archive-label::after {
  display: none;
}
.mt-archive-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}
.mt-archive-heading span { color: var(--amber-dark); }
.mt-archive-sub {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
}
.mt-page .mt-archive-sub,
.ev-page .mt-archive-sub {
  margin-left: 0;
}
.mt-archive-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.mt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mt-chip {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
  cursor: pointer;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.mt-chip:hover { border-color: var(--gray-400); color: var(--gray-700); }
.mt-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.mt-archive-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 14px;
}
.mt-archive-count {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 36px;
  text-align: center;
}
.mt-page .mt-archive-count,
.ev-page .mt-archive-count {
  text-align: left;
}
.mt-archive-count strong { color: var(--gray-700); font-weight: 600; }
.mt-archive-controls--end { justify-content: flex-end; }
.ev-archive-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.ev-archive-row-left { flex: 1; }
.ev-archive-row-left .mt-archive-heading { margin-bottom: 8px; }
.ev-archive-row-left .mt-archive-sub { margin-bottom: 0; }
.ev-archive-row-right { flex-shrink: 0; }

/* Search */
.mt-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 0 16px 0 18px;
  flex: 1;
  min-width: 240px;
  max-width: 380px;
  transition: var(--transition);
}
.mt-search:focus-within {
  background: var(--white);
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(212,160,23,.16);
}
.mt-search svg { width: 16px; height: 16px; color: var(--gray-500); flex-shrink: 0; }
.mt-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 11px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  outline: none;
}
.mt-search input::placeholder { color: var(--gray-500); }

/* Grid */
.mt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mt-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

/* Card */
.mt-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.mt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.mt-card-img {
  display: block;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}
.mt-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.mt-card:hover .mt-card-img img { transform: scale(1.04); }
.mt-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mt-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 12px 0 10px;
  letter-spacing: -.005em;
}
.mt-card-title a { color: inherit; transition: color .25s ease; }
.mt-card-title a:hover { color: var(--blue); }
.mt-card-excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* Date meta */
.mt-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
}
.mt-date svg { width: 12px; height: 12px; color: var(--gray-500); }

/* Read more (matches .news-read-more pattern) */
.mt-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-deeper);
  letter-spacing: -.005em;
  position: relative;
  padding-bottom: 5px;
  margin-top: 18px;
  align-self: flex-start;
  transition: color .25s ease;
}
.mt-read-more::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}
.mt-read-more svg { transition: transform .3s ease; }
.mt-read-more:hover { color: var(--amber-dark); }
.mt-read-more:hover::after { transform: scaleX(1); }
.mt-read-more:hover svg { transform: translateX(5px); }

/* Empty state */
.mt-empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
}
.mt-empty--full { max-width: 720px; margin: 0 auto; }
.mt-empty-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.mt-empty-icon svg { width: 24px; height: 24px; color: var(--gray-500); }
.mt-empty h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.mt-empty p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0 auto;
  max-width: 420px;
}

/* ----- Detail page ----- */
.mt-detail-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  padding: 10px 20px;
  border-radius: 100px;
  margin-top: 18px;
}
.mt-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}
.mt-detail-meta-item svg { width: 14px; height: 14px; color: var(--amber); }

.mt-article { padding: 64px 0 24px; background: var(--white); }
.mt-detail-body {
  max-width: 860px;
  margin: 0 auto;
}
.mt-detail-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
  background: var(--gray-100);
}
.mt-detail-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article title (under image) */
.mt-article-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -.015em;
  margin: 0 0 16px;
}

/* Byline */
.mt-article-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}
.mt-article-byline-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
}
.mt-article-byline-item svg { width: 14px; height: 14px; color: var(--amber-dark); }
.mt-article-byline-dot {
  width: 3px;
  height: 3px;
  background: var(--gray-300);
  border-radius: 50%;
}
.mt-detail-content {
  font-family: 'Inter', sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--gray-800);
}
.mt-detail-content p { margin: 0 0 22px; }
.mt-detail-content h1,
.mt-detail-content h2,
.mt-detail-content h3,
.mt-detail-content h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  margin: 32px 0 16px;
}
.mt-detail-content h1 { font-size: 28px; }
.mt-detail-content h2 { font-size: 24px; }
.mt-detail-content h3 { font-size: 20px; }
.mt-detail-content h4 { font-size: 17px; }
.mt-detail-content img {
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.mt-detail-content blockquote {
  border-left: 3px solid var(--amber);
  padding: 4px 0 4px 20px;
  margin: 26px 0;
  color: var(--gray-700);
  font-size: 17px;
}
.mt-detail-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mt-detail-content ul,
.mt-detail-content ol {
  margin: 0 0 22px;
  padding-left: 22px;
  list-style: disc;
}
.mt-detail-content ol { list-style: decimal; }
.mt-detail-content li { margin-bottom: 8px; }

.mt-back-row {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.mt-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue);
  padding: 10px 18px;
  background: var(--blue-light);
  border-radius: 100px;
  transition: background .25s ease, color .25s ease, gap .25s ease;
}
.mt-back-link:hover {
  background: var(--blue);
  color: var(--white);
  gap: 12px;
}

/* Related stories */
.mt-related-section {
  padding: 80px 0 100px;
  background: var(--gray-100);
}
.mt-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.mt-related-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deeper);
  transition: gap .25s ease, color .25s ease;
}
.mt-related-all:hover { gap: 12px; color: var(--amber-dark); }

/* Responsive */
@media (max-width: 1024px) {
  .mt-grid,
  .mt-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .mt-page { padding: 44px 0 72px; }
  .mt-grid,
  .mt-grid--3 { grid-template-columns: 1fr; }
  .mt-page-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .mt-archive-controls { flex-direction: column; align-items: stretch; }
  .mt-search { min-width: 0; width: 100%; }
  /* ev-archive-row stays horizontal until 640px; counteract the width:100% on its search */
  .ev-archive-row-right .mt-search { width: auto; min-width: 240px; }
  .mt-detail-content { font-size: 15.5px; }
  .mt-related-section { padding: 60px 0 76px; }
}
@media (max-width: 600px) {
  .mt-page { padding: 36px 0 64px; }
  .mt-article { padding: 44px 0 16px; }
  .mt-detail-hero { border-radius: 14px; }
}

/* ============================================================
   EVENTS v2
============================================================ */
.ev-page {
  padding: 56px 0 100px;
  background: var(--white);
}
.ev-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Search */
.ev-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 0 16px 0 18px;
  min-width: 280px;
  transition: var(--transition);
}
.ev-search:focus-within {
  background: var(--white);
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(212,160,23,.16);
}
.ev-search svg { width: 16px; height: 16px; color: var(--gray-500); flex-shrink: 0; }
.ev-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  outline: none;
}
.ev-search input::placeholder { color: var(--gray-500); }

/* Subsection divider — separates Upcoming from Past Events.
   Left-aligned label + count, with an amber→gray hairline beneath. */
.ev-subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.ev-subsection-head:first-child { margin-top: 0; }
.ev-subsection-head + .ev-grid + .ev-subsection-head { margin-top: 56px; }
.ev-subsection-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.ev-subsection-label--accent { color: var(--blue-deeper); }
.ev-subsection-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
}
.ev-subsection-label--accent .ev-subsection-dot {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(212,160,23,.16);
}
.ev-subsection-count {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--gray-500);
  letter-spacing: .02em;
}

/* Grid */
.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.ev-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.ev-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.ev-card-img {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}
.ev-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
.ev-card:hover .ev-card-img img { transform: scale(1.04); }
.ev-card-date {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(10,31,76,.18);
  min-width: 52px;
}
.ev-card-date .d {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.01em;
}
.ev-card-date .m {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-top: 4px;
}
.ev-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ev-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 12px;
  letter-spacing: -.005em;
}
.ev-card-title a { color: inherit; transition: color .25s ease; }
.ev-card-title a:hover { color: var(--blue); }

.ev-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.ev-card-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--gray-500);
  line-height: 1.45;
}
.ev-card-meta svg {
  width: 13px;
  height: 13px;
  color: var(--amber-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.ev-card-excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* Read more */
.ev-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deeper);
  letter-spacing: -.005em;
  position: relative;
  padding-bottom: 5px;
  margin-top: 16px;
  align-self: flex-start;
  transition: color .25s ease;
}
.ev-read-more::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}
.ev-read-more svg { transition: transform .3s ease; }
.ev-read-more:hover { color: var(--blue-deeper); }
.ev-read-more:hover::after { transform: scaleX(1); }
.ev-read-more:hover svg { transform: translateX(5px); }

/* Empty state */
.ev-empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
}
.ev-empty--full { max-width: 720px; margin: 0 auto; }
.ev-empty-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.ev-empty-icon svg { width: 24px; height: 24px; color: var(--gray-500); }
.ev-empty h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.ev-empty p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0 auto;
  max-width: 420px;
}

/* ----- Detail page ----- */
.ev-detail-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  padding: 10px 20px;
  border-radius: 100px;
  margin-top: 18px;
}
.ev-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}
.ev-detail-meta-item svg { width: 14px; height: 14px; color: var(--amber); }

.ev-article { padding: 64px 0 24px; background: var(--white); }
.ev-detail-body {
  max-width: 860px;
  margin: 0 auto;
}
.ev-detail-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
  background: var(--gray-100);
}
.ev-detail-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article title (under image) */
.ev-article-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -.015em;
  margin: 0 0 18px;
}

/* Article meta list (under title) */
.ev-article-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0 0 28px;
  padding: 20px 22px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 3px solid var(--amber);
}
.ev-article-meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.55;
}
.ev-article-meta li strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-right: 4px;
}
.ev-article-meta svg {
  width: 16px;
  height: 16px;
  color: var(--amber-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.ev-detail-content {
  font-family: 'Inter', sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--gray-800);
}
.ev-detail-content p { margin: 0 0 22px; }
.ev-detail-content h1,
.ev-detail-content h2,
.ev-detail-content h3,
.ev-detail-content h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  margin: 32px 0 16px;
}
.ev-detail-content h1 { font-size: 28px; }
.ev-detail-content h2 { font-size: 24px; }
.ev-detail-content h3 { font-size: 20px; }
.ev-detail-content h4 { font-size: 17px; }
.ev-detail-content img {
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.ev-detail-content blockquote {
  border-left: 3px solid var(--amber);
  padding: 4px 0 4px 20px;
  margin: 26px 0;
  color: var(--gray-700);
  font-size: 17px;
}
.ev-detail-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ev-detail-content ul,
.ev-detail-content ol {
  margin: 0 0 22px;
  padding-left: 22px;
  list-style: disc;
}
.ev-detail-content ol { list-style: decimal; }
.ev-detail-content li { margin-bottom: 8px; }

.ev-back-row {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.ev-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue);
  padding: 10px 18px;
  background: var(--blue-light);
  border-radius: 100px;
  transition: background .25s ease, color .25s ease, gap .25s ease;
}
.ev-back-link:hover {
  background: var(--blue);
  color: var(--white);
  gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .ev-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .ev-page { padding: 44px 0 72px; }
  .ev-page-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .ev-search { min-width: 0; width: 100%; }
  .ev-detail-content { font-size: 15.5px; }
  .ev-article-meta { padding: 16px 18px; }
}
/* Fix #1+#2: single-column + archive-row stacking at 640px (not 820px) so iPad portrait keeps 2 cols */
@media (max-width: 640px) {
  .ev-grid { grid-template-columns: 1fr; }
  .ev-archive-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .ev-archive-row-right .mt-search { width: 100%; min-width: 0; }
  /* Fix #3: taller image on single-column cards */
  .ev-card-img { height: 240px; }
}
@media (max-width: 600px) {
  .ev-page { padding: 36px 0 64px; }
  .ev-article { padding: 44px 0 16px; }
  .ev-detail-hero { border-radius: 14px; }
  /* Fix #4: tighter card body padding on narrow phones */
  .ev-card-body { padding: 18px 18px 20px; }
}

/* ============================================================
   EVENTS DETAIL v2  (evd2-*)
============================================================ */
.evd2-page {
  background: var(--white);
  padding-top: 48px;
  padding-bottom: 72px;
}
.evd2-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 24px;
}

/* Left column */
.evd2-main {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}
.evd2-hero {
  aspect-ratio: 16 / 9;
  background: var(--navy);
  overflow: hidden;
}
.evd2-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 1;
  display: block;
}
.evd2-body {
  padding: 24px 28px 32px;
}
.evd2-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -.02em;
  margin: 0;
}
.evd2-bar {
  width: 100%;
  border: none;
  border-top: 1px dashed #cbd5e1;
  margin: 16px 0 20px;
}
.evd2-content {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700);
}
.evd2-content p { margin: 0 0 1.25em; }
.evd2-content p:last-child { margin-bottom: 0; }
.evd2-content h2, .evd2-content h3, .evd2-content h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin: 1.6em 0 .5em;
  line-height: 1.3;
}
.evd2-content h2 { font-size: 20px; }
.evd2-content h3 { font-size: 17px; }
.evd2-content h4 { font-size: 15px; }
.evd2-content ul, .evd2-content ol { padding-left: 1.5em; margin: 0 0 1.25em; }
.evd2-content li { margin-bottom: .4em; }
.evd2-content a { color: var(--blue); text-decoration: underline; }
.evd2-content a:hover { color: var(--navy); }
.evd2-content img { max-width: 100%; border-radius: 8px; margin: 1em 0; }
.evd2-content blockquote {
  border-left: 3px solid var(--amber);
  margin: 1.5em 0;
  padding: .75em 1.25em;
  background: var(--gray-100);
  border-radius: 0 8px 8px 0;
  color: var(--gray-600);
  font-style: italic;
}
.evd2-content strong { color: var(--navy); }

/* Right sidebar */
.evd2-sidebar {
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 88px;
  align-self: start;
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue-deeper) 100%);
  z-index: 1;
}

/* Info card — transparent, sidebar bg shows through */
.evd2-info-card {
  background: transparent;
  padding: 28px 20px 24px;
}
.evd2-date-showcase {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.evd2-date-day {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  color: var(--amber);
  letter-spacing: -.02em;
}
.evd2-date-month {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 4px;
}
.evd2-date-year {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 3px;
}
.evd2-info-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.evd2-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.evd2-info-row svg {
  width: 15px; height: 15px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 3px;
}
.evd2-info-row-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.evd2-info-row-label {
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.evd2-info-row-value {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--white);
  line-height: 1.4;
}
.evd2-info-row-time {
  font-size: 12px;
  color: rgba(255,255,255,.65);
}

/* Upcoming events section */
.evd2-upcoming {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.1);
}
.evd2-upcoming .hrddd-v2-sidebar-head {
  padding: 18px 16px 0;
  margin-bottom: 0;
}
.evd2-upcoming .hrddd-v2-sidebar-label {
  color: var(--white);
}

/* Upcoming events list */
.evd2-upcoming-list {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.evd2-upcoming-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.evd2-upcoming-card:hover {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.evd2-upcoming-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 6px 4px;
  flex-shrink: 0;
}
.evd2-upcoming-day {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.evd2-upcoming-mon {
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 2px;
}
.evd2-upcoming-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.evd2-upcoming-title {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin: 0;
}
.evd2-upcoming-loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
.evd2-upcoming-loc svg { width: 10px; height: 10px; color: var(--amber); flex-shrink: 0; }

/* Sidebar footer */
.evd2-sidebar-footer {
  padding: 16px 16px 20px;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.1);
}
.evd2-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
  padding: 10px;
  border-radius: 8px;
  background: var(--white);
  transition: background .2s, color .2s, gap .2s, transform .2s, box-shadow .2s;
}
.evd2-all-link svg { width: 13px; height: 13px; }
.evd2-all-link:hover { background: #edf0f5; color: var(--navy); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,255,255,.2); gap: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .evd2-layout { grid-template-columns: 1fr; padding: 0 16px; }
  .evd2-sidebar { position: static; }
  .evd2-info-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
  .evd2-date-showcase { padding-bottom: 0; margin-bottom: 0; border-bottom: none; border-right: 1px solid rgba(255,255,255,.12); padding-right: 20px; margin-right: 0; }
}
@media (max-width: 600px) {
  .evd2-page { padding-top: 32px; padding-bottom: 48px; }
  .evd2-body { padding: 16px 16px 28px; }
  .evd2-info-card { display: block; }
  .evd2-date-showcase { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 16px; margin-bottom: 16px; }
}

/* ============================================================
   GALLERY v2
============================================================ */
.gl-page {
  padding: 56px 0 100px;
  background: var(--white);
}
.gl-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Search */
.gl-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 0 16px 0 18px;
  min-width: 280px;
  transition: var(--transition);
}
.gl-search:focus-within {
  background: var(--white);
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(212,160,23,.16);
}
.gl-search svg { width: 16px; height: 16px; color: var(--gray-500); flex-shrink: 0; }
.gl-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  outline: none;
}
.gl-search input::placeholder { color: var(--gray-500); }

/* Album grid */
.gl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Album card */
.gl-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
@media (hover: hover) {
  .gl-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
  }
}
.gl-card-img {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--gray-100);
}
.gl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
@media (hover: hover) { .gl-card:hover .gl-card-img img { transform: scale(1.06); } }
.gl-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-100) 0%, #f4f6fa 100%);
}
.gl-card-placeholder svg { width: 44px; height: 44px; color: var(--gray-400); }
.gl-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10,31,76,0) 0%, rgba(10,31,76,.78) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 2;
}
@media (hover: hover) { .gl-card:hover .gl-card-overlay { opacity: 1; } }
@media (hover: none) {
  .gl-card-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(10,31,76,0) 30%, rgba(10,31,76,.68) 100%);
  }
}
@media (max-width: 820px) {
  .gl-card-view { display: none !important; }
}
.gl-card-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  padding: 9px 16px;
  border-radius: 100px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.gl-card-view svg { width: 14px; height: 14px; }
.gl-card-count {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  padding: 6px 11px;
  border-radius: 100px;
  box-shadow: 0 6px 16px rgba(10,31,76,.18);
}
.gl-card-count svg { width: 12px; height: 12px; color: var(--amber-dark); }
.gl-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gl-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.gl-card-title a { color: inherit; transition: color .25s ease; }
.gl-card-title a:hover { color: var(--blue); }
.gl-card-excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* Read more */
.gl-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deeper);
  letter-spacing: -.005em;
  position: relative;
  padding-bottom: 5px;
  margin-top: 14px;
  align-self: flex-start;
  transition: color .25s ease;
}
.gl-read-more::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}
.gl-read-more svg { transition: transform .3s ease; }
.gl-read-more:hover { color: var(--blue-deeper); }
.gl-read-more:hover::after { transform: scaleX(1); }
.gl-read-more:hover svg { transform: translateX(5px); }

/* Empty state */
.gl-empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
}
.gl-empty--full { max-width: 720px; margin: 0 auto; }
.gl-empty-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.gl-empty-icon svg { width: 24px; height: 24px; color: var(--gray-500); }
.gl-empty h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.gl-empty p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0 auto;
  max-width: 420px;
}


/* ----- Gallery album section head (title + description) ----- */
.gl-album-topbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200, #e5e7eb);
}
.gl-album-topbar .hrddd-v2-top-back { flex-shrink: 0; }
@media (min-width: 769px) {
  .gl-album-topbar .hrddd-v2-top-back { display: none; }
}
.gl-album-head {
  margin: 0;
}
.gl-album-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--blue-dark, #0a1428);
  letter-spacing: -0.022em;
  margin: 0 0 10px;
}
.gl-album-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--gray-600, #4b5563);
  margin: 0;
}

.gl-album {
  padding: 56px 0 80px;
  background: var(--white);
}

/* Photo grid — masonry columns */
.gl-photos {
  columns: 4;
  column-gap: 12px;
}
.gl-photo {
  position: relative;
  break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  width: 100%;
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-100);
  padding: 0;
  cursor: pointer;
  transition: box-shadow .25s ease;
}
.gl-photo:hover {
  box-shadow: var(--shadow-md);
}
.gl-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.gl-photo:hover img { transform: scale(1.04); }
.gl-photo-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,31,76,.55);
  opacity: 0;
  transition: opacity .25s ease;
}
.gl-photo:hover .gl-photo-hover { opacity: 1; }
.gl-photo-hover svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

/* Back link */
.gl-back-row {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.gl-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue);
  padding: 10px 18px;
  background: var(--blue-light);
  border-radius: 100px;
  transition: background .25s ease, color .25s ease, gap .25s ease;
}
.gl-back-link:hover {
  background: var(--blue);
  color: var(--white);
  gap: 12px;
}

/* Lightbox */
.gl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,15,30,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.gl-lightbox[hidden] { display: none; }
.gl-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.gl-lightbox-close,
.gl-lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
}
.gl-lightbox-close svg,
.gl-lightbox-nav svg { width: 20px; height: 20px; }
.gl-lightbox-close { top: 24px; right: 24px; }
.gl-lightbox-prev { left: 24px; }
.gl-lightbox-next { right: 24px; }
.gl-lightbox-prev,
.gl-lightbox-next { top: 50%; transform: translateY(-50%); }
.gl-lightbox-close:hover,
.gl-lightbox-nav:hover { background: rgba(255,255,255,.20); }
.gl-lightbox-prev:hover { transform: translateY(-50%) translateX(-2px); }
.gl-lightbox-next:hover { transform: translateY(-50%) translateX(2px); }
.gl-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  padding: 7px 16px;
  backdrop-filter: blur(6px);
}

/* Responsive */
@media (max-width: 1024px) {
  .gl-grid { grid-template-columns: repeat(2, 1fr); }
  .gl-photos { columns: 3; }
}
@media (max-width: 820px) {
  .gl-page { padding: 44px 0 72px; }
  .gl-page-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .gl-search { min-width: 0; width: 100%; }
  .gl-photos { columns: 2; }
  .gl-lightbox { padding: 20px; }
  .gl-lightbox-close { top: 14px; right: 14px; }
  .gl-lightbox-prev { left: 12px; }
  .gl-lightbox-next { right: 12px; }
}
@media (max-width: 600px) {
  .gl-page { padding: 36px 0 64px; }
  .gl-album { padding: 40px 0 64px; }
  .gl-photos { columns: 2; column-gap: 10px; }
  .gl-grid { grid-template-columns: 1fr; }
  .gl-card-body { padding: 16px 18px 20px; }
}
@media (max-width: 991px) {
  /* hide intro images */
  .shs-intro-media,
  .bp-intro-media,
  .tve-intro-media,
  .dp-intro-media { display: none; }

  /* collapse intro grids to single column and reduce gap */
  .shs-intro,
  .bp-intro,
  .tve-intro,
  .dp-intro {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  /* tighten section top/bottom padding */
  .shs-page,
  .bp-page,
  .tve-page,
  .dp-page { padding: 40px 0 32px; }
}

/* Page banner — iPad & mobile responsiveness */
@media (max-width: 1024px) {
  .page-banner { padding: 140px 0 64px; }
  .page-banner-sub { font-size: 16px; }
}
@media (max-width: 760px) {
  .page-banner-eyebrow { margin-bottom: 16px; }
  .page-banner-sub { font-size: 16px; line-height: 1.7; }
}
/* Image placeholder — stands in for demo/stock images pending real photos.
   Applied alongside an element's existing image class so sizing rules still apply. */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  color: var(--gray-500);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.4;
  padding: 10px;
  box-sizing: border-box;
}
.img-placeholder span { max-width: 100%; }

@media (max-width: 480px) {
  .page-banner { padding: 110px 0 44px; }
  .page-banner-eyebrow { margin-bottom: 14px; }
  .page-banner-sub { font-size: 15px; }
}
