:root {
  --navy: #0c0c48;
  --navy-2: #12124f;
  --ink: #0c0c48;
  --text: #4a4a4c;
  --muted: #5c5c66;
  --line: #e6e6ea;
  --grey: #f4f4f6;
  --blue: #1d4ed8;
  --radius: 18px;
  --header: 118px;
  --max: 1180px;
  --shadow: 0 10px 30px rgba(12, 12, 72, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.has-image-placeholder { position: relative; background: #d8ddda; }
.has-image-placeholder::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(190, 228, 200, .82);
  content: "";
  pointer-events: none;
}
img.image-load-error { opacity: 0; }
.hero.has-image-placeholder::before { z-index: 0; }
.feature-lead.has-image-placeholder::before { right: 0; bottom: auto; height: 230px; }
.media-card { position: relative; }
.media-card.has-image-placeholder::before { right: 0; bottom: auto; height: 168px; border-radius: 14px; }
.education-unit.has-image-placeholder::before { right: 0; bottom: auto; aspect-ratio: 1; border-radius: 50%; }
.feature-image.has-image-placeholder .feature-tag,
.discover-gallery-item.has-image-placeholder span { z-index: 1; }
.gallery-lightbox.has-image-placeholder { background: #d8ddda; }
.gallery-lightbox.has-image-placeholder::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(190, 228, 200, .82);
  content: "";
}
.sr-only, .skip {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip:focus { left: 12px; top: 12px; width: auto; height: auto; background: #fff; padding: 8px 12px; z-index: 100; }

.utility-bar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
}
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar strong { font-weight: 700; }
.apply-pill, .utility-account { display: none; }
.utility-long { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 36px 10px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 36px;
  align-items: start;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
}
.crest { width: 52px; height: 58px; flex: none; }
.brand-text {
  font-size: 13px;
  line-height: 1.15;
  font-weight: 500;
}
.brand-text strong { font-weight: 700; }
.brand.light { color: #fff; }

.menu-toggle, .search-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy)6em;
  text-transform: uppercase;
  font-size: 11px;
  align-items: center;
  gap: 1px;
  min-width: 64px;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 2px;
}
.search-toggle { margin-left: auto; align-items: flex-end; }
.burger .bar { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1), opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .bar-1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar-2 { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .bar-3 { transform: translateY(-5px) rotate(-45deg); }
.menu-toggle { align-items: flex-start; }
.search-toggle .icon-close { display: none; }
.search-toggle[aria-expanded="true"] .icon-search { display: none; }
.search-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu, .mobile-search { display: none; }

.main-nav { display: flex; flex-direction: column; gap: 2px; }
.nav-row { display: flex; align-items: flex-start; gap: 6px 28px; flex-wrap: nowrap; }
.nav-row.primary { margin-top: 8px; padding-right: 8px; }
.foundation-nav {
  align-items: center;
  gap: 10px 18px;
  min-height: 58px;
}
.foundation-nav .nav-btn .mi {
  font-size: 11px;
  color: var(--muted);
}
.foundation-nav .nav-btn .en {
  font-size: 14px;
  white-space: nowrap;
}
.foundation-nav .search { margin-left: auto; }
.nav-btn {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 2px 0 8px;
  cursor: pointer;
  color: var(--navy);
  position: relative;
  flex: 0 0 auto;
  text-decoration: none;
}
.nav-btn .mi { display: block; font-size: 13px; font-weight: 500; line-height: 1.15; }
.nav-btn .en { display: block; font-size: 15px; font-weight: 700; line-height: 1.15; }
.nav-btn[aria-expanded="true"] .en { box-shadow: inset 0 -2px 0 var(--blue); }
.nav-link {
  text-decoration: none; color: var(--navy); padding: 2px 0 8px; display: block;
}
.nav-link .mi { display: block; font-size: 13px; font-weight: 500; line-height: 1.15; }
.nav-link .en { display: block; font-size: 15px; font-weight: 700; line-height: 1.15; }
.nav-link:hover .en { box-shadow: inset 0 -2px 0 var(--blue); }

.search {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: #fff;
  border-width: 1px;
  border-style: solid;
  border-color: #d7d7de;
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  min-width: 230px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
form.search:focus-within,
form.ask-form:focus-within,
form.expert-search:focus-within,
form.search.is-focused,
form.ask-form.is-focused,
form.expert-search.is-focused {
  border-color: #1d4ed8 !important;
  outline: none;
  box-shadow: none;
}
.search input,
.ask-form input {
  border: 0; outline: 0; width: 100%; background: transparent; color: var(--navy); min-width: 0;
}
.search input.placeholder-off::placeholder,
.ask-form input.placeholder-off::placeholder {
  color: transparent;
}
.search button, .ask-form button {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.signin {
  border: 0; background: transparent; color: var(--navy);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 12px; font-weight: 600; cursor: pointer; min-width: 52px;
}
.avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center;
}

.mega {
  /* Overlay di bawah header (sticky = containing block), tidak mendorong konten */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 100%);
  overflow-y: auto;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  /* Tersembunyi by default — muncul saat .mega--open ditambahkan via JS */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-14px) scaleY(0.97);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity     0.32s ease,
    transform   0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility  0s   linear 0.32s;
}
.mega.mega--open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scaleY(1);
  pointer-events: auto;
  transition:
    opacity     0.32s ease,
    transform   0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility  0s   linear 0s;
}
.mega-inner { max-width: 1320px; margin: 0 auto; padding: 28px 48px 40px; }
.mega-head {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px;
}
.mega-head a { color: #fff; text-decoration: none; font-size: 18px; }
.mega-head a strong { font-weight: 700; }
.close-mega {
  border: 0; background: transparent; color: #fff; cursor: pointer; text-align: center; font-size: 13px;
}
.close-mega span { display: block; font-size: 22px; line-height: 1; }
.mega-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 36px;
}
.mega-col h3 { margin: 0 0 10px; font-size: 15px; }
.mega-col h3 a {
  color: #fff; text-decoration: none; border-bottom: 2px solid #7aa2ff; padding-bottom: 4px;
}
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin: 0 0 12px; }
.mega-col a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 400; }
.mega-col li a { border-bottom: 0; }
.mega-col a:hover, .mega-head a:hover { text-decoration: underline; }

.signin-panel[hidden] { display: none !important; }
.signin-panel {
  position: fixed; inset: 0; background: rgba(12,12,72,.35); z-index: 50;
  display: grid; place-items: start end; padding: 90px 40px;
}
.signin-card {
  background: #fff; width: min(360px, 92vw); border-radius: 16px; padding: 22px;
  box-shadow: var(--shadow);
}
.signin-card h2 { margin: 0 0 6px; color: var(--navy); }
.signin-card a, .text-btn {
  display: block; margin-top: 10px; padding: 10px 12px; border-radius: 10px;
  background: var(--grey); color: var(--navy); text-decoration: none; font-weight: 600; border: 0; width: 100%; text-align: left; cursor: pointer;
}

.hero {
  position: relative;
  min-height: 520px;
  background: #d7dde6;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}
.hero-img { width: 100%; height: 560px; object-fit: cover; grid-column: 1 / -1; grid-row: 1; }
.hero-card {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: min(520px, 42vw);
  margin: 40px 0 40px 0;
  background: var(--navy);
  color: #fff;
  border-radius: 28px 0 0 28px;
  padding: 42px 42px 36px;
  position: relative;
  z-index: 1;
}
.hero-card h1 { margin: 0 0 12px; font-size: 42px; line-height: 1.05; font-weight: 600; }
.hero-card h1 a { color: #fff; text-decoration: none; }
.hero-card p { font-size: 18px; margin: 0 0 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 700;
}
.btn.light { background: #fff; color: var(--navy); }
.btn.dark { background: var(--navy); color: #fff; }
.btn:hover { transform: translateY(-1px); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.band { padding: 64px 0 28px; }
.band.grey { background: var(--grey); padding-bottom: 56px; }
.section-title {
  color: var(--navy); font-weight: 500; font-size: 34px; margin: 0 0 28px; letter-spacing: -0.02em;
}
.section-title strong { font-weight: 700; }
.education-news-head, .agenda-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.education-news-head .section-title, .agenda-section-head .section-title { margin-bottom: 28px; }
.education-view-all, .agenda-view-all { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.education-view-all:hover, .agenda-view-all:hover { text-decoration: underline; }
.education-view-all span, .agenda-view-all span { color: #9a6900; margin-left: 4px; }

.feature-grid, .card-row, .help-grid {
  display: grid; gap: 28px;
}
.feature-grid { grid-template-columns: 1.15fr .85fr .85fr; align-items: start; }
.feature-grid.reverse { grid-template-columns: .85fr .85fr 1.15fr; }
.feature-lead { position: relative; border-radius: 18px; overflow: hidden; background: var(--navy); color: #fff; }
.feature-lead img { height: 230px; width: 100%; object-fit: cover; }
.chip {
  position: absolute; left: 0; top: 196px; background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 0 8px 0 0;
}
.chip.dark { position: static; display: inline-block; background: var(--navy); color: #fff; border-radius: 6px; margin-bottom: -8px; position: relative; z-index: 1; }
.feature-body { padding: 28px 24px 26px; }
.feature-body h3, .feature-plain h3, .media-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 22px; line-height: 1.25; }
.feature-body.navy h3, .feature-body.navy p, .feature-body.navy a { color: #fff; }
.feature-body h3 a { text-decoration: none; }
.feature-plain a { text-decoration: none; color: var(--text); display: block; }
.feature-image { position: relative; display: block; overflow: hidden; border-radius: 14px; }
.feature-tag { position: absolute; bottom: 0; left: 0; padding: 7px 10px; border-radius: 0 7px 0 0; background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; }
.feature-more { display: inline-block; margin-top: 14px; color: var(--ink); font-size: 14px; font-weight: 700; }
.feature-more span { color: #9a6900; margin-left: 4px; }
.feature-plain img, .media-card img { width: 100%; height: 168px; object-fit: cover; border-radius: 14px; }
.feature-plain h3, .media-card h3 { text-decoration: underline; text-underline-offset: 3px; margin-top: 12px; }
.feature-plain p, .media-card p { margin: 8px 0 0; }

.discover-layout { display: grid; grid-template-columns: 1.45fr .85fr; gap: 28px; align-items: stretch; }
.discover-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.discover-gallery-item { position: relative; min-height: 190px; overflow: hidden; padding: 0; border: 0; border-radius: 8px; background: var(--ink); cursor: zoom-in; }
.discover-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.discover-gallery-item::after { position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(8, 61, 40, .78)); content: ""; }
.discover-gallery-item span { position: absolute; right: 14px; bottom: 14px; left: 14px; z-index: 1; display: inline-block; width: fit-content; max-width: calc(100% - 28px); padding: 7px 10px; border-radius: 4px; background: rgba(8, 61, 40, .76); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: left; }
.discover-gallery-item:hover img, .discover-gallery-item:focus-visible img { filter: saturate(1.1); transform: scale(1.05); }
.discover-gallery-item:focus-visible { outline: 3px solid #f0ab00; outline-offset: 3px; }
.discover-layout .feature-lead { min-height: 100%; }

.gallery-lightbox { width: min(1200px, 94vw); max-width: none; max-height: none; margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; color: #fff; }
.gallery-lightbox::backdrop { background: rgba(8, 61, 40, .56); backdrop-filter: blur(14px); }
.gallery-lightbox[open] { display: grid; place-items: center; }
.gallery-lightbox img { display: block; width: auto; height: auto; max-width: calc(100vw - 32px); max-height: calc(100dvh - 86px); min-height: 80px; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.gallery-lightbox p { margin: 12px 0 0; color: #fff; font-size: 16px; font-weight: 700; text-align: center; }
.gallery-lightbox-close { position: absolute; top: -16px; right: -16px; display: grid; width: 40px; height: 40px; border: 2px solid #fff; border-radius: 50%; background: #0e7143; color: #fff; cursor: pointer; font-size: 28px; line-height: 1; place-items: center; }
.gallery-lightbox-close:hover { background: #f0ab00; color: var(--ink); }

.card-row.four { grid-template-columns: repeat(4, 1fr); }
.card-row.three { grid-template-columns: 1fr 1fr .9fr; }
.media-card { text-decoration: none; color: var(--text); }
.education-units { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.education-unit { position: relative; }
.education-unit a { display: block; color: var(--text); text-decoration: none; }
.education-unit img { width: 100%; aspect-ratio: 1; margin-bottom: 14px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 18px rgba(8, 61, 40, .12); transition: transform .25s ease; }
.education-level { margin-bottom: 8px; color: #9a6900; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.education-unit strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 18px; line-height: 1.3; }
.education-summary { display: block; font-size: 15px; line-height: 1.55; }
.education-detail {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 3;
  width: min(300px, calc(100vw - 40px));
  padding: 18px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 18px 38px rgba(8, 61, 40, .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.98);
  visibility: hidden;
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}

.education-detail::before {
  position: absolute;
  top: -7px;
  left: 24px;
  width: 14px;
  height: 14px;
  background: var(--navy);
  content: "";
  transform: rotate(45deg);
}

.education-unit:last-child .education-detail { right: 0; left: auto; }
.education-unit:last-child .education-detail::before { right: 24px; left: auto; }
.education-unit a:hover img { transform: translateY(-4px); }
.education-unit a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

@media (hover: hover) {
  .education-unit {
    transition: filter .45s ease, opacity .45s ease;
  }

  .education-units:has(.education-unit:hover) .education-unit {
    filter: blur(4px) saturate(.65);
    opacity: .38;
  }

  .education-units:has(.education-unit:hover) .education-unit:hover {
    filter: blur(0) saturate(1);
    opacity: 1;
  }

  .education-unit:hover .education-detail,
  .education-unit:focus-within .education-detail {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition-delay: 0s;
  }
}
.feature-body.tall { min-height: 280px; border-radius: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.kicker { font-weight: 700; margin-bottom: 10px; }

.help-grid { grid-template-columns: 1.15fr .9fr .9fr; align-items: start; }
.ask { background: #ececf1; border-radius: 18px; overflow: hidden; }
.ask-head { background: var(--blue); color: #fff; padding: 22px 22px 18px; }
.ask-head h3 { margin: 0 0 6px; font-size: 28px; }
.ask-head p { margin: 0; }
.ask-form {
  margin: 18px 18px 8px; background: #fff;
  border-width: 1px; border-style: solid; border-color: #d7d7de;
  border-radius: 999px; display: flex; padding: 6px 6px 6px 16px; align-items: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ask-form input { border: 0; outline: 0; width: 100%; }
.ask h4 { margin: 16px 22px 8px; color: var(--navy); }
.ask ul { list-style: none; margin: 0; padding: 0 22px 22px; }
.ask li { margin: 8px 0; }
.ask a { color: var(--navy); }

.programme-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: -8px 0 30px; }
.programme-intro p { max-width: 720px; margin: 0; font-size: 17px; line-height: 1.65; }
.programme-intro a { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.programme-intro a:hover { text-decoration: underline; }
.programme-intro a span { color: #9a6900; margin-left: 4px; }
.programme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.programme-card { min-height: 194px; padding: 26px; border: 1px solid #e0eae2; border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(8, 61, 40, .05); }
.programme-icon { display: grid; width: 42px; height: 42px; margin-bottom: 20px; border: 1px solid #d7e8dc; border-radius: 50%; color: var(--navy); font-size: 22px; font-weight: 700; place-items: center; }
.programme-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 22px; line-height: 1.2; }
.programme-card h3 a { color: inherit; text-decoration: none; }
.programme-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.programme-card p { margin: 0; color: var(--text); line-height: 1.55; }
.curriculum-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 32px; overflow: hidden; border-radius: 8px; background: rgba(240, 171, 0, .7); }
.curriculum-strip div { min-height: 100px; padding: 24px; background: var(--navy); color: #fff; }
.curriculum-strip span { display: block; margin-bottom: 5px; color: #f0ab00; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.curriculum-strip strong { font-size: 20px; line-height: 1.25; }

.rank-banner {
  margin: 28px 0 10px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.65) 0 18px, transparent 18px 42px),
    radial-gradient(85% 130% at 10% 10%, rgba(255,255,255,.95), transparent 58%),
    radial-gradient(70% 90% at 95% 100%, rgba(217,148,0,.35), transparent 60%),
    linear-gradient(100deg, #fff4d6, #ffd766 38%, #f0ab00 72%, #d99400);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 48px 0;
}
.rank-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(45% 65% at 32% 105%, rgba(255,255,255,.5), transparent 70%);
}
.rank-banner .rank-slot { position: relative; z-index: 1; }
.rank-slot {
  grid-column: 2;
  position: relative;
  width: min(560px, calc(100% - 40px));
  margin-left: 12px;
  padding-top: 36px;
}
.rank-slot .chip.dark {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  display: inline-block;
  margin: 0;
  border-radius: 9px 9px 0 0;
  padding: 8px 16px;
  z-index: 2;
}
.rank-card {
  background: #fff;
  border-radius: 0 16px 16px 16px;
  padding: 36px;
  width: 100%;
  margin: 0;
  box-shadow: var(--shadow);
}
.rank-card h3 { margin: 0 0 8px; font-size: 30px; color: var(--navy); }
.rank-card h3 a { color: inherit; text-decoration: none; }
.foundation-search { display: flex; align-items: center; margin-top: 22px; padding: 5px 5px 5px 16px; border: 1px solid #d7e2da; border-radius: 999px; background: #fff; }
.foundation-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); }
.foundation-search button { display: grid; width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: #f0ab00; color: var(--ink); cursor: pointer; place-items: center; }
.foundation-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14, 113, 67, .12); }
.events-fill {
  background: var(--navy); color: #fff; border-radius: 16px; min-height: 280px; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.events-fill h3, .events-fill p { color: #fff; }

.agenda-card {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(8, 61, 40, .08);
}

.agenda-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.agenda-section-head .section-title { margin-bottom: 28px; }
.agenda-view-all { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.agenda-view-all:hover { text-decoration: underline; }
.agenda-view-all span { color: #9a6900; margin-left: 4px; }

.agenda-image { position: relative; height: 168px; overflow: hidden; }
.agenda-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.agenda-card:hover .agenda-image img { transform: scale(1.04); }
.agenda-date {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  min-width: 72px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 6px;
  background: rgba(14, 113, 67, .82);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(5px);
}

.agenda-date span { font-size: 27px; font-weight: 700; line-height: 1; }
.agenda-date small { margin-top: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.agenda-content { padding: 18px 18px 20px; }
.agenda-label { margin: 0 0 6px; color: #9a6900; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.agenda-content h3 { margin: 0; color: var(--ink); font-size: 21px; line-height: 1.3; text-decoration: underline; text-underline-offset: 3px; }
.agenda-schedule { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.45; }
.agenda-schedule span { color: var(--navy); margin-right: 4px; }

.site-footer { background: #0a0a0a; color: #fff; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-identity { display: grid; gap: 22px; align-content: start; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand img { height: 58px; width: auto; max-width: 120px; object-fit: contain; background: transparent; flex: none; }
.footer-brand span { display: grid; gap: 7px; }
.footer-brand strong { font-size: 17px; line-height: 1.3; }
.footer-brand small { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55; }
.footer-contact p { display: flex; gap: 10px; margin: 0 0 12px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.5; }
.footer-contact p i { width: 18px; flex: none; color: #f0ab00; text-align: center; margin-top: 2px; }
.footer-contact a { color: inherit; }
.site-footer h2 { font-size: 16px; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 12px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 34px; height: 34px; border-radius: 8px; background: #fff; color: #111;
  display: grid; place-items: center; font-weight: 800; text-decoration: none;
}
.legal { text-align: center; padding: 28px 20px 18px; font-size: 14px; color: rgba(255,255,255,.75); }
.legal a { margin: 0 6px; }
.motif {
  height: 92px;
  background:
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.18) 28px 30px),
    repeating-linear-gradient(180deg, #111 0 10px, #1c1c1c 10px 18px);
  opacity: .9;
}

.assistant {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: linear-gradient(145deg, #72d49a, #0e7143 62%, #06452c);
  color: #fff; box-shadow: 0 8px 24px rgba(8,61,40,.28); cursor: pointer;
  display: grid; place-items: center; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.assistant:hover, .assistant:focus-visible {
  transform: scale(1.12);
  box-shadow: 0 12px 28px rgba(8,61,40,.38);
  color: #fff;
  text-decoration: none;
}
.assistant i { font-size: 46px; line-height: 1; }
.website-brand-logo { width: 42px; height: 48px; object-fit: contain; }
.legacy-crest { display: none; }
}

.banner-hero {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.banner-shade {
  min-height: 420px;
  display: grid;
  align-items: center;
  background: linear-gradient(180deg, rgba(8,16,40,.25), rgba(8,16,40,.45) 55%, rgba(8,16,40,.55));
}
.banner-copy { text-align: center; max-width: 920px; }
.banner-copy h1 {
  margin: 0 0 16px;
  font-size: 58px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.banner-copy p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.crumb-bar { background: #fff; padding: 22px 0 8px; color: var(--navy); }
.crumb-bar a, .crumb-bar strong { font-weight: 600; text-decoration: none; }
.crumb-bar span { margin: 0 8px; color: #8b8b96; }
.crumb-plus {
  margin-left: 8px; width: 28px; height: 28px; border: 0; border-radius: 4px;
  background: #1d4ed8; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; vertical-align: middle;
}
.modules-page { padding-top: 18px; }
.module-stack { display: grid; gap: 28px; }
.module-row { display: grid; gap: 22px; }
.module-row.split { grid-template-columns: 1fr 1fr; }
.module-row.feature { grid-template-columns: 1fr; }
.module-row.thirds { grid-template-columns: repeat(3, 1fr); }
.uoa-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(12,12,72,.07);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #ececf1;
}
.uoa-card img { width: 100%; height: 230px; object-fit: cover; }
.uoa-card-body { padding: 22px 24px 26px; }
.uoa-card h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.2; color: var(--navy); }
.uoa-card h2 a { color: inherit; text-decoration: none; }
.uoa-card p { margin: 0 0 14px; font-size: 16px; }
.card-kicker { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #1d4ed8; }
.text-link { color: var(--navy); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.uoa-card.navy { background: var(--navy); color: #fff; }
.uoa-card.navy h2, .uoa-card.navy h2 a, .uoa-card.navy .text-link, .uoa-card.navy p { color: #fff; }
.uoa-card.blue { background: #1d4ed8; color: #fff; }
.uoa-card.blue h2, .uoa-card.blue h2 a, .uoa-card.blue .text-link, .uoa-card.blue p { color: #fff; }
.uoa-card.soft { background: #eef3fb; }
.card-links { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.card-links a { color: inherit; font-weight: 600; }
.feature .uoa-card { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 280px; }
.feature .uoa-card img { height: 100%; min-height: 280px; }
.feature .uoa-card-body { display: flex; flex-direction: column; justify-content: center; padding: 36px; }

.page-hero {
  background: linear-gradient(120deg, #0c0c48, #1d4ed8);
  color: #fff; padding: 54px 0 42px;
}
.page-hero h1 { margin: 8px 0 8px; font-size: 44px; letter-spacing: -0.03em; }
.crumbs { font-size: 13px; opacity: .85; }
.crumbs a { color: #fff; }
.page { padding: 36px 0 70px; }
.layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; }
.side {
  background: var(--grey); border-radius: 16px; padding: 8px;
  position: sticky; top: 130px; align-self: start;
}
.side a {
  display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 600;
}
.side a.active, .side a:hover { background: #fff; }
.content { display: grid; gap: 16px; }
.content h2 { color: var(--navy); margin-top: 0; font-size: 26px; }
.page-hero .lead { max-width: 720px; color: rgba(255,255,255,.92); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.panel {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 8px; background: #fff;
}
.panel h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.panel ul { margin: 0 0 12px; padding-left: 18px; }
.panel a { color: var(--navy); }
.lead { font-size: 18px; color: #333; }

.search-page input[type="search"] {
  width: 100%; border: 1px solid #ccc; border-radius: 999px; padding: 14px 18px; font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-page input[type="search"]:focus,
.search-page input[type="search"].is-focused {
  outline: none; border-color: #1d4ed8; box-shadow: none;
}
.search-page input[type="search"].placeholder-off::placeholder { color: transparent; }
.result { padding: 16px 0; border-bottom: 1px solid var(--line); }
.result a { color: var(--navy); font-weight: 700; font-size: 18px; }

@media (max-width: 1280px) and (min-width: 1081px) {
  .header-inner { padding: 12px 20px 8px; gap: 18px; }
  .nav-row { gap: 6px 16px; }
  .nav-btn .mi, .nav-link .mi { font-size: 12px; }
  .nav-btn .en, .nav-link .en { font-size: 14px; }
  .search { min-width: 180px; }
}

@media (max-width: 1080px) {
  .utility-bar {
    display: flex; align-items: center; justify-content: space-between;
    text-align: left; padding: 8px 12px; min-height: 48px;
  }
  .utility-long { display: none; }
  .apply-pill {
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid #fff; border-radius: 999px; color: #fff;
    padding: 7px 16px; font-size: 14px; font-weight: 500; line-height: 1;
  }
  .utility-account {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    border: 0; background: #fff; color: var(--navy); cursor: pointer; padding: 0;
  }
  .header-inner {
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px 8px;
    min-height: 72px;
    position: relative;
  }
  .brand { position: absolute; left: 50%; transform: translateX(-50%); }
  .menu-toggle, .search-toggle { display: flex; flex-direction: column; position: relative; z-index: 2; }
  .search-toggle { margin-left: auto; }
  .main-nav { display: none; }
  .search { display: none; }
  .signin { display: none; }
  .mobile-search {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0;
    top: var(--search-top, 120px);
    z-index: 70;
    background: #f2f2f2;
    transform: translateY(-110%);
    transition: transform .4s ease;
    overflow: auto;
  }
  .mobile-search.is-open { transform: translateY(0); }
  .mobile-search[hidden] { display: none !important; }
  .mobile-search-form {
    position: relative;
    padding: 28px 18px 40px;
    background: #f2f2f2;
  }
  .mobile-search-form h2 {
    margin: 0 0 18px;
    text-align: center;
    color: var(--navy);
    font-size: 28px;
    font-weight: 700;
  }
  .mobile-search-field {
    position: relative;
    display: flex;
    align-items: center;
  }
  .mobile-search-form input {
    width: 100%;
    height: 52px;
    border-width: 1px;
    border-style: solid;
    border-color: #1f2bd4;
    border-radius: 999px;
    background: #fff;
    padding: 0 58px 0 22px;
    font-size: 16px;
    color: var(--navy);
    outline: none;
    box-shadow: none;
  }
  .mobile-search-field button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    margin: 0;
    border: 0; border-radius: 50%;
    background: #1d4ed8; color: #fff;
    display: grid; place-items: center; cursor: pointer;
    appearance: none; -webkit-appearance: none; padding: 0;
    line-height: 0;
  }
  .mobile-search-field button svg { display: block; }
  .mobile-search-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
  .mobile-menu {
    display: block;
    position: fixed; inset: 0; z-index: 80;
    background: #fff; overflow: auto;
    transform: translateX(-100%); opacity: .6;
    transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), opacity .3s ease;
    will-change: transform;
  }
  .mobile-menu.is-open { transform: translateX(0); opacity: 1; }
  .mobile-menu[hidden] { display: none !important; }
  .mobile-menu.is-open .m-row { animation: m-row-in .45s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .mobile-menu.is-open .m-row:nth-child(2) { animation-delay: .05s; }
  .mobile-menu.is-open .m-row:nth-child(3) { animation-delay: .1s; }
  .mobile-menu.is-open .m-row:nth-child(4) { animation-delay: .15s; }
  .mobile-menu.is-open .m-row:nth-child(5) { animation-delay: .2s; }
  .mobile-menu.is-open .m-row:nth-child(n+6) { animation-delay: .25s; }
  @keyframes m-row-in { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) {
    .mobile-menu, .mobile-menu.is-open .m-row { transition: none; animation: none; }
  }
  .mobile-menu-head {
    background: var(--navy); color: #fff;
    min-height: 72px; padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .mobile-menu-head strong { font-size: 28px; font-weight: 500; }
  .mobile-menu-head button {
    border: 0; background: transparent; color: #fff; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 0;
    font-size: 28px; line-height: .8; font-family: inherit; min-width: 52px;
  }
  .mobile-menu-head button span {
    font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.2;
  }
  .m-row {
    width: 100%; border: 0; border-bottom: 1px solid #e4e4e8;
    background: #fff; color: var(--navy); text-align: left;
    padding: 14px 42px 14px 18px; position: relative; cursor: pointer;
    font-family: inherit; display: block; text-decoration: none;
  }
  .m-row.audience { background: #f3f3f5; }
  .m-row .mi { display: block; font-size: 15px; font-weight: 400; line-height: 1.25; }
  .m-row .en { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; }
  .m-row:after {
    content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    font-size: 26px; font-weight: 400; color: var(--navy);
  }
  .m-row.direct-link:after { content: none; }
  .m-sub { background: #fff; border-bottom: 1px solid #e4e4e8; padding: 8px 18px 16px 28px; }
  .m-sub a { display: block; color: var(--navy); text-decoration: none; padding: 8px 0; font-size: 16px; }
  .m-sub h3 { margin: 12px 0 4px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #666; }
  .m-sub-group h4 { margin: 12px 0 2px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #777; }
  .m-sub-group h4 a { display: inline; padding: 0; font-size: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
  body.menu-open { overflow: hidden; }
  .hero { display: block; min-height: 0; position: relative; }
  .hero-img { height: 250px; width: 100%; object-fit: cover; display: block; }
  .hero-card {
    width: auto; margin: -36px 0 0; border-radius: 36px 0 36px 0;
    padding: 28px 22px 34px; position: relative; z-index: 1;
  }
  .hero-card h1 { font-size: 32px; }
  .feature-grid, .feature-grid.reverse, .help-grid, .footer-grid, .layout,
  .module-row.split, .module-row.thirds, .feature .uoa-card {
    display: block;
  }
  .feature-grid > *, .feature-grid.reverse > *, .help-grid > *, .footer-grid > * { margin-bottom: 22px; }
  .card-row.three, .card-row.four {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  }
  .card-row.three > *, .card-row.four > * { flex: 0 0 250px; width: 250px; scroll-snap-align: start; }
  .rank-banner { display: block; padding: 28px 16px; }
  .rank-slot { width: min(100%, 560px); margin: 0; }
  .programme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner-hero, .banner-shade { min-height: 340px; }
  .banner-copy h1 { font-size: 40px; }
  .banner-copy p { font-size: 18px; }
  .mega-cols { grid-template-columns: 1fr 1fr; }
  .mega-inner { padding: 22px 20px 28px; }
  .section-title { font-size: 28px; }
  .side { position: static; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .band { padding: 40px 0 16px; }
  .discover-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .utility-bar { font-size: 12px; }
  .brand-text { font-size: 11px; }
  .crest { width: 42px; height: 48px; }
  .card-row.three, .card-row.four { display: grid; grid-template-columns: 1fr; overflow: visible; }
  .card-row.three > *, .card-row.four > * { width: 100%; flex: none; }
  .discover-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .discover-gallery-item { min-height: 220px; }
  .gallery-lightbox-close { top: 10px; right: 10px; }
  .programme-intro { display: block; margin-bottom: 22px; }
  .programme-intro a { display: inline-block; margin-top: 14px; }
  .programme-grid, .curriculum-strip { grid-template-columns: 1fr; }
  .programme-card { min-height: 0; }
  .mega-cols, .panel-grid { grid-template-columns: 1fr; }
  .footer-grid { display: grid; grid-template-columns: 1fr; }
  .hero-card h1, .page-hero h1, .banner-copy h1 { font-size: 30px; }
  .hero-card p, .banner-copy p, .lead { font-size: 16px; }
  .banner-hero, .banner-shade { min-height: 280px; }
  .section-title { font-size: 26px; }
  .uoa-card h2 { font-size: 24px; }
  .feature .uoa-card-body { padding: 22px; }
  .legal { text-align: left; }
  .assistant { right: 12px; bottom: 12px; width: 52px; height: 52px; }
  .signin-panel { padding: 70px 12px; place-items: start stretch; }
  .education-units { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .education-level { margin-bottom: 5px; }
  .education-news-head { align-items: flex-start; flex-direction: column; gap: 0; }
  .education-news-head .section-title { margin-bottom: 8px; }
  .education-view-all { margin-bottom: 20px; }
  .agenda-section-head { align-items: flex-start; flex-direction: column; gap: 0; }
  .agenda-section-head .section-title { margin-bottom: 8px; }
  .agenda-view-all { margin-bottom: 20px; }
}

/* Yayasan palette: green provides the stable visual foundation; gold is reserved for small actions and active states. */
:root {
  --navy: #0e7143;
  --navy-2: #075634;
  --ink: #083d28;
  --text: #454b46;
  --muted: #5c665f;
  --line: #dfe8e1;
  --grey: #f4f7f3;
  --blue: #f0ab00;
  --shadow: 0 10px 30px rgba(8, 61, 40, 0.1);
}

.search button,
.ask-form button {
  color: var(--ink);
}

.ask-head {
  background: var(--navy);
}

.feature-lead {
  background: linear-gradient(110deg, #0e7143, #075634 58%, #083d28);
}

.globe-card {
  background: radial-gradient(circle at 30% 30%, #55a976, #0e7143 55%, #083d28);
}

.card-kicker {
  color: #9a6900;
}

.uoa-card.blue {
  background: #f0ab00;
  color: var(--ink);
}

.banner-hero {
  background: linear-gradient(120deg, #083d28, #0e7143);
}

/* Keep hero copy readable over image and gradient banners on every public page. */
.banner-hero,
.banner-hero .banner-shade,
.banner-hero .banner-copy,
.banner-hero .banner-copy h1,
.banner-hero .banner-copy p,
.banner-hero .banner-copy a {
  color: #fff !important;
}

.mobile-search-form input {
  border-color: var(--navy);
}

.mobile-search-field button {
  background: #f0ab00;
  color: var(--ink);
}

.education-news-slider { display: grid; grid-column: 2 / 4; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.feature-grid > .slider-shell { grid-column: 2 / 4; }

@media (max-width: 700px) {
  body { overflow-x: hidden; }

  .site-footer { padding-top: 28px; }
  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }
  .footer-grid > .brand { position: static; margin: 0; transform: none; }
  .footer-grid > div { width: 100%; }
  .site-footer .legal { display: block; }
  .site-footer .footer-nav-column,
  .site-footer .footer-contact,
  .site-footer .legal { display: none; }
  .footer-grid > div:last-child h2 { display: block; }
  .footer-brand { justify-content: center; text-align: left; }
  .footer-contact { text-align: left; }
  .footer-grid .socials { justify-content: center; }
  .footer-brand small { display: none; }

  .feature-grid > .feature-lead { margin-bottom: 22px; }
  .feature-grid > .slider-shell { grid-column: auto; }
  .slider-shell { position: relative; min-width: 0; }
  .education-news-slider {
    display: flex;
    grid-column: auto;
    gap: 16px;
    overflow-x: auto;
    padding: 0 0 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .education-news-slider::-webkit-scrollbar { display: none; }
  .education-news-slider .feature-plain { flex: 0 0 100%; scroll-snap-align: start; }

  .card-row.three[data-mobile-slider],
  .card-row.four[data-mobile-slider] {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 0 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .card-row.three[data-mobile-slider]::-webkit-scrollbar,
  .card-row.four[data-mobile-slider]::-webkit-scrollbar { display: none; }
  .card-row.three[data-mobile-slider] > *,
  .card-row.four[data-mobile-slider] > * { flex: 0 0 100%; width: auto; scroll-snap-align: start; }

  .discover-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 0 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .discover-gallery::-webkit-scrollbar { display: none; }
  .discover-gallery-item { flex: 0 0 100%; min-height: 250px; scroll-snap-align: start; }

  .slider-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(8, 61, 40, .42);
    color: #fff;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
    place-items: center;
    transform: translateY(-50%);
    transition: background .2s ease, opacity .2s ease;
  }
  .slider-control:hover,
  .slider-control:focus-visible { background: rgba(8, 61, 40, .78); outline: none; }
  .slider-control.previous { left: 8px; }
  .slider-control.next { right: 8px; animation: slider-hint-breathe 1.8s ease-in-out infinite; }
  .slider-control[hidden] { display: none; }
  @keyframes slider-hint-breathe {
    0%, 100% { opacity: .48; }
    50% { opacity: .9; }
  }

  .programme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .programme-card {
    aspect-ratio: 1;
    min-height: 0;
    padding: 18px 14px;
    border: 1px solid #dce9df;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
  }
  .programme-icon { width: 56px; height: 56px; margin-bottom: 14px; font-size: 28px; }
  .programme-card h3 { margin: 0; font-size: 17px; }
  .programme-card p { display: none; margin-top: 12px; font-size: 14px; }
  .programme-card.is-expanded { grid-column: span 2; aspect-ratio: auto; min-height: 0; background: #f8fbf8; }
  .programme-card.is-expanded p { display: block; }
  .programme-card:focus-visible { outline: 3px solid #f0ab00; outline-offset: 2px; }

  .education-detail {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 10px;
    padding: 0;
    background: transparent;
    color: var(--text);
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    font-size: 14px;
  }
  .education-detail::before { display: none; }
  .education-unit:last-child .education-detail { right: auto; left: auto; }
}

/* Keep the gold action label legible inside green feature cards. */
.feature-body.navy .btn.light {
  color: #f0ab00;
}

.site-footer {
  background: #0e7143;
}

.socials a {
  color: #0e7143;
}

.motif {
  background:
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(240, 171, 0, .72) 28px 30px),
    repeating-linear-gradient(180deg, #075634 0 10px, #0e7143 10px 18px);
  opacity: 1;
}

.about-page { padding-top: 72px; padding-bottom: 72px; }
.about-intro { max-width: 850px; margin: 0 auto 64px; text-align: center; }
.about-eyebrow { margin: 0 0 12px; color: #9a6900; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.about-intro h2, .about-paths h2 { margin: 0; color: var(--ink); font-size: 42px; line-height: 1.15; }
.about-lead { max-width: 720px; margin: 22px auto 0; font-size: 19px; line-height: 1.75; }
.about-passages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; max-width: 980px; margin: 0 auto 64px; }
.about-passages h3 { margin: 0 0 12px; color: var(--ink); font-size: 25px; }
.about-passages p { margin: 0; line-height: 1.8; }
.about-gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 220px 220px; gap: 16px; margin-bottom: 72px; }
.about-gallery-item { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 8px; background: var(--ink); }
.about-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.about-gallery-item:hover img { transform: scale(1.04); }
.gallery-item-1 { grid-row: 1 / 3; }
.about-gallery-item::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8, 61, 40, .9)); content: ""; }
.about-gallery-item figcaption { position: absolute; right: 18px; bottom: 16px; left: 18px; z-index: 1; color: #fff; font-size: 15px; font-weight: 600; }
.about-paths { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: end; border-top: 1px solid var(--line); padding-top: 40px; }
.about-paths ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); }
.about-paths a { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 16px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.about-paths a:hover { background: #f4f7f3; }

@media (max-width: 700px) {
  .about-page { padding-top: 40px; padding-bottom: 48px; }
  .about-intro { margin-bottom: 40px; text-align: left; }
  .about-intro h2, .about-paths h2 { font-size: 30px; }
  .about-lead { font-size: 17px; }
  .about-passages { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .about-gallery { grid-template-columns: 1fr; grid-template-rows: 250px 180px 180px; margin-bottom: 48px; }
  .gallery-item-1 { grid-row: auto; }
  .about-paths { grid-template-columns: 1fr; gap: 28px; }
  .about-paths ul { grid-template-columns: 1fr; }
}

/* Profil Yayasan: visi/misi/nilai, struktur organisasi, unit sekolah, dan CTA */
.about-section { padding: 56px 0; }
.about-section.grey { background: var(--grey); }
.about-section-head { max-width: 720px; margin-bottom: 32px; }
.about-section-head h2 { margin: 0 0 12px; color: var(--ink); font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.about-section-head > p:last-child { margin: 0; font-size: 17px; line-height: 1.65; }

.vmv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vmv-card { padding: 28px 24px; border: 1px solid #dce9df; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(8, 61, 40, .05); }
.vmv-icon { display: grid; width: 52px; height: 52px; margin-bottom: 18px; border: 1px solid #d7e8dc; border-radius: 50%; background: #f2f8f3; color: var(--navy); font-size: 24px; place-items: center; }
.vmv-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 22px; line-height: 1.25; }
.vmv-card p { margin: 0; line-height: 1.7; }
.vmv-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vmv-list li { display: flex; gap: 10px; line-height: 1.55; }
.vmv-list li::before { flex: none; color: #9a6900; font-weight: 700; content: "✓"; }
.vmv-list.values li::before { content: "✦"; }

/* Struktur organisasi: pohon ul/li, garis penghubung murni CSS.
   Mobile/tablet = daftar berindentasi; >=1280px = pohon horizontal. */
.org-chart { --org-col: 184px; --org-gap: 6px; --org-card: calc(var(--org-col) - 2 * var(--org-gap)); --org-drop: 22px; --org-line: #8fbfa3; --org-gold: #9a6900; }
.org-tree-wrap { overflow-x: auto; padding: 4px 0 8px; }
.org-tree { max-width: 640px; margin: 0 auto; }
.org-tree ul { position: relative; margin: 0; padding: 0; list-style: none; }
.org-tree li { position: relative; }
.org-card { position: relative; box-sizing: border-box; padding: 10px 14px; border: 1px solid #dce9df; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(8, 61, 40, .06); color: var(--ink); text-align: left; }
.org-title { display: block; color: var(--ink); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; }
.org-badge { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: #fbf3dc; color: var(--org-gold); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.org-group { margin-top: 8px; }
.org-role { display: block; color: var(--org-gold); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.org-name { display: block; color: var(--text); font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.org-coord { display: block; margin-top: 8px; color: var(--org-gold); font-size: 10.5px; font-style: italic; font-weight: 600; }
.org-card--root { border-color: var(--navy); background: var(--navy); text-align: center; }
.org-card--root .org-title, .org-card--root .org-name { color: #fff; }
.org-card--root .org-role { color: #f6d98b; }
.org-card--lead { border: 2px solid var(--navy); background: #eaf5ee; }
.org-card--group { background: var(--grey); box-shadow: none; text-align: center; }
.org-card--adhoc { border: 2px dashed var(--org-gold); background: #fffaf0; }
.org-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.org-legend span { display: inline-flex; align-items: center; gap: 8px; }
.org-legend i { width: 28px; border-top: 2px solid var(--org-line); }
.org-legend i.dashed { border-top: 2px dashed var(--org-gold); }

@media (max-width: 1279.98px) {
  .org-tree ul ul { margin-left: 10px; padding-left: 16px; }
  .org-tree ul ul > li { padding-top: 12px; }
  .org-tree ul ul > li::before { content: ""; position: absolute; top: 32px; left: -16px; width: 16px; border-top: 2px solid var(--org-line); }
  .org-tree ul ul > li::after { content: ""; position: absolute; top: 0; bottom: 0; left: -16px; border-left: 2px solid var(--org-line); }
  .org-tree ul ul > li:last-child::after { bottom: auto; height: 34px; }
}

@media (min-width: 1280px) {
  .org-tree { width: max-content; max-width: none; }
  .org-tree ul { display: flex; align-items: flex-start; justify-content: center; padding-top: var(--org-drop); }
  .org-tree > ul { padding-top: 0; }
  .org-tree li { display: flex; flex-direction: column; align-items: center; box-sizing: border-box; min-width: var(--org-col); padding: var(--org-drop) var(--org-gap) 0; }
  .org-tree > ul > li { min-width: 0; padding: 0; }
  .org-card { width: var(--org-card); }
  .org-coord-extra { display: none; }

  .org-tree li::before, .org-tree li::after { content: ""; position: absolute; top: 0; right: 50%; width: 50%; height: var(--org-drop); border-top: 2px solid var(--org-line); }
  .org-tree li::after { right: auto; left: 50%; border-left: 2px solid var(--org-line); }
  .org-tree li:first-child::before, .org-tree li:last-child::after { border: 0; }
  .org-tree li:last-child::before { border-right: 2px solid var(--org-line); border-radius: 0 8px 0 0; }
  .org-tree li:first-child::after { border-radius: 8px 0 0 0; }
  .org-tree li:only-child::before { display: none; }
  .org-tree li:only-child::after { width: 0; border-top: 0; border-radius: 0; border-left: 2px solid var(--org-line); }
  .org-tree > ul > li::before, .org-tree > ul > li::after { display: none; }
  .org-tree li > ul::before { content: ""; position: absolute; top: 0; left: 50%; height: var(--org-drop); border-left: 2px solid var(--org-line); }

  /* Anak Bidang-Bidang ditumpuk vertikal agar lebar pohon tetap muat di container. */
  .org-tree .org-stack { display: block; box-sizing: border-box; width: var(--org-card); margin-left: 0; padding: 0 0 0 26px; }
  .org-tree .org-stack::before { display: none; }
  .org-tree .org-stack > li { display: block; min-width: 0; padding: 12px 0 0; }
  .org-tree .org-stack > li::before { display: block; top: 32px; right: auto; left: -16px; width: 16px; height: 0; border: 0; border-top: 2px solid var(--org-line); border-radius: 0; }
  .org-tree .org-stack > li::after { top: 0; bottom: 0; right: auto; left: -16px; width: 0; height: auto; border: 0; border-left: 2px solid var(--org-line); border-radius: 0; }
  .org-tree .org-stack > li:last-child::after { bottom: auto; height: 34px; }
  .org-tree .org-stack .org-card { width: auto; }

  /* Garis putus-putus TPM -> Pengurus Harian; panjang = jarak antar kartu (col + 4 * gap), ikut berubah bila lebar kolom diubah. */
  .org-card--adhoc::after { content: ""; position: absolute; top: 20px; left: 100%; width: calc(var(--org-col) + 4 * var(--org-gap)); border-top: 2px dashed var(--org-gold); }
  .org-card--adhoc .org-coord { position: absolute; top: 2px; left: 100%; width: calc(var(--org-col) + 4 * var(--org-gap)); margin: 0; font-size: 10px; line-height: 16px; text-align: center; }
}

.unit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.unit-card { display: flex; flex-direction: column; padding: 22px 18px; border: 1px solid #dce9df; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(8, 61, 40, .05); }
.unit-level { display: inline-block; align-self: flex-start; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: #fbf3dc; color: #9a6900; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.unit-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 17px; line-height: 1.3; }
.unit-card p { flex: 1; margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.unit-card .text-link { font-size: 14px; }

.about-cta { margin: 56px 0; padding: 48px 32px; border-radius: 16px; background: linear-gradient(110deg, #0e7143, #075634 60%, #083d28); color: #fff; text-align: center; }
.about-cta h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.25; letter-spacing: -.02em; }
.about-cta p { max-width: 640px; margin: 0 auto 24px; font-size: 17px; line-height: 1.6; }
.btn.outline { border: 2px solid #fff; background: transparent; color: #fff; }
.about-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

@media (max-width: 1080px) {
  .unit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .about-section { padding: 40px 0; }
  .about-section-head { margin-bottom: 24px; }
  .about-section-head h2 { font-size: 24px; }
  .vmv-grid { grid-template-columns: 1fr; gap: 14px; }
  .vmv-card { padding: 22px 18px; }
  .unit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .about-cta { margin: 40px 0; padding: 32px 20px; }
  .about-cta h2 { font-size: 24px; }
  .about-cta-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 700px) {
  .unit-grid[data-mobile-slider] {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .unit-grid[data-mobile-slider]::-webkit-scrollbar { display: none; }
  .unit-grid[data-mobile-slider] > .unit-card {
    flex: 0 0 88%;
    width: auto;
    scroll-snap-align: start;
  }
  .unit-address { flex: none !important; font-size: 12px !important; color: #5d6b62; }
}
