@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

body, h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, select, textarea {
    font-family: 'Open Sans', sans-serif !important;
}

.berita-header-section {
    background-color: #f8f9fa;
    padding: 80px 0 20px;
}
.title-line {
    width: 60px;
    height: 4px;
    background-color: #1a3673;
    margin: 15px auto;
    border-radius: 2px;
}

.berita-page-title {
    font-weight: 900;
    color: #1a3673;
    letter-spacing: 1px;
}

.select-custom-berita {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    min-width: 180px;
}

.select-custom-berita:focus {
    border-color: #1a3673;
}

.berita-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
}

.berita-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.berita-img-box {
    width: 100%;
    height: 240px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.berita-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.berita-item:hover .berita-img-box img {
    transform: scale(1.05);
}

.berita-content {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.berita-badge {
    display: inline-block;
    background-color: #ffc107;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    align-self: flex-start;
}

.berita-title {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.3;
}

.berita-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.berita-desc {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.berita-link {
    font-size: 15px;
    font-weight: 800;
    color: #1a3673;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.berita-link:hover {
    color: #0d204a;
    gap: 12px;
}

@media (max-width: 991px) {
    .berita-content {
        padding-right: 0;
        margin-top: 20px;
    }
    .berita-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .filter-berita-wrapper .d-flex {
        justify-content: flex-start !important;
    }
    .berita-img-box {
        height: 200px;
    }
    .berita-title {
        font-size: 20px;
    }
}.btn-load-more-berita {
    background-color: transparent;
    color: #1a3673;
    border: 2px solid #1a3673;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
}

.btn-load-more-berita:hover {
    background-color: #1a3673;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(26, 54, 115, 0.2);
}

.btn-load-more-berita:hover i {
    transform: rotate(180deg);
    transition: transform 0.4s ease;
}

@media (max-width: 991px) {
    .berita-content {
        padding-right: 0;
        margin-top: 20px;
    }
    .berita-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .filter-berita-wrapper .d-flex {
        justify-content: flex-start !important;
    }
    .berita-img-box {
        height: 200px;
    }
    .berita-title {
        font-size: 20px;
    }
    .btn-load-more-berita {
        width: 100%;
        justify-content: center;
    }
}
/* Definisikan animasi agar JavaScript tidak bingung */
@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* Pastikan container tombol memiliki ruang dan membersihkan float */
.load-more-wrapper {
    clear: both;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 80px;
}

/* Reset tombol agar terlihat 'nyata' */
.btn-load-more-berita {
    display: inline-flex !important; /* Paksa muncul */
    visibility: visible !important;
    opacity: 1 !important;
    background-color: transparent;
    color: #1a3673;
    border: 2px solid #1a3673;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.4s ease;
    align-items: center;
    position: relative;
    z-index: 99; /* Pastikan di atas elemen lain */
}

.btn-load-more-berita:hover {
    background-color: #1a3673;
    color: #ffffff;
}