        @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

        :root {
            --primary-green: #198754;
            --dark-green: #0d5132;
            --accent-gold: #ffc107;
            --soft-bg: #f8fafc;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            color: #334155;
            background-color: #fff;
        }

        /* --- HERO SECTION --- */
        .hero-section {
            padding: 80px 0;
            background-image: url('<?= base_url("assets/img/bg-ansor.jpg"); ?>'); 
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(13, 81, 50, 0.7)); 
            z-index: 1;
        }

        .hero-section .container { position: relative; z-index: 2; }
        .text-highlight { color: var(--accent-gold) !important; }

        /* --- ARTICLE CARD STYLE --- */
        .article-card {
            background: #fff;
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid #f1f5f9;
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .article-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }

        .article-img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            background-color: #f1f5f9;
        }

        .article-body {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .article-category {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: var(--primary-green);
            font-weight: 700;
            margin-bottom: 10px;
            display: block;
        }

        .article-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .article-excerpt {
            font-size: 0.9rem;
            color: #64748b;
            margin-bottom: 20px;
        }

        .btn-read {
            color: var(--primary-green);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: auto;
        }

        .btn-read:hover { 
            text-decoration: underline; 
            color: var(--dark-green);
        }

        /* ===========================
        SEARCH & PAGINATION
        =========================== */

        .section-header{
            display:flex;
            justify-content:space-between;
            align-items:center;
            margin-bottom:30px;
            flex-wrap:wrap;
            gap:15px;
        }

        .section-title{
            font-size:1.8rem;
            font-weight:800;
            color:#0d5132;
            position:relative;
            padding-bottom:10px;
        }

        .section-title::after{
            content:'';
            position:absolute;
            left:0;
            bottom:0;
            width:70px;
            height:3px;
            background:#198754;
        }

        .search-box{
            position:relative;
            width:320px;
            max-width:100%;
        }

        .search-box input{
            border:1px solid #198754;
            border-radius:8px;
            padding:10px 15px 10px 40px;
            font-size:.9rem;
            width: 100%;
        }

        .search-box i{
            position:absolute;
            left:14px;
            top:50%;
            transform:translateY(-50%);
            color:#198754;
        }

        .pagination-wrapper{
            margin-top:0;
        }

        /* Modifikasi: Memperkecil padding & ukuran teks link pagination */
        .pagination .page-link{
            color:#0d5132;
            border: 1px solid #e2e8f0;
            margin:0 2px;
            border-radius:4px;
            cursor: pointer;
            padding: 5px 10px;
            font-size: 0.85rem;
        }

        .pagination .page-item.active .page-link{
            background:#198754;
            color:#fff;
            border-color: #198754;
        }

        .pagination .page-link:hover{
            background:#e9f7ef;
        }

        .pagination .page-item.disabled .page-link {
            color: #cbd5e1;
            background-color: #f8fafc;
            border-color: #e2e8f0;
            pointer-events: none;
        }

        /* Modifikasi: Memastikan seluruh teks konter dan turunannya berwarna abu-abu */
        .article-counter{
            color:#64748b;
            font-size:.85rem;
        }

        .article-counter span {
            color: #64748b !important;
            font-weight: 600;
        }
        
        .article-item{
            transition:.3s;
        }

        .pagination-wrapper{
            display:flex;
            justify-content:flex-end;
        }

        @media(max-width:768px){
            .section-header{
                flex-direction:column;
                align-items:stretch;
            }

            .search-box{
                width:100%;
            }

            .pagination-wrapper{
                justify-content:center;
            }

            .article-counter{
                text-align:center;
            }
        }
