/* ==========================================================================
   Situs sekolah: Kampus Hijau Editorial
   Hijau hutan, kertas hangat, judul sans modern, aksen marigold terbatas.
   ========================================================================== */

:root {
    --forest-950: #043A2A;
    --forest-900: #07543C;
    --forest-800: #0A6749;
    --forest-700: #0E7A57;
    --forest-100: #D9EDE4;
    --forest-50: #EEF7F2;
    --paper: #F7F5EF;
    --paper-2: #F0EDE3;
    --paper-3: #E6E1D3;
    --ink: #263746;
    --muted: #5B6B79;
    --line: #DED9CB;
    --line-strong: #C8C2B1;
    --accent: #D8B45E;
    --accent-soft: #F5E9C9;
    --accent-ink: #82600F;
    --danger: #B42318;
    --success: #15803D;
    --white: #FFFFFF;
    --display: "Sora", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(38, 55, 70, 0.05);
    --shadow: 0 18px 44px -28px rgba(38, 55, 70, 0.35);
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 93.75%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@view-transition {
    navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation: none !important;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.drawer-open,
body.search-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--forest-800);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--forest-950);
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--forest-950);
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding-left: 1.2em;
}

::selection {
    background: var(--accent-soft);
    color: var(--forest-950);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 200;
    transform: translateY(-140%);
    background: var(--forest-900);
    color: var(--paper);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
    color: var(--paper);
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 760px;
}

/* Utility bar ------------------------------------------------------------ */
.maintenance-note {
    background: var(--accent-soft);
    color: #6B4714;
    text-align: center;
    padding: 9px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    border-bottom: 1px solid #EBD9AD;
}

.utility-bar {
    background: var(--forest-950);
    color: rgba(247, 245, 239, 0.78);
    font-size: 0.78rem;
}

.utility-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-height: 40px;
    padding-block: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(216, 180, 94, 0.18);
}

.status-dot.is-open {
    background: #7FD9B3;
    box-shadow: 0 0 0 3px rgba(127, 217, 179, 0.16);
}

.utility-links {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.utility-links a {
    color: inherit;
    text-decoration: none;
}

.utility-links a:hover {
    color: var(--paper);
}

/* Header ----------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(247, 245, 239, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px -24px rgba(38, 55, 70, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 82px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: var(--forest-950);
    flex: none;
    max-width: 290px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    flex: none;
    display: grid;
    place-items: center;
    color: var(--forest-800);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-mark svg {
    width: 30px;
    height: 30px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.brand-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
    color: var(--forest-950);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-sub {
    margin-top: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--forest-50);
    color: var(--forest-900);
}

.nav-link.is-active {
    background: var(--accent-soft);
    color: var(--forest-950);
    border: 1px solid var(--accent);
}

.nav-drop {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-drop-toggle {
    width: 28px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.nav-drop-toggle svg {
    width: 15px;
    height: 15px;
    margin-inline: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.18s ease;
}

.nav-drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 90;
    min-width: 238px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.is-open .nav-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-drop.is-open .nav-drop-toggle svg {
    transform: rotate(180deg);
}

.drop-link {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
}

.drop-link:hover,
.drop-link.is-active {
    background: var(--forest-50);
    color: var(--forest-900);
}

.drop-link-all {
    font-weight: 700;
    color: var(--forest-800);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    margin-bottom: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.icon-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease;
}

.icon-button:hover {
    background: var(--forest-50);
    border-color: var(--line-strong);
}

.icon-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-toggle {
    display: none;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--forest-900);
    color: var(--paper);
    border-color: var(--forest-900);
}

.btn-primary:hover {
    background: var(--forest-800);
    border-color: var(--forest-800);
    color: var(--white);
}

.btn-outline {
    border-color: var(--line-strong);
    color: var(--forest-900);
    background: transparent;
}

.btn-outline:hover {
    background: var(--forest-50);
    border-color: var(--forest-700);
    color: var(--forest-900);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #2A1A05;
}

.btn-accent:hover {
    background: #C6A248;
    border-color: #C6A248;
    color: #2A1A05;
}

.btn-sm {
    min-height: 40px;
    padding: 8px 15px;
    font-size: 0.82rem;
}

.btn-block {
    width: 100%;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--forest-800);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
}

.btn-link:hover {
    color: var(--forest-950);
    border-color: var(--forest-800);
}

.btn-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Search panel ----------------------------------------------------------- */
.search-panel {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(4, 58, 42, 0.6);
    backdrop-filter: blur(4px);
    padding-top: 16vh;
}

.search-panel[hidden] {
    display: none;
}

.search-panel-inner {
    max-width: 780px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5);
}

.search-form > svg {
    width: 22px;
    height: 22px;
    flex: none;
    margin-left: 8px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 2px;
    font-size: 1rem;
    outline: none;
}

.search-form .icon-button {
    flex: none;
}

/* Drawer ----------------------------------------------------------------- */
.drawer-scrim {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(4, 58, 42, 0.55);
}

.drawer-scrim[hidden] {
    display: none;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 110;
    width: min(88vw, 380px);
    height: 100dvh;
    overflow-y: auto;
    padding: 20px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.45);
    transform: translateX(102%);
    transition: transform 0.24s ease;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.drawer-title {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--forest-950);
}

.drawer-nav {
    display: grid;
    padding-block: 12px;
}

.drawer-link {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.drawer-link.is-active {
    color: var(--forest-800);
}

.drawer-sub {
    display: grid;
    gap: 2px;
    padding: 8px 0 12px 14px;
    border-bottom: 1px solid var(--line);
}

.drawer-sub a {
    padding: 7px 0;
    color: var(--muted);
    font-size: 0.88rem;
    text-decoration: none;
}

.drawer-sub a:hover {
    color: var(--forest-900);
}

.drawer-actions {
    display: grid;
    gap: 10px;
    padding-top: 18px;
}

/* Breadcrumb ------------------------------------------------------------- */
.breadcrumb-wrap {
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding-block: 10px;
    font-size: 0.78rem;
    color: var(--muted);
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--forest-900);
    text-decoration: underline;
}

.breadcrumbs span[aria-hidden] {
    color: var(--line-strong);
}

/* Typography helpers ----------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--forest-700);
    font-size: 0.85rem;
    font-weight: 600;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--accent);
}

.eyebrow-light {
    color: rgba(247, 245, 239, 0.72);
}

.section {
    padding-block: clamp(38px, 5vw, 64px);
}

.section-soft {
    background: var(--paper-2);
    border-block: 1px solid var(--line);
}

.section-forest {
    background: var(--forest-900);
    color: rgba(247, 245, 239, 0.82);
}

.section-forest h2,
.section-forest h3 {
    color: var(--paper);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(22px, 3vw, 34px);
}

.section-head h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.8rem);
    max-width: 18ch;
}

.section-head p {
    max-width: 56ch;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.97rem;
}

.section-forest .section-head p {
    color: rgba(247, 245, 239, 0.68);
}

.section-head .btn-link {
    flex: none;
    margin-bottom: 4px;
}

/* Hero ------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(32px, 3.6vw, 48px) clamp(40px, 5.5vw, 72px);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.035em;
    max-width: 10ch;
}

.hero-title-tail {
    white-space: nowrap;
}

.hero-lead {
    max-width: 54ch;
    margin-top: 20px;
    color: var(--muted);
    font-size: clamp(1rem, 1.2vw, 1.13rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.hero-footnote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.82rem;
}

.hero-footnote a {
    color: var(--forest-800);
    font-weight: 600;
}

/* Sorotan bergambar (slider) */
.hero-media {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--forest-950);
    box-shadow: 0 32px 64px -42px rgba(4, 58, 42, 0.72);
}

.hero-stage {
    position: relative;
    aspect-ratio: 5 / 4;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 7s ease-out;
}

.hero-slide.is-active img {
    transform: scale(1);
}

.hero-slide-caption {
    position: absolute;
    inset: auto 0 0;
    padding: clamp(56px, 9vw, 104px) clamp(20px, 3vw, 34px) clamp(20px, 3vw, 30px);
    background: linear-gradient(180deg, rgba(4, 42, 31, 0) 0%, rgba(4, 42, 31, 0.62) 44%, rgba(4, 42, 31, 0.9) 100%);
    color: var(--paper);
}

.hero-slide-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent-soft);
    font-size: 0.8125rem;
    font-weight: 600;
}

.hero-slide-caption h2 {
    color: var(--paper);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.12;
}

.hero-slide-caption p {
    max-width: 42ch;
    margin-top: 10px;
    color: rgba(247, 245, 239, 0.76);
    font-size: 0.88rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.hero-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(245, 233, 201, 0.5);
    color: var(--accent-soft);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.hero-slide-link:hover {
    border-color: var(--accent-soft);
    color: var(--white);
}

.hero-slide-link span {
    transition: transform 0.18s ease;
}

.hero-slide-link:hover span {
    transform: translateX(3px);
}

.hero-controls {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 8px;
}

.hero-media.is-ready .hero-controls {
    display: flex;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid rgba(247, 245, 239, 0.18);
    border-radius: 999px;
    background: rgba(4, 42, 31, 0.5);
    backdrop-filter: blur(8px);
}

.hero-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(247, 245, 239, 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot:hover {
    background: rgba(247, 245, 239, 0.8);
}

.hero-dot.is-active {
    width: 20px;
    background: var(--accent-soft);
}

.hero-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(247, 245, 239, 0.24);
    border-radius: 50%;
    background: rgba(4, 42, 31, 0.5);
    color: var(--paper);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.hero-arrow:hover {
    border-color: rgba(247, 245, 239, 0.6);
    background: rgba(4, 42, 31, 0.78);
}

.hero-arrow svg {
    width: 18px;
    height: 18px;
}

/* Ringkasan status SPMB di bawah hero */
.hero-spmb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px clamp(18px, 3vw, 34px);
    margin-top: clamp(24px, 3vw, 32px);
    padding: clamp(16px, 2vw, 24px) clamp(20px, 2.6vw, 28px);
    border: 1px solid rgba(247, 245, 239, 0.12);
    border-radius: var(--radius-lg);
    background: var(--forest-900);
    color: rgba(247, 245, 239, 0.82);
    box-shadow: var(--shadow);
}

.hero-spmb-main {
    flex: 1 1 240px;
    min-width: 0;
}

.hero-spmb-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--accent-soft);
    font-size: 0.8125rem;
    font-weight: 600;
}

.hero-spmb-main strong {
    display: block;
    color: var(--paper);
    font-family: var(--display);
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 600;
    line-height: 1.2;
}

.hero-spmb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px clamp(20px, 3vw, 36px);
    margin: 0;
    padding: 0;
}

.hero-spmb-meta div {
    min-width: 0;
}

.hero-spmb-meta dt {
    color: rgba(247, 245, 239, 0.56);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-spmb-meta dd {
    margin: 2px 0 0;
    color: var(--paper);
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-spmb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
}

.hero-spmb .btn-outline {
    border-color: rgba(247, 245, 239, 0.42);
    background: rgba(247, 245, 239, 0.04);
    color: var(--paper);
}

.hero-spmb .btn-outline:hover {
    border-color: rgba(247, 245, 239, 0.72);
    background: rgba(247, 245, 239, 0.14);
    color: var(--white);
}

/* Quick access ----------------------------------------------------------- */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.quick-item {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 172px;
    padding: 20px;
    background: var(--forest-900);
    border: 1px solid rgba(247, 245, 239, 0.16);
    border-radius: var(--radius-lg);
    color: var(--paper);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(185deg, rgba(4, 58, 42, 0.3) 0%, rgba(4, 58, 42, 0.76) 52%, rgba(4, 58, 42, 0.94) 100%);
}

.quick-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transform: scale(1.02);
    transition: transform 0.5s ease, opacity 0.2s ease;
}

.quick-item > :not(.quick-media) {
    position: relative;
    z-index: 2;
}

.quick-item:hover {
    border-color: rgba(247, 245, 239, 0.48);
    color: var(--paper);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -24px rgba(4, 58, 42, 0.72);
}

.quick-item:hover .quick-media {
    opacity: 1;
    transform: scale(1.06);
}

.quick-number {
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-soft);
}

.quick-item strong {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--paper);
}

.quick-desc {
    color: rgba(247, 245, 239, 0.78);
    font-size: 0.82rem;
    line-height: 1.55;
}

.quick-arrow {
    margin-top: auto;
    color: var(--paper);
    transition: transform 0.18s ease;
}

.quick-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-item:hover .quick-arrow {
    transform: translateX(4px);
}

/* Facts ------------------------------------------------------------------ */
.facts-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.fact {
    padding: 16px 18px;
    background: var(--white);
}

.fact dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fact dd {
    margin: 6px 0 0;
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest-950);
}

/* Split section ---------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(26px, 4vw, 56px);
    align-items: center;
}

.split-copy h2 {
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    max-width: 18ch;
}

.split-copy p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.split-copy .btn-link {
    margin-top: 18px;
}

.split .facts-strip {
    grid-template-columns: repeat(2, 1fr);
}

.aside-card {
    padding: clamp(22px, 3vw, 30px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.aside-card .eyebrow {
    margin-bottom: 8px;
}

.aside-card h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
}

.aside-links {
    display: grid;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.aside-links li + li {
    border-top: 1px solid var(--line);
}

.aside-links a {
    display: grid;
    gap: 3px;
    padding: 14px 0;
    color: var(--forest-900);
    text-decoration: none;
}

.aside-links a:hover {
    color: var(--forest-950);
}

.aside-links strong {
    font-size: 0.92rem;
}

.aside-links a:hover strong {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aside-links span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* Cards and post grid ---------------------------------------------------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.post-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.card-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(7, 84, 60, 0.9), rgba(10, 103, 73, 0.96)),
        var(--forest-900);
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 16px;
    text-align: center;
    color: rgba(247, 245, 239, 0.55);
    background-image:
        repeating-linear-gradient(45deg, transparent 0 16px, rgba(247, 245, 239, 0.05) 16px 17px),
        radial-gradient(circle at 75% 20%, rgba(216, 180, 94, 0.2), transparent 42%);
}

.media-placeholder span {
    max-width: 20ch;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.post-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex: 1;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.post-meta .tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--forest-100);
    color: var(--forest-800);
    font-size: 0.68rem;
    font-weight: 700;
}

.post-meta .sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--line-strong);
}

.post-body h3 {
    font-size: 1.22rem;
    line-height: 1.25;
}

.post-card:hover h3 {
    color: var(--forest-800);
}

.post-body p {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-more {
    margin-top: auto;
    padding-top: 8px;
    color: var(--forest-700);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Announcement strip ----------------------------------------------------- */
.announcement-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: -1px;
    padding: 14px 20px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.86rem;
}

.announcement-strip:hover {
    background: var(--forest-50);
    color: var(--ink);
}

.announcement-label {
    flex: none;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--accent-soft);
    color: #6B4714;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.announcement-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.announcement-arrow {
    flex: none;
    color: var(--forest-700);
}

/* Filter row ------------------------------------------------------------- */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 26px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.filter-row .field {
    flex: 1 1 220px;
    min-width: 180px;
}

.filter-row .field input,
.filter-row .field select {
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--paper);
    font-size: 0.9rem;
}

.filter-row .btn {
    flex: none;
    min-height: 44px;
}

.result-count {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
}

.faq-group + .faq-group {
    margin-top: 34px;
}

.faq-group > h2 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

/* Agenda ----------------------------------------------------------------- */
.agenda-list {
    display: grid;
    border-top: 1px solid var(--line);
}

.agenda-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 20px 4px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    transition: background 0.16s ease, padding 0.16s ease;
}

.agenda-item:hover {
    background: var(--forest-50);
    padding-inline: 14px;
    color: var(--ink);
}

.agenda-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    border-right: 1px solid var(--line);
    color: var(--forest-900);
}

.agenda-date strong {
    font-family: var(--display);
    font-size: 2rem;
    line-height: 1;
}

.agenda-date span {
    margin-top: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.agenda-copy h3 {
    font-size: 1.08rem;
}

.agenda-copy p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.8rem;
}

.agenda-arrow {
    color: var(--forest-700);
}

.agenda-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* SPMB banner ------------------------------------------------------------ */
.spmb-banner {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3.6vw, 48px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 12%, rgba(216, 180, 94, 0.26), transparent 32%),
        repeating-linear-gradient(135deg, transparent 0 26px, rgba(247, 245, 239, 0.03) 26px 27px),
        var(--forest-900);
    color: rgba(247, 245, 239, 0.82);
}

.spmb-banner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.spmb-banner h2 {
    color: var(--paper);
    font-size: clamp(1.9rem, 3.6vw, 3.2rem);
    max-width: 17ch;
}

.spmb-banner p {
    margin-top: 14px;
    color: rgba(247, 245, 239, 0.72);
    max-width: 52ch;
    font-size: 0.96rem;
}

.spmb-banner .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.spmb-banner .btn-outline {
    border-color: rgba(247, 245, 239, 0.34);
    color: var(--paper);
}

.spmb-banner .btn-outline:hover {
    background: rgba(247, 245, 239, 0.1);
    border-color: rgba(247, 245, 239, 0.6);
}

.spmb-steps {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(247, 245, 239, 0.18);
}

.spmb-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(247, 245, 239, 0.14);
    font-size: 0.84rem;
}

.spmb-step span:first-child {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: none;
    border: 1px solid rgba(247, 245, 239, 0.28);
    border-radius: 50%;
    color: var(--accent-soft);
    font-size: 0.7rem;
    font-weight: 700;
}

/* FAQ -------------------------------------------------------------------- */
.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.92rem;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex: none;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--accent-ink);
    line-height: 1;
    transition: transform 0.16s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    white-space: pre-line;
}

/* Page hero and prose ---------------------------------------------------- */
.page-hero {
    padding-block: clamp(42px, 6vw, 76px) clamp(36px, 5vw, 60px);
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    max-width: 20ch;
    line-height: 1.02;
}

.page-hero .lead {
    max-width: 62ch;
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.page-hero .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.78rem;
}

.page-hero .page-cover {
    margin-top: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 21 / 9;
    background: var(--forest-900);
}

.page-hero .page-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Foto pembuka menu: latar full-width dengan lapisan hijau agar teks
   tetap terbaca. Dipakai oleh semua menu header (Profil, Informasi,
   SPMB, CBT, Kontak) dan halaman yang memiliki hero_path. */
.hero-photo {
    position: relative;
    isolation: isolate;
    background-color: var(--forest-950);
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(6, 46, 34, 0.26) 0%, rgba(4, 30, 22, 0.56) 56%, rgba(4, 26, 19, 0.86) 100%),
        linear-gradient(90deg, rgba(7, 84, 60, 0.5) 0%, rgba(7, 84, 60, 0.12) 72%);
}

.hero-photo > .container {
    position: relative;
    z-index: 1;
}

.page-hero.hero-photo {
    padding-block: clamp(64px, 9vw, 128px) clamp(48px, 7vw, 96px);
    border-bottom: 0;
}

.page-hero.hero-photo h1,
.page-hero.hero-photo .lead {
    color: var(--paper);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.page-hero.hero-photo .lead {
    color: rgba(247, 245, 239, 0.84);
    text-shadow: none;
}

.page-hero.hero-photo .meta {
    color: rgba(247, 245, 239, 0.74);
}

.page-hero.hero-photo .eyebrow {
    color: var(--accent);
}

.page-hero.hero-photo .eyebrow::before {
    background: var(--accent);
}

.page-hero.hero-photo .btn-outline {
    border-color: rgba(247, 245, 239, 0.42);
    color: var(--paper);
}

.page-hero.hero-photo .btn-outline:hover {
    background: rgba(247, 245, 239, 0.12);
    border-color: rgba(247, 245, 239, 0.72);
    color: var(--paper);
}

.spmb-hero.hero-photo {
    background-color: var(--forest-950);
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    padding-block: clamp(64px, 9vw, 128px) clamp(52px, 7vw, 96px);
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.content-main {
    min-width: 0;
}

.prose {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.8;
}

.prose > * + * {
    margin-top: 1.15em;
}

.prose h2 {
    margin-top: 1.7em;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.prose h3 {
    margin-top: 1.5em;
    font-size: 1.25rem;
}

.prose p,
.prose li {
    color: #33414E;
}

.prose a {
    color: var(--forest-800);
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
}

.prose a:hover {
    text-decoration-color: var(--forest-800);
}

.prose ul,
.prose ol {
    padding-left: 1.35em;
}

.prose li + li {
    margin-top: 0.35em;
}

.prose blockquote {
    margin: 1.6em 0;
    padding: 18px 22px;
    border-left: 3px solid var(--accent);
    background: var(--paper-2);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--display);
    font-size: 1.08rem;
    color: var(--forest-900);
}

.prose img {
    border-radius: var(--radius);
    height: auto;
}

.prose figure {
    margin: 1.6em 0;
}

.prose figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.78rem;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.prose th,
.prose td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--paper-2);
    font-weight: 700;
}

.prose code {
    padding: 2px 5px;
    border-radius: 4px;
    background: var(--paper-2);
    font-size: 0.9em;
}

.prose pre {
    overflow-x: auto;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--forest-950);
    color: var(--paper);
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2em 0;
}

/* Sidebar ---------------------------------------------------------------- */
.side-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.side-card + .side-card {
    margin-top: 16px;
}

.side-card h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.side-links {
    display: grid;
    gap: 2px;
}

.side-links-spaced {
    margin-top: 14px;
}

.side-links a {
    display: block;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: 0.84rem;
    text-decoration: none;
}

.side-links a:hover,
.side-links a.is-active {
    background: var(--forest-50);
    color: var(--forest-900);
}

.side-note {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.side-card .btn {
    margin-top: 14px;
}

/* Section hub cards ------------------------------------------------------ */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 18px;
}

.hub-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 160px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--ink);
    transition: border-color 0.16s ease, background 0.16s ease;
}

.hub-card:hover {
    background: var(--forest-50);
    border-color: var(--line-strong);
    color: var(--ink);
}

.hub-card strong {
    font-family: var(--display);
    font-size: 1.2rem;
}

.hub-card span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.hub-card .hub-arrow {
    margin-top: auto;
    color: var(--forest-700);
    font-size: 0.78rem;
    font-weight: 700;
}

/* Empty states ----------------------------------------------------------- */
.empty-state {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: clamp(24px, 3.5vw, 42px) 20px;
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: rgba(240, 237, 227, 0.45);
}

.empty-state h3 {
    font-size: 1.15rem;
}

.empty-state p {
    max-width: 46ch;
    color: var(--muted);
    font-size: 0.86rem;
}

.empty-state-start {
    place-items: start;
    margin-top: 28px;
    text-align: left;
}

.empty-state-start h3 {
    font-size: 1rem;
}

.empty-state-start p {
    max-width: 62ch;
}

/* Contact ---------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 22px;
}

.contact-block h2 {
    font-size: 1.05rem;
    margin-bottom: 7px;
}

.contact-block p,
.contact-block a {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-block a {
    color: var(--forest-800);
}

.contact-form-card {
    padding: clamp(24px, 4vw, 38px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-intro h2 {
    margin-top: 4px;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    max-width: 18ch;
}

.contact-intro p {
    max-width: 46ch;
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-intro .hero-actions {
    margin-top: 24px;
}

.contact-card {
    padding: clamp(24px, 4vw, 38px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-card h2 {
    font-size: 1.15rem;
}

.contact-list {
    display: grid;
    margin: 18px 0 24px;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.contact-label {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-list a {
    color: var(--forest-800);
    font-weight: 600;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-note {
    margin: 16px 0 22px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.contact-form-card > h2 {
    font-size: 1.5rem;
}

.contact-form-card > p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.contact-form {
    margin-top: 18px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.form-actions .form-note {
    margin: 0;
}

.notice-success {
    margin-top: 18px;
    border-left-color: var(--success);
    background: var(--forest-50);
}

.section-cta {
    text-align: center;
}

.section-cta .eyebrow {
    justify-content: center;
}

.section-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-cta > p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.7;
}

.section-cta .hero-actions {
    justify-content: center;
}

.search-page-form {
    max-width: 640px;
    margin-top: 22px;
}

.search-page-form .hero-actions {
    margin-top: 12px;
}

.result-summary {
    color: var(--muted);
    font-size: 0.86rem;
}

.result-list-spaced {
    margin-top: 16px;
}

.text-muted {
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field {
    display: grid;
    gap: 6px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
}

.field .hint {
    color: var(--muted);
    font-size: 0.75rem;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--paper);
    font-size: 0.92rem;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 3px solid rgba(216, 180, 94, 0.35);
    outline-offset: 1px;
    border-color: var(--accent);
    background: var(--white);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

/* Validasi formulir (dipakai halaman kontak dan alur SPMB) ---------------- */
.form-error-summary {
    margin-bottom: 26px;
    padding: 16px 18px;
    background: #FEF3F2;
    border-left: 3px solid var(--danger);
    border-radius: var(--radius-sm);
    color: #B42318;
}

.form-error-summary strong {
    display: block;
    font-size: 0.95rem;
}

.form-error-summary p {
    margin-top: 5px;
    font-size: 0.84rem;
    line-height: 1.6;
}

.form-error-summary ul {
    margin: 10px 0 0;
    padding-left: 18px;
    font-size: 0.84rem;
    line-height: 1.6;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--danger);
    background: #FFFCFC;
}

/* Baris checkbox persetujuan (formulir SPMB) */
.check-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--ink);
    cursor: pointer;
}

.check-line input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex: none;
    accent-color: var(--forest-900);
}

/* Wizard formulir SPMB (progressive enhancement, tanpa JS = semua langkah) */
.wizard-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    color: var(--muted);
}

.wizard-progress-item {
    position: relative;
    padding-left: 22px;
    font-weight: 500;
}

.wizard-progress-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--line-strong);
    background: var(--white);
}

.wizard-progress-item.active {
    color: var(--forest-900);
}

.wizard-progress-item.active::before {
    border-color: var(--forest-900);
    background: var(--forest-100);
}

.wizard-progress-item.done::before {
    border-color: var(--forest-700);
    background: var(--forest-700);
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 0;
}



.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus {
    outline-color: rgba(180, 35, 24, 0.3);
    border-color: var(--danger);
}

.field-error {
    margin-top: 0;
    color: #B42318;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
}

.file-field {
    display: grid;
    gap: 6px;
}

.file-field .field-error {
    margin-top: 0;
}

.file-box.has-error {
    background: #FEF3F2;
    border-color: var(--danger);
    border-style: solid;
}

.form-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.78rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* SPMB page -------------------------------------------------------------- */
.spmb-hero {
    background: var(--forest-900);
    color: rgba(247, 245, 239, 0.82);
    padding-block: clamp(48px, 7vw, 88px);
}

.spmb-hero h1 {
    color: var(--paper);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    max-width: 16ch;
}

.spmb-hero .lead {
    max-width: 60ch;
    margin-top: 20px;
    color: rgba(247, 245, 239, 0.72);
}

.spmb-hero .hero-actions {
    margin-top: 28px;
}

.spmb-hero .btn-outline {
    border-color: rgba(247, 245, 239, 0.34);
    color: var(--paper);
}

.spmb-hero .btn-outline:hover {
    background: rgba(247, 245, 239, 0.1);
    border-color: rgba(247, 245, 239, 0.6);
    color: var(--paper);
}

.spmb-hero-note {
    margin-top: 18px;
    font-size: 0.84rem;
    color: rgba(247, 245, 239, 0.62);
}

.spmb-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(30px, 5vw, 64px);
    align-items: start;
}

.spmb-nav {
    position: sticky;
    top: 106px;
    display: grid;
    gap: 2px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.spmb-nav a {
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

.spmb-nav a:hover {
    background: var(--forest-50);
    color: var(--forest-900);
}

.spmb-section {
    padding-block: 34px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 110px;
}

.spmb-section:first-child {
    padding-top: 0;
}

.spmb-section:last-child {
    border-bottom: 0;
}

.spmb-section .empty-state {
    margin-top: 18px;
}

.spmb-section > h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    margin-bottom: 14px;
}

.spmb-section > p {
    max-width: 68ch;
    color: var(--muted);
    line-height: 1.75;
}

.steps {
    display: grid;
    gap: 0;
    counter-reset: step;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}

.step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    counter-increment: step;
}

.step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-ink);
}

.step h3 {
    font-size: 1.05rem;
}

.step p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.65;
}

.check-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: var(--accent);
}

.info-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid var(--accent);
    background: var(--paper-2);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.program-card {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.program-card h3 {
    font-size: 1.05rem;
}

.program-card p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.8rem;
}

/* Portal ----------------------------------------------------------------- */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.portal-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.portal-card h2 {
    font-size: 1.35rem;
}

.portal-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.portal-card .btn {
    margin-top: auto;
}

.portal-card.is-primary {
    background: var(--forest-900);
    border-color: var(--forest-900);
    color: rgba(247, 245, 239, 0.8);
}

.portal-card.is-primary h2 {
    color: var(--paper);
}

.portal-card.is-primary p {
    color: rgba(247, 245, 239, 0.68);
}

/* Gallery ---------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-card {
    display: block;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
}

.gallery-card .card-cover {
    aspect-ratio: 4 / 3;
}

.gallery-card-body {
    padding: 16px 18px;
}

.gallery-card-body h3 {
    font-size: 1.05rem;
}

.gallery-card-body p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.78rem;
}

/* Pagination ------------------------------------------------------------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
}

.pagination a,
.pagination span {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

.pagination a:hover {
    border-color: var(--forest-700);
    color: var(--forest-900);
}

.pagination .is-current {
    background: var(--forest-900);
    border-color: var(--forest-900);
    color: var(--paper);
}

/* Search results --------------------------------------------------------- */
.result-list {
    display: grid;
    border-top: 1px solid var(--line);
}

.result-item {
    display: grid;
    gap: 6px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.result-item .kind {
    color: var(--accent-ink);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.result-item h2 {
    font-size: 1.25rem;
}

.result-item h2 a {
    color: var(--forest-950);
    text-decoration: none;
}

.result-item h2 a:hover {
    text-decoration: underline;
}

.result-item p {
    color: var(--muted);
    font-size: 0.88rem;
    max-width: 78ch;
}

.result-item .date {
    color: var(--muted);
    font-size: 0.75rem;
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
    background: var(--forest-950);
    color: rgba(247, 245, 239, 0.7);
    padding-top: clamp(44px, 6vw, 72px);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
    gap: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(36px, 5vw, 56px);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--paper);
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-logo .brand-mark {
    color: var(--paper);
}

.footer-note {
    max-width: 40ch;
    margin-top: 16px;
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(247, 245, 239, 0.58);
}

.footer-contact {
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.65;
    color: rgba(247, 245, 239, 0.66);
}

.footer-contact a {
    color: inherit;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
}

.footer-social a {
    color: var(--accent-soft);
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--paper);
}

.footer-col h2 {
    margin-bottom: 14px;
    color: var(--paper);
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    color: rgba(247, 245, 239, 0.62);
    font-size: 0.84rem;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--paper);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 20px;
    border-top: 1px solid rgba(247, 245, 239, 0.12);
    font-size: 0.76rem;
    color: rgba(247, 245, 239, 0.5);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--paper);
}

/* Toasts ----------------------------------------------------------------- */
.toast-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 140;
    display: grid;
    gap: 10px;
    max-width: min(92vw, 420px);
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 14px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.5;
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-error {
    border-left: 4px solid var(--danger);
}

.toast span {
    flex: 1;
}

.toast-close {
    width: 26px;
    height: 26px;
    flex: none;
    border: 0;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--muted);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
    }

    .header-cta {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hero-media {
        max-width: 760px;
    }

    .hero-stage {
        aspect-ratio: 16 / 10;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .spmb-layout {
        grid-template-columns: 1fr;
    }

    .spmb-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
    }

    .portal-grid,
    .hub-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 36px, var(--container));
    }

    .utility-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding-block: 8px;
    }

    .utility-links {
        flex-wrap: wrap;
        gap: 6px 14px;
        white-space: normal;
    }

    .header-inner {
        min-height: 70px;
        gap: 12px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 0.98rem;
    }

    .brand-sub {
        display: none;
    }

    .header-portal {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero-title {
        font-size: clamp(2.2rem, 11vw, 3.3rem);
        max-width: 18ch;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 44px;
    }

    .hero-media {
        max-width: none;
    }

    .hero-stage {
        aspect-ratio: 4 / 5;
    }

    .hero-slide-caption {
        padding: 64px 20px 22px;
    }

    .hero-slide-caption h2 {
        font-size: 1.35rem;
    }

    .hero-slide-caption p {
        -webkit-line-clamp: 2;
    }

    .hero-controls {
        top: 10px;
        right: 10px;
    }

    .hero-arrow {
        width: 44px;
        height: 44px;
    }

    .hero-spmb {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .hero-spmb-main {
        flex: 0 0 auto;
    }

    .hero-spmb-meta {
        width: 100%;
    }

    .hero-spmb-actions {
        width: 100%;
        margin-left: 0;
    }

    .hero-spmb-actions .btn {
        flex: 1 1 160px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .quick-item {
        min-height: 144px;
    }

    .facts-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .split {
        grid-template-columns: 1fr;
    }

    .post-grid,
    .post-grid.cols-2,
    .portal-grid,
    .hub-grid,
    .gallery-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .section-head h2 {
        max-width: 20ch;
    }

    .agenda-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px;
    }

    .agenda-arrow {
        display: none;
    }

    .agenda-date {
        border-right: 0;
    }

    .agenda-date strong {
        font-size: 1.6rem;
    }

    .spmb-banner-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .search-form {
        flex-wrap: wrap;
    }

    .search-form input {
        flex-basis: calc(100% - 90px);
    }

    .search-form .btn {
        order: 3;
        width: 100%;
    }

    .search-panel {
        padding-top: 10vh;
    }

    .breadcrumbs {
        min-height: 42px;
        font-size: 0.72rem;
    }

    .toast-stack {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
