/* ==========================================================================
   KHC College of Nursing — inner page system
   Signature shape: petal-fold rounded frames · plum / aubergine / gold / rose
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 86px;
  color: #fff;
  background: linear-gradient(126deg, #200d28 0%, var(--aubergine) 38%, var(--plum) 100%);
}

.page-hero-photo {
  position: absolute;
  inset: 0;
  opacity: .55;
}

.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero::before {
  content: none;
}

.page-hero::after {
  content: none;
}

.page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 880px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.breadcrumb a {
  color: var(--gold);
  transition: color .22s;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
  opacity: .6;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 18px 8px 12px;
  color: var(--aubergine);
  background: var(--gold);
  border-radius: 999px 999px 8px 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-hero .eyebrow svg {
  width: 16px;
  height: 16px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}

.page-hero h1 span {
  color: var(--gold);
}

.page-hero .script {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: "Dancing Script", cursive;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .84);
  font-size: 1.03rem;
  line-height: 1.75;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-hero-wave {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 58px;
  background: var(--cream);
  clip-path: ellipse(72% 100% at 50% 100%);
}

.page-hero.tinted .page-hero-wave {
  background: var(--blush);
}

/* ---------- Section shell ---------- */
.inner-section {
  position: relative;
  padding: 76px 0;
}

.inner-section.tinted {
  background: var(--blush);
}

.inner-section.sand {
  background: linear-gradient(180deg, #fff, var(--cream));
}

.inner-section.dark {
  color: #fff;
  overflow: hidden;
  background: linear-gradient(128deg, #24102c, var(--aubergine) 46%, var(--plum) 100%);
}

.inner-section.dark h2,
.inner-section.dark h3 {
  color: #fff;
}

.inner-section.dark p {
  color: rgba(255, 255, 255, .8);
}

.inner-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.inner-head.centred {
  margin-inline: auto;
  text-align: center;
}

.inner-head .section-label {
  margin-bottom: 12px;
}

.inner-head h2 {
  margin: 0 0 14px;
  color: var(--aubergine);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
  line-height: 1.14;
}

.inner-head h2 span {
  color: var(--plum);
}

.inner-section.dark .inner-head h2 span {
  color: var(--gold);
}

.inner-section.dark .inner-head .section-label {
  color: #eed6f5;
}

.inner-section.dark .inner-head .section-label > svg {
  color: var(--aubergine);
  background: var(--gold);
}

.inner-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

/* ---------- Prose ---------- */
.prose p {
  margin: 0 0 18px;
  color: #4b4350;
  font-size: 1rem;
  line-height: 1.85;
  text-align: justify;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose p.lead {
  color: var(--aubergine);
  font-size: 1.09rem;
  font-weight: 600;
  line-height: 1.72;
  text-align: justify;
}

.prose h3 {
  margin: 32px 0 12px;
  color: var(--aubergine);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.2rem;
}

.prose blockquote {
  position: relative;
  margin: 26px 0;
  padding: 24px 28px 24px 34px;
  color: var(--aubergine);
  background: #fff;
  border-left: 5px solid var(--gold);
  border-radius: 8px 26px 26px 8px;
  box-shadow: var(--shadow);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.75;
}

/* ---------- Two-column split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 58px;
}

.split.reverse .split-visual {
  order: 2;
}

.split.narrow-visual {
  grid-template-columns: 1.25fr .75fr;
}

.split-visual {
  position: relative;
}

.petal-photo {
  position: relative;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 96px 18px 96px 18px;
  box-shadow: 0 26px 56px rgba(72, 35, 83, .2);
  transition: transform .45s, box-shadow .45s;
}

.petal-photo::after {
  content: "";
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 80px 10px 80px 10px;
}

.petal-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform .8s;
}

.petal-photo.tall img {
  min-height: 520px;
}

.petal-photo:hover {
  transform: translateY(-7px);
  box-shadow: 0 34px 66px rgba(72, 35, 83, .28);
}

.petal-photo:hover img {
  transform: scale(1.05);
}

.petal-photo.flip {
  border-radius: 18px 96px 18px 96px;
}

.petal-photo.flip::after {
  border-radius: 10px 80px 10px 80px;
}

.photo-caption {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: #fff;
  font-family: "Dancing Script", cursive;
  font-size: 1.45rem;
  text-shadow: 0 2px 14px rgba(20, 6, 26, .8);
}

.floating-seal {
  position: absolute;
  z-index: 5;
  top: -18px;
  right: -14px;
  width: 118px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, var(--rose), var(--plum));
  border: 6px solid #fff;
  border-radius: 38% 14% 42% 18%;
  box-shadow: 0 14px 30px rgba(42, 17, 49, .24);
  transform: rotate(-3deg);
  transition: transform .35s;
}

.split-visual:hover .floating-seal {
  transform: rotate(2deg) scale(1.07);
}

.floating-seal strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.floating-seal span {
  margin: 0 0 5px;
  font-size: .62rem;
  font-weight: 700;
  line-height: 1.16;
  text-transform: uppercase;
}

.floating-chip {
  position: absolute;
  z-index: 5;
  bottom: -22px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  padding: 15px 20px;
  background: #fff;
  border-radius: 26px 6px 26px 26px;
  box-shadow: 0 18px 38px rgba(58, 27, 71, .2);
}

.floating-chip svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: var(--rose);
}

.floating-chip span {
  color: var(--aubergine);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- Fact / value cards ---------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.fact-card {
  position: relative;
  padding: 26px 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .1);
  border-radius: 30px 8px 30px 30px;
  box-shadow: 0 14px 34px rgba(58, 27, 71, .09);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.fact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 198, 98, .8);
  box-shadow: 0 24px 46px rgba(58, 27, 71, .16);
}

.fact-card .icon-orb {
  margin-bottom: 16px;
}

.fact-card h3 {
  margin: 0 0 8px;
  color: var(--aubergine);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
}

.fact-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.62;
  text-align: justify;
}

.fact-card .card-number {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(113, 63, 136, .1);
  font-family: "Archivo Black", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}

.inner-section.dark .fact-card {
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
}

.inner-section.dark .fact-card h3 {
  color: #fff;
}

.inner-section.dark .fact-card p {
  color: rgba(255, 255, 255, .78);
}

.inner-section.dark .fact-card .card-number {
  color: rgba(255, 255, 255, .13);
}

.fact-card.gold-top {
  border-top: 5px solid var(--gold);
}

.fact-card.rose-top {
  border-top: 5px solid var(--rose);
}

.fact-card.plum-top {
  border-top: 5px solid var(--plum);
}

.fact-card.mint-top {
  border-top: 5px solid var(--mint);
}

/* ---------- Numbered list ---------- */
.numbered-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nlist;
}

.numbered-list.two-col {
  grid-template-columns: 1fr 1fr;
}

.numbered-list li {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  color: #47404c;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .09);
  border-radius: 28px 6px 28px 28px;
  box-shadow: 0 10px 26px rgba(58, 27, 71, .07);
  font-size: .95rem;
  line-height: 1.62;
  counter-increment: nlist;
  transition: transform .28s, border-color .28s, box-shadow .28s;
}

.numbered-list li::before {
  content: counter(nlist, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  border-radius: 50% 12% 50% 12%;
  font-family: "Archivo Black", sans-serif;
  font-size: .95rem;
  transition: border-radius .3s, transform .3s;
}

.numbered-list li:hover {
  transform: translateX(8px);
  border-color: rgba(244, 198, 98, .8);
  box-shadow: 0 18px 36px rgba(58, 27, 71, .13);
}

.numbered-list li:hover::before {
  border-radius: 50%;
  transform: rotate(-8deg) scale(1.06);
}

.numbered-list li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--aubergine);
  font-size: 1rem;
}

.inner-section.dark .numbered-list li {
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

.inner-section.dark .numbered-list li strong {
  color: #fff;
}

.inner-section.dark .numbered-list li::before {
  color: var(--aubergine);
  background: var(--gold);
}

/* ---------- Check list ---------- */
.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list.single {
  grid-template-columns: 1fr;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  color: #47404c;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .09);
  border-radius: 22px 6px 22px 22px;
  font-size: .93rem;
  line-height: 1.6;
  transition: transform .25s, background .25s, border-color .25s;
}

.check-list li::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center/14px no-repeat;
  border-radius: 50% 12% 50% 12%;
  transition: transform .25s, border-radius .25s;
}

.check-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 198, 98, .8);
}

.check-list li:hover::before {
  border-radius: 50%;
  transform: rotate(-10deg);
}

.check-list li strong {
  color: var(--aubergine);
}

.check-list.gold li::before {
  background-color: var(--gold);
}

.check-list.rose li::before {
  background-color: var(--rose);
}

.check-list.plum li::before {
  background-color: var(--plum);
}

.inner-section.dark .check-list li {
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

.inner-section.dark .check-list li strong {
  color: #fff;
}

/* ---------- Chip rows ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: var(--aubergine);
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .14);
  border-radius: 999px 999px 10px 999px;
  font-size: .86rem;
  font-weight: 600;
  transition: transform .25s, background .25s, color .25s;
}

.chip-row li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--rose);
  border-radius: 50% 12% 50% 12%;
}

.chip-row li:hover {
  color: #fff;
  background: linear-gradient(120deg, var(--plum), var(--plum-2));
  transform: translateY(-4px);
}

.chip-row li:hover::before {
  background: var(--gold);
}

.inner-section.dark .chip-row li {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

/* ---------- Data table ---------- */
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .1);
  border-radius: 30px 8px 30px 30px;
  box-shadow: 0 16px 40px rgba(58, 27, 71, .1);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .93rem;
}

.data-table th,
.data-table td {
  padding: 15px 22px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.data-table thead th {
  color: #fff;
  background: linear-gradient(120deg, var(--aubergine), var(--plum));
  font-family: "Archivo Black", sans-serif;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.data-table tbody tr {
  border-bottom: 1px solid #f1e6f2;
  transition: background .22s;
}

.data-table tbody tr:last-child {
  border-bottom: 0;
}

.data-table tbody tr:nth-child(even) {
  background: #fdf9fd;
}

.data-table tbody tr:hover {
  background: #f8edf7;
}

.data-table tbody th,
.data-table td.key {
  width: 32%;
  color: var(--aubergine);
  font-weight: 700;
}

.data-table td strong {
  display: block;
  color: var(--aubergine);
}

.data-table td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .8rem;
}

.data-table .num {
  width: 62px;
  color: var(--plum-2);
  font-family: "Archivo Black", sans-serif;
}

.badge-pill {
  display: inline-block;
  padding: 5px 13px;
  color: var(--aubergine);
  background: rgba(244, 198, 98, .3);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  max-width: calc(100% - 20px);
  text-align: center;
  line-height: 1.25;
}

.badge-pill.plum {
  color: #fff;
  background: var(--plum);
}

.badge-pill.rose {
  color: #fff;
  background: var(--rose);
}

.badge-pill.mint {
  color: #14513f;
  background: rgba(97, 201, 171, .32);
}

/* ---------- Notice ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 22px 26px;
  color: #4b4350;
  background: #fff;
  border: 1px dashed rgba(113, 63, 136, .3);
  border-left: 5px solid var(--gold);
  border-radius: 8px 26px 26px 8px;
  font-size: .92rem;
  line-height: 1.7;
  text-align: justify;
}

.notice svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  margin-top: 2px;
  color: var(--plum);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--aubergine);
}

.inner-section.dark .notice {
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .24);
  border-left-color: var(--gold);
}

.inner-section.dark .notice svg,
.inner-section.dark .notice strong {
  color: var(--gold);
}

/* ---------- Leadership feature ---------- */
.leader-feature {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 46px;
  align-items: start;
  padding: 38px;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .1);
  border-radius: 40px 10px 40px 40px;
  box-shadow: 0 20px 48px rgba(58, 27, 71, .11);
}

.leader-feature + .leader-feature {
  margin-top: 34px;
}

.leader-feature.flip {
  border-radius: 10px 40px 40px 10px;
}

.leader-feature.flip .leader-portrait {
  order: 2;
}

.leader-portrait {
  position: relative;
}

.leader-portrait > div {
  position: relative;
  overflow: hidden;
  border: 7px solid var(--blush);
  border-radius: 130px 20px 130px 20px;
  background: linear-gradient(140deg, var(--plum), var(--aubergine));
  box-shadow: 0 18px 40px rgba(72, 35, 83, .18);
}

.leader-portrait img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  transition: transform .7s;
}

.leader-portrait:hover img {
  transform: scale(1.05);
}

.leader-role {
  position: absolute;
  z-index: 4;
  bottom: 18px;
  left: 50%;
  padding: 9px 22px;
  color: var(--aubergine);
  background: var(--gold);
  border-radius: 999px 999px 8px 999px;
  box-shadow: 0 12px 24px rgba(42, 17, 49, .25);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.leader-body h3 {
  margin: 0 0 6px;
  color: var(--aubergine);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.18;
}

.leader-quals {
  display: block;
  margin-bottom: 20px;
  color: var(--plum);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.leader-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(113, 63, 136, .28);
}

.leader-signature em {
  color: var(--plum);
  font-family: "Dancing Script", cursive;
  font-size: 1.6rem;
  font-style: normal;
  line-height: 1.1;
}

.leader-signature span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}

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

.award-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 20px 24px;
  color: #4b4350;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .1);
  border-radius: 28px 6px 28px 28px;
  box-shadow: 0 12px 30px rgba(58, 27, 71, .08);
  font-size: .93rem;
  line-height: 1.68;
  transition: transform .28s, box-shadow .28s;
  text-align: justify;
}

.award-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(58, 27, 71, .14);
}

.award-list li > svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  border-radius: 50% 12% 50% 12%;
}

.award-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--aubergine);
  font-size: 1rem;
}

/* ---------- Department / lab cards ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.tile-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.tile-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.photo-tile {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .09);
  border-radius: 34px 8px 34px 34px;
  box-shadow: 0 16px 38px rgba(58, 27, 71, .1);
  transition: transform .35s, box-shadow .35s;
}

.photo-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 54px rgba(58, 27, 71, .18);
}

.photo-tile-media {
  position: relative;
  overflow: hidden;
  height: 230px;
  background: linear-gradient(140deg, var(--plum), var(--aubergine));
}

.photo-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.photo-tile:hover .photo-tile-media img {
  transform: scale(1.07);
}

.photo-tile-media.placeholder {
  display: grid;
  place-items: center;
}

.photo-tile-media.placeholder img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  opacity: .92;
}

.photo-tile-tag {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 7px 15px;
  color: var(--aubergine);
  background: var(--gold);
  border-radius: 999px 999px 8px 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.photo-tile-tag.plum {
  color: #fff;
  background: var(--plum);
}

.photo-tile-tag.rose {
  color: #fff;
  background: var(--rose);
}

.photo-tile-floor {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  padding: 7px 14px;
  color: #fff;
  background: rgba(35, 13, 43, .72);
  border-radius: 8px 999px 999px 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
}

.photo-tile-body {
  padding: 24px 26px 28px;
}

.photo-tile-body h3 {
  margin: 0 0 10px;
  color: var(--aubergine);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.06rem;
  line-height: 1.32;
}

.photo-tile-body p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.66;
  text-align: justify;
}

.photo-tile-body p + p {
  margin-top: 12px;
}

.photo-tile-body ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.62;
}

.photo-tile-body ul li + li {
  margin-top: 5px;
}

.dept-icon-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--plum);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dept-icon-strip svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  border-radius: 50% 12% 50% 12%;
}

/* ---------- Mosaic gallery ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 210px;
  background: linear-gradient(140deg, var(--plum), var(--aubergine));
  border: 5px solid #fff;
  border-radius: 30px 8px 30px 30px;
  box-shadow: 0 14px 32px rgba(58, 27, 71, .12);
  transition: transform .35s, box-shadow .35s;
}

.mosaic figure:hover {
  z-index: 2;
  transform: translateY(-6px) rotate(-.4deg);
  box-shadow: 0 26px 50px rgba(58, 27, 71, .2);
}

.mosaic figure img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform .7s;
}

.mosaic figure:hover img {
  transform: scale(1.07);
}

.mosaic figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 18px 15px;
  color: #fff;
  background: linear-gradient(0deg, rgba(28, 9, 35, .92), transparent);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
}

.mosaic .span-2 {
  grid-column: span 2;
}

.mosaic .tall {
  min-height: 436px;
}

/* ---------- Stat rail ---------- */
.stat-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  overflow: hidden;
  background: linear-gradient(120deg, var(--plum), var(--rose));
  border-radius: 40px 10px 40px 40px;
  box-shadow: 0 22px 48px rgba(72, 35, 83, .22);
}

.stat-rail > div {
  padding: 32px 26px;
  color: #fff;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .2);
  transition: background .28s;
}

.stat-rail > div:last-child {
  border-right: 0;
}

.stat-rail > div:hover {
  background: rgba(255, 255, 255, .1);
}

.stat-rail svg {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  color: var(--gold);
}

.stat-rail strong {
  display: block;
  font-family: "Archivo Black", sans-serif;
  font-size: 2.15rem;
  line-height: 1;
}

.stat-rail span {
  display: block;
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .9;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  color: #fff;
  background: linear-gradient(120deg, var(--plum) 0%, var(--rose) 62%, var(--coral) 100%);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -100px;
  width: 380px;
  height: 380px;
  pointer-events: none;
  border: 46px solid rgba(255, 255, 255, .12);
  border-radius: 50% 14% 50% 14%;
  transform: rotate(18deg);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 44px;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.16;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.cta-band .btn-light {
  color: var(--plum);
  background: #fff;
}

/* ---------- Enquiry form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: start;
}

.enquiry-card {
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .1);
  border-radius: 40px 10px 40px 40px;
  box-shadow: 0 22px 50px rgba(58, 27, 71, .12);
}

.enquiry-card h3 {
  margin: 0 0 6px;
  color: var(--aubergine);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.3rem;
}

.enquiry-card > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
  text-align: justify;
}

.form-panel {
  max-width: 880px;
  margin: 0 auto;
}

.zoho-form {
  display: block;
  width: 100%;
  height: var(--zf-min, 600px);
  border: 0;
  background: transparent;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .1);
  border-radius: 30px 8px 30px 30px;
  box-shadow: 0 14px 34px rgba(58, 27, 71, .09);
  transition: transform .28s, border-color .28s;
}

.contact-card:hover {
  transform: translateX(7px);
  border-color: rgba(244, 198, 98, .85);
}

.contact-card > svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  border-radius: 50% 12% 50% 12%;
}

.contact-card small {
  display: block;
  color: var(--plum-2);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-card strong,
.contact-card a {
  display: block;
  margin-top: 4px;
  color: var(--aubergine);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-word;
  text-align: justify;
}

.contact-card a:hover {
  color: var(--plum);
}

/* ---------- Map facade ---------- */
.map-facade {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  margin-top: 36px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, var(--aubergine), var(--plum));
  border: 7px solid #fff;
  border-radius: 40px 10px 40px 40px;
  box-shadow: var(--shadow);
}

.map-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}

.map-facade-copy {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #fff;
}

.map-facade-copy svg {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  color: var(--gold);
}

.map-facade-copy strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.15rem;
}

.map-facade-copy span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
}

.map-facade iframe {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 420px;
  border: 0;
}

/* ---------- Quick page nav (in-page jump rail) ---------- */
.page-jump {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  margin-bottom: 8px;
}

.page-jump-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .1);
  border-radius: 30px 8px 30px 30px;
  box-shadow: 0 18px 40px rgba(58, 27, 71, .13);
}

.page-jump-label {
  align-self: center;
  padding-right: 6px;
  color: var(--plum-2);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-jump-inner a {
  padding: 9px 16px;
  color: #4c4150;
  background: var(--blush);
  border-radius: 999px 999px 8px 999px;
  font-size: .82rem;
  font-weight: 600;
  transition: background .22s, color .22s, transform .22s;
}

.page-jump-inner a:hover {
  color: #fff;
  background: linear-gradient(120deg, var(--plum), var(--plum-2));
  transform: translateY(-3px);
}

/* ---------- "More in this section" rail (real page links, no fragments) ---------- */
.related-section {
  background: linear-gradient(180deg, var(--blush), #fff);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 14px;
}

.related-grid a {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  color: var(--aubergine);
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .11);
  border-radius: 26px 6px 26px 26px;
  box-shadow: 0 10px 26px rgba(58, 27, 71, .07);
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.45;
  transition: transform .28s, border-color .28s, box-shadow .28s, background .28s;
}

.related-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  border-radius: 50% 12% 50% 12%;
  font-family: "Archivo Black", sans-serif;
  font-size: .82rem;
  transition: border-radius .3s, transform .3s;
}

.related-grid a>svg {
  width: 20px;
  height: 20px;
  color: var(--plum-2);
  transition: transform .28s, color .28s;
}

.related-grid a:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 198, 98, .85);
  box-shadow: 0 20px 40px rgba(58, 27, 71, .14);
}

.related-grid a:hover .related-number {
  border-radius: 50%;
  transform: rotate(-8deg) scale(1.06);
}

.related-grid a:hover>svg {
  color: var(--rose);
  transform: translateX(4px);
}

/* ---------- Utility ---------- */
.mt-32 {
  margin-top: 32px;
}

.mt-24 {
  margin-top: 24px;
}

.text-centre {
  text-align: center;
}

.divider-petal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 46px 0;
}

.divider-petal span {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50% 12% 50% 12%;
}

.divider-petal span:nth-child(2) {
  background: var(--rose);
  transform: rotate(45deg);
}

.divider-petal::before,
.divider-petal::after {
  content: "";
  width: min(160px, 22vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(113, 63, 136, .35), transparent);
}

/* ---------- Anchor offset for the sticky header ---------- */
.inner-section[id],
[id].anchor-offset {
  scroll-margin-top: 122px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {

  /* .split.narrow-visual is listed explicitly: its base rule has the same
     specificity as this one, so a bare ".split" here loses to it and the
     layout would stay in two columns on phones. */
  .split,
  .split.narrow-visual,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split.reverse .split-visual {
    order: 0;
  }

  .inner-section {
    padding: 52px 0;
  }

  .leader-feature {
    grid-template-columns: 250px 1fr;
    gap: 32px;
    padding: 30px;
  }

  .leader-portrait img {
    height: 300px;
  }

  .tile-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .floating-chip {
    left: 0;
  }
}

@media (max-width: 900px) {
  .page-hero {
    padding: 58px 0 64px;
  }

  .inner-section {
    padding: 46px 0;
  }

  .inner-section[id],
  [id].anchor-offset {
    scroll-margin-top: 96px;
  }

  .numbered-list.two-col {
    grid-template-columns: 1fr;
  }

  .leader-feature,
  .leader-feature.flip {
    grid-template-columns: 1fr;
    border-radius: 34px 10px 34px 34px;
  }

  .leader-feature.flip .leader-portrait {
    order: 0;
  }

  .leader-portrait > div {
    border-radius: 90px 18px 90px 18px;
  }

  .leader-portrait img {
    height: 280px;
  }

  .tile-grid,
  .tile-grid.three,
  .tile-grid.two {
    grid-template-columns: 1fr;
  }

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

  .mosaic .tall {
    min-height: 220px;
  }

  .petal-photo img {
    min-height: 220px;
  }

  .petal-photo.tall img {
    min-height: 280px;
  }

  .floating-seal {
    top: -10px;
    right: -4px;
    width: 80px;
    height: 80px;
  }

  .floating-seal strong {
    font-size: 1rem;
  }

  .floating-seal span {
    font-size: .55rem;
  }

  .floating-chip {
    max-width: 200px;
    padding: 10px 14px;
    font-size: .78rem;
  }

  .page-jump {
    margin-top: -26px;
  }

  .page-jump-inner {
    padding: 14px 16px;
  }
}

/* The in-page jump rail scrolls sideways on phones instead of stacking. */
@media (max-width: 700px) {
  .page-jump-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(113, 63, 136, .4) transparent;
  }

  .page-jump-inner a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .page-jump-label {
    flex: 0 0 auto;
  }

  .page-jump-inner::-webkit-scrollbar {
    height: 5px;
  }

  .page-jump-inner::-webkit-scrollbar-thumb {
    background: rgba(113, 63, 136, .35);
    border-radius: 999px;
  }
}

@media (max-width: 620px) {
  .page-hero {
    padding: 44px 0 50px;
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .page-hero p {
    font-size: .96rem;
  }

  .inner-section {
    padding: 36px 0;
  }

  .inner-head {
    margin-bottom: 24px;
  }

  .split,
  .contact-layout {
    gap: 20px;
  }

  .petal-photo {
    border: 5px solid #fff;
    border-radius: 40px 10px 40px 10px;
  }

  .petal-photo::after {
    inset: 8px;
    border-radius: 30px 6px 30px 6px;
  }

  .petal-photo img {
    min-height: 180px;
  }

  .petal-photo.tall img {
    min-height: 220px;
  }

  .floating-seal {
    top: -8px;
    right: -4px;
    width: 64px;
    height: 64px;
    border-width: 4px;
  }

  .floating-seal strong {
    font-size: .9rem;
  }

  .floating-seal span {
    font-size: .5rem;
  }

  .floating-chip {
    left: 0;
    right: 0;
    max-width: 100%;
    bottom: -16px;
    border-radius: 16px 4px 16px 16px;
  }

  .enquiry-card,
  .leader-feature {
    padding: 20px 16px;
  }

  .numbered-list li {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 12px 14px;
    font-size: .88rem;
  }

  .numbered-list li::before {
    width: 36px;
    height: 36px;
    font-size: .8rem;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mosaic figure {
    min-height: 120px;
    border-width: 3px;
    border-radius: 16px 5px 16px 16px;
  }

  .mosaic figure img {
    min-height: 115px;
  }

  .mosaic .span-2 {
    grid-column: span 2;
  }

  .mosaic .tall {
    min-height: 180px;
  }

  .table-wrap {
    border-radius: 22px 6px 22px 22px;
  }

  .data-table {
    font-size: .86rem;
  }

  .data-table th,
  .data-table td {
    padding: 12px 15px;
  }

  .stat-rail {
    border-radius: 30px 8px 30px 30px;
  }

  .stat-rail > div {
    padding: 24px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }

  .stat-rail > div:last-child {
    border-bottom: 0;
  }

  .stat-rail strong {
    font-size: 1.85rem;
  }

  .cta-band {
    padding: 48px 0;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .map-facade {
    min-height: 260px;
    border-width: 5px;
    border-radius: 26px 8px 26px 26px;
  }

  .divider-petal {
    margin: 34px 0;
  }

  .prose p,
  .inner-head p {
    font-size: .95rem;
  }

  .photo-tile-media {
    height: 200px;
  }

  .related-grid a {
    grid-template-columns: 38px 1fr 18px;
    gap: 12px;
    padding: 15px 17px;
    font-size: .89rem;
  }

  .related-number {
    width: 36px;
    height: 36px;
    font-size: .76rem;
  }
}

.about-page .inner-section {
  padding: 60px 0;
}

.about-page .split {
  align-items: start;
  gap: 42px;
}

.about-page .split-copy {
  min-width: 0;
}

.about-page .petal-photo.tall img {
  height: 430px;
  min-height: 0;
}

.about-page #why .petal-photo img {
  height: 300px;
  min-height: 0;
}

@media (min-width: 1101px) {
  .about-page .split {
    display: block;
  }

  .about-page .split::after {
    content: "";
    display: block;
    clear: both;
  }

  .about-page .split-visual {
    float: right;
    width: 42%;
    margin: 28px 0 24px 42px;
  }

  .about-page .split.narrow-visual .split-visual {
    width: 30%;
    margin-top: 0;
  }

  .about-page .split-copy {
    width: auto;
  }

  .about-page #profile .split-visual {
    margin-top: 42px;
  }

  .about-page #why .split-visual {
    margin-top: 10px;
  }

  .about-page #why .check-list {
    column-gap: 14px;
    padding-top: 0;
  }

  .about-page #why .check-list-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page #why .check-list-bottom {
    clear: both;
    grid-template-columns: 1fr;
    padding-top: 10px;
  }

  .about-page #why .chip-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .about-page #why .chip-row li {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
  }

  .about-page #profile .prose blockquote {
    width: calc(58% - 42px);
    box-sizing: border-box;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .student-life-page #nss .split.reverse,
  .student-life-page #yrc .split.reverse {
    align-items: center;
  }
}

@media (max-width: 1100px) {
  .about-page .inner-section {
    padding: 48px 0;
  }

  .about-page .split {
    gap: 28px;
  }

  .about-page .split-copy,
  .about-page .prose {
    width: 100%;
    max-width: none;
  }

  .about-page .split-visual {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .about-page #why .chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-page .inner-section {
    padding: 40px 0;
  }

  .about-page .petal-photo.tall img,
  .about-page #why .petal-photo img {
    height: clamp(260px, 52vw, 360px);
  }
}

@media (max-width: 620px) {
  .about-page .inner-section {
    padding: 30px 0;
  }

  .about-page .split {
    gap: 22px;
  }

  .about-page .petal-photo.tall img,
  .about-page #why .petal-photo img {
    height: clamp(210px, 62vw, 300px);
  }

  .about-page #why .chip-row {
    grid-template-columns: 1fr;
  }
}

.centered-grid {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.prose + .centered-grid {
  margin-top: clamp(32px, 4vw, 56px);
}

.centered-grid > .fact-grid {
  display: inline-grid;
  justify-content: center;
  max-width: fit-content;
  width: 100%;
}

.management-page #trust .fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
  width: 100%;
}

.management-page #trust .fact-card:last-child {
  grid-column: auto;
}

.management-page #trust .fact-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 28px 30px;
  border-radius: 32px 8px 32px 32px;
  text-align: center;
}

.management-page #trust .fact-card .icon-orb {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  margin: 0 auto 22px;
}

.management-page #trust .fact-card .icon-orb svg {
  width: 32px;
  height: 32px;
}

.management-page #trust .fact-card h3 {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  text-align: center;
}

.management-page #trust .fact-card p {
  width: 100%;
  text-align: justify;
  line-height: 1.7;
}

.management-page .leader-feature {
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
}

.management-page #director .leader-feature,
.management-page #vice-principal .leader-feature {
  display: block;
}

.management-page #director .leader-feature::after,
.management-page #vice-principal .leader-feature::after {
  content: "";
  display: block;
  clear: both;
}

.management-page #director .leader-portrait,
.management-page #vice-principal .leader-portrait {
  float: right;
  width: 52%;
  margin: 0 0 24px 36px;
}

.management-page #director .leader-signature,
.management-page #vice-principal .leader-signature {
  clear: both;
}

.bsc-nursing-page #subjects .fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bsc-nursing-page #subjects .fact-card:nth-child(9) {
  grid-column: 2;
}

.bsc-nursing-page #subjects .fact-card:nth-child(10) {
  grid-column: 3;
}

.bsc-nursing-page #skills .check-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.departments-page #departments .photo-tile:first-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
}

.departments-page #departments .photo-tile:first-child .photo-tile-media {
  height: auto;
  min-height: 260px;
  align-self: stretch;
}

.departments-page #departments .tile-grid.three {
  grid-template-columns: 1fr;
}

.departments-page #departments .photo-tile {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
}

.departments-page #departments .photo-tile .photo-tile-media {
  height: auto;
  min-height: 260px;
  align-self: stretch;
}

.departments-page #faculty-strength .fact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.departments-page #faculty-strength .fact-card:nth-child(4) {
  grid-column: 1;
}

.departments-page #faculty-strength .fact-card:nth-child(5) {
  grid-column: 2;
}

.bsc-nursing-page .stat-rail {
  gap: 8px;
  overflow: visible;
  background: none;
  box-shadow: none;
  margin-bottom: 16px;
}

.bsc-nursing-page .stat-rail > div {
  border: 0;
  border-radius: 18px 6px 18px 18px;
  background: linear-gradient(120deg, var(--plum), var(--rose));
  box-shadow: 0 12px 24px rgba(72, 35, 83, .16);
}

.bsc-nursing-page #overview .table-wrap {
  margin-bottom: 16px;
}

.faculty-page #directory .stat-rail {
  margin-bottom: 16px;
}

.faculty-page #directory .table-wrap {
  margin-top: 16px;
}

.admissions-page #eligibility .check-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admissions-page #eligibility .check-list li:last-child {
  grid-column: 2 / 4;
}

@media (min-width: 1101px) {
  .student-life-page #nss .split.reverse,
  .student-life-page #yrc .split.reverse {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    align-items: center;
    gap: 42px;
  }

  .student-life-page #nss .split.reverse .split-visual,
  .student-life-page #yrc .split.reverse .split-visual {
    float: none;
    grid-column: 2;
    grid-row: 1;
    width: auto;
    margin: 0;
  }

  .student-life-page #nss .split.reverse .split-copy,
  .student-life-page #yrc .split.reverse .split-copy {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (min-width: 1101px) {
  .bsc-nursing-page #overview .split {
    display: block;
  }

  .bsc-nursing-page #overview .split::after {
    content: "";
    display: block;
    clear: both;
  }

  .bsc-nursing-page #overview .split-visual {
    float: right;
    width: 42%;
    margin: 28px 0 24px 42px;
  }

  .bsc-nursing-page #overview .split-copy {
    width: auto;
  }
}

@media (max-width: 1100px) {
  .bsc-nursing-page #overview .split-copy {
    order: 1;
  }

  .bsc-nursing-page #overview .split-visual {
    order: 2;
  }
}

.inner-page .split {
  align-items: start;
  gap: 42px;
}

.inner-page .split-copy {
  min-width: 0;
}

.inner-page .chip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.inner-page .chip-row li {
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
}

@media (min-width: 1101px) {
  .inner-page .split.reverse {
    display: block;
  }

  .inner-page .split.reverse::after {
    content: "";
    display: block;
    clear: both;
  }

  .inner-page .split.reverse .split-visual {
    float: right;
    width: 42%;
    margin: 28px 0 24px 42px;
  }

  .inner-page .split.reverse .split-copy {
    width: auto;
  }
}

@media (max-width: 1100px) {
  .admissions-page #eligibility .check-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admissions-page #eligibility .check-list li:last-child {
    grid-column: auto;
  }

  .management-page .leader-feature {
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  }

  .inner-page .split {
    gap: 28px;
  }

  .inner-page .chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsc-nursing-page #subjects .fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bsc-nursing-page #subjects .fact-card:nth-child(9),
  .bsc-nursing-page #subjects .fact-card:nth-child(10) {
    grid-column: auto;
  }

  .bsc-nursing-page #skills .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .management-page .leader-feature,
  .management-page .leader-feature.flip {
    grid-template-columns: 1fr;
  }

  .management-page #director .leader-feature,
  .management-page #vice-principal .leader-feature {
    display: grid;
  }

  .management-page #director .leader-portrait,
  .management-page #vice-principal .leader-portrait {
    float: none;
    width: auto;
    margin: 0;
  }

  .management-page .leader-feature.flip .leader-portrait {
    order: 0;
  }

  .management-page #trust .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .management-page #trust .fact-card:last-child {
    grid-column: auto;
  }

  .bsc-nursing-page #subjects .fact-grid,
  .bsc-nursing-page #skills .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .departments-page #departments .photo-tile:first-child {
    display: block;
    grid-column: auto;
  }

  .departments-page #departments .photo-tile {
    display: block;
    grid-column: auto;
  }

  .departments-page #departments .photo-tile .photo-tile-media {
    height: 230px;
    min-height: 0;
  }

  .departments-page #departments .photo-tile:first-child .photo-tile-media {
    height: 230px;
    min-height: 0;
  }

  .departments-page #faculty-strength .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .departments-page #faculty-strength .fact-card:nth-child(4),
  .departments-page #faculty-strength .fact-card:nth-child(5) {
    grid-column: auto;
  }

  .admissions-page #eligibility .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .admissions-page #eligibility .check-list {
    grid-template-columns: 1fr;
  }

  .management-page #trust .fact-grid {
    grid-template-columns: 1fr;
  }

  .bsc-nursing-page #subjects .fact-grid,
  .bsc-nursing-page #skills .check-list {
    grid-template-columns: 1fr;
  }

  .departments-page #faculty-strength .fact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .inner-page .split {
    gap: 22px;
  }

  .inner-page .chip-row {
    grid-template-columns: 1fr;
  }
}

.student-life-page #wellness .fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.student-life-page #wellness .fact-card:nth-child(5) {
  grid-column: 2;
}

.student-life-page #wellness .fact-card:nth-child(6) {
  grid-column: 3;
}

/* ---------- Clinical training page refinements ---------- */
.clinical-training-page #clinical {
  padding-block: 56px;
}

.clinical-training-page #clinical .split {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 48px;
}

.clinical-training-page #clinical .inner-head {
  margin-bottom: 20px;
}

.clinical-training-page #clinical .prose p {
  margin-bottom: 12px;
  line-height: 1.68;
}

.clinical-training-page #clinical .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.clinical-training-page #clinical .check-list li {
  min-height: 42px;
  padding-block: 9px;
}

.clinical-training-page #clinical .petal-photo.tall img {
  min-height: 430px;
  height: 430px;
}

.clinical-training-page #community {
  padding-block: 60px;
}

.clinical-training-page #community .split.reverse {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr);
  align-items: center;
  gap: 48px;
}

.clinical-training-page #community .split.reverse::after {
  content: none;
}

.clinical-training-page #community .split.reverse .split-copy {
  grid-column: 1;
  grid-row: 1;
}

.clinical-training-page #community .split.reverse .split-visual {
  width: auto;
  float: none;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.clinical-training-page #community .inner-head {
  margin-bottom: 20px;
}

.clinical-training-page #community .prose p {
  margin-bottom: 12px;
  line-height: 1.68;
}

.clinical-training-page #community .chip-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.clinical-training-page #community .chip-row li {
  min-height: 52px;
  justify-content: flex-start;
  padding: 11px 14px;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 16px 5px 16px 16px;
  background: linear-gradient(125deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .055));
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
  font-size: .8rem;
  line-height: 1.3;
}

.clinical-training-page #community .chip-row li::before {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23713f88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
  border-radius: 50% 5px 50% 50%;
}

.clinical-training-page #community .chip-row li:hover {
  color: var(--aubergine);
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-3px);
}

.clinical-training-page #community .chip-row li:hover::before {
  background-color: #fff;
}

.clinical-training-page #community .petal-photo.tall img {
  min-height: 450px;
  height: 450px;
}

.clinical-training-page #research .fact-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.clinical-training-page #research .fact-card {
  grid-column: span 2;
  min-height: 300px;
}

.clinical-training-page #research .fact-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.clinical-training-page #research .fact-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* ---------- Admissions page refinements ---------- */
.admissions-page .inner-section {
  padding-block: 58px;
}

.admissions-page .inner-head {
  margin-bottom: 26px;
}

.admissions-page #overview .split {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: center;
  gap: 52px;
}

.admissions-page #overview .prose p {
  margin-bottom: 12px;
  line-height: 1.72;
}

.admissions-page #overview .stat-rail {
  margin-top: 24px;
}

.admissions-page #overview .petal-photo.tall img {
  min-height: 460px;
  height: 460px;
}

.admissions-page #eligibility .inner-head,
.admissions-page #eligibility > .container > .prose {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.admissions-page #eligibility > .container > .prose {
  margin-bottom: 26px;
}

.admissions-page #eligibility > .container > .prose p {
  margin-bottom: 10px;
  line-height: 1.7;
  text-align: center;
}

.admissions-page #eligibility .check-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.admissions-page #eligibility .check-list li {
  grid-column: span 2;
  min-height: 74px;
  align-items: center;
}

.admissions-page #eligibility .check-list li:nth-child(4) {
  grid-column: 2 / span 2;
}

.admissions-page #eligibility .check-list li:nth-child(5) {
  grid-column: 4 / span 2;
}

.admissions-page #eligibility .notice {
  max-width: 1050px;
  margin: 22px auto 0;
}

.admissions-page #procedure .inner-head {
  max-width: none;
  text-align: center;
}

.admissions-page #procedure .section-label {
  justify-content: center;
}

.admissions-page #procedure .numbered-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admissions-page #procedure .numbered-list li {
  min-height: 116px;
  align-items: center;
}

.admissions-page #documents .split.narrow-visual {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  align-items: center;
  gap: 48px;
}

.admissions-page #documents .check-list.single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admissions-page #documents .check-list li {
  min-height: 62px;
  align-items: center;
  padding: 11px 15px;
}

.admissions-page #documents .petal-photo.tall img {
  min-height: 480px;
  height: 480px;
}

.admissions-page #enquiry .inner-head {
  margin-bottom: 28px;
}

.admissions-page #enquiry .contact-cards {
  display: grid;
  grid-template-columns: .8fr 1.1fr 1.45fr;
  gap: 14px;
  max-width: 1100px !important;
}

.admissions-page #enquiry .contact-card {
  min-width: 0;
  height: 100%;
  align-items: center;
}

.admissions-page #enquiry .contact-card a,
.admissions-page #enquiry .contact-card strong {
  overflow-wrap: anywhere;
}

.admissions-page #enquiry .page-hero-actions {
  margin-top: 24px !important;
}

/* ---------- Facilities page refinements ---------- */
.facilities-page .inner-section {
  padding-block: 58px;
}

.facilities-page .inner-head {
  margin-bottom: 28px;
}

.facilities-page #overview .split {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: center;
  gap: 50px;
}

.facilities-page #overview .prose p {
  margin-bottom: 12px;
  line-height: 1.72;
}

.facilities-page #overview .stat-rail {
  margin-top: 24px;
}

.facilities-page #overview .petal-photo.tall img {
  min-height: 450px;
  height: 450px;
}

.facilities-page #overview .divider-petal {
  margin: 46px 0 38px;
}

.facilities-page #overview .table-wrap {
  max-width: 1120px;
  margin-inline: auto;
}

.facilities-page #overview .data-table th,
.facilities-page #overview .data-table td {
  padding-block: 12px;
}

.facilities-page #laboratories .inner-head {
  max-width: 900px;
}

.facilities-page #laboratories .tile-grid.three {
  grid-template-columns: 1fr;
  max-width: 1160px;
  margin-inline: auto;
  gap: 22px;
}

.facilities-page #laboratories .photo-tile {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  min-height: 300px;
  border-radius: 34px 8px 34px 34px;
}

.facilities-page #laboratories .photo-tile:nth-child(even) {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
}

.facilities-page #laboratories .photo-tile:nth-child(even) .photo-tile-media {
  grid-column: 2;
  grid-row: 1;
}

.facilities-page #laboratories .photo-tile:nth-child(even) .photo-tile-body {
  grid-column: 1;
  grid-row: 1;
}

.facilities-page #laboratories .photo-tile-media {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.facilities-page #laboratories .photo-tile-media.placeholder img {
  width: 132px;
  height: 132px;
  padding: 10px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 34px rgba(31, 12, 38, .2);
}

.facilities-page #laboratories .photo-tile-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
}

.facilities-page #laboratories .photo-tile-body h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.facilities-page #laboratories .photo-tile-body p {
  line-height: 1.7;
}

.facilities-page #laboratories .photo-tile-body p + p {
  margin-top: 10px;
}

.facilities-page #library .tile-grid.two {
  gap: 22px;
}

.facilities-page #library .photo-tile {
  height: 100%;
}

.facilities-page #hostel .split.reverse,
.facilities-page #transport .split.reverse {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 52px;
}

.facilities-page #hostel .split.reverse::after,
.facilities-page #transport .split.reverse::after {
  display: none;
}

.facilities-page #hostel .split.reverse .split-visual,
.facilities-page #transport .split.reverse .split-visual {
  float: none;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  margin: 0;
}

.facilities-page #hostel .split.reverse .split-copy,
.facilities-page #transport .split.reverse .split-copy {
  grid-column: 2;
  grid-row: 1;
}

.facilities-page #hostel .petal-photo.tall img,
.facilities-page #transport .petal-photo.tall img {
  min-height: 440px;
  height: 440px;
}

.facilities-page #sports .fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facilities-page #sports .fact-card {
  height: 100%;
}

/* ---------- Approvals page refinements ---------- */
.approvals-page .inner-section {
  padding-block: 58px;
}

.approvals-page .inner-head {
  margin-bottom: 28px;
}

.approvals-page #authorities .inner-head {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.approvals-page #authorities .section-label {
  justify-content: center;
}

.approvals-page #authorities .table-wrap {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.approvals-page #authorities .data-table,
.approvals-page #authorities .data-table tbody {
  display: block;
  min-width: 0;
}

.approvals-page #authorities .data-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.approvals-page #authorities .data-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.approvals-page #authorities .data-table tbody tr {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 16px;
  min-height: 190px;
  padding: 28px 30px 28px 104px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .11);
  border-radius: 30px 8px 30px 30px;
  box-shadow: 0 15px 34px rgba(58, 27, 71, .09);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.approvals-page #authorities .data-table tbody tr::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 30px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  border-radius: 50% 12% 50% 12%;
  box-shadow: 0 10px 22px rgba(113, 63, 136, .22);
  transform: translateY(-50%);
}

.approvals-page #authorities .data-table tbody tr::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 46px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  transform: translateY(-52%);
}

.approvals-page #authorities .data-table tbody tr:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 198, 98, .8);
  box-shadow: 0 24px 44px rgba(58, 27, 71, .15);
}

.approvals-page #authorities .data-table th,
.approvals-page #authorities .data-table td {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
}

.approvals-page #authorities .data-table th {
  width: 100%;
  justify-self: stretch;
  color: var(--aubergine);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.4;
}

.approvals-page #authorities .data-table td {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  text-align: left;
}

.approvals-page #authorities .data-table td strong {
  display: inline-block;
  margin: 0;
  color: var(--rose);
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.approvals-page #authorities .data-table .badge-pill {
  white-space: nowrap;
}

.approvals-page #authorities .notice {
  max-width: 1060px;
  margin: 24px auto 0;
}

.approvals-page #statement .split.reverse {
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 58px;
}

.approvals-page #statement .split.reverse::after {
  display: none;
}

.approvals-page #statement .split.reverse .split-visual {
  float: none;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  margin: 0;
}

.approvals-page #statement .split.reverse .split-copy {
  grid-column: 2;
  grid-row: 1;
}

.approvals-page #statement .petal-photo img {
  min-height: 500px;
  height: 500px;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.approvals-page #statement .prose p {
  margin-bottom: 22px;
  line-height: 1.75;
}

.approvals-page #statement .check-list {
  gap: 10px;
}

.approvals-page #statement .check-list li {
  min-height: 58px;
  align-items: center;
  padding-block: 11px;
}

.approvals-page #crests .fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.approvals-page #crests .fact-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
}

.approvals-page #crests .fact-card img {
  width: 92px !important;
  height: 92px !important;
  margin-bottom: 18px !important;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(113, 63, 136, .12);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(58, 27, 71, .12);
  transition: transform .35s, box-shadow .35s;
}

.approvals-page #crests .fact-card:hover img {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 30px rgba(58, 27, 71, .2);
}

.approvals-page #crests .fact-card h3 {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approvals-page .cta-band {
  padding-block: 42px;
}

@media (max-width: 1100px) {
  .approvals-page #authorities .data-table tbody {
    grid-template-columns: 1fr;
  }

  .approvals-page #statement .split.reverse {
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
    gap: 36px;
  }

  .approvals-page #crests .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facilities-page #overview .split,
  .facilities-page #hostel .split.reverse,
  .facilities-page #transport .split.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
    gap: 34px;
  }

  .facilities-page #laboratories .photo-tile,
  .facilities-page #laboratories .photo-tile:nth-child(even) {
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  }

  .facilities-page #sports .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admissions-page #overview .split,
  .admissions-page #documents .split.narrow-visual {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: 32px;
  }

  .admissions-page #eligibility .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admissions-page #eligibility .check-list li,
  .admissions-page #eligibility .check-list li:nth-child(4),
  .admissions-page #eligibility .check-list li:nth-child(5) {
    grid-column: auto;
  }

  .admissions-page #eligibility .check-list li:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
    justify-self: center;
  }

  .admissions-page #enquiry .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admissions-page #enquiry .contact-card:last-child {
    grid-column: 1 / -1;
  }

  .clinical-training-page #clinical .split,
  .clinical-training-page #community .split.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
    gap: 32px;
  }

  .clinical-training-page #research .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clinical-training-page #research .fact-card,
  .clinical-training-page #research .fact-card:nth-child(4),
  .clinical-training-page #research .fact-card:nth-child(5) {
    grid-column: auto;
  }

  .clinical-training-page #research .fact-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .approvals-page .inner-section {
    padding-block: 46px;
  }

  .approvals-page #statement .split.reverse {
    grid-template-columns: 1fr;
  }

  .approvals-page #statement .split.reverse .split-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .approvals-page #statement .split.reverse .split-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .approvals-page #statement .petal-photo img {
    min-height: 440px;
    height: 440px;
  }

  .facilities-page .inner-section {
    padding-block: 46px;
  }

  .facilities-page #overview .split,
  .facilities-page #hostel .split.reverse,
  .facilities-page #transport .split.reverse {
    grid-template-columns: 1fr;
  }

  .facilities-page #hostel .split.reverse .split-visual,
  .facilities-page #transport .split.reverse .split-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .facilities-page #hostel .split.reverse .split-copy,
  .facilities-page #transport .split.reverse .split-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .facilities-page #laboratories .photo-tile,
  .facilities-page #laboratories .photo-tile:nth-child(even) {
    grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
  }

  .facilities-page #laboratories .photo-tile-body {
    padding: 26px;
  }

  .admissions-page .inner-section {
    padding-block: 46px;
  }

  .admissions-page #overview .split,
  .admissions-page #documents .split.narrow-visual {
    grid-template-columns: 1fr;
  }

  .admissions-page #overview .split-copy,
  .admissions-page #documents .split-copy {
    order: 1;
  }

  .admissions-page #overview .split-visual,
  .admissions-page #documents .split-visual {
    width: min(100%, 560px);
    margin-inline: auto;
    order: 2;
  }

  .admissions-page #procedure .numbered-list,
  .admissions-page #documents .check-list.single {
    grid-template-columns: 1fr;
  }

  .admissions-page #procedure .numbered-list li {
    min-height: 0;
  }

  .clinical-training-page #clinical,
  .clinical-training-page #community {
    padding-block: 50px;
  }

  .clinical-training-page #clinical .split,
  .clinical-training-page #community .split.reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .clinical-training-page #community .split.reverse .split-copy,
  .clinical-training-page #community .split.reverse .split-visual {
    grid-column: 1;
  }

  .clinical-training-page #community .split.reverse .split-copy {
    grid-row: 1;
  }

  .clinical-training-page #community .split.reverse .split-visual {
    grid-row: 2;
    width: min(540px, 100%);
    justify-self: center;
  }

  .clinical-training-page #clinical .split-visual {
    width: min(540px, 100%);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .approvals-page .inner-section {
    padding-block: 38px;
  }

  .approvals-page #authorities .data-table tbody tr {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 24px 20px 24px 82px;
  }

  .approvals-page #authorities .data-table tbody tr::before {
    left: 17px;
    width: 48px;
    height: 48px;
  }

  .approvals-page #authorities .data-table tbody tr::after {
    left: 31px;
  }

  .approvals-page #authorities .data-table td {
    min-width: 0;
    text-align: left;
  }

  .approvals-page #crests .fact-grid {
    grid-template-columns: 1fr;
  }

  .approvals-page #statement .petal-photo img {
    min-height: 330px;
    height: 330px;
    padding: 10px;
  }

  .facilities-page .inner-section {
    padding-block: 38px;
  }

  .facilities-page #laboratories .photo-tile,
  .facilities-page #laboratories .photo-tile:nth-child(even) {
    display: block;
    min-height: 0;
  }

  .facilities-page #laboratories .photo-tile:nth-child(even) .photo-tile-media,
  .facilities-page #laboratories .photo-tile:nth-child(even) .photo-tile-body {
    grid-column: auto;
    grid-row: auto;
  }

  .facilities-page #laboratories .photo-tile-media {
    height: 230px;
    min-height: 230px;
  }

  .facilities-page #laboratories .photo-tile-body {
    padding: 24px 20px;
  }

  .facilities-page #overview .petal-photo.tall img,
  .facilities-page #hostel .petal-photo.tall img,
  .facilities-page #transport .petal-photo.tall img {
    min-height: 330px;
    height: 330px;
  }

  .facilities-page #sports .fact-grid {
    grid-template-columns: 1fr;
  }

  .admissions-page .inner-section {
    padding-block: 38px;
  }

  .admissions-page #eligibility > .container > .prose p {
    text-align: justify;
  }

  .admissions-page #eligibility .check-list,
  .admissions-page #enquiry .contact-cards {
    grid-template-columns: 1fr;
  }

  .admissions-page #eligibility .check-list li:last-child {
    grid-column: auto;
    width: 100%;
  }

  .admissions-page #enquiry .contact-card:last-child {
    grid-column: auto;
  }

  .admissions-page #overview .petal-photo.tall img,
  .admissions-page #documents .petal-photo.tall img {
    min-height: 330px;
    height: 330px;
  }

  .clinical-training-page #clinical,
  .clinical-training-page #community {
    padding-block: 42px;
  }

  .clinical-training-page #clinical .petal-photo.tall img,
  .clinical-training-page #community .petal-photo.tall img {
    min-height: 330px;
    height: 330px;
  }

  .clinical-training-page #community .chip-row,
  .clinical-training-page #research .fact-grid,
  .clinical-training-page #clinical .check-list {
    grid-template-columns: 1fr;
  }

  .clinical-training-page #research .fact-card,
  .clinical-training-page #research .fact-card:last-child {
    grid-column: auto;
    width: 100%;
    min-height: 0;
  }
}

@media (max-width: 1100px) {
  .student-life-page #wellness .fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .student-life-page #wellness .fact-card:nth-child(5),
  .student-life-page #wellness .fact-card:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .student-life-page #wellness .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .student-life-page #wellness .fact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  .petal-photo,
  .petal-photo img,
  .photo-tile,
  .photo-tile-media img,
  .mosaic figure,
  .mosaic figure img,
  .numbered-list li,
  .check-list li,
  .chip-row li,
  .fact-card,
  .contact-card,
  .award-list li,
  .nav-drop,
  .nav-chev,
  .related-grid a,
  .related-number,
  .leader-portrait img {
    transition: none !important;
    animation: none !important;
  }
}
