:root {
    --accent: #f1c84e;
    --bg-soft: #fcfdfc;
    --forest: #061a12;
    --gold-dark: #9b6d1f;
    --gold-gradient: linear-gradient(135deg, #9b6d1f 0%, #f1c84e 100%);
    --gold-light: #f1c84e;
    --gold-primary: #d4af37;
    --green-dark: #03402a;
    --green-gradient: linear-gradient(135deg, #03402a 0%, #04a476 100%);
    --green-light: #04a476;
    --green-medium: #047857;
    --green-primary: #046342;
    --primary: #04a476;
    --text-dark: #333333;
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    background-color: #ffffff;
    color: #333333;
    margin: 0;
    overflow-x: hidden;
}

/* --- LIQUID GLASS NAVBAR --- */
.navbar-container {
    position: fixed;
    top: 25px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.navbar-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Scrolled State (Managed by JS) */
.navbar-glass.scrolled {
    background: rgba(6, 26, 18, 0.95);
    padding: 8px 30px;
}

.navbar-glass .nav-link {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 15px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-glass .nav-link:hover,
.navbar-glass .nav-link.active {
    color: var(--gold-light) !important;
}

/* Dropdown Styling */
.dropdown-menu {
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    margin-top: 10px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.dropdown-item {
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: rgba(184, 134, 11, 0.1);
    color: var(--gold-dark);
    padding-left: 20px;
}

.dropdown-item.active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

/* Mega Menu / Wide Dropdown */
@media (min-width: 992px) {
    .dropdown-wide {
        left: -100px !important;
    }
}

/* Animations */
.animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    fill-mode: both;
}

@keyframes slideIn {
    0% { transform: translateY(1rem); opacity: 0; }
    100% { transform: translateY(0rem); opacity: 1; }
}

.slideIn { animation-name: slideIn; }

/* Icons */
.fa-mosque { color: var(--gold-light); }

/* Donasi Button (Special) */
.btn-nav-donasi {
    background: var(--gold-gradient) !important;
    color: var(--green-dark) !important;
    border-radius: 50px;
    font-weight: 800;
    border: none;
    padding: 10px 28px !important;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(155, 109, 31, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav-donasi:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(155, 109, 31, 0.5);
    background: linear-gradient(135deg, #f1c84e 0%, #9b6d1f 100%) !important;
    color: #000 !important;
}

.btn-nav-donasi i {
    font-size: 0.9rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* General Nav Button (Fallback) */
.btn-nav {
    background: var(--green-gradient);
    color: white !important;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: 0.4s;
}

.btn-nav:hover {
    background: var(--gold-gradient);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(155, 109, 31, 0.3);
}

/* --- FOOTER --- */
footer {
    background: linear-gradient(180deg, var(--green-dark) 0%, #030f0a 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
    border-radius: 80px 80px 0 0;
    margin-top: 50px;
}

footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-logo-text {
    letter-spacing: 4px;
    color: var(--gold-light);
    text-shadow: 0 0 15px rgba(184, 134, 11, 0.3);
}

.text-gold-accent {
    color: var(--gold-light);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.social-glass-link {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s ease;
    color: white;
    text-decoration: none;
}

.social-glass-link:hover {
    background: var(--gold-light);
    color: var(--green-dark) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.2);
    border-color: var(--gold-light);
}

.footer-hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 40px 0;
}

/* --- LIQUID GLASS NAVBAR --- */
.navbar-container {
    position: fixed;
    top: 25px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.navbar-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.navbar-glass .nav-link {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 15px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-glass .nav-link:hover {
    color: var(--gold-light) !important;
}

/* Gaya Dropdown Umum */
.dropdown-menu {
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    margin-top: 10px !important;
}

.dropdown-item {
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: rgba(184, 134, 11, 0.1);
    color: var(--gold-dark);
    padding-left: 20px;
}

/* Khusus Menu Layanan agar bisa menampung banyak item */
@media (min-width: 992px) {
    .dropdown-wide {
        left: -100px !important;
    }
}

/* Animasi Slide-In */
.animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    fill-mode: both;
}

@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}

.slideIn {
    animation-name: slideIn;
}

/* Ikon Kubah di Nav Link Beranda */
.fa-mosque {
    color: var(--gold-light);
}

/* --- HERO LUXURY SECTION --- */
.hero-luxury {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--forest);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(6, 26, 18, 0.95) 0%,
            rgba(6, 26, 18, 0.7) 50%,
            transparent 100%);
    z-index: 1;
}

.hero-luxury .container {
    position: relative;
    z-index: 2;
    padding-left: 5%;
}

.hero-luxury h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 85px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-tagline {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- IMPACT SECTION --- */
.impact-card {
    background: #ffffff;
    border: 1px solid rgba(155, 109, 31, 0.1);
    border-radius: 30px;
    padding: 40px 20px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(155, 109, 31, 0.05) 0%, transparent 70%);
    z-index: -1;
    transition: 0.5s;
}

.impact-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold-light);
    box-shadow: 0 20px 50px rgba(3, 64, 42, 0.1);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: var(--gold-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(155, 109, 31, 0.3);
}

/* --- IG REELS CAROUSEL --- */

/* REELS CAROUSEL LAYOUT */
.reels-carousel .reel-card-video {
    position: relative;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.reels-carousel .reel-card-video .reel-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.reels-carousel .reel-card-video:hover .reel-thumb {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    opacity: 0.8;
    z-index: 4;
    transition: 0.3s;
}

.reel-card-video:hover .reel-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.reel-card-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* REEL CONTENT OVERLAY */
.reel-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    z-index: 3;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reel-card-video:hover .reel-content-overlay {
    padding-bottom: 30px;
}



/* Navigasi Bulat */
.carousel-nav .btn {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* --- CARDS & GLASS STYLE --- */
.card-glass {
    background: #ffffff;
    border: 1px solid rgba(3, 64, 42, 0.08);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: 0.4s;
    height: 100%;
}

.card-glass:hover {
    transform: translateY(-12px);
    border-color: var(--green-light);
}

.bg-soft {
    background-color: #fcfdfd;
}

/* --- SECTION TITLES --- */
section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--green-dark);
    margin-bottom: 50px;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- BUTTONS --- */
.btn-nav {
    background: var(--green-gradient);
    color: white !important;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: 0.4s;
}

.btn-nav:hover {
    background: var(--gold-gradient);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(155, 109, 31, 0.3);
}

footer {
    /* Gradien dalam yang mewah sesuai tema Liquid Glass */
    background: linear-gradient(180deg, var(--green-dark) 0%, #030f0a 100%);
    color: white;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
    border-radius: 100px 100px 0 0;
}

/* Dekorasi cahaya halus di latar belakang */
footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-logo-text {
    letter-spacing: 4px;
    color: var(--gold-light);
    text-shadow: 0 0 15px rgba(184, 134, 11, 0.3);
}

.text-gold-accent {
    color: var(--gold-light);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Gaya Icon Sosial Media (Efek Kaca) */
.social-glass-link {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s ease;
    color: white;
    text-decoration: none;
}

.social-glass-link:hover {
    background: var(--gold-light);
    color: var(--green-dark) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.2);
    border-color: var(--gold-light);
}

.footer-hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 40px 0;
}

/* --- PETUGAS JUMAT SECTION --- */
.petugas-jumat-card {
    background: #ffffff;
    border: 1px solid rgba(3, 64, 42, 0.08);
    border-radius: 30px;
    padding: 35px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.petugas-jumat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(241, 200, 78, 0.15), transparent 60%);
    z-index: 0;
}

.petugas-jumat-card * {
    position: relative;
    z-index: 1;
}

.petugas-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--gold-dark);
}

.petugas-name {
    font-weight: 700;
    color: var(--green-dark);
}

.petugas-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(3, 64, 42, 0.15), transparent);
    margin: 18px 0;
}

/* === PETUGAS JUMAT IMMERSIVE === */
.petugas-jumat-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f4fbf8);
    border-radius: 32px;
    padding: 45px 40px;
    box-shadow: 0 25px 60px rgba(4, 164, 118, 0.18);
    overflow: hidden;
}

.petugas-jumat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 208, 92, 0.35), transparent 55%),
        radial-gradient(circle at bottom left, rgba(4, 164, 118, 0.30), transparent 60%);
    animation: petugasGlow 9s ease-in-out infinite alternate;
}

@keyframes petugasGlow {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* BADGE TEMA KHUTBAH */
#petugas-jumat .badge.bg-warning {
    background: linear-gradient(135deg, #ffd05c, #ffb700);
    color: #4a3b00;
    box-shadow: 0 8px 20px rgba(255, 208, 92, 0.6);
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

#petugas-jumat .badge.bg-warning::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .6), transparent);
    animation: badgeShine 5s infinite;
}

/* LABEL & NAME */
.petugas-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--gold-dark);
    font-weight: 700;
}

.petugas-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-top: 6px;
    transition: 0.3s;
}

/* FLOATING EFFECT */
#petugas-jumat .col-md-4:hover .petugas-name {
    color: var(--gold-dark);
}

#petugas-jumat .col-md-4 {
    transition: 0.4s;
}

#petugas-jumat .col-md-4:hover {
    transform: translateY(-6px);
}

/* DIVIDER ANIMATED */
.petugas-divider {
    width: 80%;
    height: 2px;
    margin: 20px auto;
    background: linear-gradient(90deg,
            transparent,
            var(--gold-light),
            var(--green-light),
            var(--gold-light),
            transparent);
    animation: dividerFlow 6s linear infinite;
}

@keyframes dividerFlow {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 200%;
    }
}

/* Container Download */
.file-download-box {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    border: 1px solid rgba(4, 164, 118, 0.1);
    backdrop-filter: blur(10px);
    transition: 0.4s;
}

.file-download-box:hover {
    border-style: solid;
    background: white;
}

/* Animasi Pulse pada Ikon File */
.file-icon-wrapper {
    position: relative;
    display: inline-block;
}

.pulse-ring {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 50%;
    z-index: -1;
    animation: filePulse 2s infinite;
}

@keyframes filePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Garis pembatas vertikal hanya tampil di layar desktop */
@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* Styling Thumbnail Mimbar */
.mimbar-cover-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
    aspect-ratio: 1 / 1.4;
    /* Rasio Portrait A4 */
}

.mimbar-thumbnail {
    border-radius: 10px;
    width: 100%;
    height: 220px;
    /* Atur tinggi agar seragam */
    object-fit: cover;
    object-position: top;
    transition: 0.5s;
}

.file-download-box:hover .mimbar-thumbnail {
    transform: scale(1.05);
}

.file-download-box:hover .mimbar-cover-wrapper {
    box-shadow: 0 15px 30px rgba(3, 64, 42, 0.15);
    transform: translateY(-5px);
}

/* Badge Kecil di Atas Gambar */
.mimbar-badge-new {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold-dark);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Penyesuaian Tombol agar seragam dengan CSS lama Anda */
.btn-download-jumat {
    background: linear-gradient(135deg, var(--green-dark), #0a5a3a);
    color: white !important;
    border: none;
    transition: 0.3s ease;
}

.btn-download-jumat:hover {
    background: var(--gold-dark) !important;
    transform: translateY(-2px);
}

.mimbar-thumbnail-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Gambar memenuhi area portrait */
    object-position: top center;
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efek Hover Gambar */
.file-download-box:hover .mimbar-thumbnail-full {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.mimbar-overlay-simple {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 64, 42, 0.4), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    opacity: 0;
    transition: 0.4s;
}

.file-download-box:hover .mimbar-overlay-simple {
    opacity: 1;
}

.badge-pdf {
    background: rgba(255, 255, 255, 0.9);
    color: #dc3545;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.7rem;
}

.mimbar-badge-new {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-dark);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/* --- RAWATIB & KAJIAN HARI INI --- */
.rawatib-card {
    background: #ffffff;
    border: 1px solid rgba(3, 64, 42, 0.08);
    border-radius: 30px;
    padding: 35px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.rawatib-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom left, rgba(4, 164, 118, 0.12), transparent 60%);
    z-index: 0;
}

.rawatib-card * {
    position: relative;
    z-index: 1;
}

.kajian-item {
    border: 1px solid rgba(3, 64, 42, 0.06);
    border-radius: 18px;
    padding: 18px 20px;
    background: #f8fbf9;
    transition: 0.3s;
}

.kajian-item:hover {
    border-color: var(--gold-light);
    background: #ffffff;
    transform: translateY(-5px);
}

.kajian-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold-dark);
}

.kajian-title {
    font-weight: 700;
    color: var(--green-dark);
    font-size: 0.95rem;
}

/* === RAWATIB LIVE EFFECT === */
.rawatib-card {
    position: relative;
    overflow: hidden;
}

.rawatib-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(120deg,
            transparent 30%,
            rgba(255, 208, 92, 0.25),
            transparent 70%);
    animation: shineMove 6s linear infinite;
}

@keyframes shineMove {
    0% {
        transform: translateX(-60%);
    }

    100% {
        transform: translateX(60%);
    }
}

.kajian-item {
    position: relative;
}

.kajian-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(140deg,
            rgba(255, 208, 92, 0.25),
            rgba(4, 164, 118, 0.15));
    opacity: 0;
    transition: 0.3s;
}

.kajian-item:hover::before {
    opacity: 1;
}

.kajian-item:hover .kajian-title {
    color: var(--gold-dark);
}

.rawatib-badge {
    background: linear-gradient(135deg, var(--green-dark), var(--green-light));
    color: #fff;
    font-weight: 700;
    padding: 8px 26px;
    border-radius: 40px;
    box-shadow: 0 6px 18px rgba(4, 164, 118, 0.3);
    position: relative;
}

.rawatib-badge::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 40px;
    border: 1px solid rgba(255, 208, 92, 0.5);
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Pastikan Padding kartu tidak tumpang tindih dengan g-0 */
.rawatib-card {
    padding: 0 !important;
    /* Kita pindahkan padding ke kolom masing-masing */
    background: linear-gradient(145deg, #ffffff, #f4fbf8);
    border-radius: 32px;
    box-shadow: 0 25px 60px rgba(4, 164, 118, 0.18);
    overflow: hidden;
}

/* Sisi kanan poster kajian */
.bg-light-soft {
    background: rgba(4, 164, 118, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Penyesuaian Divider untuk Row */
.petugas-divider {
    width: 100%;
    /* Buat full lebar kolom */
    height: 1px;
    background: linear-gradient(90deg, rgba(184, 134, 11, 0.3), transparent);
    margin: 20px 0;
}

/* Pastikan rasio portrait sama dengan mimbar jumat */
.mimbar-cover-wrapper {
    aspect-ratio: 1 / 1.4;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .border-start {
        border-start: none !important;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
}




/* PRAYER CARD */
.prayer-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.prayer-card:hover {
    background: var(--gold-gradient);
    transform: translateY(-5px);
    border-color: transparent;
}

.prayer-card.active {
    background: var(--gold-gradient);
    box-shadow: 0 10px 20px rgba(155, 109, 31, 0.4);
}

.prayer-time {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 10px;
}

.prayer-name {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.active-sholat {
    background: var(--gold-gradient) !important;
    border-color: var(--gold-light) !important;
    box-shadow: 0 0 25px rgba(241, 200, 78, 0.5);
    transform: translateY(-10px);
}

#countdown-timer {
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(241, 200, 78, 0.3);
}


/* LOGO RUNNING ANIMATION */
.logos-slider {
    width: 100%;
    padding: 30px 0;
    white-space: nowrap;
    position: relative;
    background: #ffffff;
}

.logos-track {
    display: inline-flex;
    animation: scrollLogos 25s linear infinite;
    align-items: center;
    /* Menjaga logo tetap sejajar vertikal di tengah */
}

.logo-item {
    /* Wadah tetap untuk setiap logo */
    width: 150px;
    height: 80px;
    margin: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    /* Memaksa logo menyesuaikan diri tanpa mengubah rasio asli */
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

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

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

/* --- MODERN NEWS BENTO GRID --- */
.news-bento-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

.news-bento-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.news-bento-card.is-featured {
    grid-row: span 2;
}

.news-bento-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: transform 0.8s ease;
    z-index: 1;
}

.news-bento-card:hover .news-bento-img {
    transform: scale(1.1);
}

.news-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 64, 42, 0.95) 0%, rgba(3, 64, 42, 0.3) 60%, transparent 100%);
    z-index: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.news-bento-card.is-small .news-bento-overlay {
    padding: 20px;
}

.news-bento-card:hover {
    box-shadow: 0 20px 40px rgba(3, 64, 42, 0.15);
    transform: translateY(-8px);
}

.news-bento-cat {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.news-bento-title {
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.3;
}

.is-featured .news-bento-title {
    font-size: 1.75rem;
}

.is-small .news-bento-title {
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .news-bento-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 250px);
    }

    .news-bento-card.is-featured {
        grid-row: span 2;
    }
}

@media (max-width: 767px) {
    .news-bento-container {
        display: flex;
        flex-direction: column;
    }

    .news-bento-card {
        height: 250px;
    }

    .news-bento-card.is-featured {
        height: 400px;
    }
}



/* ARTIKEL LAYOUT STYLING */
.w-fit-content {
    width: fit-content;
}

.img-main-article {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.main-article-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 64, 42, 0.95) 10%, rgba(3, 64, 42, 0.4) 50%, transparent 100%);
}

.card-glass.group:hover .img-main-article {
    transform: scale(1.05);
}

.img-side-article {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 15px;
}

.side-article-card {
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.side-article-card:hover {
    background: #f8fbf9 !important;
    border-color: var(--green-light) !important;
}

/* Soft Badges */
.bg-success-soft {
    background: rgba(4, 164, 118, 0.1);
}

.bg-info-soft {
    background: rgba(13, 202, 240, 0.1);
}

.bg-danger-soft {
    background: rgba(220, 53, 69, 0.1);
}

/* Custom font weight for titles */
.fw-900 {
    font-weight: 900;
}

/* Custom Styling untuk Form Kontak */
.custom-input {
    background: #f8fbf9 !important;
    border: 1px solid rgba(3, 64, 42, 0.05) !important;
    border-radius: 12px !important;
    padding: 12px 15px !important;
    font-size: 0.9rem !important;
    transition: 0.3s !important;
}

.custom-input:focus {
    background: #ffffff !important;
    border-color: var(--green-light) !important;
    box-shadow: 0 5px 15px rgba(4, 164, 118, 0.1) !important;
}

.contact-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gold-light);
}

.text-gold-light {
    color: var(--gold-light) !important;
}

.swal2-popup {
    font-family: 'Inter', sans-serif !important;
}

.swal2-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 800 !important;
    color: var(--green-dark) !important;
}

#hijri-date {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--gold-light) !important;
    /* Pastikan menggunakan variabel emas Anda */
    font-weight: 600;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(184, 134, 11, 0.5);
    /* Efek glow emas tipis */
    margin-top: 5px;
    display: block;
}

#current-date {
    font-size: 1rem;
    opacity: 0.8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
    display: inline-block;
}

/* --- NASKAH MIMBAR SECTION --- */
.naskah-carousel .mimbar-cover-wrapper {
    aspect-ratio: 3 / 4;
    /* Sedikit lebih lebar untuk tampilan grid carousel */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.naskah-carousel .file-download-box {
    border: 1px solid rgba(0, 0, 0, 0.03);
    background: #ffffff;
    transition: 0.4s;
}

.naskah-carousel .file-download-box:hover {
    box-shadow: 0 15px 35px rgba(4, 164, 118, 0.1) !important;
}

.hover-gold:hover {
    background-color: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
    color: white !important;
}

.playfair {
    font-family: 'Playfair Display', serif;
}

.section-title {
    font-weight: 900;
    color: var(--green-dark);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 15px auto 0;
    border-radius: 10px;
}

/* --- HERO --- */
.hero-ramadhan {
    min-height: 60vh;
    background: linear-gradient(rgba(3, 64, 42, 0.75), rgba(6, 26, 18, 0.95)),
        url('../../../../img/settings/ramadhan.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    border-radius: 0 0 60px 60px;
    color: white;
    padding-top: 120px;
}

/* --- CARDS & MIMBAR --- */
.glass-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}

.petugas-label {
    font-size: 0.65rem;
    color: var(--gold-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.petugas-name {
    font-weight: 700;
    color: var(--green-dark);
    font-size: 1rem;
}

.petugas-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 109, 31, 0.2), transparent);
    margin: 20px 0;
}

/* --- IMSAKIYAH TABLE --- */
.table-imsakiyah {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table-imsakiyah thead th {
    background: var(--green-dark);
    color: white;
    border: none;
    padding: 18px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-imsakiyah thead th:first-child {
    border-radius: 15px 0 0 15px;
}

.table-imsakiyah thead th:last-child {
    border-radius: 0 15px 15px 0;
}

.table-imsakiyah tbody td {
    background: #f8faf9;
    padding: 14px;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.row-today td {
    background: #fff4d1 !important;
    border-top: 2px solid var(--gold-primary) !important;
    border-bottom: 2px solid var(--gold-primary) !important;
    color: var(--green-dark) !important;
}

/* --- ZAKAT IMMERSIVE STYLE --- */
.zakat-immersive-card {
    background: linear-gradient(135deg, #03402a 0%, #061a12 100%);
    color: white;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(3, 64, 42, 0.3);
}

/* Ornamen Lingkaran */
.zakat-circle-1,
.zakat-circle-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.zakat-circle-1 {
    width: 300px;
    height: 300px;
    background: var(--green-light);
    top: -100px;
    right: -50px;
    opacity: 0.2;
}

.zakat-circle-2 {
    width: 250px;
    height: 250px;
    background: var(--gold-light);
    bottom: -100px;
    left: -50px;
    opacity: 0.1;
}

.zakat-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--gold-light);
    border: 1px solid rgba(241, 200, 78, 0.3);
    letter-spacing: 2px;
    font-size: 0.7rem;
}

/* Price Display */
.price-box {
    display: flex;
    align-items: baseline;
}

.price-box .currency {
    font-size: 1.5rem;
    color: var(--gold-light);
    font-weight: 600;
}

.price-box .amount {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 5px;
    letter-spacing: -2px;
}

.price-box .per {
    font-size: 1rem;
    opacity: 0.6;
}

/* Floating Icon Animation */
.zakat-icon-wrapper {
    position: relative;
    display: inline-block;
}

.zakat-floating-icon {
    font-size: 10rem;
    color: white;
    opacity: 0.15;
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Luxury Button */
.btn-gold-luxury {
    background: var(--gold-gradient);
    color: var(--green-dark) !important;
    border: none;
    border-radius: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-gold-luxury:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(241, 200, 78, 0.4);
}

.btn-outline-glass {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-light);
}

/* --- KULTUM VIDEOS --- */
#kultum .reel-card-video {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#kultum .reel-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    opacity: 0.85;
}

#kultum .reel-card-video:hover .reel-thumb {
    transform: scale(1.05);
    filter: brightness(0.7);
}

#kultum .reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
}

/* --- MODERN NEWS BENTO GRID --- */
.news-bento-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.news-bento-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.news-bento-card.is-featured {
    grid-row: span 2;
}

.news-bento-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: 0.8s;
    z-index: 1;
}

.news-bento-card:hover .news-bento-img {
    transform: scale(1.1);
}

.news-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 64, 42, 0.95) 0%, rgba(3, 64, 42, 0.3) 60%, transparent 100%);
    z-index: 2;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.news-bento-cat {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.news-bento-title {
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.3;
    font-size: 1rem;
}

.is-featured .news-bento-title {
    font-size: 1.5rem;
}

/* --- ALBUM GALLERY --- */
.album-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.album-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 64, 42, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: white;
    text-align: center;
    padding: 15px;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

/* --- FOOTER --- */
footer {
    background: linear-gradient(180deg, var(--green-dark) 0%, #030f0a 100%);
    color: white;
    padding: 80px 0 40px;
    border-radius: 80px 80px 0 0;
}

.footer-logo-text {
    letter-spacing: 4px;
    color: var(--gold-light);
}

.social-glass-link {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s ease;
    color: white;
    text-decoration: none;
}

.social-glass-link:hover {
    background: var(--gold-light);
    color: var(--green-dark) !important;
    transform: translateY(-5px);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.btn-download-imsakiyah {
    background: var(--gold-gradient);
    color: var(--green-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(155, 109, 31, 0.2);
}

@media (max-width: 991px) {
    .news-bento-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .navbar-glass {
        border-radius: 25px;
        margin: 10px;
        width: 95%;
    }
}
/* Mobile Navbar Fixes */
@media (max-width: 991px) {
    .navbar-glass {
        width: 100%;
        border-radius: 20px;
    }
    
    .navbar-glass .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-brand {
        margin: 0;
        padding: 0;
    }
    
    .navbar-toggler {
        margin-left: auto;
    }
}


/* --- GALLERY DOKUMENTASI STYLES --- */

/* --- HEADER STABIL --- */
.mimbar-header {
    padding: 160px 0 100px;
    background: linear-gradient(rgba(3, 64, 42, 0.9), rgba(3, 64, 42, 0.9)),
        url('../../../../img/settings/mimbar.avif');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    border-radius: 0 0 60px 60px;
}

/* --- SEARCH BOX GLASS --- */
.search-container {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.search-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid white;
}

/* --- GALLERY GRID STYLING --- */
.month-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--green-dark);
    margin-bottom: 25px;
    border-bottom: 3px solid var(--gold-light);
    display: inline-block;
}

.album-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(3, 64, 42, 0.1);
}

.photo-stack {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 240px;
    padding: 10px;
    background: #f1f5f3;
}

.photo-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.main-photo {
    grid-row: span 2;
}

.more-overlay {
    background: rgba(3, 64, 42, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border-radius: 10px;
    height: 100%;
    font-size: 0.9rem;
}

.album-info {
    padding: 20px;
    flex-grow: 1;
}

.album-name {
    font-weight: 800;
    color: var(--green-dark);
    margin: 5px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.album-meta {
    color: var(--green-medium);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- PAGINATION (SAMA DENGAN MIMBAR JUMAT) --- */
.news-pagination .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    margin: 0 5px;
    border: 1px solid #eee;
    color: var(--text-dark);
    font-weight: 700;
    transition: 0.3s;
}

.news-pagination .page-item.active .page-link {
    background-color: var(--green-dark);
    border-color: var(--green-dark);
    color: white;
    box-shadow: 0 5px 15px rgba(3, 64, 42, 0.3);
}

/* --- MODAL GALLERY PRO --- */
.modal-gallery .modal-content {
    border-radius: 35px;
    border: none;
    background: #0b0c0c;
    color: #fff;
    overflow: hidden;
}

.gallery-viewer {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.gallery-main-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: var(--green-medium);
}

.nav-prev {
    left: 20px;
}

.nav-next {
    right: 20px;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.control-btn:hover {
    background: white;
    color: black;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    padding: 20px;
    overflow-x: auto;
    justify-content: center;
}

.thumb-item {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.4;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumb-item.active {
    opacity: 1;
    border-color: var(--gold-light);
}

/* Fullscreen Logic */
.modal-gallery.is-fullscreen .modal-dialog {
    max-width: 100vw !important;
    margin: 0;
    height: 100vh;
}

.modal-gallery.is-fullscreen .modal-content {
    height: 100vh;
    border-radius: 0;
}

/* --- CTA (SAMA DENGAN MIMBAR JUMAT) --- */
.cta-premium {
    background: var(--green-dark);
    border-radius: 40px;
    border: 2px solid var(--gold-light);
    position: relative;
    overflow: hidden;
}

/* --- MIMBAR JUMAT SPECIFIC --- */
.naskah-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
}

.naskah-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(3, 64, 42, 0.1);
}

.naskah-thumb-wrapper {
    position: relative;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
}

.naskah-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 700;
}

.btn-download-full {
    background: linear-gradient(135deg, var(--green-dark), var(--green-medium));
    color: white !important;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    font-size: 0.85rem;
}

.widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 25px;
    border-bottom: 3px solid #d4af37;
    display: inline-block;
}

/* --- MODAL FLIPBOOK --- */
.modal-flipbook .modal-content {
    border-radius: 35px;
    overflow: hidden;
}

.flipbook-container {
    width: 100%;
    height: 75vh;
    background: #eee;
    border-radius: 15px;
}


.flip-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- IMAM & MUADZIN SECTION --- */
.mimbar-header {
    padding: 160px 0 100px;
    background: linear-gradient(rgba(3, 64, 42, 0.9), rgba(3, 64, 42, 0.9)),
        url('../../../../img/settings/mimbar.avif');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    border-radius: 0 0 60px 60px;
}

.profile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(3, 64, 42, 0.1);
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f1f5f3;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 20px;
    text-align: center;
}

.profile-role {
    color: var(--green-light);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}


.profile-name {
    font-weight: 800;
    color: var(--green-dark);
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0;
}

/* --- VISI & MISI SECTION --- */
.visi-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.visi-box {
    background: white;
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--gold-light);
    text-align: center;
}

.visi-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--green-dark);
    font-style: italic;
    line-height: 1.3;
}

.misi-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
}

.misi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 64, 42, 0.1);
    border-color: var(--green-medium);
}

.misi-number {
    background: var(--green-dark);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(3, 64, 42, 0.2);
}

.misi-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    font-weight: 500;
}

/* --- SEJARAH (HISTORY) SECTION --- */
.history-section {
    padding: 80px 0;
    position: relative;
}

.history-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.history-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gold-gradient);
}

.history-card p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
}

.dropcap {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    font-weight: 900;
    margin-right: 15px;
    color: var(--green-dark);
}

.evidence-box {
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
}

.evidence-box img {
    width: 100%;
    transition: 0.5s;
}

.evidence-box:hover img {
    transform: scale(1.03);
}

.evidence-caption {
    background: var(--green-dark);
    color: white;
    padding: 15px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    font-style: italic;
}

.side-pattern {
    position: absolute;
    width: 300px;
    height: 100%;
    top: 0;
    background-image: url('pattern.png');
    background-size: 100px;
    opacity: 0.03;
    z-index: -1;
}

.imam-timeline {
    position: relative;
    padding-left: 20px;
}

.imam-item {
    position: relative;
    padding-left: 50px;
    padding-bottom: 40px;
    border-left: 2px dashed var(--gold-primary);
}

.imam-number {
    position: absolute;
    left: -21px;
    top: 0;
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--green-dark);
    z-index: 2;
}

.active-imam {
    background: var(--gold-primary);
    color: white;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.imam-content {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.imam-content:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(3, 64, 42, 0.1);
}

.imam-period {
    font-weight: 800;
    color: var(--gold-primary);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.imam-name-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    color: var(--green-dark);
    font-size: 1.3rem;
    margin: 10px 0;
}

.imam-history-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* --- PIMPINAN (LEADERSHIP) SECTION --- */
.leader-featured {
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.featured-card {
    background: white;
    border-radius: 40px;
    border: none;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.section-row-wrapper {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.row-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pattern.png');
    background-size: 300px;
    opacity: 0.08;
    z-index: -1;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.bg-row-green {
    background-color: rgba(3, 64, 42, 0.03);
}

.bg-row-gold {
    background-color: rgba(212, 175, 55, 0.02);
}

.profile-card-v3 {
    background: white;
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.5s;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.profile-card-v3:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(3, 64, 42, 0.1);
}

.img-container-v3 {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 15px;
}

.img-container-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name-v2 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    color: var(--green-dark);
    font-size: 1.05rem;
}

.role-v2 {
    font-weight: 700;
    color: var(--gold-primary);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* --- ARTICLE SHARED & UTILITIES --- */
.navbar-glass.solid-bg {
    background: rgba(6, 26, 18, 0.95) !important;
    padding: 6px 30px !important;
}

.navbar-glass.solid-bg .nav-link {
    color: #ffffff !important;
}

.navbar-glass.solid-bg .nav-link:hover,
.navbar-glass.solid-bg .nav-link.active {
    color: var(--gold-light) !important;
}

.badge-cat, .bento-cat {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bg-religi { background: #e3f2fd; color: #1976d2; }
.bg-sosial { background: #f3e5f5; color: #7b1fa2; }
.bg-pendidikan { background: #fff3e0; color: #e65100; }
.bg-kemanusiaan { background: #ffebee; color: #c62828; }

.widget-title-custom, .widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    border-left: 5px solid var(--green-dark);
    padding-left: 15px;
    margin-bottom: 25px;
    color: var(--green-dark) !important;
    font-family: 'Playfair Display', serif;
}

/* --- ARTICLE HERO AREAS --- */
.hero-article, .hero-news {
    min-height: 55vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
}

.hero-news {
    background: linear-gradient(rgba(3, 64, 42, 0.85), rgba(6, 26, 18, 0.95)),
                url('../../../../img/settings/ramadhan.avif');
    border-radius: 0 0 50px 50px;
    margin-bottom: 50px;
}

.hero-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(3, 64, 42, 0.88), rgba(6, 26, 18, 0.95));
    z-index: 1;
}

.hero-article .container, .hero-news .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.photo-credit {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

/* --- SEARCH CUSTOM --- */
.search-container-custom {
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
}

.search-input-custom {
    width: 100%;
    padding: 15px 25px 15px 55px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.search-input-custom:focus {
    background: white;
    color: var(--green-dark);
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.search-icon-custom {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

.search-input-custom:focus+.search-icon-custom {
    color: var(--green-dark);
}

/* --- BENTO GRID --- */
.news-bento-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.news-bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s;
    cursor: pointer;
    display: block;
}

.news-bento-card.is-featured { grid-row: span 2; }

.news-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.news-bento-overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    background: linear-gradient(to top, rgba(3, 64, 42, 0.95) 0%, rgba(3, 64, 42, 0.4) 50%, transparent 100%);
}

.news-bento-card:hover .news-bento-img { transform: scale(1.08); }

/* --- ARTICLE CONTENT (DETAIL) --- */
.article-wide-container {
    max-width: 1100px;
    margin: -100px auto 60px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.article-card-main {
    background: white;
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-title-custom {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
}

.content-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
}

.content-body p { margin-bottom: 1.5rem; }

.content-body blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    border-left: 6px solid var(--gold-primary);
    padding: 30px 40px;
    background: #f8fbf9;
    margin: 40px 0;
    border-radius: 0 24px 24px 0;
    font-style: italic;
    color: var(--green-dark);
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 20px 0;
}

/* --- LIST VIEW & SIDEBAR --- */
.news-list-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 25px;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
}

.news-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--green-light);
}

.news-list-img {
    width: 200px;
    height: 140px;
    border-radius: 15px;
    object-fit: cover;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.2s;
}

.trending-item:hover .trending-text { color: var(--green-medium); }

.trending-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: #e0e0e0;
    line-height: 1;
    min-width: 35px;
}

.trending-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-dark);
    transition: 0.2s;
}

.tag-cloud-custom a {
    display: inline-block;
    padding: 7px 15px;
    background: #f0f4f2;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #444;
    text-decoration: none;
    margin: 0 5px 10px 0;
    transition: 0.3s;
    font-weight: 600;
}

.tag-cloud-custom a:hover {
    background: var(--green-dark);
    color: white;
    transform: scale(1.05);
}

/* --- PAGINATION --- */
.news-pagination .page-link, .pagination .page-item .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    margin: 0 5px;
    border: 1px solid #eee;
    color: var(--text-dark) !important;
    font-weight: 700;
    transition: 0.3s;
    background: transparent;
}

.news-pagination .page-item.active .page-link, .pagination .page-item.active .page-link {
    background-color: var(--green-dark) !important;
    border-color: var(--green-dark) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(3, 64, 42, 0.3);
}

/* --- SHARE & RELATED --- */
.share-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 20px;
}

.share-buttons { display: flex; gap: 10px; }

.share-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
    text-decoration: none;
    border: none;
}

.share-btn.wa { background: #25d366; }
.share-btn.fb { background: #1877f2; }
.share-btn.ig { background: linear-gradient(45deg, #f09433 0%, #bc1888 100%); }
.share-btn.copy { background: #6c757d; cursor: pointer; position: relative; }

.copy-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-dark);
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 5px;
    display: none;
}

.related-section { margin-top: 60px; }

.related-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--gold-primary);
}

.related-img { width: 100%; height: 180px; object-fit: cover; }
.related-content { padding: 20px; }
.related-content h6 { font-weight: 700; color: var(--green-dark); line-height: 1.4; margin: 0; }

/* --- NEWSLETTER --- */
.newsletter-card {
    background: linear-gradient(145deg, #03402a 0%, #062a1a 100%);
    color: white;
    border-radius: 25px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    border: none;
}

.newsletter-card h5 { font-weight: 800; margin-bottom: 12px; }
.newsletter-card p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 25px; }

.newsletter-form-group {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

.newsletter-form-group input {
    background: transparent;
    border: none;
    color: white;
    flex: 1;
    padding: 0 15px;
    font-size: 0.9rem;
}

.newsletter-form-group input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-form-group input:focus { outline: none; }

.btn-subscribe {
    background: #d4af37;
    color: #03402a;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-subscribe:hover { background: white; transform: translateX(3px); }

/* --- CTA ARTICLE --- */
.cta-fatwa, .cta-box {
    background: linear-gradient(135deg, var(--green-dark) 0%, #0a6b47 100%);
    border-radius: 40px;
    padding: 50px;
    color: white;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-card-white {
    background: white;
    border-radius: 30px;
    transform: rotate(2deg);
    transition: 0.3s;
}

.cta-card-white:hover { transform: rotate(0deg) scale(1.05); }

.btn-gold {
    background-color: var(--gold-primary) !important;
    color: var(--green-dark) !important;
    border: none;
    font-weight: 800;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: white !important;
    color: var(--green-dark) !important;
    transform: translateY(-3px);
}

/* --- AGENDA (KATEGORI) --- */
.agenda-overlap {
    margin-top: -85px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.agenda-ribbon {
    background: #fff;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.timeline-wrapper {
    display: flex;
    align-items: stretch;
    background: #f8fbf9;
    border-radius: 32px;
    overflow: hidden;
}

.timeline-header {
    background: var(--green-dark);
    color: white;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 220px;
    position: relative;
}

.timeline-header::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid var(--green-dark);
    z-index: 2;
}

.timeline-header span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    font-weight: 600;
}

.timeline-header h4 { font-size: 1.3rem; font-weight: 800; margin: 0; line-height: 1.2; }

.timeline-step {
    flex: 1;
    padding: 25px 25px;
    position: relative;
    transition: 0.4s;
    border-right: 1px solid rgba(3, 64, 42, 0.05);
}

.timeline-step:last-child { border-right: none; }

.timeline-step:hover {
    background: #fff;
    box-shadow: inset 0 -4px 0 var(--gold-primary);
}

.time-tag {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kajian-info h6 { font-size: 0.95rem; font-weight: 800; color: var(--green-dark); margin-bottom: 4px; }
.kajian-info .ustadz-name { font-size: 0.8rem; color: var(--text-dark); font-weight: 600; display: block; }

.ai-nav-card {
    background: linear-gradient(135deg, #121212 0%, #2c2c2c 100%);
    color: white;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- LEGACY ARTICLE (INDEX) --- */
.de-bloglist-type-1 li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.de-bloglist-type-1 .d-image img {
    width: auto !important;
    height: 60px !important;
    object-fit: cover;
    border-radius: 10px;
}

.widget_tags ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.widget_tags ul li a {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(4, 164, 118, 0.08);
    color: var(--green-dark) !important;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid transparent;
}

.widget_tags ul li a:hover {
    background: var(--green-primary);
    color: white !important;
    transform: translateY(-2px);
}

.btn-main {
    background: var(--green-dark) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 8px 200px; /* Note: adjust this if it feels too wide */
    display: inline-block;
    font-weight: 600;
    text-align: center;
    border: none;
    width: auto;
    padding: 8px 20px;
}

@media (max-width: 991px) {
    .article-card-main { padding: 40px 25px; border-radius: 20px; }
    .article-title-custom { font-size: 2.2rem; }
    .article-wide-container { margin-top: -50px; }
    .news-bento-container { grid-template-columns: 1fr; grid-template-rows: auto; }
    .news-list-card { flex-direction: column; }
    .news-list-img { width: 100%; height: 200px; }
    .timeline-wrapper { flex-direction: column; }
    .timeline-header { min-width: 100%; text-align: center; padding: 20px; border-radius: 32px 32px 0 0; }
    .agenda-overlap { margin-top: -50px; }
}

/* --- COMING SOON PAGE --- */
.coming-soon-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #fafafa;
    z-index: 1;
    padding-top: 100px;
}

.coming-soon-bg-decor {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
}

.coming-soon-bg-decor.p1 {
    background: var(--green-dark);
    top: -100px;
    right: -100px;
}

.coming-soon-bg-decor.p2 {
    background: var(--gold-dark);
    bottom: -100px;
    left: -100px;
}

.glass-icon-container {
    display: inline-flex;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.glass-icon {
    width: 100px;
    height: 100px;
    background: var(--green-gradient);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 15px 35px rgba(25, 135, 84, 0.2);
}

.landing-title {
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.landing-desc {
    max-width: 550px;
    line-height: 1.6;
}

.animate-float {
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-10px) rotate(10deg);
    }
}

@media (max-width: 768px) {
    .landing-title {
        font-size: 2rem;
    }
    .coming-soon-wrapper {
        padding-top: 80px;
    }
}
