:root {
  color-scheme: light;
  --navy: #102845;
  --navy-2: #18395b;
  --navy-deep: #0a1d33;
  --gold: #c89d4b;
  --gold-light: #e9d4a8;
  --ink: #1c2a39;
  --muted: #677483;
  --paper: #ffffff;
  --canvas: #f7f6f2;
  --line: #e7e3da;
  --soft-gold: #f4f0e7;
  --shadow: 0 18px 55px rgba(16, 40, 69, .10);
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-heading: "Manrope", "Segoe UI", sans-serif;
}

body.lightbox-open {
  overflow: hidden;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e9edf2;
  --muted: #adb8c4;
  --paper: #172638;
  --canvas: #102033;
  --line: #314356;
  --soft-gold: #283344;
  --gold-light: #e4c57f;
  --shadow: 0 18px 55px rgba(0, 0, 0, .2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--font-body);
  overflow-x: hidden;
  transition: background-color .25s ease, color .25s ease;
}

body, button, input, select, textarea {
  font-family: var(--font-body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-size: inherit;
}

button, a, summary, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sg-container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  background: var(--navy-deep);
  color: #e2e8ef;
  font-size: 12px;
  letter-spacing: .02em;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar a {
  color: var(--gold-light);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--navy);
}

html[data-theme="dark"] .brand {
  color: var(--ink);
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand strong {
  font: 800 17px/1.3 var(--font-heading);
  letter-spacing: -.045em;
}

.brand small {
  margin-top: 3px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}

.theme-toggle, .menu-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .menu-toggle {
  color: var(--gold-light);
}

.theme-toggle {
  margin-left: 0;
  font-size: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.main-nav > a, .nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 9px;
  border-radius: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  transition: color .18s ease, background-color .18s ease;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "⌄";
  color: var(--gold);
  font-size: 14px;
}

.main-nav > a:hover, .nav-dropdown > summary:hover,
.nav-dropdown[open] > summary {
  color: var(--gold);
  background: var(--soft-gold);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: 290px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.dropdown-panel a {
  display: block;
  padding: 9px 11px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.dropdown-panel a:hover {
  background: var(--soft-gold);
  color: var(--navy-2);
}

.main-nav > .nav-apply {
  margin-left: 7px;
  padding: 11px 16px;
  background: var(--gold);
  color: #182a3d;
}

.main-nav > .nav-apply:hover {
  background: var(--gold-light);
  color: #182a3d;
}

.menu-toggle {
  display: none;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(min(680px, 78vw) - 75px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-deep);
  color: white;
}

.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slides, .hero-slide, .hero-slide img {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  object-fit: cover;
  object-position: center 45%;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 24, 43, .84) 0%, rgba(10, 31, 53, .70) 45%, rgba(11, 29, 49, .18) 100%),
    linear-gradient(0deg, rgba(8, 26, 46, .35), transparent 55%);
}

.hero-content {
  position: relative;
  padding: 48px 390px 100px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 17px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 27px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--gold);
}

.eyebrow-light {
  color: var(--gold-light);
}

.hero h1, h2, h3 {
  font-family: var(--font-heading);
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1.08;
}

.hero h1 em, h2 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lead {
  max-width: 570px;
  margin: 17px 0 0;
  color: #e2e7ec;
  font-size: clamp(16px, 1.7vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 21px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: #14273a;
}

.button-gold:hover {
  background: var(--gold-light);
}

.button-outline {
  border-color: rgba(255, 255, 255, .64);
  color: white;
}

.button-outline:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, .1);
}

.button-navy {
  background: var(--navy);
  color: white;
}

.button-navy:hover {
  background: var(--navy-2);
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: #e3e8ed;
  font-size: 12px;
}

.hero-hospital-card {
  position: absolute;
  top: 50%;
  right: 0;
  width: min(340px, 29%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  background: rgba(7, 24, 43, .78);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .2);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
}

.hero-hospital-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.hero-hospital-copy {
  min-width: 0;
  flex: 1;
}

.hero-hospital-copy strong,
.hero-hospital-copy small {
  display: block;
}

.hero-hospital-copy strong {
  color: white;
  font: 700 15px/1.4 var(--font-heading);
}

.hero-hospital-copy small {
  margin-top: 3px;
  color: #d9e5eb;
  font-size: 11px;
  line-height: 1.4;
}

.hero-hospital-card > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 3px;
  background: white;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  transition: background-color .2s ease, transform .2s ease;
}

.hero-hospital-card > a:hover {
  transform: translateY(-1px);
  background: var(--gold-light);
}

.caption-rule {
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.hero-scroll {
  position: absolute;
  right: max(24px, calc((100% - 1240px) / 2));
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero-scroll span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
}

.hero-scroll span::after {
  content: "↓";
  display: grid;
  height: 100%;
  place-items: center;
}

.hero-carousel-controls {
  position: absolute;
  right: max(24px, calc((100% - 1240px) / 2));
  bottom: 70px;
  z-index: 2;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-carousel-controls > button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(9, 27, 46, .5);
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid white;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dot[aria-pressed="true"] {
  width: 18px;
  border-radius: 8px;
  background: var(--gold-light);
}

.intro-band {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.intro-band-inner {
  min-height: 94px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.intro-band-inner > span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.intro-band-inner > span + span {
  border-left: 1px solid var(--line);
}

.intro-band strong {
  color: var(--navy);
  font: 800 27px/1 var(--font-heading);
}

html[data-theme="dark"] .intro-band strong {
  color: var(--gold-light);
}

.section {
  padding-block: 94px;
}

.about-grid, .facilities-grid, .faq-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.about-photo {
  position: relative;
  z-index: 2;
  min-height: 410px;
  padding: 0 30px 32px 0;
}

.about-photo::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 74%;
  border: 1px solid var(--gold);
}

.about-photo > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.photo-note {
  position: absolute;
  right: -18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.note-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--navy);
  color: var(--gold-light);
  font: 800 18px var(--font-heading);
}

.photo-note strong, .photo-note small {
  display: block;
}

.photo-note strong {
  font-size: 12px;
}

.photo-note small {
  color: var(--muted);
  font-size: 10px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.16;
}

html[data-theme="dark"] h2, html[data-theme="dark"] .intro-band strong {
  color: var(--ink);
}

.about-copy > p:not(.eyebrow), .facilities-copy > p:not(.eyebrow),
.faq-grid > div > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}

.about-copy > p:not(.eyebrow) {
  margin: 21px 0 0;
}

.leadership-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 64px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #e4dfd3;
  background: linear-gradient(145deg, var(--canvas), var(--paper));
}

html[data-theme="dark"] .leadership-strip {
  border-color: var(--line);
  background: linear-gradient(145deg, var(--canvas), var(--paper));
}

.leadership-heading .eyebrow {
  margin-bottom: 15px;
}

.leadership-heading h2 {
  max-width: 650px;
  font-size: clamp(27px, 3vw, 38px);
}

.leadership-heading > p:not(.eyebrow) {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.leadership-heading > small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.leader-card {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) 1.1fr;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7e1d5;
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 40, 69, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(16, 40, 69, .16);
}

.leader-portrait {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--navy);
}

.leader-portrait::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(8, 24, 42, .58));
  pointer-events: none;
}

.leader-portrait img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
}

.leader-card:hover .leader-portrait img {
  transform: scale(1.045);
}

.leader-role {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 1;
  padding: 7px 10px;
  border-left: 2px solid var(--gold-light);
  background: rgba(10, 29, 51, .83);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.leader-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(17px, 2.3vw, 27px);
}

.leader-kicker {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.leader-card h3 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(18px, 1.8vw, 23px);
}

.leader-card p {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

html[data-theme="dark"] .leader-card h3 {
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

html[data-theme="dark"] .text-link {
  color: var(--gold-light);
}

.text-link span {
  color: var(--gold);
  font-size: 20px;
}

.institutions-section, .testimonial-section {
  background: var(--canvas);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 35px;
}

.section-heading > p {
  max-width: 405px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
}

.section-intro {
  max-width: 740px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.institution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.institution-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform .25s ease, box-shadow .25s ease;
}

.institution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.institution-card-image {
  position: relative;
  height: 205px;
  overflow: hidden;
  background: var(--soft-gold);
}

.institution-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.institution-card:hover .institution-card-image img {
  transform: scale(1.04);
}

.institution-category {
  position: absolute;
  left: 17px;
  bottom: 15px;
  padding: 5px 9px;
  background: var(--paper);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.institution-card-content {
  padding: 21px 22px 23px;
}

.institution-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.04em;
}

html[data-theme="dark"] .institution-card h3 {
  color: var(--ink);
}

.institution-card p {
  min-height: 45px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.course-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-chip {
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

html[data-theme="dark"] .card-link {
  color: var(--gold-light);
}

.card-link span {
  color: var(--gold);
  font-size: 16px;
}

.course-browser {
  padding: clamp(17px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--canvas);
}

.course-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.course-filter {
  min-height: 39px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.course-filter:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  color: var(--navy);
}

.course-filter.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.course-result-count {
  margin: 17px 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.course-card {
  position: relative;
  min-width: 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 19px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 6px 18px rgba(16, 40, 69, .04);
  animation: course-card-in .3s both;
  animation-delay: calc(var(--course-index, 0) * 18ms);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65px;
  height: 65px;
  border-radius: 0 0 0 100%;
  background: var(--soft-gold);
  transition: transform .25s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.course-card:hover::before {
  transform: scale(1.15);
}

.course-card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  font-size: 19px;
}

html[data-theme="dark"] .course-card-icon {
  color: white;
}

.course-card-copy {
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.course-category {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 5px 0 0;
  color: var(--navy);
  font: 700 17px/1.35 var(--font-heading);
}

html[data-theme="dark"] .course-card h3 {
  color: var(--ink);
}

.course-card-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.course-card-number {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 1;
  color: var(--gold);
  font: 800 10px var(--font-heading);
}

.course-card-link {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

html[data-theme="dark"] .course-card-link {
  color: var(--gold-light);
}

.course-card-link span:last-child {
  color: var(--gold);
  font-size: 17px;
}

@keyframes course-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.why-section {
  background: var(--navy);
  color: white;
}

.heading-light h2, .admissions-inner h2 {
  color: white;
}

.heading-light > p {
  color: #c5d0da;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.why-card {
  padding: 28px 23px 5px 0;
}

.why-card + .why-card {
  padding-left: 23px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.why-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(233, 212, 168, .5);
  border-radius: 50%;
  color: var(--gold-light);
  font: 700 19px var(--font-heading);
}

.why-card h3 {
  margin: 18px 0 8px;
  color: white;
  font-size: 16px;
}

.why-card p {
  margin: 0;
  color: #c4cfda;
  font-size: 12px;
}

.facilities-copy h2 {
  margin-bottom: 19px;
}

.facilities-copy > p:not(.eyebrow) {
  max-width: 475px;
}

.facility-list article {
  display: grid;
  grid-template-columns: 40px 1fr 22px;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.facility-list article:first-child {
  border-top: 1px solid var(--line);
}

.facility-list article > span:first-child {
  color: var(--gold);
  font: 700 19px var(--font-heading);
}

.facility-list h3 {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
}

html[data-theme="dark"] .facility-list h3 {
  color: var(--ink);
}

.facility-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.facility-arrow {
  color: var(--gold);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  margin: 0;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.testimonial-featured {
  border-top: 3px solid var(--gold);
}

.quote-mark {
  color: var(--gold);
  font: 700 45px/.8 Georgia, serif;
}

.testimonial-card blockquote {
  min-height: 87px;
  margin: 15px 0 24px;
  color: var(--ink);
  font: 600 15px/1.6 var(--font-heading);
}

.testimonial-card figcaption {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

html[data-theme="dark"] .testimonial-card figcaption {
  color: var(--gold-light);
}

.testimonial-card figcaption span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  grid-template-rows: 175px 175px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--soft-gold);
  cursor: zoom-in;
}

.gallery-item.gallery-tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 15px 11px;
  background: linear-gradient(transparent, rgba(8, 26, 46, .76));
  color: white;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.admissions-banner {
  padding-block: 62px;
  background: linear-gradient(110deg, var(--navy-deep), var(--navy-2));
  color: white;
}

.admissions-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.admissions-inner h2 {
  font-size: clamp(30px, 4vw, 43px);
}

.admissions-inner p:not(.eyebrow) {
  max-width: 570px;
  margin: 12px 0 0;
  color: #c8d1db;
  font-size: 13px;
}

.faq-grid {
  align-items: start;
}

.faq-grid > div > p:not(.eyebrow) {
  margin-top: 16px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 18px 35px 18px 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

html[data-theme="dark"] .faq-list summary {
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--gold);
  font-size: 20px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 35px 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.contact-section {
  background: var(--canvas);
}

.location-section {
  background: var(--canvas);
}

.location-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.location-map-frame {
  min-height: 350px;
  background:
    linear-gradient(135deg, rgba(16, 40, 69, .05), rgba(200, 157, 75, .12)),
    var(--soft-gold);
}

.location-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

.location-map-unavailable {
  display: grid;
  min-height: 350px;
  margin: 0;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.location-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
}

.location-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 23px;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--soft-gold);
  color: var(--navy);
  font-size: 22px;
}

.location-copy .eyebrow {
  margin-bottom: 11px;
}

.location-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.35;
}

html[data-theme="dark"] .location-copy h3 {
  color: var(--ink);
}

.location-address {
  margin: 11px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.location-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.location-directions {
  margin-top: 20px;
  font-size: 11px;
}

.contact-grid {
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 17px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 460px;
}

.contact-details {
  margin-top: 28px;
}

.contact-detail {
  display: flex;
  gap: 13px;
  margin: 17px 0;
}

.contact-detail-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--paper);
  color: var(--gold);
}

.contact-detail-label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-detail-value {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

html[data-theme="dark"] .contact-detail-value {
  color: var(--ink);
}

.contact-detail a:hover, .map-link:hover {
  color: var(--gold);
}

.verification-note, .social-placeholder {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.map-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.contact-form {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

html[data-theme="dark"] .contact-form h3 {
  color: var(--ink);
}

.contact-form > p:not(.form-status) {
  margin: 7px 0 21px;
  color: var(--muted);
  font-size: 11px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.form-grid label {
  display: block;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  min-height: 44px;
  display: block;
  margin-top: 6px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
}

.form-grid textarea {
  min-height: 94px;
  resize: vertical;
}

.form-grid input::placeholder, .form-grid textarea::placeholder {
  color: #929ba5;
}

.form-grid select:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.form-wide {
  grid-column: 1 / -1;
}

.optional-label {
  color: var(--muted);
  font-weight: 400;
}

.contact-form > .button {
  margin-top: 18px;
}

.form-status {
  min-height: 22px;
  margin: 11px 0 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.form-status[data-state="success"] {
  color: #246b45;
}

.form-disclaimer {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

.site-footer {
  padding-top: 57px;
  background: var(--navy-deep);
  color: #e1e7ed;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 42px;
  padding-bottom: 45px;
}

.footer-brand {
  color: white;
}

.footer-brand-block > p {
  max-width: 260px;
  margin-top: 15px;
  color: #aebbc7;
  font-size: 12px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 7px;
}

.footer-column h2 {
  margin: 0 0 7px;
  color: var(--gold-light);
  font: 800 11px var(--font-body);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-column a {
  color: #bdc7d0;
  font-size: 11px;
  line-height: 1.55;
}

.footer-column a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  min-height: 57px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #aebbc7;
  font-size: 10px;
}

.developer-credit strong {
  color: var(--gold-light);
}

.floating-actions {
  position: fixed;
  right: 22px;
  z-index: 28;
  bottom: 21px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-action {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
  color: white;
  font-size: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-action:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 11px 28px rgba(0, 0, 0, .25);
}

.floating-whatsapp {
  background: #198754;
}

.floating-whatsapp svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.floating-call {
  background: #b88737;
}

.back-to-top {
  background: var(--navy);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 14, 24, .91);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  height: min(78vh, 700px);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-rows: minmax(0, 1fr) 36px 28px;
  align-items: center;
  gap: 12px;
}

.lightbox-image {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .15s ease;
}

.lightbox-close, .lightbox-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: rgba(10, 28, 48, .8);
  color: white;
  font-size: 25px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -12px;
}

.lightbox-previous {
  grid-column: 1;
  grid-row: 1;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 1;
}

.lightbox-counter {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  color: white;
  font-size: 12px;
  text-align: center;
}

.lightbox-controls {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: white;
  font-size: 12px;
}

.lightbox-controls button {
  min-width: 31px;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 3px;
  background: rgba(10, 28, 48, .8);
  color: white;
  cursor: pointer;
}

.lightbox-controls button:last-child {
  padding-inline: 9px;
  font-size: 10px;
}

.institution-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--navy-deep);
  color: white;
}

.institution-page .section {
  padding-block: 62px;
}

.institution-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.institution-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 43, .92), rgba(7, 24, 43, .35)),
    linear-gradient(0deg, rgba(7, 24, 43, .46), transparent);
}

.institution-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 80px 70px;
}

.institution-hero h1 {
  max-width: 850px;
  margin: 0;
  font: 700 clamp(38px, 5.5vw, 66px)/1.1 var(--font-heading);
  letter-spacing: -.06em;
}

.institution-hero p:not(.eyebrow) {
  max-width: 650px;
  color: #e1e7ed;
  font-size: 15px;
}

.institution-summary {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: start;
}

.institution-summary > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}

.detail-course-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.detail-course-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font: 700 14px var(--font-heading);
}

html[data-theme="dark"] .detail-course-card {
  color: var(--ink);
}

.detail-course-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font: 800 9px var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.unverified-callout {
  margin-top: 20px;
  padding: 15px 17px;
  border-left: 3px solid var(--gold);
  background: var(--soft-gold);
  color: var(--muted);
  font-size: 12px;
}

.admission-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admission-step {
  padding: 23px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.admission-step > span {
  color: var(--gold);
  font: 800 13px var(--font-heading);
}

.admission-step h3 {
  margin: 13px 0 6px;
  color: var(--navy);
  font-size: 15px;
}

html[data-theme="dark"] .admission-step h3 {
  color: var(--ink);
}

.admission-step p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.detail-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.detail-contact {
  padding-block: 56px;
  background: var(--canvas);
}

.detail-contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 38px;
  align-items: start;
}

.empty-state {
  padding: 100px 24px;
  text-align: center;
}

.empty-state h1 {
  color: var(--navy);
  font-family: var(--font-heading);
}

html[data-theme="dark"] .empty-state h1 {
  color: var(--ink);
}

.empty-state p {
  color: var(--muted);
}

.return-institutions {
  padding-block: 0;
}

.institution-page .return-section {
  padding-block: 28px;
}

.hospital-promo-section {
  padding-block: 0 72px;
}

.hospital-promo-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #cce5e2;
  background: linear-gradient(110deg, #effaf8, #ffffff 65%, #e4f5f2);
  box-shadow: 0 16px 42px rgba(7, 92, 115, .08);
}

.hospital-promo-symbol {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #087f8c;
}

.hospital-promo-symbol span {
  position: absolute;
  width: 28px;
  height: 8px;
  border-radius: 8px;
  background: white;
}

.hospital-promo-symbol span + span {
  transform: rotate(90deg);
}

.hospital-promo-copy .eyebrow span {
  background: #0e9b9b;
}

.hospital-promo-copy h2 {
  margin: 0;
  color: #075c73;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
}

.hospital-promo-copy > p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #526c79;
  font-size: 12px;
}

.hospital-promo-button {
  border-color: #087f8c;
  background: #087f8c;
  color: #fff;
}

.hospital-promo-button:hover {
  border-color: #075c73;
  background: #075c73;
  color: #fff;
}

html[data-theme="dark"] .hospital-promo-card {
  border-color: #28515c;
  background: linear-gradient(110deg, #102d39, #172638 65%, #173a46);
}

html[data-theme="dark"] .hospital-promo-copy h2 {
  color: #8ad7d4;
}

html[data-theme="dark"] .hospital-promo-copy > p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 1160px) {
  .header-inner {
    gap: 12px;
  }

  .brand strong {
    font-size: 15px;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav > a, .nav-dropdown > summary {
    padding-inline: 7px;
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 14px 24px 21px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .main-nav > a, .nav-dropdown > summary {
    width: 100%;
    justify-content: space-between;
    padding: 11px 8px;
    font-size: 13px;
  }

    .main-nav > .nav-apply {
    justify-content: center;
    margin: 10px 0 0;
  }

  .dropdown-panel {
    position: static;
    width: auto;
    margin: 3px 0 8px;
    box-shadow: none;
  }

  .hero {
    min-height: 525px;
  }

  .hero-content {
    padding: 38px 0 78px;
  }

  .hero-hospital-card {
    position: relative;
    top: auto;
    right: auto;
    width: fit-content;
    max-width: min(100%, 490px);
    margin-top: 18px;
    padding: 11px 14px;
    transform: none;
  }

  .hero h1 {
    font-size: clamp(38px, 5.5vw, 54px);
  }

  .hero-lead {
    margin-top: 13px;
  }

  .hero-actions {
    margin-top: 17px;
  }

  .hero-caption {
    margin-top: 16px;
  }

  .hero-hospital-card {
    margin-top: 14px;
    padding: 9px 10px;
  }

  .hero-hospital-copy strong {
    font-size: 10px;
  }

  .hero-hospital-copy small {
    font-size: 9px;
  }

  .hero-hospital-card > a {
    padding: 8px;
  }

  .hero-carousel-controls {
    bottom: 54px;
  }

  .hero-scroll {
    bottom: 12px;
  }

  .institution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .why-card:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hospital-promo-card {
    grid-template-columns: auto 1fr;
  }

  .hospital-promo-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .sg-container {
    width: min(100% - 36px, 540px);
  }

  .topbar-inner {
    min-height: 34px;
    font-size: 10px;
  }

  .topbar-inner > span {
    max-width: 66%;
  }

  .header-inner {
    gap: 9px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 43px;
    height: 43px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 8px;
  }

  .theme-toggle, .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 545px;
    align-items: end;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 24, 43, .78), rgba(7, 24, 43, .32)),
      linear-gradient(0deg, rgba(8, 26, 46, .82), rgba(8, 26, 46, .06) 90%);
  }

  .hero-content {
    padding-block: 38px 88px;
  }

  .hero h1 {
    max-width: 540px;
    font-size: clamp(36px, 9vw, 48px);
  }

  .hero-lead {
    max-width: 480px;
    margin-top: 12px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 16px;
  }

  .hero-actions .button {
    min-height: 43px;
    padding: 10px 14px;
    font-size: 11px;
  }

  .hero-caption {
    max-width: 260px;
    margin-top: 14px;
    font-size: 10px;
  }

  .hero-scroll {
    display: none;
  }

  .hero-carousel-controls {
    right: 18px;
    bottom: 17px;
  }

  .intro-band-inner {
    min-height: 79px;
  }

  .intro-band-inner > span {
    flex-direction: column;
    gap: 3px;
    font-size: 9px;
    text-align: center;
  }

  .intro-band strong {
    font-size: 20px;
  }

  .section {
    padding-block: 66px;
  }

  .about-grid, .facilities-grid, .faq-grid, .contact-grid,
  .institution-summary, .detail-contact-grid, .location-card {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .location-card {
    gap: 0;
  }

  .location-map-frame, .location-map-frame iframe, .location-map-unavailable {
    min-height: 270px;
  }

  .leadership-strip {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 40px;
  }

  .leadership-grid {
    align-items: stretch;
    gap: 10px;
  }

  .leader-card {
    grid-template-columns: minmax(115px, .85fr) 1.15fr;
  }

  .leader-portrait, .leader-portrait img {
    min-height: 230px;
  }

  .leader-copy {
    padding: 14px;
  }

  .leader-card p {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 11px;
  }

  .leader-card h3 {
    font-size: 17px;
  }

  .about-photo {
    min-height: 315px;
  }

  .about-photo > img {
    height: 315px;
  }

  .photo-note {
    right: -7px;
    padding: 12px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
  }

  .hospital-promo-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hospital-promo-button {
    grid-column: auto;
    justify-self: start;
  }

  .section-heading > p {
    max-width: none;
  }

  .institution-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .course-card {
    min-height: 180px;
    padding: 13px;
  }

  .course-card h3 {
    font-size: 15px;
  }

  .course-filter-bar {
    gap: 6px;
  }

  .course-filter {
    min-height: 35px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .institution-card-image {
    height: 210px;
  }

  .institution-card p {
    min-height: 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card, .why-card + .why-card {
    padding: 20px 0;
    border-left: 0;
  }

  .why-card + .why-card {
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .why-card h3 {
    margin-top: 8px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card blockquote {
    min-height: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 210px 150px 150px;
    gap: 8px;
  }

  .gallery-item.gallery-tall {
    grid-row: span 2;
  }

  .gallery-item:last-child {
    grid-column: 1 / -1;
  }

  .admissions-banner {
    padding-block: 48px;
  }

  .admissions-inner {
    align-items: start;
    flex-direction: column;
  }

  .faq-grid {
    gap: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-wide {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding-block: 14px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .floating-action {
    width: 43px;
    height: 43px;
    font-size: 20px;
  }

  .lightbox-panel {
    height: min(72vh, 550px);
    grid-template-columns: 35px minmax(0, 1fr) 35px;
    gap: 4px;
  }

  .lightbox-close, .lightbox-arrow {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .lightbox-close {
    right: 0;
  }

  .institution-hero {
    min-height: 380px;
  }

  .institution-page .section {
    padding-block: 44px;
  }

  .institution-page .return-section {
    padding-block: 20px;
  }

  .detail-contact {
    padding-block: 42px;
  }

  .detail-contact-grid {
    gap: 27px;
  }

  .institution-hero-content {
    padding-block: 70px 50px;
  }

  .detail-course-list {
    grid-template-columns: 1fr;
  }

  .admission-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .detail-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .detail-gallery img:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .leader-card {
    grid-template-columns: minmax(125px, .85fr) 1.15fr;
  }

  .leader-portrait, .leader-portrait img {
    min-height: 220px;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 165px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
