@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

/* ============================================================
   SHARED DESIGN TOKENS
   ============================================================ */
:root {
  --ink:              #1b1716;
  --muted:            #675d59;
  --line:             rgba(127, 17, 19, 0.1);
  --surface:          #fffaf6;
  --surface-soft:     #f7eee8;
  --maroon-light:     #a11d23;
  --maroon:           #7f1113;
  --maroon-deep:      #4f090c;
  --gold:             #d7aa43;
  --gold-light:       #f3c45a;
  --shadow:           0 22px 48px rgba(79, 9, 12, 0.1);
  --page-gutter:      var(--layout-page-gutter, 24px);

  --ia-ink:              var(--ink);
  --ia-muted:            var(--muted);
  --ia-line:             var(--line);
  --ia-surface:          var(--surface);
  --ia-surface-soft:     var(--surface-soft);
  --ia-maroon-light:     var(--maroon-light);
  --ia-maroon:           var(--maroon);
  --ia-maroon-deep:      var(--maroon-deep);
  --ia-gold:             var(--gold);
  --ia-gold-light:       var(--gold-light);
  --ia-shadow:           var(--shadow);
  --ia-page-gutter:      var(--page-gutter);

  --academic-ink:          var(--ink);
  --academic-muted:        var(--muted);
  --academic-line:         var(--line);
  --academic-surface:      var(--surface);
  --academic-surface-soft: var(--surface-soft);
  --academic-maroon-light: var(--maroon-light);
  --academic-maroon:       var(--maroon);
  --academic-maroon-deep:  var(--maroon-deep);
  --academic-gold:         var(--gold);
  --academic-shadow:       var(--shadow);
  --academic-page-gutter:  var(--page-gutter);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #f6efe8;
  overflow-x: hidden;
}

.main-content,
.main-content button,
.main-content input,
.main-content textarea,
.main-content select {
  font-family: "Poppins", sans-serif;
}

.main-content *,
.main-content *::before,
.main-content *::after {
  box-sizing: border-box;
}

.main-content {
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 0;
}

.section-tag,
.academic-features-eyebrow,
.iapply-hero-tag,
.campus-story-tag,
.academic-intro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--maroon);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-tag::before,
.academic-features-eyebrow::before,
.iapply-hero-tag::before,
.academic-intro-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.academic-breadcrumb::before {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.iapply-hero-tag {
  color: rgba(255, 241, 231, 0.82);
  margin-bottom: 10px;
}

.academic-features-eyebrow {
  color: #f2c94c;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}

.academic-features-eyebrow::before {
  width: 34px;
  opacity: 0.55;
}

.academic-intro-eyebrow {
  margin-bottom: 18px;
}

.academic-intro-eyebrow::before {
  width: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.72s ease-out, transform 0.72s ease-out;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

body.scroll-down .reveal:not(.active) { transform: translateY(40px); }
body.scroll-up  .reveal:not(.active) { transform: translateY(-40px); }

.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }

.apply-now-btn,
.section-link,
.contents-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #2d1606;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.apply-now-btn {
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(18, 3, 4, 0.28);
  min-height: 44px;
  touch-action: manipulation;
}

.apply-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18, 3, 4, 0.36);
}

.section-link {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.86rem;
  touch-action: manipulation;
}

.section-link:hover {
  transform: translateY(-2px);
}

.contents-card-action {
  min-height: 40px;
  width: fit-content;
  padding: 0 16px;
  font-size: 0.84rem;
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.read-more-btn {
  margin-top: 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--maroon-light) 0%, var(--maroon) 48%, var(--maroon-deep) 100%);
  color: #fffaf4;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  touch-action: manipulation;
}

.academic-breadcrumb {
  width: 100%;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  align-self: stretch;
  justify-self: stretch;
  margin: 14px 0 8px;
  padding: 14px 0 12px;
  border: none;
  background: transparent;
  border-radius: 0;
  color: var(--maroon);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.academic-breadcrumb a {
  color: var(--maroon);
  text-decoration: none;
  padding: 4px 0;
}

.academic-breadcrumb span {
  color: var(--maroon);
  font-weight: 800;
  opacity: 0.5;
}

.academic-breadcrumb strong {
  color: var(--ink);
  font-weight: 800;
}

.hero-shell,
.academic-features,
.iapply-hero,
.academic-intro,
.contents-strip,
.iapply-schedule-strip {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  transform: none;
}

.iapply-section-card,
.academic-section-card,
.academic-intro-text-inner {
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.96) 0%, rgba(247, 239, 232, 0.92) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.iapply-hero,
.campus-story-card {
  position: relative;
  background: linear-gradient(180deg, var(--maroon-light) 0%, var(--maroon) 48%, var(--maroon-deep) 100%);
  color: #fffaf4;
  overflow: visible;
  z-index: 4;
  margin-top: 0;
}

.campus-story-card {
  min-height: 360px;
}

.iapply-hero {
  padding: 48px var(--page-gutter) 48px;
  display: flex;
  justify-content: center;
  overflow: visible;
  min-height: 0;
}

.iapply-hero-content {
  width: 100%;
  max-width: 1200px;
  position: relative;
  padding-right: 370px;
  box-sizing: border-box;
}

.campus-story-card {
  padding: 48px var(--page-gutter) 48px;
  border-radius: 0;
  max-width: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  overflow: visible;
  margin-bottom: 92px;
}

.campus-story-card-content {
  width: 100%;
  max-width: 1200px;
  padding-right: 440px;
  position: relative;
  box-sizing: border-box;
}

.iapply-hero h1 {
  margin: 0 0 8px;
  color: #fffaf4;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.iapply-hero-sub {
  margin: 0 0 14px;
  color: rgba(255, 241, 231, 0.78);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.iapply-hero p,
.campus-story-card p {
  color: rgba(255, 241, 231, 0.88);
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 1000px;
}

.campus-story-layout { display: block; }

.campus-story-copy {
  min-width: 0;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.campus-story-tag {
  color: rgba(255, 241, 231, 0.82);
}

.campus-story-card h2 {
  margin: 12px 0 12px;
  color: #fffaf4;
  font-size: 1.6rem;
  line-height: 1.12;
}

.iapply-hero-desc,
.campus-story-description {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.14) 0%, rgba(255, 250, 244, 0.08) 100%);
  border: 1px solid rgba(255, 241, 231, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 30px rgba(18, 3, 4, 0.12);
  backdrop-filter: blur(6px);
}

.iapply-hero-desc {
  max-width: 580px;
  border-radius: 20px;
}

.campus-story-description {
  max-width: 980px;
  border-radius: 24px;
  padding: 22px 24px;
}

.campus-story-description p,
.iapply-hero-desc p:last-child {
  margin: 0;
}

.iapply-hero-desc p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.iapply-hero-desc ul {
  margin: 0;
  padding: 0 0 0 18px;
}

.iapply-hero-desc li {
  color: rgba(255, 241, 231, 0.84);
  font-size: 0.88rem;
  line-height: 1.7;
  list-style: disc;
}

.iapply-hero-visual,
.campus-story-visual {
  position: absolute;
  border-radius: 20px;
  border: 1px solid rgba(255, 241, 231, 0.16);
  overflow: hidden;
  z-index: 8;
}

.iapply-hero-visual {
  top: 0;
  bottom: 0;
  right: 0;
  width: 330px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.campus-story-visual {
  top: -34px;
  bottom: -92px;
  right: 38px;
  width: 380px;
  display: flex;
  align-items: stretch;
}

.campus-story-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

.iapply-hero-visual-inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 241, 231, 0.16);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.12) 0%, rgba(255, 250, 244, 0.06) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(18, 3, 4, 0.28);
  backdrop-filter: blur(8px);
}

.iapply-logo-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--maroon-deep);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(18, 3, 4, 0.3);
}

.iapply-hero-visual h3 {
  margin: 0;
  color: #fffaf4;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.iapply-hero-visual p {
  margin: 0;
  color: rgba(255, 241, 231, 0.72);
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 260px;
}

.hero-shell {
  z-index: 1;
}

.carousel-section {
  height: 100%;
  margin-top: 0;
}

.carousel {
  position: relative;
  min-height: 340px;
  background: linear-gradient(180deg, #4b090c 0%, #120304 100%);
  overflow: hidden;
}

.full-carousel {
  border-bottom: 1px solid rgba(127, 17, 19, 0.1);
}

.carousel-stage {
  position: relative;
  width: 100%;
  min-height: 340px;
  height: 340px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.carousel-split {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  height: 100%;
}

.carousel-half {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) sepia(0.08);
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(240, 200, 90, 0.2), transparent 45%),
    linear-gradient(145deg, rgba(45, 0, 0, 0.5), rgba(12, 8, 8, 0.4));
}

.carousel-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #fffaf4;
  text-align: center;
  pointer-events: none;
}

.carousel-caption h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 14px 30px rgba(18, 3, 4, 0.45);
}

.carousel-prev,
.carousel-next,
.carousel-indicators {
  display: none;
}

.academic-intro-text {
  width: 100%;
  padding: 0 var(--page-gutter);
  margin: 40px auto 40px;
}

.academic-intro-text-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 44px;
  border-left: 4px solid var(--maroon);
  position: relative;
  overflow: hidden;
}

.academic-intro-text-inner::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  left: 28px;
  font-size: 9rem;
  font-weight: 900;
  color: var(--maroon);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
  font-family: "Poppins", sans-serif;
}

.academic-intro-text-inner p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin: 0 0 18px;
}

.academic-intro-text-inner p:last-child { margin-bottom: 0; }

.academic-intro-text-inner strong:not([style*="color"]),
.academic-intro-text-inner b:not([style*="color"]) {
  color: var(--maroon-deep);
  font-weight: 700;
}

.academic-intro-rich-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.academic-intro-rich-copy p,
.academic-intro-rich-copy div,
.academic-intro-rich-copy li {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.academic-intro-rich-copy p,
.academic-intro-rich-copy div {
  margin: 0 0 0.45rem;
}

.academic-intro-rich-copy p:last-child,
.academic-intro-rich-copy div:last-child {
  margin-bottom: 0;
}

.academic-intro-rich-copy blockquote {
  margin: 0.6rem 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 3px solid rgba(127, 17, 19, 0.38);
  color: inherit;
  background: rgba(127, 17, 19, 0.04);
  border-radius: 0 14px 14px 0;
}

.academic-intro-rich-copy blockquote > :first-child {
  margin-top: 0;
}

.academic-intro-rich-copy blockquote > :last-child {
  margin-bottom: 0;
}

.academic-intro-rich-copy blockquote p,
.academic-intro-rich-copy blockquote div,
.academic-intro-rich-copy blockquote li,
.academic-intro-rich-copy blockquote strong,
.academic-intro-rich-copy blockquote b,
.academic-intro-rich-copy blockquote span {
  color: inherit;
}

.academic-intro-rich-copy ul,
.academic-intro-rich-copy ol {
  margin: 0.35rem 0 0.6rem;
  padding-left: 1.65rem;
}

.academic-intro-rich-copy li {
  margin: 0.15rem 0;
}

.academic-intro-rich-copy strong,
.academic-intro-rich-copy b {
  font-weight: 700;
}

.academic-intro-rich-copy strong:not([style*="color"]),
.academic-intro-rich-copy b:not([style*="color"]) {
  color: var(--maroon-deep);
}

.academic-intro-rich-copy span[style*="color"] strong:not([style*="color"]),
.academic-intro-rich-copy span[style*="color"] b:not([style*="color"]) {
  color: inherit;
}

.academic-features {
  margin-top: 0;
  padding: 40px var(--page-gutter);
  border-top: 1px solid rgba(25, 25, 25, 0.1);
  border-bottom: 1px solid rgba(25, 25, 25, 0.1);
  background:
    linear-gradient(180deg, rgba(83, 8, 14, 0.62) 0%, rgba(105, 10, 18, 0.66) 100%),
    url("/assets/static_img/bird_eye_bg_red.jpg") center top/280px auto repeat;
  overflow: hidden;
}

.academic-features-inner {
  position: relative;
  z-index: 1;
}

.academic-features-heading {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.academic-features-description {
  max-width: 760px;
  margin: 12px 0 24px;
  color: rgba(42, 22, 22, 0.86);
}

.academic-features:not(.cms-preview-editable) .academic-features-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 310px);
  grid-template-columns: none;
  gap: 22px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 17, 19, 0.24) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.academic-features:not(.cms-preview-editable) .academic-features-grid::-webkit-scrollbar {
  height: 8px;
}

.academic-features:not(.cms-preview-editable) .academic-features-grid::-webkit-scrollbar-thumb {
  background: rgba(127, 17, 19, 0.22);
  border-radius: 999px;
}

.academic-features.cms-preview-editable .academic-features-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}

.academic-feature-card,
.cards_information {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
  padding: 26px 26px 58px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 239, 232, 0.96) 100%);
  border: 1px solid rgba(127, 17, 19, 0.08);
  color: #191919;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  scroll-snap-align: start;
}

.academic-feature-card:hover,
.cards_information:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 17, 19, 0.22);
  box-shadow: 0 18px 30px rgba(79, 9, 12, 0.08);
}

.academic-feature-card-accent { display: none; }

.academic-feature-card h3.academic-feature-title,
.cards_information h3.academic-feature-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px !important;
  margin-block-start: 0 !important;
  margin-block-end: 12px !important;
  color: var(--maroon) !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.academic-feature-divider {
  border: none;
  border-top: 1.5px solid rgba(127, 17, 19, 0.10);
  margin: 0 0 14px;
}

.academic-features .academic-feature-card p,
.academic-features .cards_information p {
  margin: 0;
  color: var(--muted) !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
}

.academic-features .cards_information p strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink) !important;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.18;
}

.academic-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto 0;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.academic-intro,
.academic-section-card {
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.96) 0%, rgba(247, 239, 232, 0.92) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.academic-intro {
  display: flex;
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
  margin-top: -8px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  z-index: 4;
}

.academic-intro h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.02;
}

.academic-intro-copy p,
.section-copy,
.section-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.academic-sections {
  display: grid;
  gap: 18px;
  width: 100%;
  justify-items: center;
}

.academic-section-card {
  width: 100%;
  max-width: 960px;
  padding: 24px;
  scroll-margin-top: 110px;
}

.section-copy-intro { margin-bottom: 4px; }

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-heading-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.read-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.read-more-content.open { max-height: 3000px; }

.history-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.history-gallery img,
.history-feature img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.history-gallery img { min-height: 210px; }

.history-feature {
  margin-top: 18px;
}

.history-feature img { max-height: 320px; }

.contents-strip {
  margin-top: -10px;
  padding: 24px 32px 28px;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.96) 0%, rgba(247, 239, 232, 0.92) 54%, rgba(215, 170, 67, 0.16) 100%);
  box-shadow: var(--shadow);
  z-index: 1;
}

.contents-strip-inner,
.iapply-schedule-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.contents-strip-head { margin-bottom: 16px; }

.contents-strip-head .section-tag {
  color: var(--maroon);
}

.contents-strip-head h2 {
  color: var(--ink);
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.contents-strip-head .section-tag::before { opacity: 0.55; }

.contents-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 310px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 17, 19, 0.24) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.contents-cards::-webkit-scrollbar { height: 8px; }
.contents-cards::-webkit-scrollbar-thumb {
  background: rgba(127, 17, 19, 0.22);
  border-radius: 999px;
}

.contents-card {
  position: relative;
  isolation: isolate;
  height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 239, 232, 0.88) 100%);
  border: 1px solid rgba(127, 17, 19, 0.12);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.22);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  scroll-snap-align: start;
}

.contents-card:hover,
.contents-card:focus-visible,
.contents-card.active {
  transform: translateY(-4px);
  border-color: rgba(127, 17, 19, 0.22);
  box-shadow: 0 18px 28px rgba(79, 9, 12, 0.2);
}

.contents-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.contents-card-front,
.contents-card-back {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
}

.contents-card-front {
  background: #f2f2f2;
  display: grid;
  grid-template-rows: 1fr auto;
  z-index: 1;
}

.contents-card-front img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none;
  transition: transform 0.45s ease;
}

.contents-card-copy {
  position: relative;
  min-height: 102px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  background: var(--maroon);
  z-index: 2;
  transition: opacity 0.28s ease, transform 0.35s ease;
}

.contents-card-number {
  display: inline-flex;
  color: rgba(255, 241, 231, 0.76);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contents-card-copy h3,
.contents-card-back h3 {
  margin: 0;
  color: #fffaf4;
  font-size: clamp(0.82rem, 2.8vw, 1.12rem);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contents-card-back {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 18px 22px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 72% 28%, rgba(161, 29, 35, 0.24) 0%, rgba(161, 29, 35, 0.12) 18%, transparent 42%),
    linear-gradient(180deg, rgba(161, 29, 35, 0.96) 0%, rgba(127, 17, 19, 0.94) 52%, rgba(63, 7, 11, 0.98) 100%);
  color: #fffaf4;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.48s ease;
  pointer-events: none;
  z-index: 3;
}

.contents-card-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 38%, rgba(63, 7, 11, 0.22) 100%);
  pointer-events: none;
  z-index: 0;
}

.contents-card-overlay-copy,
.contents-card-action {
  position: relative;
  z-index: 1;
}

.contents-card-overlay-copy {
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.42s ease;
}

.contents-card-overlay-copy p {
  margin: 0;
  color: rgba(255, 250, 244, 0.82);
  font-size: clamp(0.76rem, 2.4vw, 0.92rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.card_without_section .contents-card-copy {
  min-height: 74px;
  padding: 10px 16px 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card_without_section .contents-card-copy h3 { width: 100%; text-align: center; text-wrap: balance; }
.card_without_section .contents-card-overlay-copy { align-items: center; text-align: center; }
.card_without_section .contents-card-overlay-copy h3,
.card_without_section .contents-card-overlay-copy p { text-align: center; text-wrap: balance; }
.card_without_section .contents-card-action { align-self: center; }

.contents-card:hover .contents-card-back,
.contents-card:focus-visible .contents-card-back,
.contents-card.active .contents-card-back { opacity: 1; transform: translateY(0); }

.contents-card:hover .contents-card-overlay-copy,
.contents-card:focus-visible .contents-card-overlay-copy,
.contents-card.active .contents-card-overlay-copy { opacity: 1; transform: translateY(0); }

.contents-card:hover .contents-card-action,
.contents-card:focus-visible .contents-card-action,
.contents-card.active .contents-card-action { opacity: 0; pointer-events: none; }

.show-card-action .contents-card:hover .contents-card-action,
.show-card-action .contents-card:focus-visible .contents-card-action,
.show-card-action .contents-card.active .contents-card-action { opacity: 1; pointer-events: auto; transform: translateY(0); }

.contents-card:hover .contents-card-front img,
.contents-card:focus-visible .contents-card-front img,
.contents-card.active .contents-card-front img {
  transform: scale(1.05);
  filter: none;
}

.iapply-schedule-strip {
  margin-top: 0;
  padding: 28px var(--page-gutter) 28px;
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.96) 0%, rgba(247, 239, 232, 0.92) 54%, rgba(215, 170, 67, 0.14) 100%);
  box-shadow: var(--shadow);
  z-index: 1;
}

.iapply-schedule-head { margin-bottom: 20px; }

.iapply-schedule-head .section-tag,
.iapply-section-card .section-tag { color: var(--maroon); }

.iapply-schedule-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.15;
}

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

.iapply-schedule-box {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 239, 232, 0.88) 100%);
  border: 1px solid rgba(127, 17, 19, 0.12);
  box-shadow: 0 4px 18px rgba(79, 9, 12, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.iapply-schedule-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(79, 9, 12, 0.14);
}

.iapply-schedule-box-label {
  display: block;
  margin-bottom: 6px;
  color: var(--maroon);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.iapply-schedule-box-value {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.iapply-schedule-box-value a {
  color: var(--maroon);
  text-decoration: underline;
  font-weight: 800;
}

.iapply-sections-wrap {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 32px var(--page-gutter) 48px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 768px) {
  .iapply-sections-wrap {
    grid-template-columns: 1fr;
  }
}

.iapply-section-card {
  width: 100%;
  padding: 24px;
  border-radius: 24px;
}

.iapply-section-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.iapply-section-card p,
.iapply-section-card li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.iapply-section-card ul,
.iapply-section-card ol {
  padding-left: 20px;
  margin: 10px 0;
}

.iapply-section-card li { margin-bottom: 6px; }

.iapply-notice {
  margin: 16px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(161, 29, 35, 0.07) 0%, rgba(127, 17, 19, 0.04) 100%);
  border: 1px solid rgba(127, 17, 19, 0.18);
}

.iapply-notice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--maroon);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.iapply-notice-title::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.iapply-notice ul {
  margin: 0;
  padding-left: 18px;
}

.iapply-notice li {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 4px;
}

.iapply-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  margin: 16px 0;
  background: #1b1716;
  box-shadow: 0 12px 32px rgba(18, 3, 4, 0.22);
}

.iapply-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.iapply-checklist {
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
  counter-reset: checklist;
  display: grid;
  gap: 10px;
}

.iapply-checklist li {
  counter-increment: checklist;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.iapply-checklist li::before {
  content: counter(checklist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-light) 0%, var(--maroon-deep) 100%);
  color: #fffaf4;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}


pup-footer .footer { margin-top: 0; }

.dp-hero-inquire-btn {
  margin-top: 8px;
  font-size: 0.8rem;
  padding: 10px 20px;
}

.dp-hero-photo-panel {
  padding: 0;
  background: none;
}

.dp-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 20px;
}

.dp-programs-strip {
  margin-top: 0;
  border-radius: 0;
}

.dp-diploma-cards {
  grid-auto-columns: 310px;
  justify-content: start;
}

.dp-diploma-cards .contents-card {
  width: 310px;
  height: 360px;
}

.dp-card-major {
  color: var(--gold-light);
}

.dp-contact-wrap {
  width: 100%;
  padding: 0 var(--page-gutter, 24px) 56px;
  box-sizing: border-box;
}

.contact-info-card {
  max-width: 960px;
  margin: 32px auto 0;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 250, 0.97) 0%,
    rgba(247, 239, 232, 0.93) 100%
  );
  border: 1px solid rgba(127, 17, 19, 0.12);
  box-shadow: 0 22px 48px rgba(79, 9, 12, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.dp-contact-photo-panel {
  background: linear-gradient(
    180deg,
    var(--maroon-light) 0%,
    var(--maroon)       48%,
    var(--maroon-deep)  100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  gap: 16px;
  text-align: center;
}

.dp-contact-logo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 241, 231, 0.3);
  box-shadow: 0 8px 24px rgba(18, 3, 4, 0.35);
  background: rgba(255, 250, 244, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dp-contact-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.dp-contact-branch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dp-contact-branch-name {
  margin: 0;
  color: #fffaf4;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.dp-contact-branch-sub {
  margin: 0;
  color: rgba(255, 241, 231, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dp-contact-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  border-radius: 999px;
  opacity: 0.8;
}

.dp-contact-address {
  margin: 0;
  color: rgba(255, 241, 231, 0.72);
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 200px;
}

.dp-contact-details-panel {
  padding: 36px 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.dp-contact-intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dp-contact-intro .section-tag {
  margin-bottom: 8px;
}

.dp-contact-heading {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.dp-contact-subtext {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.dp-contact-rows {
  display: grid;
  gap: 12px;
}

.dp-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
}

.dp-contact-row--maroon {
  background: rgba(127, 17, 19, 0.05);
  border: 1px solid rgba(127, 17, 19, 0.1);
}

.dp-contact-row--gold {
  background: rgba(215, 170, 67, 0.08);
  border: 1px solid rgba(215, 170, 67, 0.22);
}

.dp-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dp-contact-icon--maroon {
  background: linear-gradient(135deg, var(--maroon-light) 0%, var(--maroon) 100%);
  box-shadow: 0 4px 12px rgba(79, 9, 12, 0.22);
}

.dp-contact-icon--gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 4px 12px rgba(18, 3, 4, 0.18);
}

.dp-contact-row-label {
  display: block;
  color: var(--maroon);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.dp-contact-row-value {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 28px;
  display: flex;
  align-items: center;
}

.dp-contact-row-value:hover {
  color: var(--maroon);
  text-decoration: underline;
}

.dp-contact-cta {
  width: fit-content;
}

.uc-calendar-frame {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.uc-calendar-embed {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(127, 17, 19, 0.12);
  box-shadow: 0 12px 32px rgba(79, 9, 12, 0.1);
  background: #f2f2f2;
  aspect-ratio: 16 / 11;
}

.uc-calendar-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  min-height: 520px;
}

.uc-calendar-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.uc-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.uc-btn-outline {
  background: transparent;
  border: 2px solid var(--maroon);
  color: var(--maroon);
  box-shadow: none;
}

.uc-btn-outline:hover {
  background: rgba(127, 17, 19, 0.06);
  box-shadow: none;
}

@media (max-width: 1100px) {
  .academic-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .campus-story-card-content {
    padding-right: 320px;
  }

  .campus-story-visual {
    width: 290px;
    right: 20px;
  }

  .iapply-hero-content {
    padding-right: 300px;
  }

  .iapply-hero-visual {
    width: 270px;
  }
}

@media (max-width: 960px) {
  .academic-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .contact-info-card {
    grid-template-columns: 240px 1fr;
  }

  .dp-contact-logo-wrap {
    width: 100px;
    height: 100px;
  }

  .dp-contact-logo-img {
    width: 66px;
    height: 66px;
  }
}

@media (max-width: 900px) {
  .iapply-hero {
    padding: 32px var(--page-gutter) 32px;
    min-height: 0;
  }

  .iapply-hero-content,
  .campus-story-card-content {
    padding-right: 0;
  }

  .iapply-hero-visual {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    top: auto; bottom: auto; right: auto;
    height: auto;
  }

  .iapply-hero-visual-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    padding: 20px;
    gap: 14px;
    border-radius: 16px;
  }

  .iapply-hero p { max-width: 100%; }

  .academic-intro {
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
  }

  .campus-story-layout {
    display: grid;
    gap: 18px;
  }

  .campus-story-visual {
    position: static;
    width: 100%;
    max-width: 100%;
    transform: none;
    border-radius: 18px;
    bottom: auto;
    top: auto;
    right: auto;
  }

  .campus-story-visual img {
    min-height: 220px;
    max-height: 300px;
  }

  .campus-story-card {
    min-height: 0;
    padding: 28px var(--page-gutter);
    margin-bottom: 0;
  }

  .carousel-stage,
  .carousel {
    min-height: 280px;
    height: 280px;
  }

  .carousel-caption { padding: 18px; }

  .contact-info-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .dp-contact-photo-panel {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px 20px;
    gap: 12px;
    text-align: left;
  }

  .dp-contact-address {
    width: 100%;
    text-align: center;
    max-width: none;
  }

  .dp-contact-details-panel {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --page-gutter: 18px;
  }

  .iapply-hero {
    padding: 24px var(--page-gutter) 28px;
    margin-top: 0;
  }

  .iapply-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .iapply-hero-sub {
    font-size: 0.9rem;
  }

  .iapply-hero-visual-inner {
    padding: 16px;
    gap: 12px;
  }

  .iapply-logo-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .iapply-hero-visual h3 {
    font-size: 0.95rem;
  }

  .iapply-schedule-strip {
    padding: 24px var(--page-gutter) 20px;
  }

  .iapply-schedule-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .iapply-schedule-box {
    padding: 14px 14px 16px;
  }

  .iapply-sections-wrap {
    padding: 20px var(--page-gutter) 36px;
    gap: 14px;
  }

  .iapply-section-card {
    padding: 18px;
    border-radius: 18px;
  }

  .iapply-section-card h2 {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
  }

  .iapply-notice {
    padding: 14px 16px;
  }

  .main-content { padding-bottom: 32px; }

  .academic-shell {
    width: 100%;
    margin-top: 18px;
    gap: 16px;
  }

  .academic-intro,
  .academic-section-card {
    padding: 18px;
    border-radius: 20px;
  }

  .academic-intro { padding: 0; }

  .academic-section-card {
    width: 100%;
    max-width: none;
    padding: 16px;
  }

  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .campus-story-card { margin: 0; border-radius: 0; }

  .carousel, .carousel-stage, .carousel-half {
    min-height: 230px;
    height: 230px;
  }

  .carousel-split { grid-template-columns: 1fr; }
  .carousel-half-right { display: none; }
  .carousel-caption { padding: 16px; }
  .carousel-caption h2 {
    max-width: 12ch;
    font-size: clamp(1.5rem, 6vw, 2.3rem);
  }

  .contents-strip {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px var(--page-gutter);
  }

  .contents-strip-head h2 { font-size: 1.15rem; }
  .contents-cards {
    grid-auto-columns: minmax(220px, 250px);
    gap: 12px;
    padding-right: calc(var(--page-gutter) + 2px);
  }

  .card_without_section .contents-card-copy { min-height: 70px; padding: 10px 14px 12px; }
  .campus-story-visual img { height: 200px; min-height: 0; }
  .contents-card { height: 300px; }
  .contents-card-copy { min-height: 86px; }
  .contents-card-copy h3,
  .contents-card-back h3 { font-size: 0.88rem; line-height: 1.2; }
  .contents-card-overlay-copy p { font-size: 0.78rem; }
  .contents-card-number { font-size: 0.66rem; }

  .academic-breadcrumb { font-size: 0.74rem; gap: 6px; }

  .history-gallery { grid-template-columns: 1fr; }
  .history-gallery img { min-height: 180px; }
  .history-feature img { max-height: 220px; }

  .academic-intro-text { padding: 0 var(--page-gutter); margin: 24px auto; }
  .academic-intro-text-inner {
    padding: 26px 22px;
    border-radius: 20px;
    border-left-width: 3px;
  }
  .academic-intro-text-inner::before {
    font-size: 6rem;
    top: -10px;
    left: 16px;
  }

  .academic-features { padding: 20px var(--page-gutter); }
  .academic-features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .academic-feature-card,
  .cards_information {
    min-height: 0;
    padding: 18px 16px 36px;
    border-radius: 18px;
  }

  .academic-feature-card h3.academic-feature-title,
  .cards_information h3.academic-feature-title {
    font-size: 0.72rem !important;
    letter-spacing: 0.13em;
    margin-bottom: 10px !important;
    margin-block-end: 10px !important;
  }

  .academic-features .academic-feature-card p,
  .academic-features .cards_information p {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }

  .academic-features .cards_information p strong {
    margin-bottom: 8px;
    font-size: 0.88rem;
    line-height: 1.16;
  }

  .dp-diploma-cards .contents-card {
    width: 270px;
    height: 320px;
  }

  .dp-diploma-cards {
    grid-auto-columns: 270px;
  }

  .dp-contact-wrap {
    padding: 0 var(--page-gutter) 40px;
  }

  .contact-info-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .dp-contact-photo-panel {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px 20px;
    gap: 12px;
    text-align: left;
  }

  .dp-contact-address {
    width: 100%;
    text-align: center;
    max-width: none;
  }

  .dp-contact-details-panel {
    padding: 22px 20px;
    gap: 16px;
  }

  .dp-contact-rows { gap: 10px; }

  .dp-contact-row {
    padding: 12px 14px;
    gap: 12px;
  }

  .uc-calendar-embed {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .uc-calendar-iframe {
    min-height: 400px;
  }

  .uc-calendar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .uc-calendar-actions .apply-now-btn,
  .uc-calendar-actions .uc-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 16px;
  }

  .academic-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .academic-feature-card,
  .cards_information {
    padding: 16px 14px 30px;
    border-radius: 16px;
    min-height: 0;
  }

  .academic-feature-card h3.academic-feature-title,
  .cards_information h3.academic-feature-title {
    font-size: 0.68rem !important;
  }

  .academic-features .academic-feature-card p,
  .academic-features .cards_information p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  .contents-cards {
    grid-auto-columns: minmax(200px, 230px);
    gap: 10px;
  }

  .contents-card { height: 280px; }
  .contents-card-copy h3,
  .contents-card-back h3 { font-size: 0.85rem; }
  .contents-card-overlay-copy p { font-size: 0.76rem; }

  .campus-story-visual img { height: 170px; }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 14px;
  }

  .iapply-schedule-grid { grid-template-columns: 1fr; }

  .iapply-hero h1 { font-size: clamp(1.5rem, 8vw, 1.9rem); }
  .iapply-hero-desc { padding: 16px; }
  .iapply-hero-desc li { font-size: 0.84rem; }

  .apply-now-btn { width: 100%; justify-content: center; }
  .dp-contact-cta { width: 100%; justify-content: center; }

  .carousel, .carousel-stage, .carousel-half {
    min-height: 200px;
    height: 200px;
  }
  .carousel-caption h2 { font-size: clamp(1.2rem, 7vw, 1.6rem); max-width: 11ch; }

  .academic-intro h1,
  .section-heading-row h2 { font-size: clamp(1.2rem, 6vw, 1.45rem); }

  .academic-intro-copy p,
  .section-copy,
  .section-copy p,
  .campus-story-card p { font-size: 0.85rem; line-height: 1.65; }

  .campus-story-card h2 { font-size: 1.25rem; }
  .campus-story-card {
    padding: 20px var(--page-gutter);
  }

  .contents-strip-head h2 { font-size: 1.1rem; }
  .contents-cards { grid-auto-columns: minmax(190px, 210px); gap: 8px; }
  .contents-card { height: 260px; }
  .contents-card-copy { min-height: 80px; padding: 14px 14px 16px; }
  .contents-card-copy h3 { font-size: 0.82rem; line-height: 1.18; }
  .contents-card-back h3 { font-size: 0.82rem; }
  .contents-card-overlay-copy p { font-size: 0.74rem; line-height: 1.5; }
  .contents-card-number { font-size: 0.62rem; }

  .academic-intro-text { margin: 18px auto; }
  .academic-intro-text-inner { padding: 18px 16px; }
  .academic-intro-text-inner p { font-size: 0.86rem; }
  .academic-intro-text-inner::before { font-size: 5rem; }

  .academic-features { padding: 14px var(--page-gutter); }
  .academic-features-grid { gap: 8px; }
  .academic-feature-card,
  .cards_information { padding: 14px 12px 28px; }
  .academic-feature-card h3.academic-feature-title,
  .cards_information h3.academic-feature-title { font-size: 0.63rem !important; }
  .academic-features .academic-feature-card p,
  .academic-features .cards_information p {
    font-size: 0.78rem !important;
    line-height: 1.42 !important;
  }
  .academic-features .cards_information p strong {
    margin-bottom: 6px;
    font-size: 0.82rem;
    line-height: 1.14;
  }

  .iapply-section-card {
    padding: 16px;
    border-radius: 16px;
  }

  .iapply-notice { padding: 12px 14px; }
  .iapply-checklist li { font-size: 0.88rem; }

  .academic-breadcrumb {
    font-size: 0.68rem;
    gap: 4px;
    padding: 10px 0 8px;
  }

  .dp-diploma-cards .contents-card {
    width: 240px;
    height: 290px;
  }

  .dp-diploma-cards {
    grid-auto-columns: 240px;
  }

  .contact-info-card { border-radius: 16px; }

  .dp-contact-photo-panel { padding: 18px var(--page-gutter); }

  .dp-contact-details-panel {
    padding: 18px var(--page-gutter);
    gap: 14px;
  }

  .dp-contact-heading { font-size: 1.2rem; }

  .dp-contact-logo-wrap {
    width: 84px;
    height: 84px;
  }

  .dp-contact-logo-img {
    width: 56px;
    height: 56px;
  }

  .dp-contact-row {
    padding: 10px 12px;
    gap: 10px;
  }

  .dp-contact-icon {
    width: 32px;
    height: 32px;
  }

  .dp-contact-row-value { font-size: 0.88rem; }

  .uc-calendar-embed {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
  }

  .uc-calendar-iframe {
    min-height: 360px;
  }
}

@media (max-width: 360px) {
  :root {
    --page-gutter: 12px;
  }

  .iapply-hero h1 { font-size: 1.35rem; }
  .carousel-caption h2 { font-size: 1.1rem; max-width: 10ch; }

  .contents-cards { grid-auto-columns: minmax(170px, 190px); }
  .contents-card { height: 240px; }

  .academic-feature-card,
  .cards_information { padding: 12px 10px 24px; }

  .iapply-schedule-box { padding: 12px; }
  .iapply-schedule-box-value { font-size: 0.85rem; }

  .academic-intro-text-inner { padding: 16px 14px; }

  .dp-contact-photo-panel { padding: 16px 12px; }
  .dp-contact-details-panel { padding: 16px 12px; }

  .dp-contact-logo-wrap {
    width: 70px;
    height: 70px;
  }

  .dp-contact-logo-img {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .contents-card-back,
  .contents-card-overlay-copy,
  .contents-card-front img {
    transition: none;
  }

  .apply-now-btn:hover,
  .section-link:hover,
  .read-more-btn:hover,
  .iapply-schedule-box:hover,
  .academic-feature-card:hover,
  .cards_information:hover,
  .contents-card:hover {
    transform: none;
  }
}

.apply-now-btn:focus-visible,
.section-link:focus-visible,
.read-more-btn:focus-visible,
.academic-breadcrumb a:focus-visible,
.dp-contact-row-value:focus-visible,
.contents-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (forced-colors: active) {
  .apply-now-btn,
  .section-link,
  .read-more-btn {
    forced-color-adjust: none;
  }
}

@media print {
  .iapply-hero-visual,
  .campus-story-visual,
  .carousel,
  .carousel-section {
    display: none;
  }

  .iapply-hero-content,
  .campus-story-card-content {
    padding-right: 0;
  }

  .academic-features {
    background: none;
    border: 1px solid #ccc;
  }

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

body.pup-dark-mode {
  --ink:              #f5e8e8;
  --muted:            #c8a8a8;
  --line:             rgba(255, 160, 160, 0.1);
  --surface:          #1a0d0f;
  --surface-soft:     #220d10;
  --maroon-light:     #c0282f;
  --maroon:           #a11d23;
  --maroon-deep:      #7f1113;
  --gold:             #d7aa43;
  --gold-light:       #f3c45a;
  --shadow:           0 22px 48px rgba(0, 0, 0, 0.5);

  --ia-ink:              #f5e8e8;
  --ia-muted:            #c8a8a8;
  --ia-line:             rgba(255, 160, 160, 0.1);
  --ia-surface:          #1a0d0f;
  --ia-surface-soft:     #220d10;
  --ia-maroon-light:     #c0282f;
  --ia-maroon:           #a11d23;
  --ia-maroon-deep:      #7f1113;
  --ia-gold:             #d7aa43;
  --ia-gold-light:       #f3c45a;
  --ia-shadow:           0 22px 48px rgba(0, 0, 0, 0.5);

  --academic-ink:          #f5e8e8;
  --academic-muted:        #c8a8a8;
  --academic-line:         rgba(255, 160, 160, 0.1);
  --academic-surface:      #1a0d0f;
  --academic-surface-soft: #220d10;
  --academic-maroon-light: #c0282f;
  --academic-maroon:       #a11d23;
  --academic-maroon-deep:  #7f1113;
  --academic-gold:         #d7aa43;
  --academic-shadow:       0 22px 48px rgba(0, 0, 0, 0.5);
}

body.pup-dark-mode {
  background: #12080a;
}

body.pup-dark-mode .carousel {
  background: linear-gradient(180deg, #220609 0%, #0d0203 100%);
}

body.pup-dark-mode .academic-breadcrumb,
body.pup-dark-mode .academic-breadcrumb a,
body.pup-dark-mode .academic-breadcrumb span {
  color: #e08080;
}

body.pup-dark-mode .academic-breadcrumb strong {
  color: #f5e8e8;
}

body.pup-dark-mode .section-tag,
body.pup-dark-mode .academic-intro-eyebrow {
  color: #e08080;
}

body.pup-dark-mode .academic-intro-text-inner {
  background: linear-gradient(180deg, rgba(26, 10, 12, 0.98) 0%, rgba(18, 8, 10, 0.96) 100%);
  border-color: rgba(200, 80, 80, 0.12);
  border-left-color: #a11d23;
}

body.pup-dark-mode .academic-intro-text-inner p {
  color: #c8a8a8;
}

body.pup-dark-mode .academic-intro-text-inner strong:not([style*="color"]),
body.pup-dark-mode .academic-intro-text-inner b:not([style*="color"]) {
  color: #e08080;
}

body.pup-dark-mode .academic-feature-card,
body.pup-dark-mode .cards_information {
  background: linear-gradient(180deg, rgba(26, 10, 12, 0.98) 0%, rgba(18, 8, 10, 0.96) 100%);
  border-color: rgba(200, 80, 80, 0.16);
  color: #f5e8e8;
}

body.pup-dark-mode .academic-feature-card:hover,
body.pup-dark-mode .cards_information:hover {
  border-color: rgba(200, 80, 80, 0.32);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
}

body.pup-dark-mode .academic-feature-card h3.academic-feature-title,
body.pup-dark-mode .cards_information h3.academic-feature-title {
  color: #e08080 !important;
}

body.pup-dark-mode .academic-feature-divider {
  border-top-color: rgba(200, 80, 80, 0.14);
}

body.pup-dark-mode .academic-features .academic-feature-card p,
body.pup-dark-mode .academic-features .cards_information p {
  color: #c8a8a8 !important;
}

body.pup-dark-mode .academic-features .cards_information p strong {
  color: #f5e8e8 !important;
}

body.pup-dark-mode .academic-intro,
body.pup-dark-mode .academic-section-card,
body.pup-dark-mode .iapply-section-card,
body.pup-dark-mode .academic-intro-text-inner {
  background: linear-gradient(180deg, rgba(26, 10, 12, 0.98) 0%, rgba(18, 8, 10, 0.96) 100%);
  border-color: rgba(200, 80, 80, 0.1);
  box-shadow: var(--shadow);
}

body.pup-dark-mode .academic-intro h1 {
  color: #f5e8e8;
}

body.pup-dark-mode .academic-intro-copy p,
body.pup-dark-mode .section-copy,
body.pup-dark-mode .section-copy p {
  color: #c8a8a8;
}

body.pup-dark-mode .section-heading-row h2 {
  color: #f5e8e8;
}

body.pup-dark-mode .contents-strip {
  background: linear-gradient(135deg, rgba(26, 10, 12, 0.98) 0%, rgba(18, 8, 10, 0.96) 54%, rgba(40, 20, 5, 0.14) 100%);
  box-shadow: var(--shadow);
}

body.pup-dark-mode .contents-strip-head h2 {
  color: #f5e8e8;
}

body.pup-dark-mode .contents-cards::-webkit-scrollbar-thumb {
  background: rgba(200, 80, 80, 0.28);
}

/* ── Cards — fixed to match pup-about-dark.css ── */
body.pup-dark-mode .contents-card {
  background: linear-gradient(180deg, rgba(55, 8, 10, 0.95) 0%, rgba(35, 4, 6, 0.98) 100%);
  border-color: rgba(180, 130, 40, 0.14);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.25);
  color: #f5e8e8;
}

body.pup-dark-mode .contents-card:hover,
body.pup-dark-mode .contents-card.active {
  border-color: rgba(215, 170, 67, 0.28);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.65);
}

body.pup-dark-mode .contents-card-front {
  background: rgba(45, 6, 8, 0.72);
}

body.pup-dark-mode .contents-card-copy {
  background: linear-gradient(180deg, rgba(90, 12, 15, 0.98) 0%, rgba(60, 6, 9, 0.99) 100%);
}

body.pup-dark-mode .contents-card-back {
  background:
    radial-gradient(circle at 72% 28%, rgba(80, 10, 12, 0.28) 0%, rgba(50, 6, 8, 0.14) 18%, transparent 42%),
    linear-gradient(180deg, rgba(55, 8, 10, 0.98) 0%, rgba(35, 4, 6, 0.97) 52%, rgba(18, 2, 3, 0.99) 100%);
}

body.pup-dark-mode .contents-card-overlay-copy h3 {
  color: #fff4eb;
}

body.pup-dark-mode .contents-card-overlay-copy p {
  color: rgba(255, 230, 210, 0.78);
}

body.pup-dark-mode .contents-card-action {
  background: linear-gradient(135deg, #f3c45a 0%, #d7aa43 100%);
  color: #2d1606;
}

/* Info card variant */
body.pup-dark-mode .contents-card--info .contents-card-front {
  background: linear-gradient(180deg, rgba(45, 6, 8, 0.96) 0%, rgba(28, 3, 5, 0.98) 100%);
}

body.pup-dark-mode .contents-card--info .contents-card-body {
  color: #c8a8a8;
}

body.pup-dark-mode .contents-card--info .contents-card-body p {
  color: #c8a8a8;
}

body.pup-dark-mode .about-card-icon:not(.contents-card--accent .about-card-icon) {
  background: rgba(160, 40, 40, 0.14);
  color: #e08080;
  box-shadow: inset 0 0 0 1px rgba(160, 40, 40, 0.14);
}

body.pup-dark-mode .iapply-hero,
body.pup-dark-mode .campus-story-card {
  background: linear-gradient(180deg, #7f1113 0%, #5c0d0f 48%, #3d0709 100%);
}

body.pup-dark-mode .iapply-hero-desc,
body.pup-dark-mode .campus-story-description {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.08) 0%, rgba(255, 250, 244, 0.04) 100%);
  border-color: rgba(255, 241, 231, 0.1);
}

body.pup-dark-mode .iapply-hero-visual-inner {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.08) 0%, rgba(255, 250, 244, 0.04) 100%);
  border-color: rgba(255, 241, 231, 0.1);
}

body.pup-dark-mode .iapply-schedule-strip {
  background: linear-gradient(135deg, rgba(26, 10, 12, 0.98) 0%, rgba(18, 8, 10, 0.96) 54%, rgba(40, 20, 5, 0.14) 100%);
  box-shadow: var(--shadow);
}

body.pup-dark-mode .iapply-schedule-head h2 {
  color: #f5e8e8;
}

body.pup-dark-mode .iapply-schedule-box {
  background: linear-gradient(180deg, rgba(30, 12, 15, 0.98) 0%, rgba(22, 8, 10, 0.9) 100%);
  border-color: rgba(200, 80, 80, 0.16);
}

body.pup-dark-mode .iapply-schedule-box:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

body.pup-dark-mode .iapply-schedule-box-label {
  color: #e08080;
}

body.pup-dark-mode .iapply-schedule-box-value {
  color: #f5e8e8;
}

body.pup-dark-mode .iapply-schedule-box-value a {
  color: #e08080;
}

body.pup-dark-mode .iapply-section-card h2 {
  color: #f5e8e8;
}

body.pup-dark-mode .iapply-section-card p,
body.pup-dark-mode .iapply-section-card li {
  color: #c8a8a8;
}

body.pup-dark-mode .iapply-notice {
  background: linear-gradient(135deg, rgba(161, 29, 35, 0.1) 0%, rgba(127, 17, 19, 0.06) 100%);
  border-color: rgba(200, 80, 80, 0.22);
}

body.pup-dark-mode .iapply-notice-title {
  color: #e08080;
}

body.pup-dark-mode .iapply-checklist li {
  color: #c8a8a8;
}

body.pup-dark-mode .contact-info-card {
  background: linear-gradient(180deg, rgba(26, 10, 12, 0.98) 0%, rgba(18, 8, 10, 0.96) 100%);
  border-color: rgba(200, 80, 80, 0.14);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
}

body.pup-dark-mode .dp-contact-photo-panel {
  background: linear-gradient(160deg, #3d0c10 0%, #2a0608 55%, #1e0405 100%);
}

body.pup-dark-mode .dp-contact-logo-wrap {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(160, 40, 40, 0.22);
}

body.pup-dark-mode .dp-contact-branch-name {
  color: #f5e8e8;
}

body.pup-dark-mode .dp-contact-branch-sub {
  color: #c8a8a8;
}

body.pup-dark-mode .dp-contact-divider {
  background: rgba(215, 170, 67, 0.35);
}

body.pup-dark-mode .dp-contact-address {
  color: #c8a8a8;
}

body.pup-dark-mode .dp-contact-heading {
  color: #f5e8e8;
}

body.pup-dark-mode .dp-contact-subtext {
  color: #c8a8a8;
}

body.pup-dark-mode .dp-contact-row-label {
  color: #e08080;
}

body.pup-dark-mode .dp-contact-row-value {
  color: #f5e8e8;
}

body.pup-dark-mode .dp-contact-row-value:hover {
  color: #e08080;
}

body.pup-dark-mode .dp-contact-row--maroon {
  background: rgba(200, 80, 80, 0.08);
  border-color: rgba(200, 80, 80, 0.14);
}

body.pup-dark-mode .dp-contact-row--gold {
  background: rgba(215, 170, 67, 0.06);
  border-color: rgba(215, 170, 67, 0.18);
}

body.pup-dark-mode .uc-calendar-embed {
  border-color: rgba(200, 80, 80, 0.16);
  background: #1a0d0f;
}

body.pup-dark-mode .uc-btn-outline {
  border-color: #a11d23;
  color: #e08080;
}

body.pup-dark-mode .uc-btn-outline:hover {
  background: rgba(200, 80, 80, 0.1);
}

body.pup-dark-mode .history-gallery img,
body.pup-dark-mode .history-feature img {
  filter: brightness(0.88) saturate(0.9);
}

body.pup-dark-mode .read-more-btn {
  background: linear-gradient(135deg, #a11d23 0%, #7f1113 48%, #5c0d0f 100%);
}

body.pup-dark-mode .apply-now-btn,
body.pup-dark-mode .dp-contact-cta,
body.pup-dark-mode .submit-btn,
body.pup-dark-mode .hero-primary,
body.pup-dark-mode .iapply-hero .apply-now-btn {
  background: linear-gradient(135deg, #c8960a 0%, #a87a0a 100%);
  color: #1a0a00 !important;
}

body.pup-dark-mode .apply-now-btn:hover,
body.pup-dark-mode .dp-contact-cta:hover,
body.pup-dark-mode .submit-btn:hover,
body.pup-dark-mode .hero-primary:hover,
body.pup-dark-mode .iapply-hero .apply-now-btn:hover {
  background: linear-gradient(135deg, #b8860a 0%, #986a0a 100%);
  color: #1a0a00 !important;
}

body.pup-dark-mode .reveal {
  opacity: 0;
  transform: translateY(40px);
}

body.pup-dark-mode .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 1. Void the flip-card behaviour for diploma cards */
.dp-diploma-cards,
.dp-diploma-cards .contents-card,
.dp-diploma-cards .contents-card-inner,
.dp-diploma-cards .contents-card-front,
.dp-diploma-cards .contents-card-back,
.dp-diploma-cards .contents-card-copy,
.dp-diploma-cards .contents-card-overlay-copy,
.dp-diploma-cards .contents-card-action {
  all: unset;
  box-sizing: border-box;
}

/* 2. Card grid */
.dp-diploma-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 4px 2px 10px;
}

/* 3. Individual card */
.dp-diploma-cards .contents-card {
  display: block;
  text-decoration: none;
  flex: 1 1 240px;
  max-width: 360px;
  border-radius: 18px;
  border: 1px solid rgba(127, 17, 19, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,239,232,0.88) 100%);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

/* top accent bar */
.dp-diploma-cards .contents-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon-deep), var(--maroon-light));
}

.dp-diploma-cards .contents-card:hover,
.dp-diploma-cards .contents-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(127, 17, 19, 0.28);
  box-shadow: 0 14px 30px rgba(79, 9, 12, 0.14);
}

/* 4. Card body */
.dp-diploma-card-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* abbreviation pill */
.dp-diploma-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(127, 17, 19, 0.08);
  border: 1px solid rgba(127, 17, 19, 0.18);
  color: var(--maroon);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: fit-content;
}

/* title */
.dp-diploma-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  font-family: "Poppins", sans-serif;
}

/* description */
.dp-diploma-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
  font-family: "Poppins", sans-serif;
}

/* department label */
.dp-diploma-dept {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Poppins", sans-serif;
}

.dp-diploma-dept::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ── Dark mode ── */
body.pup-dark-mode .dp-diploma-cards .contents-card {
  background: linear-gradient(180deg, rgba(26,10,12,0.98) 0%, rgba(18,8,10,0.96) 100%);
  border-color: rgba(200, 80, 80, 0.16);
}

body.pup-dark-mode .dp-diploma-cards .contents-card:hover,
body.pup-dark-mode .dp-diploma-cards .contents-card:focus-visible {
  border-color: rgba(200, 80, 80, 0.32);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

body.pup-dark-mode .dp-diploma-badge {
  background: rgba(200, 80, 80, 0.1);
  border-color: rgba(200, 80, 80, 0.22);
  color: #e08080;
}

body.pup-dark-mode .dp-diploma-title  { color: #f5e8e8; }
body.pup-dark-mode .dp-diploma-desc,
body.pup-dark-mode .dp-diploma-dept   { color: #c8a8a8; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .dp-diploma-cards .contents-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .dp-diploma-card-body {
    padding: 22px 18px 20px;
  }
}

/* ── UC Hero Option B ── */
.uc-hero-b {
    padding: 0;
    min-height: 0;
    display: block;
    overflow: hidden;
}

.uc-hero-b-top {
    padding: 48px var(--page-gutter) 38px;
    border-bottom: 1px solid rgba(255, 241, 231, 0.1);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.uc-hero-b-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.uc-hero-b-eyebrow-line {
    width: 32px;
    height: 2px;
    background: var(--gold);
    border-radius: 999px;
    flex-shrink: 0;
}

.uc-hero-b-eyebrow span {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 241, 231, 0.6);
}

.uc-hero-b h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fffaf4;
    line-height: 1.05;
    margin: 0 0 14px;
}

.uc-hero-b-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 241, 231, 0.7);
    max-width: 620px;
    margin: 0;
}

.uc-hero-b-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.uc-hero-b-cell {
    padding: 22px var(--page-gutter);
    border-right: 1px solid rgba(255, 241, 231, 0.1);
    border-top: 1px solid rgba(255, 241, 231, 0.1);
    transition: background 0.2s ease;
}

.uc-hero-b-cell:last-child {
    border-right: none;
}

.uc-hero-b-cell:hover {
    background: rgba(255, 241, 231, 0.04);
}

.uc-hero-b-cell-label {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 7px;
}

.uc-hero-b-cell-val {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 241, 231, 0.88);
    line-height: 1.4;
    margin: 0;
}

/* responsive */
@media (max-width: 900px) {
    .uc-hero-b-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .uc-hero-b-cell:nth-child(3) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .uc-hero-b-top {
        padding: 32px var(--page-gutter) 28px;
    }

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

    .uc-hero-b-cell:nth-child(2n) {
        border-right: none;
    }

    .uc-hero-b-cell:nth-child(3) {
        border-right: 1px solid rgba(255, 241, 231, 0.1);
    }
}

@media (max-width: 400px) {
    .uc-hero-b-grid {
        grid-template-columns: 1fr;
    }

    .uc-hero-b-cell {
        border-right: none;
    }
}

/* 1. Void the flip-card behaviour */
.dp-program-cards,
.dp-program-cards .contents-card,
.dp-program-cards .contents-card-inner,
.dp-program-cards .contents-card-front,
.dp-program-cards .contents-card-back,
.dp-program-cards .contents-card-copy,
.dp-program-cards .contents-card-overlay-copy,
.dp-program-cards .contents-card-action {
  all: unset;
  box-sizing: border-box;
}

.dp-program-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 4px 2px 10px;
}

.dp-program-cards .contents-card {
  display: block;
  text-decoration: none;
  flex: 1 1 240px;
  max-width: 360px;
  border-radius: 18px;
  border: 1px solid rgba(127, 17, 19, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,239,232,0.88) 100%);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.dp-program-cards .contents-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon-deep), var(--maroon-light));
}

.dp-program-cards .contents-card:hover,
.dp-program-cards .contents-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(127, 17, 19, 0.28);
  box-shadow: 0 14px 30px rgba(79, 9, 12, 0.14);
}

.dp-diploma-card-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dp-diploma-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(127, 17, 19, 0.08);
  border: 1px solid rgba(127, 17, 19, 0.18);
  color: var(--maroon);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: fit-content;
}

.dp-diploma-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  font-family: "Poppins", sans-serif;
}

.dp-diploma-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
  font-family: "Poppins", sans-serif;
}

.dp-diploma-dept {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Poppins", sans-serif;
}

.dp-diploma-dept::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* Dark mode */
body.pup-dark-mode .dp-program-cards .contents-card {
  background: linear-gradient(180deg, rgba(26,10,12,0.98) 0%, rgba(18,8,10,0.96) 100%);
  border-color: rgba(200, 80, 80, 0.16);
}

body.pup-dark-mode .dp-program-cards .contents-card:hover,
body.pup-dark-mode .dp-program-cards .contents-card:focus-visible {
  border-color: rgba(200, 80, 80, 0.32);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

body.pup-dark-mode .dp-diploma-badge {
  background: rgba(200, 80, 80, 0.1);
  border-color: rgba(200, 80, 80, 0.22);
  color: #e08080;
}

body.pup-dark-mode .dp-diploma-title  { color: #f5e8e8; }
body.pup-dark-mode .dp-diploma-desc,
body.pup-dark-mode .dp-diploma-dept   { color: #c8a8a8; }

@media (max-width: 480px) {
  .dp-program-cards .contents-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .dp-diploma-card-body {
    padding: 22px 18px 20px;
  }
}