/*
Theme Name: TradeIndonesia
Theme URI: https://beta.tradeindonesia.co.id
Description: Child theme for GeneratePress — TradeIndonesia corporate identity
Author: TradeIndonesia Dev Team
Template: generatepress
Version: 1.2.8
Text Domain: tradeindonesia

Changelog:
  1.2.7 (2026-05-04) — Redesain widget Artikel Terbaru tanpa thumbnail dengan border bawah & bullet emas, tambah widget Kategori kustom (TradeIndonesia_Category_Widget).
  1.2.6 (2026-05-04) — Fix override gaya pencarian arsip yang tertimpa GeneratePress, ubah padding menu utama desktop ke 1rem.
  1.2.5 (2026-05-04) — Tambah fitur Vanilla JS Drag-to-Scroll untuk kategori desktop, optimasi CSS margin break-out hero archive agar tidak ada white space di kanan.
  1.2.4 (2026-05-04) — Kembalikan pencarian arsip ke glass transparan sesuai referensi asli, paksa hero full-width viewport, perbesar teks judul widget footer.
  1.2.3 (2026-05-04) — Fix hero background centering, ubah search bar arsip ke light theme (putih, fully rounded), batas 7 kategori, perbesar dikit ID|EN.
  1.2.2 (2026-05-04) — Revert search archive design ke native HTML/Tailwind, fix lang switcher (8px), hide scrollbar kategori arsip.
  1.2.1 (2026-05-04) — Fix: navbar sticky solid color, hapus gradient, search archive rounder, resize lang switcher & login btn, fix submenu hover bridge.
  1.2.0 (2026-05-04) — Footer 4-kolom via dynamic_sidebar(), fix submenu dropdown desktop,
                        fix global font-size (* → body), logo height via CSS var, lang switcher -50%,
                        register footer-col-1/2/3/4 widget areas, CSS footer widget styles.
  1.1.0 (2026-05-04) — Hapus namespace conflict, inline-relates posisi [2,4,6] + guard <6p,
                        navbar glassmorphism sesuai rules (blur 28px, navy gelap), gradient shift
                        #navbar::before, TikTok icon topbar, tags "Kata Kunci" + icon, sidebar fallback,
                        pagination bahasa Indonesia, main.js max-height + aria-expanded.
  1.0.7 (2026-05-03) — Initial child theme build dari referensi single-artikel.html & arsip-artikel.html.
*/


/* ============================================================
   TYPOGRAPHY & GLOBAL
   ============================================================ */
/* PENTING: jangan set font-size di * — ini akan merusak semua elemen termasuk menu GP */
body {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;       /* 16px base */
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, .font-display {
    font-family: 'Cormorant Garamond', Georgia, serif;
}
/* Reset khusus elemen navigasi agar tidak tertimpa font-size body */
#navbar a,
#navbar button,
#topbar a,
#topbar span,
#topbar div {
    font-size: inherit;
}


/* ============================================================
   1. SCROLLBAR & BASE UTILITIES
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream, #f8f5ee); }
::-webkit-scrollbar-thumb { background: var(--navy, #003366); border-radius: 10px; }
html { scroll-behavior: smooth; }

/* ============================================================
   2. NAVBAR — SOLID COLOR (user spec)
   ============================================================ */

/* State Awal: solid semi-transparan */
#navbar {
    background: #003366de;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    transition: background 0.35s ease, box-shadow 0.35s ease,
                padding 0.35s ease, top 0.35s ease;
    position: fixed !important;   /* WAJIB fixed agar sticky */
    left: 0;
    right: 0;
    z-index: 50;
}

/* Hapus gradient overlay ::before */
#navbar::before { display: none !important; }

/* Semua child #navbar harus di atas */
#navbar > * {
    position: relative;
    z-index: 1;
}

/* State Scrolled: solid penuh */
#navbar.scrolled {
    background: #003366 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.28) !important;
    border-bottom-color: rgba(212,175,55,0.2) !important;
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
}


/* ============================================================
   3. HERO BACKGROUNDS
   ============================================================ */
.archive-hero-bg, .article-hero-bg {
    background-image:
        /* Ubah angka 0.95, 0.88, 0.95 di bawah ini jika ingin menyesuaikan kegelapannya */
        linear-gradient(to right, rgba(0,19,38,0.95) 0%, rgba(0,51,102,0.88) 50%, rgba(0,19,38,0.95) 100%),
        var(--custom-hero-bg, url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjisFl_fYK4rgp9Ez1dfPufaNbpL5siW8iAsLPK5Bnyg304mtc2ifUQjgPo07C_IF5sh1RHpcPN0dQFB4iZ88wC2cmD2k3egBMNutM0nwLUmKQv0V1kq2LmZYrL9rd8RLXa-O2iy92lHUQHnHVbEt_QnQxHhV9noSMAgFWHAXHTvszFHxV1WZrtjrC4Quc/s1200/TradeIndonesia%20007_1_Global-Trade-scaled.jpg')) !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}
.hero-grid-overlay {
    background-image:
        linear-gradient(rgba(212,175,55,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.07) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ============================================================
   4. ANIMATIONS & CARD COMPONENTS
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }
.fade-up.delay-6 { transition-delay: 0.6s; }
.fade-up.delay-7 { transition-delay: 0.7s; }
.fade-up.delay-8 { transition-delay: 0.8s; }

.artikel-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.artikel-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,51,102,0.12); border-color: rgba(212,175,55,0.35); }

.tag-pill { transition: background 0.2s, color 0.2s, border-color 0.2s; }
.tag-pill:hover, .tag-pill.active { background: var(--navy, #003366); color: #fff; border-color: var(--navy, #003366); }

/* ============================================================
   5. ARTICLE CONTENT — TYPOGRAPHY
   ============================================================ */
.article-body p { margin-bottom: 1.25rem; color: #374151; }
.article-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.65rem; font-weight: 600; color: var(--navy, #003366); margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: var(--navy, #003366); margin-top: 2rem; margin-bottom: 0.75rem; }
.article-body ul { list-style-type: disc; margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-body ol { list-style-type: decimal; margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; color: #374151; }
.article-body blockquote { border-left: 3px solid var(--gold, #D4AF37); padding-left: 1.25rem; margin: 1.5rem 0; font-style: italic; color: #4B5563; }
.article-body strong { color: var(--navy, #003366); font-weight: 600; }
.article-body a {
    color: var(--navy, #003366);
    text-decoration: none; /* Hilangkan garis bawah bawaan agar tidak berantakan */
    border-bottom: 2px solid var(--gold, #D4AF37); /* Garis bawah emas tebal 2px */
    padding-bottom: 1px; /* Jarak antara teks dan garis */
    transition: all 0.2s ease;
}

.article-body a:hover {
    color: var(--gold, #D4AF37);
    background-color: rgba(212,175,55,0.1); /* Memberi sedikit sorotan emas transparan saat disentuh */
}
.article-body img { border-radius: 1rem; margin: 1.5rem 0; width: 100%; height: auto; }
.article-body figure { margin: 2rem 0; }
.article-body figcaption { text-align: center; font-size: 0.8rem; color: #9CA3AF; margin-top: 0.5rem; }
/* ============================================================
   6. INLINE RELATE "BACA JUGA" & WIDGETS
   ============================================================ */
.inline-relate-detik {
    border-left: 5px solid var(--navy, #003366); /* Garis biru tebal di kiri */
    padding-left: 1rem;
    margin: 2rem 0;
}

.inline-relate-detik .inline-relate-label {
    display: block; /* Memaksa label "Baca Juga:" berada di baris atas */
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.3rem;
}

/* Memanggil .article-body agar menang melawan style garis bawah bawaan tema */
.article-body .inline-relate-detik a.inline-relate-title {
    display: block; /* Memaksa judul berada di baris bawah */
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy, #003366);
    line-height: 1.4;
    text-decoration: none !important; /* Menghilangkan garis bawah bawaan tema */
    border-bottom: none !important; /* PENTING: Mengecualikan garis emas dari link biasa */
    padding-bottom: 0 !important; /* Mereset padding bawah */
    background-color: transparent !important; /* Mencegah munculnya sorotan background saat disentuh */
    transition: color 0.2s ease;
}

.article-body .inline-relate-detik a.inline-relate-title:hover {
    color: var(--gold, #D4AF37) !important; /* Hanya berubah warna teks menjadi emas saat disentuh kursor */
    background-color: transparent !important;
}

/* Sidebar Widgets */
.sidebar-widget { background: #fff; border: 1px solid rgba(0,51,102,0.08); border-radius: 1rem; padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-widget h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold, #D4AF37);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,51,102,0.08);
}
.sidebar-widget ul {
    margin-left: 0 !important;
    list-style: none !important;
}
.sidebar-widget ul.space-y-4 li a.group .min-w-0 { flex: 1; min-width: 0; }

/* Reading Progress Bar */
#reading-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
    background: linear-gradient(90deg, var(--gold, #D4AF37), #E8CB5B);
    width: 0%;
    transition: width 0.1s linear;
}

/* Share Buttons */
.share-btn { transition: transform 0.2s, background 0.2s, color 0.2s; }
.share-btn:hover { transform: translateY(-2px); }

/* ============================================================
   7. ARCHIVE — FILTER, SEARCH, PAGINATION
   ============================================================ */
.filter-btn { transition: all 0.2s ease; }
.filter-btn:hover, .filter-btn.active { background: var(--navy, #003366); color: #fff; border-color: var(--navy, #003366); }

/* Search Input Focus Ring */
.search-input:focus {
    border-color: var(--gold, #D4AF37) !important;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15) !important;
    outline: none;
}

/* ============================================================
   7B. ARCHIVE SEARCH OVERRIDE (Mencegah style bawaan GP putih solid)
   ============================================================ */
.archive-hero-bg form input[type="text"],
.archive-hero-bg form input[type="search"] {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 9999px !important;
    color: #ffffff !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 0.875rem 3.5rem 0.875rem 1.5rem !important;
    box-shadow: none !important;
}
.archive-hero-bg form input[type="text"]::placeholder,
.archive-hero-bg form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}
.archive-hero-bg form input[type="text"]:focus,
.archive-hero-bg form input[type="search"]:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Pagination */
.pagination-wrapper { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; }
.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 1px solid rgba(0,51,102,0.15);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy, #003366);
    transition: all 0.2s ease;
    text-decoration: none;
}
.pagination-wrapper a:hover,
.pagination-wrapper span.current {
    background-color: var(--navy, #003366);
    color: #ffffff;
    border-color: var(--navy, #003366);
}

/* ============================================================
   8. OVERRIDE MENU GENERATEPRESS — DESKTOP
   ============================================================ */

/* Reset list styles GP */
.custom-menu-colors ul,
.custom-menu-colors li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Baris menu utama */
.custom-menu-colors > ul {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;     /* gap kecil, jarak diatur via padding link */
    flex-wrap: nowrap !important;
}

/* Setiap item menu — position relative */
.custom-menu-colors > ul > li {
    position: relative !important;
}

/* Link level-1 — font LEBIH BESAR */
.custom-menu-colors > ul > li > a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem !important;    /* diperbesar dari 0.875rem */
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap;
    text-decoration: none !important;
    padding: 1rem 0.9rem !important;   /* padding atas bawah 1rem sesuai spec, kiri kanan 0.9rem */
    display: inline-block !important;
    transition: color 0.2s ease !important;
    background: transparent !important;
    border-radius: 0.375rem !important;
}
.custom-menu-colors > ul > li > a:hover,
.custom-menu-colors > ul > li.current-menu-item > a,
.custom-menu-colors > ul > li.current-menu-parent > a {
    color: var(--gold, #D4AF37) !important;
    background: rgba(255,255,255,0.06) !important;
}

/* ═══ SUB-MENU: Hover Bridge — cegah gap antara link dan submenu ═══
   Teknik: padding-top pada submenu = area "jembatan" hover
   Submenu ditempatkan lebih dekat (margin-top negatif) lalu padding mengisi gap */
.custom-menu-colors ul.sub-menu {
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;               /* tepat di bawah li, tanpa gap */
    padding-top: 0.6rem !important;     /* HOVER BRIDGE: area transparan yang masih terhitung hover */
    min-width: 14rem !important;
    z-index: 500 !important;
    /* Sembunyikan by default */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-4px) !important;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
}

/* Box visual submenu — terpisah dari wrapper agar hover-bridge tetap transparan */
.custom-menu-colors ul.sub-menu::after {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,51,102,0.06);
    z-index: -1;
}

/* Tampil saat hover li ATAU sfHover (GP JS) */
.custom-menu-colors > ul > li:hover > ul.sub-menu,
.custom-menu-colors > ul > li.sfHover > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Link di dalam sub-menu */
.custom-menu-colors ul.sub-menu > li {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.custom-menu-colors ul.sub-menu > li > a {
    display: block !important;
    padding: 0.6rem 1.25rem !important;
    color: var(--navy, #003366) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    background: transparent !important;
    text-decoration: none !important;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: background 0.18s ease, color 0.18s ease !important;
}
.custom-menu-colors ul.sub-menu > li > a:hover {
    color: var(--gold, #D4AF37) !important;
    background: #f8f5ee !important;
}

/* Tambah padding bawah di submenu agar tidak terpotong */
.custom-menu-colors ul.sub-menu > li:last-child > a {
    padding-bottom: 0.75rem !important;
}

/* ============================================================
   9. OVERRIDE MENU GENERATEPRESS — MOBILE
   ============================================================ */
svg.hidden { display: none !important; }

.custom-menu-colors-mobile ul,
.custom-menu-colors-mobile li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Main list mobile */
.custom-menu-colors-mobile > ul {
    display: flex !important;
    flex-direction: column !important;
    padding: 0.75rem !important;
    gap: 0.125rem !important;
}

/* Link utama mobile */
.custom-menu-colors-mobile ul > li > a {
    color: rgba(255, 255, 255, 0.88) !important;
    display: block !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}
.custom-menu-colors-mobile ul > li > a:hover,
.custom-menu-colors-mobile ul > li.current-menu-item > a {
    color: var(--gold, #D4AF37) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Sub-menu mobile — tampil sebagai indented list (bukan dropdown absolut) */
.custom-menu-colors-mobile ul.sub-menu {
    display: flex !important;
    flex-direction: column !important;
    padding: 0.25rem 0 0.25rem 1rem !important;
    border-left: 2px solid rgba(212,175,55,0.3) !important;
    margin: 0 0 0.25rem 1rem !important;
}
.custom-menu-colors-mobile ul.sub-menu > li > a {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.65) !important;
    border-radius: 0.375rem !important;
}
.custom-menu-colors-mobile ul.sub-menu > li > a:hover {
    color: var(--gold, #D4AF37) !important;
    background: rgba(255,255,255,0.06) !important;
}

/* ============================================================
   10. BREADCRUMB RANKMATH — WARNA EMAS
   ============================================================ */
.rankmath-breadcrumb-custom span.last,
.rankmath-breadcrumb-custom strong,
.rankmath-breadcrumb-custom .breadcrumb_last {
    color: var(--gold, #D4AF37) !important;
    font-weight: 500;
}

/* ============================================================
   11. SECTION LABEL (Editorial Badge)
   ============================================================ */
.section-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold, #D4AF37);
}

/* ============================================================
   12. TABLE OF CONTENTS LINK
   ============================================================ */
.toc-link { transition: color 0.2s, padding-left 0.2s; }
.toc-link:hover, .toc-link.active { color: var(--gold, #D4AF37); padding-left: 0.5rem; }

/* ============================================================
   13. LOGO — CSS Variable Height Control
   Dikontrol via Customizer: Appearance > TradeIndonesia > Logo Height
   ============================================================ */
.ti-logo-img {
    max-height: var(--ti-logo-height, 40px);
    width: auto;
    object-fit: contain;
    display: block;
}

/* ============================================================
   14. LANGUAGE SWITCHER — Proporsional dengan icon sosmed
   ============================================================ */
#ti-lang-switcher {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    overflow: hidden;
    font-size: 10px !important;   /* Diperbesar sedikit sesuai permintaan */
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}
#ti-lang-switcher a,
#ti-lang-switcher li a {
    display: inline-block;
    padding: 4px 8px !important;   /* Padding disesuaikan */
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}
#ti-lang-switcher a.active-lang {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
}
#ti-lang-switcher a:hover {
    color: #ffffff;
}

/* Login Button di topbar — proporsional dengan icon sosmed */
#ti-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6rem !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.55) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 20px !important;
    padding: 0.28rem 0.65rem !important;   /* setara tinggi icon sosmed */
    text-decoration: none !important;
    transition: border-color 0.2s, color 0.2s !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-shrink: 0;
}
#ti-login-btn:hover {
    border-color: var(--gold, #D4AF37) !important;
    color: var(--gold, #D4AF37) !important;
}


/* ============================================================
   15. FOOTER WIDGET AREAS
   ============================================================ */

/* Judul widget di footer */
.footer-widget-title,
.footer-col .widget-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: var(--gold, #D4AF37) !important;
    margin-bottom: 1.1rem !important;
    padding-bottom: 0.65rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* Nav list di footer (Navigasi & Layanan) */
.footer-nav-list,
.footer-col ul.menu,
.footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.footer-nav-list li,
.footer-col ul.menu li,
.footer-col ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav-list li a,
.footer-col ul.menu li a,
.footer-col ul li a {
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
    padding: 0.1rem 0 !important;
}

.footer-nav-list li a:hover,
.footer-col ul.menu li a:hover,
.footer-col ul li a:hover {
    color: #fff !important;
}

/* Sembunyikan sub-menu di footer — hanya tampilkan level 1 */
.footer-col ul.menu ul.sub-menu,
.footer-col ul .sub-menu {
    display: none !important;
}

/* Daftar kontak footer (icon + text) */
.footer-contact-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.footer-contact-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
}

.footer-contact-list li svg {
    color: var(--gold, #D4AF37) !important;
    flex-shrink: 0 !important;
    margin-top: 3px !important;
}

.footer-contact-list li a {
    color: rgba(255,255,255,0.55) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.footer-contact-list li a:hover {
    color: #fff !important;
}

/* Widget Text bawaan WP — styling di footer */
.footer-col .textwidget,
.footer-col .widget_text .textwidget {
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.8rem !important;
    line-height: 1.7 !important;
}

.footer-col .textwidget a {
    color: rgba(255,255,255,0.65) !important;
    transition: color 0.2s !important;
}

.footer-col .textwidget a:hover {
    color: var(--gold, #D4AF37) !important;
}

/* Widget Recent Posts di footer */
.footer-col .widget_recent_entries ul {
    gap: 0.5rem !important;
}

.footer-col .widget_recent_entries ul li a {
    font-size: 0.78rem !important;
}

/* ============================================================
   16. ARCHIVE SEARCH INPUT & SCROLLBAR
   ============================================================ */

/* Pastikan hero archive tetap proporsional dan tidak tergeser kiri */
.archive-hero-bg {
    background-position: center center !important;
    background-size: cover !important;
}

/* Sesuai desain asli arsip-artikel.html: efek glow kuning saat fokus */
.search-input:focus {
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15) !important;
}

/* Menyembunyikan scrollbar di filter kategori horizontal (swipe) */
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}