/* ==========================================================
   SMK SILBER · Design system v4 "Resmi & Modern"
   Navy dan oranye dari logo; oranye hanya untuk aksi penting.
   Latar terang, banyak ruang, foto tanpa overlay gelap.
   ========================================================== */
:root {
  --navy: #0A1A4F;  --navy-deep: #06134A;  --navy-2: #1A2E80;
  --orange: #FF4F01; --orange-ink: #C23B00; --orange-soft: #FFF0E8;
  --sky-soft: #EEF2FF;
  --paper: #F6F7FB; --surface: #FFFFFF;
  --ink: #0E1733; --ink-2: #3B4563; --muted: #5E6886; --line: #E3E7F0;
  --ok: #0F7B3F; --ok-soft: #E6F6EC; --bad: #B42318; --bad-soft: #FDECEA; --warn: #9A5B00; --warn-soft: #FFF4DB;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(10,26,79,.05), 0 6px 18px -10px rgba(10,26,79,.18);
  --sh-2: 0 2px 6px rgba(10,26,79,.06), 0 18px 40px -20px rgba(10,26,79,.35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Anton', Impact, sans-serif;
  --font-script: 'Allura', 'Brush Script MT', cursive;
  --bs-body-font-family: var(--font); --bs-body-color: var(--ink); --bs-body-bg: var(--paper);
  --bs-link-color-rgb: 10, 26, 79;
}
[data-theme="dark"] {
  --navy: #9DB2FF; --navy-2: #7C93F0;
  --orange: #FF6A26; --orange-ink: #FF9366; --orange-soft: #3A1D10;
  --sky-soft: #18234A;
  --paper: #0A0F1F; --surface: #121A33;
  --ink: #E9EDF7; --ink-2: #C3CAE0; --muted: #929CBB; --line: #243052;
  --ok-soft: #0F2F1E; --bad-soft: #3A1512; --warn-soft: #33260A; --ok: #6FD49A; --bad: #FF938A; --warn: #F2C063;
  --sh-1: 0 1px 2px rgba(0,0,0,.4); --sh-2: 0 18px 40px -20px rgba(0,0,0,.7);
  --bs-body-color: var(--ink); --bs-body-bg: var(--paper); --bs-link-color-rgb: 157, 178, 255;
}

/* ---------- Dasar ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 800; letter-spacing: -0.022em; line-height: 1.2; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }
main, .site-footer { overflow-x: clip; }
.text-muted-2 { color: var(--muted) !important; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 3000; background: var(--navy-deep); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Tombol ---------- */
.btn { font-weight: 700; border-radius: 12px; padding: .72rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .1rem; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn-sm { padding: .45rem .9rem; font-size: .88rem; border-radius: 10px; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1.02rem; }
.btn-orange, .btn-gold, .btn-lime { background: var(--orange); color: #fff; border: 1px solid var(--orange); box-shadow: 0 8px 20px -10px rgba(255,79,1,.8); }
.btn-orange:hover, .btn-gold:hover, .btn-lime:hover { background: #E24400; border-color: #E24400; color: #fff; }
.btn-navy, .btn-brand { background: #0A1A4F; color: #fff; border: 1px solid #0A1A4F; }
.btn-navy:hover, .btn-brand:hover { background: #1A2E80; border-color: #1A2E80; color: #fff; }
[data-theme="dark"] .btn-navy, [data-theme="dark"] .btn-brand { background: #2B3F95; border-color: #2B3F95; }
.btn-line, .btn-outline-navy { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover, .btn-outline-navy:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: #fff; color: #0A1A4F; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font-size: 1.15rem; }
.icon-btn:hover { background: var(--sky-soft); }

/* ---------- Bilah utilitas + header ---------- */
.utility { background: #06134A; color: #C9D2F2; font-size: .83rem; }
.utility .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 1.25rem; }
.utility a, .utility span { color: #C9D2F2; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.utility a:hover { color: #fff; }
.utility-theme { background: none; border: 0; color: #C9D2F2; padding: 0 .2rem; }
.site-header { position: sticky; top: 0; z-index: 1030; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: var(--sh-1); }
.header-bar { display: flex; align-items: center; gap: 1rem; min-height: 76px; transition: min-height .2s; }
.site-header.is-scrolled .header-bar { min-height: 64px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { color: var(--muted); font-size: .78rem; font-weight: 500; }
@media (max-width: 575.98px) { .brand-text strong { font-size: .9rem; } .brand-text small { display: none; } }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.nav-a { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .85rem; border-radius: 10px; color: var(--ink-2); font-weight: 600; text-decoration: none; background: none; border: 0; font-size: .95rem; }
.nav-a i { font-size: .7rem; transition: transform .2s; }
.nav-a:hover, .nav-a[aria-expanded="true"] { background: var(--sky-soft); color: var(--ink); }
.nav-a[aria-expanded="true"] i { transform: rotate(180deg); }
.nav-a.is-active { color: var(--ink); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 10px 10px 4px 4px; }
.mega { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-2); padding: .5rem; min-width: 360px; margin-top: .6rem !important; }
.mega-item { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega-item i { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-size: 1.05rem; }
.mega-item strong { display: block; font-size: .95rem; }
.mega-item small { color: var(--muted); font-size: .82rem; }
.mega-item:hover, .mega-item.is-active { background: var(--paper); color: var(--ink); }
.mega-item:hover i, .mega-item.is-active i { background: var(--orange); color: #fff; }
.header-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: .5rem; }
.nav-search { border-top: 1px solid var(--line); }
.menu-hp { background: var(--surface); color: var(--ink); max-width: 88vw; }
.hp-list, .hp-list ul { list-style: none; padding: 0; margin: 0; }
.hp-list > li { border-bottom: 1px solid var(--line); }
.hp-list a, .hp-list button { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; padding: .9rem .25rem; color: var(--ink); font-weight: 700; text-decoration: none; background: none; border: 0; text-align: left; }
.hp-list button[aria-expanded="true"] i { transform: rotate(180deg); }
.hp-list ul a { justify-content: flex-start; font-weight: 600; color: var(--ink-2); padding: .6rem .5rem .6rem .75rem; }
.hp-list ul a i { color: var(--orange-ink); }
.hp-list a.is-active { color: var(--orange-ink); }

/* ---------- Kolom pencarian ---------- */
.search-field { display: flex; align-items: center; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .3rem .3rem .3rem 1rem; }
.search-field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px var(--sky-soft); }
.search-field > i { color: var(--muted); }
.search-field input, .search-field select { flex: 1; border: 0; background: transparent; color: var(--ink); outline: none; min-width: 0; padding: .5rem 0; }
.search-field .btn { padding: .55rem 1.1rem; }

/* ---------- Section ---------- */
.sec { padding: 88px 0; }
.sec-tight { padding: 56px 0; }
.sec-surface { background: var(--surface); }
.sec-navy { background: #0A1A4F; color: #C9D2F2; }
[data-theme="dark"] .sec-navy { background: #070D24; }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-head { max-width: 680px; margin-bottom: 2.25rem; }
.sec-kicker { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; color: var(--orange-ink); margin-bottom: .6rem; }
.sec-kicker::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: var(--orange); }
.sec-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: .6rem; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.sec-navy .sec-head p { color: #A9B4DB; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.sec-head-row .sec-head { margin-bottom: 0; }
.more-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; color: var(--navy); }
.more-link:hover { color: var(--orange-ink); gap: .55rem; }

/* ==========================================================
   HERO BERANDA: foto bersih, tanpa overlay
   ========================================================== */
.hero { padding: 56px 0 0; background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; align-items: center; }
@media (max-width: 991.98px) { .hero-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; } }
.hero-badge { display: inline-flex; align-items: center; gap: .55rem; background: var(--orange-soft); color: var(--orange-ink); border-radius: 999px; padding: .35rem .85rem .35rem .4rem; font-weight: 700; font-size: .88rem; margin-bottom: 1.25rem; }
.hero-badge i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: .8rem; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.3vw, 4rem); line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 1.1rem; }
.hero-script { font-family: var(--font-script); color: var(--orange); font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1; display: block; margin-bottom: .25rem; font-weight: 400; letter-spacing: 0; }
.hero-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 575.98px) { .hero-cta .btn { flex: 1 1 100%; } }
.hero-photo { position: relative; }
.hero-photo .frame { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--sky-soft); box-shadow: var(--sh-2); position: relative; z-index: 1; }
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::before { content: ''; position: absolute; right: -14px; top: -14px; width: 42%; height: 46%; border-radius: 28px; background: var(--orange); transform: rotate(-6deg); }
.hero-photo::after { content: ''; position: absolute; left: -18px; bottom: -18px; width: 36%; height: 30%; border-radius: 24px; background: repeating-linear-gradient(-45deg, var(--line) 0 2px, transparent 2px 10px); }
.hero-card { position: absolute; z-index: 2; left: -28px; bottom: 28px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-2); padding: .9rem 1.1rem; display: flex; gap: .8rem; align-items: center; max-width: 280px; }
.hero-card img { width: 44px; height: 44px; object-fit: contain; }
.hero-card strong { display: block; font-size: .95rem; }
.hero-card small { color: var(--muted); font-size: .82rem; line-height: 1.3; display: block; }
@media (max-width: 991.98px) { .hero-card { left: 12px; } .hero-photo::after { left: -6px; } .hero-photo::before { right: -6px; } }

/* Akses cepat: rail yang menumpang di bawah hero */
.quick { position: relative; z-index: 3; margin-top: 56px; }
.quick-rail { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; }
@media (max-width: 991.98px) { .quick-rail { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .quick-rail { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.quick-item { display: flex; flex-direction: column; gap: .55rem; padding: 1.3rem 1.2rem; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; transition: background .15s; }
.quick-item i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-size: 1.2rem; transition: background .15s, color .15s; }
.quick-item strong { font-size: .98rem; line-height: 1.25; }
.quick-item small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.quick-item:hover { background: var(--paper); color: var(--ink); }
.quick-item:hover i { background: var(--navy-deep); color: #fff; }
.quick-item.is-primary i { background: var(--orange); color: #fff; }

/* ---------- Statistik ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 767.98px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1.4rem; }
.stat b { display: block; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .92rem; }
.stat i { color: var(--orange); font-size: 1.3rem; display: block; margin-bottom: .6rem; }
.sec-navy .stat, .page-hero .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.sec-navy .stat b, .page-hero .stat b { color: #fff; }
.sec-navy .stat span, .page-hero .stat span { color: #B7C1E6; }

/* ---------- Sambutan kepala sekolah ---------- */
.sambutan { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 3.5rem; align-items: start; }
@media (max-width: 991.98px) { .sambutan { grid-template-columns: minmax(0,1fr); gap: 2rem; } }
.kepsek-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--sky-soft), var(--line)); display: grid; place-items: center; }
.kepsek-photo img { width: 100%; height: 100%; object-fit: cover; }
.kepsek-photo .ph { font-size: 5rem; color: var(--muted); }
.kepsek-name { margin-top: 1rem; }
.kepsek-name strong { display: block; font-size: 1.05rem; }
.kepsek-name span { color: var(--muted); font-size: .9rem; }
.sambutan-text { font-size: 1.08rem; color: var(--ink-2); line-height: 1.85; }
.sambutan-text p { margin-bottom: 1rem; }
.sambutan-text .quote-mark { font-size: 4rem; line-height: .6; color: var(--orange); font-family: Georgia, serif; display: block; margin-bottom: .5rem; }
.signature { font-family: var(--font-script); font-size: 2.4rem; color: var(--navy); line-height: 1; margin-top: .5rem; }
.sambutan-text.is-clamped { max-height: 16.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

/* ---------- Panel umum ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; }
.panel h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.panel > p { color: var(--muted); }
@media (max-width: 575.98px) { .panel { padding: 1.3rem; } .sec { padding: 64px 0; } }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.panel-head h3, .panel-head h2 { margin: 0; font-size: 1.2rem; }
.qr-panel { background: #0A1A4F; border-color: #0A1A4F; color: #C9D2F2; position: relative; overflow: hidden; }
[data-theme="dark"] .qr-panel { background: #16225A; }
.qr-panel h3 { color: #fff; }
.qr-panel > p { color: #A9B4DB; }
.qr-panel .search-field { border-color: transparent; background: #fff; }
.qr-panel .search-field input { color: #0E1733; }
.qr-deco { position: absolute; right: -20px; top: -20px; font-size: 9rem; color: rgba(255,255,255,.05); line-height: 1; pointer-events: none; }
.qr-result:not(:empty) { margin-top: 1rem; background: #fff; color: #0E1733; border-radius: var(--r-md); padding: 1rem; text-align: center; }
.qr-result img { max-width: 200px; }
.qr-tips { list-style: none; padding: 1rem 0 0; margin: 1rem 0 0; display: grid; gap: .4rem; color: #A9B4DB; font-size: .88rem; border-top: 1px solid rgba(255,255,255,.12); }
.qr-tips li { display: flex; gap: .5rem; } .qr-tips i { color: var(--orange); }

/* ---------- Agenda & pengumuman (widget) ---------- */
.agenda-list, .info-list { list-style: none; margin: 0; padding: 0; }
.agenda-list li, .info-list li { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--line); align-items: start; }
.agenda-list li:first-child, .info-list li:first-child { border-top: 0; padding-top: 0; }
.date-badge { border: 1px solid var(--line); border-radius: 12px; text-align: center; padding: .4rem .2rem; line-height: 1.1; background: var(--surface); }
.date-badge b { display: block; font-size: 1.45rem; font-weight: 800; color: var(--navy); }
.date-badge small { font-size: .72rem; color: var(--muted); font-weight: 600; }
.agenda-list strong, .info-list a { font-weight: 700; color: var(--ink); text-decoration: none; display: block; line-height: 1.35; }
.info-list a:hover { color: var(--orange-ink); }
.agenda-list .meta, .info-list p { color: var(--muted); font-size: .86rem; margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .2rem .9rem; }
.pill { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; font-weight: 700; padding: .18rem .55rem; border-radius: 999px; background: var(--sky-soft); color: var(--navy); vertical-align: middle; }
.pill-orange { background: var(--orange-soft); color: var(--orange-ink); }
.pill-ok { background: var(--ok-soft); color: var(--ok); } .pill-bad { background: var(--bad-soft); color: var(--bad); } .pill-warn { background: var(--warn-soft); color: var(--warn); }
.k-Ujian { background: var(--bad-soft); color: var(--bad); } .k-Libur { background: var(--ok-soft); color: var(--ok); }
.k-SPMB { background: var(--orange-soft); color: var(--orange-ink); } .k-Rapat { background: var(--warn-soft); color: var(--warn); }

/* ---------- Profil ---------- */
.profil-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 3rem; align-items: start; }
@media (max-width: 991.98px) { .profil-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; } }
.profil-lead { font-size: 1.12rem; color: var(--ink-2); line-height: 1.8; }
.visi { border-left: 4px solid var(--orange); padding: .4rem 0 .4rem 1.25rem; margin: 2rem 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.5; color: var(--ink); }
.visi-label { font-size: .88rem; font-weight: 700; color: var(--muted); display: block; margin-bottom: .35rem; }
.misi { list-style: none; padding: 0; margin: 0; counter-reset: misi; }
.misi li { counter-increment: misi; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.misi li:first-child { padding-top: 0; }
.misi li::before { content: counter(misi, decimal-leading-zero); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-weight: 800; }
.misi p { margin: .55rem 0 0; color: var(--ink-2); }
.pilar { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.pilar span { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-weight: 600; font-size: .9rem; background: var(--surface); }

/* ---------- Jurusan ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 1199.98px) { .prog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .prog-grid { grid-template-columns: minmax(0,1fr); } }
.prog { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--ink); position: relative; transition: box-shadow .2s, border-color .2s; }
.prog:hover { box-shadow: var(--sh-2); border-color: transparent; color: var(--ink); }
.prog-code { font-family: var(--font-brand); font-size: 2.2rem; line-height: 1; color: var(--navy); letter-spacing: .01em; }
.prog:hover .prog-code { color: var(--orange); }
.prog h3 { font-size: 1.05rem; margin: 0; }
.prog p { color: var(--muted); font-size: .92rem; margin: 0; }
.prog .hot { position: absolute; top: 1.2rem; right: 1.2rem; }
.prog .go { margin-top: auto; padding-top: .5rem; font-weight: 700; font-size: .9rem; color: var(--navy); }
.jur-wrap { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 1.5rem; }
@media (max-width: 991.98px) { .jur-wrap { grid-template-columns: minmax(0,1fr); } }
.jur-tabs { display: flex; flex-direction: column; gap: .5rem; }
@media (max-width: 991.98px) { .jur-tabs { flex-direction: row; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; } }
.jur-tab { display: flex; align-items: center; gap: .85rem; text-align: left; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: .85rem 1rem; color: var(--ink); font-weight: 700; }
@media (max-width: 991.98px) { .jur-tab { flex: none; width: auto; } .jur-tab .jur-tab-nama { display: none; } }
.jur-tab i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-size: 1.1rem; flex: none; }
.jur-tab small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.jur-tab[aria-selected="true"] { border-color: var(--navy); box-shadow: inset 4px 0 0 var(--orange); }
.jur-tab[aria-selected="true"] i { background: var(--orange); color: #fff; }
.jur-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
.jur-panel[hidden] { display: none; }
.jur-panel-top { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.5rem; }
.jur-panel-top img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.jur-code { font-family: var(--font-brand); color: var(--orange-ink); font-size: 1.3rem; }
.jur-panel h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); margin: .15rem 0 .5rem; }
.jur-panel-top p { color: var(--ink-2); margin: 0; max-width: 62ch; }
.jur-hot { display: inline-flex; align-items: center; gap: .3rem; background: var(--orange-soft); color: var(--orange-ink); font-weight: 700; font-size: .78rem; padding: .2rem .65rem; border-radius: 999px; margin-left: .5rem; vertical-align: middle; }
.jur-cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.5rem; }
@media (max-width: 767.98px) { .jur-cols { grid-template-columns: minmax(0,1fr); } .jur-panel { padding: 1.4rem; } }
.jur-cols h4 { font-size: 1rem; margin-bottom: .75rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: .6rem; padding: .35rem 0; color: var(--ink-2); }
.check-list li i { color: var(--ok); margin-top: .15rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .88rem; font-weight: 600; }

/* ==========================================================
   BERITA
   ========================================================== */
.cat-tabs { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; scrollbar-width: none; }
.cat-tab { flex: none; padding: .75rem 1rem; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.cat-tab span { font-size: .78rem; background: var(--paper); border-radius: 999px; padding: .05rem .45rem; margin-left: .2rem; color: var(--muted); }
.cat-tab:hover { color: var(--ink); }
.cat-tab.is-active { color: var(--ink); border-bottom-color: var(--orange); }
.news-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.25rem; }
.news-toolbar .search-field { flex: 1 1 280px; }
.news-status { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.news-status strong { color: var(--ink); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.news-grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 1199.98px) { .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 767.98px) { .news-grid, .news-grid.cols-2 { grid-template-columns: minmax(0,1fr); } }
.news-card { display: flex; flex-direction: column; min-width: 0; position: relative; }
.news-thumb { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--sky-soft); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-thumb img.is-logo { object-fit: contain; padding: 20%; }
.news-card:hover .news-thumb img { transform: scale(1.035); }
.news-body { padding: 1rem 0 0; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.tag { display: inline-block; color: var(--orange-ink); font-weight: 700; text-decoration: none; font-size: .82rem; }
.tag:hover { text-decoration: underline; color: var(--orange-ink); }
.news-card h3 { font-size: 1.1rem; line-height: 1.38; margin: 0 0 .45rem; letter-spacing: -0.01em; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a::after { content: ''; position: absolute; inset: 0; }
.news-card .tag { position: relative; z-index: 1; }
.news-card:hover h3 a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.news-card p { color: var(--muted); font-size: .94rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card.is-utama .news-thumb { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.news-card.is-utama h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.025em; }
.news-card.is-utama p { font-size: 1.02rem; -webkit-line-clamp: 3; }
.news-card.is-samping { display: grid; grid-template-columns: 42% minmax(0,1fr); gap: 1rem; align-items: start; }
.news-card.is-samping .news-body { padding: 0; }
.news-card.is-samping h3 { font-size: 1.02rem; }
.news-card.is-samping p { -webkit-line-clamp: 2; font-size: .88rem; }
.news-card.is-baris { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: .9rem; }
.news-card.is-baris .news-thumb { aspect-ratio: 1; border-radius: 12px; }
.news-card.is-baris .news-body { padding: 0; }
.news-card.is-baris h3 { font-size: .96rem; }
.headline { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 2rem; margin-bottom: 3rem; }
.headline-side { display: grid; gap: 1.5rem; align-content: start; }
@media (max-width: 991.98px) { .headline { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 575.98px) { .news-card.is-samping { grid-template-columns: minmax(0,1fr); } .news-card.is-samping .news-body { padding-top: .8rem; } }
.grid-label { font-size: 1.15rem; font-weight: 800; margin: 0 0 1.25rem; display: flex; align-items: center; gap: .75rem; }
.grid-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 3rem 1.25rem; border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--surface); }
.empty-state i { font-size: 2rem; color: var(--muted); }
.empty-state h3 { font-size: 1.1rem; margin: .8rem 0 .35rem; }
.empty-state p { color: var(--muted); margin-bottom: 1rem; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; margin-top: 2.5rem; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 .6rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: #0A1A4F; color: #fff; border-color: #0A1A4F; }
.pager .is-disabled { opacity: .4; }
.pager .gap { border: 0; background: transparent; }
.aside-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.aside-block + .aside-block { margin-top: 1.25rem; }
.aside-block h3 { font-size: 1.05rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.aside-block h3 i { color: var(--orange); }
.pop-list { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.pop-list li { counter-increment: pop; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: .7rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.pop-list li:first-child { border-top: 0; padding-top: 0; }
.pop-list li::before { content: counter(pop); font-weight: 800; font-size: 1.3rem; color: var(--orange); line-height: 1.1; }
.pop-list a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .94rem; line-height: 1.35; display: block; }
.pop-list a:hover { color: var(--orange-ink); }
.pop-list small { color: var(--muted); font-size: .8rem; }
.filter-chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .3rem; margin-bottom: 1.5rem; scrollbar-width: none; }
.filter-chip { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active, .filter-chip[aria-pressed="true"] { background: #0A1A4F; color: #fff; border-color: #0A1A4F; }
.filter-chip .count { opacity: .65; margin-left: .3rem; font-weight: 500; }
.feed-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }

/* ---------- Tour & testimoni ---------- */
.tour-swiper { overflow: visible; }
.tour-swiper .swiper-slide { width: min(78vw, 680px); }
.tour-item { display: block; width: 100%; border: 0; padding: 0; background: #16225A; border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 16/9; cursor: zoom-in; }
.tour-item img { width: 100%; height: 100%; object-fit: cover; }
.tour-item figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.95); color: #0E1733; font-weight: 700; padding: .4rem .8rem; border-radius: 10px; font-size: .9rem; }
.tour-nav { display: flex; gap: .5rem; }
.tour-nav button { width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; }
.tour-nav button:hover { background: #fff; color: #0A1A4F; }
.tour-clip { overflow: hidden; padding-bottom: 4px; }
.testi-swiper { overflow: hidden; }
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; height: 100%; display: flex; flex-direction: column; }
.testi-card blockquote { font-size: 1.02rem; line-height: 1.7; color: var(--ink); margin: 0 0 1.4rem; flex: 1; }
.testi-card blockquote::before { content: '“'; display: block; font-family: Georgia, serif; font-size: 3.2rem; line-height: .7; color: var(--orange); margin-bottom: .6rem; }
.testi-who { display: flex; gap: .8rem; align-items: center; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-weight: 800; flex: none; }
.testi-who strong { display: block; }
.testi-who small { color: var(--muted); }
.testi-swiper .swiper-slide { height: auto; }
.swiper-dots { display: flex; justify-content: center; gap: 6px; margin-top: 1.5rem; }
.swiper-dots .swiper-pagination-bullet { width: 8px; height: 8px; background: var(--line); opacity: 1; margin: 0 !important; }
.swiper-dots .swiper-pagination-bullet-active { background: var(--orange); width: 22px; border-radius: 4px; }

/* ---------- PPDB ---------- */
.ppdb-banner { background: #0A1A4F; color: #C9D2F2; border-radius: var(--r-lg); padding: 2.5rem; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.ppdb-banner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 48px; background: var(--orange); transform: rotate(-12deg); opacity: .95; }
.ppdb-banner > * { position: relative; z-index: 1; }
.ppdb-banner h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
@media (max-width: 991.98px) { .ppdb-banner { grid-template-columns: minmax(0,1fr); padding: 1.75rem; } .ppdb-banner::after { width: 160px; height: 160px; right: -50px; top: -50px; } }
.ppdb-mini { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-md); padding: 1.25rem; }
.ppdb-mini ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.ppdb-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 3rem; }
@media (max-width: 991.98px) { .ppdb-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.6rem 4rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--navy); color: var(--navy); font-weight: 800; z-index: 1; }
.steps li::after { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; } .steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--orange); border-color: var(--orange); color: #fff; }
.steps h3 { font-size: 1.05rem; margin: .6rem 0 .2rem; }
.steps p { color: var(--muted); margin: 0; }
.ppdb-card { background: #0A1A4F; color: #C9D2F2; border-radius: var(--r-lg); overflow: hidden; }
[data-theme="dark"] .ppdb-card { background: #16225A; }
.ppdb-card-body { padding: 1.75rem; }
.ppdb-card h3 { color: #fff; font-size: 1.25rem; }
.ppdb-card .check-list li { color: #C9D2F2; }
.ppdb-card .check-list li i { color: var(--orange); }
.ppdb-promo { background: var(--orange-soft); color: var(--ink); border-radius: var(--r-md); padding: .9rem 1rem; display: flex; gap: .7rem; margin: 1.2rem 0; font-weight: 600; }
.ppdb-promo i { color: var(--orange-ink); }
.status-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.status-card .top { padding: 1.4rem 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.status-card dl { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: .5rem 1rem; padding: 1.4rem 1.6rem; margin: 0; }
.status-card dt { color: var(--muted); font-weight: 600; } .status-card dd { margin: 0; font-weight: 600; }
@media (max-width: 575.98px) { .status-card dl { grid-template-columns: minmax(0,1fr); } .status-card dd { margin-bottom: .5rem; } }
.status-track { display: flex; gap: .4rem; padding: 0 1.6rem 1.4rem; }
.status-track span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.status-track span.on { background: var(--ok); }
.no-daftar { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq .accordion { --bs-accordion-bg: var(--surface); --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: var(--surface); --bs-accordion-active-color: var(--ink); --bs-accordion-color: var(--ink); }
.faq .accordion-item { border-radius: var(--r-md) !important; overflow: hidden; margin-bottom: .7rem; border: 1px solid var(--line) !important; }
.faq .accordion-button { font-weight: 700; padding: 1.1rem 1.3rem; color: var(--ink); }
.faq .accordion-button:not(.collapsed) { box-shadow: inset 3px 0 0 var(--orange); }
.faq .accordion-body { color: var(--ink-2); padding: 0 1.3rem 1.2rem; }
[data-theme="dark"] .faq .accordion-button::after { filter: invert(1); }

/* ==========================================================
   HALAMAN DALAM
   ========================================================== */
.page-hero { background: #0A1A4F; color: #C9D2F2; padding: 52px 0 56px; position: relative; overflow: hidden; }
[data-theme="dark"] .page-hero { background: #070D24; }
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 64px; background: var(--orange); transform: rotate(-14deg); opacity: .9; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); letter-spacing: -0.035em; margin: .25rem 0 .75rem; max-width: 20ch; }
.page-hero p.lead-text { max-width: 44em; font-size: 1.06rem; margin: 0; color: #B7C1E6; }
.page-hero .script { font-family: var(--font-script); color: #FFB08A; font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1; display: block; }
.page-hero .stats { margin-top: 2rem; }
@media (max-width: 767.98px) { .page-hero::after { width: 180px; height: 180px; right: -70px; bottom: -80px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .88rem; }
.crumbs li + li::before { content: '›'; margin-right: .35rem; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; } .crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero .crumbs { color: #A9B4DB; }

/* ---------- Detail artikel ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--orange); z-index: 1100; }
.article-head { padding: 48px 0 32px; background: var(--surface); border-bottom: 1px solid var(--line); }
.article-head .crumbs { color: var(--muted); }
.article-head .crumbs a:hover { color: var(--ink); }
.article-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 24em; margin: .7rem 0 1.2rem; }
.article-head .tag { background: var(--orange-soft); padding: .2rem .7rem; border-radius: 999px; }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--muted); font-size: .92rem; align-items: center; }
.article-meta i { color: var(--orange); margin-right: .35rem; }
.author-chip { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 700; }
.author-chip span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-size: .85rem; }
.article-body-wrap { padding-top: 2.5rem; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin: 0 0 2.5rem; background: var(--sky-soft); cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; }
.article-cover img { width: 100%; max-height: 600px; object-fit: cover; display: block; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 3rem; align-items: start; }
@media (max-width: 1199.98px) { .article-layout { grid-template-columns: minmax(0,1fr); } }
.article-side { position: sticky; top: 100px; }
@media (max-width: 1199.98px) { .article-side { position: static; } }
.prose { font-size: 1.1rem; line-height: 1.85; color: var(--ink); max-width: 72ch; }
.prose > * + * { margin-top: 1.2em; }
.prose p { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.9em; margin-bottom: .2em; line-height: 1.3; }
.prose h2 { font-size: 1.55rem; } .prose h3 { font-size: 1.28rem; } .prose h4 { font-size: 1.1rem; }
.prose img { max-width: 100% !important; height: auto !important; border-radius: var(--r-md); }
.prose a { color: var(--orange-ink); }
.prose blockquote { border-left: 4px solid var(--orange); padding-left: 1.2rem; color: var(--ink-2); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose .table-responsive { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { width: 100% !important; border-collapse: collapse !important; font-size: .95rem; margin: 0; }
.prose th, .prose td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.prose th { background: var(--paper); text-align: left; }
.prose table img { max-width: 100px !important; }
@media (max-width: 767.98px) { .prose { font-size: 1.04rem; } .prose table { min-width: 520px; font-size: .88rem; } }
.embed-16x9 { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; }
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .student-card { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.prose .student-card .header-bg { background: var(--paper) !important; padding: 15px 20px !important; position: relative !important; clip-path: none !important; height: auto !important; }
.prose .badge-medals { background: var(--orange); color: #fff; padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 800; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; padding: .38rem 0 .38rem .9rem; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .93rem; }
.toc a:hover, .toc a.is-active { border-color: var(--orange); color: var(--ink); }
.toc .lvl-3 a { padding-left: 1.7rem; font-size: .88rem; }
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.share-btn:hover { background: #0A1A4F; border-color: #0A1A4F; color: #fff; }
.article-end { max-width: 72ch; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.prevnext { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1rem; margin-top: 2rem; }
@media (max-width: 575.98px) { .prevnext { grid-template-columns: minmax(0,1fr); } }
.prevnext a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.35; }
.prevnext a:hover { border-color: var(--navy); }
.prevnext small { display: block; color: var(--muted); font-weight: 600; margin-bottom: .3rem; }
.prevnext .next { text-align: right; }
.notfound { text-align: center; padding: 96px 0; }
.notfound .code { font-size: clamp(5rem, 12vw, 8rem); font-weight: 800; color: var(--orange); line-height: 1; letter-spacing: -0.05em; }

/* ---------- Guru ---------- */
.guru-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; }
@media (max-width: 1199.98px) { .guru-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 767.98px) { .guru-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; } }
.guru { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-align: left; padding: 0; width: 100%; color: var(--ink); display: flex; flex-direction: column; }
.guru:hover { box-shadow: var(--sh-2); }
.guru-photo { aspect-ratio: 4/4.3; background: linear-gradient(160deg, var(--sky-soft), var(--line)); display: grid; place-items: center; overflow: hidden; }
.guru-photo img { width: 100%; height: 100%; object-fit: cover; }
.guru-photo .ph { font-size: 2.4rem; font-weight: 800; color: var(--navy); opacity: .5; }
.guru-body { padding: 1rem 1.1rem 1.2rem; }
.guru-body strong { display: block; font-size: 1rem; line-height: 1.3; }
.guru-body span { display: block; color: var(--orange-ink); font-weight: 600; font-size: .86rem; margin-top: .2rem; }
.guru-body small { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.guru-group { margin-bottom: 3rem; }
.guru-group > h2 { font-size: 1.25rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .7rem; }
.guru-group > h2 span { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .1rem .55rem; }

/* ---------- Galeri ---------- */
.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; display: block; width: 100%; border: 0; padding: 0; background: var(--sky-soft); border-radius: var(--r-md); overflow: hidden; position: relative; cursor: zoom-in; text-align: left; }
.gallery-item img { width: 100%; display: block; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .cap { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; background: rgba(255,255,255,.95); color: #0E1733; border-radius: 10px; padding: .45rem .7rem; font-size: .86rem; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { opacity: 1; transform: none; }
@media (hover: none) { .gallery-item .cap { opacity: 1; transform: none; } }
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(4,8,22,.97); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 92vw; text-align: center; }
.lb-figure img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 12px; }
.lb-figure figcaption { color: #fff; margin-top: .8rem; font-weight: 600; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; }
.lb-close:hover, .lb-nav:hover { background: #fff; color: #0A1A4F; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 575.98px) { .lb-nav { top: auto; bottom: 18px; transform: none; } }

/* ---------- Kalender agenda ---------- */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cal-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); gap: 1rem; }
.cal-head h2 { font-size: 1.2rem; margin: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); }
.cal-dow { padding: .6rem .5rem; font-size: .78rem; font-weight: 700; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }
.cal-day { min-height: 104px; padding: .45rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .8rem; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day .n { font-weight: 700; color: var(--ink-2); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.cal-day.is-out { background: var(--paper); } .cal-day.is-out .n { color: var(--muted); opacity: .6; }
.cal-day.is-today .n { background: var(--orange); color: #fff; }
.cal-ev { display: block; margin-top: .25rem; padding: .15rem .4rem; border-radius: 6px; background: var(--sky-soft); color: var(--navy); font-weight: 600; font-size: .72rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767.98px) { .cal-day { min-height: 58px; padding: .3rem; } .cal-ev { font-size: 0; height: 6px; padding: 0; margin-top: .2rem; } }

/* ---------- Unduhan ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.doc-list a, .doc-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: var(--surface); font-weight: 700; }
.doc-list a:hover { border-color: var(--navy); }
.doc-list i.ft { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--sky-soft); color: var(--navy); flex: none; }
.doc-list .ft-pdf { background: var(--bad-soft) !important; color: var(--bad) !important; }
.doc-list .ft-doc { background: var(--sky-soft) !important; }
.doc-list .ft-xls { background: var(--ok-soft) !important; color: var(--ok) !important; }
.doc-list small { display: block; color: var(--muted); font-weight: 500; }
.doc-list .dl { margin-left: auto; color: var(--muted); font-size: 1.2rem; }

/* ---------- Prestasi ---------- */
.medal-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
@media (max-width: 991.98px) { .medal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .medal-grid { grid-template-columns: minmax(0,1fr); } }
.medal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.medal:hover { box-shadow: var(--sh-2); }
.medal-photo { aspect-ratio: 16/10; background: var(--sky-soft); overflow: hidden; position: relative; }
.medal-photo img { width: 100%; height: 100%; object-fit: cover; }
.medal-photo .no-photo { position: absolute; inset: 0; display: grid; place-items: center; color: var(--orange); font-size: 3.5rem; }
.medal-rank { position: absolute; left: 1rem; top: 1rem; background: #fff; color: #0E1733; font-weight: 800; font-size: .85rem; padding: .35rem .75rem; border-radius: 999px; box-shadow: var(--sh-1); }
.medal-rank::before { content: '🏆 '; }
.medal-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.medal h3 { font-size: 1.05rem; margin: 0; line-height: 1.35; }
.medal h3 a { color: var(--ink); text-decoration: none; }
.medal h3 a::after { content: ''; position: absolute; inset: 0; }
.medal .who { font-weight: 700; color: var(--ink-2); font-size: .92rem; }
.medal .meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; color: var(--muted); font-size: .84rem; margin-top: auto; padding-top: .6rem; align-items: center; }
.lvl { display: inline-block; font-size: .74rem; font-weight: 700; padding: .18rem .55rem; border-radius: 999px; background: var(--sky-soft); color: var(--navy); }
.lvl-internasional, .lvl-nasional { background: var(--orange-soft); color: var(--orange-ink); }

/* ---------- Tracer / alumni ---------- */
.bars { display: grid; gap: .9rem; }
.bar-row { display: grid; grid-template-columns: 200px minmax(0,1fr) 70px; gap: 1rem; align-items: center; }
@media (max-width: 575.98px) { .bar-row { grid-template-columns: minmax(0,1fr) 64px; } .bar-row .track { grid-column: 1 / -1; order: 3; } }
.bar-row .lbl { display: flex; gap: .6rem; align-items: center; font-weight: 700; }
.bar-row .lbl i { color: var(--orange-ink); }
.bar-row .track { height: 12px; background: var(--paper); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar-row .fill { height: 100%; background: var(--navy-2); border-radius: 99px; min-width: 4px; }
.bar-row.is-top .fill { background: var(--orange); }
.bar-row .val { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.bar-row .val small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.split { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 1.5rem; }
@media (max-width: 991.98px) { .split { grid-template-columns: minmax(0,1fr); } }
.mini-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.mini-table th, .mini-table td { padding: .6rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.mini-table th { color: var(--muted); font-weight: 600; font-size: .84rem; }
.mini-table td:not(:first-child), .mini-table th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Formulir ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
@media (max-width: 575.98px) { .form-card { padding: 1.3rem; } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 767.98px) { .form-grid { grid-template-columns: minmax(0,1fr); } }
.form-part { font-size: 1rem; font-weight: 800; margin: .5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.field label, .field .legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.field .opt { color: var(--muted); font-weight: 500; }
.field .req { color: var(--bad); }
.field input, .field select, .field textarea { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .72rem .9rem; color: var(--ink); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--sky-soft); }
.field .hint { color: var(--muted); font-size: .82rem; margin-top: .3rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: .85rem; margin-top: .3rem; font-weight: 600; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.choice { position: relative; margin: 0; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice span { display: flex; align-items: center; gap: .6rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; background: var(--surface); height: 100%; }
.choice span i { color: var(--muted); }
.choice input:checked + span { border-color: var(--navy); background: var(--sky-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:checked + span i { color: var(--orange-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check-inline { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); font-weight: 500 !important; }
.check-inline input { width: 18px !important; height: 18px; margin-top: .2rem; accent-color: var(--orange); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert-silber { border-radius: var(--r-md); padding: 1rem 1.2rem; display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.5rem; font-weight: 600; }
.alert-silber i { font-size: 1.25rem; line-height: 1.2; }
.alert-ok { background: var(--ok-soft); color: var(--ok); } .alert-bad { background: var(--bad-soft); color: var(--bad); } .alert-warn { background: var(--warn-soft); color: var(--warn); }

/* ---------- Kontak ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .contact-cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .contact-cards { grid-template-columns: minmax(0,1fr); } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .2rem; }
a.contact-card:hover { border-color: var(--navy); color: var(--ink); }
.contact-card i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-size: 1.15rem; margin-bottom: .6rem; }
.contact-card small { color: var(--muted); }
.contact-card strong { word-break: break-word; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--sky-soft); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.kontak-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 991.98px) { .kontak-grid { grid-template-columns: minmax(0,1fr); } }
.kontak-list { list-style: none; margin: 0; padding: 0; }
.kontak-list li { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.kontak-list li:first-child { border-top: 0; padding-top: 0; }
.kontak-list i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); }
.kontak-list small { display: block; color: var(--muted); font-size: .84rem; }
.kontak-list a, .kontak-list span { color: var(--ink); font-weight: 700; text-decoration: none; }
.fac-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .fac-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .fac-grid { grid-template-columns: minmax(0,1fr); } }
.fac { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; }
.fac i { font-size: 1.5rem; color: var(--orange-ink); }
.fac h3 { font-size: 1.02rem; margin: .6rem 0 .25rem; }
.fac p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: #06134A; color: #B7C1E6; font-size: .94rem; padding-top: 1px; }
[data-theme="dark"] .site-footer { background: #050A1C; }
.footer-cta { margin-top: 56px; background: #0F2270; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 1.75rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; color: #C9D2F2; }
.footer-cta-title { color: #fff; font-size: 1.3rem; font-weight: 800; margin: 0 0 .2rem; }
.footer-main { padding-top: 56px; }
.footer-word { font-family: var(--font-brand); text-transform: uppercase; color: #fff; font-size: 1.7rem; line-height: 1; }
.footer-word strong { font-weight: 400; color: var(--orange); }
.footer-muted { color: #9CA8D3; max-width: 38ch; }
.footer-head { color: #fff; font-weight: 700; margin-bottom: .9rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .28rem 0; }
.footer-links a, .footer-contact a, .footer-bottom a { color: #B7C1E6; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .75rem; padding: .35rem 0; }
.footer-contact i { color: var(--orange); }
.social { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.social:hover { background: #fff; color: #06134A; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.25rem 0 1.5rem; font-size: .85rem; color: #8592C2; }

/* ---------- Tombol melayang, toast ---------- */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 1020; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1FAF5A; color: #fff; font-size: 1.5rem; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(31,175,90,.7); }
.float-wa:hover { background: #178a47; color: #fff; }
.float-top { position: fixed; right: 24px; bottom: 84px; z-index: 1020; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: var(--sh-1); }
.float-top.is-visible { opacity: 1; pointer-events: auto; }
.toast-silber { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #0A1A4F; color: #fff; padding: .75rem 1.2rem; border-radius: 12px; font-weight: 600; z-index: 3100; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast-silber.is-visible { opacity: 1; transform: translate(-50%, 0); }
.zoom-modal .modal-content { background: #040816; border: 0; }
.zoom-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.zoom-stage img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.zoom-controls { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 5; }
.zoom-controls button { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; min-width: 46px; height: 46px; padding: 0 1rem; font-weight: 700; }
.zoom-title { position: absolute; top: 20px; left: 24px; right: 80px; color: #fff; font-weight: 700; z-index: 5; }
.zoom-close { position: absolute; top: 16px; right: 16px; z-index: 6; }

/* Muncul halus saat di-scroll (sekali, hanya bagian penting) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; } .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; } .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .hero-photo { animation: rise .9s .15s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Cetak bukti pendaftaran */
@media print {
  .utility, .site-header, .site-footer, .float-wa, .float-top, .page-hero, .no-print { display: none !important; }
  body { background: #fff; }
  .print-only { display: block !important; }
  .status-card { border: 1px solid #000; }
}
.print-only { display: none; }
@media (max-width: 991.98px) { .kepsek-photo { max-width: 300px; } }
.cal-ev.k-Ujian { background: var(--bad-soft); color: var(--bad); } .cal-ev.k-Libur { background: var(--ok-soft); color: var(--ok); }
.cal-ev.k-SPMB { background: var(--orange-soft); color: var(--orange-ink); } .cal-ev.k-Rapat { background: var(--warn-soft); color: var(--warn); }

/* ==========================================================
   v5 · Angka, tentang kami, sebaran, perjalanan, jejak alumni, galeri kegiatan
   ========================================================== */
/* Counter "dalam angka" */
.counter-band { background: #0A1A4F; border-radius: var(--r-lg); padding: 2.5rem; color: #C9D2F2; position: relative; overflow: hidden; }
[data-theme="dark"] .counter-band { background: #111C4A; }
.counter-band::before { content: ''; position: absolute; left: -60px; bottom: -90px; width: 240px; height: 240px; border-radius: 48px; background: var(--orange); transform: rotate(-12deg); opacity: .9; }
.counter-band > * { position: relative; }
.counter-head h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: 1.75rem; }
.counter-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .counter-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .counter-band { padding: 1.6rem; } }
@media (max-width: 419.98px) { .counter-grid { grid-template-columns: minmax(0,1fr); } }
.counter { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 1.3rem 1.4rem; backdrop-filter: blur(6px); }
.counter i { color: var(--orange); font-size: 1.4rem; display: block; margin-bottom: .5rem; }
.counter b { display: block; font-size: clamp(2.1rem, 1.5rem + 1.8vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.counter span { display: block; font-weight: 700; color: #E4E9FA; margin-top: .4rem; line-height: 1.35; }
.counter small { display: block; color: #FFB08A; font-size: .82rem; margin-top: .3rem; font-weight: 600; }

/* Tentang kami */
.about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 3.5rem; align-items: start; }
@media (max-width: 991.98px) { .about-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; } }
.about-title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); letter-spacing: -0.03em; margin-bottom: 1rem; }
.about-lead { font-size: 1.12rem; color: var(--ink-2); line-height: 1.8; }
.about-note { border-left: 4px solid var(--orange); background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.1rem 1.25rem; margin-top: 1.25rem; }
.about-note p { margin: .6rem 0 0; color: var(--ink-2); }
.about-tag { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--orange-ink); font-size: .92rem; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 479.98px) { .why-grid { grid-template-columns: minmax(0,1fr); } }
.why { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; transition: box-shadow .2s, transform .2s; }
.why:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.why i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-size: 1.2rem; }
.why:nth-child(3n+1) i { background: var(--orange-soft); color: var(--orange-ink); }
.why h3 { font-size: 1rem; margin: .8rem 0 .3rem; }
.why p { color: var(--muted); font-size: .9rem; margin: 0; }
.id-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.id-chips div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .5rem .85rem; }
.id-chips dt { font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.id-chips dd { margin: 0; font-weight: 700; }
.id-table { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 2rem; margin: 0; }
.id-table div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.id-table dt { color: var(--muted); font-weight: 600; } .id-table dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 767.98px) { .id-table { grid-template-columns: minmax(0,1fr); } }

/* Sebaran siswa */
.sebaran-bar { display: flex; height: 44px; border-radius: 14px; overflow: hidden; margin-bottom: 1.5rem; gap: 3px; }
.sebaran-bar span { display: flex; align-items: center; padding: 0 .9rem; color: #fff; font-weight: 800; font-size: .85rem; white-space: nowrap; overflow: hidden; min-width: 0; }
.sebaran-bar .w0 { background: #0A1A4F; } .sebaran-bar .w1 { background: var(--orange); } .sebaran-bar .w2 { background: #2F4BC2; } .sebaran-bar .w3 { background: #0F7B6B; }
.prog-code.c1 { color: var(--orange-ink); } .prog-code.c2 { color: #2F4BC2; } .prog-code.c3 { color: #0F7B6B; }
[data-theme="dark"] .prog-code.c2 { color: #8EA2FF; } [data-theme="dark"] .prog-code.c3 { color: #5FD3BF; }
.prog-count { display: inline-flex; align-items: baseline; gap: .35rem; margin-top: .4rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.prog-count b { font-size: 1.5rem; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }

/* Perjalanan siswa */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1rem; position: relative; }
.journey::before { content: ''; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.journey li { position: relative; }
.journey-dot { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--navy); color: var(--navy); font-size: 1.3rem; position: relative; z-index: 1; }
.journey li:last-child .journey-dot { background: var(--orange); border-color: var(--orange); color: #fff; }
.journey small { display: block; margin-top: .9rem; font-weight: 700; color: var(--orange-ink); font-size: .78rem; }
.journey h3 { font-size: 1rem; margin: .2rem 0 .35rem; }
.journey p { color: var(--muted); font-size: .88rem; margin: 0; }
@media (max-width: 1199.98px) { .journey { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 2rem; } .journey::before { display: none; } }
@media (max-width: 575.98px) {
  .journey { grid-template-columns: minmax(0,1fr); row-gap: 0; }
  .journey li { display: grid; grid-template-columns: 56px minmax(0,1fr); column-gap: 1rem; padding-bottom: 1.5rem; }
  .journey li::after { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
  .journey li:last-child::after { display: none; }
  .journey-dot { grid-row: 1 / 4; } .journey small { margin-top: .2rem; }
}

/* Jejak alumni */
.astat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.astat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 1.3rem; }
.astat i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 1.2rem; }
.astat b { display: block; font-size: 2.3rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; margin-top: .9rem; font-variant-numeric: tabular-nums; }
.astat span { display: block; color: #E4E9FA; font-weight: 700; margin-top: .3rem; }
.astat-track { height: 6px; background: rgba(255,255,255,.12); border-radius: 3px; margin: .8rem 0 .4rem; overflow: hidden; }
.astat-track i { display: block; height: 100%; background: var(--orange); border-radius: 3px; width: 0; }
.astat small { color: #A9B4DB; font-size: .8rem; }
.logo-block { margin-top: 2.5rem; }
.logo-title { color: #fff; font-weight: 700; display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.logo-title i { color: var(--orange); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-marquee.is-static { -webkit-mask-image: none; mask-image: none; }
.logo-track { display: flex; gap: .75rem; width: max-content; animation: marquee 40s linear infinite; }
.logo-marquee.is-static .logo-track { width: auto; flex-wrap: wrap; animation: none; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - .375rem)); } }
.logo-chip { display: inline-flex; align-items: center; gap: .75rem; background: #fff; color: #0E1733; border-radius: 14px; padding: .6rem 1rem; min-height: 64px; flex: none; }
.logo-chip img { height: 40px; width: auto; max-width: 110px; object-fit: contain; }
.logo-chip span { font-weight: 700; font-size: .92rem; line-height: 1.2; }
.logo-chip small { display: block; color: #5E6886; font-weight: 600; font-size: .75rem; }
.jejak .testi-card { background: #fff; border-color: transparent; }
.jejak .testi-card blockquote, .jejak .testi-who strong { color: #0E1733; }
.jejak .swiper-dots .swiper-pagination-bullet { background: rgba(255,255,255,.3); }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; } }

/* Galeri kegiatan siswa (mosaik) */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 190px; gap: .75rem; }
.mosaic-item { position: relative; border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; background: var(--sky-soft); cursor: zoom-in; text-align: left; }
.mosaic-item.is-big { grid-column: span 2; grid-row: span 2; }
.mosaic-item.is-tall { grid-row: span 2; }
.mosaic-item[hidden] { display: none; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .9rem .8rem; background: linear-gradient(transparent, rgba(6,19,74,.85)); color: #fff; display: flex; flex-direction: column; gap: .1rem; }
.mosaic-cap em { font-style: normal; font-size: .72rem; font-weight: 800; background: var(--orange); align-self: flex-start; padding: .1rem .5rem; border-radius: 999px; }
.mosaic-cap strong { font-size: .95rem; line-height: 1.3; }
.mosaic-item.is-big .mosaic-cap strong { font-size: 1.2rem; }
.mosaic-cap small { opacity: .8; font-size: .78rem; }
@media (max-width: 991.98px) { .mosaic { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 160px; } .mosaic-item.is-tall { grid-row: span 1; } }
@media (max-width: 419.98px) { .mosaic { grid-auto-rows: 130px; } }
.gallery-meta { font-size: .78rem; opacity: .75; display: block; font-weight: 600; }
.mosaic { grid-auto-flow: dense; }
@media (max-width: 991.98px) { .mosaic-item:last-child:nth-child(even) { grid-column: span 2; } }
/* HP: counter & keunggulan tetap 2 kolom agar halaman tidak terlalu panjang */
@media (max-width: 575.98px) {
  .counter-grid, .why-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: .6rem; }
  .counter { padding: 1rem; } .counter span { font-size: .88rem; } .counter small { font-size: .74rem; }
  .why { padding: 1rem; } .why h3 { font-size: .92rem; } .why p { font-size: .82rem; }
  .counter-band { padding: 1.25rem; }
}
@media (max-width: 339.98px) { .counter-grid, .why-grid { grid-template-columns: minmax(0,1fr) !important; } }

/* ==========================================================
   v6 · Papan statistik rapi, strip alumni, logo mitra, tab galeri gelap
   ========================================================== */
.stat-board { display: grid; grid-template-columns: 330px minmax(0,1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.stat-board-head { padding: 2rem; background: linear-gradient(160deg, var(--sky-soft), var(--surface)); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.stat-board-head h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .6rem; }
.stat-board-head p:not(.sec-kicker) { color: var(--ink-2); font-size: .95rem; margin-bottom: 1rem; }
.stat-board-head .more-link { margin-top: auto; }
.stat-board-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.stat-board-grid.n4, .stat-board-grid.n2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.sb-item { padding: 1.5rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; display: flex; flex-direction: column; gap: .15rem; }
.sb-icon { width: 38px; height: 38px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--orange-soft); color: var(--orange-ink); font-size: 1.05rem; margin-bottom: .6rem; flex: none; }
.sb-item b { font-size: clamp(1.8rem, 1.3rem + 1.3vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.sb-label { font-weight: 700; color: var(--ink); line-height: 1.3; font-size: .95rem; }
.sb-item small { color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: .15rem; }
@media (max-width: 1199.98px) { .stat-board { grid-template-columns: minmax(0,1fr); } .stat-board-head { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.5rem; } .stat-board-head .more-link { margin-top: .25rem; } }
@media (max-width: 767.98px) { .stat-board-grid, .stat-board-grid.n4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .sb-item { padding: 1.1rem 1rem; } .sb-label { font-size: .86rem; } }

.alumni-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.as-item { display: flex; gap: .9rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.as-item .sb-icon { margin: 0; background: #0A1A4F; color: #fff; }
[data-theme="dark"] .as-item .sb-icon { background: #2B3F95; }
.as-body { flex: 1; min-width: 0; }
.as-top { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.as-top b { font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.as-top em { font-style: normal; font-weight: 800; color: var(--orange-ink); font-size: .9rem; }
.as-track { height: 6px; background: var(--line); border-radius: 3px; margin-top: .55rem; overflow: hidden; }
.as-track i { display: block; height: 100%; background: var(--orange); border-radius: 3px; }
.mitra-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.mitra-chip { display: inline-flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .45rem .85rem; font-weight: 700; font-size: .88rem; color: var(--ink); }
.mitra-chip img { height: 28px; width: auto; max-width: 80px; object-fit: contain; }
.mitra-chip i { color: var(--navy); }
.gal-tabs-dark .filter-chip { background: transparent; color: #C9D2F2; border-color: rgba(255,255,255,.25); }
.gal-tabs-dark .filter-chip:hover { color: #fff; border-color: #fff; }
.gal-tabs-dark .filter-chip.is-active { background: #fff; color: #0A1A4F; border-color: #fff; }
.sec-navy .mosaic-item { background: rgba(255,255,255,.06); }
/* Jumlah siswa selalu sejajar di bawah kartu jurusan */
.prog .prog-count { margin-top: auto; padding-top: .75rem; border-top: 1px dashed var(--line); width: 100%; }
.prog .prog-count + .go { margin-top: .35rem; padding-top: 0; }

/* ==========================================================
   v7 · Info terkini, video profil, hitung mundur, pencarian
   ========================================================== */
.ticker { background: var(--orange-soft); border-bottom: 1px solid var(--line); font-size: .9rem; }
.ticker-in { display: flex; align-items: center; gap: 1rem; min-height: 44px; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: .45rem; background: var(--orange); color: #fff; font-weight: 800; padding: .3rem .8rem; border-radius: 999px; text-decoration: none; font-size: .8rem; }
.ticker-label:hover { color: #fff; background: #E24400; }
.ticker-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.ticker-track { display: flex; gap: 3rem; width: max-content; animation: marquee 30s linear infinite; }
.ticker-view.is-static .ticker-track { animation: none; }
.ticker-view:hover .ticker-track, .ticker-view:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ticker-track a::before { content: '●'; color: var(--orange); margin-right: .6rem; font-size: .6rem; vertical-align: middle; }
.ticker-track a:hover { color: var(--orange-ink); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

.video-wrap { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.3fr); gap: 3rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
@media (max-width: 991.98px) { .video-wrap { grid-template-columns: minmax(0,1fr); gap: 1.5rem; padding: 1.25rem; } }
.video-copy h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); margin-bottom: .75rem; }
.video-copy > p:not(.sec-kicker) { color: var(--ink-2); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #0A1A4F; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: pointer; width: 100%; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .3s; }
.video-play:hover img { transform: scale(1.03); filter: brightness(.9); }
.video-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 2.2rem; box-shadow: 0 0 0 10px rgba(255,79,1,.25); transition: transform .2s; }
.video-play:hover .video-btn { transform: translate(-50%, -50%) scale(1.08); }

.countdown { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: .4rem .9rem; font-size: .92rem; margin: 0; }
.countdown i { color: #FFB08A; }
.countdown strong { color: #FFB08A; }

.as-item.is-empty .as-top b { color: var(--muted); }
.as-item.is-empty .as-top em { color: var(--muted); font-weight: 600; font-size: .78rem; }
.as-item.is-empty .as-track { display: none; }
img.testi-avatar { object-fit: cover; padding: 0; }

.search-big { padding: .45rem .45rem .45rem 1.2rem; border-radius: 16px; box-shadow: var(--sh-1); }
.search-big input { font-size: 1.1rem; }
.search-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; color: var(--muted); font-weight: 600; font-size: .9rem; }
.search-group { margin-top: 2rem; }
.search-group h2 { font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.search-group h2 i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-size: 1rem; }
.search-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.search-list li + li { border-top: 1px solid var(--line); }
.search-list a { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.2rem; text-decoration: none; color: var(--ink); }
.search-list a:hover { background: var(--paper); }
.search-list strong { font-size: 1rem; }
.search-list span { color: var(--ink-2); font-size: .9rem; }
.search-list small { color: var(--muted); font-size: .8rem; }
mark { background: #FFE1CF; color: inherit; padding: 0 .1em; border-radius: 3px; }
[data-theme="dark"] mark { background: #5A2A10; }

/* ==========================================================
   v7 · Berita + feed Instagram (beranda & jurusan)
   ========================================================== */
.news-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.seg-tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; }
.seg-tab { display: inline-flex; align-items: center; gap: .45rem; border: 0; background: transparent; color: var(--ink-2); font-weight: 700; padding: .6rem 1.1rem; border-radius: 10px; font-size: .95rem; }
.seg-tab:hover { color: var(--ink); background: var(--paper); }
.seg-tab.active { background: #0A1A4F; color: #fff; }
[data-theme="dark"] .seg-tab.active { background: #2B3F95; }
.news-search { flex: 0 1 380px; }
@media (max-width: 767.98px) { .news-bar { flex-direction: column; align-items: stretch; } .seg-tabs { width: 100%; } .seg-tab { flex: 1; justify-content: center; padding: .6rem .5rem; font-size: .9rem; } .news-search { flex-basis: auto; } }
#news-container { transition: opacity .2s; min-height: 200px; }
#news-container.is-loading { opacity: .45; pointer-events: none; }
ul.pager { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.feed-chips { justify-content: center; }
.feed-loading { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.feed-loading p { margin: .75rem 0 0; }

/* Kartu feed Instagram — juga merapikan tampilan file feed lama (yang membawa <style> sendiri) */
.feed-box .ig-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.feed-box .ig-ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.2rem; background: radial-gradient(circle at 30% 110%, #FDCB52 0%, #FD5949 45%, #D6249F 65%, #285AEB 95%); flex: none; }
.feed-box .ig-name strong { display: block; line-height: 1.2; }
.feed-box .ig-name small { color: var(--muted); font-size: .8rem; }
.feed-box .ig-grid-container { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; padding: 0; }
@media (max-width: 1199.98px) { .feed-box .ig-grid-container { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 767.98px) { .feed-box .ig-grid-container { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; } }
.feed-box .ig-btn { text-decoration: none; color: inherit; display: block; min-width: 0; }
.feed-box .ig-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: none; height: 100%; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.feed-box .ig-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.feed-box .ig-image-wrap { position: relative; padding-top: 100%; background: var(--sky-soft); }
.feed-box .ig-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed-box .ig-type { position: absolute; top: .5rem; right: .5rem; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: .9rem; }
.feed-box .ig-overlay { position: absolute; inset: 0; background: rgba(6,19,74,.35); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.feed-box .ig-card:hover .ig-overlay { opacity: 1; }
.feed-box .ig-overlay i { font-size: 2rem; color: #fff; }
.feed-box .ig-info { padding: .8rem .9rem .9rem; display: flex; flex-direction: column; flex: 1; }
.feed-box .ig-caption { font-family: var(--font); font-size: .85rem; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .6rem; }
.feed-box .ig-meta { margin-top: auto; display: flex; justify-content: space-between; gap: .5rem; font-size: .76rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .55rem; }
.feed-box .ig-meta .text-danger, .feed-box .ig-like { color: #E1306C !important; font-weight: 700; }
@media (max-width: 575.98px) { .feed-box .ig-caption { -webkit-line-clamp: 2; font-size: .8rem; } .feed-box .ig-info { padding: .6rem .65rem .7rem; } }
.feed-box .text-center.mt-4 .btn, .feed-box .btn-outline-primary { border-radius: 12px !important; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; }
.feed-box .btn-outline-primary:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
/* Feed di halaman jurusan: cukup 4 postingan */
.jur-feed { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.jur-feed-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.jur-feed .ig-head { display: none; }
.jur-feed .ig-btn:nth-child(n+5) { display: none; }
.jur-feed .ig-grid-container { grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap: .75rem; }
@media (max-width: 767.98px) { .jur-feed .ig-grid-container { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }
.jur-feed .text-center.mt-4 { display: none; }
.jur-feed .ig-caption { -webkit-line-clamp: 2; }
/* Subjudul kecil di panel jurusan (sebelumnya ikut membesar seperti judul panel) */
.jur-panel h3.h6 { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 .75rem; line-height: 1.35; }
.jur-feed-head h3.h6 { margin: 0; display: flex; align-items: center; }
.jur-feed-head h3.h6 i { color: #E1306C; }
/* Chip akun: tengah jika muat, rata kiri jika perlu digeser (agar "Semua" tidak terpotong) */
.feed-chips { justify-content: safe center; }
@media (max-width: 767.98px) { .feed-chips { justify-content: flex-start; } }

/* ==========================================================
   v8 · Hero dinamis, banner promo, popup, halaman Info & promo
   ========================================================== */
.hero-slides { position: relative; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-cap { position: absolute; left: 1rem; top: 1rem; right: 4rem; z-index: 2; }
.hero-cap a, .hero-cap span { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.94); color: #0E1733; font-weight: 700; font-size: .88rem; padding: .45rem .85rem; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); max-width: 100%; }
.hero-cap a:hover { color: var(--orange-ink); }
.hero-dots { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; display: flex; gap: 6px; background: rgba(6,19,74,.45); padding: 6px 8px; border-radius: 999px; backdrop-filter: blur(6px); }
.hero-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.55); transition: width .25s, background .25s; }
.hero-dots button[aria-selected="true"] { width: 22px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

.promo-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
.promo-row.n2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 991.98px) { .promo-row.n2 { grid-template-columns: minmax(0,1fr); } }
.promo-card { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.promo-row.n2 .promo-card { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
@media (max-width: 575.98px) { .promo-card, .promo-row.n2 .promo-card { grid-template-columns: minmax(0,1fr); } }
.promo-img { display: block; background: var(--sky-soft); aspect-ratio: 16 / 10; overflow: hidden; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo-card:hover .promo-img img { transform: scale(1.04); }
.promo-body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; justify-content: center; }
.promo-body h3 { font-size: 1.2rem; margin: 0; }
.promo-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.promo-tag { display: inline-flex; align-items: center; gap: .35rem; background: var(--orange-soft); color: var(--orange-ink); font-weight: 800; font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; }

.promo-pop { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 1rem; background: rgba(4,8,22,.7); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.promo-pop.is-open { opacity: 1; }
.promo-pop[hidden] { display: none; }
.promo-pop-box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 2rem); overflow: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: translateY(12px) scale(.98); transition: transform .3s; }
.promo-pop.is-open .promo-pop-box { transform: none; }
.promo-pop-img { display: block; background: var(--sky-soft); }
.promo-pop-img img { width: 100%; max-height: 62vh; object-fit: contain; display: block; }
.promo-pop-body { padding: 1.2rem 1.4rem 1.4rem; }
.promo-pop-body h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.promo-pop-body p { color: var(--muted); font-size: .92rem; }
.promo-pop-x { position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #0E1733; box-shadow: var(--sh-1); }

.poster-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
@media (max-width: 991.98px) { .poster-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .poster-grid { grid-template-columns: minmax(0,1fr); } }
.poster { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 110px; }
.poster:target { box-shadow: 0 0 0 3px var(--orange); }
.poster-img { position: relative; display: block; border: 0; padding: 0; width: 100%; background: var(--sky-soft); aspect-ratio: 4 / 5; cursor: zoom-in; overflow: hidden; }
.poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.poster-img:hover img { transform: scale(1.03); }
.poster-zoom { position: absolute; right: .7rem; bottom: .7rem; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(6,19,74,.6); color: #fff; }
.poster-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.poster-body h2 { font-size: 1.1rem; margin: 0; }
.poster-body > p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.poster-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--muted) !important; font-size: .82rem !important; margin-top: auto !important; padding-top: .3rem; }
.poster-meta i { color: var(--orange); margin-right: .3rem; }
/* Poster selalu tampil utuh (tidak terpotong) — teks di poster tetap terbaca */
.poster-grid { align-items: start; }
.poster-img { aspect-ratio: auto; display: flex; align-items: center; justify-content: center; }
.poster-img img { height: auto; max-height: 560px; object-fit: contain; }
.promo-img { display: flex; align-items: center; justify-content: center; }
.promo-img img { object-fit: contain; }

/* ==========================================================
   v10 · Tujuan sekolah & ekstrakurikuler
   ========================================================== */
.pilar .is-main { background: #0A1A4F; color: #fff; border-color: #0A1A4F; }
[data-theme="dark"] .pilar .is-main { background: #2B3F95; border-color: #2B3F95; }
.visi { font-size: 1.12rem; }
.misi p { font-size: .98rem; line-height: 1.7; }
.tujuan-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .tujuan-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .tujuan-grid { grid-template-columns: minmax(0,1fr); } }
.tujuan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.4rem 1.3rem; }
.tujuan-ikon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-size: 1.25rem; margin-bottom: .9rem; }
.tujuan:nth-child(odd) .tujuan-ikon { background: var(--orange-soft); color: var(--orange-ink); }
.tujuan-no { position: absolute; top: 1.1rem; right: 1.3rem; font-weight: 800; font-size: 1.6rem; color: var(--line); letter-spacing: -0.03em; }
.tujuan p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.ekskul-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 1199.98px) { .ekskul-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 479.98px) { .ekskul-grid { grid-template-columns: minmax(0,1fr); } }
.ekskul { display: flex; gap: .9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; transition: box-shadow .2s, transform .2s; }
.ekskul:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.ekskul-ikon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #0A1A4F; color: #fff; font-size: 1.15rem; }
[data-theme="dark"] .ekskul-ikon { background: #2B3F95; }
.ekskul small { color: var(--orange-ink); font-weight: 700; font-size: .74rem; }
.ekskul h3 { font-size: 1rem; margin: .1rem 0 .25rem; }
.ekskul p { color: var(--muted); font-size: .86rem; margin: 0; line-height: 1.5; }
/* Visi tetap terlihat saat membaca misi yang panjang (desktop) */
@media (min-width: 992px) { #visi .profil-grid > div:first-child { position: sticky; top: 110px; } }
/* Kelas ukuran Bootstrap (.h5/.h6) tidak lagi menipiskan judul */
.h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 800; letter-spacing: -0.015em; }

/* ==========================================================
   v11 · Ekstrakurikuler dinamis (kartu = link ke berita)
   ========================================================== */
a.ekskul { text-decoration: none; color: var(--ink); }
a.ekskul:hover { color: var(--ink); border-color: var(--navy); }
.ekskul > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ekskul-jadwal { display: flex; gap: .35rem; align-items: center; color: var(--ink-2) !important; font-size: .8rem !important; margin-top: .35rem !important; }
.ekskul-jadwal i { color: var(--orange); }
.ekskul-link { margin-top: .55rem; font-weight: 700; font-size: .82rem; color: var(--navy); display: inline-flex; gap: .3rem; align-items: center; }
a.ekskul:hover .ekskul-link { color: var(--orange-ink); gap: .5rem; }
.ekskul-info { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--r-md); padding: 1.2rem 1.3rem; margin-bottom: 1.5rem; }
.ekskul-info .ekskul-ikon { width: 52px; height: 52px; font-size: 1.35rem; }
.ekskul-info-body { flex: 1; min-width: 0; }
.ekskul-info-body small { color: var(--orange-ink); font-weight: 700; font-size: .78rem; }
.ekskul-info-body h2 { font-size: 1.25rem; margin: .1rem 0 .3rem; }
.ekskul-info-body p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.ekskul-meta { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; color: var(--muted); font-size: .86rem; }
.ekskul-meta i { color: var(--orange); margin-right: .35rem; }
.ekskul-info-act { display: flex; flex-direction: column; gap: .4rem; flex: none; }
@media (max-width: 767.98px) { .ekskul-info { flex-wrap: wrap; } .ekskul-info-act { flex-direction: row; flex-wrap: wrap; width: 100%; } }
/* Link "Lihat berita" selalu sejajar di dasar kartu */
a.ekskul { align-items: stretch; }
a.ekskul .ekskul-ikon { align-self: flex-start; }
a.ekskul .ekskul-link { margin-top: auto; padding-top: .6rem; }

/* ==========================================================
   v12 · Strip "SMK SILBER dalam angka" (ringkas & statis)
   ========================================================== */
.angka-sec { padding: 40px 0 8px; }
.angka-strip { display: grid; grid-template-columns: auto repeat(5, minmax(0,1fr)); align-items: stretch; background: linear-gradient(120deg, #06134A 0%, #0F2270 60%, #16307F 100%); border-radius: var(--r-lg); color: #fff; overflow: hidden; position: relative; box-shadow: var(--sh-2); }
.angka-strip.n6 { grid-template-columns: auto repeat(6, minmax(0,1fr)); }
.angka-strip.n4 { grid-template-columns: auto repeat(4, minmax(0,1fr)); }
.angka-strip.n3 { grid-template-columns: auto repeat(3, minmax(0,1fr)); }
.angka-strip::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 28px; background: var(--orange); opacity: .9; transform: rotate(-14deg); pointer-events: none; }
.angka-judul { margin: 0; padding: 1.1rem 1.5rem; display: flex; flex-direction: column; justify-content: center; font-size: 1.05rem; line-height: 1.15; color: #fff; font-weight: 800; background: rgba(255,255,255,.06); border-right: 1px solid rgba(255,255,255,.12); white-space: nowrap; }
.angka-judul span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #FFB08A; font-weight: 800; margin-bottom: .2rem; }
.angka-item { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; border-right: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; min-width: 0; }
.angka-item:last-child { border-right: 0; }
.angka-item > i { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255,79,1,.18); color: #FF8A4C; font-size: 1rem; }
.angka-item div { min-width: 0; display: flex; flex-direction: column; }
.angka-item b { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.angka-item span { font-size: .78rem; color: #C9D2F2; line-height: 1.25; margin-top: .15rem; }
.angka-item small { font-size: .68rem; color: #8FA0D6; line-height: 1.2; margin-top: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1199.98px) {
  .angka-strip, .angka-strip.n6, .angka-strip.n4, .angka-strip.n3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .angka-judul { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: .4rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: .8rem 1.2rem; }
  .angka-judul span { margin: 0; }
  .angka-item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .angka-item small { white-space: normal; }
}
@media (max-width: 575.98px) {
  .angka-strip, .angka-strip.n6, .angka-strip.n4, .angka-strip.n3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .angka-item { padding: .8rem .85rem; gap: .55rem; }
  .angka-item > i { width: 30px; height: 30px; font-size: .9rem; }
  .angka-item b { font-size: 1.2rem; }
  .angka-item span { font-size: .72rem; }
  .angka-item small { display: none; }
  .angka-strip::after { width: 80px; height: 80px; right: -30px; top: -30px; }
}
/* Baris selalu terisi penuh di tablet & HP */
@media (max-width: 1199.98px) and (min-width: 576px) {
  .angka-strip, .angka-strip.n6, .angka-strip.n4, .angka-strip.n3 { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .angka-item { grid-column: span 2; }
  .angka-strip.n5 .angka-item:nth-last-child(-n+2), .angka-strip.n4 .angka-item { grid-column: span 3; }
}
@media (max-width: 575.98px) { .angka-item:last-child:nth-child(even) { grid-column: 1 / -1; } }

/* Mitra kerja sama (atas footer) */
.mitra-strip { background: var(--surface); border-top: 1px solid var(--line); padding: 1.75rem 0; }
.mitra-judul { text-align: center; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.1rem; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.mitra-judul i { color: var(--orange); font-size: 1rem; }
.mitra-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mitra-view.is-static { -webkit-mask-image: none; mask-image: none; }
.mitra-track { display: flex; align-items: center; gap: 2.5rem; width: max-content; animation: marquee 45s linear infinite; }
.mitra-view.is-static .mitra-track { width: auto; flex-wrap: wrap; justify-content: center; animation: none; gap: 1.5rem 2.5rem; }
.mitra-view:hover .mitra-track, .mitra-view:focus-within .mitra-track { animation-play-state: paused; }
.mitra-logo { display: inline-flex; align-items: center; justify-content: center; height: 56px; flex: none; }
.mitra-logo img { max-height: 48px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.mitra-logo:hover img, .mitra-logo:focus-visible img { filter: none; opacity: 1; }
[data-theme="dark"] .mitra-logo img { filter: grayscale(1) brightness(1.6); }
[data-theme="dark"] .mitra-logo:hover img { filter: none; }
@media (max-width: 575.98px) { .mitra-track { gap: 1.75rem; } .mitra-logo img { max-height: 38px; max-width: 110px; } }
@media (prefers-reduced-motion: reduce) { .mitra-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
/* Hiasan tidak lagi menutupi angka: jadi aksen oranye di blok judul */
.angka-strip::after { display: none; }
.angka-judul { position: relative; }
.angka-judul::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 0 4px 4px 0; background: var(--orange); }
@media (max-width: 1199.98px) { .angka-judul::before { top: 0; bottom: auto; left: 1.2rem; width: 36px; height: 3px; border-radius: 0 0 3px 3px; } }
