:root {
  --primary-start: #005d33; /* Deep Kemenag Green */
  --primary-end: #008e48;   /* Secondary Kemenag Green */
  --accent-gold: #f2a900;   /* Kemenag Gold */
  --accent-gold-hover: #d19200;
  --accent-purple: #f2a900;
}
.gradient-bg { background: linear-gradient(135deg, var(--primary-start), var(--primary-end)); }
.top-bar { background-color: rgba(15, 23, 42, 0.95); border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.8rem; color: #cbd5e1; }
.top-bar a:hover { color: #ffffff; }
.main-nav .school-title { color: #ffffff; font-weight: 850; font-size: 1.25rem; }
.main-nav .school-tagline { color: #94a3b8; font-size: 0.75rem; }
.main-nav .btn-masuk { background-color: var(--primary-start); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.1); }
.main-nav .btn-masuk:hover { background-color: var(--primary-end); }
.main-nav .btn-menu { background-color: #ffffff; color: var(--primary-start); }
.hero-section { background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15), transparent 45%), linear-gradient(135deg, #1e1b4b, #0f172a); color: #ffffff; }
.hero-section .pre-title { color: #818cf8; }
.hero-section .main-title { font-size: 3.5rem; font-weight: 900; }
.hero-section .search-button { background-color: var(--primary-start); }
.hero-section .quote { color: #94a3b8; }
.info-card-item .icon-wrapper { border-radius: 1rem; padding: 0.75rem; margin-right: 1rem; }
.feature-card { background-color: #ffffff; padding: 1.25rem; border-radius: 0.75rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06); text-align: center; transition: all .3s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05); }
.feature-card .icon-container { font-size: 2.5rem; color: var(--primary-start); margin-bottom: 1.5rem; }
.post-card { background-color: #ffffff; border: 1px solid #e5e7eb; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05); transition: all .3s ease-in-out; display: flex; flex-direction: column; min-height: 400px; }
.post-card .p-6 { display: flex; flex-direction: column; flex-grow: 1; }
.post-card .post-excerpt { flex-grow: 1; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.post-card .category-tag { position: absolute; top: 1rem; left: 1rem; background-color: var(--primary-start); color: #ffffff; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.post-card .post-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: #6b7280; margin-bottom: 0.5rem; }
.post-card .post-title { font-size: 1.25rem; font-weight: 700; color: #1f2937; margin-bottom: 0.75rem; }
.post-card .post-title a:hover { color: var(--primary-start); }
.post-card .post-excerpt { color: #4b5567; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.post-card .read-more-link { font-weight: 600; color: var(--primary-end); transition: all 0.2s; }

/* ==========================================================================
   DESAIN KARTU ARTIKEL BARU (Minimalis)
   ========================================================================== */
.post-card-new {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.05), 0 2px 4px -1px rgba(0,0,0,.03);
    transition: all 0.3s ease-in-out;
    border: 1px solid #f3f4f6;
    overflow: hidden;
}
.post-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
}
.post-card-image-container {
    position: relative;
}
/* ==========================================================================
   DESAIN KARTU ARTIKEL BARU (Minimalis)
   ========================================================================== */
/* ... kode sebelumnya ... */

.post-card-image-container { position: relative; }
.post-image-ratio { /* class baru untuk artikel */
    display: block;
    width: 100%;
    padding-bottom: 56.25%; /* Rasio 16:9 (250/400 = 0.625; 0.625 * 100% = 62.5% padding-top/bottom) -- saya pakai 56.25% untuk standar 16:9 */
    position: relative;
    overflow: hidden;
}
.post-image-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar akan memenuhi kotak dan terpotong jika perlu */
    object-position: center; /* Fokus di tengah gambar */
}

.post-card-category {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: var(--primary-start);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}
.post-card-content {
    padding: 1.5rem;
}
.post-card-meta {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}
.post-card-meta i {
    margin-right: 0.5rem;
}
.post-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.post-card-title a {
    text-decoration: none;
    color: inherit;
}
.post-card-title a:hover {
    color: var(--primary-start);
}
.post-card-excerpt {
    color: #4b5567;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.post-card-read-more {
    font-weight: 600;
    color: var(--primary-end);
    text-decoration: none;
    transition: all 0.2s;
}
.post-card-read-more:hover {
    color: var(--primary-start);
}

/* ==========================================================================
   SECTION GALERI FOTO
   ========================================================================== */
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.75rem;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* ==========================================================================
   SECTION GALERI FOTO
   ========================================================================== */
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.gallery-image-wrapper { /* CONTAINER BARU UNTUK GAMBAR GALERI */
    display: block;
    width: 100%;
    padding-bottom: 100%; /* Rasio 1:1 (persegi) */
    position: relative;
    overflow: hidden;
}
.gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar akan memenuhi kotak dan terpotong jika perlu */
    object-position: center; /* Fokus di tengah gambar */
    transition: transform .4s ease;
}
.gallery-item:hover .gallery-image-wrapper img { /* Efek hover pindah ke container baru */
    transform: scale(1.1);
}
/* ... kode setelahnya ... */
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: white;
    padding: 1rem;
    opacity: 0;
    transition: opacity .4s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-title {
    font-weight: 700;
    transform: translateY(20px);
    transition: transform .4s ease;
}
.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #1f2937; /* bg-gray-800 */
    color: #d1d5db; /* text-gray-300 */
}
.footer-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer-links li a {
    color: #9ca3af; /* text-gray-400 */
    transition: color 0.3s ease;
    text-decoration: none;
}
.footer-links li a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-copyright {
    border-top: 1px solid #374151; /* border-gray-700 */
    color: #9ca3af; /* text-gray-400 */
}

/* ==========================================================================
   SECTION GALERI FOTO (Desain Baru)
   ========================================================================== */
.gallery-promo-card {
    position: relative;
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1577896851231-70ef18881754?q=80&w=2070'); /* Gambar placeholder, bisa diganti */
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}
.gallery-promo-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.gallery-promo-card .promo-text {
    position: relative;
    z-index: 1;
}
.gallery-promo-card .promo-text span {
    font-weight: 600;
    opacity: 0.8;
}
.gallery-promo-card .promo-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.gallery-album-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.05);
    transition: all .3s ease;
    border: 1px solid #f3f4f6;
}
.gallery-album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}
.gallery-album-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .3s ease;
}
.gallery-album-card a:hover img {
    transform: scale(1.05);
}
.gallery-album-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-end);
    margin-top: 0.5rem;
    text-decoration: none;
}
.gallery-album-link:hover {
    color: var(--primary-start);
}

/* ==========================================================================
   BACKGROUND SECTION GALERI
   ========================================================================== */
.gallery-section-wrapper {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
}

/* ==========================================================================
   SECTION PARTNER KAMI
   ========================================================================== */
.partner-logos-container {
    background-color: #eef2ff;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 10;
}

.partner-logo {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.75rem; /* rounded-xl */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px; /* Menyamakan tinggi semua kotak logo */
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    /* Filter grayscale untuk membuat logo seragam, dan berwarna saat di-hover */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================================================
   MODERN NAVIGATION & MOBILE MENU
   ========================================================================== */

/* Backdrop overlay */
.backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(15, 23, 42, 0.65);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.backdrop.backdrop-visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile: nav is a fixed off-screen sidebar */
#mobileNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    z-index: 999;
    background: #ffffff;
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e2e8f0;
}

/* When menu is open, slide nav in */
#mobileNav.nav-open {
    transform: translateX(0);
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.2);
}

.menu {
    width: 100%;
    overflow: visible;
    flex: 1;
    padding-bottom: 2rem;
}

.menu-icon.rotated {
    transform: rotate(-180deg);
}

.mobile-menu-header {
    background: rgba(15, 23, 42, 0.95);
}

.mobile-menu-header .text-white {
    color: #f8fafc;
}

.menu-link {
    display: block;
    padding: 0.85rem 1rem;
    color: #111827;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.menu-link:hover {
    background-color: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

.menu-item.has-submenu > .menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-dropdown {
    display: none;
    padding-left: 1rem;
    background-color: #f8fafc;
}

.menu-dropdown.is-open {
    display: block;
}

.menu-dropdown li a {
    padding: 0.85rem 1.25rem;
    color: #334155;
}

.menu-dropdown li a:hover {
    background-color: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}

@media (min-width: 1024px) {
    .backdrop,
    .mobile-menu-header {
        display: none;
    }

    /* Reset nav from mobile sidebar to normal flow on desktop */
    #mobileNav {
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
        transform: none;
        overflow: visible;
        box-shadow: none;
        display: block;
        flex-direction: unset;
        border-right: none;
    }

    .menu {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
        background: transparent;
        box-shadow: none;
        border-right: none;
        overflow: visible !important;
    }

    .menu-item {
        position: relative;
    }

    .menu-link {
        border-bottom: none;
        padding: 0.75rem 1rem;
        color: #ffffff;
        min-width: auto;
    }

    .menu-link:hover {
        background-color: rgba(255,255,255,0.08);
        color: #ffffff;
    }

    .menu-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: #fff;
        border-radius: 0.75rem;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        border: 1px solid rgba(148, 163, 184, 0.14);
        padding: 0.5rem 0;
        z-index: 40;
    }

    .has-submenu:hover > .menu-dropdown {
        display: block;
    }

    .menu-dropdown li a {
        padding: 0.8rem 1rem;
        color: #334155;
        border-bottom: none;
    }

    .menu-dropdown li a:hover {
        background-color: rgba(37, 99, 235, 0.08);
        color: #2563eb;
    }

    .menu-icon {
        transition: transform 0.2s ease;
    }

    .has-submenu:hover > .menu-link .menu-icon {
        transform: rotate(-180deg);
    }
}


/* ==========================================================================
   MODERN UI ENHANCEMENTS
   ========================================================================== */

:root {
    color-scheme: dark;
}

body {
    background: linear-gradient(180deg, #f4f7f5 0%, #e9efe9 100%);
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

.site-header {
    position: relative;
    z-index: 90;
}

.main-nav {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.top-bar {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.main-nav .school-title {
    color: #0f172a;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.main-nav .school-tagline {
    color: #64748b;
    font-size: 0.75rem;
}

.btn-masuk {
    background: var(--accent-gold);
    color: #ffffff;
    border: 1px solid var(--accent-gold-hover);
}

.btn-masuk:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-1px);
}

.btn-menu,
.menu-button {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn-menu:hover,
.menu-button:hover {
    background: #e2e8f0;
}

.menu-button .fa {
    font-size: 1.05rem;
}

.menu {
    background: #ffffff;
}

.menu-link {
    color: #334155;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.menu-link:hover {
    color: var(--primary-start);
}

.menu-dropdown {
    border-color: #f1f5f9;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #004825 0%, #006837 60%, #052e16 100%);
    border-bottom: 1px solid rgba(0, 72, 37, 0.2);
    padding-top: 0.75rem !important;
    padding-bottom: 1.25rem !important;
}

.hero-student-img {
    max-width: 240px !important;
    max-height: 240px !important;
    object-fit: contain !important;
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 1rem !important;
        padding-bottom: 1.75rem !important;
    }
    .hero-student-img {
        max-width: 420px !important;
        max-height: 420px !important;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(242, 169, 0, 0.05), transparent 45%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-section .main-title {
    color: #ffffff;
    font-size: clamp(1.65rem, 3.2vw, 2.45rem);
    line-height: 1.15;
}

.hero-section .pre-title {
    color: var(--accent-gold);
}

.hero-section p,
.hero-section .quote {
    color: #e2e8f0;
}

.hero-section input {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15,23,42,0.03);
}

.hero-section input:focus {
    outline: none;
    border-color: var(--primary-start);
    box-shadow: 0 0 0 4px rgba(0, 93, 51, 0.15);
}

.hero-section .search-button {
    background: var(--accent-gold);
}

/* ==========================================================================
   HERO BANNER SLIDER
   ========================================================================== */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 336px;
    overflow: hidden;
    background: #004825;
}

@media (min-width: 768px) {
    .hero-slider-wrapper { height: 400px; }
}

@media (min-width: 1024px) {
    .hero-slider-wrapper { height: 464px; }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 20, 10, 0.88) 0%,
        rgba(0, 40, 20, 0.55) 40%,
        rgba(0, 60, 30, 0.25) 75%,
        rgba(0, 0, 0, 0.10) 100%
    );
}

.hero-slide-content {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.hero-slide-badge {
    display: inline-block;
    background: rgba(242, 169, 0, 0.18);
    border: 1px solid rgba(242, 169, 0, 0.45);
    color: #f2a900;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    backdrop-filter: blur(4px);
}

.hero-slide-title {
    font-size: clamp(1.25rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.18;
    max-width: 720px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    letter-spacing: -0.015em;
}

.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-slide-btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #005d33, #008e48);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 93, 51, 0.45);
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.hero-slide-btn-primary:hover {
    background: linear-gradient(135deg, #006e3c, #00a857);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 93, 51, 0.55);
    color: #ffffff;
}

.hero-slide-btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(242, 169, 0, 0.15);
    border: 1.5px solid rgba(242, 169, 0, 0.7);
    color: #f2a900;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.68rem 1.4rem;
    border-radius: 9999px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

.hero-slide-btn-secondary:hover {
    background: #f2a900;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242, 169, 0, 0.4);
}

/* Prev / Next Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}

.hero-slider-arrow:hover {
    background: rgba(242, 169, 0, 0.8);
    border-color: #f2a900;
    transform: translateY(-50%) scale(1.08);
}

.hero-slider-prev { left: 1.25rem; }
.hero-slider-next { right: 1.25rem; }

@media (min-width: 1024px) {
    .hero-slider-prev { left: 2rem; }
    .hero-slider-next { right: 2rem; }
    .hero-slider-arrow { width: 3.25rem; height: 3.25rem; font-size: 1rem; }
}

/* Dot Navigation */
.hero-slider-dots {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    background: #f2a900;
    width: 26px;
}

/* Progress Bar */
.hero-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 25;
}

.hero-slider-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #f2a900, #ffc433);
    width: 0%;
}

/* Search Bar Overlay — kiri bawah slide */
.hero-slider-search {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    padding: 0 1.5rem;
    z-index: 20;
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 1024px) {
    .hero-slider-search { padding: 0 2.5rem; }
}

.hero-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 100%;
    max-width: 420px;
}

.hero-search-form:focus-within {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(242, 169, 0, 0.6);
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.hero-search-btn {
    background: #f2a900;
    color: #0f172a;
    border: none;
    border-radius: 9999px;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background: #d19200;
    transform: scale(1.05);
}

/* ==========================================================================
   NEWS TICKER / RUNNING TEXT STRIP
   ========================================================================== */
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.news-ticker-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #003d22 0%, #004f2c 40%, #003d22 100%);
    border-bottom: 2px solid rgba(242, 169, 0, 0.35);
    overflow: hidden;
    height: 2.6rem;
    position: relative;
    z-index: 10;
}

.news-ticker-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #f2a900, #ffc433);
    color: #0f172a;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 1rem;
    height: 100%;
    position: relative;
    box-shadow: 4px 0 12px rgba(242, 169, 0, 0.3);
}

.news-ticker-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 10px solid #ffc433;
}

.news-ticker-label i {
    font-size: 0.7rem;
    animation: ticker-pulse 2s infinite;
}

@keyframes ticker-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.news-ticker-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding-left: 1.5rem;
    mask-image: linear-gradient(to right, transparent 0%, black 2%, black 96%, transparent 100%);
}

.news-ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
    will-change: transform;
}

.news-ticker-track:hover {
    animation-play-state: paused;
}

.news-ticker-item {
    display: inline-flex;
    align-items: center;
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0 1.5rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.news-ticker-item i {
    font-size: 0.7rem;
}

.news-ticker-sep {
    color: rgba(242, 169, 0, 0.55);
    font-size: 0.6rem;
    padding: 0 0.5rem;
    flex-shrink: 0;
}

.news-ticker-toggle {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    margin: 0 0.6rem;
    cursor: pointer;
    font-size: 0.6rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.news-ticker-toggle:hover {
    background: rgba(242, 169, 0, 0.2);
    color: #f2a900;
    border-color: rgba(242, 169, 0, 0.4);
}

.info-card-item {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(148,163,184,0.18);
    border-radius: 1.25rem;
    padding: 1.15rem;
    transition: transform .3s ease, box-shadow .3s ease;
}

.info-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.info-card-item .icon-wrapper {
    min-width: 3.25rem;
    min-height: 3.25rem;
    display: grid;
    place-items: center;
}

.feature-card {
    min-height: 190px;
}

.post-card-new {
    background-color: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 18px 50px rgba(15,23,42,0.08);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.post-card-new:hover {
    transform: translateY(-6px);
}

.post-card-image-container {
    position: relative;
}

.post-image-ratio {
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
}

.post-image-ratio img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.post-card-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-start);
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.post-card-content {
    padding: 1.25rem;
}

.post-card-title a {
    text-decoration: none;
}

.post-card-title a:hover {
    color: var(--primary-start);
}

.post-card-meta {
    color: #6b7280;
}

.partner-logos-container {
    background-color: #f8fafc;
}

.partner-logo {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.gallery-promo-card {
    min-height: 250px;
}

.gallery-album-card {
    border-radius: 1rem;
}

.gallery-album-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
}

@media (max-width: 768px) {
    .hero-section .main-title {
        font-size: 2.75rem;
    }
    .gallery-promo-card {
        min-height: 200px;
    }
}

@media (max-width: 640px) {
    .top-bar {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .main-nav .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Dropdown Animation & Rotate Arrow */
@media (min-width: 1024px) {
    .menu-item.has-submenu:hover > .menu-dropdown {
        display: block !important;
        animation: navFadeSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}
@keyframes navFadeSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.menu-item:hover > .menu-link .menu-icon {
    transform: rotate(-180deg);
}

/* Modern Card Transitions */
.info-card-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-card-new {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-album-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-dropdown.is-open {
    display: block !important;
}

/* ==========================================================================
   KEMENAG UTILITY CLASSES
   ========================================================================== */
.text-kemenag-green { color: #005d33 !important; }
.text-kemenag-gold { color: #f2a900 !important; }
.bg-kemenag-green { background-color: #005d33 !important; }
.bg-kemenag-gold { background-color: #f2a900 !important; }
.hover\:bg-kemenag-gold-dark:hover { background-color: #d19200 !important; }
.hover\:bg-kemenag-green-dark:hover { background-color: #004825 !important; }
.hover\:text-kemenag-gold:hover { color: #f2a900 !important; }
.hover\:text-kemenag-green:hover { color: #005d33 !important; }
.border-kemenag-green { border-color: #005d33 !important; }
.border-kemenag-gold { border-color: #f2a900 !important; }

/* ==========================================================================
   GLOBAL CONTAINER OVERRIDE (Mencegah tampilan terlalu melebar ke samping)
   ========================================================================== */
.container {
    width: 100% !important;
    max-width: 1360px !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }
}

/* ==========================================================================
   THEME STYLING OVERRIDES & HARMONIZATION (Untuk Halaman Internal)
   ========================================================================== */
:root {
  --primary-color: #005d33;   /* Kemenag Green */
  --secondary-color: #008e48; /* Secondary Kemenag Green */
  --accent-color: #f2a900;    /* Kemenag Gold */
}

/* Preloader Background */
.preloader {
  background-color: var(--primary-color) !important;
}

/* Page / Section Title (.text-title) */
.text-title {
  border-bottom: 2px solid rgba(226, 232, 240, 0.8) !important;
  padding-bottom: 0.75rem !important;
  position: relative !important;
  color: #0f172a !important; /* Slate-900 */
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 2rem !important;
}

.text-title::after {
  content: '' !important;
  background: linear-gradient(90deg, var(--accent-color), #d19200) !important;
  height: 4px !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 6rem !important;
  border-radius: 9999px !important;
}

/* Form Styling (.form-input, .form-select, .form-textarea) */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background-color: #f8fafc !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  border-radius: 0.75rem !important;
  padding: 0.65rem 1rem !important;
  color: #1e293b !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: #ffffff !important;
  border-color: var(--primary-color) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(0, 93, 51, 0.12) !important;
}

/* Button Styling (.bg-secondary) */
.bg-secondary {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  border-radius: 0.75rem !important;
  padding: 0.65rem 1.5rem !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 93, 51, 0.15), 0 2px 4px -1px rgba(0, 93, 51, 0.1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
}

.bg-secondary:hover,
.hover\:bg-secondary:hover {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 93, 51, 0.2), 0 4px 6px -2px rgba(0, 93, 51, 0.15) !important;
  opacity: 1 !important;
}

.bg-secondary:active {
  transform: translateY(0.5px) !important;
}

/* Text and Border Color Helpers */
.text-secondary {
  color: var(--primary-color) !important;
}
.text-tertiary {
  color: var(--accent-color) !important;
}
.hover\:text-secondary:hover {
  color: var(--secondary-color) !important;
}
.hover\:text-tertiary:hover {
  color: var(--accent-color) !important;
}
.border-secondary {
  border-color: var(--primary-color) !important;
}

/* Table Styling for Inner Pages */
table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1.5rem 0 !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
}

table th {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-align: left !important;
  padding: 0.85rem 1.15rem !important;
  font-size: 0.825rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

table td {
  padding: 0.85rem 1.15rem !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1) !important;
  font-size: 0.875rem !important;
  color: #334155 !important;
  font-weight: 500 !important;
}

table tr:last-child td {
  border-bottom: none !important;
}

table tr:hover {
  background-color: #f8fafc !important;
}

/* Guru, Siswa, & Alumni Directory Cards */
.profile-employees,
.profile-student,
.profile-alumni {
  background-color: #ffffff !important;
  border-radius: 1.25rem !important;
  overflow: hidden !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.profile-employees:hover,
.profile-student:hover,
.profile-alumni:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(0, 93, 51, 0.2) !important;
}

.profile-employees img,
.profile-student img,
.profile-alumni img {
  border-radius: 1rem !important;
  border: 1px solid rgba(148, 163, 184, 0.15) !important;
  padding: 0.25rem !important;
  background-color: #f8fafc !important;
  max-height: 140px !important;
  object-fit: cover !important;
}

.profile-employees dl,
.profile-student dl,
.profile-alumni dl {
  border-top: none !important;
  padding: 0.25rem 0 !important;
}

.profile-employees dl div,
.profile-student dl div,
.profile-alumni dl div {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.6rem 0 !important;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.15) !important;
}

.profile-employees dl div:last-child,
.profile-student dl div:last-child,
.profile-alumni dl div:last-child {
  border-bottom: none !important;
}

.profile-employees dt,
.profile-student dt,
.profile-alumni dt {
  font-size: 0.775rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

.profile-employees dd,
.profile-student dd,
.profile-alumni dd {
  font-size: 0.825rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}

/* ==========================================================================
   SPOTLIGHT CARDS — Foto Unggulan Guru & Siswa
   ========================================================================== */
.spotlight-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 24px 0;
    margin: -12px 0;
}

.spotlight-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: spotlight-loop 35s linear infinite;
    will-change: transform;
}

.spotlight-track:hover {
    animation-play-state: paused;
}

@keyframes spotlight-loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.spotlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-shrink: 0;
    width: 110px;
}

@media (min-width: 1024px) {
    .spotlight-card {
        width: 130px;
    }
}

.spotlight-card:hover {
    transform: translateY(-8px);
}

.spotlight-photo-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 0.85rem;
    flex-shrink: 0;
    aspect-ratio: 1 / 1 !important;
}

@media (min-width: 1024px) {
    .spotlight-photo-wrap { 
        width: 110px; 
        height: 110px; 
    }
}

.spotlight-photo {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 3px solid #e2e8f0 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.spotlight-card:hover .spotlight-photo {
    border-color: #005d33 !important;
    box-shadow: 0 10px 30px rgba(0, 93, 51, 0.25) !important;
}

.spotlight-initials {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #005d33, #008e48) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 93, 51, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.spotlight-initials-siswa {
    background: linear-gradient(135deg, #d19200, #f2a900) !important;
    box-shadow: 0 6px 20px rgba(242, 169, 0, 0.3) !important;
}

.spotlight-card:hover .spotlight-initials {
    box-shadow: 0 12px 32px rgba(0, 93, 51, 0.4) !important;
}

.spotlight-category-badge {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.spotlight-badge-guru {
    background: linear-gradient(135deg, #005d33, #008e48);
    color: #ffffff;
}

.spotlight-badge-siswa {
    background: linear-gradient(135deg, #d19200, #f2a900);
    color: #ffffff;
}

.spotlight-info {
    width: 100%;
    padding: 0 0.25rem;
}

.spotlight-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotlight-position {
    font-size: 0.68rem;
    font-weight: 500;
    color: #005d33;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotlight-position-siswa {
    color: #d19200;
}

.news-ticker-icon {
    margin-right: 0.375rem;
    color: #f2a900;
    font-size: 0.7rem;
}

/* ==========================================================================
   SPOTLIGHT BIODATA MODAL — Premium Popup
   ========================================================================== */
.spotlight-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    padding: 1rem;
}

.spotlight-modal-overlay.spotlight-modal-active {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.spotlight-modal-card {
    position: relative;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.spotlight-modal-active .spotlight-modal-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Scrollbar */
.spotlight-modal-card::-webkit-scrollbar { width: 4px; }
.spotlight-modal-card::-webkit-scrollbar-track { background: transparent; }
.spotlight-modal-card::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.spotlight-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.08);
    color: #475569;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.spotlight-modal-close:hover {
    background: rgba(15, 23, 42, 0.16);
    color: #0f172a;
    transform: rotate(90deg);
}

.spotlight-modal-body {
    padding: 2rem 1.75rem 1.75rem;
}

/* Photo area */
.spotlight-modal-photo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.25rem;
}

.spotlight-modal-photo-wrap {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: 0 8px 30px rgba(0, 93, 51, 0.18), 0 0 0 4px rgba(0, 93, 51, 0.08);
}

.spotlight-modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.spotlight-modal-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #005d33, #008e48);
}

.spotlight-modal-initials-siswa {
    background: linear-gradient(135deg, #d19200, #f2a900);
}

/* Badge */
.spotlight-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.spotlight-modal-badge-guru {
    background: linear-gradient(135deg, #005d33, #008e48);
    color: #ffffff;
}

.spotlight-modal-badge-siswa {
    background: linear-gradient(135deg, #d19200, #f2a900);
    color: #ffffff;
}

/* Info */
.spotlight-modal-info {
    text-align: center;
}

.spotlight-modal-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0.75rem 0 0.25rem;
    line-height: 1.3;
}

.spotlight-modal-position {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #005d33;
    margin-bottom: 1rem;
}

.spotlight-modal-position-siswa {
    color: #d19200;
}

/* Details */
.spotlight-modal-details {
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    margin-top: 0.5rem;
}

.spotlight-modal-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0;
}

.spotlight-modal-detail-row + .spotlight-modal-detail-row {
    border-top: 1px solid #e2e8f0;
}

.spotlight-modal-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #005d33, #008e48);
    color: #ffffff;
    font-size: 0.7rem;
}

.spotlight-modal-detail-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.1rem;
}

.spotlight-modal-detail-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.spotlight-modal-link {
    color: #005d33 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.spotlight-modal-link:hover {
    color: #008e48 !important;
    text-decoration: underline;
}

/* Bio */
.spotlight-modal-bio {
    text-align: left;
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 1rem;
}

.spotlight-modal-bio-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #005d33;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.spotlight-modal-bio-label i {
    margin-right: 0.3rem;
}

.spotlight-modal-bio p {
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.65;
    margin: 0;
}

/* Responsive: smaller screens */
@media (max-width: 480px) {
    .spotlight-modal-body {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    .spotlight-modal-photo-wrap {
        width: 110px;
        height: 110px;
    }
    .spotlight-modal-name {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   PAGINATION STYLING FOR BARKA THEME
   ========================================================================== */
.pagination-item {
    display: inline-block;
}
.pagination-item a {
    display: inline-block;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4b5563; /* text-slate-600 */
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* border-slate-200 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}
.pagination-item a:hover {
    color: #005d33; /* text-kemenag-green */
    background-color: #f8fafc; /* bg-slate-50 */
    border-color: #cbd5e1; /* border-slate-300 */
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}


