/* =========================================================
   English Education UNJA — Prodi S1 Pendidikan Bahasa Inggris
   Three themes: Global Azure · Sunset Horizon · Silver Prestige
   ========================================================= */

/* Tema mengikuti rancangan: Global Azure (biru + kuning), Sunset Horizon (oranye + putih),
   Silver Prestige (silver + oranye). Masing-masing punya mode terang & gelap (data-mode). */
:root,
[data-theme="azure"] {
  --brand: #0b52b8;
  --brand-2: #1a73e8;
  --brand-deep: #062f6e;
  --brand-ink: #041d45;
  --topbar: #0a4bab;
  --accent: #f6a313;            /* tombol utama: kuning-amber seperti rancangan */
  --accent-2: #ffc53d;
  --accent-ink: #1d1400;
  --icon: #0b52b8;              /* ikon & garis judul */
  --link: #0b52b8;
  --em: #f07a12;                /* kata berwarna di judul */
  --hi: #ffc21c;                /* kata berwarna di hero */
  --heading: #062f6e;
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --ink: #0e1b33;
  --muted: #5a6b85;
  --line: #dde5f1;
  --hero-img: url("../assets/img/hero-azure.jpg");
  --band-img: url("../assets/img/gedung-fkip.jpg");   /* foto udara gedung FKIP UNJA */
  --hero-overlay: linear-gradient(90deg, rgba(4, 34, 92, .92) 0%, rgba(7, 64, 160, .78) 38%, rgba(11, 82, 184, .15) 70%, rgba(0, 0, 0, 0) 100%);
  --on-hero: #fff;
  --on-hero-muted: rgba(255, 255, 255, .84);
  --banner-ink: #fff;
  --shadow: 0 18px 40px -18px rgba(6, 47, 110, .35);
  --shadow-sm: 0 6px 18px -8px rgba(6, 47, 110, .28);
}

[data-theme="sunset"] {
  --brand: #e2650f;
  --brand-2: #ff8a2a;
  --brand-deep: #9c3d03;
  --brand-ink: #3d1600;
  --topbar: #dd5f0a;
  --accent: #f07a1a;
  --accent-2: #ff9a45;
  --accent-ink: #fff;
  --icon: #e2650f;
  --link: #d45a08;
  --em: #e2650f;
  --hi: #ffe08a;
  --heading: #7a3005;
  --bg: #fff8f2;
  --surface: #ffffff;
  --surface-2: #fff0e3;
  --ink: #2a1607;
  --muted: #7a5a44;
  --line: #f3dfcd;
  --hero-img: url("../assets/img/hero-silver.jpg");
  --band-img: url("../assets/img/gedung-fkip.jpg");   /* foto udara gedung FKIP UNJA */
  --hero-overlay: linear-gradient(90deg, rgba(176, 66, 0, .93) 0%, rgba(233, 110, 22, .82) 38%, rgba(255, 150, 60, .2) 70%, rgba(0, 0, 0, 0) 100%);
  --on-hero: #fff;
  --on-hero-muted: rgba(255, 255, 255, .9);
  --banner-ink: #fff;
  --shadow: 0 18px 40px -18px rgba(156, 61, 3, .35);
  --shadow-sm: 0 6px 18px -8px rgba(156, 61, 3, .28);
}

[data-theme="silver"] {
  --brand: #4a5d78;
  --brand-2: #6b809c;
  --brand-deep: #1f3047;
  --brand-ink: #141c27;
  --topbar: #5b6676;
  --accent: #f57c1f;
  --accent-2: #ff9d3d;
  --accent-ink: #fff;
  --icon: #f57c1f;
  --link: #e0690c;
  --em: #f57c1f;
  --hi: #f57c1f;
  --heading: #1c2b44;
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #eaeef3;
  --ink: #18212d;
  --muted: #5f6b7a;
  --line: #dde2e9;
  --hero-img: url("../assets/img/hero-silver.jpg");
  --band-img: url("../assets/img/gedung-fkip.jpg");   /* foto udara gedung FKIP UNJA */
  --hero-overlay: linear-gradient(90deg, rgba(246, 248, 251, .97) 0%, rgba(236, 240, 245, .9) 38%, rgba(236, 240, 245, .25) 68%, rgba(0, 0, 0, 0) 100%);
  --on-hero: #18212d;
  --on-hero-muted: #45505f;
  --banner-ink: #18212d;
  --shadow: 0 18px 40px -18px rgba(31, 48, 71, .3);
  --shadow-sm: 0 6px 18px -8px rgba(31, 48, 71, .25);
}

/* ---------- mode gelap ---------- */
[data-mode="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --surface: #121b2d;
  --surface-2: #1a2640;
  --ink: #e6ecf6;
  --muted: #9aa7bd;
  --line: #26344e;
  --heading: #f1f5fc;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .75);
  --shadow-sm: 0 6px 18px -8px rgba(0, 0, 0, .6);
}
[data-theme="azure"][data-mode="dark"] { --brand: #3b82f6; --brand-2: #60a5fa; --brand-deep: #0b2d66; --brand-ink: #050b18; --topbar: #07285c; --icon: #60a5fa; --link: #7cb5ff; --em: #ffb347; }
[data-theme="sunset"][data-mode="dark"] {
  --brand: #f07a1a; --brand-2: #ff9a45; --brand-deep: #7a2f02; --brand-ink: #120904; --topbar: #8a3604; --icon: #ff9a45; --link: #ffad66; --em: #ffad66;
  --bg: #140d08; --surface: #1e150e; --surface-2: #2b1d12; --line: #3d2a1c; --muted: #c4a68e; --ink: #f6ece4;
}
[data-theme="silver"][data-mode="dark"] {
  --brand: #8aa2c0; --brand-2: #a9bdd6; --brand-deep: #2a3a52; --brand-ink: #0a0d12; --topbar: #262e3a; --icon: #ff9d3d; --link: #ffad66; --em: #ff9d3d;
  --bg: #0f1217; --surface: #171c24; --surface-2: #212833; --line: #2e3744; --muted: #a2adbb;
  --hero-overlay: linear-gradient(90deg, rgba(15, 19, 26, .95) 0%, rgba(28, 36, 48, .86) 38%, rgba(28, 36, 48, .25) 68%, rgba(0, 0, 0, 0) 100%);
  --on-hero: #fff; --on-hero-muted: rgba(255, 255, 255, .82); --banner-ink: #fff;
}
[data-mode="dark"] .tag.q1 { background: rgba(34, 197, 94, .16); color: #86efac; }
[data-mode="dark"] .tag.q2 { background: rgba(56, 189, 248, .16); color: #7dd3fc; }
[data-mode="dark"] .tag.q3 { background: rgba(234, 179, 8, .16); color: #fde047; }
[data-mode="dark"] .tag.q4 { background: rgba(244, 63, 94, .16); color: #fda4af; }
[data-mode="dark"] .tag.src-scopus { background: rgba(245, 158, 11, .16); color: #fcd34d; }
[data-mode="dark"] .tag.src-garuda { background: rgba(16, 185, 129, .16); color: #6ee7b7; }
[data-mode="dark"] .tag.src-gs { background: rgba(59, 130, 246, .18); color: #93c5fd; }
[data-mode="dark"] .hero::before { filter: brightness(.8); }
[data-mode="dark"] .page-banner { filter: none; }
[data-mode="dark"][data-theme="silver"] .hero-badges > span { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Manrope", sans-serif; line-height: 1.15; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.svg-sprite { display: none; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 10px 22px -10px var(--accent); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--on-hero); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-line { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
[data-theme="sunset"] .btn-accent { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-sm); }
[data-theme="sunset"] .nav-cta, [data-theme="sunset"] .hub-panel .btn-accent { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--link); }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- utility bar ---------- */
.utility-bar { background: var(--topbar); color: rgba(255, 255, 255, .88); font-size: .8rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.utility-inner > span { display: inline-flex; align-items: center; gap: .5em; }
.utility-links { display: flex; align-items: center; gap: 14px; }
.utility-links a:hover { color: #fff; text-decoration: underline; }
.lang-switch { background: none; border: 0; padding: 2px 4px; font-weight: 700; opacity: .6; color: inherit; }
.lang-switch.active { opacity: 1; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.sep { opacity: .4; }
/* pemilih tema & mode di bilah atas */
.utility-links .theme-switch { display: inline-flex; align-items: center; gap: 3px; background: rgba(255, 255, 255, .12); padding: 3px; border-radius: 999px; }
.theme-cap { font-size: .7rem; font-weight: 800; opacity: .75; padding: 0 6px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.theme-opt { border: 0; background: none; color: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; font-size: .74rem; font-weight: 700; line-height: 1; transition: background .2s, color .2s; }
.theme-opt:hover { background: rgba(255, 255, 255, .16); }
.theme-opt[aria-pressed="true"] { background: #fff; color: #142033; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); flex: none; }
.swatch.azure { background: conic-gradient(#0b52b8 0 60%, #ffc21c 0); }
.swatch.sunset { background: conic-gradient(#e2650f 0 60%, #ffffff 0); }
.swatch.silver { background: conic-gradient(#c3cbd6 0 60%, #f57c1f 0); }
.mode-toggle { width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: inline-grid; place-items: center; transition: background .2s, transform .3s; }
.mode-toggle:hover { background: rgba(255, 255, 255, .26); transform: rotate(-15deg); }
.utility-links .theme-switch[hidden], .mode-toggle[hidden] { display: none; }
.mode-toggle .icon { width: 15px; height: 15px; grid-area: 1 / 1; }
.mode-toggle .i-sun, [data-mode="dark"] .mode-toggle .i-moon { display: none; }
[data-mode="dark"] .mode-toggle .i-sun { display: block; }
body, .site-header, .item, .lecturer, .hub-panel, .fact, .vm-card, .step, .explore-card, .contact-card, .feature-card, .news-item { transition: background-color .35s ease, border-color .35s ease, color .35s ease; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; isolation: isolate;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
/* latar buram dipasang di lapisan terpisah: backdrop-filter pada header memotong dropdown menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 46px; height: 46px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.22rem; font-weight: 800; color: var(--heading); letter-spacing: -.02em; white-space: nowrap; }
.brand-copy strong span { color: var(--em); }
[data-theme="sunset"] .brand-copy strong span { color: var(--brand); }
.brand-copy small { font-size: .62rem; letter-spacing: .24em; font-weight: 700; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav .nav-top {
  display: inline-flex; align-items: center; gap: 4px; position: relative; padding: 10px 11px; font-weight: 700; font-size: .88rem; color: var(--ink); border-radius: 10px;
  transition: color .2s, background .2s;
}
.main-nav .nav-top::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2.5px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.main-nav .nav-top:hover, .nav-item:hover > .nav-top, .nav-item:focus-within > .nav-top { color: var(--brand); }
.main-nav .nav-item.active > .nav-top { color: var(--brand); }
.main-nav .nav-item.active > .nav-top::after, .main-nav .nav-top:hover::after, .nav-item:hover > .nav-top::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.icon-btn kbd { display: none; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--on-hero);
  min-height: clamp(560px, 82vh, 760px);
  display: flex; align-items: center;
  background: var(--brand-deep);
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img) center right / cover no-repeat; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay); opacity: var(--hero-dim, 1); }
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- media hero: foto 3 lapis / video YouTube (diatur lewat menu Tampilan) ---------- */
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; display: none; background: var(--brand-deep); }
.hero.has-media::before { display: none; }
.hero.has-media .hero-media { display: block; }
.hero-layer { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s ease-out; }
.hero-layer.on { opacity: 1; transform: scale(1); }
.hero-video { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0; pointer-events: none; opacity: 0; transition: opacity .6s; }
.hero-video.playing { opacity: 1; }
.hero-poster { position: absolute; inset: 0; background: center / cover no-repeat; }
/* slide: titik + penghitung di tengah bawah, panah di tepi kiri & kanan */
.hero-dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 132px; display: flex; gap: 8px; align-items: center; color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .1em; background: rgba(8, 18, 38, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 10px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); white-space: nowrap; }
.hero-dots[hidden] { display: none; }
.hero-dots [data-dot] { appearance: none; flex: none; width: 26px; height: 6px; border-radius: 6px; border: 0; padding: 0; margin: 0; background: rgba(255, 255, 255, .42); cursor: pointer; transition: background-color .3s, width .3s; }
.hero-dots [data-dot]:hover { background: rgba(255, 255, 255, .7); }
.hero-dots [data-dot][aria-pressed="true"] { background: #fff; width: 46px; }
.hero-dots [data-dot]:focus-visible, .hero-arrow:focus-visible, .dots-sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-dots .dots-count { margin-left: 6px; font-variant-numeric: tabular-nums; opacity: .9; }
.hero-dots .dots-sound { appearance: none; border: 0; margin-left: 4px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink, #fff); font: inherit; font-size: .74rem; letter-spacing: .02em; cursor: pointer; }
.hero-dots .dots-sound[hidden] { display: none; }
.hero-arrow { appearance: none; position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(8, 18, 38, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: background-color .25s, transform .25s; }
.hero-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-arrow:hover { background: var(--accent); border-color: transparent; color: var(--accent-ink, #fff); transform: translateY(-50%) scale(1.06); }
.hero-arrow.prev { left: max(12px, calc((100% - 1200px) / 4 - 26px)); }
.hero-arrow.next { right: max(12px, calc((100% - 1200px) / 4 - 26px)); }
.hero.has-arrows:has(.hero-dots:not([hidden])) .hero-inner { padding-bottom: 210px; }
/* layar sedang: beri ruang agar panah tidak menimpa teks */
@media (min-width: 721px) and (max-width: 1340px) { .hero.has-arrows .hero-inner { width: min(1200px, 100% - 150px); } }
.hero-layer.is-video { background-color: #0b1220; }
.hero-layer .hero-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card .hero-video { width: max(100%, 177.78%); height: 100%; }
.video-btn[hidden] { display: none; }
.video-btn .play-dot { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--on-hero); color: var(--brand-deep); font-size: .62rem; padding-left: 2px; }
/* template: Tengah */
.hero.tpl-center .hero-text { margin-inline: auto; text-align: center; max-width: 820px; }
.hero.tpl-center .hero-desc { margin-inline: auto; }
.hero.tpl-center .eyebrow, .hero.tpl-center .hero-actions, .hero.tpl-center .hero-badges { justify-content: center; }
.hero.tpl-center::after { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-deep) 70%, transparent), color-mix(in srgb, var(--brand-deep) 88%, transparent)); }
[data-theme="silver"]:not([data-mode="dark"]) .hero.tpl-center::after { background: linear-gradient(180deg, rgba(246, 248, 251, .82), rgba(236, 240, 245, .94)); }
[data-theme="sunset"] .hero.tpl-center::after { background: linear-gradient(180deg, rgba(176, 66, 0, .72), rgba(200, 80, 10, .9)); }
/* template: Split (teks + kartu foto/video) */
.hero.tpl-split .hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero.tpl-split::after { background: linear-gradient(90deg, color-mix(in srgb, var(--brand-deep) 94%, transparent), color-mix(in srgb, var(--brand) 80%, transparent)); }
[data-theme="silver"]:not([data-mode="dark"]) .hero.tpl-split::after { background: linear-gradient(90deg, rgba(246, 248, 251, .96), rgba(232, 237, 243, .9)); }
.hero-card { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); border: 6px solid rgba(255, 255, 255, .85); background: var(--surface-2) center / cover no-repeat; }
.hero-card[hidden] { display: none; }
.hero-card .hero-layer { transform: none; }
.hero-card .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--brand-deep); font-size: 1.6rem; padding-left: 6px; box-shadow: 0 0 0 12px rgba(255, 255, 255, .25); cursor: pointer; transition: transform .2s; }
.hero-card .play:hover { transform: scale(1.08); }
.hero-card .cap { position: absolute; left: 14px; bottom: 14px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
/* video modal */
.video-box { position: relative; width: min(1000px, 100%); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-close { position: absolute; right: -6px; top: -52px; }
.hero-swoosh { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0; width: 100%; height: 120px; pointer-events: none; }
.hero-swoosh .s1 { fill: var(--accent); opacity: .95; }
.hero-swoosh .s2 { fill: var(--bg); }
[data-theme="sunset"] .hero-swoosh .s1 { fill: #ffd08a; }
.hero-inner { position: relative; z-index: 1; padding: 72px 0 150px; }
.hero-text { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--icon); }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: currentColor; }
.hero .eyebrow { color: var(--on-hero); }
.hero .eyebrow::before { background: var(--accent); }
[data-theme="sunset"] .hero .eyebrow::before { background: var(--hi); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; margin: 18px 0 18px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--hi); display: block; }
.hero-desc { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--on-hero-muted); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-badges > span { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.hero-badges > span.badge-acc { background: var(--accent); border-color: transparent; color: #fff; }
[data-theme="sunset"] .hero-badges > span.badge-acc { background: #fff; color: var(--brand-deep); }
[data-theme="silver"] .hero-badges > span { background: rgba(255, 255, 255, .7); border-color: var(--line); }
[data-theme="silver"] .hero-badges > span.badge-acc, [data-theme] .hero-badges > span.badge-acc:not([data-x]) { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
[data-theme="sunset"] .hero-badges > span.badge-acc:not([data-x]) { background: #fff; color: var(--brand-deep); }
[data-theme="silver"] .btn-ghost { color: var(--on-hero); }

/* ---------- quick links + stats ---------- */
.quick-wrap { position: relative; z-index: 5; margin-top: -92px; }
.quick-links {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
  overflow: hidden;
}
.quick-links a { display: flex; align-items: center; gap: 12px; padding: 22px 18px; font-weight: 700; font-size: .9rem; line-height: 1.25; border-right: 1px solid var(--line); transition: background .2s, color .2s; }
.quick-links a:last-child { border-right: 0; }
.quick-links a .icon { width: 30px; height: 30px; color: var(--icon); stroke-width: 1.6; transition: transform .25s; }
.quick-links a:hover { background: var(--surface-2); color: var(--brand); }
.quick-links a:hover .icon { transform: translateY(-3px) scale(1.06); }

.stats-band { margin-top: 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-radius: 22px; overflow: hidden; background: linear-gradient(120deg, var(--brand-deep), var(--brand)); color: #fff; box-shadow: var(--shadow); position: relative; }
.stats-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 160px at 90% 0%, rgba(255, 255, 255, .18), transparent 60%); pointer-events: none; }
.stat { padding: 22px 20px; display: flex; align-items: center; gap: 14px; border-right: 1px solid rgba(255, 255, 255, .16); }
.stat:last-child { border-right: 0; }
.stat .icon { width: 34px; height: 34px; stroke-width: 1.5; opacity: .9; }
.stat strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.65rem; font-weight: 800; line-height: 1; }
.stat small { display: block; font-size: .78rem; opacity: .85; margin-top: 5px; line-height: 1.25; }
.stats-note { font-size: .74rem; color: var(--muted); margin-top: 8px; text-align: right; }

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-top: 12px; color: var(--heading); }
.section-head h2 em { font-style: normal; color: var(--em); }
.section-head p { color: var(--muted); max-width: 620px; margin-top: 12px; }
.lead { font-size: 1.08rem; color: var(--muted); }

/* reveal */
.reveal { transform: translateY(18px); transition: transform .5s ease; }   /* konten selalu terlihat; hanya efek geser */
.reveal.show { opacity: 1; transform: none; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 26px; aspect-ratio: 4/3.2; object-fit: cover; width: 100%; height: auto; box-shadow: var(--shadow); }
.about-media .float-card { position: absolute; right: -18px; bottom: -26px; background: var(--surface); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 280px; border: 1px solid var(--line); }
.float-card .icon { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--surface-2); color: var(--icon); }
.float-card strong { display: block; font-size: .95rem; }
.float-card small { color: var(--muted); font-size: .8rem; }
.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--heading); margin: 12px 0 18px; }
.about-copy h2 em { font-style: normal; color: var(--em); }
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.fact { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.fact small { display: block; color: var(--muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.fact strong { font-size: .98rem; }

.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.vm-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; position: relative; overflow: hidden; }
.section.alt .vm-card { background: var(--bg); }
.vm-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--accent), var(--brand)); }
.vm-card h3 { font-size: 1.12rem; margin-bottom: 10px; color: var(--heading); display: flex; align-items: center; gap: 10px; }
.vm-card h3 .icon { color: var(--icon); width: 24px; height: 24px; }
.vm-card p, .vm-card li { color: var(--muted); font-size: .95rem; }
.vm-card ul { margin: 0; padding-left: 18px; }
.vm-card .src { display: block; margin-top: 12px; font-size: .74rem; color: var(--muted); opacity: .85; }

.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.leader { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.section.alt .leader { background: var(--bg); }
.leader img, .leader .ph { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.leader small { display: block; color: var(--muted); font-size: .74rem; font-weight: 700; }
.leader strong { font-size: .9rem; line-height: 1.25; display: block; }

/* ---------- academics ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; position: relative; transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--surface-2); position: absolute; right: 18px; top: 14px; }
.step .icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.step h3 { font-size: 1.08rem; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: .92rem; }
.step .chips { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--heading); border: 1px solid var(--line); }
.chip.accent { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--em); border-color: transparent; }
[data-theme="sunset"] .chip.accent { color: var(--heading); background: #ffe2c6; }

.program-band { margin-top: 40px; border-radius: 26px; overflow: hidden; position: relative; min-height: 220px; display: flex; align-items: center; background: var(--band-img) center / cover no-repeat; box-shadow: var(--shadow); }
.program-band .inner { padding: 36px 40px; max-width: 560px; color: #fff; }
[data-theme="silver"] .program-band .inner { color: #18212d; }
.program-band h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; }
.program-band p { margin: 10px 0 18px; opacity: .92; }

/* ---------- lecturers ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.search-field { flex: 1 1 260px; position: relative; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input { width: 100%; padding: 13px 14px 13px 42px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font: inherit; color: var(--ink); }
.search-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }
.select { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-weight: 600; color: var(--ink); }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: .85rem; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.count-note { color: var(--muted); font-size: .85rem; font-weight: 600; }

.lecturer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.lecturer {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-align: left;
  display: flex; flex-direction: column; padding: 0; transition: transform .25s, box-shadow .25s, border-color .25s; width: 100%;
}
.lecturer:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.lecturer .photo { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--surface-2), color-mix(in srgb, var(--brand) 22%, var(--surface-2))); overflow: hidden; }
.lecturer .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .5s; }
.lecturer:hover .photo img { transform: scale(1.05); }
.lecturer .rank { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--brand-deep); font-weight: 800; font-size: .72rem; padding: 4px 9px; border-radius: 999px; }
.lecturer .score { position: absolute; bottom: 12px; right: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .75rem; padding: 5px 10px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 3rem; color: var(--brand); background: linear-gradient(160deg, var(--surface-2), color-mix(in srgb, var(--brand) 25%, var(--surface-2))); }
.leader .ph { font-size: 1.1rem; }
.lecturer .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lecturer h3 { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.lecturer .subj { color: var(--muted); font-size: .82rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.metrics span { background: var(--bg); border-radius: 10px; padding: 7px 6px; text-align: center; font-size: .66rem; color: var(--muted); font-weight: 700; line-height: 1.2; }
.metrics b { display: block; font-size: .98rem; color: var(--ink); font-family: "Plus Jakarta Sans", sans-serif; }

/* ---------- hub / tabs ---------- */
.hub-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 26px; }
.hub-tab {
  border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 16px; text-align: left;
  display: flex; gap: 12px; align-items: center; transition: all .25s;
}
.hub-tab .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--surface-2); color: var(--brand); transition: all .25s; }
.hub-tab strong { display: block; font-size: .95rem; line-height: 1.2; }
.hub-tab small { color: var(--muted); font-size: .75rem; font-weight: 700; }
.hub-tab:hover { border-color: var(--brand); }
.hub-tab[aria-selected="true"] { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.hub-tab[aria-selected="true"] small { color: rgba(255, 255, 255, .8); }
.hub-tab[aria-selected="true"] .icon { background: rgba(255, 255, 255, .16); color: #fff; }
.hub-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--shadow-sm); }
.section.alt .hub-panel { background: var(--bg); }
.hub-panel[hidden] { display: none; }
.panel-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: start; margin-bottom: 20px; }
.panel-head h3 { font-size: 1.45rem; color: var(--heading); }
.panel-head p { color: var(--muted); font-size: .92rem; margin-top: 6px; max-width: 640px; }
.mini-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-stats div { background: var(--surface-2); border-radius: 14px; padding: 10px 14px; min-width: 96px; }
.mini-stats b { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.3rem; color: var(--heading); line-height: 1.1; }
.mini-stats small { font-size: .72rem; color: var(--muted); font-weight: 700; }

.item-list { display: grid; gap: 12px; margin-top: 18px; }
.item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; transition: border-color .2s, box-shadow .2s;
}
.section.alt .item { background: var(--surface); }
.item:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow-sm); }
.item .yr { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--brand); background: var(--surface-2); border-radius: 12px; padding: 8px 10px; font-size: .88rem; min-width: 58px; text-align: center; }
.item h4 { font-size: .98rem; font-weight: 700; line-height: 1.35; }
.item h4 a:hover { color: var(--brand); text-decoration: underline; }
.item .meta { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.item .meta b { color: var(--ink); font-weight: 700; }
.item .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--heading); letter-spacing: .02em; }
.tag.q1 { background: #dcfce7; color: #166534; }
.tag.q2 { background: #e0f2fe; color: #075985; }
.tag.q3 { background: #fef9c3; color: #854d0e; }
.tag.q4 { background: #ffe4e6; color: #9f1239; }
.tag.src-scopus { background: #fff1e6; color: #b45309; }
.tag.src-garuda { background: #ecfdf5; color: #047857; }
.tag.src-gs { background: #eff6ff; color: #1d4ed8; }
.item .side { color: var(--muted); font-size: .78rem; font-weight: 700; text-align: right; white-space: nowrap; }
.more-row { display: flex; justify-content: center; margin-top: 18px; }
.empty { text-align: center; color: var(--muted); padding: 30px; border: 1px dashed var(--line); border-radius: 16px; }

.sub-head { font-size: 1.05rem; margin: 28px 0 4px; color: var(--heading); display: flex; align-items: center; gap: 10px; }
.sub-head .icon { color: var(--icon); }

.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.show-card { border-radius: 18px; overflow: hidden; position: relative; min-height: 170px; color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(160deg, var(--brand-2), var(--brand-deep)); }
.show-card:nth-child(2) { background: linear-gradient(160deg, var(--accent-2), var(--accent)); }
.show-card:nth-child(3) { background: linear-gradient(160deg, #7c3aed, #4c1d95); }
.show-card:nth-child(4) { background: linear-gradient(160deg, #0d9488, #134e4a); }
.show-card .icon { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; opacity: .7; }
.show-card small { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.show-card strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.15rem; line-height: 1.2; }

.suggest { margin-top: 26px; border-radius: 20px; padding: 22px 24px; background: repeating-linear-gradient(-45deg, var(--surface-2), var(--surface-2) 10px, var(--surface) 10px, var(--surface) 20px); border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--line)); }
.suggest h4 { font-size: 1rem; display: flex; gap: 8px; align-items: center; color: var(--heading); }
.suggest ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: .9rem; display: grid; gap: 4px; }

/* ---------- journal / events ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-card { border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card .cover { aspect-ratio: 16/8; position: relative; overflow: hidden; }
.feature-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.feature-card .cover.grad { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-deep), var(--brand) 60%, var(--accent)); color: #fff; text-align: center; padding: 20px; }
.cover.grad b { font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: .04em; line-height: 1; display: block; }
.cover.grad span { font-weight: 700; opacity: .9; letter-spacing: .12em; font-size: .78rem; text-transform: uppercase; }
.feature-card .fc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feature-card h3 { font-size: 1.25rem; color: var(--heading); }
.feature-card p { color: var(--muted); font-size: .94rem; }
.feature-card .text-link { margin-top: auto; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.news-main { position: relative; border-radius: 26px; overflow: hidden; min-height: 440px; color: #fff; display: flex; align-items: end; box-shadow: var(--shadow); }
.news-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-main:hover img { transform: scale(1.04); }
.news-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(3, 12, 30, .88)); }
.news-main .nm-body { position: relative; z-index: 1; padding: 28px; }
.news-main h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 10px 0; }
.news-main p { opacity: .88; font-size: .95rem; max-width: 560px; }
.date { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.news-main .date { color: rgba(255, 255, 255, .85); }
.news-side { display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; align-items: center; transition: box-shadow .2s, transform .2s; }
.news-item:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.news-item img, .news-item .thumb { width: 120px; height: 88px; border-radius: 12px; object-fit: cover; }
.news-item .thumb { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }
.news-item .thumb .icon { width: 34px; height: 34px; }
.news-item h4 { font-size: .95rem; line-height: 1.3; margin-bottom: 6px; }

/* ---------- CTA + footer ---------- */
.cta { border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; color: #fff; background: radial-gradient(500px 200px at 100% 0%, rgba(255, 255, 255, .2), transparent 60%), linear-gradient(120deg, var(--brand-deep), var(--brand)); box-shadow: var(--shadow); }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta p { opacity: .88; margin-top: 8px; }
.cta .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn-ghost { color: #fff; }

.footer { background: var(--brand-ink); color: rgba(255, 255, 255, .78); padding-top: 70px; margin-top: 96px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--accent), var(--brand-2), var(--accent)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 50px; }
.footer .brand-copy strong { color: #fff; }
.footer .brand-copy small { color: rgba(255, 255, 255, .6); }
.footer p { font-size: .9rem; margin-top: 16px; max-width: 340px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: .9rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col span, .footer-col a { display: inline-flex; gap: 8px; align-items: flex-start; }
.footer-col .icon { margin-top: 3px; color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .8rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- theme panel, back-to-top ---------- */
.back-top { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .3s; }
.back-top.visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 30, .6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal-box { background: var(--surface); width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); animation: pop .25s ease; overscroll-behavior: contain; }
@keyframes pop { from { transform: translateY(18px) scale(.98); opacity: 0; } }
.modal-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; }
.profile-hero { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 28px 28px 22px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border-bottom: 1px solid var(--line); }
.profile-hero .pic { width: 150px; height: 150px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.profile-hero .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.profile-hero h3 { font-size: 1.5rem; color: var(--heading); }
.profile-hero .ids { color: var(--muted); font-size: .82rem; margin: 6px 0 10px; font-weight: 600; }
.profile-hero .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.profile-hero .links a { font-size: .8rem; padding: 7px 12px; }
.stat-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: 4px; }
.stat-table th, .stat-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.stat-table th:first-child, .stat-table td:first-child { text-align: left; color: var(--muted); font-weight: 700; }
.stat-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.profile-body { padding: 8px 28px 28px; }
.ptabs { display: flex; gap: 6px; flex-wrap: wrap; position: sticky; top: 0; background: var(--surface); padding: 14px 0; z-index: 1; border-bottom: 1px solid var(--line); }
.ptabs button { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .82rem; color: var(--muted); }
.ptabs button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.ptabs button b { font-weight: 800; opacity: .75; margin-left: 4px; }
.profile-body .item { grid-template-columns: auto 1fr auto; }
.disclaimer { font-size: .76rem; color: var(--muted); margin-top: 16px; }

.search-box { width: min(680px, 100%); background: var(--surface); border-radius: 24px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); align-self: start; margin-top: 8vh; animation: pop .25s; }
.search-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.search-head h2 { font-size: 1.15rem; }
.search-box input { width: 100%; padding: 15px 18px; border-radius: 14px; border: 2px solid var(--line); font: inherit; font-size: 1.05rem; background: var(--bg); color: var(--ink); }
.search-box input:focus { outline: none; border-color: var(--brand); }
.search-results { margin-top: 12px; max-height: 55vh; overflow: auto; display: grid; gap: 6px; }
.search-results a, .search-results button.res { display: flex; gap: 12px; align-items: center; text-align: left; border: 0; width: 100%; background: var(--bg); padding: 11px 14px; border-radius: 12px; font-size: .92rem; }
.search-results a:hover, .search-results button.res:hover, .search-results .res:focus { background: var(--surface-2); color: var(--brand); }
.search-results .kind { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--brand); flex: none; min-width: 74px; text-align: center; }
.search-results p { color: var(--muted); padding: 10px; }

/* ---------- pages (setiap menu = halaman sendiri) ---------- */
[data-page][hidden], .page-banner[hidden] { display: none !important; }
main > [data-page]:not([hidden]) { animation: pageIn .35s ease; }
@keyframes pageIn { from { transform: translateY(10px); } }
.page-banner { position: relative; isolation: isolate; color: #fff; padding: 46px 0 40px; background: var(--band-img) center 46% / cover no-repeat; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--brand-deep) 0%, color-mix(in srgb, var(--brand) 88%, transparent) 45%, rgba(0, 0, 0, .05) 100%); }
.page-banner { color: var(--banner-ink); }
[data-theme="silver"]:not([data-mode="dark"]) .page-banner::before { background: linear-gradient(90deg, #f6f8fb 0%, rgba(240, 243, 247, .92) 45%, rgba(255, 255, 255, 0) 100%); }
.page-banner h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; margin-top: 8px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 700; opacity: .9; }
.crumbs a:hover { text-decoration: underline; }
.section.page-first { padding-top: 64px; }
.home-explore { padding-top: 70px; }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.explore-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.explore-card::after { content: "→"; position: absolute; right: 22px; top: 22px; font-weight: 800; color: var(--em); transition: transform .25s; }
.explore-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.explore-card:hover::after { transform: translateX(4px); }
.explore-card .icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 8px; }
.explore-card strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.15rem; }
.explore-card > span { color: var(--muted); font-size: .9rem; }
.explore-card b { color: var(--brand); }
.home-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.home-news a { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.home-news a:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.home-news img, .home-news .thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.home-news .thumb { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }
.home-news .thumb .icon { width: 40px; height: 40px; }
.home-news div { padding: 14px 16px 16px; }
.home-news h4 { font-size: .98rem; line-height: 1.35; margin-bottom: 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s, transform .2s; }
.contact-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.contact-card[hidden] { display: none; }
.contact-card > .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--surface-2); color: var(--icon); margin-bottom: 6px; }
.contact-card small { color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.contact-card strong { font-size: .98rem; line-height: 1.4; word-break: break-word; }
.contact-card .text-link { margin-top: auto; padding-top: 8px; font-size: .85rem; }
.footer { margin-top: 0; }
main { min-height: 50vh; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav .nav-top { padding: 10px 7px; font-size: .82rem; }
  .main-nav .nav-top::after { left: 7px; right: 7px; }
  .hub-tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1060px) {
  .mobile-menu { display: grid; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 16px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .main-nav .nav-item { border-bottom: 1px solid var(--line); }
  .main-nav .nav-top { display: flex; justify-content: space-between; width: 100%; padding: 14px 6px; font-size: .95rem; }
  .main-nav .nav-top::after { display: none; }
  .main-nav .nav-top .chev { width: 18px; height: 18px; transition: transform .2s; }
  .main-nav .nav-item.open > .nav-top .chev { transform: rotate(180deg); }
  .main-nav .nav-drop { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 12px; margin: 0 0 12px; padding: 4px 0; display: none; transition: none; }
  .main-nav .nav-item.open > .nav-drop { display: block; }
  .main-nav .nav-item:hover > .nav-drop, .main-nav .nav-item:focus-within > .nav-drop { opacity: 1; visibility: visible; }
  .main-nav .nav-drop a { padding: 12px 18px; font-size: .92rem; }
  .header-tools { margin-left: auto; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
  .quick-links a:nth-child(3) { border-right: 0; }
  .quick-links a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .stats-band { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero.tpl-split .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-card { aspect-ratio: 16 / 10; border-width: 4px; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr; }
  .news-grid, .duo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .explore-grid, .home-news { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-cap { display: none; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .theme-opt .tname { display: none; }
  .theme-opt { padding: 3px; }
  .utility-links { gap: 8px; }
  .utility-inner > span .hide-sm, .utility-links .hide-sm { display: none; }
  .nav-inner { min-height: 66px; gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 1.05rem; line-height: 1.15; white-space: normal; }
  .site-header .brand-copy strong span { display: block; }
  .brand-copy small { font-size: .55rem; letter-spacing: .18em; }
  .nav-cta { display: none; }
  .hero { min-height: 600px; }
  .hero::before { background-position: 72% center; }
  [data-theme="azure"] .hero::after { background: linear-gradient(180deg, rgba(4, 34, 92, .55) 0%, rgba(6, 47, 110, .9) 60%); }
  [data-theme="sunset"] .hero::after { background: linear-gradient(180deg, rgba(176, 66, 0, .55) 0%, rgba(200, 80, 10, .92) 60%); }
  [data-theme="silver"] .hero::after { background: linear-gradient(180deg, rgba(246, 248, 251, .55) 0%, rgba(240, 243, 247, .95) 60%); }
  .hero-inner { padding: 56px 0 130px; }
  .hero-dots { bottom: 112px; gap: 6px; padding: 9px 12px; }
  .hero-dots [data-dot] { width: 14px; }
  .hero-dots [data-dot][aria-pressed="true"] { width: 28px; }
  .hero-dots .dots-count { display: none; }
  .hero-dots .dots-sound { font-size: 0; padding: 5px 9px; letter-spacing: 0; }
  .hero-dots .dots-sound::before { content: "🔊"; font-size: .85rem; }
  .hero.has-arrows:has(.hero-dots:not([hidden])) .hero-inner, .hero.has-media:has(.hero-dots:not([hidden])) .hero-inner { padding-bottom: 176px; }
  .hero-arrow { top: auto; bottom: 108px; transform: none; width: 36px; height: 36px; }
  .hero-arrow:hover { transform: none; }
  .hero-arrow svg { width: 18px; height: 18px; }
  .hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
  .hero-card .play { width: 64px; height: 64px; font-size: 1.2rem; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .quick-links a { padding: 16px 14px; font-size: .82rem; border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .quick-links a:nth-child(2n) { border-right: 0 !important; }
  .quick-links a:nth-last-child(-n+2) { border-bottom: 0; }
  .quick-links a .icon { width: 24px; height: 24px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 16px 14px; gap: 10px; border-right: 1px solid rgba(255, 255, 255, .16) !important; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .stat:nth-child(2n) { border-right: 0 !important; }
  .stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .stat .icon { width: 26px; height: 26px; }
  .stat strong { font-size: 1.3rem; }
  .section { padding: 72px 0; }
  .fact-list { grid-template-columns: 1fr; }
  .about-media .float-card { right: 10px; bottom: -22px; left: 10px; max-width: none; }
  .journey, .leaders { grid-template-columns: 1fr; }
  .hub-tabs { grid-template-columns: 1fr 1fr; }
  .hub-tab { padding: 12px; gap: 10px; }
  .hub-tab .icon { width: 34px; height: 34px; padding: 7px; }
  .hub-tab strong { font-size: .85rem; }
  .hub-panel { padding: 18px; border-radius: 20px; }
  .item { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
  .item .yr { justify-self: start; padding: 4px 10px; min-width: 0; }
  .item .side { text-align: left; white-space: normal; }
  .lecturer-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lecturer .body { padding: 12px; }
  .lecturer h3 { font-size: .88rem; }
  .lecturer .subj { font-size: .75rem; }
  .metrics b { font-size: .85rem; }
  .metrics span { font-size: .58rem; padding: 6px 2px; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .show-card { min-height: 140px; }
  .news-item { grid-template-columns: 90px 1fr; }
  .news-item img, .news-item .thumb { width: 90px; height: 72px; }
  .news-main { min-height: 380px; }
  .cta { grid-template-columns: 1fr; padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .program-band .inner { padding: 26px 22px; }
  .program-band { background-position: 20% center; }
  .profile-hero { grid-template-columns: 1fr; padding: 22px 18px; }
  .profile-hero .pic { width: 110px; height: 110px; }
  .profile-body { padding: 4px 18px 22px; }
  .back-top { right: 10px; bottom: 10px; width: 44px; height: 44px; }
  .explore-grid, .home-news, .contact-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 30px 0 26px; }
  .section.page-first { padding-top: 44px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 8px 8px; }
}
@media (max-width: 460px) {
  .util-place { display: none !important; }
  .utility-inner { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .utility-bar, .site-header, .back-top, .hero-swoosh { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- panel tersendiri di dalam halaman (tab) ---------- */
.subtabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; width: fit-content; max-width: 100%; box-shadow: var(--shadow-sm); }
.subtabs button { border: 0; background: none; padding: 10px 18px; border-radius: 11px; font-weight: 800; font-size: .92rem; color: var(--muted); transition: background .2s, color .2s; }
.subtabs button:hover { color: var(--heading); background: var(--surface-2); }
.subtabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; box-shadow: var(--shadow-sm); }
.subpanel[hidden] { display: none; }
.subpanel:not([hidden]) { animation: pageIn .3s ease; }

/* ---------- tombol Masuk Admin ---------- */
.btn-login { padding: .7em 1.1em; font-size: .88rem; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-login:hover { color: #fff; }
@media (max-width: 720px) {
  .btn-login { padding: 0; width: 42px; height: 42px; border-radius: 50%; justify-content: center; }
  .btn-login span { display: none; }
  .subtabs { width: 100%; }
  .subtabs button { flex: 1 1 auto; padding: 9px 10px; font-size: .82rem; }
}
.duo.one { grid-template-columns: 1fr; max-width: 820px; }
.subpanel .contact-grid { margin-bottom: 0; }

/* status pemuatan (versi Google Apps Script) */
#pbi-status { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; background: var(--brand-deep); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
#pbi-status.err { background: #c62828; border-radius: 14px; }
.pbi-ready #pbi-status:not(.err) { display: none; }


/* ---------- menu dropdown (panel → sub-panel) ---------- */
:root { --drop-bg: #2f3338; --drop-line: rgba(255, 255, 255, .07); --drop-ink: #f1f3f6; }
[data-mode="dark"] { --drop-bg: #262b33; --drop-line: rgba(255, 255, 255, .08); }
.main-nav .nav-item { position: relative; }
.main-nav .chev { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav-drop {
  position: absolute; top: calc(100% + 14px); left: 0; z-index: 60; min-width: 270px; padding: 0; background: var(--drop-bg);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .55); border-radius: 0 0 10px 10px; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item.drop-end .nav-drop { left: auto; right: 0; }
.nav-item:hover > .nav-drop, .nav-item:focus-within > .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-item.esc > .nav-drop { opacity: 0; visibility: hidden; }
.nav-drop a { display: block; position: relative; padding: 15px 24px; color: var(--drop-ink); font-weight: 600; font-size: .95rem; border-bottom: 1px solid var(--drop-line); transition: background .15s, color .15s, padding .15s; }
.nav-drop a:last-child { border-bottom: 0; }
.nav-drop a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform .15s; }
.nav-drop a:hover, .nav-drop a:focus-visible, .nav-drop a.active { background: rgba(255, 255, 255, .06); color: var(--accent-2, #ffc53d); padding-left: 28px; }
.nav-drop a:hover::before, .nav-drop a.active::before { transform: scaleY(1); }
.foot-nav { display: contents; }

/* ---------- halaman panel & sub-tab ---------- */
.page-tabs { margin-bottom: 30px; }
.subtabs a { padding: 10px 18px; border-radius: 11px; font-weight: 800; font-size: .92rem; color: var(--muted); }
.subtabs a:hover { color: var(--heading); background: var(--surface-2); }
#panel-body > .container { width: 100%; }
#panel-body .subpanel { margin: 0; }
.hub-single .hub-tabs, .hub-single > .container > .section-head { display: none; }
.cpage { max-width: 980px; }
.cp-content { display: grid; gap: 28px; }
.cp-content.has-img { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
.cp-img { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.cp-img img { width: 100%; height: auto; display: block; }
.prose { color: var(--ink); line-height: 1.8; font-size: 1.02rem; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .6em; color: var(--heading); }
.prose h4 { font-size: 1.08rem; margin: 1.2em 0 .5em; color: var(--heading); }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 0 0 1em; padding: 12px 18px; border-left: 4px solid var(--accent); background: var(--surface-2); border-radius: 0 12px 12px 0; }
.prose figure { margin: 1.2em 0; }
.prose figure img { border-radius: 16px; width: 100%; height: auto; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.cp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 34px 0 22px; border-bottom: 2px solid var(--line); }
.cp-content + .cp-tabs { margin-top: 40px; }
.cpage > .cp-tabs:first-child { margin-top: 0; }
.cp-tabs button { border: 0; background: none; padding: 12px 18px; margin-bottom: -2px; border-bottom: 3px solid transparent; font-weight: 800; font-size: .94rem; color: var(--muted); }
.cp-tabs button:hover { color: var(--heading); }
.cp-tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--accent); }
.cp-empty { display: flex; gap: 16px; align-items: center; padding: 26px 28px; border: 1px dashed var(--line); border-radius: 18px; background: var(--surface); color: var(--muted); }
.cp-empty .icon { width: 30px; height: 30px; color: var(--icon); flex: none; }
.cp-empty p { margin: 0; font-weight: 600; }

/* ---------- sambutan ketua prodi ---------- */
.welcome-sec { padding: 84px 0; background: var(--surface); }
.welcome-off #welcome { display: none; }
#panel-body .welcome-sec { padding: 0; background: none; }
#panel-body .welcome-sec > .container { width: 100%; }
.welcome-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1080px; }
.welcome-person { margin: 0; text-align: center; }
.welcome-photo { width: 300px; height: 300px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #8a929c, #4b525b); box-shadow: var(--shadow); display: grid; place-items: center; }
.welcome-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.welcome-photo span { font-family: "Plus Jakarta Sans", sans-serif; font-size: 4.2rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.welcome-person figcaption { display: grid; gap: 6px; }
.welcome-person strong { font-size: 1.08rem; color: var(--heading); }
.welcome-person figcaption span { color: var(--muted); font-size: .96rem; }
.welcome-copy h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.25; margin: 6px 0 22px; color: var(--heading); }
.welcome-copy .prose { font-size: 1.04rem; }
.welcome-btn { margin-top: 8px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; border-radius: 4px; padding: 1em 2.2em; box-shadow: var(--shadow-sm); }
.welcome-btn:hover { color: #fff; }
@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 30px; }
  .welcome-photo { width: 220px; height: 220px; }
  .welcome-sec { padding: 60px 0; }
  .cp-content.has-img { grid-template-columns: 1fr; }
}
/* ponsel: semua tab tampil bersusun, tidak perlu digeser */
@media (max-width: 720px) {
  .page-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 6px; }
  .page-tabs button, .page-tabs a { padding: 10px 8px; font-size: .82rem; text-align: center; line-height: 1.25; }
  .cp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-bottom: 0; }
  .cp-tabs button { border: 1px solid var(--line); border-radius: 10px; margin: 0; padding: 10px 8px; font-size: .84rem; text-align: center; background: var(--surface); }
  .cp-tabs button[aria-selected="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
}

/* ---------- beranda tanpa teks / tanpa tombol (Admin → Tampilan) ---------- */
.hero.no-text .hero-text > .eyebrow, .hero.no-text .hero-desc { display: none; }
.hero.no-text #hero-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero.no-buttons .hero-actions, .hero.no-buttons .hero-badges { display: none; }
.hero.no-text.no-buttons::after { background: linear-gradient(0deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 38%); opacity: 1; }

/* ---------- sub-tab bagian bawaan ---------- */
.blk-tabs { margin: 0 0 28px; }
.hub-single #works-kind { display: none; }
[data-part][hidden] { display: none !important; }
.vm-grid:has(> [data-part]:not([hidden])) { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

/* ---------- pengumuman & agenda ---------- */
#announce-block, #events-block { width: 100%; }
.ann-list, .ev-list { display: grid; gap: 14px; max-width: 980px; }
.ann-item, .ev-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.ann-item:hover, .ev-item:hover { border-color: var(--brand); transform: translateY(-2px); }
.ann-item h3, .ev-item h3 { font-size: 1.08rem; margin: 0 0 4px; color: var(--heading); }
.ann-item p, .ev-item p { margin: 0; color: var(--muted); font-size: .94rem; }
.ann-date { font-weight: 800; font-size: .82rem; color: var(--brand); background: var(--surface-2); border-radius: 10px; padding: 8px 12px; white-space: nowrap; }
.ann-go { font-size: 1.3rem; color: var(--brand); }
.ev-item { grid-template-columns: auto minmax(0, 1fr); }
.ev-day { display: grid; place-items: center; width: 84px; padding: 10px 6px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; text-align: center; }
.ev-day b { font-size: 1.9rem; line-height: 1; font-family: "Plus Jakarta Sans", sans-serif; }
.ev-day small { font-size: .72rem; font-weight: 700; opacity: .9; }
.ev-item.past .ev-day { background: var(--surface-2); color: var(--muted); }
.ev-meta { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: .84rem !important; margin-bottom: 4px !important; }
.ev-meta .icon { width: 15px; height: 15px; }

/* ---------- halaman berita lengkap ---------- */
.news-article { max-width: 860px; }
.back-link { display: inline-block; font-weight: 800; color: var(--brand); margin-bottom: 18px; }
.na-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 12px; color: var(--muted); font-weight: 700; font-size: .88rem; }
.na-meta .date { display: inline-flex; align-items: center; gap: 6px; }
.na-meta .icon { width: 16px; height: 16px; }
.na-kind { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.news-article h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; margin: 0 0 16px; color: var(--heading); }
.na-lead { font-size: 1.12rem; color: var(--ink); font-weight: 600; line-height: 1.7; }
.na-img { margin: 0 0 24px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.na-img img { width: 100%; height: auto; display: block; }
.na-more { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.na-more h3 { margin: 0 0 4px; color: var(--heading); }
@media (max-width: 720px) {
  .ann-item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 18px; }
  .ann-date { justify-self: start; }
  .ann-go { display: none; }
  .ev-item { gap: 14px; padding: 16px; }
  .ev-day { width: 66px; }
}

/* deretan tab sub-panel yang dimatikan benar-benar disembunyikan */
#page-tabs[hidden] { display: none !important; }

/* ---------- isi berita dari editor teks kaya ---------- */
.prose.rich::after { content: ""; display: table; clear: both; }
.prose.rich img { max-width: 100%; height: auto; border-radius: 12px; display: inline-block; vertical-align: middle; }
.prose.rich img.img-center { display: block; margin: 18px auto; }
.prose.rich img.img-left { float: left; margin: 6px 22px 12px 0; }
.prose.rich img.img-right { float: right; margin: 6px 0 12px 22px; }
.prose.rich p:has(> img:only-child) { margin: 0; }
.prose.rich table { border-collapse: collapse; width: 100%; margin: 0 0 1.1em; font-size: .95rem; }
.prose.rich th, .prose.rich td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose.rich th { background: var(--surface-2); }
.prose.rich hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.prose.rich h2 { font-size: 1.5rem; margin: 1.3em 0 .6em; color: var(--heading); }
@media (max-width: 720px) { .prose.rich img.img-left, .prose.rich img.img-right { float: none; display: block; margin: 14px auto; width: 100% !important; } }

/* ---------- latar foto satu halaman (semua halaman selain beranda) ----------
   Foto gedung (--band-img) dipasang tetap di belakang seluruh halaman, dilembutkan dengan
   gradasi abu → oranye muda; banner judul & kartu dibuat transparan agar foto terlihat utuh. */
body { --wash-a: rgba(236, 239, 243, .62); --wash-b: rgba(241, 242, 244, .86); --wash-c: rgba(250, 238, 226, .90);
  --wash-tint: linear-gradient(115deg, rgba(120, 130, 145, .16) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 150, 70, .20) 100%);
  --glass: color-mix(in srgb, var(--surface) 84%, transparent); }
[data-mode="dark"] body { --wash-a: rgba(12, 15, 20, .62); --wash-b: rgba(14, 17, 22, .86); --wash-c: rgba(30, 20, 12, .90);
  --wash-tint: linear-gradient(115deg, rgba(90, 100, 115, .18) 0%, rgba(0, 0, 0, 0) 45%, rgba(230, 110, 30, .16) 100%);
  --glass: color-mix(in srgb, var(--surface) 86%, transparent); }
body.photo-page::before, body.photo-page::after { content: ""; position: fixed; inset: 0; pointer-events: none; }
body.photo-page::before { z-index: -2; background: var(--page-img, url("../assets/img/gedung-fkip.jpg")) center 40% / cover no-repeat; filter: saturate(.85) contrast(.95) blur(.6px); transform: scale(1.02); }
body.photo-page::after { z-index: -1; background: var(--wash-tint), linear-gradient(180deg, var(--wash-a) 0%, var(--wash-b) 38%, var(--wash-c) 100%); }
:root body.photo-page .page-banner { background: none; color: var(--heading); padding: 64px 0 56px; }
:root body.photo-page .page-banner::before { background: linear-gradient(90deg, rgba(242, 244, 247, .90) 0%, rgba(242, 244, 247, .55) 50%, rgba(255, 200, 160, .22) 100%); }
[data-mode="dark"] body.photo-page .page-banner { color: #fff; }
[data-mode="dark"] body.photo-page .page-banner::before { background: linear-gradient(90deg, rgba(12, 15, 20, .80) 0%, rgba(12, 15, 20, .40) 50%, rgba(160, 80, 20, .18) 100%); }
body.photo-page .page-banner h1 { text-shadow: 0 1px 18px rgba(255, 255, 255, .55); }
[data-mode="dark"] body.photo-page .page-banner h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
body.photo-page .section.alt, body.photo-page main { background: transparent; }
body.photo-page :is(.item, .lecturer, .hub-panel, .vm-card, .step, .explore-card, .contact-card, .feature-card, .news-item, .leader, .ann-item, .ev-item, .card) { background-color: var(--glass); }
body.photo-page .section.alt :is(.vm-card, .leader, .hub-panel) { background-color: var(--glass); }
body.photo-page .fact { background-color: color-mix(in srgb, var(--bg) 80%, transparent); }
@media (max-width: 720px) { body.photo-page::before { background-position: 62% 40%; } body.photo-page .page-banner { padding: 40px 0 34px; } }
@media (prefers-reduced-transparency: reduce) { body.photo-page::before { display: none; } }

/* ---------- tulisan kontras & jelas di atas foto ---------- */
body.photo-page { --muted: color-mix(in srgb, var(--ink) 80%, #8a94a3); }
[data-mode="dark"] body.photo-page { --muted: color-mix(in srgb, var(--ink) 82%, #000); }
body.photo-page .crumbs { font-size: .92rem; opacity: 1; }
body.photo-page .page-banner h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.01em; }
body.photo-page .section-head h2 { text-shadow: 0 1px 16px rgba(255, 255, 255, .9); }
body.photo-page .section-head p { color: var(--ink); font-size: 1.06rem; font-weight: 500; text-shadow: 0 1px 12px rgba(255, 255, 255, .95); }
[data-mode="dark"] body.photo-page :is(.section-head h2, .section-head p, .page-banner h1) { text-shadow: 0 2px 16px rgba(0, 0, 0, .7); }
/* sambutan ketua prodi: panel kaca agar teks terbaca jelas di atas foto */
body.photo-page #panel-body .welcome-sec > .container { background: color-mix(in srgb, var(--surface) 90%, transparent); -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 28px; padding: 48px 52px; box-shadow: 0 30px 60px -36px rgba(20, 28, 40, .45); }
body.photo-page .welcome-grid { margin: 0 auto; }
body.photo-page .welcome-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
body.photo-page .welcome-copy .prose { font-size: 1.1rem; line-height: 1.85; color: var(--ink); }
body.photo-page .welcome-person strong { font-size: 1.2rem; }
body.photo-page .welcome-person figcaption span { font-size: 1rem; color: var(--muted); font-weight: 600; }
body.photo-page .prose { color: var(--ink); }
@media (max-width: 720px) { body.photo-page #panel-body .welcome-sec > .container { padding: 28px 20px; border-radius: 22px; } body.photo-page .welcome-copy .prose { font-size: 1.04rem; } }

/* ---------- kemahasiswaan: tampilan mengikuti situs prodi FST UNJA (kartu tulisan, organisasi, alumni) ---------- */
.section-head p[data-i18n] { max-width: 760px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 34px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(15, 25, 40, .45); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(15, 25, 40, .55); }
.pc-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .pc-img img { transform: scale(1.04); }
.pc-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, var(--surface-2)), color-mix(in srgb, var(--accent) 22%, var(--surface-2))); color: var(--brand); }
.pc-ph .icon { width: 54px; height: 54px; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 22px; }
.pc-body h3 { text-align: center; font-family: "Manrope", system-ui, sans-serif; font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 500; line-height: 1.22; color: var(--ink); padding: 4px 4px 18px; margin: 0 0 16px; border-bottom: 2px solid var(--line); }
.pc-body h3 a:hover { color: var(--brand); }
.pc-date { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 1rem; font-weight: 400; }
.pc-date .icon { width: 16px; height: 16px; }
.pc-ex { text-align: justify; line-height: 1.85; margin: 14px 0 20px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.pc-more { align-self: flex-start; margin-top: auto; border-radius: 5px; padding: 12px 20px; font-size: .9rem; background: var(--brand); color: #fff; gap: 8px; }
.pc-more:hover { background: var(--brand-deep); color: #fff; }
.pc-more .icon { width: 16px; height: 16px; }
.pc-loadmore { grid-column: 1 / -1; text-align: center; }
.org-list { display: grid; gap: 30px; }
.org-card { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); gap: 56px; align-items: start; background: color-mix(in srgb, var(--surface-2) 92%, transparent); border-radius: 28px; padding: 56px 64px; }
.org-logo { background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 22px; border-radius: 4px; box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .4); }
.org-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.org-logo span { font-family: "Plus Jakarta Sans", sans-serif; font-size: 3rem; font-weight: 800; color: var(--brand); letter-spacing: .04em; }
.org-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; line-height: 1.18; color: var(--heading); margin: 0 0 22px; }
.org-quote { border-left: 3px solid var(--line); padding-left: 28px; font-style: italic; line-height: 1.85; font-size: 1.06rem; }
.org-desc .prose { font-size: inherit; } .org-desc .prose p { margin: 0 0 1.2em; }
.org-meta { margin: 0; } .org-meta > div { margin: 2px 0; } .org-meta dt { display: inline; font-weight: 800; } .org-meta dd { display: inline; margin: 0 0 0 4px; }
.org-meta a { color: var(--link, var(--brand)); }
.tracer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-bottom: 64px; }
.tracer[hidden] { display: none; }
.tracer-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--heading); margin: 0 0 24px; }
.tracer-copy .prose { text-align: justify; line-height: 1.9; }
.tracer-fig { margin: 0; }
.tracer-media img { width: 100%; display: block; border-radius: 4px; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .5); }
.tr-ph { aspect-ratio: 16 / 9; display: grid; place-content: center; justify-items: center; gap: 6px; border-radius: 4px; background: linear-gradient(135deg, #f07a1a, #f6a313); color: #fff; text-align: center; }
.tr-ph .icon { width: 56px; height: 56px; } .tr-ph b { font-size: 1.6rem; } .tr-ph small { opacity: .9; font-weight: 600; }
.tracer-btns { display: flex; flex-wrap: wrap; gap: 0; margin-top: -1px; }
.tracer-btns[hidden] { display: none; }
.tracer-btns .btn { border-radius: 0; padding: 14px 22px; gap: 8px; }
.tracer-btns .btn-primary { background: var(--brand-deep, #1d3d6e); color: #fff; }
.tracer-btns .btn-line { background: var(--brand); color: #fff; border-color: transparent; }
.tracer-fig figcaption { margin-top: 14px; color: var(--ink); line-height: 1.7; }
.al-head { margin-bottom: 26px; }
.dt-wrap { background: var(--surface); border-radius: 6px; padding: 22px; box-shadow: 0 18px 40px -32px rgba(15, 25, 40, .4); }
.dt-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; align-items: center; margin-bottom: 18px; }
.dt-tools label { display: inline-flex; align-items: center; gap: 10px; }
.dt-tools select, .dt-tools input { border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; background: var(--surface); color: var(--ink); font: inherit; }
.dt-tools input { min-width: 240px; }
.dt-scroll { overflow-x: auto; }
.dt { width: 100%; border-collapse: collapse; min-width: 620px; }
.dt thead th { background: var(--brand); color: #fff; padding: 0; text-align: left; }
.dt thead th button { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 15px 16px; font-weight: 800; cursor: pointer; }
.dt thead th button::after { content: "⇅"; opacity: .55; font-size: .85em; }
.dt thead th button[aria-sort="ascending"]::after { content: "▲"; opacity: 1; } .dt thead th button[aria-sort="descending"]::after { content: "▼"; opacity: 1; }
.dt thead th button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.dt td { padding: 15px 16px; border-bottom: 1px solid var(--line); }
.dt td:first-child { text-transform: uppercase; }
.dt td:not(:first-child) { text-align: center; }
.dt tbody tr:hover td { background: color-mix(in srgb, var(--brand) 6%, transparent); }
.dt-empty { text-align: center !important; color: var(--muted); padding: 30px !important; text-transform: none !important; }
.dt-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); font-size: .92rem; }
.dt-pages { display: flex; gap: 4px; align-items: center; }
.dt-pages button { min-width: 38px; height: 38px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 6px; font-weight: 700; cursor: pointer; }
.dt-pages button[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.dt-pages button:disabled { opacity: .4; cursor: default; }
.cp-extra-wrap { margin-bottom: 34px; }
.cp-extra-wrap:last-child { margin: 34px 0 0; }
.item.has-photo { grid-template-columns: 132px auto minmax(0, 1fr) auto; }
.item-photo { width: 132px; height: 92px; object-fit: cover; border-radius: 12px; }
body.photo-page :is(.post-card, .dt-wrap) { background-color: var(--glass); }
body.photo-page .org-card { background: color-mix(in srgb, var(--surface) 86%, transparent); }
body.photo-page .tracer { background: var(--glass); border-radius: 22px; padding: 40px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .org-card { grid-template-columns: 1fr; gap: 28px; padding: 36px; } .org-logo { max-width: 340px; } .tracer { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } .org-card { padding: 26px 20px; border-radius: 20px; } .org-quote { padding-left: 16px; } body.photo-page .tracer { padding: 24px 18px; }
  .dt-tools input { min-width: 0; width: 100%; } .dt-search { width: 100%; } .item.has-photo { grid-template-columns: auto minmax(0, 1fr); } .item-photo { grid-column: 1 / -1; width: 100%; height: 160px; } }
/* halaman tulisan (berita/kegiatan/prestasi) & halaman isi: panel kaca agar terbaca di atas foto latar */
body.photo-page .news-article { background: color-mix(in srgb, var(--surface) 90%, transparent); border-radius: 22px; padding: 34px 40px; box-shadow: 0 30px 60px -40px rgba(20, 28, 40, .45); }
body.photo-page .cpage { background: color-mix(in srgb, var(--surface) 90%, transparent); border-radius: 22px; padding: 30px 34px; }
@media (max-width: 640px) { body.photo-page .news-article, body.photo-page .cpage { padding: 22px 18px; border-radius: 18px; } }
/* beranda: berita & prestasi terbaru */
.home-feed .container[hidden] { display: none; }
.home-feed .container + .container { margin-top: 84px; }
.feed-more { text-align: center; margin-top: 36px; }
.feed-more .btn { border-radius: 5px; padding: 13px 28px; gap: 8px; }
.feed-more .icon { width: 16px; height: 16px; }
.feed-more .btn { background: var(--brand); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -16px color-mix(in srgb, var(--brand) 80%, transparent); }
.feed-more .btn:hover { background: var(--brand-deep); color: #fff; }

/* ---------- beranda: prodi dalam angka & testimoni alumni ---------- */
.home-impact { padding: 80px 0 70px; }
.home-impact[hidden] { display: none; }
.impact-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); box-shadow: 0 30px 60px -40px rgba(10, 20, 60, .5); }
.itile { --tile: var(--brand); background: var(--tile); color: #fff; display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 260px; padding: 34px 18px; text-align: center; }
.itile:nth-child(even) { --tile: #ef5322; }
[data-theme="sunset"] .itile:nth-child(odd) { --tile: #7a2f02; }
.itile[hidden] { display: none; }
.itile .icon { width: 46px; height: 46px; }
.itile strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2.2rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.1; }
.itile span { font-size: 1.12rem; font-weight: 500; }
.testi { margin: 72px auto 0; max-width: 980px; text-align: center; }
.testi[hidden] { display: none; }
.testi-track { display: grid; }
.testi-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateX(26px); transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.testi-slide.on { opacity: 1; visibility: visible; transform: none; }
.testi-slide blockquote { margin: 0 0 30px; font-size: clamp(1.1rem, 2vw, 1.5rem); font-style: italic; font-weight: 700; line-height: 1.65; color: var(--heading); }
.testi-slide figcaption { display: inline-flex; align-items: center; gap: 22px; text-align: center; }
.testi-slide figcaption img, .testi-ini { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-ini { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2, var(--brand))); color: #fff; font-weight: 800; font-size: 1.6rem; }
.testi-slide figcaption div { display: grid; gap: 6px; }
.testi-slide figcaption b { font-style: italic; font-size: 1.12rem; color: var(--ink); }
.testi-slide figcaption span { color: var(--muted); }
.testi-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.testi-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.testi-btn:hover { border-color: var(--brand); color: var(--brand); }
.testi-btn[hidden] { display: none; }
.testi-dots { display: flex; gap: 8px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.testi-dots button[aria-selected="true"] { width: 28px; background: var(--brand); }
@media (max-width: 640px) { .itile { min-height: 180px; } .testi-slide figcaption { flex-direction: column; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .testi-slide { transition: none; transform: none; } }

/* ---------- sambutan ketua prodi: masuk perlahan saat terlihat ---------- */
#welcome .wl-in { opacity: 0; transition: opacity 1.2s ease, transform 1.3s cubic-bezier(.16, .8, .24, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
#welcome .wl-left { transform: translateX(-70px); }
#welcome .wl-right { transform: translateX(70px); }
#welcome .wl-up { transform: translateY(26px); }
#welcome .wl-zoom { transform: scale(.82); }
#welcome.wl-go .wl-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { #welcome .wl-in { opacity: 1; transform: none; transition: none; } }
.hf-empty { grid-column: 1 / -1; justify-content: center; }
/* ---------- etalase tulisan (seperti situs berita): tulisan pertama tampil besar ---------- */
.post-grid.showcase > .post-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.post-grid.showcase > .post-card:first-child .pc-img { aspect-ratio: auto; height: 100%; min-height: 340px; }
.post-grid.showcase > .post-card:first-child .pc-body { padding: 34px 38px; justify-content: center; }
.post-grid.showcase > .post-card:first-child h3 { text-align: left; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; }
.post-grid.showcase > .post-card:first-child .pc-ex { -webkit-line-clamp: 6; font-size: 1.04rem; }
.post-grid.showcase > .post-card:first-child .pc-more { margin-top: 6px; }
.tab-posts { margin: 0 0 34px; }
.cp-posts-wrap:last-child .tab-posts { margin: 34px 0 0; }
.cpage .tab-posts { margin: 30px 0 0; }
@media (max-width: 760px) { .post-grid.showcase > .post-card:first-child { grid-template-columns: 1fr; } .post-grid.showcase > .post-card:first-child .pc-img { min-height: 220px; } .post-grid.showcase > .post-card:first-child .pc-body { padding: 20px 18px 24px; } }
.cpage + .tab-posts { margin-top: 34px; }

/* kotak angka dihapus: testimoni berdiri sendiri, tanpa tombol navigasi */
.home-impact { padding: 70px 0 60px; }
.home-impact .testi { margin-top: 0; }

/* ---------- halaman tulisan seperti portal berita: isi + Terbaru + Arsip ---------- */
.art-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.art-wrap .news-article { max-width: none; }
.art-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: 18px; }
.art-crumbs a { color: var(--link, var(--brand)); }
.art-crumbs span[aria-hidden] { color: var(--accent); font-weight: 800; }
.art-title { font-size: clamp(1.7rem, 3.6vw, 2.8rem) !important; line-height: 1.18 !important; font-weight: 800; color: var(--heading); margin: 0 0 18px !important; }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; margin: 0 0 26px; color: var(--ink); font-size: .98rem; }
.art-meta span { display: inline-flex; align-items: center; gap: 8px; }
.art-meta .icon { width: 18px; height: 18px; color: var(--accent); }
.art-meta a, .art-meta b { color: var(--link, var(--brand)); font-weight: 600; }
.art-wrap .na-img { border-radius: 6px; margin-bottom: 28px; }
.art-wrap .prose { font-size: 1.06rem; line-height: 1.85; }
.art-wrap .back-link { margin: 26px 0 0; }
.art-count { color: var(--muted); margin: -8px 0 22px; }
.arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art-side { position: sticky; top: 100px; display: grid; gap: 28px; }
.side-box { background: var(--surface); border-radius: 6px; padding: 24px 24px 12px; box-shadow: 0 18px 40px -32px rgba(15, 25, 40, .45); }
.side-box h3 { font-size: 1.55rem; font-weight: 700; color: var(--heading); margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; }
.side-box h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 60%; height: 3px; background: var(--accent); border-radius: 3px; }
.side-latest, .side-arch { list-style: none; margin: 0; padding: 0; }
.side-latest li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.side-latest li:last-child, .side-arch li:last-child { border-bottom: 0; }
.side-latest a { font-weight: 600; font-size: 1.05rem; line-height: 1.4; color: var(--heading); }
.side-latest a:hover, .side-arch a:hover { color: var(--brand); text-decoration: underline; }
.side-latest span { color: var(--muted); font-size: .9rem; }
.side-arch li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.side-arch a { font-weight: 600; color: var(--ink); }
.side-arch span { min-width: 30px; text-align: center; background: var(--surface-2); color: var(--brand); border-radius: 999px; padding: 2px 10px; font-weight: 800; font-size: .82rem; }
.side-arch li.on a { color: var(--brand); } .side-arch li.on span { background: var(--brand); color: #fff; }
body.photo-page .art-wrap .news-article { background: color-mix(in srgb, var(--surface) 92%, transparent); border-radius: 18px; padding: 34px 40px; }
body.photo-page .side-box { background: color-mix(in srgb, var(--surface) 92%, transparent); }
@media (max-width: 1000px) { .art-wrap { grid-template-columns: 1fr; gap: 30px; } .art-side { position: static; } .arch-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { body.photo-page .art-wrap .news-article { padding: 22px 18px; } .side-box h3 { font-size: 1.3rem; } }

/* slide beranda: tanpa garis penanda & angka jumlah foto — hanya tombol "Tonton dengan suara" saat slide video */
.hero-dots { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; padding: 0; }
.hero-dots .dots-sound { margin: 0; padding: 10px 18px; font-size: .82rem; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }

/* ---------- "Berita Terbaru": foto kecil di samping judul ---------- */
.side-latest li { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
.sl-thumb { display: block; width: 96px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.sl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.sl-thumb span { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brand); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, var(--surface-2)), color-mix(in srgb, var(--accent) 20%, var(--surface-2))); }
.sl-thumb .icon { width: 26px; height: 26px; }
.sl-txt { display: grid; gap: 6px; min-width: 0; }
.sl-txt a { font-weight: 600; font-size: 1rem; line-height: 1.38; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sl-txt span { color: var(--muted); font-size: .86rem; }
.side-latest li:hover .sl-thumb img { transform: scale(1.12); }
.side-latest li:hover .sl-txt a { color: var(--brand); }

/* ---------- efek membesar halus pada foto berita saat kursor didekatkan ---------- */
.pc-img img, .na-img img, .news-item img, .home-feed .pc-img img { transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.post-card:hover .pc-img img { transform: scale(1.08); }
.na-img { overflow: hidden; }
.na-img:hover img { transform: scale(1.04); }
.news-item { overflow: hidden; }
.news-item:hover img { transform: scale(1.08); }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .post-card:hover .pc-img img, .na-img:hover img, .news-item:hover img, .side-latest li:hover .sl-thumb img { transform: none; }
}

/* beranda: tautan cepat & kotak statistik bisa dimatikan dari Admin → Tampilan */
.quick-wrap.no-quick .quick-links { display: none !important; }
.quick-wrap.no-quick .stats-band { margin-top: 0; }
.quick-wrap.no-stats .stats-band, .quick-wrap.no-stats .stats-note { display: none !important; }
.quick-wrap.qw-off { display: none !important; }

/* ---------- nama situs di header: "Study Program" biru (bisa diubah di Admin → Tampilan) ---------- */
.brand-copy strong { color: var(--brand-c1, var(--heading)); }
.brand-copy strong span, [data-theme="sunset"] .brand-copy strong span { color: var(--brand-c2, #0b52b8); }
[data-mode="dark"] .brand-copy strong span, [data-mode="dark"][data-theme] .brand-copy strong span { color: var(--brand-c2, #6aa8ff); }
.brand-logo { height: 46px; width: auto; max-width: 150px; object-fit: contain; flex: none; }
.footer .brand-copy strong { color: #fff; }
.footer .brand-copy strong span, [data-theme] .footer .brand-copy strong span { color: #8cc0ff; }
@media (max-width: 720px) { .brand-logo { height: 36px; } }

/* ---------- tata letak daftar tulisan (rapi: baris terakhir di tengah, foto tidak terlalu tinggi) ---------- */
.post-grid.pl { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 34px 28px; --c: var(--pl-cols, 3); }
.post-grid.pl > .post-card { flex: 0 1 calc((100% - (var(--c) - 1) * 28px) / var(--c)); min-width: 0; }
.post-grid.pl > .cp-empty, .post-grid.pl > .pc-loadmore, .post-grid.pl > .hf-empty { flex: 1 1 100%; }
.post-grid.pl .pc-img { aspect-ratio: var(--pl-ratio, 16 / 10); }
.post-grid.pl .pc-ph .icon { width: 40px; height: 40px; opacity: .8; }
.post-grid.pl .pc-body { padding: 18px 20px 22px; }
.post-grid.pl .pc-body h3 { font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.post-grid.pl .pc-ex { -webkit-line-clamp: 4; margin: 12px 0 18px; }
/* etalase: tulisan pertama melebar, teks di tengah tinggi kartu */
.post-grid.pl.pl-showcase > .post-card:first-child { flex-basis: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.post-grid.pl.pl-showcase > .post-card:first-child .pc-img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
.post-grid.pl.pl-showcase > .post-card:first-child .pc-body { padding: 34px 40px; justify-content: center; }
.post-grid.pl.pl-showcase > .post-card:first-child h3 { text-align: left; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; }
.post-grid.pl.pl-showcase > .post-card:first-child .pc-ex { -webkit-line-clamp: 5; }
.post-grid.pl.pl-showcase > .post-card:first-child .pc-more { margin-top: 18px; }
/* daftar: foto kiri, teks kanan */
.post-grid.pl.pl-list > .post-card { flex-basis: 100%; display: grid; grid-template-columns: minmax(200px, 32%) minmax(0, 1fr); }
.post-grid.pl.pl-list .pc-img { aspect-ratio: var(--pl-ratio, 16 / 10); height: 100%; }
.post-grid.pl.pl-list .pc-body { padding: 22px 28px; justify-content: center; }
.post-grid.pl.pl-list .pc-body h3 { text-align: left; }
.post-grid.pl.pl-list .pc-more { margin-top: 10px; }
/* ringkas: foto kecil + judul + tanggal, dua kolom */
.post-grid.pl.pl-compact { gap: 16px 24px; }
.post-grid.pl.pl-compact > .post-card { flex-basis: calc((100% - 24px) / 2); display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; }
.post-grid.pl.pl-compact .pc-img { aspect-ratio: 4 / 3; height: 100%; }
.post-grid.pl.pl-compact .pc-body { padding: 12px 16px; }
.post-grid.pl.pl-compact .pc-body h3 { text-align: left; font-size: 1.02rem; border: 0; padding: 0; margin: 0 0 6px; }
.post-grid.pl.pl-compact .pc-ex, .post-grid.pl.pl-compact .pc-more { display: none; }
/* pilihan tampil */
.post-grid.pl.pl-noex .pc-ex { display: none; }
.post-grid.pl.pl-nodate .pc-date { display: none; }
@media (max-width: 1000px) {
  .post-grid.pl { --c: min(var(--pl-cols, 3), 2); }
  .post-grid.pl.pl-showcase > .post-card:first-child, .post-grid.pl.pl-list > .post-card { grid-template-columns: 1fr; }
  .post-grid.pl.pl-showcase > .post-card:first-child .pc-body { padding: 22px 20px; }
  .post-grid.pl.pl-compact > .post-card { flex-basis: 100%; }
}
@media (max-width: 640px) { .post-grid.pl { --c: 1; } }

/* ---------- nama situs gaya resmi (seperti situs prodi UNJA): lambang + tulisan kecil + tulisan besar bergaris biru ---------- */
.brand-top { display: none; }
.brand-logo[hidden] { display: none; }
.brand.brand-formal { gap: 12px; align-items: center; }
.brand-formal .brand-logo { height: 54px; width: auto; max-width: 70px; }
.brand-formal .brand-copy { line-height: 1; }
.brand-formal .brand-top { display: block; font-family: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--brand-c1, #2a2e35); margin: 0 0 4px; white-space: nowrap; }
.brand-formal .brand-top[hidden] { display: none; }
.site-header .brand-formal .brand-copy strong { font-family: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.32rem; letter-spacing: .005em; line-height: 1.05; color: var(--brand-c1, #15181d); padding-bottom: 5px; border-bottom: 4px solid var(--brand-c2, #2a4db3); }
.site-header .brand-formal .brand-copy strong span, [data-theme] .site-header .brand-formal .brand-copy strong span { color: inherit; }
[data-mode="dark"] .brand-formal .brand-top { color: #c9d2de; }
[data-mode="dark"] .site-header .brand-formal .brand-copy strong { color: #fff; border-bottom-color: var(--brand-c2, #6aa8ff); }
@media (max-width: 1280px) { .site-header .brand-formal .brand-copy strong { font-size: 1.1rem; } .brand-formal .brand-top { font-size: .64rem; } .brand-formal .brand-logo { height: 44px; } }
@media (max-width: 720px) {
  .brand.brand-formal { gap: 8px; min-width: 0; flex: 1 1 auto; }
  .brand-formal .brand-copy { min-width: 0; }
  .site-header .brand-formal .brand-copy strong { font-size: .98rem; line-height: 1.08; white-space: normal; border-bottom-width: 3px; padding-bottom: 3px; }
  .site-header .brand-formal .brand-copy strong span { display: block; }
  .brand-formal .brand-top { font-size: .5rem; white-space: normal; }
  .brand-formal .brand-logo { height: 36px; }
}
/* header gaya resmi: ruang lebih lebar, menu sedikit lebih rapat, tombol admin jadi ikon bila sempit */
.site-header .container.nav-inner { width: min(1380px, 100% - 32px); gap: 14px; }
.site-header .brand-formal ~ .main-nav .nav-top { padding: 10px 8px; }
.site-header .brand-formal ~ .main-nav .nav-top::after { left: 8px; right: 8px; }
@media (max-width: 1440px) {
  .site-header:has(.brand-formal) .btn-login { padding: 0; width: 42px; height: 42px; border-radius: 50%; justify-content: center; }
  .site-header:has(.brand-formal) .btn-login span { display: none; }
}
@media (max-width: 1280px) { .site-header .brand-formal ~ .main-nav .nav-top { padding: 10px 6px; font-size: .82rem; } }
/* animasi sambutan (masuk dari kanan) tidak boleh membuat halaman bisa digeser ke samping di ponsel */
#welcome { overflow-x: clip; }
.hero { overflow-x: clip; }

/* ---------- beranda: Kenapa Harus Kuliah di …? ---------- */
.why-sec { position: relative; padding: 84px 0 92px; color: #fff; text-align: center; background: linear-gradient(90deg, var(--why-from, #0a1f5c) 0%, var(--why-to, #2a6f97) 100%); overflow: hidden; }
.why-sec.why-off, .why-sec[hidden] { display: none !important; }
.why-title { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 800; color: #fff; margin: 0; line-height: 1.25; }
.why-bar { display: block; width: 210px; max-width: 50%; height: 6px; background: #fff; margin: 28px auto 64px; border-radius: 1px; }
.why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 48px; max-width: 1180px; margin: 0 auto; }
.why-item { flex: 0 1 calc((100% - 96px) / 3); min-width: 250px; display: flex; flex-direction: column; align-items: center; transition-delay: var(--d, 0s); }
.why-item .icon { width: 54px; height: 54px; color: #fff; stroke-width: 1.8; margin-bottom: 26px; }
.why-item h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; color: #fff; margin: 0 0 22px; }
.why-item p { font-size: 1.06rem; line-height: 1.95; color: rgba(255, 255, 255, .94); margin: 0; max-width: 430px; }
.why-item p b, .why-item p strong { color: #fff; font-weight: 800; }
@media (max-width: 860px) { .why-item { flex-basis: 100%; } .why-bar { margin-bottom: 44px; } .why-sec { padding: 64px 0 70px; } }

/* ---------- susunan beranda ---------- */
.home-off, .hf-off { display: none !important; }
.home-feed { padding: 72px 0 0; }
.home-feed:last-of-type { padding-bottom: 80px; }
.quick-wrap.qw-detached { margin-top: 56px; }

/* ---------- tes bahasa Inggris (CEFR & simulasi JUELT) ---------- */
.et-card { background: var(--surface); border-radius: 18px; padding: 34px 38px; box-shadow: 0 20px 50px -36px rgba(15, 25, 40, .5); max-width: 940px; }
body.photo-page .et-card { background: color-mix(in srgb, var(--surface) 94%, transparent); }
.et-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; font-weight: 800; letter-spacing: .12em; font-size: .8rem; }
.et-intro h3, .et-result h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 14px 0 10px; color: var(--heading); }
.et-intro > p { line-height: 1.85; color: var(--ink); max-width: 760px; }
.et-facts { list-style: none; padding: 0; margin: 22px 0 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.et-facts li { min-width: 120px; padding: 14px 18px; border-radius: 14px; background: var(--surface-2); display: grid; }
.et-facts b { font-size: 1.8rem; color: var(--brand); line-height: 1.1; } .et-facts span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.et-parts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; } .et-parts span { font-size: .82rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.et-note { font-size: .92rem; color: var(--muted); background: var(--surface-2); border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 0 10px 10px 0; }
.et-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.et-btn, .et-actions .btn-primary, .et-nav .btn-primary { background: var(--brand); color: #fff; border-color: transparent; border-radius: 8px; padding: 12px 22px; gap: 8px; }
.et-btn:hover { background: var(--brand-deep); color: #fff; } .et-btn .icon { width: 16px; height: 16px; }
.et-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 10px; }
.et-count { font-weight: 600; color: var(--muted); } .et-count b { color: var(--heading); font-size: 1.2rem; }
.et-tag { font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--brand); }
.et-timer { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.1rem; padding: 6px 12px; border-radius: 10px; background: var(--surface-2); }
.et-timer .icon { width: 16px; height: 16px; } .et-timer.warn { background: #fdecea; color: #c62828; }
.et-progress { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-bottom: 22px; } .et-progress i { display: block; height: 100%; background: var(--brand); transition: width .3s; }
.et-passage { background: var(--surface-2); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; max-height: 300px; overflow: auto; }
.et-passage span { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .et-passage p { margin: 6px 0 0; line-height: 1.85; }
.et-q { font-size: 1.15rem; font-weight: 600; line-height: 1.6; color: var(--heading); margin: 0 0 16px; }
.et-opts { display: grid; gap: 10px; }
.et-opt { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.et-opt b { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); }
.et-opt:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.et-opt.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); } .et-opt.on b { background: var(--brand); color: #fff; }
.et-nav { display: flex; justify-content: space-between; gap: 10px; margin: 22px 0 16px; } .et-nav .btn[disabled] { opacity: .4; pointer-events: none; }
.et-palette { display: flex; flex-wrap: wrap; gap: 6px; }
.et-palette button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; cursor: pointer; }
.et-palette button.done { background: color-mix(in srgb, var(--brand) 14%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.et-palette button.cur { background: var(--brand); border-color: var(--brand); color: #fff; }
.et-small { margin: 14px 0 0; color: var(--muted); font-size: .9rem; } .et-link { border: 0; background: none; color: var(--link, var(--brand)); font: inherit; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; }
.et-score { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: center; }
.et-level { aspect-ratio: 1; border-radius: 22px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; display: grid; place-content: center; text-align: center; }
.et-level small { font-size: .7rem; font-weight: 700; opacity: .85; padding: 0 10px; } .et-level b { font-size: 3.4rem; line-height: 1; }
.et-result h3 { margin-top: 0; } .et-big { font-size: 1.5rem; font-weight: 800; color: var(--heading); margin: 0 0 8px; } .et-big span { color: var(--muted); font-size: 1.05rem; }
.et-bars { display: grid; gap: 10px; margin: 26px 0 18px; }
.et-bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 54px; gap: 12px; align-items: center; font-weight: 600; }
.et-bar div { height: 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; } .et-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.et-review { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.et-review summary { cursor: pointer; font-weight: 800; color: var(--brand); }
.et-rv { padding: 12px 14px; border-radius: 10px; margin-top: 10px; background: var(--surface-2); border-left: 4px solid #2e7d32; } .et-rv.no { border-left-color: #c62828; }
.et-rv p { margin: 0 0 4px; } .et-rv-q { font-weight: 600; } .et-ex { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .et-card { padding: 22px 18px; } .et-score { grid-template-columns: 1fr; } .et-level { max-width: 150px; } .et-bar { grid-template-columns: 100px minmax(0, 1fr) 44px; } .et-timer { margin-left: 0; } }

/* media pada soal tes */
.et-media { display: grid; gap: 14px; margin-bottom: 18px; }
.et-img { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); text-align: center; }
.et-img img { max-width: 100%; max-height: 420px; width: auto; height: auto; display: inline-block; vertical-align: top; }
.et-audio { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); }
.et-audio span { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.et-audio audio { width: 100%; } .et-audio iframe { width: 100%; height: 72px; border: 0; border-radius: 8px; }
.et-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.et-video iframe, .et-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.et-rv-q small { color: var(--muted); font-weight: 500; }

/* ---------- etalase sampul buku & sertifikat HKI ---------- */
.item-list.cv-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.cv-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.cv-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(15, 25, 40, .55); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.cv-link { display: block; color: inherit; }
.cv-cover { position: relative; aspect-ratio: 3 / 4; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; padding: 18px 18px 0; }
.cv-card.is-cert .cv-cover { aspect-ratio: 4 / 5; }
.cv-cover > img { width: auto; max-width: 100%; height: 100%; object-fit: contain; border-radius: 4px 4px 0 0; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .45); transition: transform .4s; }
.cv-card:hover .cv-cover > img, .cv-card:hover .cv-auto { transform: scale(1.04); }
.cv-auto { width: 100%; height: 100%; border-radius: 4px 10px 0 0; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 18px; transition: transform .4s; overflow: hidden; }
.cv-book { --cv-h: 214; background: linear-gradient(160deg, hsl(var(--cv-h) 70% 26%), hsl(var(--cv-h) 62% 42%)); color: #fff; box-shadow: inset 8px 0 0 rgba(0, 0, 0, .18), 0 10px 26px -12px rgba(0, 0, 0, .5); position: relative; }
.cv-book::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 54px; height: 3px; background: #f2a33a; border-radius: 3px; }
.cv-book small { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cv-book b { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.02rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.cv-book span { font-size: .72rem; opacity: .88; margin-top: auto; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: 14px; }
.cv-book em { font-style: normal; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.cv-cert { background: #fffdf6; color: #3b2f12; border: 1px solid #e7d6a6; box-shadow: inset 0 0 0 6px #fffdf6, inset 0 0 0 8px #c9a548, 0 10px 26px -14px rgba(0, 0, 0, .45); align-items: center; text-align: center; border-radius: 4px 4px 0 0; padding: 22px 18px; }
.cv-cert small { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8a6d1d; }
.cv-seal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #e3c15d, #b48a26); color: #fff; box-shadow: 0 0 0 4px #f4e5b5; flex: none; }
.cv-seal .icon { width: 24px; height: 24px; }
.cv-cert b { font-family: Georgia, "Times New Roman", serif; font-size: .92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.cv-cert span { font-size: .68rem; color: #6b5a2c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cv-cert em { font-style: normal; font-size: .64rem; font-weight: 700; margin-top: auto; color: #8a6d1d; letter-spacing: .04em; }
.cv-year, .cv-pdf { position: absolute; top: 10px; font-size: .7rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.cv-year { left: 10px; } .cv-pdf { right: 10px; background: #c62828; color: #fff; }
.cv-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cv-body h4 { font-size: .95rem; font-weight: 700; line-height: 1.35; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cv-body .meta { color: var(--muted); font-size: .78rem; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cv-body .meta b { color: var(--ink); }
.cv-body .tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.cv-btn { font-size: .76rem; font-weight: 800; padding: 7px 12px; border-radius: 8px; background: var(--brand); color: #fff; }
.cv-btn:hover { background: var(--brand-deep); color: #fff; }
.cv-btn.line { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.tag-link { background: #c62828; color: #fff; } .tag-link:hover { background: #a31f1f; color: #fff; }
@media (max-width: 560px) { .item-list.cv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cv-cover { padding: 10px 10px 0; } .cv-auto { padding: 14px 12px; gap: 6px; } .cv-book b { font-size: .82rem; } .cv-cert b { font-size: .76rem; } .cv-seal { width: 34px; height: 34px; } .cv-body { padding: 10px 11px 12px; } .cv-body h4 { font-size: .84rem; } }

/* ---------- Google Form / Google Drive tersemat di isi halaman ---------- */
.gembed-box { margin: 1.4em 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.gembed-box iframe { display: block; width: 100%; height: 520px; border: 0; background: var(--surface-2); }
.gembed-box.is-form iframe { height: 760px; } .gembed-box.is-folder iframe { height: 420px; }
.gembed-box figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; font-weight: 700; color: var(--heading); }
.gembed-box figcaption .btn { padding: 9px 16px; border-radius: 8px; font-size: .86rem; gap: 6px; } .gembed-box figcaption .icon { width: 14px; height: 14px; }
@media (max-width: 640px) { .gembed-box iframe { height: 420px; } .gembed-box.is-form iframe { height: 640px; } }

.sinta-at { margin: 10px 0 0; font-size: .78rem; color: var(--muted); }

/* ---------- kartu tulisan gaya portal berita (tanggal | menit baca di atas foto, judul serif, kata kunci) ---------- */
.pc-img { position: relative; }
.pc-badge { display: none; }
.pc-tags { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-tags li { font-size: .84rem; line-height: 1.2; padding: 7px 11px; border-radius: 4px; background: var(--surface); color: var(--ink); box-shadow: 0 1px 0 rgba(15, 25, 40, .06); border: 1px solid var(--line); }
.art-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.art-tags .pc-tags { margin: 0; }
body.cards-news .post-card { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
body.cards-news .post-card:hover { transform: none; box-shadow: none; }
body.cards-news .post-card .pc-img { border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 16px 34px -26px rgba(15, 25, 40, .55); }
body.cards-news .pc-badge { display: inline-flex; align-items: center; gap: 8px; position: absolute; top: 14px; left: 14px; right: auto; max-width: calc(100% - 28px); padding: 6px 12px; border-radius: 4px; background: #f6d04d; color: #1b2a4a; font-size: .88rem; font-weight: 600; line-height: 1.25; letter-spacing: .01em; z-index: 1; }
body.cards-news .pc-badge i { font-style: normal; opacity: .7; }
body.cards-news .pc-body { padding: 22px 0 8px; }
body.cards-news .pc-body h3 { text-align: left; font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.2; letter-spacing: -.005em; color: var(--heading); padding: 0; margin: 0 0 18px; border: 0; }
body.cards-news .pc-body h3 a:hover { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
body.cards-news .pc-body > .pc-date, body.cards-news .pc-body > .pc-ex, body.cards-news .pc-body > .pc-more { display: none; }
body.cards-news .post-grid.showcase > .post-card:first-child { display: flex; grid-column: auto; }
body.cards-news .post-grid.showcase > .post-card:first-child .pc-img { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
body.cards-news .post-grid.showcase > .post-card:first-child .pc-body { padding: 22px 0 8px; justify-content: flex-start; }
body.cards-news .post-grid.showcase > .post-card:first-child h3 { font-size: clamp(1.3rem, 1.9vw, 1.75rem); font-weight: 500; }
body.cards-news.photo-page .post-card { background: transparent; }
[data-mode="dark"] body.cards-news .pc-tags li, [data-mode="dark"] .pc-tags li { background: var(--surface-2); }
@media (max-width: 640px) { body.cards-news .pc-badge { font-size: .78rem; top: 10px; left: 10px; } body.cards-news .pc-body h3 { font-size: 1.25rem; } .pc-tags li { font-size: .78rem; padding: 6px 9px; } }

.lecturer .l-rank { margin: 2px 0 4px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }

/* ---------- layanan surat izin penelitian ---------- */
.lt-form, .lt-done { background: var(--surface); border-radius: 18px; padding: 30px 34px; box-shadow: 0 20px 50px -36px rgba(15, 25, 40, .5); max-width: 980px; }
body.photo-page :is(.lt-form, .lt-done) { background: color-mix(in srgb, var(--surface) 94%, transparent); }
.lt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.lt-f { display: grid; gap: 6px; } .lt-f.wide { grid-column: 1 / -1; }
.lt-f label { font-weight: 700; font-size: .9rem; color: var(--heading); } .lt-req { color: #c62828; }
.lt-f :is(input, textarea, select) { font: inherit; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; }
.lt-f :is(input, textarea, select):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.lt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lt-agree { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 6px; font-size: .92rem; } .lt-agree input { margin-top: 3px; width: 18px; height: 18px; }
.lt-err { color: #c62828; font-weight: 700; min-height: 1.2em; margin: 6px 0; }
.lt-send { background: var(--brand); color: #fff; border-color: transparent; border-radius: 8px; padding: 12px 24px; gap: 8px; }
.lt-send:hover { background: var(--brand-deep); color: #fff; } .lt-send .icon { width: 16px; height: 16px; }
.lt-note { color: var(--muted); font-size: .88rem; margin: 12px 0 0; }
.lt-done { text-align: center; } .lt-done .icon { width: 44px; height: 44px; color: var(--brand); } .lt-done h3 { margin: 10px 0 8px; color: var(--heading); }
@media (max-width: 640px) { .lt-grid { grid-template-columns: 1fr; } .lt-form, .lt-done { padding: 22px 18px; } }

/* ---------- kartu Perjalanan Akademik ---------- */
#journey-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.journey .jr-card { display: flex; flex-direction: column; border-radius: 20px; box-shadow: 0 18px 40px -30px rgba(15, 25, 40, .5); }
body.photo-page .journey .jr-card { background: color-mix(in srgb, var(--surface) 94%, transparent); }
.jr-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--brand) 70%, transparent); }
.jr-ico .icon, .step .jr-ico .icon { width: 28px; height: 28px; padding: 0; border-radius: 0; background: none; }
.jr-ico.is-img { background: var(--surface-2); box-shadow: none; }
.jr-ico img { width: 100%; height: 100%; object-fit: contain; }
.jr-sym { font-size: 1.75rem; line-height: 1; font-weight: 800; }
.jr-card .chips { margin-top: auto; padding-top: 14px; }

/* ---------- Kurikulum & Silabus ---------- */
.cur-app { max-width: 1100px; margin: 0 auto; }
.cur-head { text-align: center; margin-bottom: 26px; }
.cur-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: .01em; color: var(--heading); margin: 0 0 18px; }
.cur-head .prose { text-align: justify; max-width: 1000px; margin: 0 auto; line-height: 1.85; }
.cur-years { justify-content: center; margin: 0 0 22px; }
.cur-note { max-width: 1000px; margin: 0 auto 18px; }
.cur-sem { margin: 34px 0 0; }
.cur-sem h3 { display: flex; align-items: baseline; gap: 12px; font-size: 1.1rem; color: var(--heading); margin: 0 0 12px; }
.cur-sem h3 small { font-size: .8rem; font-weight: 700; color: var(--brand); background: var(--surface-2); padding: 3px 10px; border-radius: 999px; }
.cur-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.cur-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.cur-table th, .cur-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cur-table th { background: var(--surface-2); font-weight: 800; color: var(--heading); white-space: nowrap; }
.cur-table td:first-child, .cur-table th:first-child { width: 56px; }
.cur-table td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cur-table td:nth-child(4) { white-space: nowrap; }
.cur-table tbody tr:last-child td { border-bottom: 0; }
.cur-table tbody tr:hover td { background: color-mix(in srgb, var(--brand) 5%, transparent); }
.cur-total { text-align: right; margin: 22px 0 0; color: var(--muted); }
@media (max-width: 640px) { .cur-table th, .cur-table td { padding: 9px 10px; font-size: .86rem; } }
.cur-table { table-layout: fixed; min-width: 640px; }
.cur-table th:nth-child(1) { width: 56px; } .cur-table th:nth-child(2) { width: 130px; } .cur-table th:nth-child(4) { width: 110px; } .cur-table th:nth-child(5) { width: 22%; } .cur-table th:nth-child(6) { width: 90px; }

/* tabel di dalam tulisan (dibuat lewat menu Tabel di editor admin) */
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.4em; font-size: .96rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th + th, .prose td + td { border-left: 1px solid var(--line); }
.prose th { background: var(--surface-2); color: var(--heading); font-weight: 800; }
.prose tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover td { background: color-mix(in srgb, var(--brand) 5%, transparent); }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; white-space: nowrap; border-radius: 10px; } .prose th, .prose td { padding: 9px 10px; font-size: .88rem; } }

/* tabel kurikulum: garis kotak penuh + baris Jumlah SKS (seperti dokumen RPS) */
.cur-wrap { border-radius: 4px; border: 1px solid #cfd6df; }
.cur-table th, .cur-table td { border: 1px solid #d9dee5; }
.cur-table tr > :first-child { border-left: 0; } .cur-table tr > :last-child { border-right: 0; }
.cur-table thead th { border-top: 0; background: var(--surface); }
.cur-table tfoot td { font-weight: 800; color: var(--heading); background: var(--surface-2); border-bottom: 0; }
.cur-table tbody tr:last-child td { border-bottom: 1px solid #d9dee5; }
[data-mode="dark"] .cur-wrap, [data-mode="dark"] .cur-table th, [data-mode="dark"] .cur-table td { border-color: var(--line); }

/* tulisan tanpa kolom Terbaru & Arsip: satu bingkai di tengah */
.art-wrap.art-single { grid-template-columns: minmax(0, 1fr); max-width: 1000px; margin-left: auto; margin-right: auto; }

/* ---------- template Visi, misi & kompetensi ---------- */
.vm-text { color: var(--ink); line-height: 1.8; } .vm-text p { margin: 0 0 .6em; } .vm-text p:last-child { margin: 0; }
.vm-sec { margin-top: 22px; } .vm-sec:first-child { margin-top: 0; }
.vm-sec h4 { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
.vm-sec h4 .icon { width: 18px; height: 18px; }
.vm-list { margin: 10px 0 0; padding-left: 20px; } .vm-list li { margin: .45em 0; line-height: 1.7; }
.vm-t-cards, .vm-t-narrative, .vm-t-spotlight { grid-template-columns: minmax(0, 1fr) !important; max-width: 1060px; margin-left: auto; margin-right: auto; }
/* kartu per poin */
.vm-t-cards .vm-card { background: transparent; border: 0; padding: 0; overflow: visible; } .vm-t-cards .vm-card::before { display: none; }
.vm-t-cards .vm-card > h3 { margin-bottom: 14px; }
.vm-quote { background: var(--surface); border-radius: 20px; padding: 26px 30px; border-left: 6px solid var(--brand); box-shadow: 0 18px 40px -30px rgba(15, 25, 40, .5); }
.vm-quote .vm-text { font-size: 1.12rem; font-weight: 600; color: var(--heading); }
.vm-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.vm-box { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 64px; line-height: 1.65; color: var(--ink); box-shadow: 0 14px 30px -26px rgba(15, 25, 40, .45); transition: transform .2s, box-shadow .2s; }
.vm-box:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgba(15, 25, 40, .5); }
.vm-box .n { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
body.photo-page :is(.vm-quote, .vm-box) { background: color-mix(in srgb, var(--surface) 94%, transparent); }
/* narasi ke bawah */
.vm-t-narrative .vm-card { padding: 34px 40px; border-radius: 18px; } .vm-t-narrative .vm-card::before { display: none; }
.vm-t-narrative .vm-sec h4 { font-size: 1.02rem; color: var(--heading); border-bottom: 2px solid var(--line); padding-bottom: 8px; margin-bottom: 14px; }
.vm-t-narrative .vm-sec h4 .icon { color: var(--brand); }
.vm-t-narrative .vm-text, .vm-t-narrative .vm-list li { font-size: 1.04rem; } .vm-t-narrative .vm-card > h3 { font-size: 1.02rem; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
/* sorotan visi */
.vm-t-spotlight .vm-card { background: transparent; border: 0; padding: 0; overflow: visible; } .vm-t-spotlight .vm-card::before { display: none; }
.vm-banner { position: relative; overflow: hidden; border-radius: 22px; padding: 34px 40px; color: #fff; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); box-shadow: 0 24px 50px -32px color-mix(in srgb, var(--brand) 80%, transparent); margin-bottom: 26px; }
.vm-banner::after { content: "\201C"; position: absolute; right: 26px; top: -28px; font: 700 10rem/1 Georgia, serif; opacity: .14; }
.vm-banner h4 { margin: 0 0 10px; font-size: .86rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.vm-banner .vm-text { color: #fff; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.55; }
.vm-t-spotlight .vm-sec { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
body.photo-page .vm-t-spotlight .vm-sec { background: color-mix(in srgb, var(--surface) 94%, transparent); }
.vm-steps { list-style: none; margin: 0; padding: 0; }
.vm-steps li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 0 0 18px; line-height: 1.7; color: var(--ink); }
.vm-steps li:last-child { padding-bottom: 0; }
.vm-steps .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--brand); position: relative; z-index: 1; }
.vm-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 0; width: 2px; background: var(--line); }
.vm-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.vm-checks li { position: relative; padding-left: 34px; line-height: 1.65; color: var(--ink); }
.vm-checks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); }
.vm-t-spotlight .vm-card[data-part="kompetensi"] > h3, .vm-t-spotlight .vm-card[data-part="dampak"] > h3 { margin-bottom: 12px; }
.vm-t-spotlight .vm-card[data-part="kompetensi"], .vm-t-spotlight .vm-card[data-part="dampak"] { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
@media (max-width: 700px) { .vm-checks { grid-template-columns: 1fr; } .vm-banner { padding: 26px 22px; } .vm-t-narrative .vm-card { padding: 24px 20px; } .vm-t-spotlight .vm-sec { padding: 20px; } }
/* warna teks template visi-misi (menimpa warna abu-abu lama .vm-card p/li) */
.vm-card .vm-text, .vm-card .vm-text p, .vm-card .vm-list li, .vm-card .vm-steps li, .vm-card .vm-checks li, .vm-card .vm-box { color: var(--ink); }
.vm-t-classic .vm-card .vm-text, .vm-t-classic .vm-card .vm-text p, .vm-t-classic .vm-card .vm-list li { color: var(--muted); }
.vm-card .vm-banner .vm-text, .vm-card .vm-banner .vm-text * { color: #fff; }
.vm-card .vm-quote .vm-text, .vm-card .vm-quote .vm-text p { color: var(--heading); }

/* susunan tab visi: sub-bagian yang tidak dipilih disembunyikan; satu halaman = bagian berurutan */
#vm-vision [data-subpart][hidden] { display: none; }
#vm-vision > [data-subpart]:not([hidden]) ~ [data-subpart]:not([hidden]) { margin-top: 22px; }

/* penanda "Label kecil" beranda */
.hero .eyebrow.no-mark::before { display: none; }
.hero-mark { flex: none; }
.hero-mark.icon { width: 22px; height: 22px; color: var(--accent); }
[data-theme="sunset"] .hero-mark.icon { color: var(--hi); }
.hero-mark.sym { font-size: 1.25em; line-height: 1; color: var(--accent); }
.hero-mark.logo { width: auto; max-width: 160px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.hero-logo-top { display: block; width: auto; max-width: 260px; object-fit: contain; margin: 0 0 18px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .3)); }
@media (max-width: 640px) { .hero-logo-top { max-height: 70px; } }

/* ukuran ikon / logo kartu (Admin: Ukuran ikon / logo) */
.why-item .icon { width: var(--isz, 54px); height: var(--isz, 54px); }
.why-img { width: auto; height: var(--isz, 54px); max-width: calc(var(--isz, 54px) * 2.4); object-fit: contain; margin-bottom: 26px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.why-sym { font-size: calc(var(--isz, 54px) * .82); line-height: 1; margin-bottom: 26px; color: #fff; }
.jr-ico { width: var(--isz, 58px); height: var(--isz, 58px); }
.jr-ico .icon, .step .jr-ico .icon { width: calc(var(--isz, 58px) * .48); height: calc(var(--isz, 58px) * .48); }
.jr-sym { font-size: calc(var(--isz, 58px) * .5); }

/* ---------- "Kenapa kuliah": layout, latar, warna, kolom ---------- */
.why-sec .why-title { color: var(--why-title-ink, #fff); }
.why-sec .why-title[hidden], .why-sec .why-bar[hidden] { display: none; }
.why-sec .why-bar { background: var(--why-title-ink, #fff); }
.why-sec .why-title[hidden] + .why-bar { margin-top: 0; }
.why-sec .why-item h3 { color: var(--why-ink, #fff); }
.why-sec .why-item p { color: var(--why-ink, #fff); opacity: .92; }
.why-sec .why-item p b, .why-sec .why-item p strong { color: inherit; }
.why-sec .why-item .icon, .why-sec .why-sym { color: var(--why-icon, #fff); }
.why-body { display: flex; flex-direction: column; align-items: inherit; }
.why-sec .why-item { flex: 0 1 calc((100% - (var(--why-n, 3) - 1) * 48px) / var(--why-n, 3)); }
.why-sec[data-bg="solid"] { background: var(--why-from, #0a1f5c); }
.why-sec[data-bg="light"] { background: var(--surface-2); }
.why-sec[data-bg="none"] { background: transparent; }
body.photo-page .why-sec[data-bg="light"] { background: color-mix(in srgb, var(--surface) 88%, transparent); }
/* kartu */
.why-sec[data-layout="cards"] .why-item { background: var(--why-card, #fff); border-radius: 20px; padding: 34px 28px 32px; box-shadow: 0 24px 50px -34px rgba(0, 0, 0, .55); }
.why-sec[data-layout="cards"] .why-item h3 { margin-bottom: 14px; }
.why-sec[data-layout="cards"] .why-item .icon, .why-sec[data-layout="cards"] .why-img, .why-sec[data-layout="cards"] .why-sym { margin-bottom: 20px; }
/* daftar: ikon di kiri */
.why-sec[data-layout="list"] .why-grid, .why-sec[data-layout="split"] .why-grid { justify-content: flex-start; text-align: left; }
.why-sec[data-layout="list"] .why-item, .why-sec[data-layout="split"] .why-item { flex-direction: row; align-items: flex-start; gap: 20px; }
.why-sec[data-layout="list"] .why-item .icon, .why-sec[data-layout="list"] .why-img, .why-sec[data-layout="list"] .why-sym,
.why-sec[data-layout="split"] .why-item .icon, .why-sec[data-layout="split"] .why-img, .why-sec[data-layout="split"] .why-sym { margin: 0; flex: none; }
.why-sec[data-layout="list"] .why-item h3, .why-sec[data-layout="split"] .why-item h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin: 4px 0 8px; }
.why-sec[data-layout="list"] .why-body, .why-sec[data-layout="split"] .why-body { align-items: flex-start; }
/* judul kiri, poin kanan */
.why-sec[data-layout="split"] { text-align: left; }
.why-sec[data-layout="split"] .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto auto 1fr; column-gap: 56px; align-items: start; }
.why-sec[data-layout="split"] .why-title { grid-column: 1; }
.why-sec[data-layout="split"] .why-bar { grid-column: 1; margin: 22px 0 0; width: 120px; }
.why-sec[data-layout="split"] .why-grid { grid-column: 2; grid-row: 1 / span 3; margin: 0; max-width: none; gap: 34px 40px; }
.why-sec[data-layout="split"] .why-item { flex-basis: calc((100% - (var(--why-n, 2) - 1) * 40px) / var(--why-n, 2)); min-width: 220px; }
/* minimal */
.why-sec[data-layout="minimal"] { padding: 64px 0 70px; }
.why-sec[data-layout="minimal"] .why-item .icon { padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 10%, transparent); width: calc(var(--isz, 54px) + 24px); height: calc(var(--isz, 54px) + 24px); }
@media (max-width: 860px) {
  .why-sec .why-item, .why-sec[data-layout="split"] .why-item { flex-basis: 100%; }
  .why-sec[data-layout="split"] .container { display: block; }
  .why-sec[data-layout="split"] .why-bar { margin: 22px 0 36px; }
}

/* ikon / simbol / logo judul visi-misi */
.vm-logo { height: 30px; width: auto; max-width: 110px; object-fit: contain; flex: none; }
.vm-sym { font-size: 1.3em; line-height: 1; flex: none; }
.vm-sec h4 .vm-logo { height: 24px; } .vm-banner .vm-logo { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3)); }
.vm-banner h4 { display: flex; align-items: center; gap: 10px; }
.vm-banner h4 .icon { width: 22px; height: 22px; }

/* ---------- latar halaman pilihan (selain foto) ---------- */
body.photo-page[data-pagebg]:not([data-pagebg="photo"])::before { background: var(--pg-bg, #f6f8fb); filter: none; transform: none; }
body.photo-page[data-pagebg]:not([data-pagebg="photo"])::after { background: linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 45%); }
body.photo-page[data-pagebg]:not([data-pagebg="photo"]) .page-banner::before { background: linear-gradient(90deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 100%); }
body.photo-page[data-pagebg]:not([data-pagebg="photo"]) .page-banner h1 { text-shadow: none; }
[data-mode="dark"] body.photo-page[data-pagebg]:not([data-pagebg="photo"])::after { background: rgba(10, 13, 18, .84); }
[data-mode="dark"] body.photo-page[data-pagebg]:not([data-pagebg="photo"]) .page-banner::before { background: rgba(10, 13, 18, .35); }

/* ---------- latar: kontras/kecerahan/keburaman foto & paduan foto + warna/pola ---------- */
body.photo-page::before { filter: saturate(.85) contrast(var(--pg-contrast, .95)) brightness(var(--pg-bright, 1)) blur(var(--pg-blur, .6px)); }
body.photo-page::after { opacity: var(--pg-wash, 1); }
body.photo-page[data-pgmix="1"][data-pagebg]:not([data-pagebg="photo"])::before { background: var(--page-img, url("../assets/img/gedung-fkip.jpg")) center 40% / cover no-repeat;
  filter: saturate(.85) contrast(var(--pg-contrast, .95)) brightness(var(--pg-bright, 1)) blur(var(--pg-blur, .6px)); transform: scale(1.02); }
body.photo-page[data-pgmix="1"][data-pagebg]:not([data-pagebg="photo"])::after { background: var(--pg-bg); opacity: var(--pg-mix, .75); }
[data-mode="dark"] body.photo-page[data-pgmix="1"][data-pagebg]:not([data-pagebg="photo"])::after { background: linear-gradient(rgba(10, 13, 18, .72), rgba(10, 13, 18, .72)), var(--pg-bg); }

/* ---------- latar beranda (di bawah slide) ---------- */
body.home-bgx::before, body.home-bgx::after { content: ""; position: fixed; inset: 0; pointer-events: none; }
body.home-bgx::before { z-index: -2; background: var(--home-bg, var(--bg)); }
body.home-bgx::after { z-index: -1; background: none; }
body.home-bgx[data-homebg="photo"]::before, body.home-bgx[data-homemix="1"]::before { background: var(--page-img, url("../assets/img/gedung-fkip.jpg")) center 40% / cover no-repeat;
  filter: saturate(.85) contrast(var(--pg-contrast, .95)) brightness(var(--pg-bright, 1)) blur(var(--pg-blur, .6px)); transform: scale(1.02); }
body.home-bgx[data-homebg="photo"]::after { background: var(--wash-tint), linear-gradient(180deg, var(--wash-a) 0%, var(--wash-b) 38%, var(--wash-c) 100%); opacity: var(--pg-wash, 1); }
body.home-bgx[data-homemix="1"]::after { background: var(--home-bg); opacity: var(--pg-mix, .75); }
body.home-bgx { background: transparent; }
body.home-bgx .welcome-sec:not(.sec-bgx) { background: transparent; }
[data-mode="dark"] body.home-bgx::after { background: rgba(10, 13, 18, .84); opacity: 1; }
/* latar per bagian beranda */
.sec-bgx { position: relative; }
.home-feed.sec-bgx { padding-bottom: 72px; margin-top: 0; }
[data-mode="dark"] .sec-bgx { background: none !important; }
/* layout sambutan ketua prodi */
#welcome.wlay-right .welcome-grid { grid-template-columns: minmax(0, 1fr) 360px; }
#welcome.wlay-right .welcome-person { order: 2; }
#welcome.wlay-center .welcome-grid { grid-template-columns: minmax(0, 1fr); max-width: 880px; text-align: center; justify-items: center; gap: 26px; }
#welcome.wlay-center .welcome-copy { text-align: center; }
#welcome.wlay-card .welcome-grid { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 46px 50px; box-shadow: 0 30px 60px -42px rgba(15, 25, 40, .5); }
@media (max-width: 900px) {
  #welcome.wlay-right .welcome-grid { grid-template-columns: 1fr; } #welcome.wlay-right .welcome-person { order: 0; }
  #welcome.wlay-card .welcome-grid { padding: 28px 20px; }
}

/* paragraf ringkasan kartu: tampil / sembunyi (Admin → Tampilan → Kartu berita & tulisan) */
body[data-ex="hide"] .pc-body > .pc-ex { display: none !important; }
body[data-ex="show"] .pc-body > .pc-ex { display: block; -webkit-line-clamp: unset; }
body.cards-news[data-ex="show"] .pc-body > .pc-ex { order: 1; margin: 0 0 16px; font-size: .98rem; line-height: 1.75; color: var(--muted); text-align: left; }
body.cards-news[data-ex="show"] .pc-body > .pc-tags { order: 2; }
body .post-grid.pl.pl-noex .pc-ex, body .post-grid.pl.pl-compact .pc-ex { display: none !important; }

/* ---------- beranda: kotak statistik sebagai bagian tersendiri + layout ---------- */
.stats-sec { position: relative; z-index: 4; }
.stats-sec .stats-band { margin-top: 0; }
.stats-sec.st-near { margin-top: 22px; }
.stats-sec.st-first { margin-top: -92px; z-index: 5; }
.stats-sec.st-apart { padding-top: 64px; }
.stats-sec.sec-bgx { padding: 48px 0 40px; }
.stats-sec.sec-bgx.st-near { margin-top: 28px; }
#stats-sec[data-lay="cards"] .stats-band { background: none; box-shadow: none; gap: 16px; overflow: visible; }
#stats-sec[data-lay="cards"] .stats-band::after { display: none; }
#stats-sec[data-lay="cards"] .stat { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); border: 0 !important; border-radius: 18px; box-shadow: var(--shadow); transition: transform .25s; }
#stats-sec[data-lay="cards"] .stat:hover { transform: translateY(-4px); }
#stats-sec:is([data-lay="outline"], [data-lay="minimal"], [data-lay="glass"]) .stats-band { color: var(--heading); }
#stats-sec:is([data-lay="outline"], [data-lay="minimal"], [data-lay="glass"]) .stats-band::after { display: none; }
#stats-sec:is([data-lay="outline"], [data-lay="minimal"], [data-lay="glass"]) .stat { border-color: var(--line) !important; }
#stats-sec:is([data-lay="outline"], [data-lay="minimal"], [data-lay="glass"]) .stat .icon, #stats-sec:is([data-lay="outline"], [data-lay="minimal"], [data-lay="glass"]) .stat strong { color: var(--brand); }
#stats-sec:is([data-lay="outline"], [data-lay="minimal"], [data-lay="glass"]) .stat small { color: var(--muted); opacity: 1; }
#stats-sec[data-lay="outline"] .stats-band { background: var(--surface); border: 2px solid var(--brand); }
#stats-sec[data-lay="minimal"] .stats-band { background: none; box-shadow: none; border-radius: 0; border-top: 3px solid var(--brand); border-bottom: 1px solid var(--line); }
#stats-sec[data-lay="minimal"] .stat strong { font-size: 2.3rem; }
#stats-sec[data-lay="glass"] .stats-band { background: color-mix(in srgb, var(--surface) 62%, transparent); border: 1px solid color-mix(in srgb, var(--surface) 80%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
#stats-sec[data-lay="center"] .stat { flex-direction: column; text-align: center; gap: 10px; padding: 26px 14px; }
#stats-sec[data-lay="center"] .stat .icon { width: 50px; height: 50px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
/* tautan cepat: layout */
#quick[data-lay="tiles"] .quick-links a { flex-direction: column; text-align: center; gap: 10px; padding: 22px 10px; }
#quick[data-lay="tiles"] .quick-links a .icon { width: 34px; height: 34px; color: var(--brand); }
#quick[data-lay="brand"] .quick-links { background: linear-gradient(120deg, var(--brand-deep), var(--brand)); border-color: transparent; }
#quick[data-lay="brand"] .quick-links a { color: #fff; border-right-color: rgba(255, 255, 255, .18); }
#quick[data-lay="brand"] .quick-links a .icon { color: #fff; }
#quick[data-lay="brand"] .quick-links a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
#quick[data-lay="pills"] .quick-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; background: none; border: 0; box-shadow: none; overflow: visible; }
#quick[data-lay="pills"] .quick-links a { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); padding: 11px 20px 11px 14px; }
#quick[data-lay="pills"] .quick-links a br { display: none; }
#quick[data-lay="pills"] .quick-links a .icon { width: 24px; height: 24px; color: var(--brand); }
#quick[data-lay="pills"] .quick-links a:hover { background: var(--brand); color: #fff; border-color: transparent; }
#quick[data-lay="pills"] .quick-links a:hover .icon { color: #fff; }
[data-tone] .eyebrow { color: var(--brand); }
[data-tone] .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-tone] .section-head h2 em { color: var(--brand); }

/* ---------- beranda: deretan logo layanan (Admin → Logo & Layanan) ---------- */
.svc-sec { padding: 72px 0; --svc-h: 92px; }
.svc-sec.svc-off { display: none !important; }
.svc-sec[data-size="s"] { --svc-h: 68px; } .svc-sec[data-size="l"] { --svc-h: 118px; }
.svc-wrap { display: grid; gap: 36px; align-items: center; }
.svc-sec[data-layout="side"] .svc-wrap { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); }
.svc-main { min-width: 0; }
.svc-title { text-align: center; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--brand-deep); margin: 0 0 20px; }
.svc-title span { color: var(--brand); }
.svc-intro { text-align: center; color: var(--muted); max-width: 680px; margin: -8px auto 20px; }
.svc-frame { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 18px 40px -26px rgba(15, 23, 42, .35); }
.svc-grid { display: grid; grid-template-columns: repeat(var(--svc-cols, 4), minmax(0, 1fr)); gap: 16px; }
.svc-tile { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); padding: 14px 12px; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.svc-tile:hover, a.svc-tile:focus-visible { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--brand) 60%, transparent); }
.svc-face { position: relative; height: var(--svc-h); display: flex; align-items: center; justify-content: center; border-radius: 10px; overflow: hidden; }
.svc-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%); transform: translateX(-130%); transition: transform .8s; pointer-events: none; }
a.svc-tile:hover .svc-face::after { transform: translateX(130%); }
.svc-img { width: 100%; height: 100%; object-fit: contain; }
.svc-gen { display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; padding: 8px 12px; }
.svc-gen.no-mark { justify-content: center; text-align: center; }
.svc-mark { height: 80%; aspect-ratio: 1; object-fit: contain; flex: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); transition: transform .4s; }
a.svc-tile:hover .svc-mark { transform: rotate(-8deg) scale(1.06); }
.svc-gen b { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; text-transform: uppercase; line-height: 1.02; font-size: clamp(.78rem, 1.3vw, 1.12rem); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc-sec[data-size="l"] .svc-gen b { font-size: clamp(.9rem, 1.6vw, 1.35rem); }
.svc-cap { display: none; text-align: center; font-weight: 700; font-size: .82rem; line-height: 1.25; color: var(--heading); }
.svc-sec[data-tile="solid"] .svc-face { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; }
.svc-sec[data-tile="outline"] .svc-face { background: #fff; box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand-deep); }
.svc-sec[data-tile="white"] .svc-face { background: #fff; color: var(--brand-deep); box-shadow: inset 0 0 0 1px var(--line); }
.svc-sec[data-tile="logo"] .svc-face { background: none; }
.svc-sec[data-tile="logo"] .svc-gen { justify-content: center; } .svc-sec[data-tile="logo"] .svc-gen:not(.no-mark) b { display: none; }
.svc-sec[data-tile="logo"] .svc-cap { display: block; }
.svc-face.has-img { background: #fff !important; box-shadow: none !important; }
.svc-sec[data-layout="row"] .svc-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.svc-sec[data-layout="row"] .svc-tile { scroll-snap-align: start; }
.svc-sec[data-layout="compact"] { --svc-h: 64px; }
.svc-sec[data-layout="compact"] .svc-frame { background: none; border: 0; box-shadow: none; padding: 0; }
.svc-sec[data-layout="compact"] .svc-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.svc-sec[data-layout="compact"] .svc-tile { padding: 10px; background: var(--surface); }
.svc-sec[data-layout="compact"] .svc-cap { display: block; }
.svc-sec[data-layout="compact"] .svc-gen b { font-size: .72rem; }
.svc-marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.svc-track { display: flex; gap: 16px; width: max-content; animation: svc-scroll var(--svc-speed, 38s) linear infinite; padding: 6px 0; }
.svc-marq:hover .svc-track, .svc-marq:focus-within .svc-track { animation-play-state: paused; }
.svc-track .svc-tile { width: 250px; flex: none; }
@keyframes svc-scroll { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .svc-track { animation: none; } .svc-marq { overflow-x: auto; } }
.svc-side { display: grid; gap: 14px; justify-items: start; }
.svc-side img { width: min(180px, 60%); height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .18)); }
.svc-quote { font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: 1.15rem; line-height: 1.55; color: var(--heading); margin: 0; }
.svc-side h3 { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 900; text-transform: uppercase; line-height: 1.02; font-size: clamp(1.5rem, 2.6vw, 2.3rem); color: var(--brand); }
[data-mode="dark"] .svc-sec[data-tile]:not([data-tile="solid"]) .svc-face:not(.has-img) { background: var(--surface-2); color: #fff; }
@media (max-width: 980px) { .svc-sec[data-layout="side"] .svc-wrap { grid-template-columns: 1fr; } .svc-side { justify-items: center; text-align: center; } .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .svc-sec { padding: 52px 0; --svc-h: 70px; } .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .svc-frame { padding: 10px; } .svc-tile { padding: 8px; } .svc-gen { gap: 6px; padding: 6px 8px; } .svc-gen b { font-size: .72rem; } .svc-track .svc-tile { width: 190px; } }

/* logo layanan: ukuran tulisan mengikuti lebar kotak (tidak terpotong di kolom sempit) */
.svc-tile { container-type: inline-size; }
.svc-gen b { font-size: clamp(.6rem, 8.2cqi, 1.12rem); hyphens: auto; overflow-wrap: normal; }
.svc-sec[data-size="l"] .svc-gen b { font-size: clamp(.66rem, 9cqi, 1.35rem); }
.svc-sec[data-layout="compact"] .svc-gen b { font-size: clamp(.56rem, 7.5cqi, .78rem); }
.svc-mark { height: min(80%, 26cqi); }
.stats-sec.st-apart, .stats-sec.st-near { padding-bottom: 36px; }
.stats-sec.st-first { padding-bottom: 8px; }

/* footer: peta Google Maps & tautannya */
.footer-col a.foot-maplink { color: var(--accent); font-weight: 700; }
.foot-map { margin-top: 6px; }
.foot-map iframe, .foot-mapwide iframe { display: block; width: 100%; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .08); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.foot-mapwide { padding-bottom: 44px; }
.footer[data-maptone="dark"] :is(.foot-map, .foot-mapwide) iframe { filter: invert(.9) hue-rotate(180deg) saturate(.85) brightness(.95); }

/* ---------- logo tautan (UNJA, FKIP, …) di tempat pilihan admin ---------- */
.lk-slot { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.lk { --lk-h: 38px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--heading); font-weight: 800; font-size: .86rem; line-height: 1; transition: transform .2s, box-shadow .2s, background .2s; }
.lk-s { --lk-h: 28px; } .lk-l { --lk-h: 48px; } .lk-xl { --lk-h: 62px; }
.lk-img { height: var(--lk-h); width: auto; max-width: calc(var(--lk-h) * 3.2); object-fit: contain; flex: none; }
.lk-ini { height: var(--lk-h); min-width: var(--lk-h); padding: 0 6px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; font-size: calc(var(--lk-h) * .3); font-weight: 900; letter-spacing: .02em; flex: none; }
a.lk:hover, a.lk:focus-visible { transform: translateY(-2px); }
.lk-chip { padding: 3px 14px 3px 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lk-chip:not(:has(.lk-t)) { padding: 3px; }
a.lk-chip:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.lk-circle { padding: 4px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
.lk-circle .lk-img { width: var(--lk-h); max-width: none; } .lk-circle .lk-t { display: none; }
.lk-card { padding: 6px 12px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .25); color: #18212d; }
/* tempat */
.lk-slot[data-place="header"] { margin-right: 4px; }
.lk-slot[data-place="header"] .lk-t { display: none; }
@media (min-width: 1440px) { .lk-slot[data-place="header"] .lk-t { display: inline; } .lk-slot[data-place="header"] .lk-chip:not(:has(.lk-t)) { padding: 3px; } }
.lk-slot[data-place="header"] .lk-chip { padding: 3px; }
@media (min-width: 1440px) { .lk-slot[data-place="header"] .lk-chip:has(.lk-t) { padding: 3px 14px 3px 3px; } }
.lk-slot[data-place="brand"] { padding-left: 14px; margin-left: 2px; border-left: 1px solid var(--line); }
.lk-slot[data-place="topbar"] { margin-left: 14px; gap: 10px; }
.lk-slot[data-place="topbar"] .lk { --lk-h: 22px; color: #fff; font-size: .76rem; }
.lk-slot[data-place="topbar"] .lk-chip { background: rgba(255, 255, 255, .14); border-color: transparent; padding: 2px 10px 2px 2px; }
.lk-slot[data-place="hero"] { position: absolute; top: 22px; right: clamp(16px, 3vw, 40px); z-index: 6; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
.lk-slot[data-place="hero"] .lk-plain { color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.lk-slot[data-place="hero"] .lk-plain .lk-img { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.lk-slot[data-place="footer"] { margin-top: 18px; flex-wrap: wrap; }
.lk-slot[data-place="footer"] .lk { color: #fff; }
.lk-slot[data-place="footer"] .lk-chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.lk-slot[data-place="float"] { position: fixed; left: 16px; bottom: 16px; z-index: 60; flex-direction: column; align-items: flex-start; }
.lk-slot[data-place="float"] .lk-chip { box-shadow: var(--shadow); }
[data-mode="dark"] .lk-chip { background: var(--surface-2); }
@media (max-width: 980px) { .lk-slot[data-place="brand"] { display: none; } .lk-slot[data-place="header"] .lk { --lk-h: 30px; } }
@media (max-width: 700px) { .lk-slot[data-place="topbar"] .lk-t, .lk-slot[data-place="hero"] .lk-t { display: none; } .lk-slot[data-place="hero"] { top: 12px; } .lk-slot[data-place="header"] .lk + .lk { display: none; } }
@media print { .lk-slot[data-place="float"] { display: none; } }

/* logo tautan di header: baris sendiri tepat di atas tombol Cari & Masuk Admin */
.header-tools.lk-top { flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; padding: 8px 0; }
.header-tools.lk-top > .lk-slot[data-place="header"] { flex: 0 0 100%; justify-content: flex-end; margin-right: 0; }
.lk-slot[data-place="header"] .lk { --lk-h: 30px; }
.lk-slot[data-place="header"] .lk-t { display: inline; }
.lk-slot[data-place="header"] .lk-chip:has(.lk-t) { padding: 2px 12px 2px 2px; }
.lk-slot[data-place="header"] .lk-s { --lk-h: 24px; } .lk-slot[data-place="header"] .lk-l { --lk-h: 38px; } .lk-slot[data-place="header"] .lk-xl { --lk-h: 46px; }
.lk-slot[data-place="headerRow"] { margin-right: 4px; }
.lk-slot[data-place="headerRow"] .lk-t { display: none; }
.lk-slot[data-place="headerRow"] .lk-chip { padding: 3px; }
@media (min-width: 1440px) { .lk-slot[data-place="headerRow"] .lk-t { display: inline; } .lk-slot[data-place="headerRow"] .lk-chip:has(.lk-t) { padding: 3px 14px 3px 3px; } }
@media (max-width: 980px) {
  .header-tools.lk-top { flex-wrap: nowrap; padding: 0; }
  .header-tools.lk-top > .lk-slot[data-place="header"] { flex: none; margin-right: 4px; }
  .lk-slot[data-place="header"] .lk-t, .lk-slot[data-place="headerRow"] .lk-t { display: none; }
  .lk-slot[data-place="header"] .lk-chip, .lk-slot[data-place="headerRow"] .lk-chip { padding: 2px; }
  .lk-slot[data-place="headerRow"] .lk { --lk-h: 30px; }
}
@media (max-width: 700px) { .lk-slot[data-place="headerRow"] .lk + .lk { display: none; } }
/* HP: logo header disembunyikan agar nama situs tidak terdesak (tetap bisa ditaruh di bilah atas / footer) */
@media (max-width: 560px) { .lk-slot[data-place="header"], .lk-slot[data-place="headerRow"] { display: none; } }

/* ---------- foto berdampingan & foto + teks (editor berita) ---------- */
.prose.rich .img-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; clear: both; }
.prose.rich .img-row.cols-1 { grid-template-columns: minmax(0, 1fr); } .prose.rich .img-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose.rich .img-row.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .prose.rich .img-row.cols-5, .prose.rich .img-row.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose.rich .img-row > figure, .prose.rich .img-side > figure { margin: 0; min-width: 0; }
.prose.rich .img-row img, .prose.rich .img-side img { display: block; width: 100% !important; max-width: 100%; margin: 0; float: none; border-radius: 12px; }
.prose.rich .img-row:not(.fit-full) img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.prose.rich .img-row.fit-full { align-items: start; }
.prose.rich .img-row figcaption, .prose.rich .img-side figcaption { margin-top: 7px; font-size: .84rem; line-height: 1.45; color: var(--muted); text-align: center; }
.prose.rich .img-side { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 26px; align-items: start; margin: 24px 0; clear: both; }
.prose.rich .img-side.side-30 { grid-template-columns: 30% minmax(0, 1fr); } .prose.rich .img-side.side-50 { grid-template-columns: 50% minmax(0, 1fr); }
.prose.rich .img-side.side-right { grid-template-columns: minmax(0, 1fr) 40%; } .prose.rich .img-side.side-right.side-30 { grid-template-columns: minmax(0, 1fr) 30%; }
.prose.rich .img-side.side-right.side-50 { grid-template-columns: minmax(0, 1fr) 50%; } .prose.rich .img-side.side-right > figure { order: 2; }
.prose.rich .side-text { min-width: 0; } .prose.rich .side-text > :first-child { margin-top: 0; } .prose.rich .side-text > :last-child { margin-bottom: 0; }
.prose.rich img.img-left, .prose.rich img.img-right { max-width: 50%; }
.prose.rich p:has(> img.img-left:only-child), .prose.rich p:has(> img.img-right:only-child) { margin: 0; }
@media (max-width: 720px) {
  .prose.rich .img-row.cols-3, .prose.rich .img-row.cols-4, .prose.rich .img-row.cols-5, .prose.rich .img-row.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose.rich .img-side, .prose.rich .img-side[class*="side-"] { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .prose.rich .img-side.side-right > figure { order: 0; }
  .prose.rich img.img-left, .prose.rich img.img-right { max-width: 100%; }
}

/* ---------- beranda: kumpulan video (Admin → Video Tutorial) ---------- */
.vid-sec { padding: 72px 0; --vid-card: var(--surface); --vid-line: var(--line); --vid-ink: var(--heading); --vid-muted: var(--muted); --vid-accent: var(--brand); }
.vid-sec.vid-off { display: none !important; }
.vid-sec[data-theme="dark"] { background: #141414; color: #f3f4f6; --vid-card: #1e1e1e; --vid-line: rgba(255, 255, 255, .1); --vid-ink: #fff; --vid-muted: rgba(255, 255, 255, .72); --vid-accent: color-mix(in srgb, var(--brand) 80%, #fff); }
.vid-sec[data-theme="brand"] { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; --vid-card: rgba(255, 255, 255, .08); --vid-line: rgba(255, 255, 255, .18); --vid-ink: #fff; --vid-muted: rgba(255, 255, 255, .8); --vid-accent: #fff; }
.vid-h { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; letter-spacing: -.015em; color: var(--vid-ink); }
.vid-h span { color: var(--vid-accent); }
.vid-sec[data-theme="brand"] .vid-h span { color: #ffd166; }
.vid-intro { margin: 8px 0 0; font-style: italic; color: var(--vid-muted); max-width: 820px; }
.vid-frame { position: relative; margin-top: 28px; background: var(--vid-card); border: 1px solid var(--vid-line); border-radius: 22px; padding: 22px; }
.vid-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--vid-cols, 4) - 1) * 18px) / var(--vid-cols, 4)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.vid-track::-webkit-scrollbar { display: none; }
.vid-track:focus-visible { outline: 2px solid var(--vid-accent); outline-offset: 6px; border-radius: 10px; }
.vid-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.vid-card { scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.vid-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.vid-thumb:hover img { transform: scale(1.05); filter: brightness(.9); }
.vid-thumb:focus-visible { outline: 3px solid var(--vid-accent); outline-offset: 3px; }
.vid-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.vid-play svg { width: 64px; height: 45px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); transition: transform .2s; }
.vid-thumb:hover .vid-play svg { transform: scale(1.12); }
.vid-cap { display: grid; gap: 4px; }
.vid-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--vid-accent); }
.vid-title { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.32; color: var(--vid-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid-title:empty { display: none; }
.vid-desc { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--vid-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vid-over { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 34px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); text-align: left; pointer-events: none; }
.vid-over .vid-title { color: #fff; font-size: .92rem; } .vid-over .vid-kicker { color: #fff; opacity: .85; }
.vid-sec[data-cap="overlay"] .vid-play svg { width: 54px; height: 38px; }
.vid-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 1.7rem; line-height: 1; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); transition: background .2s, transform .2s; }
.vid-nav:hover, .vid-nav:focus-visible { background: var(--brand); }
.vid-nav.prev { left: -14px; } .vid-nav.next { right: -14px; }
.vid-marq { overflow: hidden; }
.vid-marq .vid-track { display: flex; width: max-content; overflow: visible; cursor: default; animation: vid-scroll var(--vid-speed, 45s) linear infinite; }
.vid-marq .vid-card { width: 300px; flex: none; }
.vid-marq:hover .vid-track, .vid-marq:focus-within .vid-track { animation-play-state: paused; }
@keyframes vid-scroll { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .vid-marq .vid-track { animation: none; } .vid-marq { overflow-x: auto; } }
.vid-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(var(--vid-cols, 4), minmax(0, 1fr)); gap: 24px 20px; }
.vid-feat { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.vid-main .vid-title { font-size: 1.3rem; } .vid-main .vid-play svg { width: 84px; height: 59px; }
.vid-side { display: grid; gap: 14px; max-height: 560px; overflow-y: auto; padding-right: 4px; }
:is(.vid-side, .vid-list) .vid-card { display: grid; grid-template-columns: 170px minmax(0, 1fr); grid-auto-flow: dense; gap: 6px 14px; align-items: start; }
:is(.vid-side, .vid-list) .vid-card > .vid-thumb { grid-column: 1; grid-row: 1 / span 2; }
:is(.vid-side, .vid-list) .vid-card > .vid-cap { grid-column: 2; }
:is(.vid-side, .vid-list) .vid-play svg { width: 40px; height: 28px; }
:is(.vid-side, .vid-list) .vid-title { font-size: .92rem; }
.vid-list { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vid-list .vid-card { padding: 12px; background: var(--vid-card); border: 1px solid var(--vid-line); border-radius: 16px; grid-template-columns: 220px minmax(0, 1fr); }
.vid-more { display: flex; justify-content: flex-end; margin-top: 24px; }
.vid-sec .vid-more .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.vid-sec[data-theme="brand"] .vid-more .btn-primary { background: #fff; color: var(--brand-deep); }
@media (max-width: 980px) {
  .vid-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vid-feat, .vid-list { grid-template-columns: minmax(0, 1fr); }
  .vid-side { max-height: none; }
}
@media (max-width: 600px) {
  .vid-sec { padding: 52px 0; }
  .vid-frame { padding: 14px; border-radius: 16px; }
  .vid-track { grid-auto-columns: 84%; gap: 12px; }
  .vid-grid { grid-template-columns: minmax(0, 1fr); }
  .vid-nav { width: 38px; height: 38px; font-size: 1.4rem; } .vid-nav.prev { left: 2px; } .vid-nav.next { right: 2px; }
  :is(.vid-side, .vid-list) .vid-card { grid-template-columns: 130px minmax(0, 1fr); }
  .vid-marq .vid-card { width: 240px; }
}

/* === KUSTOMISASI KOTAK STATISTIK === */
.stats-band.layout-pill-gradient {
  border-radius: 22px;
  background: var(--stat-bg, linear-gradient(90deg, var(--brand-deep), var(--brand)));
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .14);
}
.stats-band.layout-pill-gradient .stat {
  border-right: 1px solid rgba(255, 255, 255, .14);
  padding: 28px 18px;
}
.stats-band.layout-pill-gradient .stat:last-child { border-right: 0; }

.stats-band.layout-flat-blocks {
  border-radius: 0;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.stats-band.layout-flat-blocks .stat {
  background: var(--stat-c1, var(--brand));
  border-radius: 0;
  padding: 42px 20px;
}
.stats-band.layout-flat-blocks .stat:nth-child(even) {
  background: var(--stat-c2, var(--accent));
}
.stats-band .stat.logo-left { flex-direction: row; text-align: left; gap: 14px; }
.stats-band .stat.logo-right { flex-direction: row-reverse; text-align: right; gap: 14px; }
.stats-band .stat.logo-top { flex-direction: column; text-align: center; }
.stats-band .stat-custom-logo {
  width: var(--stat-logo-size, 44px);
  height: var(--stat-logo-size, 44px);
  object-fit: contain;
  border-radius: 8px;
}

/* === 10 TEMPLATE HEADER BERANDA === */
.site-header.tpl-transparent-hero { position: fixed; width: 100%; background: transparent; box-shadow: none; }
.site-header.tpl-transparent-hero.scrolled { background: var(--hdr-bg, #062f6e); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.site-header.tpl-centered-logo .nav-inner { flex-direction: column; padding-top: 14px; padding-bottom: 10px; gap: 10px; }
.site-header.tpl-floating-pill { max-width: 1240px; margin: 14px auto; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); }
.site-header.tpl-accent-strip { border-top: 4px solid var(--accent, #e09f1f); }
.site-header.tpl-compact-sticky .nav-inner { min-height: 56px; }

/* ---------- penggeser bersama: panah ‹ › + jalan otomatis (video & layanan pengaduan) ---------- */
.sl-track { cursor: grab; scrollbar-width: none; overscroll-behavior-x: contain; }
.sl-track::-webkit-scrollbar { display: none; }
.sl-track.dragging { cursor: grabbing; scroll-snap-type: none !important; user-select: none; }
.sl-track.sl-flow { scroll-snap-type: none !important; }
.sl-track:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 10px; }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center;
  font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.sl-nav[hidden] { display: none; }
.sl-nav:hover { transform: translateY(-50%) scale(1.08); }
.sl-nav.prev { left: -14px; } .sl-nav.next { right: -14px; }
/* video */
.vid-frame > .sl-nav { background: rgba(0, 0, 0, .72); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.vid-frame > .sl-nav:hover, .vid-frame > .sl-nav:focus-visible { background: var(--brand); }
.vid-sec[data-theme="light"] .vid-frame > .sl-nav { background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
.vid-sec[data-theme="light"] .vid-frame > .sl-nav:hover { background: var(--brand); color: #fff; }
.vid-marq { overflow: visible; }
.vid-marq .vid-track { animation: none; width: auto; display: flex; overflow-x: auto; gap: 18px; }
/* layanan pengaduan */
.svc-frame { position: relative; }
.svc-frame > .sl-nav { background: #fff; color: var(--brand-deep); box-shadow: 0 8px 22px -6px rgba(15, 23, 42, .35); border: 1px solid var(--line); }
.svc-frame > .sl-nav:hover, .svc-frame > .sl-nav:focus-visible { background: var(--brand); color: #fff; border-color: transparent; }
.svc-frame.svc-marq { -webkit-mask-image: none; mask-image: none; overflow: visible; }
.svc-marq .svc-track { animation: none; width: auto; overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.svc-sec[data-layout="row"] .svc-grid { scroll-behavior: auto; }
@media (max-width: 600px) { .sl-nav { width: 38px; height: 38px; font-size: 1.4rem; } .sl-nav.prev { left: 2px; } .sl-nav.next { right: 2px; } }

/* ---------- header rapi: logo tautan di baris atas kanan, menu + Cari + Masuk Admin sejajar di baris bawah ---------- */
@media (min-width: 1061px) {
  .nav-inner.lk-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand logos logos" "brand nav tools"; column-gap: 18px; row-gap: 4px; align-items: center; padding: 8px 0 10px; }
  .nav-inner.lk-grid > .brand { grid-area: brand; }
  .nav-inner.lk-grid > .main-nav { grid-area: nav; min-width: 0; }
  .nav-inner.lk-grid > .header-tools { grid-area: tools; }
  .nav-inner.lk-grid > .lk-slot[data-place="header"] { grid-area: logos; justify-self: end; margin: 0; padding: 0 0 2px; }
  .site-header[data-hnav="right"] .nav-inner.lk-grid > .main-nav { justify-self: end; }
  .site-header[data-hnav="center"] .nav-inner.lk-grid > .main-nav { justify-self: center; }
  .site-header[data-hnav="left"] .nav-inner.lk-grid > .main-nav { justify-self: start; }
  .site-header[data-hnav="center"] .nav-inner:not(.lk-grid) > .main-nav { margin-left: auto; margin-right: auto; }
  .site-header[data-hnav="left"] .nav-inner:not(.lk-grid) > .main-nav { margin-left: 18px; margin-right: auto; }
  .site-header[data-hnav="left"] .nav-inner:not(.lk-grid) > .header-tools { margin-left: auto; }
}
@media (max-width: 1060px) {
  .nav-inner > .lk-slot[data-place="header"] { order: 2; margin-left: auto; }
  .nav-inner > .header-tools { order: 3; }
  .nav-inner.lk-grid > .header-tools { margin-left: 0; }
}
/* tinggi & ukuran tulisan menu */
.site-header[data-hh="compact"] .nav-inner { min-height: 62px; }
.site-header[data-hh="tall"] .nav-inner { min-height: 92px; }
.site-header[data-hh="compact"] .nav-inner.lk-grid { padding: 4px 0 6px; }
.site-header[data-hh="tall"] .nav-inner.lk-grid { padding: 14px 0 16px; }
.site-header[data-hfs="s"] .main-nav .nav-top { font-size: .8rem; }
.site-header[data-hfs="l"] .main-nav .nav-top { font-size: .98rem; }
/* gaya menu aktif */
.site-header:is([data-hact="pill"], [data-hact="box"], [data-hact="text"]) .main-nav .nav-top::after { display: none; }
.site-header[data-hact="pill"] .main-nav .nav-top { border-radius: 999px; }
.site-header[data-hact="pill"] .main-nav .nav-item.active > .nav-top { background: var(--brand); color: #fff; }
.site-header[data-hact="pill"] .main-nav .nav-item:not(.active) > .nav-top:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.site-header[data-hact="box"] .main-nav .nav-item.active > .nav-top, .site-header[data-hact="box"] .main-nav .nav-top:hover { background: color-mix(in srgb, var(--brand) 11%, transparent); }
/* latar header */
.site-header[data-hbg="white"]::before { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header[data-hbg="brand"]::before { background: linear-gradient(120deg, var(--brand-deep), var(--brand)); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header[data-hbg="dark"]::before { background: #0f172a; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header:is([data-hbg="brand"], [data-hbg="dark"]) { border-bottom-color: transparent; }
.site-header:is([data-hbg="brand"], [data-hbg="dark"]) .brand-copy strong { color: #fff !important; border-bottom-color: rgba(255, 255, 255, .55) !important; }
.site-header:is([data-hbg="brand"], [data-hbg="dark"]) .brand-copy strong span { color: #cfe1ff !important; }
.site-header:is([data-hbg="brand"], [data-hbg="dark"]) .brand-copy small { color: rgba(255, 255, 255, .78) !important; }
.site-header:is([data-hbg="brand"], [data-hbg="dark"]) .icon-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); color: #fff; }
.site-header:is([data-hbg="brand"], [data-hbg="dark"]) .btn-login { background: #fff; color: var(--brand-deep); }
@media (min-width: 1061px) {
  .site-header:is([data-hbg="brand"], [data-hbg="dark"]) .main-nav > .nav-item > .nav-top { color: rgba(255, 255, 255, .9); }
  .site-header:is([data-hbg="brand"], [data-hbg="dark"]) .main-nav > .nav-item.active > .nav-top, .site-header:is([data-hbg="brand"], [data-hbg="dark"]) .main-nav > .nav-item > .nav-top:hover { color: #fff; }
  .site-header[data-hbg="brand"][data-hact="pill"] .main-nav .nav-item.active > .nav-top { background: #fff; color: var(--brand-deep); }
  .site-header:is([data-hbg="brand"], [data-hbg="dark"])[data-hact="box"] .main-nav .nav-item.active > .nav-top { background: rgba(255, 255, 255, .16); }
}
/* bayangan, garis bawah, menempel */
.site-header[data-hshadow="always"], .site-header[data-hshadow="always"].scrolled { box-shadow: 0 6px 22px -10px rgba(15, 23, 42, .3); }
.site-header[data-hshadow="none"], .site-header[data-hshadow="none"].scrolled { box-shadow: none; }
.site-header.h-noline { border-bottom-color: transparent; }
.site-header.h-nosticky { position: relative; }
/* tombol */
.site-header[data-hlogin="hide"] .btn-login { display: none !important; }
.site-header[data-hlogin="icon"] .btn-login { padding: 0; width: 42px; height: 42px; border-radius: 50%; justify-content: center; }
.site-header[data-hlogin="icon"] .btn-login span { display: none; }
.icon-btn[hidden], .utility-bar[hidden] { display: none !important; }

/* ---------- beranda: kartu ajakan berwarna (Tes CEFR & JUELT) ---------- */
.cta-sec { padding: 26px 0; --cta-acc: #6a0606; --cta-acc2: #a50f0f; --cta-ink: #5a4636; --cta-cardbg: #fffaf1; position: relative; }
.cta-sec.cta-off { display: none !important; }
.cta-sec[data-band="band"] { background: var(--cta-band); overflow: hidden; }
.cta-sec[data-band="band"]::after { content: ""; position: absolute; right: -40px; top: 50%; width: 260px; height: 260px; transform: translateY(-50%) rotate(45deg); background: rgba(0, 0, 0, .06); border-radius: 36px; pointer-events: none; }
.cta-sec > .container { position: relative; z-index: 1; }
.cta-h { margin: 0 0 18px; text-align: center; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; text-transform: uppercase; color: var(--cta-acc); font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.cta-grid { display: grid; grid-template-columns: repeat(var(--cta-cols, 2), minmax(0, 1fr)); gap: 20px; }
.cta-card { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px; border-radius: 16px; background: var(--cta-cardbg); box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .45); transition: transform .25s, box-shadow .25s; }
.cta-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .5); }
.cta-sec[data-card="white"] { --cta-cardbg: #fff; }
.cta-sec[data-card="glass"] .cta-card { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cta-sec[data-card="dark"] { --cta-cardbg: #1d1d1f; --cta-ink: rgba(255, 255, 255, .76); }
.cta-top { display: flex; align-items: center; gap: 14px; }
.cta-ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--cta-acc); color: #ffd35c; box-shadow: 0 6px 14px -6px var(--cta-acc); }
.cta-ico .icon { width: 25px; height: 25px; } .cta-ico img { width: 72%; height: 72%; object-fit: contain; }
.cta-card h3 { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: 1.28rem; line-height: 1.2; color: var(--cta-acc); }
.cta-sec[data-card="dark"] .cta-card h3 { color: #fff; }
.cta-card p { margin: 0; padding-bottom: 14px; border-bottom: 1px solid rgba(0, 0, 0, .09); color: var(--cta-ink); line-height: 1.55; }
.cta-sec[data-card="dark"] .cta-card p { border-bottom-color: rgba(255, 255, 255, .14); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-b1, .cta-b2 { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 8px; font-weight: 700; font-size: .92rem; border: 2px solid var(--cta-acc); text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.cta-b1 { background: var(--cta-acc); color: #fff; } .cta-b1 .icon { width: 16px; height: 16px; }
.cta-b1:hover { background: var(--cta-acc2); border-color: var(--cta-acc2); color: #fff; transform: translateY(-1px); }
.cta-b2 { background: transparent; color: var(--cta-acc); }
.cta-b2:hover { background: var(--cta-acc); color: #fff; }
.cta-sec[data-card="dark"] .cta-b2 { color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta-sec[data-btn="pill"] :is(.cta-b1, .cta-b2) { border-radius: 999px; }
.cta-sec[data-btn="square"] :is(.cta-b1, .cta-b2) { border-radius: 0; }
.cta-sec[data-layout="row"] .cta-card { flex-direction: row; align-items: center; gap: 20px; }
.cta-sec[data-layout="row"] .cta-top { flex: 0 0 auto; min-width: 230px; }
.cta-sec[data-layout="row"] .cta-card p { flex: 1; padding: 0; border: 0; }
.cta-sec[data-layout="row"] .cta-btns { flex: none; }
.cta-sec[data-layout="center"] .cta-card { text-align: center; align-items: center; }
.cta-sec[data-layout="center"] .cta-top { flex-direction: column; gap: 10px; }
.cta-sec[data-layout="center"] .cta-card p { width: 100%; }
.cta-sec[data-layout="center"] .cta-btns { justify-content: center; }
.cta-sec.sec-bgx { padding: 30px 0; }
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-sec[data-layout="row"] .cta-card { flex-direction: column; align-items: flex-start; }
  .cta-sec[data-layout="row"] .cta-top { min-width: 0; }
}

/* ---------- kartu "Kenapa kuliah" & perjalanan akademik: sedikit membesar saat kursor diarahkan ---------- */
.why-sec .why-item.show, .journey .jr-card.show { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, background-color .35s; transition-delay: 0s; }
.why-sec .why-item:hover, .why-sec .why-item:focus-within { transform: translateY(-6px) scale(1.035); }
.why-sec[data-layout="cards"] .why-item:hover, .why-sec[data-layout="cards"] .why-item:focus-within { box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .6); }
.journey .jr-card:hover, .journey .jr-card:focus-within { transform: translateY(-5px) scale(1.025); box-shadow: 0 28px 50px -28px rgba(15, 25, 40, .55); }
@media (prefers-reduced-motion: reduce) { .why-sec .why-item:hover, .journey .jr-card:hover { transform: none; } }
/* gambar / ikon / logo bertautan */
.img-link { display: inline-block; color: inherit; text-decoration: none; line-height: 0; }
.img-link > img, .img-link > .icon, .img-link > span { transition: transform .3s ease, filter .3s ease; }
.img-link:hover > img, .img-link:hover > .icon, .img-link:hover > span, .img-link:focus-visible > img { transform: scale(1.08); filter: brightness(1.05); }
.img-link:focus-visible { outline: 3px solid var(--accent, #f6c445); outline-offset: 4px; border-radius: 10px; }
h3 > .img-link, h4 > .img-link, .why-body h3 .img-link { line-height: inherit; }
.why-item h3 .img-link:hover, .jr-card h3 .img-link:hover, .cta-card h3 .img-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.welcome-photo > .img-link, .tracer-media > .img-link { display: block; line-height: normal; }
.welcome-photo > .img-link img { width: 100%; height: 100%; object-fit: cover; }
.prose.rich a > img { cursor: pointer; }

/* kartu ajakan: warna tombol & ikon sendiri */
.cta-ico { background: var(--cta-ico-bg, var(--cta-acc)); color: var(--cta-ico-fg, #ffd35c); box-shadow: 0 6px 14px -6px var(--cta-ico-bg, var(--cta-acc)); }
.cta-b1 { background: var(--cta-btn, var(--cta-acc)); border-color: var(--cta-btn, var(--cta-acc)); }
.cta-b1:hover { background: var(--cta-btn, var(--cta-acc2)); border-color: var(--cta-btn, var(--cta-acc2)); filter: brightness(1.12); }
.cta-b2 { color: var(--cta-btn, var(--cta-acc)); border-color: var(--cta-btn, var(--cta-acc)); }
.cta-b2:hover { background: var(--cta-btn, var(--cta-acc)); color: #fff; }

/* ---------- sertifikat (piagam) hasil tes ---------- */
.et-cert-box { margin-top: 24px; padding: 20px 22px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--brand) 45%, transparent); background: color-mix(in srgb, var(--brand) 5%, transparent); }
.et-cert-box h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--heading); font-size: 1.1rem; }
.et-cert-box h4 .icon { width: 22px; height: 22px; color: var(--brand); }
.et-cert-box > p { margin: 0 0 12px; color: var(--muted); }
.et-cert-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.et-cert-form input[type=text], .et-cert-form input[type=email] { flex: 1 1 260px; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.et-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.et-cert-fig { margin: 18px 0 6px; }
.et-cert-img { display: block; width: 100%; max-width: 900px; border-radius: 8px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .45); }
.et-cert-mail { margin-top: 16px; } .et-cert-mail label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--heading); }
.et-cert-msg { margin: 10px 0 0; color: var(--muted); } .et-cert-msg.ok { color: #15803d; font-weight: 600; } .et-cert-msg.bad { color: #b45309; font-weight: 600; }
.cert-print { display: none; }
@media print {
  body.printing-cert > *:not(.cert-print) { display: none !important; }
  body.printing-cert .cert-print { display: block !important; width: 100%; height: auto; }
  body.printing-cert { background: #fff !important; }
}

/* berita: tombol bagikan & baca juga */
.art-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.art-share b { margin-right: 4px; color: var(--heading); }
.art-share .sh { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #fff; border: 0; cursor: pointer; text-decoration: none; transition: transform .2s, filter .2s; }
.art-share .sh:hover { transform: translateY(-2px); filter: brightness(1.1); }
.sh-wa { background: #25d366; } .sh-fb { background: #1877f2; } .sh-x { background: #111; } .sh-tg { background: #229ed9; } .sh-in { background: #0a66c2; }
.art-share .sh-copy { background: var(--surface-2); color: var(--heading); border: 1px solid var(--line); }
.art-related { margin: 26px 0 10px; } .art-related h3 { margin: 0 0 14px; color: var(--heading); }
@media (max-width: 760px) { .art-related .post-grid { --pl-cols: 1 !important; } }

/* =====================================================================================
   Gaya "Sederhana & elegan" (Admin → Tampilan → Gaya tampilan) — kesan situs resmi universitas:
   huruf serif klasik untuk judul, sudut tegas, tanpa bayangan & efek melayang, daftar ber-garis tipis.
   ===================================================================================== */
body.st-simple { font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 1.04rem; --shadow: none; --shadow-sm: none; }
body.st-simple :is(h1, h2, h3, h4) { font-family: "Source Serif 4", Georgia, "Times New Roman", serif; letter-spacing: 0; }
body.st-simple :is(h1, h2) { font-weight: 600; }
body.st-simple :is(h3, h4) { font-weight: 600; }
body.st-simple :is(.section-head h2, .hero h1, .why-title, .vid-h, .svc-title, .cta-h, .cpage h2, .art-title) em,
body.st-simple :is(.vid-h, .svc-title) span { font-style: normal; color: inherit; }
body.st-simple .eyebrow, body.st-simple .why-bar, body.st-simple .hero-swoosh { display: none !important; }
body.st-simple .reveal { transform: none !important; transition: none !important; opacity: 1 !important; }

/* judul bagian: rata kiri dengan garis tipis di bawahnya */
body.st-simple .section-head { align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 32px; gap: 12px 24px; }
body.st-simple .section-head h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); margin-top: 0; color: var(--heading); }
body.st-simple .section-head p { margin-top: 6px; }

/* tombol & label */
body.st-simple .btn { border-radius: 3px; font-weight: 600; box-shadow: none !important; letter-spacing: .01em; }
body.st-simple .btn:hover { transform: none; }
body.st-simple :is(.btn-accent, .btn-login) { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
body.st-simple .btn-accent:hover, body.st-simple .btn-login:hover { background: var(--brand); color: #fff; }
body.st-simple .btn-ghost { backdrop-filter: none; background: transparent; }
body.st-simple :is(.chip, .pc-tags li, .badge) { border-radius: 2px; }

/* slide beranda */
body.st-simple .hero h1 { font-weight: 600; letter-spacing: 0; line-height: 1.12; }
body.st-simple .hero h1 em { display: inline; }
body.st-simple .hero-badges { gap: 0; }
body.st-simple .hero-badges > span, body.st-simple .hero-badges > span.badge-acc { background: transparent; border: 0; border-radius: 0; padding: 0 14px; color: var(--on-hero); font-weight: 600; border-left: 1px solid rgba(255, 255, 255, .45); }
body.st-simple .hero-badges > span:first-child { padding-left: 0; border-left: 0; }

/* tautan cepat & angka: rata, tanpa bayangan */
body.st-simple .quick-links { border-radius: 0; box-shadow: none; border-top: 3px solid var(--brand-deep); }
body.st-simple .quick-links a:hover .icon { transform: none; }
body.st-simple .stats-band { border-radius: 0; background: var(--brand-deep); box-shadow: none; }
body.st-simple .stats-band::after { display: none; }
body.st-simple .stat strong { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; }

/* etalase berita / kegiatan / prestasi: daftar editorial tanpa kotak */
body.st-simple .post-card { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible; }
body.st-simple .post-card:hover, body.st-simple .post-card:hover .pc-img img { transform: none !important; }
body.st-simple .post-card .pc-img { border-radius: 2px !important; box-shadow: none !important; aspect-ratio: 3 / 2; }
body.st-simple .pc-badge, body.st-simple .pc-tags, body.st-simple .pc-more { display: none !important; }
body.st-simple .pc-body { padding: 14px 0 4px !important; }
body.st-simple .pc-body > .pc-date { display: block !important; order: -1; margin: 0 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
body.st-simple .pc-body > .pc-date .icon { display: none; }
body.st-simple .pc-body h3 { text-align: left !important; font-family: "Source Serif 4", Georgia, serif !important; font-weight: 600 !important; font-size: clamp(1.12rem, 1.45vw, 1.32rem) !important; line-height: 1.32 !important; }
body.st-simple .pc-body h3 a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.st-simple .pc-ex { text-align: left; line-height: 1.6; -webkit-line-clamp: 3; margin: 8px 0 0; color: var(--muted); }
body.st-simple .post-grid.pl { gap: 44px 28px; justify-content: flex-start; }
body.st-simple .pc-ph { background: var(--surface-2); }
/* tombol "Selengkapnya" di bawah etalase → tautan teks di kanan */
body.st-simple .feed-more { text-align: right; margin-top: 22px; }
body.st-simple .feed-more .btn { background: none !important; color: var(--brand) !important; border: 0 !important; padding: 0 !important; font-weight: 600; }
body.st-simple .feed-more .btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* daftar publikasi, buku, HKI, dll.: baris dengan garis pemisah, bukan kotak */
body.st-simple .item { background: transparent !important; border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; padding: 16px 2px; box-shadow: none !important; }
body.st-simple .item:hover { background: color-mix(in srgb, var(--brand) 3%, transparent) !important; }

/* tab hub (Riset, Karya, …): tab bergaris bawah, bukan kotak */
body.st-simple .hub-tabs { display: flex; flex-wrap: wrap; gap: 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
body.st-simple .hub-tab { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent !important; padding: 12px 0; margin-bottom: -1px; box-shadow: none !important; }
body.st-simple .hub-tab .icon { display: none; }
body.st-simple .hub-tab[aria-selected="true"], body.st-simple .hub-tab.active { border-bottom-color: var(--brand); color: var(--brand); }
body.st-simple .hub-panel { border-radius: 3px; border: 1px solid var(--line); padding: 26px 30px; background: var(--surface); box-shadow: none; }
body.st-simple .hub-panel .item { padding-left: 0; padding-right: 0; }
body.st-simple :is(.cp-empty, .hf-empty) { border-radius: 3px !important; box-shadow: none !important; }

/* kotak & panel lain: sudut tegas, tanpa bayangan dan efek melayang */
body.st-simple :is(.card, .et-card, .vm-card, .step, .fact, .explore-card, .contact-card, .feature-card, .news-item, .lecturer, .cta-card, .svc-frame, .svc-tile,
  .vid-frame, .jr-card, .why-item, .org-card, .testi-slide, .side-box, .tr-ph, .welcome-photo, .tracer-media img, .na-img img, .lk-chip, .vid-thumb, .ann-item, .ev-item, .et-cert-box) {
  box-shadow: none !important; border-radius: 3px !important; }
body.st-simple :is(.lecturer, .cta-card, .svc-tile, .jr-card, .why-item, .step, .explore-card, .contact-card, .feature-card, .vid-thumb, .ann-item, .ev-item):hover { transform: none !important; }
body.st-simple :is(.lecturer, .vid-thumb):hover img, body.st-simple .why-item:hover .img-link > * { transform: none !important; }
body.st-simple .lecturer:hover { border-color: var(--brand); }
body.st-simple .lk-chip { background: transparent; border-color: transparent; }
body.st-simple .cta-sec[data-band="band"]::after { display: none; }
body.st-simple .svc-face::after { display: none; }
body.st-simple .hub-tab small { color: var(--muted) !important; }
body.st-simple .hub-tab[aria-selected="true"] strong { color: var(--brand); }
/* kolom isian, tombol saring, kotak angka kecil & label tahun: sudut tegas */
body.st-simple :is(input[type=text], input[type=search], input[type=email], select, textarea, .seg, .seg button, .mini-stats > *, .item .yr, .cp-tabs button, .cp-content, .cpage, .art-side, .na-img, .page-tabs button, .page-tabs a) { border-radius: 3px !important; }
body.st-simple .seg button[aria-pressed="true"], body.st-simple .seg button.on { box-shadow: none !important; }

/* ---------- saring halaman berita / kegiatan / prestasi ---------- */
.pf-bar { display: grid; gap: 12px; margin: 0 0 28px; }
.pf-kinds { display: flex; flex-wrap: wrap; gap: 0 22px; border-bottom: 1px solid var(--line); }
.pf-kinds a { padding: 8px 0; margin-bottom: -1px; border-bottom: 3px solid transparent; font-weight: 600; color: var(--muted); }
.pf-kinds a:hover { color: var(--brand); }
.pf-kinds a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.pf-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-tools .pf-q { flex: 1 1 280px; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
.pf-tools .pf-year { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tags button { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .85rem; cursor: pointer; }
.pf-tags button:hover { border-color: var(--brand); color: var(--brand); }
.pf-tags button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pf-count { margin: 0; color: var(--muted); font-size: .9rem; }
.pf-count:empty { display: none; }
body.st-simple .pf-tags button { border-radius: 2px; }
/* ---------- beranda: agenda terdekat ---------- */
.home-agenda { padding: 64px 0 0; }
.home-agenda.ag-off { display: none !important; }
.ag-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.ag-item { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ag-date { display: grid; align-content: start; justify-items: center; padding: 10px 6px; border: 1px solid var(--line); border-top: 4px solid var(--brand); background: var(--surface); text-align: center; }
.ag-date b { font-family: "Source Serif 4", Georgia, serif; font-size: 2rem; line-height: 1; color: var(--heading); }
.ag-date span { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 4px; }
.ag-body h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.ag-body h3 a:hover { color: var(--brand); text-decoration: underline; }
.ag-meta { margin: 4px 0 0; font-size: .86rem; font-weight: 600; color: var(--brand); }
.ag-sum { margin: 6px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.ag-cal { display: inline-block; margin-top: 6px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.ag-cal:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 760px) { .ag-list { grid-template-columns: minmax(0, 1fr); } }
.seo-noscript { max-width: 860px; margin: 40px auto; padding: 0 16px; }

/* =====================================================================================
   Efek "timbul" saat kursor menyentuh komponen (Admin → Tampilan → Efek saat disentuh kursor).
   Hanya di perangkat bertetikus; mati bila pengunjung memilih "kurangi gerakan" di perangkatnya.
   ===================================================================================== */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.hover-lift :is(.lecturer, .cta-card, .svc-tile, .cv-card, .org-card, .fact, .hub-tab, .show-card, .contact-card, .vm-card, .feature-card, .leader, .explore-card, .step, .jr-card, .mini-stats > *, .side-latest li, .why-sec[data-layout="cards"] .why-item, .why-sec[data-layout="list"] .why-item, .card-link, .post-card, .vid-card, .why-item, .stat, .lk, .item, .ag-item, .ann-item, .ev-item, .btn, .quick-links a, .quick-links a .icon, .pc-img, .pc-img img, .vid-thumb, .vid-thumb img, .lecturer img, .cv-card img) {
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease, color .2s ease !important; }
  /* kartu berlatar: terangkat + bayangan lembut */
  body.hover-lift :is(.lecturer, .cta-card, .svc-tile, .cv-card, .org-card, .fact, .hub-tab, .show-card, .contact-card, .vm-card, .feature-card, .leader, .explore-card, .step, .jr-card, .mini-stats > *, .side-latest li, .why-sec[data-layout="cards"] .why-item, .why-sec[data-layout="list"] .why-item, .card-link):is(:hover, :focus-within) {
    transform: translateY(-6px) !important; box-shadow: 0 20px 38px -20px rgba(15, 25, 40, .42) !important; border-color: color-mix(in srgb, var(--brand) 35%, var(--line)) !important; }
  /* kartu tanpa latar (etalase berita, video, poin "Kenapa kuliah", angka statistik, logo): terangkat; bayangan pada fotonya */
  body.hover-lift :is(.post-card, .vid-card, .why-item, .stat, .lk):is(:hover, :focus-within) { transform: translateY(-6px) !important; }
  body.hover-lift :is(.post-card, .vid-card):hover :is(.pc-img, .vid-thumb) { box-shadow: 0 18px 34px -18px rgba(15, 25, 40, .5) !important; }
  body.hover-lift :is(.post-card:hover .pc-img img, .vid-card:hover .vid-thumb img, .lecturer:hover img, .cv-card:hover img) { transform: scale(1.04) !important; }
  body.hover-lift .stat:hover { background: rgba(255, 255, 255, .08); }
  /* baris daftar (publikasi, buku, HKI, agenda, pengumuman): sedikit terangkat + latar tipis */
  body.hover-lift :is(.item, .ag-item, .ann-item, .ev-item):hover { transform: translateY(-3px) !important; background-color: color-mix(in srgb, var(--brand) 4%, var(--surface)) !important; box-shadow: 0 12px 24px -18px rgba(15, 25, 40, .4) !important; }
  /* tombol */
  body.hover-lift .btn:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 20px -12px rgba(15, 25, 40, .45) !important; }
  /* tautan cepat: garis aksen di bawah + ikon naik */
  body.hover-lift .quick-links a:hover { box-shadow: inset 0 -3px 0 var(--brand) !important; }
  body.hover-lift .quick-links a:hover .icon { transform: translateY(-4px) scale(1.08) !important; }
}
