@charset "UTF-8";

/* ==========================================================
   SMKS YAPIS TIK MIMIKA - tema custom
   Isi: dasar, header (menu + dropdown), drawer mobile, footer
   Ganti warna cukup di :root
   ========================================================== */

:root {
    --syp-primary: #0b5ba7;
    --syp-primary-dark: #084a8a;
    --syp-primary-soft: #eaf2fb;
    --syp-accent: #f6a623;
    --syp-ink: #1f2a37;          /* teks menu */
    --syp-text: #4b5563;
    --syp-muted: #6b7280;
    --syp-line: #e5e9ef;
    --syp-footer-bg: #f3f7fc;
    --syp-container: 1840px;
    --syp-sec-y: clamp(36px, 4.5vw, 64px);   /* jarak atas/bawah seragam untuk semua section beranda */
    --syp-biru-awal: #c5e3fd;                /* biru awal gradasi Program -> Unduhan */
    --syp-biru-aplikasi: #cce8fd;            /* latar Aplikasi kalau dipakai di luar .syp-alur */
    --syp-gutter: clamp(16px, 3.5vw, 50px);
    --syp-header-h: 80px;
    --syp-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.syp-body {
    margin: 0;
    font-family: var(--syp-font);
    color: var(--syp-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
body.syp-no-scroll { overflow: hidden; }
.syp-body img { max-width: 100%; height: auto; }
.syp-body a { color: inherit; }
.syp-body :focus-visible { outline: 3px solid var(--syp-accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.syp-container {
    width: 100%;
    max-width: var(--syp-container);
    margin-inline: auto;
    padding-inline: var(--syp-gutter);
}

/* container untuk isi section beranda: lebih sempit dari header/footer (referensi: 154px di layar 1920px) */
.syp-container--content {
    --syp-pad-content: clamp(20px, 8vw, 154px);   /* jarak kiri-kanan, tumbuh mengikuti lebar layar */
    width: min(1612px, 100% - 2 * var(--syp-pad-content));
    max-width: none; padding-inline: 0;
}

.syp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 15px;
    background: var(--syp-primary); color: #fff !important; text-decoration: none;
    transition: background .2s;
}
.syp-btn:hover { background: var(--syp-primary-dark); }

/* ---------- HEADER ---------- */
.syp-header {
    position: sticky; top: 0; z-index: 900;
    background: #fff;
    border-bottom: 1px solid var(--syp-line);
    transition: box-shadow .25s;
}
.syp-header.is-scrolled { box-shadow: 0 4px 18px rgba(15, 23, 42, .08); }
.syp-header__bar { background: #fff; position: relative; z-index: 2; }
.syp-header__inner {
    display: flex; align-items: center; gap: 28px;
    min-height: var(--syp-header-h);
}

.syp-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; flex-shrink: 0; max-width: 300px;
}
.syp-brand img { height: 50px; width: auto; display: block; }
.syp-brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.syp-brand__text strong { font-size: 18px; font-weight: 800; color: var(--syp-primary); }
.syp-brand__text small { font-size: 12px; font-weight: 600; color: var(--syp-accent); margin-top: 2px; }

.syp-nav {
    display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0;
    overflow-x: auto; scrollbar-width: none;
}
.syp-nav::-webkit-scrollbar { display: none; }
/* menu banyak (lebih dari 7): lebih rapat */
.syp-nav--padat { gap: 0; }
.syp-nav--padat .syp-nav__link { padding: 10px 9px; font-size: 14px; }
.syp-nav__link {
    appearance: none; border: 0; background: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    padding: 10px 13px; border-radius: 10px;
    font: 500 16px/1.2 var(--syp-font); color: var(--syp-ink); text-decoration: none;
    transition: background .15s, color .15s;
}
.syp-nav__link i { font-size: 10px; color: var(--syp-muted); transition: transform .2s; }
.syp-nav__link:hover { color: var(--syp-primary); }
.syp-nav__link.is-active,
.syp-nav__link[aria-expanded="true"] { background: var(--syp-primary-soft); color: var(--syp-primary); font-weight: 700; }
.syp-nav__link[aria-expanded="true"] i { transform: rotate(180deg); color: var(--syp-primary); }

.syp-header__aksi { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.syp-aksi {
    appearance: none; border: 0; background: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
    padding: 10px 14px; border-radius: 10px;
    font: 500 16px/1.2 var(--syp-font); color: var(--syp-ink); text-decoration: none;
}
.syp-aksi i { color: var(--syp-muted); font-size: 16px; }
.syp-aksi:hover { color: var(--syp-primary); background: var(--syp-primary-soft); }
.syp-aksi:hover i { color: var(--syp-primary); }

/* Panel dropdown (desktop) */
.syp-mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--syp-line);
    box-shadow: 0 18px 30px rgba(15, 23, 42, .1);
    animation: sypMega .18s ease-out;
}
@keyframes sypMega { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.syp-mega__inner {
    display: grid; grid-template-columns: minmax(240px, 5fr) 8fr; gap: 40px;
    padding-block: 36px 44px;
}
.syp-mega__desc {
    margin: 0; font-size: 24px; line-height: 1.35; font-weight: 400; color: var(--syp-text);
    padding-right: 20px;
}
.syp-mega__list {
    border-left: 3px solid var(--syp-line); padding-left: 34px;
    display: grid; grid-auto-flow: column;
    grid-template-rows: repeat(var(--syp-baris, 5), auto);
    grid-auto-columns: minmax(180px, max-content);
    column-gap: 48px; row-gap: 2px; align-content: start;
}
.syp-mega__list a {
    padding: 11px 0; font-size: 16px; font-weight: 700; color: var(--syp-ink); text-decoration: none;
}
.syp-mega__list a:hover,
.syp-mega__list a.is-active { color: var(--syp-primary); }

.syp-scrim {
    position: fixed; inset: 0; z-index: 800; background: rgba(15, 23, 42, .35);
}

/* Burger */
.syp-burger {
    display: none; appearance: none; border: 0; background: var(--syp-primary-soft);
    width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.syp-burger span { width: 20px; height: 2px; background: var(--syp-primary); border-radius: 2px; }

/* Pencarian */
.syp-search {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    background: #fff; padding: 22px var(--syp-gutter);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .15);
    transform: translateY(-110%); transition: transform .25s;
}
.syp-search.is-open { transform: none; }
.syp-search__form {
    max-width: 800px; margin: 0 auto; display: flex; gap: 8px; align-items: center;
    border: 2px solid var(--syp-primary); border-radius: 12px; padding: 6px 6px 6px 16px;
}
.syp-search__form input[type="search"] {
    flex: 1; min-width: 0; border: 0; outline: 0; font: 500 17px var(--syp-font); padding: 10px 0; color: var(--syp-ink);
}
.syp-search__form button {
    appearance: none; border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 9px;
    background: var(--syp-primary); color: #fff; font-size: 16px;
}
.syp-search__form .syp-search__close { background: var(--syp-primary-soft); color: var(--syp-primary); }

/* Drawer mobile */
.syp-overlay {
    position: fixed; inset: 0; z-index: 1100; background: rgba(15, 23, 42, .5);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.syp-overlay.is-open { opacity: 1; visibility: visible; }
.syp-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200;
    width: min(380px, 88vw); background: #fff;
    display: flex; flex-direction: column;
    transform: translateX(100%); visibility: hidden;
    transition: transform .28s ease, visibility .28s;
}
.syp-drawer.is-open { transform: none; visibility: visible; }
.syp-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--syp-line);
    font-weight: 800; font-size: 18px; color: var(--syp-primary);
}
.syp-drawer__head button {
    appearance: none; border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 10px;
    background: var(--syp-primary-soft); color: var(--syp-primary); font-size: 18px;
}
.syp-drawer__nav { flex: 1; overflow-y: auto; padding: 10px 12px; }
.syp-drawer__link {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 14px 12px; border-radius: 10px; cursor: pointer; list-style: none;
    font-weight: 600; font-size: 16px; color: var(--syp-ink); text-decoration: none;
}
.syp-drawer__link::-webkit-details-marker { display: none; }
.syp-drawer__link i { font-size: 11px; color: var(--syp-muted); transition: transform .2s; }
.syp-drawer__group[open] > summary i { transform: rotate(180deg); }
.syp-drawer__link.is-active { background: var(--syp-primary-soft); color: var(--syp-primary); }
.syp-drawer__sub { display: flex; flex-direction: column; padding: 2px 0 8px 14px; margin-left: 12px; border-left: 2px solid var(--syp-line); }
.syp-drawer__sub a { padding: 11px 12px; font-size: 15px; font-weight: 500; color: var(--syp-text); text-decoration: none; }
.syp-drawer__sub a.is-active { color: var(--syp-primary); font-weight: 700; }
.syp-drawer__foot { padding: 16px 20px; border-top: 1px solid var(--syp-line); }
.syp-drawer__foot .syp-btn { width: 100%; }

/* ---------- FOOTER ---------- */
.syp-footer { background: var(--syp-footer-bg); margin-top: 0; color: var(--syp-text); }
.syp-footer__grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 36px 40px; padding-block: 56px 36px;
}
.syp-footer__col { grid-column: span var(--syp-span, 3); min-width: 0; }

.syp-footer__judul { margin: 0 0 22px; font-size: 20px; font-weight: 700; color: var(--syp-primary); }
.syp-footer__links { list-style: none; margin: 0; padding: 0; column-width: 240px; column-gap: 40px; }
.syp-footer__links li { break-inside: avoid; padding: 0 0 16px; }
.syp-footer__links a { font-size: 16px; line-height: 1.6; text-decoration: none; }
.syp-footer__links a:hover { color: var(--syp-primary); text-decoration: underline; }

/* modul footer bawaan CMS (tanpa file khusus tema) */
.syp-footer__col ul { list-style: none; padding: 0; margin: 0; }
.syp-footer__col img { max-width: 100%; height: auto; }
.syp-footer__col .nav { list-style: none; padding: 0; margin: 0; }
.syp-footer__col .nav-item { padding-bottom: 12px; }
.syp-footer__col .nav-link, .syp-footer__col a { color: inherit; text-decoration: none; }
.syp-footer__col a:hover { color: var(--syp-primary); }
.syp-footer__col iframe, .syp-footer__col video { max-width: 100%; }

.syp-footer__extra {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
    padding-bottom: 34px;
}
.syp-footer__partner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.syp-footer__partner img { height: 46px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.syp-footer__stat {
    margin: 0; margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center;
    gap: 6px 0; font-size: 15px; color: var(--syp-text);
}
.syp-footer__stat-judul { color: var(--syp-primary); margin-right: 20px; }
.syp-footer__stat > span:not(.syp-footer__stat-judul) + span::before,
.syp-footer__stat-judul + span::before { content: none; }
.syp-footer__stat > span:not(.syp-footer__stat-judul) { padding: 0 14px; border-left: 1px solid #b6c2d0; line-height: 1; }
.syp-footer__stat > .syp-footer__stat-judul + span { border-left: 0; }
.syp-footer__stat > span:last-child { padding-right: 0; }

.syp-footer__bar { background: var(--syp-primary); color: #fff; }
.syp-footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 12px; }
.syp-footer__bar p { margin: 0; font-size: 15px; line-height: 1.5; }
.syp-footer__sosmed { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.syp-footer__sosmed a { color: #fff; font-size: 20px; text-decoration: none; opacity: .95; }
.syp-footer__sosmed a:hover { opacity: 1; color: var(--syp-accent); }

/* tombol ke atas */
.syp-totop {
    position: fixed; right: 18px; bottom: 18px; z-index: 700;
    width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--syp-primary); color: #fff; font-size: 16px;
    box-shadow: 0 6px 18px rgba(8, 74, 138, .35);
}
.syp-totop:hover { background: var(--syp-primary-dark); }

/* ---------- HERO SLIDESHOW ---------- */
.syp-hero { position: relative; background: var(--syp-primary-dark); overflow: hidden; }
.syp-hero__stage { display: grid; }
.syp-hero__slide {
    grid-area: 1 / 1; position: relative; min-width: 0;
    opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.syp-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.syp-hero__media { aspect-ratio: 2.4 / 1; min-height: 360px; background: linear-gradient(120deg, var(--syp-primary-dark), var(--syp-primary)); }
.syp-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.syp-hero__caption {
    position: absolute; inset: auto 0 0 0; color: #fff;
    padding-block: 64px 54px;
    background: linear-gradient(to top, rgba(4, 22, 48, .92) 0%, rgba(4, 22, 48, .75) 55%, rgba(4, 22, 48, 0) 100%);
}
.syp-hero__title {
    margin: 0 0 12px; max-width: 28ch; font-size: clamp(26px, 3vw, 44px); line-height: 1.15; font-weight: 700;
    text-wrap: balance; text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.syp-hero__desc { margin: 0 0 18px; max-width: 80ch; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.55; opacity: .95; }
.syp-hero__more { color: #fff; font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.syp-hero__more:hover { color: var(--syp-accent); }

.syp-hero__dots {
    position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3;
    display: flex; justify-content: center; align-items: center; gap: 10px;
}
.syp-hero__dot {
    appearance: none; border: 0; cursor: pointer; padding: 0;
    width: 12px; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .55);
    transition: width .3s, background .3s;
    position: relative;
}
.syp-hero__dot::after { content: ""; position: absolute; inset: -10px -4px; } /* area sentuh lebih besar */
.syp-hero__dot.is-active { width: 32px; background: #fff; }

/* ---------- JUDUL SECTION (garis di kanan judul) ---------- */
.syp-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.syp-section-head h2 { margin: 0; font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; color: var(--syp-ink); white-space: nowrap; }
.syp-section-head span { flex: 1; height: 1px; background: var(--syp-ink); }

/* ---------- CAROUSEL KARTU (program, ekstrakurikuler) ---------- */
.syp-kartu { padding-block: var(--syp-sec-y); }
.syp-kartu--biru { background: #c5e3fd; }
.syp-kartu__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.syp-kartu__head h2 { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 700; color: var(--syp-ink); }
.syp-kartu__all { flex: none; font-size: 15px; font-weight: 600; color: var(--syp-primary); text-decoration: none; }
.syp-kartu__all:hover { text-decoration: underline; }
.syp-carousel--kartu .syp-carousel__item { width: clamp(170px, 14vw, 230px); }
.syp-carousel--kartu .syp-carousel__btn { top: 42%; }
.syp-kartu__card {
    display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 10px; background: #fff;
    text-decoration: none; color: var(--syp-ink); transition: box-shadow .2s, transform .2s;
}
.syp-kartu--putih .syp-kartu__card { border: 1px solid var(--syp-line); }
.syp-kartu__card:hover { box-shadow: 0 10px 22px rgba(15, 60, 110, .16); transform: translateY(-3px); }
.syp-kartu__img {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 1.16 / 1; overflow: hidden;
    background: var(--syp-primary-soft); color: var(--syp-muted); font-size: 30px;
}
.syp-kartu__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.syp-kartu__title {
    padding: 14px 14px 16px; font-size: 15px; line-height: 1.65; font-weight: 500;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- APLIKASI / LAYANAN ---------- */
.syp-aplikasi { padding-block: var(--syp-sec-y); background: var(--syp-biru-aplikasi); }
.syp-aplikasi__head h2 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 30px); font-weight: 700; color: var(--syp-ink); }
.syp-aplikasi__head p { margin: 0; font-size: clamp(15px, 1.2vw, 18px); color: var(--syp-ink); }
.syp-aplikasi__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(24px, 3vw, 40px); }
.syp-app {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 22px 16px; min-height: 140px; border-radius: 10px; background: #fff;
    text-decoration: none; color: var(--syp-ink); text-align: center;
    transition: box-shadow .2s, transform .2s;
}
.syp-app:hover { box-shadow: 0 10px 22px rgba(15, 60, 110, .16); transform: translateY(-3px); }
.syp-app__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--syp-primary); font-size: 30px; }
.syp-app__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.syp-app__name { font-size: 18px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- SOROTAN ---------- */
/* Program + Aplikasi + Sorotan + Unduhan berbagi satu latar gradasi (biru -> putih), dibungkus .syp-alur di main.php.
   Latar masing-masing section dibuat transparan supaya tidak ada patahan antar section. */
.syp-alur { background: linear-gradient(to bottom, var(--syp-biru-awal) 0%, #fff 100%); }
.syp-alur .syp-kartu--biru,
.syp-alur .syp-aplikasi { background: transparent; }
.syp-sorotan { padding-block: var(--syp-sec-y) 0; }
.syp-sorotan .syp-section-head { margin-bottom: 18px; }
.syp-sorotan .syp-section-head h2 { font-size: clamp(18px, 1.4vw, 21px); }
.syp-sorotan .syp-section-head span { display: none; }
.syp-sorotan__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 0 clamp(20px, 2.5vw, 36px); align-items: start; }
.syp-sorot--utama { grid-row: 1 / span 2; }
.syp-sorot__img { display: block; aspect-ratio: 2.4 / 1; overflow: hidden; border-radius: 12px; background: #fff; }
.syp-sorot--utama .syp-sorot__img { aspect-ratio: 1.85 / 1; }
.syp-sorot__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.syp-sorot:hover .syp-sorot__img img { transform: scale(1.03); }
.syp-sorot__title { margin: 14px 0 6px; font-size: 17px; line-height: 1.4; font-weight: 600; }
.syp-sorot--utama .syp-sorot__title { font-size: 19px; }
.syp-sorot__title a {
    color: var(--syp-ink); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.syp-sorot__title a:hover { color: var(--syp-primary); }
.syp-sorot:not(.syp-sorot--utama) + .syp-sorot:not(.syp-sorot--utama) { margin-top: 20px; }
.syp-sorot .syp-artikel__meta { font-size: 13px; }

/* ---------- BERITA / ARTIKEL ---------- */
.syp-berita { padding-block: var(--syp-sec-y) 0; }
.syp-chips { display: flex; flex-wrap: wrap; gap: 14px; padding: 4px 4px 14px; margin: 0 -4px 14px; }
.syp-chip {
    appearance: none; flex: none; cursor: pointer; border: 0; border-radius: 999px;
    padding: 12px 26px; background: #fff; color: var(--syp-ink); font: 500 16px/1.2 var(--syp-font);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .14); transition: background .2s, color .2s;
}
.syp-chip:hover { color: var(--syp-primary); }
.syp-chip.is-active { background: var(--syp-primary); color: #fff; box-shadow: 0 4px 14px rgba(11, 91, 167, .4); }

.syp-berita__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.syp-artikel[hidden] { display: none; }
.syp-artikel__img {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden;
    border-radius: 12px; background: var(--syp-primary-soft); color: var(--syp-muted); font-size: 34px;
}
.syp-artikel__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.syp-artikel:hover .syp-artikel__img img { transform: scale(1.04); }
.syp-artikel__title { margin: 16px 0 8px; font-size: 19px; line-height: 1.4; font-weight: 600; }
.syp-artikel__title a {
    color: var(--syp-ink); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.syp-artikel__title a:hover { color: var(--syp-primary); }
.syp-artikel__meta { margin: 0; font-size: 14px; line-height: 1.6; color: var(--syp-ink); }
.syp-artikel__info { display: flex; align-items: baseline; min-width: 0; }
.syp-artikel__meta .syp-artikel__kat {
    flex: 0 1 auto; min-width: 0; color: var(--syp-primary); text-decoration: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;   /* kategori panjang dipotong "..." */
}
.syp-artikel__meta .syp-artikel__kat:hover { text-decoration: underline; }
.syp-artikel__tgl { flex: none; white-space: nowrap; }
.syp-artikel__tgl::before { content: "|"; margin: 0 8px; }
.syp-artikel__views { display: block; color: var(--syp-muted); }
.syp-berita__more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- CAROUSEL (dipakai mading, bisa dipakai ulang) ---------- */
.syp-carousel { position: relative; }
.syp-carousel__track {
    list-style: none; margin: 0; padding: 4px 2px 8px;
    display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; overscroll-behavior-x: contain;
}
.syp-carousel__track::-webkit-scrollbar { display: none; }
.syp-carousel__item { flex: 0 0 auto; width: clamp(190px, 17vw, 250px); scroll-snap-align: start; }
.syp-carousel__btn {
    position: absolute; top: 38%; z-index: 2; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--syp-line);
    background: #fff; color: var(--syp-primary); font-size: 15px; cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .15);
}
.syp-carousel__btn:hover { background: var(--syp-primary); color: #fff; }
.syp-carousel__btn--prev { left: -21px; }
.syp-carousel__btn--next { right: -21px; }

.syp-poster {
    display: flex; flex-direction: column; height: 100%; padding: 12px 12px 14px;
    border: 1px solid var(--syp-line); border-radius: 12px; background: #fff;
    text-decoration: none; color: var(--syp-ink); text-align: center;
    transition: box-shadow .2s, transform .2s;
}
.syp-poster:hover { box-shadow: 0 10px 24px rgba(15, 23, 42, .12); transform: translateY(-3px); }
.syp-poster__img {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; overflow: hidden;
    border-radius: 6px; background: var(--syp-primary-soft); color: var(--syp-muted); font-size: 36px;
}
.syp-poster__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.syp-poster__title {
    margin: 12px 0 8px; font-size: 16px; line-height: 1.35; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.syp-poster__meta { margin-top: auto; font-size: 12px; line-height: 1.5; color: var(--syp-muted); }
.syp-poster__meta b { color: #15803d; font-weight: 600; }
.syp-poster__meta > * + *::before { content: " | "; color: var(--syp-muted); font-weight: 400; }

.syp-btn-outline {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 40px; border-radius: 10px;
    border: 1px solid var(--syp-line); background: #fff; color: var(--syp-ink); text-decoration: none; font-size: 16px;
    transition: border-color .2s, color .2s;
}
.syp-btn-outline:hover { border-color: var(--syp-primary); color: var(--syp-primary); }

/* ---------- UNDUHAN (file download) ---------- */
.syp-unduhan { padding-block: var(--syp-sec-y) 0; }
.syp-unduhan__panel {
    --syp-file: #f9a800;
    background: #fdebc4; border-radius: 16px; padding: 28px clamp(48px, 5vw, 72px) 36px;
}
.syp-unduhan__title { margin: 0 0 22px; text-align: center; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; color: #b87900; text-transform: uppercase; }
.syp-carousel--file .syp-carousel__item { width: clamp(280px, 26vw, 430px); }
.syp-carousel--file .syp-carousel__btn { top: 50%; }
.syp-carousel--file .syp-carousel__btn--prev { left: -54px; }
.syp-carousel--file .syp-carousel__btn--next { right: -54px; }

.syp-file {
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 8px 14px;
    height: 100%; padding: 18px 18px 16px; border-radius: 10px; background: #fff;
    text-decoration: none; color: var(--syp-ink); box-shadow: 0 1px 4px rgba(120, 80, 0, .12);
    transition: box-shadow .2s, transform .2s;
}
.syp-file:hover { box-shadow: 0 8px 20px rgba(120, 80, 0, .2); transform: translateY(-3px); }
.syp-file__icon {
    grid-row: 1; width: 62px; height: 62px; border-radius: 50%; background: var(--syp-file); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 26px;
}
.syp-file__body { grid-row: 1; grid-column: 2; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.syp-file__date { font-size: 14px; color: var(--syp-ink); }
.syp-file__name {
    font-size: 16px; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.syp-file__foot { grid-column: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 700; }
.syp-file__kat { color: var(--syp-file); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.syp-file__dl { flex: none; color: var(--syp-muted); font-weight: 500; font-size: 13px; }
.syp-file:hover .syp-file__dl { color: var(--syp-primary); }

/* ---------- MADING ---------- */
.syp-mading { padding-block: var(--syp-sec-y) 0; }
.syp-mading__more { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- MEDIA SOSIAL ---------- */
.syp-sosmed { padding-block: clamp(32px, 4vw, 56px); }
.syp-sosmed__grid { display: grid; grid-template-columns: minmax(280px, 3fr) 9fr; gap: 20px; align-items: start; }

.syp-sosmed__list {
    display: flex; flex-direction: column;
    border: 1px solid var(--syp-line); border-radius: 12px; overflow: hidden; background: #fff;
}
.syp-sosmed__item {
    appearance: none; border: 0; background: #fff; cursor: pointer; text-align: left;
    display: flex; align-items: center; gap: 16px; width: 100%;
    padding: 18px 24px; min-height: 96px; flex: 1;
    font-family: var(--syp-font); color: var(--syp-ink);
    transition: background .2s, color .2s;
}
.syp-sosmed__item + .syp-sosmed__item { border-top: 1px solid transparent; }
.syp-sosmed__item:hover { background: var(--syp-primary-soft); }
.syp-sosmed__item.is-active { background: var(--syp-primary-dark); color: #fff; }
.syp-sosmed__icon {
    flex: none; width: 44px; height: 44px; border-radius: 50%; background: #e8e8e8;
    display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.syp-sosmed__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.syp-sosmed__text strong { font-size: 17px; font-weight: 500; line-height: 1.2; }
.syp-sosmed__text small { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; opacity: .9; }
.syp-sosmed__arrow { flex: none; font-size: 13px; }

.syp-sosmed__view { min-width: 0; }
.syp-sosmed__embeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; align-items: start; }
.syp-sosmed__card {
    border: 1px solid var(--syp-line); border-radius: 12px; padding: 12px; background: #fff; min-width: 0; overflow: hidden;
}
.syp-sosmed__card iframe { display: block; width: 100%; height: 560px; border: 0; }
.syp-sosmed__card--video { padding: 0; aspect-ratio: 16 / 9; background: #000; }
.syp-sosmed__card--video iframe { height: 100%; }
.syp-sosmed__card--tiktok { display: flex; justify-content: center; }
.syp-sosmed__card .tiktok-embed { margin: 0 auto; }
.syp-sosmed__buka { margin-top: 18px; }

/* ---------- HALAMAN MENU: BREADCRUMB + ISI ---------- */
.syp-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.syp-crumb { background: #eee; border-top: 1px solid #e3e3e3; font-size: 16px; line-height: 1.4; color: #111; }
.syp-crumb__inner { display: flex; align-items: center; gap: 12px; min-width: 0; padding-block: 12px; }
.syp-crumb a { flex: none; color: #111; text-decoration: none; }
.syp-crumb a:hover { color: var(--syp-primary); text-decoration: underline; }
.syp-crumb i { flex: none; font-size: 9px; color: var(--syp-muted); }
.syp-crumb__now { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* judul panjang dipotong "..." */

.syp-page { padding-block: clamp(24px, 3vw, 40px) var(--syp-sec-y); min-height: 40vh; }

/* isi halaman "Tulis" (teks bebas dari editor admin) */
.syp-page--tulis .clearfix { max-width: 1200px; }   /* rata kiri sejajar banner; lebar teks dibatasi supaya nyaman dibaca */
.syp-page--tulis .clearfix::after { content: ""; display: block; clear: both; }
.syp-page--tulis, .syp-prose { font-size: 17px; line-height: 1.8; color: var(--syp-text); overflow-wrap: anywhere; }
.syp-page--tulis h1, .syp-page--tulis h2, .syp-page--tulis h3, .syp-page--tulis h4, .syp-prose h1, .syp-prose h2, .syp-prose h3, .syp-prose h4 { color: var(--syp-ink); line-height: 1.3; margin: 1.6em 0 .6em; }
.syp-page--tulis h2, .syp-prose h2 { font-size: clamp(22px, 2vw, 28px); }
.syp-page--tulis h3, .syp-prose h3 { font-size: clamp(19px, 1.6vw, 23px); }
.syp-page--tulis :first-child, .syp-prose :first-child { margin-top: 0; }
.syp-page--tulis p, .syp-prose p { margin: 0 0 1.1em; }
.syp-page--tulis a, .syp-prose a { color: var(--syp-primary); }
.syp-page--tulis ul, .syp-page--tulis ol, .syp-prose ul, .syp-prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.syp-page--tulis li, .syp-prose li { margin-bottom: .4em; }
.syp-page--tulis img, .syp-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.syp-page--tulis .sambutan-image, .syp-prose .sambutan-image { float: left; width: min(320px, 38%); margin: 4px 28px 16px 0; }
.syp-page--tulis blockquote, .syp-prose blockquote { margin: 1.4em 0; padding: 12px 20px; border-left: 4px solid var(--syp-primary); background: var(--syp-primary-soft); border-radius: 0 10px 10px 0; }
.syp-page--tulis table, .syp-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; display: block; overflow-x: auto; }
.syp-page--tulis th, .syp-page--tulis td, .syp-prose th, .syp-prose td { padding: 10px 14px; border: 1px solid var(--syp-line); text-align: left; }
.syp-page--tulis th, .syp-prose th { background: var(--syp-primary-soft); color: var(--syp-ink); }
.syp-page--tulis iframe, .syp-page--tulis video, .syp-prose iframe, .syp-prose video { max-width: 100%; border: 0; border-radius: 10px; }

/* "Artikel Terkait" di bawah halaman Tulis */
.syp-terkait { margin-top: clamp(32px, 4vw, 56px); }
.syp-terkait .syp-section-head h2 { font-size: clamp(20px, 1.8vw, 26px); }
.syp-terkait__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.syp-terkait__card {
    position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 20px 22px;
    border-radius: 8px; text-decoration: none;
    background: linear-gradient(to bottom, #0a5ca8 0%, #000 100%);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .2); transition: transform .2s, box-shadow .2s;
}
.syp-body .syp-terkait__card,
.syp-body .syp-terkait__card:hover { color: #fff; text-decoration: none; }   /* menang atas warna tautan di area isi */
.syp-terkait__card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(15, 23, 42, .28); }
.syp-terkait__title { font-size: 18px; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.syp-terkait__tgl { margin-top: auto; padding-right: 36px; font-size: 15px; color: rgba(255, 255, 255, .55); }
.syp-terkait__arrow { position: absolute; right: 22px; bottom: 18px; }

/* ---------- GURU / STAFF (team) ---------- */
.syp-team { display: grid; grid-template-columns: minmax(280px, 31%) minmax(0, 1fr); gap: clamp(28px, 3vw, 45px); align-items: start; }
.syp-team__side { position: sticky; top: calc(var(--syp-header-h) + 76px); }
.syp-team__judul { margin: 0 0 26px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; font-weight: 800; color: var(--syp-ink); text-wrap: balance; }
.syp-team__nav { background: #fff; border-radius: 8px; box-shadow: 0 6px 26px rgba(15, 23, 42, .09); padding-block: 8px; max-height: calc(100vh - var(--syp-header-h) - 220px); overflow-y: auto; }
.syp-team__nav ul { list-style: none; margin: 0; padding: 0; }
.syp-team__nav a {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 18px 22px; font-size: 18px; line-height: 1.4; font-weight: 500; color: var(--syp-ink); text-decoration: none;
    transition: background .15s, color .15s;
}
.syp-team__nav a:hover { background: var(--syp-primary-soft); color: var(--syp-primary); }
.syp-team__nav svg { flex: none; }

.syp-team__grup { scroll-margin-top: calc(var(--syp-header-h) + 76px); }
.syp-team__grup + .syp-team__grup { margin-top: clamp(32px, 3.5vw, 48px); }
.syp-team__grup h3 { margin: 0 0 18px; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.3; font-weight: 700; color: var(--syp-ink); }
.syp-team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 28px 24px; }

.syp-person { display: flex; align-items: flex-start; gap: 20px; min-width: 0; }
.syp-person__foto {
    position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: min(225px, 46%); aspect-ratio: 3 / 4;
    border-radius: 12px; overflow: hidden; background: var(--syp-primary-soft); color: var(--syp-muted); font-size: 44px;
}
.syp-person__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .4s; }
.syp-person:hover .syp-person__foto img { transform: scale(1.03); }
.syp-person__body { min-width: 0; }
.syp-person__body h4 { margin: 0 0 8px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.syp-person__body h4 a { color: var(--syp-ink); text-decoration: none; }
.syp-person__body h4 a:hover { color: var(--syp-primary); }
.syp-person__body p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--syp-text); }

/* detail guru / staff */
.syp-tdetail { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.syp-tdetail__foto img, .syp-tdetail__kosong { display: flex; height: auto; align-items: center; justify-content: center; width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; object-fit: cover; object-position: top; background: var(--syp-primary-soft); color: var(--syp-muted); font-size: 64px; }
.syp-tdetail__info h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.25; font-weight: 800; color: var(--syp-ink); }
.syp-tdetail__jabatan { margin: 6px 0 24px; font-size: 18px; font-weight: 600; color: var(--syp-primary); }
.syp-tdetail__fakta { margin: 0 0 24px; border-top: 1px solid var(--syp-line); }
.syp-tdetail__fakta div { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--syp-line); font-size: 16px; }
.syp-tdetail__fakta dt { color: var(--syp-muted); }
.syp-tdetail__fakta dd { margin: 0; color: var(--syp-ink); font-weight: 600; }
.syp-tdetail__sosmed { display: flex; gap: 10px; margin-bottom: 26px; }
.syp-tdetail__sosmed a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--syp-primary); color: #fff; text-decoration: none; }
.syp-tdetail__sosmed a:hover { background: var(--syp-primary-dark); }

/* ---------- TABEL DATA (Prestasi, Mapel, Siswa, Kelas, Alumni, File, ...) ---------- */
.syp-page .table-responsive { overflow-x: auto; border: 1px solid var(--syp-line); border-radius: 12px; background: #fff; }
.syp-page table.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 1.5; color: var(--syp-text); }
.syp-page table.table th {
    padding: 15px 18px; text-align: left; white-space: nowrap;
    background: var(--syp-primary-soft); color: var(--syp-ink); font-size: 15px; font-weight: 700;
    border-bottom: 1px solid var(--syp-line);
}
.syp-page table.table th.text-center { text-align: left; }   /* rata judul mengikuti isi kolom (lihat .is-center) */
.syp-page table.table th.is-center, .syp-page table.table td.text-center { text-align: center; }
.syp-page table.table td { padding: 14px 18px; border-bottom: 1px solid var(--syp-line); vertical-align: middle; }
.syp-page table.table tbody tr:last-child td { border-bottom: 0; }
.syp-page table.table tbody tr:nth-child(even) td { background: #f8fbfe; }
.syp-page table.table tbody tr:hover td { background: var(--syp-primary-soft); }
.syp-page .table-responsive table.table th:first-child, .syp-page .table-responsive table.table td:first-child { width: 64px; text-align: center; color: var(--syp-muted); }
/* tabel kecil biasa (mis. detail kalender) tanpa pembungkus .table-responsive */
.syp-page table.table.mb-0 { border: 1px solid var(--syp-line); border-radius: 12px; overflow: hidden; }
.syp-page table.table td a { display: inline-block; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--syp-primary); color: var(--syp-primary); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.syp-page table.table td a:hover { background: var(--syp-primary); color: #fff; }

/* kolom bisa diurutkan (diisi script.js) */
.syp-dt th.is-sortable { cursor: pointer; user-select: none; }
.syp-dt th.is-sortable:hover { color: var(--syp-primary); }
.syp-dt__sort { display: inline-block; margin-left: 8px; width: 8px; height: 12px; position: relative; vertical-align: middle; opacity: .35; }
.syp-dt__sort::before, .syp-dt__sort::after { content: ""; position: absolute; left: 0; border: 4px solid transparent; }
.syp-dt__sort::before { top: -1px; border-bottom-color: currentColor; }
.syp-dt__sort::after { bottom: -1px; border-top-color: currentColor; }
.syp-dt th[aria-sort="ascending"] .syp-dt__sort, .syp-dt th[aria-sort="descending"] .syp-dt__sort { opacity: 1; color: var(--syp-primary); }
.syp-dt th[aria-sort="ascending"] .syp-dt__sort::after, .syp-dt th[aria-sort="descending"] .syp-dt__sort::before { opacity: .2; }
.syp-dt table.table tr[hidden] { display: none; }
.syp-page .syp-dt table.table .syp-dt__kosong td { padding: 36px 18px; text-align: center; width: auto; color: var(--syp-muted); background: #fff; }

.syp-dt__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 16px; }
.syp-dt__len { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--syp-text); }
.syp-dt__len select, .syp-dt__cari input {
    font: 500 15px var(--syp-font); color: var(--syp-ink); background: #fff;
    border: 1px solid var(--syp-line); border-radius: 10px; outline: 0;
}
.syp-dt__len select { padding: 8px 10px; cursor: pointer; }
.syp-dt__cari { position: relative; margin-left: auto; width: min(320px, 100%); }
.syp-dt__cari i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--syp-muted); pointer-events: none; }
.syp-dt__cari input { width: 100%; padding: 10px 14px 10px 38px; }
.syp-dt__len select:focus, .syp-dt__cari input:focus { border-color: var(--syp-primary); box-shadow: 0 0 0 3px rgba(11, 91, 167, .15); }
.syp-dt__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; }
.syp-dt__info { margin: 0; font-size: 14px; color: var(--syp-muted); }
.syp-dt__pager { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.syp-dt__hal {
    appearance: none; cursor: pointer; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px;
    border: 1px solid var(--syp-line); background: #fff; color: var(--syp-ink); font: 600 14px var(--syp-font);
    transition: background .15s, color .15s, border-color .15s;
}
.syp-dt__hal:hover:not(:disabled) { border-color: var(--syp-primary); color: var(--syp-primary); }
.syp-dt__hal.is-active { background: var(--syp-primary); border-color: var(--syp-primary); color: #fff; }
.syp-dt__hal:disabled { opacity: .45; cursor: not-allowed; }
.syp-dt__titik { padding: 0 4px; color: var(--syp-muted); }

/* tombol bawaan CMS di halaman isi (mis. "Tambah Alumni", "Download") */
.syp-page .btn.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border: 0; border-radius: 10px; background: var(--syp-primary); color: #fff; font: 700 15px var(--syp-font); text-decoration: none; cursor: pointer; transition: background .2s; }
.syp-page .btn.btn-primary:hover { background: var(--syp-primary-dark); }
.syp-page .mb-4 { margin-bottom: 24px; }

/* ---------- GALERI (foto, video, short, reels) ---------- */
.syp-galeri { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.syp-galeri--short, .syp-galeri--reels { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.syp-gal { display: block; color: var(--syp-ink); text-decoration: none; min-width: 0; }
.syp-gal__img {
    position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden;
    border-radius: 12px; background: var(--syp-primary-soft); color: var(--syp-muted); font-size: 36px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .08); transition: box-shadow .25s, transform .25s;
}
.syp-galeri--video .syp-gal__img { aspect-ratio: 16 / 9; }
.syp-galeri--short .syp-gal__img, .syp-galeri--reels .syp-gal__img { aspect-ratio: 9 / 16; }
.syp-gal__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.syp-gal__img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.syp-gal:hover .syp-gal__img { box-shadow: 0 12px 26px rgba(15, 23, 42, .18); transform: translateY(-3px); }
.syp-gal:hover .syp-gal__img img { transform: scale(1.05); }
.syp-gal__nama {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-top: 12px; font-size: 17px; line-height: 1.45; font-weight: 600; transition: color .15s;
}
.syp-gal:hover .syp-gal__nama { color: var(--syp-primary); }
.syp-gal__play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%;
    background: rgba(0, 0, 0, .55); color: #fff; font-size: 20px; padding-left: 4px;
    transition: background .2s, transform .2s;
}
.syp-gal:hover .syp-gal__play { background: var(--syp-primary); transform: translate(-50%, -50%) scale(1.08); }

/* pagination galeri */
.syp-paging { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.syp-paging__a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid var(--syp-line); border-radius: 10px; background: #fff; color: var(--syp-ink);
    font: 600 14px var(--syp-font); text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
a.syp-paging__a:hover { border-color: var(--syp-primary); color: var(--syp-primary); }
.syp-paging__a.is-active { background: var(--syp-primary); border-color: var(--syp-primary); color: #fff; }
.syp-paging__a.is-disabled { opacity: .45; }
.syp-paging__titik { padding: 0 4px; color: var(--syp-muted); }

/* lightbox foto & modal video (dibuat script.js) */
.syp-box { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 56px 72px; background: rgba(8, 15, 30, .92); }
.syp-box[hidden] { display: none; }
.syp-box__stage { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.syp-box__img { display: block; max-width: 100%; max-height: calc(100vh - 150px); border-radius: 8px; object-fit: contain; background: #000; }
.syp-box__video { width: min(1100px, calc(100vw - 144px)); aspect-ratio: 16 / 9; border: 0; border-radius: 8px; background: #000; }
.syp-box__video--potret { width: auto; height: min(calc(100vh - 150px), 760px); aspect-ratio: 9 / 16; max-width: calc(100vw - 144px); }
.syp-box__cap { margin: 14px 0 0; max-width: 900px; text-align: center; color: #fff; font-size: 16px; line-height: 1.5; }
.syp-box__hitung { margin-top: 4px; color: rgba(255, 255, 255, .6); font-size: 13px; }
.syp-box__btn {
    position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; cursor: pointer; transition: background .15s;
}
.syp-box__btn:hover { background: rgba(255, 255, 255, .3); }
.syp-box__tutup { top: 16px; right: 16px; }
.syp-box__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.syp-box__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- FORMULIR (Tambah Alumni, dll) ---------- */
.syp-form-wrap { max-width: 980px; }
.syp-form__judul { margin: 0 0 6px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; color: var(--syp-ink); }
.syp-form__sub { margin: 0 0 28px; font-size: 15px; color: var(--syp-muted); }
.syp-form__grup { min-width: 0; margin: 0 0 22px; padding: 22px clamp(18px, 2.4vw, 30px) 28px; border: 1px solid var(--syp-line); border-radius: 14px; background: #fff; }
.syp-form__grup legend { padding: 0 8px; margin-left: -8px; font-size: 17px; font-weight: 700; color: var(--syp-primary); }
.syp-form__baris { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin-top: 8px; }
.syp-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.syp-field--penuh { grid-column: 1 / -1; }
.syp-field label { font-size: 14px; font-weight: 600; color: var(--syp-ink); }
.syp-field input, .syp-field select, .syp-field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff;
    font: 500 16px var(--syp-font); color: var(--syp-ink); outline: 0; transition: border-color .15s, box-shadow .15s;
}
.syp-field select { appearance: none; padding-right: 40px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.syp-field textarea { min-height: 100px; resize: vertical; }
.syp-field input::placeholder { color: #9aa5b4; font-weight: 400; }
.syp-field input:focus, .syp-field select:focus, .syp-field textarea:focus { border-color: var(--syp-primary); box-shadow: 0 0 0 3px rgba(11, 91, 167, .15); }
.syp-form__aksi { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
button.syp-btn { border: 0; cursor: pointer; font-family: var(--syp-font); }
.syp-form__aksi .syp-btn { padding: 14px 32px; }
.syp-form__aksi .syp-btn-outline { padding: 13px 28px; }

.syp-notice { display: flex; align-items: flex-start; gap: 16px; padding: 24px 26px; border-radius: 14px; border: 1px solid; }
.syp-notice > i { flex: none; font-size: 26px; margin-top: 2px; }
.syp-notice strong { display: block; font-size: 19px; color: var(--syp-ink); }
.syp-notice p { margin: 6px 0 18px; color: var(--syp-text); }
.syp-notice--ok { background: #effaf3; border-color: #b7e4c7; }
.syp-notice--ok > i { color: #15803d; }

/* ---------- PENYESUAIAN KELAS BAWAAN CMS (grid Bootstrap, tabel profil) ---------- */
.syp-page .row { display: flex; flex-wrap: wrap; margin-inline: -10px; }
.syp-page .row > [class*="col-"] { width: 100%; padding-inline: 10px; }
.syp-page .d-flex { display: flex; }
.syp-page .justify-content-center { justify-content: center; }
.syp-page .m-auto { margin: auto; }
.syp-page .mb-3 { margin-bottom: 16px; }
.syp-page .mb-0 { margin-bottom: 0; }
@media (min-width: 768px) {
    .syp-page .row > .col-md-6 { width: 50%; }
    .syp-page .row > .col-md-4 { width: 33.3333%; }
    .syp-page .row > .col-md-5 { width: 41.6667%; }
    .syp-page .row > .col-md-7 { width: 58.3333%; }
    .syp-page .row > .col-md-10 { width: 83.3333%; }
}
@media (min-width: 992px) {
    .syp-page .row > .col-lg-3 { width: 25%; }
    .syp-page .row > .col-lg-4 { width: 33.3333%; }
    .syp-page .row > .col-lg-6 { width: 50%; }
    .syp-page .row > .col-lg-10 { width: 83.3333%; }
}
.syp-page .col-lg-10.col-sm-12 { width: 100%; max-width: 980px; }

.table-profile-wrap { overflow-x: auto; border: 1px solid var(--syp-line); border-radius: 12px; background: #fff; }
.table-profile { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.table-profile td { padding: 14px 18px; border-bottom: 1px solid var(--syp-line); color: var(--syp-ink); vertical-align: top; }
.table-profile tr:last-child td { border-bottom: 0; }
.table-profile tr:nth-child(even) td { background: #f8fbfe; }
.table-profile td:first-child { font-weight: 600; color: var(--syp-text); }
.table-profile td:nth-child(2) { width: 24px; padding-inline: 0; text-align: center; color: var(--syp-muted); }

/* ---------- DAFTAR KARTU (Program, Mading, Ekstrakurikuler) ---------- */
.syp-lst { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.syp-lst__card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--syp-line); border-radius: 14px; background: #fff;
    color: var(--syp-ink); text-decoration: none; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.syp-lst__card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15, 60, 110, .14); border-color: transparent; }
.syp-lst__img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--syp-primary-soft); color: var(--syp-muted); font-size: 38px; }
.syp-lst__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.syp-lst__card:hover .syp-lst__img img { transform: scale(1.05); }
.syp-lst__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.syp-lst__title { font-size: 19px; line-height: 1.4; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.syp-lst__card:hover .syp-lst__title { color: var(--syp-primary); }
.syp-lst__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--syp-muted); }
.syp-lst__meta i { margin-right: 4px; color: var(--syp-primary); }
.syp-lst__txt { font-size: 15px; line-height: 1.65; color: var(--syp-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.syp-lstgrup + .syp-lstgrup { margin-top: clamp(32px, 4vw, 52px); }
.syp-lstgrup .syp-section-head h2 { font-size: clamp(20px, 1.8vw, 26px); }

/* ---------- DETAIL (Program, Mading, Ekstrakurikuler, agenda kalender) ---------- */
.syp-detail { display: block; }
.syp-detail--gambar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3.5vw, 52px); align-items: start; }
.syp-detail__foto { margin: 0; position: sticky; top: calc(var(--syp-header-h) + 76px); }
.syp-detail__foto img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 8px 26px rgba(15, 23, 42, .12); }
.syp-detail__judul { margin: 0 0 18px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; font-weight: 800; color: var(--syp-ink); text-wrap: balance; }
.syp-detail__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; padding: 0; }
.syp-detail__meta li { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 12px; background: var(--syp-primary-soft); }
.syp-detail__meta i { font-size: 17px; color: var(--syp-primary); }
.syp-detail__meta span { display: flex; flex-direction: column; font-size: 16px; font-weight: 600; color: var(--syp-ink); line-height: 1.3; }
.syp-detail__meta small { font-size: 12px; font-weight: 500; color: var(--syp-muted); }
.syp-detail__kembali { margin-top: 28px; padding: 12px 26px; }

/* ---------- LINK PENTING ---------- */
.syp-link { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; }
.syp-link__item {
    display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 20px; border: 1px solid var(--syp-line); border-radius: 12px; background: #fff;
    color: var(--syp-ink); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.syp-link__item:hover { border-color: var(--syp-primary); box-shadow: 0 8px 20px rgba(15, 60, 110, .12); transform: translateY(-2px); }
.syp-link__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--syp-primary-soft); color: var(--syp-primary); font-size: 16px; }
.syp-link__teks { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.syp-link__teks strong { font-size: 16px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.syp-link__teks small { font-size: 13px; color: var(--syp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.syp-link__panah { flex: none; color: var(--syp-muted); transition: color .15s; }
.syp-link__item:hover .syp-link__panah { color: var(--syp-primary); }

/* ---------- KALENDER AKADEMIK ---------- */
.syp-kal__atas { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 26px; }
.syp-kal__judul { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 800; color: var(--syp-ink); }
.syp-kal__aksi { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.syp-kal__tahun { display: flex; flex-wrap: wrap; gap: 6px; }
.syp-kal__tahun a, .syp-kal__tahun span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 40px; padding: 0 14px; border: 1px solid var(--syp-line); border-radius: 10px;
    background: #fff; color: var(--syp-ink); font: 600 15px var(--syp-font); text-decoration: none; transition: border-color .15s, color .15s;
}
.syp-kal__tahun a:hover { border-color: var(--syp-primary); color: var(--syp-primary); }
.syp-kal__tahun .is-active { background: var(--syp-primary); border-color: var(--syp-primary); color: #fff; }
.syp-kal__aksi .syp-btn { height: 40px; padding: 0 20px; }
.syp-kal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.syp-kal__bulan { display: flex; flex-direction: column; min-width: 0; padding: 20px 22px 22px; border: 1px solid var(--syp-line); border-radius: 14px; background: #fff; break-inside: avoid; }
.syp-kal__bulan h3 { margin: 0 0 12px; font-size: 19px; font-weight: 700; color: var(--syp-primary); }
.syp-kal__tabel { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; text-align: center; font-size: 14px; }
.syp-kal__tabel th { padding: 6px 0; font-size: 12px; font-weight: 700; color: var(--syp-muted); }
.syp-kal__tabel th:first-child, .syp-kal__tabel td.is-minggu { color: #dc2626; }
.syp-kal__tabel td { height: 34px; border-radius: 8px; color: var(--syp-ink); }
.syp-kal__tabel td.is-acara { background: var(--syp-primary); font-weight: 700; padding: 0; }
.syp-kal__tabel td.is-acara a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; text-decoration: none; }
.syp-kal__tabel td.is-hariini { outline: 2px solid var(--syp-accent); outline-offset: -2px; font-weight: 700; }
.syp-kal__agenda { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--syp-line); display: flex; flex-direction: column; gap: 10px; }
.syp-kal__agenda a { display: block; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--syp-ink); text-decoration: none; }
.syp-kal__agenda a:hover { color: var(--syp-primary); }
.syp-kal__agenda small { display: block; margin-top: 2px; font-size: 13px; color: var(--syp-muted); }
.syp-kal__kosong { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--syp-line); font-size: 14px; color: var(--syp-muted); }
.syp-kal__info { margin: 22px 0 0; text-align: center; color: var(--syp-muted); }

/* ---------- KONTAK ---------- */
.syp-kontak { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.syp-kontak__nama { margin: 0 0 16px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; font-weight: 800; text-transform: uppercase; color: var(--syp-ink); }
.syp-kontak__alamat { margin: 0 0 26px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: var(--syp-text); }
.syp-kontak__daftar, .syp-kontak__sosmed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.syp-kontak__daftar { gap: 16px; }
.syp-kontak__daftar li, .syp-kontak__sosmed li { display: flex; align-items: center; gap: 16px; font-size: 18px; line-height: 1.5; }
.syp-kontak__daftar i { flex: none; width: 24px; text-align: center; font-size: 20px; color: var(--syp-ink); }
.syp-kontak__daftar a { color: var(--syp-ink); text-decoration: none; overflow-wrap: anywhere; }
.syp-kontak__daftar a:hover { color: var(--syp-primary); text-decoration: underline; }
.syp-kontak__sosmed { gap: 14px; margin-top: 40px; }
.syp-kontak__sosmed i { flex: none; width: 24px; text-align: center; font-size: 24px; }
.syp-kontak__sosmed a { color: var(--syp-ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.syp-kontak__sosmed a:hover { color: var(--syp-primary); }
.syp-kontak__peta { overflow: hidden; border-radius: 12px; background: var(--syp-primary-soft); box-shadow: 0 6px 22px rgba(15, 23, 42, .12); }
.syp-kontak__peta iframe { display: block; width: 100%; height: clamp(340px, 34vw, 540px); border: 0; }

/* ---------- BUKU TAMU ---------- */
.syp-tamu__atas { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 30px; }
.syp-tamu__atas h2 { margin: 0 0 6px; font-size: clamp(22px, 2vw, 30px); font-weight: 800; color: var(--syp-ink); }
.syp-tamu__atas p { margin: 0; font-size: 16px; color: var(--syp-muted); }
.syp-tamu { column-count: 3; column-gap: 24px; }
.syp-tamu__kartu {
    position: relative; display: inline-block; width: 100%; margin: 0 0 24px; padding: 28px 26px 22px; break-inside: avoid;
    border: 1px solid var(--syp-line); border-radius: 14px; background: #fff; transition: box-shadow .25s, transform .25s;
}
.syp-tamu__kartu:hover { box-shadow: 0 12px 26px rgba(15, 60, 110, .12); transform: translateY(-3px); }
.syp-tamu__kutip { position: absolute; top: 20px; right: 22px; font-size: 26px; color: var(--syp-primary-soft); }
.syp-tamu__kartu blockquote { margin: 0 0 20px; padding-right: 26px; font-size: 16.5px; line-height: 1.75; color: var(--syp-ink); overflow-wrap: anywhere; }
.syp-tamu__kartu figcaption { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--syp-line); }
.syp-tamu__kartu figcaption > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.syp-tamu__kartu strong { font-size: 15px; color: var(--syp-ink); overflow-wrap: anywhere; }
.syp-tamu__kartu small { font-size: 13px; color: var(--syp-muted); }
.syp-tamu__avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--syp-primary); color: #fff; font-size: 15px; font-weight: 700; }
.syp-wajib { color: #dc2626; }
.syp-notice--err { background: #fef2f2; border-color: #fecaca; margin-bottom: 22px; }
.syp-notice--err > i { color: #dc2626; }

/* ---------- POLLING ---------- */
.syp-poll { max-width: 760px; }
.syp-poll__tanya { margin: 0 0 22px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; font-weight: 800; color: var(--syp-ink); }
.syp-poll__form fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.syp-poll__opsi {
    position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1.5px solid var(--syp-line); border-radius: 12px; background: #fff;
    font-size: 17px; font-weight: 500; color: var(--syp-ink); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.syp-poll__opsi:hover { border-color: var(--syp-primary); }
.syp-poll__opsi input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.syp-poll__radio { flex: none; position: relative; width: 22px; height: 22px; border: 2px solid #b6c2d0; border-radius: 50%; background: #fff; transition: border-color .15s; }
.syp-poll__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--syp-primary); transform: scale(0); transition: transform .15s; }
.syp-poll__opsi input:checked + .syp-poll__radio { border-color: var(--syp-primary); }
.syp-poll__opsi input:checked + .syp-poll__radio::after { transform: scale(1); }
.syp-poll__opsi input:focus-visible + .syp-poll__radio { outline: 3px solid var(--syp-accent); outline-offset: 2px; }
.syp-poll__opsi:has(input:checked) { border-color: var(--syp-primary); background: var(--syp-primary-soft); box-shadow: 0 0 0 1px var(--syp-primary) inset; }
.syp-poll .syp-notice { margin-bottom: 22px; }

.syp-poll__hasil { margin-top: 24px; border: 1px solid var(--syp-line); border-radius: 14px; background: #fff; }
.syp-poll__hasil summary { display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-size: 16px; font-weight: 700; color: var(--syp-primary); cursor: pointer; list-style: none; }
.syp-poll__hasil summary::-webkit-details-marker { display: none; }
.syp-poll__hasil summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.syp-poll__hasil[open] summary::after { transform: rotate(-135deg); }
.syp-poll__hasil summary small { font-weight: 500; color: var(--syp-muted); }
.syp-poll__bar-daftar { list-style: none; margin: 0; padding: 4px 22px 6px; display: flex; flex-direction: column; gap: 18px; }
.syp-poll__bar-teks { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; font-size: 16px; color: var(--syp-ink); }
.syp-poll__bar-teks small { margin-left: 6px; font-size: 13px; color: var(--syp-muted); }
.syp-poll__bar { height: 12px; border-radius: 999px; background: var(--syp-primary-soft); overflow: hidden; }
.syp-poll__bar span { display: block; height: 100%; min-width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--syp-primary), #3b8fe0); }
.syp-poll__total { margin: 0; padding: 14px 22px 18px; font-size: 14px; color: var(--syp-muted); }

/* ---------- DETAIL BERITA ---------- */
.syp-bd { display: grid; grid-template-columns: minmax(260px, 3fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.syp-bd__side { position: sticky; top: calc(var(--syp-header-h) + 76px); }
.syp-bd__kembali { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--syp-primary); text-decoration: none; }
.syp-bd__kembali:hover { text-decoration: underline; }
.syp-bd__judul { margin: 0 0 26px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.28; font-weight: 800; color: var(--syp-ink); text-wrap: balance; overflow-wrap: anywhere; }
.syp-bd__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin: 0 0 24px; }
.syp-bd__meta dt { margin-bottom: 4px; font-size: 12px; color: var(--syp-muted); }
.syp-bd__meta dd { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--syp-ink); overflow-wrap: anywhere; }
.syp-bd__badge { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--syp-primary-soft); color: var(--syp-primary); font-size: 13px; font-weight: 700; }
.syp-bd__bagikan > span:first-child { display: block; margin-bottom: 8px; font-size: 12px; color: var(--syp-muted); }
.syp-bd__ikon { display: flex; gap: 8px; }
.syp-bd__ikon a, .syp-bd__ikon button {
    appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--syp-line); border-radius: 50%;
    background: #fff; color: var(--syp-primary); font-size: 15px; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.syp-bd__ikon a:hover, .syp-bd__ikon button:hover { background: var(--syp-primary); border-color: var(--syp-primary); color: #fff; }
.syp-bd__salin-info { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: #15803d; }
.syp-bd__foto { margin: 0 0 26px; }
.syp-bd__foto img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 6px 22px rgba(15, 23, 42, .12); }
.syp-bd__isi .syp-prose { font-size: 17px; }
.syp-bd__isi .syp-prose img { display: block; margin-inline: auto; }
.syp-bd__terkait { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--syp-line); }
.syp-bd__terkait h2 { margin: 0 0 22px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; color: var(--syp-ink); }

/* ---------- CETAK (kalender akademik) ---------- */
@page { size: A4 portrait; margin: 10mm; }
@media print {
    body.syp-body { background: #fff; }
    .syp-header, .syp-footer, .syp-totop, .syp-kal__aksi, .syp-search, .syp-drawer, .syp-overlay, .syp-scrim { display: none !important; }
    .syp-page { padding: 0; min-height: 0; }
    .syp-container--content { width: 100%; }
    .syp-kal__atas { margin-bottom: 10px; }
    .syp-kal__judul { font-size: 20px; }
    .syp-kal__grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }   /* menang atas aturan responsif (lebar A4 < 1100px) */
    .syp-kal__bulan { padding: 8px 10px 10px; border-radius: 8px; break-inside: avoid; page-break-inside: avoid; }
    .syp-kal__bulan h3 { margin-bottom: 4px; font-size: 14px; }
    .syp-kal__tabel { border-spacing: 1px; font-size: 10px; }
    .syp-kal__tabel th { padding: 3px 0; font-size: 9px; }
    .syp-kal__tabel td { height: 20px; border-radius: 4px; }
    .syp-kal__agenda, .syp-kal__kosong { margin-top: 6px; padding-top: 6px; }
    .syp-kal__agenda { gap: 4px; }
    .syp-kal__agenda a { font-size: 10px; }
    .syp-kal__agenda small, .syp-kal__kosong { font-size: 9px; }
    .syp-kal__tabel td.is-acara { background: #0b5ba7 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .syp-kal__tabel td.is-acara a { color: #fff !important; }
}

/* ---------- RESPONSIVE ---------- */

/* laptop: tombol aksi jadi ikon saja supaya menu muat */
@media (max-width: 1500px) {
    .syp-header__inner { gap: 16px; }
    .syp-nav__link { padding: 10px 10px; font-size: 15px; }
    .syp-aksi span { display: none; }
    .syp-aksi { width: 42px; height: 42px; justify-content: center; padding: 0; }
}

/* tablet & mobile: menu pindah ke drawer */
@media (max-width: 1100px) {
    .syp-aplikasi__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .syp-sorotan__grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
    .syp-sorot--utama { grid-row: auto; grid-column: 1 / -1; }
    .syp-sorot:not(.syp-sorot--utama) + .syp-sorot:not(.syp-sorot--utama) { margin-top: 0; }
    .syp-unduhan__panel { padding-inline: 20px; }
    .syp-carousel--file .syp-carousel__item { width: clamp(260px, 44vw, 400px); }
    .syp-berita__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .syp-terkait__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .syp-galeri { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .syp-lst, .syp-link { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .syp-bd { grid-template-columns: 1fr; }
    .syp-bd__side { position: static; }
    .syp-tamu { column-count: 2; }
    .syp-kal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .syp-detail--gambar { grid-template-columns: 1fr; }
    .syp-detail__foto { position: static; max-width: 520px; }
    .syp-kontak { grid-template-columns: 1fr; }
    .syp-galeri--short, .syp-galeri--reels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .syp-team { grid-template-columns: 1fr; }
    .syp-team__side { position: static; }
    .syp-team__judul { margin-bottom: 16px; }
    .syp-team__nav { display: flex; max-height: none; overflow-x: auto; padding: 0; background: none; box-shadow: none; scrollbar-width: none; gap: 10px; }
    .syp-team__nav::-webkit-scrollbar { display: none; }
    .syp-team__nav ul { display: flex; gap: 10px; }
    .syp-team__nav a { padding: 10px 18px; font-size: 15px; white-space: nowrap; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(15, 23, 42, .12); }
    .syp-team__nav svg { display: none; }
    .syp-team__grup { scroll-margin-top: calc(var(--syp-header-h) + 70px); }
    .syp-carousel__btn { display: none !important; }
    .syp-container--content { --syp-pad-content: 32px; }
    .syp-sosmed__grid { grid-template-columns: 1fr; }
    .syp-sosmed__list { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .syp-sosmed__list::-webkit-scrollbar { display: none; }
    .syp-sosmed__item { flex: 1 0 auto; width: auto; min-height: 0; padding: 16px 20px; }
    .syp-sosmed__item + .syp-sosmed__item { border-top: 0; border-left: 1px solid var(--syp-line); }
    .syp-sosmed__arrow { display: none; }
    .syp-hero__media { min-height: 320px; }
    :root { --syp-header-h: 68px; }
    .syp-nav, .syp-mega, .syp-scrim { display: none !important; }
    .syp-burger { display: inline-flex; }
    .syp-aksi--hubungi { display: none; }
    .syp-aksi span { display: none; }
    .syp-aksi { width: 44px; height: 44px; justify-content: center; padding: 0; }
    .syp-brand img { height: 44px; }
    .syp-header__aksi { gap: 8px; }

    .syp-footer__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; padding-block: 44px 28px; }
    .syp-footer__col { grid-column: span 3; }
    .syp-footer__stat { margin-left: 0; justify-content: flex-start; }
}

@media (max-width: 700px) {
    .syp-carousel--kartu .syp-carousel__item { width: 46vw; max-width: 220px; }
    .syp-kartu__title { font-size: 14px; padding: 12px; }
    .syp-aplikasi__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .syp-app { min-height: 116px; padding: 16px 10px; }
    .syp-app__icon { width: 40px; height: 40px; }
    .syp-app__name { font-size: 15px; }
    .syp-sorotan__grid { grid-template-columns: 1fr; }
    .syp-sorot--utama .syp-sorot__title, .syp-sorot__title { font-size: 16px; }
    .syp-unduhan__panel { padding: 22px 14px 24px; border-radius: 12px; }
    .syp-carousel--file .syp-carousel__item { width: 82%; }
    .syp-file__icon { width: 52px; height: 52px; font-size: 22px; }
    /* HP: satu baris yang bisa digeser, ujung kanan diberi ruang supaya terlihat masih ada tombol lain */
    .syp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--syp-pad-content)); padding-right: var(--syp-pad-content); }
    .syp-chips::-webkit-scrollbar { display: none; }
    .syp-berita__grid { grid-template-columns: 1fr; gap: 26px; }
    .syp-artikel__title { font-size: 17px; margin-top: 12px; }
    .syp-chip { padding: 10px 20px; font-size: 15px; }
    .syp-carousel__track { gap: 14px; }
    .syp-carousel__item { width: 62vw; max-width: 240px; }
    .syp-poster__title { font-size: 15px; }
    .syp-container--content { --syp-pad-content: 18px; }
    .syp-sosmed__text strong { font-size: 15px; }
    .syp-sosmed__text small { font-size: 12px; }
    .syp-sosmed__icon { width: 38px; height: 38px; font-size: 17px; }
    .syp-sosmed__card iframe { height: 520px; }
    .syp-page--tulis, .syp-prose { font-size: 16px; }
    .syp-terkait__grid { grid-template-columns: 1fr; gap: 16px; }
    .syp-team__grid { grid-template-columns: 1fr; }
    .syp-lst, .syp-link, .syp-kal__grid { grid-template-columns: 1fr; gap: 16px; }
    .syp-tamu { column-count: 1; }
    .syp-bd__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .syp-bd__isi .syp-prose { font-size: 16px; }
    .syp-tamu__atas .syp-btn { width: 100%; }
    .syp-poll__opsi { padding: 14px 16px; font-size: 16px; }
    .syp-poll__bar-teks { flex-direction: column; gap: 2px; }
    .syp-lst__body { padding: 16px 16px 18px; }
    .syp-kal__atas { align-items: flex-start; }
    .syp-kontak__daftar li, .syp-kontak__sosmed li { font-size: 16px; }
    .syp-kontak__sosmed { margin-top: 28px; }
    .syp-detail__meta li { width: 100%; }
    .syp-galeri, .syp-galeri--short, .syp-galeri--reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .syp-gal__nama { font-size: 15px; margin-top: 10px; }
    .syp-gal__play { width: 46px; height: 46px; font-size: 16px; }
    .syp-form__baris { grid-template-columns: 1fr; }
    .syp-box { padding: 60px 12px 24px; }
    .syp-box__video { width: calc(100vw - 24px); }
    .syp-box__video--potret { height: calc(100vh - 160px); max-width: calc(100vw - 24px); }
    .syp-box__prev { left: 8px; } .syp-box__next { right: 8px; }
    .syp-box__btn { width: 40px; height: 40px; }
    .syp-notice { padding: 18px; }
    .syp-page table.table { font-size: 15px; }
    .syp-page table.table th, .syp-page table.table td { padding: 12px 14px; }
    .syp-dt__cari { width: 100%; margin-left: 0; order: -1; }
    .syp-dt__pager { margin-left: 0; }
    .syp-person { gap: 14px; }
    .syp-person__foto { width: 40%; }
    .syp-tdetail { grid-template-columns: 1fr; }
    .syp-tdetail__foto { max-width: 260px; }
    .syp-tdetail__fakta div { grid-template-columns: 1fr; gap: 2px; }
    .syp-terkait__card { min-height: 160px; }
    .syp-crumb { font-size: 15px; }
    .syp-crumb__inner { padding-block: 10px; gap: 10px; }
    .syp-page--tulis .sambutan-image { float: none; display: block; width: 100%; margin: 0 0 18px; }
    .syp-section-head { margin-bottom: 20px; gap: 12px; }
    /* hero: gambar di atas, teks di bawah (gambar slideshow berisi tulisan, jangan tertutup) */
    .syp-hero__media { aspect-ratio: 16 / 9; min-height: 0; }
    .syp-hero__slide { display: flex; flex-direction: column; }
    .syp-hero__caption { position: static; background: var(--syp-primary-dark); padding-block: 20px 52px; }
    .syp-hero__title { font-size: 22px; max-width: none; margin-bottom: 8px; }
    .syp-hero__desc { font-size: 14px; margin-bottom: 12px; }
    .syp-hero__more { font-size: 15px; }
    .syp-hero__dots { bottom: 20px; }
    .syp-brand { max-width: calc(100% - 110px); }
    .syp-brand__text strong { font-size: 15px; }
    .syp-brand__text small { font-size: 11px; }

    .syp-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 20px; }
    .syp-footer__col { grid-column: 1 / -1; }
    .syp-footer__judul { margin-bottom: 16px; font-size: 18px; }
    .syp-footer__links { column-width: auto; column-count: 1; }
    .syp-footer__links li { padding-bottom: 12px; }
    .syp-footer__partner img { height: 38px; }
    .syp-footer__stat { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; }
    .syp-footer__stat-judul { margin: 0 0 4px; }
    .syp-footer__stat > span:not(.syp-footer__stat-judul) { padding: 0; border-left: 0; }
    .syp-footer__bar-inner { flex-direction: column; align-items: flex-start; padding-block: 16px; }
    .syp-footer__bar p { font-size: 13px; }
    .syp-totop { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
