/* =====================================================================
   SMP IT AL-KHOIRIYYAH — DESIGN SYSTEM
   Konsep: Modern Islamic Educational Premium
   =====================================================================
   Palet warna terinspirasi dari warna hijau zamrud khas arsitektur
   Islam klasik (mihrab, ubin masjid) dipadukan aksen emas manuskrip,
   di atas latar krem hangat. Motif geometris 8 sudut (khas ornamen
   Islam) dipakai sebagai elemen pembeda, bukan foto masjid klise.
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
    /* Warna utama */
    --color-emerald-900: #0B3D2E;
    --color-emerald-700: #145C43;
    --color-emerald-600: #1B7A5A;
    --color-emerald-100: #DCEAE3;
    --color-gold-500: #C7962C;
    --color-gold-300: #E3C878;
    --color-gold-100: #F5E9C9;
    --color-cream-50: #FBF8F1;
    --color-sand-100: #F1EADA;
    --color-ink-900: #1C2321;
    --color-ink-600: #4C554F;
    --color-ink-300: #8A928C;
    --color-white: #FFFFFF;

    /* Tipografi */
    --font-display: "Fraunces", "Georgia", serif;
    --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;

    /* Radius (tidak seragam — dibedakan sesuai peran elemen) */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    /* Bayangan */
    --shadow-soft: 0 16px 40px -18px rgba(11, 61, 46, 0.35);
    --shadow-card: 0 10px 26px -14px rgba(28, 35, 33, 0.22);

    /* Transisi */
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- 2. BASE & TYPOGRAPHY ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    font-family: var(--font-body);
    color: var(--color-ink-900);
    background-color: var(--color-cream-50);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
    font-family: var(--font-display);
    color: var(--color-emerald-900);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

h1, .h1-custom {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
}

h2, .h2-custom {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

h3, .h3-custom {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

h4, .h4-custom {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    font-weight: 600;
}

p, .text-body {
    color: var(--color-ink-600);
    max-width: 62ch;
}

.lead-custom {
    font-size: 1.15rem;
    color: var(--color-ink-600);
    max-width: 58ch;
}

a {
    color: var(--color-emerald-700);
    text-decoration: none;
}

/* Label kecil di atas judul — sentence case, bukan huruf kapital semua */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-gold-500);
    margin-bottom: 0.6rem;
}

.section-kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--color-gold-500);
    display: inline-block;
}

/* Motif geometris — pembatas antar seksi (elemen signature) */
.section-divider {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0 2.5rem;
    opacity: 0.85;
}

.section-divider svg { width: 64px; height: 20px; }

/* ---------- 3. BUTTONS ---------- */
.btn-brand {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.75rem 1.7rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    transition: transform 0.25s var(--ease-standard), box-shadow 0.25s var(--ease-standard), background-color 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-brand-primary {
    background-color: var(--color-emerald-900);
    color: var(--color-white);
}
.btn-brand-primary:hover {
    background-color: var(--color-emerald-700);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-brand-gold {
    background-color: var(--color-gold-500);
    color: var(--color-emerald-900);
}
.btn-brand-gold:hover {
    background-color: var(--color-gold-300);
    color: var(--color-emerald-900);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -16px rgba(199, 150, 44, 0.55);
}

.btn-brand-outline {
    background-color: transparent;
    border-color: var(--color-emerald-900);
    color: var(--color-emerald-900);
}
.btn-brand-outline:hover {
    background-color: var(--color-emerald-900);
    color: var(--color-white);
}

.btn-brand-outline-light {
    background-color: transparent;
    border-color: rgba(255,255,255,0.55);
    color: var(--color-white);
}
.btn-brand-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-emerald-900);
}

/* ---------- 4. BADGE ---------- */
.badge-brand {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-emerald-100);
    color: var(--color-emerald-900);
    letter-spacing: 0.01em;
}

.badge-brand-gold {
    background-color: var(--color-gold-100);
    color: #7A5A0F;
}

/* ---------- 5. CARD ---------- */
/* Radius sengaja tidak seragam antar tipe kartu agar tidak terkesan "kit" generik */
.card-brand {
    background: var(--color-white);
    border: 1px solid rgba(11, 61, 46, 0.08);
    border-radius: var(--radius-md);
    padding: 1.9rem 1.6rem;
    transition: transform 0.3s var(--ease-standard), box-shadow 0.3s var(--ease-standard);
    height: 100%;
}
.card-brand:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.card-brand__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm) var(--radius-md) var(--radius-sm) var(--radius-md);
    background: var(--color-emerald-900);
    color: var(--color-gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}

/* Kartu profil guru — foto dengan radius asimetris */
.card-person {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 100%;
}
.card-person__photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 0 var(--radius-lg) 0 0;
}
.card-person__photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s var(--ease-standard);
}
.card-person:hover .card-person__photo img { transform: scale(1.05); }
.card-person__body { padding: 1.1rem 1.2rem 1.4rem; }

/* Kartu berita */
.card-news {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-news__thumb { aspect-ratio: 16/10; overflow: hidden; }
.card-news__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-standard); }
.card-news:hover .card-news__thumb img { transform: scale(1.06); }
.card-news__body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-news__date { font-size: 0.85rem; color: var(--color-gold-500); font-weight: 600; margin-bottom: 0.4rem; }

/* ---------- 6. NAVBAR ---------- */
.navbar-brand-custom {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    transition: background-color 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard), padding 0.35s var(--ease-standard);
    background-color: transparent;
}

.navbar-brand-custom.is-scrolled {
    background-color: rgba(251, 248, 241, 0.96);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px -18px rgba(11, 61, 46, 0.4);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.navbar-brand-custom .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--color-emerald-900) !important;
}
.navbar-brand-custom .navbar-brand img { height: 42px; width: 42px; object-fit: contain; }
.navbar-brand-custom .navbar-brand small {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.72rem;
    color: var(--color-ink-600);
}

.navbar-brand-custom .nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--color-ink-900) !important;
    padding: 0.5rem 0.95rem !important;
    position: relative;
}
.navbar-brand-custom .nav-link::after {
    content: "";
    position: absolute;
    left: 0.95rem; right: 0.95rem; bottom: 0.3rem;
    height: 2px;
    background: var(--color-gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-standard);
}
.navbar-brand-custom .nav-link:hover::after,
.navbar-brand-custom .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-brand-custom .nav-link.active { color: var(--color-emerald-900) !important; }

.nav-cta { margin-left: 0.5rem; }

/* ---------- 7. FOOTER ---------- */
.footer-brand {
    background-color: var(--color-emerald-900);
    color: rgba(255,255,255,0.82);
    position: relative;
    padding-top: 4.5rem;
}
.footer-brand::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: repeating-linear-gradient(135deg, var(--color-gold-500) 0 10px, transparent 10px 20px);
    opacity: 0.5;
}
.footer-brand h5 {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}
.footer-brand a { color: rgba(255,255,255,0.78); }
.footer-brand a:hover { color: var(--color-gold-300); }
.footer-brand .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
    margin-top: 3rem;
    padding: 1.4rem 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    margin-right: 0.5rem;
    transition: all 0.25s var(--ease-standard);
}
.footer-social a:hover {
    background-color: var(--color-gold-500);
    border-color: var(--color-gold-500);
    color: var(--color-emerald-900);
}

/* ---------- 8. FORM ---------- */
.form-brand label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--color-emerald-900);
    margin-bottom: 0.4rem;
}
.form-brand .form-control,
.form-brand .form-select {
    border: 1.5px solid rgba(11, 61, 46, 0.16);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.95rem;
    font-family: var(--font-body);
    background-color: var(--color-white);
}
.form-brand .form-control:focus,
.form-brand .form-select:focus {
    border-color: var(--color-emerald-600);
    box-shadow: 0 0 0 0.2rem rgba(27, 122, 90, 0.15);
}
.form-brand .form-text { color: var(--color-ink-300); }

/* ---------- 9. MODAL ---------- */
.modal-brand .modal-content {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.modal-brand .modal-header {
    background-color: var(--color-emerald-900);
    color: var(--color-white);
    border: none;
    padding: 1.3rem 1.6rem;
}
.modal-brand .modal-header .btn-close { filter: invert(1); }
.modal-brand .modal-title { font-family: var(--font-display); font-weight: 600; }
.modal-brand .modal-body { padding: 1.6rem; color: var(--color-ink-600); }

/* ---------- 10. ALERT ---------- */
.alert-brand {
    border: none;
    border-left: 4px solid var(--color-emerald-600);
    border-radius: var(--radius-sm);
    background-color: var(--color-emerald-100);
    color: var(--color-emerald-900);
    padding: 1rem 1.2rem;
}
.alert-brand.alert-brand-gold {
    border-left-color: var(--color-gold-500);
    background-color: var(--color-gold-100);
    color: #7A5A0F;
}

/* ---------- 11. BREADCRUMB ---------- */
.breadcrumb-brand {
    --bs-breadcrumb-divider: '/';
    background: transparent;
    padding: 0;
    font-size: 0.92rem;
}
.breadcrumb-brand .breadcrumb-item a { color: rgba(255,255,255,0.8); font-weight: 500; }
.breadcrumb-brand .breadcrumb-item.active { color: var(--color-gold-300); }

/* ---------- 12. PAGINATION ---------- */
.pagination-brand .page-link {
    border: none;
    color: var(--color-emerald-900);
    font-weight: 600;
    margin: 0 0.2rem;
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.95rem;
}
.pagination-brand .page-item.active .page-link {
    background-color: var(--color-emerald-900);
    color: var(--color-white);
}
.pagination-brand .page-link:hover { background-color: var(--color-sand-100); }

/* ---------- 13. LAYOUT UTILITIES / SECTIONS ---------- */
.section-pad { padding: 5.5rem 0; }
@media (max-width: 767.98px) { .section-pad { padding: 3.5rem 0; } }

.section-alt { background-color: var(--color-sand-100); }

.page-hero {
    background-color: var(--color-emerald-900);
    color: var(--color-white);
    padding: 7.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
}

/* ---------- HERO (BERANDA) ---------- */
.hero-home {
    position: relative;
    background: linear-gradient(180deg, #0E4634 0%, var(--color-emerald-900) 65%);
    color: var(--color-white);
    overflow: hidden;
    padding: 8.5rem 0 5rem;
}
.hero-home__pattern {
    position: absolute;
    top: -10%; right: -8%;
    width: 620px; height: 620px;
    opacity: 0.14;
    pointer-events: none;
}
.hero-home .badge-brand-gold { margin-bottom: 1.3rem; }
.hero-home h1 { color: var(--color-white); }
.hero-home p.lead-custom { color: rgba(255,255,255,0.82); }

.stat-block { text-align: left; }
.stat-block__num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.7rem);
    color: var(--color-gold-300);
    font-weight: 600;
    line-height: 1;
}
.stat-block__label { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-top: 0.3rem; }

/* ---------- BACK TO TOP ---------- */
.btt-button {
    position: fixed;
    right: 1.4rem; bottom: 1.4rem;
    width: 46px; height: 46px;
    border-radius: 50%;
    background-color: var(--color-emerald-900);
    color: var(--color-gold-300);
    display: flex; align-items: center; justify-content: center;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s var(--ease-standard);
    z-index: 1030;
    box-shadow: var(--shadow-soft);
}
.btt-button.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.btt-button:hover { background-color: var(--color-emerald-700); }

/* ---------- REVEAL ON SCROLL (halus, sekali muncul) ---------- */
.reveal-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- WHATSAPP FLOAT (khas kontak sekolah) ---------- */
.wa-float {
    position: fixed;
    left: 1.4rem; bottom: 1.4rem;
    z-index: 1030;
    background-color: #1B7A5A;
    color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
}
.wa-float:hover { background-color: var(--color-emerald-700); color: #fff; }

/* =====================================================================
   SPRINT 3 — HOMEPAGE PREMIUM
   ===================================================================== */

/* ---------- HERO VIDEO ---------- */
.hero-video {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-white);
    background-color: var(--color-emerald-900); /* warna fallback saat media belum dimuat */
}

.hero-video__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video__bg,
.hero-video__fallback-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradient overlay: gelap di bawah (agar teks CTA terbaca), sedikit hijau di atas (branding) */
.hero-video__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,61,46,0.72) 0%, rgba(11,61,46,0.55) 45%, rgba(8,26,20,0.88) 100%);
    z-index: 1;
}

.hero-video__pattern {
    position: absolute;
    top: -8%; right: -6%;
    width: 560px; height: 560px;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.hero-video__content {
    position: relative;
    z-index: 2;
    padding: 7.5rem 0 5rem;
}

.hero-video__content .badge-brand-gold { margin-bottom: 1.3rem; }
.hero-video__eyebrow {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-gold-300);
    font-size: 0.98rem;
    margin-bottom: 0.6rem;
}
.hero-video__content h1 { color: var(--color-white); max-width: 16ch; }
.hero-video__content p.lead-custom { color: rgba(255,255,255,0.86); }

.hero-scroll-cue {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.75);
    font-size: 1.4rem;
    animation: heroScrollCue 2.2s ease-in-out infinite;
}
@keyframes heroScrollCue {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-scroll-cue { animation: none; }
}

/* ---------- QUICK INFORMATION BAR (mengambang di atas hero) ---------- */
.quick-info {
    position: relative;
    z-index: 3;
    margin-top: -4.5rem;
}
.quick-info__card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1.6rem 1rem;
}
.quick-info__item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.6rem 1rem;
}
.quick-info__icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: var(--radius-sm) var(--radius-md) var(--radius-sm) var(--radius-md);
    background: var(--color-emerald-100);
    color: var(--color-emerald-900);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.quick-info__label { font-size: 0.8rem; color: var(--color-ink-300); margin-bottom: 0.1rem; }
.quick-info__value { font-weight: 700; color: var(--color-emerald-900); font-size: 0.95rem; }

@media (max-width: 767.98px) {
    .quick-info { margin-top: -2.5rem; }
}

/* ---------- MENGAPA MEMILIH KAMI ---------- */
.why-item {
    display: flex;
    gap: 1rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid rgba(11,61,46,0.09);
}
.why-item:last-child { border-bottom: none; }
.why-item__icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-emerald-900);
    color: var(--color-gold-300);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}

/* ---------- KEGIATAN SEKOLAH (timeline ringkas) ---------- */
.agenda-card {
    display: flex;
    gap: 1.1rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 1.2rem;
    height: 100%;
}
.agenda-card__date {
    flex-shrink: 0;
    width: 62px; height: 62px;
    border-radius: var(--radius-sm) var(--radius-md) var(--radius-sm) var(--radius-md);
    background: var(--color-emerald-900);
    color: var(--color-white);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    line-height: 1;
}
.agenda-card__date .day { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.agenda-card__date .month { font-size: 0.72rem; color: var(--color-gold-300); text-transform: uppercase; margin-top: 2px; }

/* ---------- TESTIMONIAL ---------- */
.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 1.8rem;
    height: 100%;
}
.testimonial-card__quote {
    color: var(--color-ink-600);
    font-style: italic;
    margin-bottom: 1.3rem;
}
.testimonial-card__quote i.bi-quote { color: var(--color-gold-500); font-size: 1.4rem; }
.testimonial-card__person { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-card__avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--color-emerald-100);
    color: var(--color-emerald-900);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-card__name { font-weight: 700; color: var(--color-emerald-900); font-size: 0.95rem; }
.testimonial-card__role { font-size: 0.82rem; color: var(--color-ink-300); }

/* ---------- LOKASI / MAPS ---------- */
.map-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* ---------- CARD ANIMATION (hover halus, konsisten dgn .card-brand) ---------- */
.hover-lift {
    transition: transform 0.3s var(--ease-standard), box-shadow 0.3s var(--ease-standard);
}
.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }


/* =========================================================
   SPRINT 5 — GALLERY / VIDEO MEDIA
   ========================================================= */
.gallery-masonry{column-count:4;column-gap:1rem}
.gallery-item{display:block;position:relative;overflow:hidden;border-radius:16px;margin:0 0 1rem;break-inside:avoid;background:#0b3d2e;box-shadow:0 12px 30px rgba(11,61,46,.10)}
.gallery-item img{display:block;width:100%;height:auto;transition:transform .45s ease}
.gallery-item:hover img{transform:scale(1.045)}
.gallery-hover{position:absolute;inset:0;display:grid;place-items:center;background:rgba(11,61,46,.30);opacity:0;transition:opacity .25s;color:#fff;font-size:1.5rem}
.gallery-item:hover .gallery-hover{opacity:1}
.gallery-caption{position:absolute;left:0;right:0;bottom:0;padding:.8rem 1rem;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.78));font-size:.85rem}
.gallery-album-card img{width:100%;height:240px;object-fit:cover;transition:transform .4s ease}
.gallery-album-card:hover img{transform:scale(1.035)}
.gallery-placeholder,.video-placeholder{height:240px;display:grid;place-items:center;background:linear-gradient(135deg,#0b3d2e,#164f3d);color:#e3c878;font-size:3rem}
.video-placeholder{height:100%;font-size:3rem}
.video-card video{width:100%;height:100%;object-fit:cover}
.video-open{position:relative;background:#0b3d2e;height:100%}
.video-open img{width:100%;height:100%;object-fit:cover}
.play-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:rgba(11,61,46,.92);color:#e3c878;font-size:1.7rem;box-shadow:0 10px 28px rgba(0,0,0,.25)}
.video-open:hover .play-badge{transform:translate(-50%,-50%) scale(1.08)}
@media(max-width:1199.98px){.gallery-masonry{column-count:3}}
@media(max-width:767.98px){.gallery-masonry{column-count:2}.gallery-album-card img{height:210px}}
@media(max-width:480px){.gallery-masonry{column-count:1}}

/* Sprint 6 SPMB */
.status-timeline{position:relative}.status-timeline:before{content:"";position:absolute;left:11px;top:12px;bottom:12px;width:2px;background:#dee2e6}.status-step{position:relative;display:flex;gap:16px;padding:0 0 24px}.status-step:last-child{padding-bottom:0}.status-dot{width:24px;height:24px;border-radius:50%;background:#dee2e6;border:5px solid #fff;box-shadow:0 0 0 1px #dee2e6;z-index:1;flex:0 0 24px}.status-step.is-done .status-dot{background:#0B3D2E;box-shadow:0 0 0 1px #0B3D2E}.spmb-stat{border-radius:18px;padding:18px;background:#fff;border:1px solid rgba(0,0,0,.06)}


/* SPMB status page: cegah kartu mengambil tinggi halaman dan rapikan alur footer. */
.spmb-status-page .spmb-status-card,
.spmb-status-page .spmb-result-card,
.spmb-status-page .spmb-info-card { height: auto; }
.spmb-status-page .spmb-result-card { padding-bottom: 2rem; }
.spmb-status-page .spmb-main-status { padding: .55rem .85rem; }
.spmb-status-page .status-timeline { max-width: 760px; }
.spmb-status-page .status-step { min-height: 54px; }
.spmb-status-page .status-step.is-current strong { color: var(--color-emerald-900); }
.news-placeholder { width:100%; height:100%; min-height:180px; display:grid; place-items:center; background:linear-gradient(135deg,#0b3d2e,#164f3d); color:#e3c878; font-size:2.5rem; }
.rich-content p:last-child { margin-bottom: 0; }
