/* Kompas.com Full-Width & Full-Height AdSense Architecture (Never Cropped, Never Flex-Shrunk) */
        .ad-space-wrapper {
            position: relative !important;
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
            max-height: none !important;
            margin: 6px auto !important;
            padding: 0 !important;
            text-align: center !important;
            overflow: visible !important;
            clear: both !important;
            line-height: normal !important;
        }

        .ad-space-wrapper.is-ad-hidden:not([data-ad-admin="1"]) {
            display: none !important;
            height: 0 !important;
            min-height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: hidden !important;
        }

        .ad-space-wrapper .col-bn-all,
        .ad-space-wrapper .col-bn-ds,
        .ad-space-wrapper .col-bn-mb,
        .ad-space-wrapper .row,
        .ad-space-wrapper .bn-content,
        .ad-space-wrapper .bn-inner {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
            max-height: none !important;
            min-height: 0 !important;
            margin: 0 auto !important;
            padding: 0 !important;
            overflow: visible !important;
            float: none !important;
            box-sizing: border-box !important;
        }

        .ad-space-wrapper .col-bn-ds {
            display: block !important;
        }

        .ad-space-wrapper .col-bn-mb {
            display: none !important;
        }

        @media (max-width: 991.98px) {
            .ad-space-wrapper .col-bn-ds {
                display: none !important;
            }
            .ad-space-wrapper .col-bn-mb {
                display: block !important;
            }
        }

        .ad-space-wrapper ins.adsbygoogle,
        .article-ad-space ins.adsbygoogle,
        .google-auto-placed ins.adsbygoogle {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            height: auto;
            max-height: none !important;
            margin: 0 auto !important;
            padding: 0 !important;
            text-align: center !important;
            vertical-align: top !important;
            overflow: visible !important;
            background: transparent !important;
        }

        .ad-space-wrapper ins.adsbygoogle iframe,
        .article-ad-space ins.adsbygoogle iframe,
        .google-auto-placed ins.adsbygoogle iframe {
            display: block !important;
            margin: 0 auto !important;
            vertical-align: top !important;
            max-width: 100% !important;
            overflow: visible !important;
        }

        /* Completely eliminate empty ad white spaces and collapse unfilled units cleanly */
        .ad-space-wrapper:not([data-ad-local-preview="1"]) ins.adsbygoogle[data-ad-status="unfilled"]:not([data-ep-local-rendered="1"]),
        .ad-space-wrapper:not([data-ad-local-preview="1"]) ins.adsbygoogle[data-ad-status="empty"]:not([data-ep-local-rendered="1"]),
        .ad-space-wrapper:not([data-ad-local-preview="1"]):not(:has(ins.adsbygoogle[data-ad-status="filled"])):has(ins.adsbygoogle[data-ad-status="unfilled"]),
        .ad-space-wrapper:not([data-ad-local-preview="1"]):not(:has(ins.adsbygoogle[data-ad-status="filled"])):has(ins.adsbygoogle[data-ad-status="empty"]),
        .ad-space-wrapper.is-ad-hidden:not([data-ad-admin="1"]),
        .ad-before-title:has(.is-ad-hidden),
        .ad-before-title.is-ad-hidden,
        .ep-header-banner-mobile:has(.is-ad-hidden),
        .ep-header-banner-mobile.is-ad-hidden,
        .article-ad-space:has(> .ad-space-wrapper.is-ad-hidden:not([data-ad-admin="1"])),
        .article-ad-space:has(ins[data-ad-status="unfilled"]),
        .article-ad-space:has(ins[data-ad-status="empty"]),
        .google-auto-placed:has(ins[data-ad-status="unfilled"]),
        .google-auto-placed:has(ins[data-ad-status="empty"]) {
            display: none !important;
            height: 0 !important;
            min-height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: hidden !important;
            border: none !important;
        }

        /* Preserve all title and body keywords - NEVER hide text wrapped by Google Search Intents */
        .google-anno-t,
        .google-anno-tag,
        .google-anno-sc,
        [class*="google-anno"] {
            display: inline !important;
            visibility: visible !important;
            opacity: 1 !important;
            color: inherit !important;
            font-family: inherit !important;
            font-size: inherit !important;
            font-weight: inherit !important;
            line-height: inherit !important;
            text-decoration: none !important;
            pointer-events: auto !important;
            width: auto !important;
            height: auto !important;
            position: static !important;
        }

        /* Block Google AdSense Fullscreen Popup Vignettes & Iframe Dialogs Only */
        #google_vignette,
        ins.adsbygoogle-vignette,
        [data-google-query-id*="vignette"],
        div[id^="google_ads_iframe"][id*="vignette"],
        iframe[id^="google_ads_iframe"][id*="vignette"],
        div[id^="aswift_"][id$="_host"]:has(iframe[id*="vignette"]),
        div[id^="aswift_"][id$="_host"]:has(iframe[id*="anno"]),
        iframe[name*="google_anno"],
        iframe[src*="googleads.g.doubleclick.net/pagead/ads?client="][src*="anno"] {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            width: 0 !important;
            height: 0 !important;
            max-width: 0 !important;
            max-height: 0 !important;
            position: absolute !important;
            top: -9999px !important;
            left: -9999px !important;
            z-index: -9999 !important;
            overflow: hidden !important;
        }
        html.google-vignette-open,
        body.google-vignette-open {
            overflow: auto !important;
            position: static !important;
        }

        /* MGID & Native Widget Global Styling */
        .mgid-widget-wrap,
        [data-type="_mgwidget"],
        [id*="ScriptRoot"],
        .mgbox,
        .mgline,
        .mgcontent,
        .mgimage {
            width: 100% !important;
            max-height: none !important;
            height: auto !important;
            overflow: visible !important;
            clear: both !important;
            box-sizing: border-box !important;
        }

        /* Ad Banner Images - Override .ep-home-pro img height:100% */
        .ad-space-wrapper img,
        .ep-home-pro .ad-space-wrapper img,
        .post-text .ad-space-wrapper img,
        .article-ad-space img {
            max-width: 100% !important;
            width: auto !important;
            height: auto !important;
            object-fit: contain !important;
            display: block !important;
            margin: 0 auto !important;
            border-radius: 4px !important;
            transform: none !important;
        }

        .bn-inner.bn-responsive > a > img {
            width: 100% !important;
            height: auto !important;
        }

        /* Admin Controls */
        .ad-edit-controls {
            position: absolute;
            top: 4px;
            right: 4px;
            z-index: 99999 !important;
            opacity: 0.88;
            display: flex !important;
            transition: opacity 0.2s;
            flex-direction: column;
            align-items: flex-end;
            gap: 2px;
        }
        .ad-space-wrapper:hover .ad-edit-controls {
            opacity: 1 !important;
        }
        .ad-info-badge {
            background: rgba(0, 0, 0, 0.8);
            color: #fff;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 9px;
            line-height: 1.25;
            text-align: right;
            pointer-events: none;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }
        .ad-info-name {
            font-weight: 800;
            color: #00d285;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .ad-info-size {
            opacity: 0.9;
            font-family: 'Courier New', Courier, monospace;
            font-weight: 600;
        }
        .btn-ad-edit {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 9px;
            font-size: 10px;
            font-weight: 700;
            color: #fff !important;
            background: #007bff !important;
            border-radius: 4px;
            text-decoration: none !important;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .btn-ad-edit:hover {
            background: #0056b3 !important;
            color: #fff !important;
        }
        .ad-placeholder-link-inline {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: #007bff;
            text-decoration: none;
            font-size: 12px;
        }

        /* Kompas.com Visual AdSense Unit Styles (Used for Localhost Live Preview / Testing) */
        .ep-kads-unit {
            position: relative;
            box-sizing: border-box;
            width: 100%;
            margin: 0 auto;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            text-align: left;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
            color: #0f172a;
        }
        body.dark-mode .ep-kads-unit {
            background: #111827;
            border-color: #1f2937;
            color: #f8fafc;
        }
        .ep-kads-google-controls {
            position: absolute;
            top: 3px;
            right: 4px;
            z-index: 5;
            display: inline-flex;
            align-items: center;
            gap: 3px;
            background: rgba(255, 255, 255, 0.92);
            padding: 1px 5px;
            border-radius: 2px;
            font-size: 10px;
            color: #00aecd;
            font-weight: 700;
            line-height: 1;
            box-shadow: 0 1px 2px rgba(0,0,0,0.08);
            user-select: none;
        }
        body.dark-mode .ep-kads-google-controls {
            background: rgba(17, 24, 39, 0.92);
        }
        /* Prevent Google AdSense empty host divs from adding blank height when local preview is rendered */
        .ad-space-wrapper ins.adsbygoogle[data-ep-local-rendered="1"] {
            height: auto !important;
            min-height: 0 !important;
        }
        .ad-space-wrapper ins.adsbygoogle[data-ep-local-rendered="1"] > div[id^="aswift_"],
        .ad-space-wrapper ins.adsbygoogle[data-ep-local-rendered="1"] > iframe {
            display: none !important;
            height: 0 !important;
        }

        /* 1. Kompas.com Top Billboard / Horizontal Display (970x250 / 728x90) */
        .ep-kads-billboard {
            display: flex;
            align-items: stretch;
            max-width: 970px;
            min-height: 110px;
            margin: 0 auto;
        }
        .ep-kads-billboard--compact {
            min-height: 92px;
        }
        .ep-kads-billboard__media {
            flex: 0 0 46%;
            max-width: 46%;
            background: linear-gradient(135deg, #023e8a 0%, #0077b6 50%, #0096c7 100%);
            color: #ffffff;
            padding: 16px 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .ep-kads-billboard--compact .ep-kads-billboard__media {
            flex: 0 0 38%;
            max-width: 38%;
            padding: 10px 14px;
        }
        .ep-kads-billboard__brand-pill {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 11px;
            font-weight: 800;
            color: #e0f2fe;
            letter-spacing: 0.04em;
            margin-bottom: 6px;
            text-transform: uppercase;
        }
        .ep-kads-billboard__visual-title {
            font-size: 20px;
            font-weight: 900;
            line-height: 1.2;
            color: #ffffff;
            margin: 0 0 6px;
            letter-spacing: -0.02em;
        }
        .ep-kads-billboard--compact .ep-kads-billboard__visual-title {
            font-size: 15px;
            margin-bottom: 4px;
        }
        .ep-kads-billboard__visual-sub {
            font-size: 11px;
            color: #bae6fd;
            margin-bottom: 10px;
        }
        .ep-kads-billboard--compact .ep-kads-billboard__visual-sub {
            display: none;
        }
        .ep-kads-billboard__visual-cta {
            display: inline-block;
            background: #0284c7;
            border: 1px solid rgba(255,255,255,0.35);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            padding: 4px 14px;
            border-radius: 999px;
        }
        .ep-kads-billboard__body {
            flex: 1;
            padding: 18px 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background: #ffffff;
        }
        body.dark-mode .ep-kads-billboard__body {
            background: #111827;
        }
        .ep-kads-billboard--compact .ep-kads-billboard__body {
            padding: 12px 18px;
        }
        .ep-kads-billboard__headline {
            font-size: 22px;
            font-weight: 700;
            color: #111827;
            margin: 0 0 8px;
            line-height: 1.25;
        }
        body.dark-mode .ep-kads-billboard__headline {
            color: #f9fafb;
        }
        .ep-kads-billboard--compact .ep-kads-billboard__headline {
            font-size: 16px;
            margin-bottom: 4px;
        }
        .ep-kads-billboard__desc {
            font-size: 14px;
            color: #6b7280;
            line-height: 1.45;
            margin: 0 0 12px;
        }
        body.dark-mode .ep-kads-billboard__desc {
            color: #9ca3af;
        }
        .ep-kads-billboard--compact .ep-kads-billboard__desc {
            font-size: 12px;
            margin-bottom: 6px;
        }
        .ep-kads-billboard__footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid #f1f5f9;
            padding-top: 10px;
        }
        body.dark-mode .ep-kads-billboard__footer {
            border-top-color: #1f2937;
        }
        .ep-kads-billboard--compact .ep-kads-billboard__footer {
            padding-top: 6px;
        }
        .ep-kads-billboard__adv {
            font-size: 13px;
            color: #4b5563;
            font-weight: 500;
        }
        body.dark-mode .ep-kads-billboard__adv {
            color: #9ca3af;
        }
        .ep-kads-billboard__link {
            font-size: 15px;
            font-weight: 700;
            color: #1d73c3 !important;
            text-decoration: none !important;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        @media (max-width: 767.98px) {
            .ep-kads-billboard {
                flex-direction: column;
                min-height: auto;
            }
            .ep-kads-billboard__media,
            .ep-kads-billboard--compact .ep-kads-billboard__media {
                flex: none;
                max-width: 100%;
                width: 100%;
                padding: 12px;
            }
            .ep-kads-billboard__body {
                padding: 12px 14px;
            }
            .ep-kads-billboard__headline {
                font-size: 16px;
            }
            .ep-kads-billboard__desc {
                font-size: 12px;
            }
        }

        /* 2. Kompas.com Right/Left Sidebar Rectangle & Half-Page (300x250 / 300x600) */
        .ep-kads-sidebar {
            padding: 18px 16px;
            background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
            min-height: 250px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        body.dark-mode .ep-kads-sidebar {
            background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
        }
        .ep-kads-sidebar--tall {
            min-height: 460px;
        }
        .ep-kads-sidebar__brand {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 11px;
            font-weight: 800;
            color: #1d4ed8;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            border-bottom: 1.5px solid #bfdbfe;
            padding-bottom: 8px;
            margin-bottom: 12px;
        }
        body.dark-mode .ep-kads-sidebar__brand {
            color: #60a5fa;
            border-bottom-color: #334155;
        }
        .ep-kads-sidebar__headline {
            font-size: 22px;
            font-weight: 800;
            line-height: 1.25;
            color: #0f172a;
            margin: 0 0 10px;
        }
        body.dark-mode .ep-kads-sidebar__headline {
            color: #f8fafc;
        }
        .ep-kads-sidebar__desc {
            font-size: 13px;
            line-height: 1.5;
            color: #475569;
            margin: 0 0 16px;
        }
        body.dark-mode .ep-kads-sidebar__desc {
            color: #94a3b8;
        }
        .ep-kads-sidebar__cta {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 38px;
            background: #1d73c3;
            color: #ffffff !important;
            font-size: 13px;
            font-weight: 700;
            border-radius: 6px;
            text-decoration: none !important;
        }

        /* 3. Kompas.com Vertical Sticky Skyscraper Skin Ad (160x600) */
        .ep-kads-skyscraper {
            width: 100%;
            min-height: 560px;
            background: linear-gradient(180deg, #005c99 0%, #0284c7 55%, #0369a1 100%);
            color: #ffffff;
            padding: 18px 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            text-align: center;
        }
        .ep-kads-skyscraper__brand {
            background: rgba(255,255,255,0.16);
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.04em;
        }
        .ep-kads-skyscraper__tag {
            font-size: 11px;
            color: #fde047;
            font-weight: 700;
            line-height: 1.35;
        }
        .ep-kads-skyscraper__price-label {
            font-size: 14px;
            font-weight: 700;
            color: #e0f2fe;
        }
        .ep-kads-skyscraper__price {
            font-size: 28px;
            font-weight: 900;
            color: #ffffff;
            line-height: 1.1;
        }
        .ep-kads-skyscraper__badge {
            background: #22c55e;
            color: #fff;
            font-size: 10px;
            font-weight: 800;
            padding: 4px 8px;
            border-radius: 999px;
            text-transform: uppercase;
        }
        .ep-kads-skyscraper__cta {
            display: inline-block;
            width: 100%;
            padding: 8px 6px;
            background: #0f172a;
            color: #ffffff !important;
            font-size: 11px;
            font-weight: 800;
            border-radius: 6px;
            border: 1px solid rgba(255,255,255,0.4);
            text-transform: uppercase;
        }

        /* 4. Kompas.com Multiplex / Autorelaxed 4-Card Grid */
        .ep-kads-multiplex {
            padding: 12px 14px;
        }
        .ep-kads-multiplex__head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 11px;
            color: #64748b;
            font-weight: 600;
        }
        .ep-kads-multiplex__grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }
        @media (max-width: 767.98px) {
            .ep-kads-multiplex__grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .ep-kads-multiplex__card {
            display: flex;
            flex-direction: column;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            overflow: hidden;
            background: #f8fafc;
        }
        body.dark-mode .ep-kads-multiplex__card {
            background: #1e293b;
            border-color: #334155;
        }
        .ep-kads-multiplex__thumb {
            height: 92px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 12px;
            padding: 8px;
            text-align: center;
        }
        .ep-kads-multiplex__body {
            padding: 8px 10px;
        }
        .ep-kads-multiplex__title {
            font-size: 12.5px;
            font-weight: 700;
            line-height: 1.35;
            color: #0f172a;
            margin: 0 0 4px;
        }
        body.dark-mode .ep-kads-multiplex__title {
            color: #f1f5f9;
        }
        .ep-kads-multiplex__meta {
            font-size: 10.5px;
            color: #64748b;
        }
