/*
Theme Name: fdjau-theme
Theme URI: https://pt-gorontalo.go.id/
Author: Faizal Djau
Author URI: https://wa.me/6285240879679?text=Salam..Halo%20Faizal,%0ASaya%20.........%20dari%20Pengadilan%20Tinggi%2FNegeri................%20Saya%20tertarik%20dengan%20template%20yang%20digunakan%20PT%20Gorontalo,%20apakah%20sudah%20sesuai%20dengan%20template%20standar%20Ditjen%20Badilum%20Nomor%20127%2FDJU%2FSK.HM1.1%2FIII%2F2026%20?
Description: Tema WordPress Resmi Pengadilan Negeri / Pengadilan Tinggi dengan Skema Warna Merah #9a2109, Outline Frame #f07002, Responsive Layout, Multi-level Side Flyout Dropdown Menu, Integrasi Feed MA/Badilum, & Customizer Lengkap.
Version: 5.0
License: GNU General Public License v2 or later
Text Domain: fdjau-theme
*/

:root {
    --bg-primary: #9a2109;
    --bg-primary-dark: #6e1503;
    --accent-orange: #f07002;
    --accent-gold: #ffd700;
    --card-bg: #ffffff;
    --text-dark: #202020;
    --text-muted: #555555;
    --border-accent: #f07002;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    line-height: 1.6;
}

a {
    color: var(--bg-primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent-orange);
}

.wrapper {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.6), 0 0 100px rgba(0, 0, 0, 0.35);
}

/* -------------------------------------------------------------
   GORONTALO CULTURAL MULTI-LAYER 3D PARALLAX BACKGROUND
------------------------------------------------------------- */
.fdjau-parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background-color: var(--fdjau-bg-color, #6e1503);
}

.fdjau-parallax-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(154, 33, 9, 0.25) 0%, rgba(35, 6, 1, 0.92) 100%);
    z-index: 1;
}

/* Karawo Lattice Grid Pattern Background */
.fdjau-parallax-karawo-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(240, 112, 2, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 112, 2, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 2;
    opacity: 0.5;
}

/* Left & Right Gutter Areas (Outside the 1200px main content wrapper) */
.fdjau-parallax-gutter {
    position: absolute;
    top: 0;
    height: 100%;
    width: calc((100vw - 1200px) / 2);
    overflow: hidden;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.fdjau-parallax-gutter-left {
    left: 0;
}

.fdjau-parallax-gutter-right {
    right: 0;
}

/* Common Parallax Layer Properties (Scale proportionally within gutter) */
.fdjau-parallax-layer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 230px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    will-change: transform;
}

/* Layer 1 (Belakang): Menara Keagungan Limboto */
.fdjau-layer-tower {
    top: var(--fdjau-tower-top, 20px);
    height: 520px;
    z-index: 1;
    opacity: var(--fdjau-bg-opacity, 0.35);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    transition: transform 0.08s linear;
}

/* Layer 2 (Depan): Hiu Paus Botubarani Meliuk (Floating 3D Depth - Berenang Naik) */
.fdjau-layer-shark {
    top: var(--fdjau-shark-top, 520px);
    height: 550px;
    z-index: 2;
    opacity: calc(var(--fdjau-bg-opacity, 0.35) * 1.15);
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.75));
    transition: transform 0.06s linear;
}

.fdjau-shark-right {
    transform: translateX(-50%) scaleX(-1);
}

@media (max-width: 1240px) {
    .fdjau-parallax-container {
        display: none !important;
    }
}

/* -------------------------------------------------------------
   TOP HEADER BAR & GTRANSLATE SIDE-BY-SIDE
------------------------------------------------------------- */
.top-header-bar {
    background: var(--bg-primary-dark);
    color: #ffffff;
    padding: 8px 20px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-orange);
}

.top-header-bar .date-info {
    font-weight: 600;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-header-bar .top-right-widget {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gtranslate_inline_wrapper {
    display: flex;
    align-items: center;
}

.gtranslate_inline_wrapper select {
    background: #ffffff;
    color: #333333;
    border: 1px solid var(--accent-orange);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.gtranslate_sidebar_wrapper {
    width: 100%;
}

.gtranslate-sidebar-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    background-color: #ffffff;
    cursor: pointer;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gtranslate-sidebar-select:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2);
}


/* -------------------------------------------------------------
   MAIN HEADER & LOGO FIX
------------------------------------------------------------- */
/* -------------------------------------------------------------
   MAIN HEADER & LOGO FIX
------------------------------------------------------------- */
.main-header {
    background: #ffffff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid var(--bg-primary);
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.header-brand a.logo-link {
    display: block;
    flex-shrink: 0;
}

.header-brand img.logo {
    width: auto;
    max-width: 85px;
    height: 80px;
    max-height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.header-titles {
    min-width: 0;
}

.header-titles h1,
.header-titles .header-sub-top,
.header-titles .header-sub-bottom,
.header-titles .header-sub,
.header-titles .header-sub-1,
.header-titles .header-sub-2,
.header-titles .header-sub-3 {
    font-size: 13.5px;
    font-weight: 700;
    color: #9a2109;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.25;
}

.header-titles h2,
.header-titles .header-main-title {
    font-size: 25px;
    font-weight: 900;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: -0.4px;
    margin: 3px 0 2px 0;
    line-height: 1.2;
}

.header-titles h2.shine-effect,
.header-titles .header-main-title.shine-effect {
    font-size: 25px;
    font-weight: 900;
    color: var(--bg-primary);
    letter-spacing: -0.4px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--bg-primary) 0%, var(--accent-orange) 50%, var(--bg-primary) 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shineGlimmer 4s infinite linear;
}

@keyframes shineGlimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.header-titles p.address {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-bottom: 0;
    white-space: nowrap;
}

.header-right-widgets {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    height: 75px;
    max-height: 75px;
    overflow: hidden;
}

.sec-logo-wrapper {
    height: 65px;
    max-height: 65px;
    width: auto;
    max-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.header-right-widgets img,
.header-right-widgets img.header-sec-logo {
    height: 65px;
    max-height: 65px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    flex: 0 0 auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* -------------------------------------------------------------
   STICKY NAVBAR & MULTI-LEVEL DROPDOWN MENU (Level 1, Level 2, Level 3+ Side Flyout)
------------------------------------------------------------- */
.navbar-container {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-primary-dark) 100%);
    border-bottom: 3px solid var(--accent-orange);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.main-navigation {
    position: relative;
}

.main-navigation>ul,
.main-navigation>div>ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-navigation>ul>li,
.main-navigation>div>ul>li {
    position: relative;
    list-style: none;
}

.main-navigation ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 12px 16px;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
}

.main-navigation ul li:hover>a,
.main-navigation ul li.current-menu-item>a {
    background: var(--accent-orange);
    color: #ffffff;
}

/* BASE: ALL DROPDOWNS */
.main-navigation ul ul {
    display: none;
    position: absolute;
    background: var(--bg-primary-dark);
    min-width: 250px;
    z-index: 99999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* POSITION: LEVEL 2 ONLY (Drops Down) */
.main-navigation>ul>li>ul,
.main-navigation>div>ul>li>ul,
.main-navigation .nav-menu>li>ul,
.main-navigation .menu>li>ul {
    top: 100%;
    left: 0;
    border-top: 3px solid var(--accent-orange);
    border-left: none;
}

/* POSITION: LEVEL 3+ ONLY (Flies Right) */
.main-navigation ul ul ul,
.main-navigation .sub-menu .sub-menu,
.main-navigation .children .children {
    top: 0 !important;
    left: 250px !important;
    margin-top: -1px !important;
    border-top: none !important;
    border-left: 3px solid var(--accent-orange) !important;
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.45) !important;
}

/* TRIGGER HOVER FOR ALL LEVELS */
.main-navigation li:hover>ul {
    display: block;
}

/* LI & A STYLES FOR ALL DROPDOWNS */
.main-navigation ul ul li {
    width: 100%;
    position: relative;
    margin: 0;
    list-style: none;
}

.main-navigation ul ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    color: #eeeeee;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
    white-space: normal;
}

.main-navigation ul ul li a:hover {
    background: var(--accent-orange);
    color: #ffffff;
}

/* Arrow indicator icons */
.main-navigation li.menu-item-has-children>a::after,
.main-navigation li.page_item_has_children>a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    margin-left: 6px;
}

.main-navigation ul ul li.menu-item-has-children>a::after,
.main-navigation ul ul li.page_item_has_children>a::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    margin-left: auto;
}

/* -------------------------------------------------------------
   SEKILAS INFO / RUNNING TEXT TICKER
------------------------------------------------------------- */
.running-text-wrapper {
    background: #fff8f0;
    border: 1px solid var(--accent-orange);
    border-radius: 6px;
    margin: 15px 20px 5px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(240, 112, 2, 0.15);
}

.running-text-badge {
    background: var(--accent-orange);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 16px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px 0 0 4px;
}

.running-text-content {
    flex: 1;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bg-primary-dark);
    overflow: hidden;
}

.running-text-content a {
    color: var(--bg-primary);
    text-decoration: none;
}

.running-text-content a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* -------------------------------------------------------------
   SLIDER BANNER WITH MODERN TRANSPARENT CAPTION
------------------------------------------------------------- */
.slider-container-zone {
    position: relative;
    width: 100%;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.fdjau-slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: var(--bg-primary);
}

.fdjau-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
}

.fdjau-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
}

.fdjau-slide img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: contain;
    object-position: center;
    display: block;
    background-color: var(--bg-primary);
}

.slide-caption-overlay {
    position: absolute;
    bottom: 35px;
    left: 40px;
    max-width: 700px;
    padding: 16px 22px;
    z-index: 10;
    transition: all 0.3s ease;
}

.slide-caption-overlay.overlay-style-transparent {
    background: transparent;
    border-left: 5px solid var(--accent-gold);
    padding-left: 18px;
}

.slide-caption-overlay.overlay-style-transparent h3.slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8);
    line-height: 1.25;
}

.slide-caption-overlay.overlay-style-transparent p.slide-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.9);
    margin-top: 4px;
}

.slide-caption-overlay.overlay-style-glass {
    background: rgba(110, 21, 3, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid var(--accent-orange);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.slide-caption-overlay.overlay-style-glass h3.slide-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-gold);
}

.slide-caption-overlay.overlay-style-glass p.slide-subtitle {
    font-size: 13px;
    color: #ffffff;
}

.slide-caption-overlay.overlay-style-dark {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    border-left: 5px solid var(--accent-orange);
    padding: 20px 30px;
}

.slide-caption-overlay.overlay-style-dark h3.slide-title {
    font-size: 24px;
    color: #ffffff;
}

.slide-caption-overlay.overlay-style-dark p.slide-subtitle {
    font-size: 13px;
    color: #dddddd;
}

.slider-controls-bar {
    background: #1a1a1a;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--accent-orange);
}

.slider-location-tag {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.slider-location-tag a {
    color: #ffd8a8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.slider-location-tag a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.slider-location-tag span {
    color: #ffffff;
}


.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #555555;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

/* -------------------------------------------------------------
   PORTAL DYNAMIC QUICK LINKS GRID
------------------------------------------------------------- */
.portal-links-section {
    background: var(--bg-primary);
    border: 2px solid var(--bg-primary-dark);
    border-radius: 12px;
    padding: 24px;
    margin: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.portal-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
}

.portal-card-item {
    flex: 1 1 calc((100% - (5 * 16px)) / 6);
    max-width: calc((100% - (5 * 16px)) / 6);
    min-width: 135px;
    box-sizing: border-box;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    cursor: pointer !important;
    text-decoration: none !important;
    overflow: hidden;
}

/* Hover Sweep Shine Effect Base */
.portal-card-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    pointer-events: none;
}

.portal-card-item:hover::after {
    animation: sweepingCardShine 0.8s ease-in-out;
}

@keyframes sweepingCardShine {
    0% {
        left: -150%;
    }

    100% {
        left: 200%;
    }
}

.portal-card-item:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--accent-orange);
    box-shadow: 0 12px 28px rgba(240, 112, 2, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #fff8f0 100%);
}

.portal-card-item img {
    height: 55px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    margin-bottom: 10px;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.portal-card-item:hover img {
    transform: scale(1.1);
}

.portal-card-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--bg-primary-dark);
    text-transform: uppercase;
    pointer-events: none;
}

.portal-card-item:hover .portal-card-title {
    color: var(--accent-orange);
}

.portal-card-tooltip {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.3;
    pointer-events: none;
}

/* -------------------------------------------------------------
   LAYOUT CONTENT & SIDEBAR GRID
------------------------------------------------------------- */
.layout-body {
    padding: 20px;
}

.layout-container {
    display: flex;
    gap: 24px;
    width: 100%;
}

.main-content-area {
    flex: 72;
    min-width: 0;
}

.sidebar-area {
    flex: 28;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.section-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--accent-orange);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.section-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Hover Sweep Shine Effect for Section Boxes */
.section-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    pointer-events: none;
}

.section-box:hover::after {
    animation: sweepingCardShine 0.8s ease-in-out;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--bg-primary);
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* CARD MAKLUMAT & IMAGE ZOOM MODAL LIGHTBOX */
.maklumat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.maklumat-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.maklumat-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--accent-orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
    cursor: pointer;
    display: block;
}

.maklumat-card:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* ARTICLE CONTENT IMAGES & FEATURED IMAGE ZOOMABLE */
.entry-content img,
.wp-post-image,
.featured-image-wrapper img {
    cursor: pointer !important;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease, box-shadow 0.3s ease !important;
}

.entry-content img:hover,
.wp-post-image:hover,
.featured-image-wrapper img:hover {
    transform: scale(1.02);
    filter: brightness(1.04);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.maklumat-card::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background: rgba(154, 33, 9, 0.88);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    z-index: 5;
}

.maklumat-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Modal Lightbox Base Overlay */
.image-zoom-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-zoom-modal.active {
    display: flex;
    opacity: 1;
}

/* Modal Content Wrapper & Image Zoom Animation */
.image-zoom-content-wrapper {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.image-zoom-content {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    transform: scale(0.65);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid var(--accent-orange);
    background-color: #ffffff;
}

.image-zoom-modal.active .image-zoom-content {
    transform: scale(1);
}

/* Caption Below Image */
.image-zoom-caption {
    margin-top: 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.image-zoom-article-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange, #e67e22);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
    max-width: 85vw;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.image-zoom-article-btn:hover {
    background: #d35400;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 22px rgba(230, 126, 34, 0.65);
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Close Button */
.image-zoom-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000000;
    transition: all 0.2s ease;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
}

.image-zoom-close:hover {
    color: var(--accent-gold);
    background: var(--bg-primary);
    transform: scale(1.15) rotate(90deg);
}

@media (max-width: 768px) {
    .image-zoom-close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
        font-size: 26px;
    }
}

/* Gallery Nav Prev/Next Buttons */
.image-zoom-prev,
.image-zoom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    font-size: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    user-select: none;
    line-height: 1;
}

.image-zoom-prev {
    left: 25px;
}

.image-zoom-next {
    right: 25px;
}

.image-zoom-prev:hover,
.image-zoom-next:hover {
    background: var(--bg-primary);
    color: var(--accent-gold);
    transform: translateY(-50%) scale(1.15);
}

@media (max-width: 768px) {
    .image-zoom-prev {
        left: 10px;
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .image-zoom-next {
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}

/* HIMBAUAN PIMPINAN */
.pimpinan-widget-box {
    background: #ffffff;
    border: 2px solid var(--accent-orange);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.pimpinan-widget-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* BERITA TERKINI */
.news-layout-featured {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.news-featured-big {
    flex: 1 1 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.news-featured-big img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-featured-content {
    padding: 15px;
}

.news-list-small {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item-small {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff8f0;
    border: 1px solid #ffe0b2;
    padding: 10px;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.news-item-small:hover {
    transform: translateX(4px);
    border-color: var(--accent-orange);
}

.news-featured-big img,
.news-item-small img {
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.news-item-small img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
}

.news-item-small img:hover,
.news-featured-big img:hover {
    transform: scale(1.04);
    filter: brightness(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* MOTTO INSTANSI */
.motto-banner-box {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
    border: 2px solid var(--accent-orange);
    border-left: 6px solid var(--bg-primary);
    border-radius: 12px;
    padding: 24px 30px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(240, 112, 2, 0.12);
}

.motto-banner-box h2 {
    font-size: 24px;
    color: var(--bg-primary);
    line-height: 1.4;
}

.motto-anim-shimmer {
    background: linear-gradient(90deg, var(--bg-primary) 0%, var(--accent-orange) 50%, var(--bg-primary) 100%);
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: mottoGlow 3s infinite linear;
}

@keyframes mottoGlow {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.motto-anim-pulse {
    animation: mottoPulse 2.5s infinite ease-in-out;
}

@keyframes mottoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.motto-anim-fade {
    animation: mottoFade 1.5s ease-in;
}

@keyframes mottoFade {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SCRAPING FEED CARDS */
.scraping-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

@media (max-width: 768px) {
    .scraping-grid-container {
        grid-template-columns: 1fr;
    }
}

.announcement-widget-box {
    margin-top: 24px;
}

.feed-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--accent-orange);
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.feed-card-header {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--bg-primary);
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feed-card-title-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.feed-card-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eef2f6;
    display: flex;
    justify-content: flex-end;
}

.feed-more-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feed-more-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    pointer-events: none;
}

.feed-more-btn:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--accent-orange, #f07002), #d95d00);
    border-color: var(--accent-orange, #f07002);
    box-shadow: 0 3px 10px rgba(240, 112, 2, 0.28);
    transform: translateY(-1px);
}

.feed-more-btn:hover::after {
    animation: sweepingCardShine 0.75s ease-in-out;
}

.feed-more-btn i {
    font-size: 9.5px;
    color: inherit;
    transition: transform 0.25s ease;
}

.feed-more-btn:hover i {
    transform: translateX(3px);
}

.feed-card-scrollable {
    flex: 1;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
}

.feed-card-scrollable::-webkit-scrollbar {
    width: 6px;
}

.feed-card-scrollable::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
    border-radius: 4px;
}

.feed-card-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.feed-item {
    border-bottom: 1px dashed #e2e8f0;
    padding: 8px 0;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-item-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.feed-item-title a {
    color: var(--text-dark);
}

.feed-item-title a:hover {
    color: var(--bg-primary);
}

.feed-item-date {
    font-size: 10px;
    color: var(--accent-orange);
    margin-top: 2px;
    font-weight: 600;
}

/* JAM KERJA & PELAYANAN PTSP */
.jam-kerja-box {
    background: linear-gradient(180deg, var(--accent-orange) 0%, #d86200 100%);
    background-color: var(--accent-orange);
    color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.jam-kerja-header {
    background: var(--bg-primary-dark);
    padding: 10px 12px;
    text-align: center;
    font-weight: 800;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.jam-kerja-body {
    padding: 12px 8px;
}

.jam-kerja-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    font-size: 11px;
    color: #ffffff;
    table-layout: fixed;
}

.jam-kerja-table thead th {
    background: rgba(0, 0, 0, 0.22);
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.3px;
    padding: 6px 3px;
    border: none;
    text-align: center;
}

.jam-kerja-table thead th.col-hari {
    text-align: left;
    padding-left: 5px;
    width: 32%;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.jam-kerja-table thead th.col-kerja {
    width: 34%;
}

.jam-kerja-table thead th.col-layanan {
    width: 34%;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.jam-kerja-table tbody td {
    padding: 7px 3px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    line-height: 1.3;
}

.jam-kerja-table tbody td.col-hari {
    text-align: left;
    font-weight: 700;
    padding-left: 5px;
    color: #ffffff;
}

.jam-kerja-table tbody td.col-kerja {
    font-size: 10px;
    color: #ffffff;
}

.jam-kerja-table tbody td.col-layanan {
    font-size: 10px;
    color: #fffbdf;
    font-weight: 700;
}

.jam-kerja-istirahat-badge {
    text-align: center;
    margin: 10px 0 6px;
    font-weight: 800;
    font-size: 11px;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.jam-kerja-istirahat-table tbody td.col-istirahat {
    text-align: right;
    padding-right: 5px;
    color: #ffffff;
    font-weight: 700;
    font-size: 10.5px;
}

/* SITE FOOTER */
.site-footer {
    background: var(--bg-primary-dark);
    color: #eeeeee;
    padding: 40px 20px 60px;
    border-top: 4px solid var(--accent-orange);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h4 {
    color: var(--accent-gold);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #aaaaaa;
}

.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-primary-dark);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 15px;
    z-index: 99999;
    border-top: 2px solid var(--accent-orange);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

.sticky-bottom-bar marquee {
    flex: 1;
}

/* TAUTAN WEBSITE SIDEBAR LIST */
.tautan-website-list {
    list-style: none !important;
    font-size: 12px;
    line-height: 2;
    padding: 0 !important;
    margin: 0 !important;
}

.tautan-website-list li {
    list-style: none !important;
    margin-bottom: 4px;
}

.tautan-website-list li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.tautan-website-list li a:hover {
    color: var(--accent-orange);
}

.footer-tautan-list li a {
    color: #cccccc !important;
}

.footer-tautan-list li a:hover {
    color: var(--accent-orange) !important;
    text-decoration: underline;
}

/* SIDEBAR TAUTAN MEDIA SOSIAL */
.sidebar-social-widget-box {
    overflow: hidden;
}

.sidebar-social-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.sidebar-social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.sidebar-social-item:hover {
    transform: translateX(4px);
    background: #ffffff;
    border-color: var(--accent-orange);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}

.sidebar-social-icon-box {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.sidebar-social-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.sidebar-social-fallback-icon {
    font-size: 16px;
    color: var(--accent-orange);
}

.sidebar-social-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.sidebar-social-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
    line-height: 1.25;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar-social-account {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 1px;
}

.sidebar-social-arrow {
    color: #94a3b8;
    font-size: 11px;
    transition: transform 0.2s ease, color 0.2s ease;
    padding-left: 4px;
}

.sidebar-social-item:hover .sidebar-social-arrow {
    transform: translateX(3px);
    color: var(--accent-orange);
}

/* -------------------------------------------------------------
   MOBILE MENU TOGGLE BUTTON (Default hidden on desktop)
------------------------------------------------------------- */
.mobile-menu-toggle {
    display: none;
    background: var(--bg-primary-dark);
    color: #ffffff;
    border: none;
    border-bottom: 2px solid var(--accent-orange);
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    text-align: left;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    letter-spacing: 0.5px;
}

.mobile-menu-toggle i.toggle-icon {
    transition: transform 0.3s ease;
    color: var(--accent-orange);
}

.navbar-container.mobile-menu-open .mobile-menu-toggle i.toggle-icon {
    transform: rotate(180deg);
}

/* -------------------------------------------------------------
   RESPONSIVE STYLES OVERHAUL (THEME VERSI 5)
------------------------------------------------------------- */
@media (max-width: 1100px) {
    .portal-card-item {
        flex: 1 1 calc((100% - (3 * 16px)) / 4) !important;
        max-width: calc((100% - (3 * 16px)) / 4) !important;
    }
}

@media (max-width: 992px) {
    .layout-container {
        flex-direction: column;
    }

    .main-content-area,
    .sidebar-area {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .slide-caption-overlay {
        left: 20px;
        bottom: 20px;
        right: 20px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .fdjau-slide {
        height: 320px !important;
    }

    .fdjau-slide img {
        max-height: 320px !important;
    }

    /* Top Header Bar Mobile */
    .top-header-bar {
        flex-direction: column;
        gap: 6px;
        padding: 8px 12px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .top-header-bar .date-info {
        font-size: 11px;
    }

    /* Main Header Mobile Layout */
    header.main-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 14px 12px !important;
        gap: 10px !important;
        height: auto !important;
    }

    .header-brand {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .header-brand .logo {
        height: 60px !important;
        max-height: 60px !important;
        width: auto !important;
        margin: 0 auto !important;
    }

    .header-titles {
        text-align: center !important;
        width: 100% !important;
    }

    .header-titles .header-sub,
    .header-titles .header-sub-top,
    .header-titles .header-sub-bottom,
    .header-titles .header-sub-1,
    .header-titles .header-sub-2,
    .header-titles .header-sub-3 {
        font-size: 11px !important;
        color: #9a2109 !important;
        line-height: 1.25 !important;
    }

    .header-titles h1,
    .header-titles h2,
    .header-titles .header-main-title {
        font-size: 17px !important;
        margin: 3px 0 !important;
        line-height: 1.25 !important;
    }

    .header-titles .address {
        font-size: 10px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        display: block !important;
        margin-top: 4px !important;
    }

    /* Secondary Logos Row on Mobile (Symmetrically Centered under Address & Email) */
    .header-right-widgets {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        margin: 10px auto 0 auto !important;
        padding-top: 10px !important;
        border-top: 1px dashed #cbd5e1 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .sec-logo-wrapper {
        height: 50px !important;
        max-height: 50px !important;
        width: auto !important;
        max-width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 4px !important;
    }

    .header-sec-logo {
        height: 48px !important;
        max-height: 50px !important;
        width: auto !important;
        max-width: 240px !important;
        object-fit: contain !important;
    }

    /* Conditional UserWay Accessibility Button Mobile Positioning (Slightly larger scale 0.82) */
    body #userwayAccessibilityIcon,
    body div[id^="userway"],
    body .uai,
    body .userway_buttons_wrapper,
    body iframe[title*="UserWay"],
    body iframe[src*="userway"] {
        top: 45px !important;
        bottom: auto !important;
        left: 8px !important;
        right: auto !important;
        transform: scale(0.82) !important;
        transform-origin: top left !important;
        z-index: 999999 !important;
    }

    /* Admin Bar Top Offset on Mobile for Logged-In Admin */
    body.admin-bar .top-header-bar {
        margin-top: 46px;
    }

    /* Slider Overlay Text Adjustments on Mobile */
    .slide-caption-overlay {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        padding: 8px 12px !important;
        max-width: 92% !important;
    }

    .slide-caption-overlay .slide-title,
    .slide-caption-overlay h3.slide-title {
        font-size: 15px !important;
        line-height: 1.25 !important;
        margin-bottom: 3px !important;
        text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.9) !important;
    }

    .slide-caption-overlay .slide-subtitle,
    .slide-caption-overlay p.slide-subtitle {
        font-size: 11px !important;
        line-height: 1.25 !important;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9) !important;
    }

    /* Mobile Hamburger Navigation Menu */
    .mobile-menu-toggle {
        display: flex !important;
    }

    .main-navigation {
        display: none !important;
        width: 100% !important;
        background: var(--bg-primary-dark) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-container.mobile-menu-open .main-navigation {
        display: block !important;
    }

    .main-navigation .nav-menu,
    .main-navigation>div>ul {
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-navigation .nav-menu>li,
    .main-navigation>div>ul>li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .main-navigation .nav-menu>li>a,
    .main-navigation>div>ul>li>a {
        display: block !important;
        padding: 12px 18px !important;
        font-size: 13px !important;
        text-align: left !important;
    }

    .main-navigation ul ul {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    /* Portal Grid Cards on Mobile */
    .portal-grid-container {
        gap: 10px !important;
    }

    .portal-card-item {
        flex: 1 1 calc((100% - (2 * 10px)) / 3) !important;
        max-width: calc((100% - (2 * 10px)) / 3) !important;
        min-width: 100px !important;
    }
}

@media (max-width: 480px) {
    .fdjau-slide {
        height: 220px !important;
    }

    .fdjau-slide img {
        max-height: 220px !important;
    }

    .portal-grid-container {
        gap: 8px !important;
    }

    .portal-card-item {
        flex: 1 1 calc((100% - (1 * 8px)) / 2) !important;
        max-width: calc((100% - (1 * 8px)) / 2) !important;
        min-width: 80px !important;
    }

    .portal-links-section {
        padding: 14px 10px;
        margin: 10px 8px;
    }

    .portal-card-item {
        padding: 12px 6px;
    }

    .portal-card-item img {
        height: 40px;
        margin-bottom: 6px;
    }

    .portal-card-title {
        font-size: 11px;
    }

    .slide-caption-overlay .slide-title,
    .slide-caption-overlay h3.slide-title {
        font-size: 13px !important;
    }

    .slide-caption-overlay .slide-subtitle,
    .slide-caption-overlay p.slide-subtitle {
        font-size: 10px !important;
    }
}

/* ==========================================================================
   JADWAL SIDANG HARI INI (SIPP IFRAME INTEGRATION) STYLES
   ========================================================================== */
.jadwal-sidang-widget-box {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.jadwal-sidang-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.jadwal-sidang-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-action-jadwal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.btn-action-jadwal:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-action-jadwal.btn-action-primary {
    background: #15803d;
    color: #ffffff;
    border-color: #166534;
}

.btn-action-jadwal.btn-action-primary:hover {
    background: #166534;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(21, 128, 61, 0.3);
}

.jadwal-sidang-iframe-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.jadwal-sidang-date-badge {
    font-size: 11px;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    font-weight: 600;
}

.jadwal-sidang-notice {
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.jadwal-sidang-notice.empty {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.jadwal-sidang-notice.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.jadwal-sidang-scroll-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-top: 10px;
}

.jadwal-sidang-scroll-container {
    max-height: 230px;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    scroll-behavior: auto;
}

.jadwal-sidang-scroll-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.jadwal-sidang-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.jadwal-sidang-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange, #e67e22);
}

.jadwal-sidang-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

.jadwal-sidang-table th {
    position: sticky;
    top: 0;
    background: var(--bg-primary, #004d40);
    color: #ffffff;
    font-weight: 700;
    padding: 10px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jadwal-sidang-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    color: #334155;
    line-height: 1.4;
}

.jadwal-sidang-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.jadwal-sidang-table tbody tr:hover {
    background-color: #f1f5f9;
}

.badge-perkara {
    display: inline-block;
    font-weight: 700;
    color: var(--bg-primary, #004d40);
    background: #e0f2fe;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #bae6fd;
    font-size: 11px;
}

/* Badges Perkara & Jenis Perkara (Perdata = Hijau, Pidana = Merah) */
.badge-perkara-perdata {
    display: inline-block;
    font-weight: 800;
    color: #ffffff;
    background-color: #1b7e38;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #145e28;
    font-size: 12px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 4px rgba(27, 126, 56, 0.25);
}

.badge-perkara-pidana {
    display: inline-block;
    font-weight: 800;
    color: #ffffff;
    background-color: #c62828;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #b71c1c;
    font-size: 12px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 4px rgba(198, 40, 40, 0.25);
}

.badge-jenis-perdata {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    background-color: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.badge-jenis-pidana {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    background-color: #ffebee;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
}

.badge-ruang {
    display: inline-block;
    font-weight: 600;
    color: #1e293b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.badge-agenda {
    display: inline-block;
    font-weight: 600;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* ==========================================================================
   ATTENTION-GRABBING LINK (#fdjau-tim-it-link) & TOOLTIP (#fdjau-tooltip)
   ========================================================================== */
.fdjau-tooltip-container {
    position: relative;
    display: inline-block;
    margin-top: 8px;
}

#fdjau-tim-it-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    padding: 7px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(240, 112, 2, 0.18), rgba(255, 170, 0, 0.28));
    color: #ffffff !important;
    border: 1px solid var(--accent-orange, #f07002);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(240, 112, 2, 0.25);
    backdrop-filter: blur(4px);
    animation: fdjauGlowPulse 2.8s infinite ease-in-out;
}

#fdjau-tim-it-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    animation: fdjauShimmer 3s infinite;
}

#fdjau-tim-it-link:hover {
    background: linear-gradient(135deg, #f07002, #ff8c00) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(240, 112, 2, 0.55);
    border-color: #ffd700;
}

#fdjau-tim-it-link:hover .fdjau-arrow-icon {
    transform: translateX(4px);
    color: #ffd700;
}

/* Tooltip Component */
.fdjau-tooltip {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;
    background: linear-gradient(145deg, rgba(25, 10, 8, 0.97) 0%, rgba(48, 16, 12, 0.97) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(240, 112, 2, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 25px rgba(240, 112, 2, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    width: 290px;
    max-width: 90vw;
    text-align: left;
    transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s;
}

.fdjau-tooltip-container:hover .fdjau-tooltip,
.fdjau-tooltip-container:focus-within .fdjau-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.fdjau-tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(48, 16, 12, 0.97);
}

.fdjau-tooltip-arrow::before {
    content: '';
    position: absolute;
    top: -9px;
    left: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid rgba(240, 112, 2, 0.55);
    z-index: -1;
}

.fdjau-tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.fdjau-tooltip-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(135deg, #f07002, #ffd700);
    color: #1a0a05;
    padding: 2px 7px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fdjau-tooltip-hot {
    font-size: 9.5px;
    font-weight: 700;
    color: #ff4757;
    background: rgba(255, 71, 87, 0.18);
    border: 1px solid rgba(255, 71, 87, 0.35);
    padding: 1px 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    animation: fdjauGlowPulse 2s infinite;
}

.fdjau-tooltip-title {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.fdjau-tooltip-action {
    font-size: 11px;
    color: #ffd700;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.fdjau-tooltip-action .fdjau-click-icon {
    font-size: 12px;
    color: #ffd700;
    animation: fdjauBounceHand 1.2s infinite ease-in-out;
}

@keyframes fdjauBounceHand {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.15);
    }
}

/* Pulsing Live Indicator Dot */
.fdjau-pulse-badge {
    position: relative;
    display: inline-flex;
    width: 9px;
    height: 9px;
    margin-right: 2px;
}

.fdjau-pulse-badge .fdjau-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #10b981;
    opacity: 0.75;
    animation: fdjauPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.fdjau-pulse-badge .fdjau-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #10b981;
}

.fdjau-arrow-icon {
    font-size: 11px;
    transition: transform 0.3s ease, color 0.3s ease;
}

@keyframes fdjauPing {

    75%,
    100% {
        transform: scale(2.3);
        opacity: 0;
    }
}

@keyframes fdjauGlowPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(240, 112, 2, 0.3);
        border-color: rgba(240, 112, 2, 0.7);
    }

    50% {
        box-shadow: 0 0 22px rgba(240, 112, 2, 0.75), 0 0 10px rgba(255, 215, 0, 0.4);
        border-color: #ffd700;
    }
}


/* Designer WhatsApp Button Inside Modal */
#fdjau-designer-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fdjauGlowPulse 2.5s infinite ease-in-out;
}

#fdjau-designer-wa-btn i {
    font-size: 16px;
    color: #ffffff;
    animation: fdjauIconBounce 2.5s infinite;
}

#fdjau-designer-wa-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-25deg);
    animation: fdjauShimmer 3.5s infinite;
}

#fdjau-designer-wa-btn:hover {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

#fdjau-designer-wa-btn:hover i {
    animation: none;
    transform: scale(1.25) rotate(-10deg);
}

/* Keyframes for Glow Pulse & Shimmer */
@keyframes fdjauGlowPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.3);
    }

    50% {
        box-shadow: 0 0 14px 4px rgba(37, 211, 102, 0.45);
    }
}

@keyframes fdjauShimmer {
    0% {
        left: -75%;
    }

    20%,
    100% {
        left: 125%;
    }
}

@keyframes fdjauIconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.25) rotate(-8deg);
    }

    20% {
        transform: scale(1.15) rotate(8deg);
    }

    40% {
        transform: scale(1);
    }
}

/* ==========================================================================
   POPUP MODAL FITUR THEME STYLES
   ========================================================================== */
.fdjau-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.fdjau-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fdjau-modal-dialog {
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fdjau-modal-overlay.active .fdjau-modal-dialog {
    transform: scale(1) translateY(0);
}

.fdjau-modal-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    border: 1px solid #e2e8f0;
}

.fdjau-modal-header {
    background: var(--bg-primary, #004d40);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--accent-orange, #e67e22);
}

.fdjau-modal-title {
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.fdjau-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.fdjau-modal-close:hover {
    opacity: 1;
    color: var(--accent-orange, #e67e22);
}

.fdjau-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex-grow: 1;
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
}

.fdjau-modal-body::-webkit-scrollbar {
    width: 6px;
}

.fdjau-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.fdjau-modal-loading {
    text-align: center;
    padding: 40px;
    font-size: 14px;
    color: #64748b;
}

.fdjau-fitur-container {
    font-family: inherit;
}

.fdjau-fitur-heading {
    font-size: 14px;
    font-weight: 800;
    color: var(--bg-primary, #004d40);
    margin: 14px 0 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fdjau-fitur-heading i {
    color: #10b981;
}

.fdjau-fitur-item {
    list-style: none;
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
    color: #475569;
}

.fdjau-fitur-item::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--accent-orange, #e67e22);
    font-size: 14px;
}

.fdjau-fitur-para {
    margin-bottom: 8px;
}

.fdjau-fitur-divider {
    border: none;
    border-top: 1px dashed #cbd5e1;
    margin: 16px 0;
}

.fdjau-modal-footer {
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

/* ==========================================================================
   GUTENBERG BLOCK EDITOR & PAGE CONTENT STYLING SYSTEM
   ========================================================================== */
.homepage-gutenberg-content,
.entry-content {
    line-height: 1.8;
    font-size: 14px;
    color: #334155;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Headings inside content */
.homepage-gutenberg-content h1,
.entry-content h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--bg-primary, #004d40);
    margin: 20px 0 12px 0;
    line-height: 1.3;
}

.homepage-gutenberg-content h2,
.entry-content h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--bg-primary, #004d40);
    border-left: 4px solid var(--accent-orange, #e67e22);
    padding-left: 10px;
    margin: 22px 0 12px 0;
    line-height: 1.4;
}

.homepage-gutenberg-content h3,
.entry-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 18px 0 10px 0;
    line-height: 1.4;
}

.homepage-gutenberg-content h4,
.entry-content h4,
.homepage-gutenberg-content h5,
.entry-content h5,
.homepage-gutenberg-content h6,
.entry-content h6 {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin: 14px 0 8px 0;
}

/* Paragraphs & Text */
.homepage-gutenberg-content p,
.entry-content p {
    margin-bottom: 14px;
    line-height: 1.8;
}

.homepage-gutenberg-content p:last-child,
.entry-content p:last-child {
    margin-bottom: 0;
}

/* Links inside content */
.homepage-gutenberg-content a,
.entry-content a {
    color: var(--bg-primary, #004d40);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(230, 126, 34, 0.4);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.homepage-gutenberg-content a:hover,
.entry-content a:hover {
    color: var(--accent-orange, #e67e22);
    text-decoration-color: var(--accent-orange, #e67e22);
}

/* Responsive Embeds (YouTube, Vimeo, Iframes, Video) */
.homepage-gutenberg-content iframe,
.entry-content iframe,
.homepage-gutenberg-content video,
.entry-content video,
.homepage-gutenberg-content .wp-block-embed,
.entry-content .wp-block-embed,
.homepage-gutenberg-content .wp-block-embed-youtube,
.entry-content .wp-block-embed-youtube {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: none;
    margin: 15px 0;
    overflow: hidden;
}

.homepage-gutenberg-content .wp-block-embed__wrapper,
.entry-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
}

/* Images & Figures */
.homepage-gutenberg-content img,
.entry-content img,
.homepage-gutenberg-content figure img,
.entry-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    margin: 10px 0;
}

.homepage-gutenberg-content figure,
.entry-content figure,
.homepage-gutenberg-content .wp-block-image,
.entry-content .wp-block-image {
    margin: 15px 0;
    text-align: center;
}

.homepage-gutenberg-content figcaption,
.entry-content figcaption,
.homepage-gutenberg-content .wp-element-caption,
.entry-content .wp-element-caption {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-top: 6px;
    font-style: italic;
}

/* Gutenberg Columns Block (.wp-block-columns) */
.homepage-gutenberg-content .wp-block-columns,
.entry-content .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.homepage-gutenberg-content .wp-block-column,
.entry-content .wp-block-column {
    flex: 1 1 280px;
    min-width: 0;
}

/* Gutenberg Gallery Block (.wp-block-gallery) */
.homepage-gutenberg-content .wp-block-gallery,
.entry-content .wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.homepage-gutenberg-content .wp-block-gallery figure,
.entry-content .wp-block-gallery figure {
    flex: 1 1 200px;
    margin: 0;
}

/* Gutenberg Media & Text Block (.wp-block-media-text) */
.homepage-gutenberg-content .wp-block-media-text,
.entry-content .wp-block-media-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    margin: 20px 0;
}

@media (max-width: 768px) {

    .homepage-gutenberg-content .wp-block-media-text,
    .entry-content .wp-block-media-text {
        grid-template-columns: 1fr;
    }
}

/* Lists */
.homepage-gutenberg-content ul,
.entry-content ul,
.homepage-gutenberg-content ol,
.entry-content ol {
    padding-left: 24px;
    margin: 12px 0 16px 0;
}

.homepage-gutenberg-content li,
.entry-content li {
    margin-bottom: 6px;
    line-height: 1.7;
}

/* Blockquotes */
.homepage-gutenberg-content blockquote,
.entry-content blockquote,
.homepage-gutenberg-content .wp-block-quote,
.entry-content .wp-block-quote {
    background: #f8fafc;
    border-left: 4px solid var(--accent-orange, #e67e22);
    padding: 14px 18px;
    margin: 18px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #334155;
}

/* Content Tables */
.homepage-gutenberg-content table,
.entry-content table,
.homepage-gutenberg-content .wp-block-table table,
.entry-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 13px;
    overflow-x: auto;
    display: block;
}

.homepage-gutenberg-content th,
.entry-content th,
.homepage-gutenberg-content .wp-block-table th,
.entry-content .wp-block-table th {
    background: var(--bg-primary, #004d40);
    color: #ffffff;
    padding: 10px 12px;
    font-weight: 700;
    text-align: left;
    border: 1px solid #00382e;
}

.homepage-gutenberg-content td,
.entry-content td,
.homepage-gutenberg-content .wp-block-table td,
.entry-content .wp-block-table td {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.homepage-gutenberg-content tr:nth-child(even),
.entry-content tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Buttons */
.homepage-gutenberg-content .wp-block-button__link,
.entry-content .wp-block-button__link {
    background: var(--bg-primary, #004d40);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.homepage-gutenberg-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover {
    background: var(--accent-orange, #e67e22);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

/* ==========================================================================
   SIDEBAR CATEGORY POST SLIDER WIDGET
   ========================================================================== */
.sidebar-slider-widget-box {
    position: relative;
    overflow: hidden;
}

.sidebar-post-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px;
    box-sizing: border-box;
}

.sidebar-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    margin: 0;
    padding: 0;
}

.sidebar-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    margin: 0;
    padding: 0;
    will-change: transform;
}

.sidebar-slider-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.sidebar-slider-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.35;
    min-height: 290px;
    max-height: 380px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
}

.sidebar-slider-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 5px;
    background: #ffffff;
    transition: transform 0.35s ease, filter 0.25s ease;
}

.sidebar-slider-img-wrap:hover .sidebar-slider-img {
    transform: scale(1.02);
    filter: brightness(0.97);
}

.sidebar-slider-zoom-hint {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.85;
    transition: opacity 0.25s ease, background-color 0.25s ease;
    pointer-events: none;
    z-index: 2;
}

.sidebar-slider-img-wrap:hover .sidebar-slider-zoom-hint {
    opacity: 1;
    background: var(--accent-orange, #e67e22);
}

.sidebar-slider-content {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 3px 2px 3px;
    margin: 0;
}

.sidebar-slider-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark, #1e293b);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.sidebar-slider-title i {
    color: var(--accent-orange, #e67e22);
    font-size: 11px;
    margin-right: 3px;
}

.sidebar-slider-title:hover {
    color: var(--accent-orange, #e67e22);
    text-decoration: none;
}

/* Navigation Arrow Buttons */
.sidebar-slider-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 5;
    backdrop-filter: blur(3px);
    opacity: 0;
}

.sidebar-post-slider:hover .sidebar-slider-arrow {
    opacity: 1;
}

.sidebar-slider-arrow:hover {
    background: var(--accent-orange, #e67e22);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.sidebar-slider-arrow.prev-arrow {
    left: 12px;
}

.sidebar-slider-arrow.next-arrow {
    right: 12px;
}

/* Dots Indicator */
.sidebar-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 6px;
    padding-top: 4px;
}

.sidebar-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-slider-dot.active {
    width: 18px;
    border-radius: 4px;
    background: var(--accent-orange, #e67e22);
}

.sidebar-slider-dot:hover:not(.active) {
    background: #94a3b8;
}

@media (max-width: 768px) {
    .sidebar-slider-arrow {
        opacity: 0.85;
    }
}

/* =========================================================
   STATISTIK PENGUNJUNG WIDGET
   ========================================================= */
.visitor-stats-box {
    background: #ffffff;
    border-radius: 8px;
}

.visitor-stats-body {
    padding: 6px 2px 2px;
}

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

.visitor-stats-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 4px;
    border-bottom: 1px dotted #e2e8f0;
    font-size: 13px;
    color: #4a5568;
}

.visitor-stats-label {
    font-weight: 500;
    color: #4a5568;
}

.visitor-stats-val {
    font-weight: 700;
    color: #1a202c;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
}

.visitor-stats-item.visitor-stats-total {
    border-top: 1px dashed #cbd5e1;
    border-bottom: none;
    padding-top: 11px;
    margin-top: 4px;
}

.visitor-stats-item.visitor-stats-total .visitor-stats-label {
    font-weight: 700;
    color: #1a202c;
}

.visitor-stats-item.visitor-stats-total .visitor-stats-val {
    font-weight: 800;
    color: #1a202c;
    font-size: 14px;
}

.visitor-stats-online {
    margin-top: 12px;
    padding: 10px 4px 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #2d3748;
    border-top: 1px dotted #e2e8f0;
}

.online-dot-pulse {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* =========================================================
   UNIVERSAL HIGH-PRIORITY POPUP & MODAL OVERLAY STACKING
   Fixes Popups / Modals appearing behind slider, header, or captions
   ========================================================= */
.pum-overlay,
.spu-bg,
.sg-pb-overlay,
.hustle-overlay,
.boxzilla-overlay,
.cmp-overlay,
.modal-backdrop,
.popup-overlay,
div[class*="pum-overlay"],
div[class*="popup-overlay"],
div[class*="modal-overlay"],
div[class*="spu-bg"],
div[class*="spu-overlay"] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483640 !important;
}

.pum-container,
.spu-box,
.sg-popup-builder-content,
.hustle-modal,
.boxzilla-container,
.cmp-modal,
.elementor-popup-modal,
div[id^="pum-"],
div[class*="pum-container"],
div[class*="spu-box"],
div[class*="spu-container"],
div[class*="sg-popup"],
div[class*="popmake-"],
div[class*="popup-modal"],
div[class*="modal-dialog"],
div[class*="popup-wrap"],
div[class*="popup_container"],
div[class*="bravepop_container"],
div[class*="wppb-popup-custom"] {
    z-index: 2147483647 !important;
}