:root {
            --bg-color: #f5f5f7;
            --card-bg: #ffffff;
            --text-main: #0d0d0d;
            --text-muted: #6b6c72;
            --pill-bg: #f0f0f3;
            --pill-text: #323338;
            --card-radius: 28px;
            --card-radius-sm: 15px;
            --pill-radius: 100px;
            --shadow-subtle: 0 12px 32px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 22px 48px rgba(0, 0, 0, 0.1);
        }

        /* * {
            box-sizing: border-box;
        } */

        /* body {
            background-color: #f8f9fa;
        } */

        /* Container constraints */
        .dashboard-container {
            /* max-width: 1100px;
            margin: 0 auto; */
            padding: 20px 20px 50px 20px;
        }

        /* Header typography matching design */
        .main-title {
            font-size: clamp(1.75rem, 5vw, 3.25rem);
            font-weight: 800;
            letter-spacing: -0.035em;
            line-height: 1.12;
            color: var(--text-main);
        }

        .main-title em {
            /* font-family: 'Playfair Display', serif; */
            /* font-style: italic; */
            font-weight: 800;
        }

        /* Shared Card Base */
        .article-card {
            background-color: var(--primary-color);
            border-radius: 15px;
            box-shadow: var(--shadow-subtle);
            border: 1px solid rgba(255, 255, 255, 0.8);
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            cursor: pointer;
            overflow: hidden;
            position: relative;
        }

        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        /* Category Tag Pill */
        .tag-pill {
            background-color: rgba(238, 238, 242, 0.85);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            color: var(--pill-text);
            font-size: clamp(0.6rem, 1.2vw, 0.75rem);
            font-weight: 700;
            padding: 4px 12px;
            border-radius: var(--pill-radius);
            letter-spacing: -0.01em;
            display: inline-block;
        }

        .brand-signature {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-weight: 600;
            font-size: clamp(0.75rem, 1.5vw, 1rem);
            color: var(--text-main);
        }

        /* Top Featured Horizontal Card */
        .featured-card {
            display: flex;
            flex-direction: row;
            min-height: 320px;
            width: 100%;
        }

        .featured-card .featured-img-col {
            flex: 0 0 48%;
            max-width: 48%;
            position: relative;
            background: #e8e8ec;
            overflow: hidden;
        }

        .featured-card .featured-img-col img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: contrast(1.03) brightness(0.98);
            transition: transform 0.6s ease;
        }

        .featured-card:hover .featured-img-col img {
            transform: scale(1.04);
        }

        .featured-card .featured-content-col {
            flex: 0 0 52%;
            max-width: 52%;
            padding: clamp(1rem, 3.5vw, 2.5rem);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .featured-title {
            font-size: clamp(1rem, 2.2vw, 1.85rem);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.025em;
            color: var(--text-main);
            margin-bottom: clamp(0.4rem, 1vw, 0.8rem);
        }

        .featured-desc {
            font-size: clamp(0.7rem, 1.2vw, 0.95rem);
            color: var(--text-muted);
            line-height: 1.4;
            display: -webkit-box;
            /* -webkit-line-clamp: 4; */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .meta-read {
            font-size: 10px;
            /* font-size: clamp(0.65rem, 1.1vw, 0.825rem); */
            font-weight: 100;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .meta-dot {
            width: 5px;
            height: 5px;
            background-color: var(--text-main);
            border-radius: 50%;
            display: inline-block;
        }

        /* .bottom-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: clamp(0.5rem, 2vw, 1.25rem);
            width: 100%;
        } */

        /* Tampilan default untuk layar laptop/desktop (misal 3 kolom) */
        .bottom-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        /* Tampilan Mobile (Max-width 768px atau 576px) menjadi 2 Kolom */
        @media (max-width: 768px) {
            
        }

        .bottom-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .bottom-card .card-img-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 11;
            background-color: #eeeef2;
            overflow: hidden;
        }

        .bottom-card .card-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .bottom-card:hover .card-img-wrapper img {
            transform: scale(1.05);
        }

        .bottom-card .card-img-wrapper .tag-pill {
            position: absolute;
            top: clamp(6px, 1.5vw, 14px);
            right: clamp(6px, 1.5vw, 14px);
            z-index: 2;
        }

        /* Subtle bottom image vignette like the reference image */
        .card-img-wrapper::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
            pointer-events: none;
        }

        .bottom-card .card-body-content {
            padding: clamp(0.75rem, 1.8vw, 1.35rem);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            flex-grow: 1;
            background: #ffffff;
        }

        .bottom-card .card-title {
            font-size: clamp(0.75rem, 1.35vw, 1.05rem);
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: -0.02em;
            margin-bottom: clamp(0.25rem, 0.8vw, 0.5rem);
            display: -webkit-box;
            /* -webkit-line-clamp: 3; */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .bottom-card .card-desc {
            font-size: clamp(0.65rem, 1.05vw, 0.85rem);
            color: var(--text-muted);
            line-height: 1.35;
            display: -webkit-box;
            /* -webkit-line-clamp: 3; */
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 0;
        }

        .modal-backdrop.show {
            opacity: 0.45;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .modal-content {
            border-radius: 28px;
            border: 1px solid rgba(255, 255, 255, 0.7);
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
            background: rgba(255, 255, 255, 0.96);
            overflow: hidden;
        }

        .modal-header {
            border-bottom: none;
            padding: 1.5rem 1.75rem 0.5rem 1.75rem;
        }

        .modal-body {
            padding: 0.5rem 1.75rem 2rem 1.75rem;
        }

        .modal-body h2{
            letter-spacing: normal;
        }

        /* .modal-hero-wrapper {
            width: 100%;
            height: 280px;
            border-radius: var(--card-radius-sm);
            overflow: hidden;
            margin-bottom: 1.25rem;
            background-color: #eaeaea;
        }

        .modal-hero-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        } */


        .modal-hero-wrapper {
            width: 100%;
            height: 100%;
            border-radius: var(--card-radius-sm, 12px);
            overflow: hidden;
            margin-bottom: 1.25rem;
            background-color: #eaeaea;
        }

        /* Pastikan komponen carousel penuh mengisi wrapper */
        .modal-hero-wrapper .carousel,
        .modal-hero-wrapper .carousel-inner,
        .modal-hero-wrapper .carousel-item {
            height: 100%;
        }

        .modal-hero-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }































        .btn-close-custom {
            background: #ebebef;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .btn-close-custom:hover {
            background: #dcdce2;
            transform: rotate(90deg);
        }

        @media (max-width: 576px) {
            .dashboard-container {
                /* padding: 20px 10px 20px 10px; */
                padding: 20px;
            }

            .article-card {
                border-radius: 15px;
            }

            .featured-card {
                min-height: 170px;
            }

            .featured-card .featured-content-col {
                padding: 0.75rem;
            }

            .bottom-grid {
                grid-template-columns: repeat(2, 1fr); /* Menjadi 2 kolom rata */
                gap: 0.75rem; /* Menyesuaikan jarak antar card di mobile */
            }

            /* Penyesuaian ukuran teks & padding agar muat di 2 kolom mobile */
            .bottom-card .card-body-content {
                padding: 10px;
            }

            .bottom-card .card-title {
                font-size: 0.95rem; /* Mengecilkan judul sedikit agar tidak terlalu memakan tempat */
                line-height: 1.3;
            }

            .bottom-card .card-desc {
                font-size: 0.8rem;
                line-height: 1.3;
                /* Opsional: membatasi teks deskripsi maksimal 2-3 baris */
                display: -webkit-box;
                /* -webkit-line-clamp: 3; */
                -webkit-box-orient: vertical;
                overflow: hidden;
            }

            .bottom-card .card-body-content {
                padding: 0.55rem;
            }

            .modal-hero-wrapper {
                height: 180px;
            }
        }