/* =========================================================
   PB PADMI — MASTER STYLESHEET
   ========================================================= */

/* =========================================================
   1. ROOT & RESET
========================================================= */
:root {
    /* Bright & Elegant Blue Palette */
    --blue-primary: #0088ff;      /* Biru cerah utama */
    --blue-light: #50e4ff;        /* Cyan/biru muda terang untuk aksen */
    --blue-dark: #004fb3;         /* Biru tua dalam */
    --blue-accent: #00c6ff;       /* Aksen cyan cerah */
    --red: #f43f5e;               /* Merah aksen */
    
    /* Luxury Sky Blue Header Palette */
    --header-bg-start: #00b4db;   /* Gradient awal: Biru langit cerah */
    --header-bg-end: #0083b0;     /* Gradient akhir: Biru samudra dalam */
    --header-bg: linear-gradient(135deg, var(--header-bg-start), var(--header-bg-end));
    --header-border-bottom: rgba(255, 255, 255, 0.2);
    --header-shadow: 0 4px 20px rgba(0, 180, 219, 0.25);
    
    /* Dark Theme Palette (Deep Navy Backgrounds) */
    --bg-main: #0a0f1d;           /* Latar belakang utama (Deep Navy) */
    --bg-card: #111827;           /* Latar belakang kartu */
    --bg-card-hover: #1b2438;     /* Warna kartu saat di-hover */
    --border-dark: rgba(0, 180, 219, 0.2);     /* Border berpijar lembut */
    --border-hover: rgba(80, 228, 255, 0.5);   /* Border lebih cerah saat di-hover */
    
    --text-heading: #f8fafc;       /* Teks judul */
    --text-body: #cbd5e1;          /* Teks isi */
    --text-muted: #94a3b8;         /* Teks sekunder */

    --header-h: 50px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius-lg: 16px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: var(--header-h);
    background: var(--bg-main);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    min-width: 320px;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all .25s ease;
}

button {
    cursor: pointer;
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

img, iframe, video {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, calc(100% - (var(--gutter) * 2)));
    margin: 0 auto;
}

/* CINEMATIC TEXTURE OVERLAY */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

/* =========================================================
   2. FLOATING ACTION BUTTONS
========================================================= */
.floating-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

.float-wa {
    background: #25d366;
}

.float-wa:hover {
    background: #1eb956;
}

.float-email {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    color: var(--gold-light);
}

.float-email:hover {
    background: var(--gold);
    color: #0a0c10;
}

.float-top {
    background: #111827;
    border: 1px solid var(--border-dark);
    color: var(--gold-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}

.float-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-top:hover {
    background: var(--gold);
    color: #0a0c10;
}

/* =========================================================
   3. HEADER & NAVIGATION
========================================================= */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(10, 12, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--text-heading);
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.brand span {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.brand small {
    display: block;
    color: var(--gold-light);
    font-weight: 600;
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: 1px;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 22px;
}

.navlinks > a, .dropbtn {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    padding: 6px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.navlinks > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--gold);
    transition: width .3s ease;
}

.navlinks > a:hover {
    color: var(--gold-light);
}

.navlinks > a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    color: var(--text-heading);
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    background: rgba(255,255,255,0.05);
    place-items: center;
}

/* DROPDOWN STANDAR */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    min-width: 220px;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.5);
    border-radius: 8px;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-body);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown-content a:hover {
    background-color: rgba(217, 167, 43, 0.12);
    color: var(--gold-light);
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

.dropdown.active .dropdown-content {
    display: block;
}

/* MEGA DROPDOWN WILAYAH KERJA */
.dropdown-mega {
    position: static;
}

.sp-dropdown.sp-dropdown-main.sp-dropdown-mega {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    width: min(1120px, calc(100vw - 32px));
    transform: translateX(-50%) translateY(-8px);
    display: none;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.dropdown-mega.active .sp-dropdown.sp-dropdown-main.sp-dropdown-mega {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sp-dropdown-inner {
    width: 100%;
    padding: 24px;
    background: rgba(12, 15, 21, .98);
    border: 1px solid var(--border-dark);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 45px rgba(0,0,0,.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.sp-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.sp-mega-group {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-group-title {
    display: block;
    margin: 0 0 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--border-dark);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.sp-mega-group-child {
    display: grid;
    gap: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-menu-item a {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 9px;
    border-radius: 7px;
    color: var(--text-body);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.sp-menu-item a::before {
    content: "\f054";
    margin-right: 8px;
    color: var(--gold-dark);
    font-family: "Font Awesome 6 Free";
    font-size: 8px;
    font-weight: 900;
    transition: color .2s ease, transform .2s ease;
}

.sp-menu-item a:hover {
    color: var(--gold-light);
    background: rgba(217,167,43,.10);
    transform: translateX(3px);
}

.sp-menu-item a:hover::before {
    color: var(--gold-light);
    transform: translateX(2px);
}

@media (min-width: 769px) {
    .dropdown-mega:hover .sp-dropdown.sp-dropdown-main.sp-dropdown-mega {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

/* =========================================================
   4. CINEMATIC HERO SLIDER
========================================================= */

/* 1. Pastikan Konten & Tombol 'SELENGKAPNYA' Bisa Diklik */
.padmi-content {
    position: relative;
    z-index: 5; /* Menaikkan z-index agar berada di atas overlay */
}

.padmi-btn {
    position: relative;
    z-index: 6;
    cursor: pointer;
    pointer-events: auto !important;
}

/* 2. Fix Navigasi & Tombol Panah (Prev/Next) */
.padmi-navigation {
    position: absolute;
    z-index: 20; /* Nilai z-index sangat tinggi agar berada di paling atas */
    left: 5%;
    right: 5%;
    bottom: 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none; /* Pembungkus mengabaikan klik agar area kosong di antaranya bisa diklik */
}

/* Mengaktifkan kembali klik pada Dots dan Arrows */
.padmi-dots,
.padmi-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto !important; /* WAJIB: Agar tombol panah & dots merespons klik */
    position: relative;
    z-index: 25;
}

.padmi-arrow,
.padmi-dot {
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none;
}

/* Memastikan ikon di dalam tombol tidak menghalangi event click */
.padmi-arrow i {
    pointer-events: none;
}
.padmi-slider {
    position: relative;
    width: 100%;
    min-height: 620px;
    height: min(760px, 85vh);
    overflow: hidden;
    background: #080b13;
    isolation: isolate;
    color: #fff;
}

.padmi-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1s ease, visibility 1s ease;
}

.padmi-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.padmi-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 7s ease;
    z-index: -2;
}

.padmi-slide.active .padmi-bg {
    transform: scale(1.12);
}

.padmi-bg.bg-1 { background-image: url("https://mediataranews.com/wp-content/uploads/2025/05/Screenshot_20250505-173814.jpg?auto=format&fit=crop&w=2000&q=85"); }
.padmi-bg.bg-2 { background-image: url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=2000&q=85"); }
.padmi-bg.bg-3 { background-image: url("https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?auto=format&fit=crop&w=2000&q=85"); }
.padmi-bg.bg-4 { background-image: url("https://images.unsplash.com/photo-1524368535928-5b5e00ddc76b?auto=format&fit=crop&w=2000&q=85"); }
.padmi-bg.bg-5 { background-image: url("https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?auto=format&fit=crop&w=2000&q=85"); }
.padmi-bg.bg-6 { background-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=2000&q=85"); }
.padmi-bg.bg-7 { background-image: url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=2000&q=85"); }

.padmi-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 18, .94) 0%,
            rgba(5, 8, 18, .78) 36%,
            rgba(5, 8, 18, .35) 70%,
            rgba(5, 8, 18, .18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 7, 15, .78) 0%,
            transparent 55%,
            rgba(4, 7, 15, .15) 100%
        );
}

.padmi-content {
    position: relative;
    z-index: 3;
    width: min(1180px, 90%);
    height: 100%;
    min-height: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 0 100px;
}

.padmi-kicker {
    display: inline-block;
    margin-bottom: 20px;
    padding: 9px 15px;
    border-left: 3px solid var(--gold-accent);
    background: rgba(255, 255, 255, .08);
    color: #f5d79b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.padmi-content h1 {
    margin: 0 0 15px;
    max-width: 950px;
    color: #fff;
    font-size: clamp(42px, 6.4vw, 88px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, .3);
}

.padmi-content h1 strong {
    color: var(--gold-accent);
}

.padmi-content h2 {
    max-width: 780px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(17px, 2.2vw, 27px);
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.padmi-content p {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.85;
}

.padmi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 50px;
    padding: 0 25px;
    border: 1px solid var(--gold-accent);
    border-radius: 3px;
    background: linear-gradient(135deg, #f1d394, #c69442);
    color: #17130b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.padmi-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(218, 169, 81, .28);
}

/* Navigasi slider */
.padmi-navigation {
    position: absolute;
    z-index: 10;
    left: 5%;
    right: 5%;
    bottom: 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.padmi-dots,
.padmi-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.padmi-dot,
.padmi-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(10, 12, 20, .45);
    color: #fff;
    cursor: pointer;
    transition: all .25s ease;
}

.padmi-dot {
    width: 27px;
    height: 4px;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,.45);
}

.padmi-dot.active {
    width: 45px;
    background: var(--gold-accent);
}

.padmi-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
}

.padmi-arrow:hover {
    background: var(--gold-accent);
    color: #111;
}

.padmi-dot:focus-visible,
.padmi-arrow:focus-visible,
.padmi-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* =========================================================
   5. HERO SECONDARY SECTION
========================================================= */
.hero {
    padding: clamp(50px, 7vw, 90px) 0;
    background: var(--bg-main);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(30px, 4vw, 60px);
    align-items: center;
}

.eyebrow {
    color: var(--gold-light);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 8px;
}

h1.hero-title {
    font-size: clamp(28px, 3.8vw, 46px);
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-heading);
    font-weight: 800;
}

h1.hero-title span {
    color: var(--gold-light);
}

.hero-content p {
    font-size: clamp(14px, 1.1vw, 16px);
    color: var(--text-body);
}

.btn-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(217,167,43,0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217,167,43,0.4);
}

.audio-btn {
    background: rgba(217, 167, 43, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold-light);
}

.audio-btn:hover {
    background: var(--gold);
    color: #000;
}

.hero-media {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.hero-slider {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-dark);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    background: #000;
}

.slider-inner { width: 100%; overflow: hidden; }

.slider-container {
    display: flex;
    list-style: none;
    padding: 0; margin: 0;
    width: 1800%;
    animation: slideAnimation 40s infinite ease-in-out;
}

.slider-item { 
    width: 5.55%; 
    flex-shrink: 0; 
}

.img-holder {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideAnimation {
    0%, 5% { transform: translateX(0); }
    5.55%, 10.55% { transform: translateX(-5.55%); }
    11.11%, 16.11% { transform: translateX(-11.11%); }
    16.66%, 21.66% { transform: translateX(-16.66%); }
    22.22%, 27.22% { transform: translateX(-22.22%); }
    27.77%, 32.77% { transform: translateX(-27.77%); }
    33.33%, 38.33% { transform: translateX(-33.33%); }
    38.88%, 43.88% { transform: translateX(-38.88%); }
    44.44%, 49.44% { transform: translateX(-44.44%); }
    50%, 55% { transform: translateX(-50%); }
    55.55%, 60.55% { transform: translateX(-55.55%); }
    61.11%, 66.11% { transform: translateX(-61.11%); }
    66.66%, 71.66% { transform: translateX(-66.66%); }
    72.22%, 77.22% { transform: translateX(-72.22%); }
    77.77%, 82.77% { transform: translateX(-77.77%); }
    83.33%, 88.33% { transform: translateX(-83.33%); }
    88.88%, 93.88% { transform: translateX(-88.88%); }
    94.44%, 99.44% { transform: translateX(-94.44%); }
    100% { transform: translateX(0); }
}

.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    background: #000;
    aspect-ratio: 16/9;
    margin-top: 16px;
}

.video-card iframe {
    width: 100%; height: 100%; border: 0;
}

.padmi-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    background: rgba(217, 167, 43, 0.1);
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 700;
    margin-top: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.padmi-whatsapp:hover {
    background: rgba(217, 167, 43, 0.2);
    border-color: var(--border-hover);
}

/* =========================================================
   6. DATABASE NEWS & BERITA DINAMIS
========================================================= */
.news-db-section {
    width: 100%;
    max-width: 1250px;
    margin: 50px auto;
    padding: 0 20px;
}

.news-db-area {
    margin-bottom: 48px;
}

.news-db-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.news-db-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.news-db-header h2 {
    margin: 0;
    color: var(--text-heading);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
}

.news-db-header p {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* REFRESH */
.news-refresh {
    border: 1px solid var(--gold);
    background: var(--bg-card);
    color: var(--gold-light);
    border-radius: 8px;
    padding: 11px 17px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
    white-space: nowrap;
}

.news-refresh:hover {
    background: var(--gold);
    color: #0a0c10;
}

/* TOOLBAR */
.news-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.news-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 9px;
    flex: 1 1 260px;
    min-width: 220px;
    transition: .2s ease;
}

.news-search-box:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(217,167,43,.12);
}

.news-search-box span {
    color: var(--text-muted);
    font-size: 20px;
}

.news-search-box input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text-heading);
    font-size: 14px;
}

#newsCategory,
.news-toolbar select {
    flex: 0 1 230px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--border-dark);
    border-radius: 9px;
    background: var(--bg-card);
    color: var(--text-heading);
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

#newsCategory:focus,
.news-toolbar select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(217,167,43,.12);
}

/* STATUS */
.news-status {
    min-height: 24px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 13px;
}

/* GRID */
.news-grid-dynamic,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

/* KARTU BERITA TEMA CINEMATIC DARK */ 

/* Mengatur grid menjadi 4 kolom */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 Kolom sama lebar */
  gap: 16px; /* Jarak antar kartu berita */
}

/* Penyesuaian ukuran thumbnail/gambar agar lebih kecil & proporsional */
.news-grid .news-card img,
.news-grid .news-thumbnail img {
  width: 70%;
  height: 100px; /* Atur tinggi gambar agar lebih ringkas */
  object-fit: cover; /* Menjaga rasio gambar agar tidak terdistorsi */
  border-radius: 8px 8px 0 0;
}

/* Penyesuaian ukuran teks agar pas di kolom yang lebih kecil */
.news-grid .news-card-title {
  font-size: 0.95rem; /* Ukuran judul lebih kecil */
  line-height: 1.3;
  margin-bottom: 8px;
}

.news-grid .news-card-excerpt {
  font-size: 0.8rem; /* Ukuran deskripsi lebih kecil */
  color: #a0aec0;
}

/* Responsif: Menyesuaikan tampilan di layar yang lebih kecil */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom di tablet */
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr; /* 1 kolom di HP */
  }
}
.news-db-card,
.news-card-dynamic {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-db-card:hover,
.news-card-dynamic:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0,0,0,.5);
    background: var(--bg-card-hover);
}

.news-db-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.news-db-image img,
.news-card-dynamic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.news-db-card:hover .news-db-image img,
.news-card-dynamic:hover img {
    transform: scale(1.05);
}

.news-db-category {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    border-radius: 5px;
    background: var(--gold);
    color: #0a0c10;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 2;
}

.news-db-content,
.news-card-dynamic .news-card-content {
    padding: 20px;
}

.news-db-date,
.news-meta {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.news-db-title,
.news-card-dynamic h3 {
    margin: 0 0 10px;
    color: var(--text-heading);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-db-excerpt,
.news-card-dynamic p {
    margin: 0 0 16px;
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-db-link,
.news-read {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color .2s ease;
}

.news-db-link:hover,
.news-read:hover {
    color: #fff;
}

/* STATE: LOADING, EMPTY, ERROR */
.news-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 150px;
    color: var(--gold-light);
    font-size: 14px;
}

.news-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: newsSpin .7s linear infinite;
}

@keyframes newsSpin {
    to { transform: rotate(360deg); }
}

.news-empty {
    padding: 45px 20px;
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-dark);
    border-radius: var(--radius-md);
    color: var(--text-muted);
}

.news-empty-icon {
    font-size: 38px;
    margin-bottom: 10px;
}

.news-empty h3 {
    margin: 0 0 7px;
    color: var(--text-heading);
}

.news-empty p {
    margin: 0;
    font-size: 13px;
}

.news-error {
    padding: 15px;
    border: 1px solid rgba(215, 25, 32, 0.4);
    border-radius: 8px;
    background: rgba(215, 25, 32, 0.1);
    color: #ffb4b4;
    font-size: 13px;
}

.manual-news-area {
    margin-top: 40px;
    padding-top: 35px;
    border-top: 1px solid var(--border-dark);
}

.manual-news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 0 0 20px;
}

.manual-news-heading h3 {
    margin: 0;
    color: var(--text-heading);
}

.manual-news-heading span {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 700;
}

/* =========================================================
   7. GALLERY & LIGHTBOX
========================================================= */
.gallery-section { 
    padding: clamp(50px, 7vw, 90px) 0; 
}

.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    width: 100%;
    scrollbar-width: none;
}

.gallery::-webkit-scrollbar { display: none; }

.gallery-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    position: relative;
    margin: 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform .45s ease;
}

.gallery-item img:hover { transform: scale(1.06); }

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 48%, rgba(0,0,0,.85));
    opacity: .8;
    pointer-events: none;
}

.gallery-item figcaption {
    position: absolute;
    z-index: 1;
    left: 15px;
    right: 15px;
    bottom: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 10px;
    text-align: center;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.7);
    color: var(--gold-light);
    border: 1px solid var(--border-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-btn:hover { 
    background-color: var(--gold); 
    color: #000;
}

.prev-btn { left: -15px; }
.next-btn { right: -15px; }

/* MODAL LIGHTBOX */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

.modal-caption {
    margin: 15px auto;
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    max-width: 80%;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* =========================================================
   8. COMMON SECTIONS & CARDS
========================================================= */
section { 
    padding: clamp(50px, 7vw, 90px) 0; 
    background: var(--bg-main);
}

section.about, section.news, section.contact {
    background: #0d0f15;
}

.section-title { text-align: center; margin-bottom: clamp(35px, 5vw, 55px); }
.section-title h2 { font-size: clamp(26px, 3.5vw, 36px); color: var(--text-heading); line-height: 1.2; font-weight: 800; }
.section-title p { color: var(--text-muted); margin-top: 8px; font-size: clamp(13px, 1.1vw, 15px); }
.section-title .line { width: 50px; height: 3px; background: var(--gold); margin: 12px auto; border-radius: 10px; }

.about-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bidang-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.bidang-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bidang-item h4 {
    color: var(--gold-light);
    font-size: 15px;
    margin-bottom: 10px;
}

.bidang-item ul {
    padding-left: 18px;
    color: var(--text-body);
    font-size: 13px;
}

.bidang-item li {
    margin-bottom: 6px;
}

.card {
    background: var(--bg-card);
    color: var(--text-body);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3vw, 30px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all .3s ease;
}

.card:hover { 
    transform: translateY(-4px); 
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    background: var(--bg-card-hover);
}

.card h3 { color: var(--text-heading); margin-bottom: 10px; font-size: 18px; font-weight: 700; }

/* ==========================================
       RESET & BASE STYLES
    ========================================== */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: #0b0f19; /* Latar belakang gelap */
      color: #f3f4f6;
      padding: 40px 20px;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    /* ==========================================
       SECTION TITLE STYLES
    ========================================== */
    .news .section-title {
      text-align: center;
      margin-bottom: 30px;
    }

    .news .section-title h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 8px;
    }

    .news .section-title .line {
      width: 60px;
      height: 4px;
      background: #f59e0b; /* Warna aksen emas/kuning */
      margin: 0 auto 12px auto;
      border-radius: 2px;
    }

    .news .section-title p {
      color: #9ca3af;
      font-size: 0.95rem;
    }

    /* ==========================================
       TOOLBAR (SEARCH, FILTER, REFRESH)
    ========================================== */
    .news-toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 25px;
      justify-content: space-between;
      align-items: center;
      background-color: #111827;
      padding: 14px 18px;
      border-radius: 12px;
      border: 1px solid #1f2937;
    }

    .news-search-box {
      position: relative;
      flex: 1;
      min-width: 220px;
    }

    .news-search-box span {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: #6b7280;
      font-size: 1.1rem;
    }

    .news-search-box input {
      width: 100%;
      padding: 10px 14px 10px 38px;
      background-color: #1f2937;
      border: 1px solid #374151;
      border-radius: 8px;
      color: #ffffff;
      font-size: 0.9rem;
      outline: none;
      transition: border-color 0.2s;
    }

    .news-search-box input:focus {
      border-color: #f59e0b;
    }

    #newsCategory {
      padding: 10px 14px;
      background-color: #1f2937;
      border: 1px solid #374151;
      border-radius: 8px;
      color: #ffffff;
      font-size: 0.9rem;
      outline: none;
      cursor: pointer;
    }

    .news-refresh {
      padding: 10px 16px;
      background-color: #f59e0b;
      color: #0d1321;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: background 0.2s, transform 0.1s;
    }

    .news-refresh:hover {
      background-color: #d97706;
    }

    .news-status {
      margin-bottom: 15px;
      font-size: 0.875rem;
      color: #9ca3af;
    }

    /* ==========================================
       NEWS GRID & CARDS (MATCHING IMAGE STYLE)
    ========================================== */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2 kolom seperti di gambar */
      gap: 20px;
    }

    @media (max-width: 900px) {
      .news-grid {
        grid-template-columns: 1fr; /* 1 kolom untuk layar HP/Tablet kecil */
      }
    }

    /* Kartu Berita */
    .news-card {
      display: flex;
      background-color: #111827; /* Warna gelap kartu */
      border: 1px solid #1e293b; /* Border subtle */
      border-radius: 16px;
      padding: 16px;
      gap: 16px;
      align-items: center;
      transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
      text-decoration: none;
      color: inherit;
    }

    .news-card:hover {
      transform: translateY(-2px);
      border-color: #374151;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    }

    /* Gambar Berita */
    .news-card-img {
      width: 130px;
      height: 120px;
      flex-shrink: 0;
      border-radius: 12px;
      overflow: hidden;
      background-color: #1f2937;
    }

    .news-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Konten Kartu Berita */
    .news-card-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex: 1;
      min-width: 0; /* Mencegah text overflow */
    }

    /* Badge Kategori */
    .news-card-badge {
      align-self: flex-start;
      display: inline-block;
      padding: 4px 10px;
      background-color: rgba(245, 158, 11, 0.12); /* Kuning semi transparan */
      border: 1px solid rgba(245, 158, 11, 0.4);
      color: #f59e0b; /* Warna teks kuning/emas */
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      border-radius: 6px;
      margin-bottom: 10px;
    }

    /* Judul Berita */
    .news-card-title {
      font-size: 0.98rem;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.4;
      margin-bottom: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 2; /* Maksimal 2 baris teks */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Tanggal & Waktu */
    .news-card-date {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.78rem;
      color: #94a3b8;
    }

    .news-card-date i {
      font-size: 0.75rem;
    }

    /* ==========================================
       EMPTY STATE
    ========================================== */
    .news-empty {
      text-align: center;
      padding: 50px 20px;
      background-color: #111827;
      border-radius: 16px;
      border: 1px dashed #374151;
      margin-top: 20px;
    }

    .news-empty-icon {
      font-size: 3rem;
      margin-bottom: 12px;
    }

    .news-empty h3 {
      font-size: 1.2rem;
      color: #ffffff;
      margin-bottom: 6px;
    }

    .news-empty p {
      color: #9ca3af;
      font-size: 0.9rem;
    }
.icon { font-size: 32px; margin-bottom: 12px; }

.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.person { text-align: center; }

.avatar {
    width: 140px;
    height: 170px;
    margin: 0 auto 16px;
    background: #050505;
    overflow: hidden;
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

.avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.contact-box {
    display: flex; gap: 16px;
    padding: 18px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    margin-bottom: 14px;
}

.contact-box i {
    color: var(--gold-light);
    font-size: 20px;
    margin-top: 2px;
}

.contact-box strong {
    color: var(--text-heading);
}

form { display: grid; gap: 14px; }

input, textarea {
    width: 100%; padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3);
    color: var(--text-heading);
    font-size: 14px;
    outline: none;
    transition: border-color .25s ease;
}

input:focus, textarea:focus {
    border-color: var(--gold);
    background: rgba(0,0,0,0.5);
}

textarea { min-height: 120px; resize: vertical; }

.form-button {
    border: 0; padding: 14px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff; font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(217,167,43,0.3);
    transition: all .3s ease;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217,167,43,0.4);
}

/* =========================================================
   9. FOOTER & COMPONENT EXTRAS
========================================================= */
#padmi-footer {
    background: #050608;
    color: var(--text-heading);
    padding-top: 60px;
    border-top: 1px solid var(--border-dark);
}

.padmi-footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.padmi-logo img {
    width: 100px; height: 100px;
    object-fit: contain;
}

.padmi-footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 14px;
}

.padmi-social { display: flex; gap: 10px; margin-top: 16px; }

.padmi-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-dark);
    border-radius: 50%; color: var(--gold-light);
    transition: all .3s ease;
}

.padmi-social a:hover {
    background: var(--gold);
    color: #000;
}

.padmi-footer-column h3 { font-size: 14px; letter-spacing: 1.5px; margin-bottom: 8px; font-weight: 700; color: var(--text-heading); }
.padmi-gold-line { display: block; width: 35px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.padmi-footer-column ul { list-style: none; }
.padmi-footer-column li { margin-bottom: 10px; }
.padmi-footer-column a { color: var(--text-muted); font-size: 13px; }
.padmi-footer-column a:hover { color: var(--gold-light); }

.footer-map iframe { width: 100%; height: 130px; border: 0; border-radius: 8px; margin-top: 10px; }

.padmi-footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 12px; color: var(--text-muted);
}

#padmi-back-top {
    position: fixed; right: 20px; bottom: 20px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--gold-light);
    border: 1px solid var(--border-dark);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all .3s ease; z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

#padmi-back-top:hover {
    background: var(--gold);
    color: #000;
}

#padmi-back-top.active { opacity: 1; visibility: visible; }

.toast {
    position: fixed; left: 50%; bottom: 24px;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    color: var(--text-heading);
    border: 1px solid var(--gold);
    padding: 12px 24px; border-radius: 30px;
    transition: all .3s ease; opacity: 0; z-index: 2000;
    font-size: 13px; font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* =========================================================
   10. MEDIA QUERIES & RESPONSIVE DESIGN
========================================================= */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content .eyebrow { text-align: center; }
    .btn-wrapper { justify-content: center; }
    .hero-media { margin-top: 10px; }
    .news-grid-dynamic, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    :root { --header-h: 68px; }
    
    .menu-btn { display: grid; }
    
    .navlinks {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        background: rgba(10, 12, 16, 0.98);
        backdrop-filter: blur(16px);
        padding: 20px var(--gutter);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        border-bottom: 1px solid var(--border-dark);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all .3s ease;
    }
    
    .navlinks.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navlinks > a, .dropbtn {
        padding: 12px 14px;
        width: 100%;
        border-radius: 8px;
    }

    .navlinks > a:hover, .dropbtn:hover {
        background: rgba(255,255,255,.05);
    }
    
    .dropdown, .dropdown-mega {
        width: 100%;
    }

    .dropdown-mega > .dropbtn {
        justify-content: space-between;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(255,255,255,0.03);
        padding-left: 15px;
        width: 100%;
        border: none;
    }

    .sp-dropdown.sp-dropdown-main.sp-dropdown-mega {
        position: static;
        width: 100%;
        transform: none;
        margin-top: 2px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .dropdown-mega.active .sp-dropdown.sp-dropdown-main.sp-dropdown-mega {
        display: block !important;
        transform: none;
    }

    .sp-dropdown-inner {
        padding: 12px;
        border: 1px solid rgba(217,167,43,.12);
        border-radius: 10px;
        background: rgba(255,255,255,.025);
        box-shadow: none;
        backdrop-filter: none;
    }

    .sp-mega-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sp-mega-group:not(:first-child) .sp-group-title {
        display: none;
    }

    .padmi-slider {
        min-height: 600px;
        height: 78vh;
        max-height: 760px;
    }

    .padmi-content {
        width: 88%;
        min-height: 600px;
        padding: 55px 0 100px;
    }

    .padmi-arrow {
        width: 38px; height: 38px;
        font-size: 16px;
    }
    
    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }
}

@media (max-width: 650px) {
    .news-db-section {
        margin: 35px auto;
        padding: 0 14px;
    }

    .news-db-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-db-header h2 {
        font-size: 26px;
    }

    .news-refresh {
        width: 100%;
    }

    .news-toolbar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .news-search-box,
    #newsCategory,
    .news-toolbar select {
        width: 100%;
    }

    .news-grid-dynamic, .news-grid {
        grid-template-columns: 1fr;
    }

    .manual-news-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .brand span { font-size: 14px; }
    .brand small { display: none; }
    
    .btn-wrapper { flex-direction: column; }
    .btn { width: 100%; }

    .padmi-slider {
        min-height: 580px;
        height: 76svh;
        max-height: 700px;
    }

    .padmi-content {
        min-height: 580px;
        padding-top: 40px;
        padding-bottom: 105px;
    }

    .padmi-content h1 {
        font-size: clamp(37px, 10vw, 54px);
    }

    .padmi-navigation {
        bottom: 20px;
    }
}

/* ACCESSIBILITY & PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .slider-container { animation: none !important; }
}