.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list li {
    margin-bottom: 10px;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #fff;
    border-radius: 6px;
    text-decoration: none!important;
    transition: 0.3s;
}

.social-item i {
    font-size: 20px;
    margin-right: 12px;
}

/* Brand Background */
.social-item.facebook { background: #1877F2; }
.social-item.twitter { background: #1DA1F2; }
.social-item.ig {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}
.social-item.youtube { background: #FF0000; }
.social-item:hover,
.social-item:focus,
.social-item:active {
    color: #fff !important; /* cegah berubah */
}
.social-item:hover i {
    color: #fff !important;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45); /* ubah opacity sesuka hati */
    z-index: 5; /* pastikan di atas gambar */
}
.tp-caption {
    z-index: 10 !important;
}
.author-icon {
    width: 32px;
    height: 32px;
    background: #6c757d; /* bg-secondary */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-author li.views {
    float: right;
    font-size: 14px;
    color: #888888;
}
.cursor-pointer {
    cursor: pointer;
}
/* Styling untuk Tombol Share di Modal */
.btn-share-modal {
    font-size: 24px!important;
    width: 48px!important;
    height: 48px!important;
    border-radius: 50%!important;
    color: white !important;
    border: none!important;
    transition: transform 0.2s ease, box-shadow 0.2s ease!important;
}

.btn-share-modal:hover {
    transform: translateY(-3px)!important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2)!important;
}
/* Styling untuk Tombol "Lihat Seluruh Berita" */
.btn-view-all {
    background-color: #007bff!important;
    color: #ffffff!important;
    font-weight: 600!important;
    padding: 12px 30px!important;
    border-radius: 50px!important;
    text-transform: uppercase!important;
    letter-spacing: 0.5px!important;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3)!important;
    transition: all 0.3s ease!important;
    border: none!important;
    font-size: 15px!important;
}

.btn-view-all:hover {
    background-color: #0056b3!important;
    color: #ffffff!important;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4)!important;
    transform: translateY(-2px)!important;
}

/* Sponsor logos fixed image size */
.sponsor-logo {
    width: 125px!important;
    height: 125px!important;
    object-fit: contain; /* keep aspect ratio without cropping */
    display: inline-block;
}

.koni-subtitle {
    color: #D93A49; /* Warna merah untuk subjudul */
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.main-heading {
    font-weight: 800; /* Font ekstra tebal */
    color: #1d2d44; /* Warna biru tua/hitam */
    font-size: 2.5rem; /* Ukuran font lebih besar */
}

.feature-item {
    /* Menggunakan flexbox untuk ikon dan teks */
    display: flex;
    align-items: flex-start; /* Sejajarkan bagian atas ikon dengan teks */
    margin-bottom: 1.75rem; /* Jarak antar item */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Bayangan halus */
}

.icon-container {
    flex-shrink: 0; /* Mencegah ikon menyusut */
    width: 64px;
    height: 64px;
    background-color: #FFF1F1; /* Latar belakang pink sangat muda */
    border-radius: 12px; /* Sudut membulat untuk kotak ikon */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem; /* Jarak antara ikon dan teks */
}

.icon-container i {
    font-size: 1.75rem; /* Ukuran ikon */
    color: #D93A49; /* Warna ikon merah, sama seperti subjudul */
}

.feature-title {
    font-weight: 700;
    color: #212529; /* Warna judul fitur */
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.feature-description {
    color: #495057; /* Warna teks deskripsi abu-abu tua */
    line-height: 1.6;
    margin-bottom: 0;
}

.info-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px; /* Optional: adds some space below the header */
    border-bottom: 1px solid #dee2e6; /* Same as Bootstrap's tab border */
}

.info-tabs-header .nav-tabs {
    border-bottom: 0; /* Remove the default bottom border from the ul */
    flex-grow: 1; /* Allow tabs to take available space */
}

.info-tabs-header .tab-search-form {
    flex-shrink: 0; /* Prevent search form from shrinking */
    margin-left: 20px; /* Space between tabs and search */
    min-width: 250px; /* Minimum width for the search input */
    position: relative;
}

.clear-search-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 20px;
    color: #888;
    cursor: pointer;
    padding: 0 5px;
}

.clear-search-btn:focus {
    outline: none;
}
/* Hide Google Translate top bar */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
}
/* Hide Google Translate top bar */
.skiptranslate iframe {
    display: none !important;
}
body {
    top: 0px!important;
}
/* Hide translation popups */
.goog-te-ftab,
.goog-te-balloon-frame,
.goog-te-spinner-pos,
.goog-te-spinner {
    display: none !important;
}

#translate-desktop {
    display: block;
}
#translate-mobile {
    display: none;
}

@media (max-width: 768px) {
    #translate-desktop {
        display: none;
    }
    #translate-mobile {
        display: block;
    }
}
/* Styling umum biar gak terlalu kotak */
#google_translate_element .goog-te-gadget-simple {
    border: 1px solid #ddd !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

/* Mobile: atur ulang layout */
@media (max-width: 768px) {
    #translate-mobile {
        width: 100%;
    }

    #translate-mobile #google_translate_element {
        width: 100% !important;
    }

    #translate-mobile #google_translate_element .goog-te-gadget-simple {
        width: 100% !important;
        box-sizing: border-box;
        display: flex !important;
        align-items: center;
        gap: 6px;
    }

    /* Logo G */
    #translate-mobile #google_translate_element .goog-te-gadget-simple > img {
        flex: 0 0 auto;
        margin: 0;
    }

    /* Teks "Pilih Bahasa" + caret */
    #translate-mobile #google_translate_element .goog-te-gadget-simple > span {
        flex: 1;
        white-space: nowrap;
    }

    /* Hilangkan garis pemisah yang bikin tampak berantakan */
    #translate-mobile #google_translate_element .goog-te-gadget-simple span[style*="border-left"] {
        border-left: none !important;
    }
}
.video-wrapper {
    width: min(960px, 100vw); /* 👉 ada width yang jelas */
    margin: auto;
}

.video-aspect {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.video-aspect iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Expanding Search Bar */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 40px; /* Give container a fixed height */
}

.search-input {
    width: 0;
    height: 100%;
    padding: 8px 0;
    border: 1px solid transparent; /* Start with transparent border */
    border-radius: 20px; /* Rounded corners */
    background-color: #ffffff;
    color: #333;
    font-size: 16px;
    transition: width 0.4s ease-in-out, padding 0.4s ease-in-out;
    -webkit-transition: width 0.4s ease-in-out, padding 0.4s ease-in-out;
    opacity: 0;
    box-sizing: border-box; /* Important for padding and border */
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(217, 58, 73, 0.5); /* Optional focus glow */
}

.search-container.active .search-input {
    width: 175px; /* Adjust width as needed */
    padding: 8px 45px 8px 20px; /* top/bottom, right (for icon), left */
    opacity: 1;
    border: 1px solid #ddd;
}

.search-icon {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    color: #333;
    font-size: 18px; /* Slightly smaller icon */
    transition: color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-icon:hover {
    color: #D93A49;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* When the bar is active, the icon can stay on the right */
.search-container.active .search-icon {
    /* No change needed, it's already positioned absolutely */
    /* You could change its color or something if you want */
     background-color: #f8f9fa; /* Slightly different bg on active */
}
/* Style khusus untuk logo agar ukurannya seragam dan rapi */
.partner-logo {
    max-width: 100%;       /* Agar tidak melebar melebihi kolom */
    max-height: 100px;     /* Membatasi tinggi agar logo horizontal & vertikal seimbang */
    width: auto;           /* Menjaga aspek rasio */
    object-fit: contain;   /* Memastikan gambar utuh dalam kotak */
    filter: grayscale(100%); /* Efek hitam putih (opsional, hapus jika ingin berwarna) */
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Efek saat mouse diarahkan ke logo */
.partner-logo:hover {
    filter: grayscale(0%); /* Kembali berwarna */
    opacity: 1;
    transform: scale(1.1); /* Sedikit membesar */
}

/* Helper untuk demo ini saja: Memberi jarak antar baris jika di mobile */
.col-partner {
    margin-bottom: 30px;
}
