/* ======================================================
   WILISPOST.COM ΓÇö Custom CSS v3.8.2
   Matches urbanjabar.com header ΓÇö comprehensive fix
   ====================================================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

/* === FIX: Category header title ΓÇö dark text, not blue === */
.archive-header h1,
.archive-header h1 span,
.archive-header h1 span.color1,
.archive-header h1 span.color2,
.archive-header h1 span.color3,
.archive-header h1 span.color4,
.archive-header h1 span.color5 {
    color: #222 !important;
}

/* ======================================================
   ADMIN BAR ΓÇö Handled entirely by admin-bar.blade.php
   Only offsets for sticky-bar .sticky-bar conflict here
   ====================================================== */
body.show-admin-bar .header-bottom.header-sticky.sticky-bar {
    top: 40px !important;
}

/* === DUAL SUPPORT: Desktop shows its header, Mobile shows drawer === */
/* Desktop (ΓëÑ992px): desktop header visible, mobile drawer hidden */
@media (min-width: 992px) {
    .mn-overlay, .mn-drawer, .mn-mobile-bar { display: none !important; }
}

/* Mobile (≤991px): hide desktop header & nav, show mobile drawer */
@media (max-width: 991px) {
    .header-middle-kagemi { display: none !important; }
    .header-bottom.header-sticky { display: none !important; }
    .header-mobile-top { display: none !important; }
    .mobile_menu, .slicknav_menu, .slicknav_btn, .slicknav_nav { display: none !important; }
    /* Collapse the <header> tag itself on mobile — all desktop parts are hidden,
       only the fixed mobile bar remains (out of flow) */
    header.main-header {
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }
    .mn-mobile-bar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10000 !important;
        background: #f8f9fa !important;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    }
    .mn-overlay { display: block !important; }
    .mn-drawer { display: flex !important; }
    body { overflow-x: hidden !important; padding-top: 56px !important; }
    body.show-admin-bar { padding-top: 88px !important; }
    body.show-admin-bar .mn-mobile-bar { top: 32px !important; }
    body.mn-no-scroll { overflow: hidden !important; }
    /* Reduce gap before content on mobile */
    main.position-relative.pt-40 { padding-top: 4px !important; }
    .pt-40 { padding-top: 4px !important; }
    .hops-ad-slot.hops-ad-top-banner { margin: 0 !important; padding: 0 !important; }
}

/* === Sticky nav: fixed to top when scrolling past header === */
.header-bottom.header-sticky.sticky-bar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
    animation: slideDown 0.35s ease-out;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.kagemi-desktop-nav {
    display: flex !important;
}

/* === Hide login & social icons from blue nav bar === */
.main-menu > li.text-left.d-block.d-md-none {
    display: none !important;
}

/* === Match urbanjabar.com header style === */
/* Hide offcanvas (All Sections) & login from white header */
.header-middle-kagemi .kagemi-offcanvas-btn {
    display: none !important;
}
.header-middle-kagemi .col-lg-8 > .d-inline-flex > .d-inline-block:last-child {
    display: none !important;
}

/* Home icon in nav bar (replaces "Home" text link) ΓÇö urbanjabar.com style */
.nav__home {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.nav__home a {
    color: #333;
    font-size: 18px;
    padding: 0 14px 0 8px;
    display: flex;
    align-items: center;
    height: 46px;
    transition: color 0.2s;
    border-right: 1px solid #eff0f6;
}
.nav__home a:hover {
    color: #0084ff;
}

/* Nav bar: dark text on white background (urbanjabar style) */
.header-bottom .main-menu > li > a {
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.2px !important;
    padding: 10px 14px !important;
    line-height: 26px !important;
    transition: color 0.2s;
}
.header-bottom .main-menu > li > a:hover,
.header-bottom .main-menu > li.active > a {
    color: #004a8f !important;
}

/* Search button in header middle ΓÇö urbanjabar style */
.header-search-btn {
    background: #eff0f6 !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s;
}
.header-search-btn i {
    font-size: 14px !important;
    color: #6e7191 !important;
}
.header-search-btn:hover {
    background: #004a8f !important;
}
.header-search-btn:hover i {
    color: #fff !important;
}

/* Social icon hover ΓÇö urbanjabar style */
.header-middle-kagemi .d-inline-flex a[target="_blank"]:hover {
    background: #004a8f !important;
    color: #fff !important;
}

.header-bottom .kagemi-search-trigger {
    color: #333 !important;
    border-color: transparent !important;
}
.header-bottom .kagemi-search-trigger:hover {
    color: #004a8f !important;
}

/* Hide "Home" text link from nav (replaced by home icon) */
.main-menu > li.cat-item:first-child {
    display: none !important;
}

/* Desktop header middle: clean, no border */
.header-middle-kagemi {
    border-bottom: none !important;
}

/* ======================================================
   3. MAIN CONTENT AREA
   ====================================================== */
main.position-relative.pt-40 {
    padding-top: 15px !important;
}

.background12,
main.position-relative {
    background: #fff !important;
}

.background-white {
    background: #fff !important;
}

/* ======================================================
   4. HERO SLIDER ΓÇö Side-by-side layout
   ====================================================== */
/* Big slider left */
.hl-big-slider {
    border-radius: 8px !important;
    overflow: hidden;
}

@media only screen and (min-width: 1080px) {
    .featured-slider-1-items .slick-list {
        min-height: 400px;
    }
}

.featured-slider-1 {
    border-radius: 8px !important;
    overflow: hidden;
}

.featured-slider-1 .arrow-cover .slick-btn {
    transition: all 0.3s !important;
}

/* Small thumbnails right ΓÇö hover effect */
.hl-small-item {
    transition: background 0.2s;
    border: 1px solid #f0f0f0;
}
.hl-small-item:hover {
    background: #f5f8fc !important;
}
.hl-small-item:hover h6 a {
    color: #2563a0 !important;
}

/* ======================================================
   4b. POST CARD IMAGE OVERLAY
   ====================================================== */
.post-module-1 .thumb-overlay .img-hover-slide::after,
.loop-grid .thumb-overlay .img-hover-slide::after,
.loop-list .thumb-overlay .img-hover-slide::after,
.related-posts .thumb-overlay .img-hover-slide::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 75% !important;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    border-radius: inherit !important;
}

.post-module-1 .thumb-overlay .post-content,
.loop-grid .thumb-overlay .post-content,
.post-module-1 .thumb-overlay .entry-meta,
.post-module-1 .thumb-overlay .post-title,
.thumb-overlay .post-cat,
.thumb-overlay .post-in,
.thumb-overlay .img-link {
    position: relative !important;
    z-index: 2 !important;
}

.post-module-1 .thumb-overlay .post-title a,
.loop-grid .thumb-overlay .post-title a {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}
.post-module-1 .thumb-overlay .entry-meta span,
.loop-grid .thumb-overlay .entry-meta span {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* ======================================================
   5. HIDE SOCIAL SHARE OVERLAYS
   ====================================================== */
.post-thumb .social-share {
    display: none !important;
}
.loop-grid .social-share,
.loop-list .social-share,
.post-block-list .social-share {
    display: none !important;
}

/* ======================================================
   6. SECTION TITLES
   ====================================================== */
.widget-header .widget-title,
.section-title,
h5.widget-title {
    font-family: "Poppins", sans-serif !important;
    letter-spacing: 0.3px !important;
}

/* ======================================================
   7. POST CARD STYLING
   ====================================================== */
.post-title a {
    transition: color 0.2s !important;
}

.entry-meta span {
    font-size: 12px !important;
}

.entry-meta .post-on,
.entry-meta .time-reading {
    font-size: 12px !important;
    color: #999 !important;
}

.loop-grid .entry-meta .hit-count,
.loop-list .entry-meta .hit-count {
    display: none !important;
}

/* ======================================================
   8. EDITORS PICK SECTION
   ====================================================== */
.kagemi-editors-pick {
    margin-top: 10px;
    margin-bottom: 10px;
}

.kagemi-editors-pick .ep-date {
    color: #999 !important;
    font-size: 12px !important;
}

/* ======================================================
   9. POST GRID SECTION
   ====================================================== */
.loop-grid .post-thumb {
    margin-bottom: 15px !important;
}

.loop-grid .post-content {
    padding: 0 !important;
}

/* ======================================================
   10. SIDEBAR WIDGETS
   ====================================================== */
.widget-social-network .follow-us {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.widget-social-network .follow-us a {
    border-radius: 6px !important;
    width: calc(50% - 4px) !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    margin: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    color: #fff !important;
}
.widget-social-network .follow-us a .social-icon {
    display: inline-flex !important;
    align-items: center !important;
    width: 24px !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
}
.widget-social-network .follow-us a .social-icon i.nth-2 {
    display: none !important;
}
.widget-social-network .follow-us a .social-name {
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-left: 6px !important;
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.widget-social-network .follow-us a .social-count {
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-left: 4px !important;
    flex-shrink: 0 !important;
    opacity: 0.9;
}

.sidebar-widget .widget_categories ul li a {
    color: #333 !important;
    font-size: 14px !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: block !important;
}

/* ======================================================
   11. FOOTER ΓÇö SIMPLE DARK (WilisPost)
   ====================================================== */
/* =============================================
   WILIS FOOTER ΓÇö Professional Redesign
   ============================================= */
footer {
    background: #1a1a2e !important;
}
.wilis-footer {
    background: #1a1a2e !important;
    padding: 48px 0 40px !important;
}

/* --- Main 2-column layout --- */
.wilis-footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* Left column: logo, address, email */
.wilis-footer-col-info {
    flex: 0 1 420px;
}
.wilis-footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}
.wilis-footer-logo-img {
    max-height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}
.wilis-footer-address {
    color: #8a8d9b !important;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0 0 14px 0;
}
.wilis-footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91,155,213,.1);
    border: 1px solid rgba(91,155,213,.2);
    border-radius: 6px;
    padding: 8px 16px;
    transition: all .2s ease;
}
.wilis-footer-email:hover {
    background: rgba(91,155,213,.18);
    border-color: rgba(91,155,213,.35);
}
.wilis-footer-email-icon {
    width: 18px;
    height: 18px;
    color: #5b9bd5;
    flex-shrink: 0;
}
.wilis-footer-email a {
    color: #c8ccd6 !important;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}
.wilis-footer-email a:hover {
    color: #5b9bd5 !important;
}

/* Right column: category navigation */
.wilis-footer-col-nav {
    flex: 0 1 320px;
    text-align: right;
}
.wilis-footer-heading {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #5b9bd5;
    display: inline-block;
}
.wilis-footer-nav-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: flex-end;
}
.wilis-footer-nav-grid a {
    color: #b0b3c0 !important;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 14px;
    border-right: 1px solid #2a2a40;
    transition: color .2s;
    white-space: nowrap;
}
.wilis-footer-nav-grid a:last-child {
    border-right: none;
    padding-right: 0;
}
.wilis-footer-nav-grid a:hover {
    color: #5b9bd5 !important;
}

/* --- Footer bottom bar: page links + copyright --- */
.wilis-footer-bottom {
    background: #12122a !important;
    border-top: 1px solid #2a2a40;
}
.wilis-footer-bottom-inner {
    padding: 16px 0;
    text-align: center;
}

/* Page links row */
.wilis-footer-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-bottom: 10px;
}
.wilis-footer-pages a {
    color: #8a8d9b !important;
    font-size: 12.5px;
    text-decoration: none;
    padding: 3px 14px;
    border-right: 1px solid #2a2a40;
    transition: color .2s;
    white-space: nowrap;
}
.wilis-footer-pages a:last-child {
    border-right: none;
}
.wilis-footer-pages a:hover {
    color: #5b9bd5 !important;
}

/* Copyright text */
.wilis-footer-copyright {
    padding: 0;
}
.wilis-footer-copyright p {
    color: #c8ccd6 !important;
    font-size: 12px;
    margin: 0;
}
.wilis-footer-copyright a {
    color: #c8ccd6 !important;
    text-decoration: none;
}
.wilis-footer-copyright a:hover {
    color: #ffffff !important;
}

/* --- Mobile Footer --- */
@media (max-width: 767px) {
    .wilis-footer {
        padding: 32px 0 28px !important;
    }
    .wilis-footer-main {
        flex-direction: column;
        gap: 28px;
    }
    .wilis-footer-col-info {
        flex: 1;
    }
    .wilis-footer-col-nav {
        flex: 1;
        text-align: left;
    }
    .wilis-footer-heading {
        display: inline-block;
    }
    .wilis-footer-nav-grid {
        justify-content: flex-start;
    }
    .wilis-footer-nav-grid a:first-child {
        padding-left: 0;
    }
    .wilis-footer-pages {
        justify-content: center;
    }
    .wilis-footer-pages a {
        padding: 4px 10px;
        font-size: 12px;
    }
}

/* ======================================================
   12. SCROLL PROGRESS BAR
   ====================================================== */
.scroll-progress {
    background: #2563a0 !important;
}

/* ======================================================
   13. IMAGE CONSISTENCY
   ====================================================== */
.img-hover-slide {
    background-size: cover;
    background-position: center;
}

.post-module-1 .thumb-overlay .img-hover-slide {
    min-height: 200px;
}

.single-thumnail img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.kagemi-headline .kagemi-slider-img {
    width: 100%;
    height: 444px;
    object-fit: cover;
    display: block;
}

.entry-main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

img.lazy {
    background-color: #f0f0f0;
}

/* ======================================================
   13b. BERITA TERKINI & TERPOPULER ΓÇö Harian Haluan Style
   ====================================================== */

/* Section wrapper */
.hh-section {
    background: #fff;
    padding: 20px 0 30px;
}

/* Section title bar ΓÇö blue left border */
.hh-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    border-bottom: 3px solid #2563a0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
    display: block;
}
.hh-section-title span {
    display: inline-block;
    position: relative;
}

/* ---- Berita Terkini List ---- */
.hh-latest__wrap {
    display: flex;
    flex-direction: column;
}

.hh-latest__item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}
.hh-latest__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hh-latest__img {
    flex: 0 0 188px;
    width: 188px;
    margin-right: 15px;
}
.hh-latest__img a {
    display: block;
    line-height: 0;
}
.hh-latest__img img {
    width: 188px;
    height: 113px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.hh-latest__right {
    flex: 1;
    min-width: 0;
}

.hh-latest__subtitle {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 6px;
    font-family: "Poppins", sans-serif;
}
.hh-latest__subtitle a {
    color: #2563a0;
    text-decoration: none;
}
.hh-latest__subtitle a:hover {
    color: #1a4a80;
}

.hh-latest__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 8px;
    font-family: "Poppins", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hh-latest__link {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}
.hh-latest__link:hover {
    color: #2563a0;
}

.hh-latest__date {
    font-size: 12px;
    color: #999;
    font-family: "Poppins", sans-serif;
    font-style: normal;
}

/* ---- Terpopuler Sidebar in Berita Terkini (match article page style) ---- */
.hh-section .kagemi-popular-list .d-flex {
    padding: 10px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    align-items: flex-start !important;
}
.hh-section .kagemi-popular-list .d-flex:last-child {
    border-bottom: none !important;
}
.hh-section .kagemi-popular-num {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333 !important;
    min-width: 28px !important;
    line-height: 1.4 !important;
    font-family: "Poppins", sans-serif !important;
    background: none !important;
    margin-right: 10px !important;
}
.hh-section .kagemi-popular-num::after {
    display: none !important;
}
.hh-section .kagemi-popular-list h6 {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    padding-top: 4px !important;
}
.hh-section .kagemi-popular-list h6 a {
    color: #1a2a4a !important;
    font-weight: 600 !important;
    font-family: "Poppins", sans-serif !important;
}
.hh-section .kagemi-popular-list h6 a:hover {
    color: #2563a0 !important;
}
.hh-section .kagemi-popular-date {
    font-size: 12px !important;
    color: #999 !important;
    display: block !important;
    margin-top: 2px !important;
}

/* ---- Mobile Responsive ---- */
@media (max-width: 767px) {
    .hh-latest__img {
        flex: 0 0 120px;
        width: 120px;
        margin-right: 12px;
    }
    .hh-latest__img img {
        width: 120px;
        height: 72px;
    }
    .hh-latest__title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .hh-latest__subtitle {
        font-size: 10px;
        margin-bottom: 4px;
    }
    .hh-latest__date {
        font-size: 11px;
    }
}

/* Terpopuler sidebar ΓÇö category pages (legacy support) */
.hops-category-page .kagemi-popular-list .d-flex {
    padding: 10px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    align-items: flex-start !important;
}
.hops-category-page .kagemi-popular-list .d-flex:last-child {
    border-bottom: none !important;
}
.hops-category-page .kagemi-popular-num {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333 !important;
    min-width: 28px !important;
    line-height: 1.4 !important;
    font-family: "Poppins", sans-serif !important;
    background: none !important;
    margin-right: 10px !important;
}
.hops-category-page .kagemi-popular-num::after {
    display: none !important;
}
.hops-category-page .kagemi-popular-list h6 {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    padding-top: 4px !important;
}
.hops-category-page .kagemi-popular-list h6 a {
    color: #1a2a4a !important;
    font-weight: 600 !important;
    font-family: "Poppins", sans-serif !important;
}
.hops-category-page .kagemi-popular-list h6 a:hover {
    color: #2563a0 !important;
}
.hops-category-page .kagemi-popular-date {
    display: none !important;
}

/* ======================================================
   13c. TOPIK KHUSUS ΓÇö 4 topic cards side-by-side
   ====================================================== */
.topik-khusus-section .topik-card {
    transition:
        box-shadow 0.2s,
        transform 0.2s;
}
.topik-khusus-section .topik-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
}
.topik-khusus-section .topik-card ul li a {
    transition: color 0.2s;
}
.topik-khusus-section .topik-card ul li a:hover {
    color: #2563a0 !important;
}

/* Legacy tab styles ΓÇö hide if still present */
.block-tab-item .post-block-style .post-thumb.mb-30 img.lazy,
.block-tab-item .post-block-style .post-thumb.mb-30 img {
    height: 140px !important;
    width: 100% !important;
    object-fit: cover !important;
}
.block-tab-item .social-share {
    display: none !important;
}

/* ======================================================
   13d. ARTIKEL LAINNYA ΓÇö Compact grid (230x138 like harianhaluan)
   ====================================================== */
.sidebar-widget.loop-grid .post-thumb.mb-30 img.lazy,
.sidebar-widget.loop-grid .post-thumb.mb-30 img,
.loop-grid .post-thumb img.lazy,
.loop-grid .post-thumb img {
    height: 140px !important;
    width: 100% !important;
    object-fit: cover !important;
}

.loop-grid .post-thumb.mb-30 {
    margin-bottom: 10px !important;
}

.loop-grid .post-excerpt {
    display: none !important;
}

.loop-grid .post-title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
}
.loop-grid .post-title a {
    font-weight: 600 !important;
    color: #222 !important;
    font-family: "Poppins", sans-serif !important;
}
.loop-grid .post-title a:hover {
    color: #2563a0 !important;
}

.loop-grid .entry-meta.meta-0 {
    margin-bottom: 6px !important;
}
.loop-grid .entry-meta.meta-1 {
    margin-top: 6px !important;
    margin-bottom: 8px !important;
}
.loop-grid .entry-meta.meta-1 span {
    font-size: 12px !important;
}

.loop-grid .col-lg-4 {
    margin-bottom: 20px !important;
}

/* ======================================================
   13e. GLOBAL POST CARD ΓÇö reduce min-height for all
   ====================================================== */
.post-module-1 .thumb-overlay .img-hover-slide {
    min-height: 200px;
}

/* ======================================================
   14. MOBILE LAYOUT
   ====================================================== */
/* (Mobile header overrides moved to top of file) */

@media (max-width: 767px) {
    /* Hero: stack vertically on mobile */
    .kagemi-headline .col-lg-8,
    .kagemi-headline .col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .kagemi-headline .col-lg-4,
    .kagemi-headline .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .kagemi-headline .kagemi-slider-img {
        height: 260px !important;
    }
    .hl-small-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .hl-small-item {
        flex: 0 0 calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
    }
    .hl-small-item .hl-small-img {
        flex: 0 0 80px !important;
        max-width: 80px !important;
    }
    .hl-small-item .hl-small-img img {
        width: 80px !important;
        height: 60px !important;
    }
    .hl-small-item .hl-small-text h6 {
        font-size: 11px !important;
    }

    /* List pages */
    .loop-list-1 article.row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    .loop-list-1 article.row > .col-md-6:first-child {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .loop-list-1 article.row > .col-md-6:last-child {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .loop-list-1 article.row .img-hover-slide {
        min-height: 180px;
    }

    .archive .loop-list-1 .first-post .img-hover-slide {
        min-height: 250px;
    }

    .related-posts article.row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    .related-posts article.row > .col-md-4 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
    .related-posts article.row > .col-md-8 {
        flex: 0 0 66.666% !important;
        max-width: 66.666% !important;
    }
    .related-posts .img-hover-slide {
        min-height: 130px;
    }

    .loop-list .post-thumb.mr-20 {
        margin-right: 20px !important;
    }
    .related-posts .post-thumb.mr-20 {
        margin-right: 20px !important;
    }

    .post-module-1 .thumb-overlay .img-hover-slide {
        min-height: 200px;
    }

    .featured-slider-2-items .post-thumb .thumb-overlay {
        min-height: 300px !important;
    }

    .post-content h4.post-title {
        font-size: 1rem;
        line-height: 1.4;
    }

    .archive-header .border-color-1.mt-30 {
        margin: 15px 0 !important;
    }

    /* Mobile: editors pick 2 columns */
    .kagemi-editors-pick .ep-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* Mobile: Berita Terkini compact */
    .recent-area .berita-terkini-list .col-md-3 {
        flex: 0 0 130px !important;
        max-width: 130px !important;
    }
    .recent-area .berita-terkini-list .img-hover-slide {
        min-height: 85px !important;
        max-height: 85px !important;
    }
    .recent-area .berita-terkini-list .post-title {
        font-size: 13px !important;
    }
    .recent-area .berita-terkini-list article.row {
        flex-wrap: nowrap !important;
    }

    /* Mobile: tighter section spacing */
    .pt-30 {
        padding-top: 15px !important;
    }
    .pb-30 {
        padding-bottom: 15px !important;
    }

    /* Mobile: Topik Khusus ΓÇö 2 columns */
    .topik-khusus-section .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .topik-khusus-section .topik-card img {
        height: 120px !important;
    }
    .topik-khusus-section .topik-card ul li a {
        font-size: 12px !important;
    }

    /* Mobile: Artikel Lainnya compact */
    .sidebar-widget.loop-grid .post-thumb.mb-30 img.lazy,
    .sidebar-widget.loop-grid .post-thumb.mb-30 img,
    .loop-grid .post-thumb img.lazy,
    .loop-grid .post-thumb img {
        height: 120px !important;
    }
    .loop-grid .post-title {
        font-size: 14px !important;
    }
    .loop-grid .entry-meta.meta-1 {
        flex-wrap: wrap !important;
        gap: 2px 6px !important;
        overflow: hidden !important;
    }
    .loop-grid .entry-meta.meta-1 span {
        font-size: 11px !important;
        white-space: nowrap !important;
    }
    .loop-grid .entry-meta.meta-1 .hit-count {
        display: none !important;
    }

    /* Mobile: reduce global thumb overlay */
    .post-module-1 .thumb-overlay .img-hover-slide {
        min-height: 180px !important;
    }
}

/* ======================================================
   15. SMALL MOBILE (< 480px)
   ====================================================== */
@media (max-width: 479px) {
    /* Hero: single column thumbnails */
    .hl-small-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .kagemi-headline .kagemi-slider-img {
        height: 200px !important;
    }

    .loop-list-1 article.row .img-hover-slide {
        min-height: 140px;
    }
    .related-posts .img-hover-slide {
        min-height: 100px;
    }
    .post-module-1 .thumb-overlay .img-hover-slide {
        min-height: 160px;
    }
    .featured-slider-2-items .post-thumb .thumb-overlay {
        min-height: 220px !important;
    }
    .archive .loop-list-1 .first-post .img-hover-slide {
        min-height: 200px;
    }

    /* Very small: Berita Terkini even more compact */
    .recent-area .berita-terkini-list .col-md-3 {
        flex: 0 0 110px !important;
        max-width: 110px !important;
    }
    .recent-area .berita-terkini-list .img-hover-slide {
        min-height: 75px !important;
        max-height: 75px !important;
    }
    .recent-area .berita-terkini-list .post-title {
        font-size: 12px !important;
    }
    .recent-area .berita-terkini-list .entry-meta.meta-0 {
        margin-bottom: 3px !important;
    }
    .recent-area .berita-terkini-list .entry-meta.meta-1 {
        display: none !important;
    }

    /* Very small: editors pick single column */
    .kagemi-editors-pick .ep-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Small mobile: Topik Khusus ΓÇö single column */
    .topik-khusus-section .col-lg-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Small mobile: Artikel Lainnya compact */
    .sidebar-widget.loop-grid .post-thumb.mb-30 img.lazy,
    .sidebar-widget.loop-grid .post-thumb.mb-30 img,
    .loop-grid .post-thumb img.lazy,
    .loop-grid .post-thumb img {
        height: 120px !important;
    }
    .loop-grid .post-title {
        font-size: 13px !important;
    }
    .loop-grid .entry-meta.meta-1 .time-reading {
        display: none !important;
    }

    /* Small mobile: reduce global img overlay */
    .post-module-1 .thumb-overlay .img-hover-slide {
        min-height: 150px !important;
    }
}

/* ======================================================
   16. TABLET (768px - 991px)
   ====================================================== */
@media (min-width: 768px) and (max-width: 991px) {
    .img-hover-slide {
        min-height: 220px;
    }
    .related-posts .img-hover-slide {
        min-height: 160px;
    }
    .kagemi-editors-pick .ep-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    /* Topik Khusus: 2 columns on tablet */
    .topik-khusus-section .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* ======================================================
   17. GLOBAL FONT FAMILY ΓÇö Poppins
   ====================================================== */
body,
.post-title a,
.widget-title,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

/* ======================================================
   18. HOPS-STYLE CATEGORY PAGE LAYOUT
   Matches hops.id category page design
   ====================================================== */

/* === Category Page Wrapper ΓÇö matches homepage recent-area === */
.hops-category-page {
    padding-top: 30px;
    padding-bottom: 30px;
    background: #fff !important;
}

/* Sidebar alignment */
.hops-category-page .col-lg-4 {
    align-self: flex-start;
}

/* Widget-area inside category sidebar ΓÇö match homepage */
.hops-category-page .widget-area {
    padding-left: 0;
}

/* === Section Title (colored accent bar) === */
.hops-section-title {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    padding: 0 0 10px 0;
    border-bottom: 3px solid #2563a0;
    display: inline-block;
    position: relative;
}
.hops-section-title span {
    display: inline-block;
    position: relative;
}
.hops-section-title span::after {
    display: none;
}

/* === Search Bar (Search Results Page) === */
.hops-search-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color .2s ease;
}
.hops-search-bar:focus-within {
    border-color: #2563a0;
    box-shadow: 0 0 0 3px rgba(37,99,160,.12);
}
.hops-search-bar .hops-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font-body, sans-serif);
    color: #333;
    background: transparent;
    min-width: 0;
}
.hops-search-bar .hops-search-input::placeholder {
    color: #999;
}
.hops-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #2563a0;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease;
}
.hops-search-btn:hover {
    background: #1d4f80;
}

/* Search filter row */
.hops-search-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.hops-search-filter-info {
    font-size: 15px;
    color: #555;
}
.hops-search-filter-info strong {
    color: #222;
}
.hops-search-filter-sort select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    outline: none;
}
.hops-search-filter-sort select:focus {
    border-color: #2563a0;
}

/* === Headline (Featured Post ΓÇö Big Image) === */
.hops-headline {
    margin-bottom: 25px;
}
.hops-hl-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}
.hops-hl-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.hops-hl-img:hover img {
    transform: scale(1.03);
}
.hops-hl-box {
    padding: 0;
}
.hops-hl-cat {
    display: inline-block;
    margin-bottom: 8px;
}
.hops-hl-cat a {
    display: inline-block;
    background: #2563a0;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 3px;
}
.hops-hl-cat a:hover {
    background: #1d4f80;
    color: #fff;
}
.hops-hl-title {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px 0;
    color: #222;
}
.hops-hl-title a {
    color: inherit;
    text-decoration: none;
}
.hops-hl-title a:hover {
    color: #2563a0;
}
.hops-hl-date {
    font-size: 13px;
    color: #999;
    font-family: "Poppins", sans-serif;
}

/* === Latest Article List (thumbnail + title) === */
.hops-latest {
    margin-top: 10px;
}
.hops-latest-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e8e8e8;
}
.hops-latest-item:first-child {
    border-top: 1px solid #e8e8e8;
}
.hops-latest-img {
    flex-shrink: 0;
    width: 188px;
    height: 113px;
    overflow: hidden;
    border-radius: 6px;
}
.hops-latest-img a {
    display: block;
    width: 100%;
    height: 100%;
}
.hops-latest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.hops-latest-img:hover img {
    transform: scale(1.05);
}
.hops-latest-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hops-latest-cat {
    display: inline-block;
    margin-bottom: 6px;
}
.hops-latest-cat a {
    display: inline-block;
    background: #2563a0;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.3px;
    padding: 2px 10px;
    border-radius: 3px;
}
.hops-latest-cat a:hover {
    background: #1d4f80;
    color: #fff;
}
.hops-latest-title {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #222;
}
.hops-latest-title a {
    color: inherit;
    text-decoration: none;
}
.hops-latest-title a:hover {
    color: #2563a0;
}
.hops-latest-date {
    font-size: 12px;
    color: #999;
    font-family: "Poppins", sans-serif;
}

/* === Pagination (hops-style) === */
.hops-paging {
    padding: 25px 0;
    text-align: center;
}
.hops-paging nav {
    display: flex;
    justify-content: center;
}
.hops-paging .pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hops-paging .pagination li,
.hops-paging .pagination .page-item {
    display: inline-block;
}
.hops-paging .pagination li a,
.hops-paging .pagination li span,
.hops-paging .pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.hops-paging .pagination li a:hover,
.hops-paging .pagination .page-item .page-link:hover {
    background: #2563a0;
    color: #fff;
    border-color: #2563a0;
}
.hops-paging .pagination li.active span,
.hops-paging .pagination .page-item.active .page-link {
    background: #2563a0;
    color: #fff !important;
    border-color: #2563a0;
    overflow: visible;
    text-indent: 0;
    font-size: 14px;
    line-height: 36px;
}
.hops-paging .pagination li.disabled span,
.hops-paging .pagination .page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
    background: #f9f9f9;
}
/* Hide "Previous" button on first page (disabled state) */
.hops-paging .pagination .page-item.disabled {
    display: none;
}

/* === Terpopuler Sidebar ΓÇö now uses homepage kagemi classes === */
/* Styles from kagemi.css: .widget-title, .kagemi-popular-num, .kagemi-popular-list, .kagemi-popular-date */

/* === Hide old archive-header on hops pages === */
.hops-category-page .archive-header {
    display: none;
}

/* === Responsive ΓÇö Category Page === */
@media (max-width: 991px) {
    .hops-category-page .col-lg-4 {
        margin-top: 30px;
    }
}
@media (max-width: 767px) {
    .hops-latest-img {
        width: 120px;
        height: 72px;
    }
    .hops-latest-title {
        font-size: 14px;
    }
    .hops-hl-title {
        font-size: 18px;
    }
    .hops-section-title {
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .hops-latest-img {
        width: 100px;
        height: 60px;
    }
    .hops-latest-title {
        font-size: 13px;
    }
    .hops-latest-cat a {
        font-size: 11px;
    }
    .hops-latest-date {
        font-size: 11px;
    }
    .hops-hl-title {
        font-size: 16px;
    }
}

/* === Indeks Berita — Date Range Filter === */
.hops-indeks-filter {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
}
.hops-indeks-filter-label {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.hops-indeks-filter-date {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hops-indeks-filter-date > span {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}
.hops-daterange-picker {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 7px 14px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    min-width: 280px;
}
.hops-daterange-picker:hover {
    border-color: #2563a0;
    box-shadow: 0 0 0 2px rgba(37,99,160,0.08);
}
#daterange-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === LIHAT SEMUA Button === */
.hops-lihat-semua-wrap {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.hops-lihat-semua {
    display: inline-block;
    padding: 10px 36px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2563a0;
    background: #fff;
    border: 2px solid #2563a0;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}
.hops-lihat-semua:hover {
    background: #2563a0;
    color: #fff;
}

/* Responsive — Indeks filter */
@media (max-width: 767px) {
    .hops-indeks-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 12px;
    }
    .hops-indeks-filter-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }
    .hops-daterange-picker {
        font-size: 12px;
        padding: 6px 10px;
        min-width: 0;
        width: 100%;
    }
    .hops-lihat-semua {
        font-size: 13px;
        padding: 8px 28px;
    }
}

/* ======================================================
   19. HOPS-STYLE ARTICLE/POST PAGE
   Matches hops.id article detail page design
   ====================================================== */

/* === Article Page Wrapper === */
.hops-article-page {
    padding-top: 25px;
    padding-bottom: 40px;
    background: #fff !important;
}
.hops-article-page .col-lg-4 {
    align-self: flex-start;
}
.hops-article-page .widget-area {
    padding-left: 0;
}

/* === Breadcrumb === */
.hops-breadcrumb {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}
.hops-breadcrumb a {
    color: #666;
    text-decoration: none;
}
.hops-breadcrumb a:hover {
    color: #2563a0;
}
.hops-bc-sep {
    margin: 0 6px;
    color: #ccc;
}

/* === Article Title === */
.hops-read-title {
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: #222;
    margin: 0 0 15px 0;
}

/* === Author + Date Meta === */
.hops-read-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.hops-read-author-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.hops-read-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hops-read-author-name {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}
.hops-read-author-name:hover {
    color: #2563a0;
}
.hops-read-date {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    color: #999;
}


/* === Kompas.com Style Credits === */
.hops-kredensial {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.hops-kredensial-avatars {
    display: flex;
    align-items: center;
}
.hops-kredensial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e0e0e0;
}
.hops-kredensial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hops-kredensial-avatar-editor {
    margin-left: -10px;
    z-index: 1;
}
.hops-kredensial-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.hops-kredensial-names {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}
.hops-kredensial-names a {
    color: #222;
    text-decoration: none;
}
.hops-kredensial-names a:hover {
    color: #2563a0;
    text-decoration: underline;
}
.hops-kredensial-role {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: #455265;
    font-weight: 500;
    line-height: 1.3;
}
.hops-read-dateline {
    margin-bottom: 12px;
}
.hops-bottom-kredensial {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #87c6e3;
}
.hops-bottom-kredensial .hops-kredensial-avatar {
    width: 44px;
    height: 44px;
}
.hops-bottom-kredensial .hops-kredensial-names {
    font-size: 15px;
}
.hops-bottom-kredensial .hops-kredensial-role {
    font-size: 13px;
}

/* === Social Share Buttons === */
.hops-read-share {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.hops-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.2s;
}
.hops-share-btn:hover {
    opacity: 0.85;
    color: #fff;
}
.hops-share-fb {
    background: #3b5998;
}
.hops-share-tw {
    background: #1da1f2;
}
.hops-share-wa {
    background: #25d366;
}

/* === Featured Image === */
.hops-read-photo {
    margin-bottom: 25px;
}
.hops-read-photo-img {
    border-radius: 6px;
    overflow: hidden;
}
.hops-read-photo-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 12/7;
    object-fit: cover;
    display: block;
}
.hops-read-photo-caption {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    line-height: 1.5;
    font-style: italic;
}

/* === Description / Summary Block (Blockquote style) === */
.hops-read-summary {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.75;
    color: #444;
    background: #f8f9fa;
    border-left: 4px solid #1e73be;
    margin: 20px 0 24px;
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    quotes: none;
}
.hops-read-summary p {
    margin: 0;
}

/* === Article Content === */
.hops-read-content {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}
.hops-read-content p {
    margin-bottom: 18px;
}
.hops-read-content a {
    color: #2563a0;
    text-decoration: none;
}
.hops-read-content a:hover {
    text-decoration: underline;
}
.hops-read-content strong.read__others,
.hops-read-content .read__others {
    display: block;
    background: #f7f8fa;
    border-left: 4px solid #2563a0;
    padding: 12px 16px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: #222;
}
.hops-read-content .read__others a {
    color: #2563a0;
    font-weight: 600;
}

/* Baca Juga box - auto-injected related article links */
.baca-juga-box {
    display: block;
    background: linear-gradient(135deg, #f0f5ff 0%, #f7f8fa 100%);
    border-left: 4px solid #2563a0;
    padding: 14px 18px;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 0 6px 6px 0;
    transition: background 0.2s ease;
}
.baca-juga-box:hover {
    background: linear-gradient(135deg, #e8effd 0%, #f0f3f8 100%);
}
.baca-juga-label {
    font-weight: 700;
    color: #2563a0;
    margin-right: 4px;
}
.baca-juga-box a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.baca-juga-box a:hover {
    color: #2563a0;
    text-decoration: underline;
}

.hops-read-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.hops-read-content figure {
    margin: 20px 0;
}
.hops-read-content figcaption {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    font-style: italic;
}

/* === Article Pagination === */
.hops-page-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 8px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: "Poppins", sans-serif;
}
.hops-page-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}
.hops-page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hops-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border: 1px solid #d1d5db;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}
.hops-page-num:hover {
    background: #eef4fb;
    border-color: #2563a0;
    color: #2563a0;
    text-decoration: none;
}
.hops-page-num.hops-page-active {
    background: #2563a0;
    color: #fff;
    border-color: #2563a0;
    cursor: default;
    font-weight: 600;
}
.hops-page-next {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 17px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border: 1px solid #d1d5db;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.hops-page-next:hover {
    background: #eef4fb;
    border-color: #2563a0;
    color: #2563a0;
    text-decoration: none;
}

/* === Source & Editor === */
.hops-read-source,
.hops-read-editor {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.hops-read-source a {
    color: #2563a0;
}

/* === Tags === */
.hops-read-tags {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}
.hops-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.hops-tag-item {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    background: #f0f0f0;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}
.hops-tag-item:hover {
    background: #2563a0;
    color: #fff;
}

/* === Related Articles === */
.hops-read-related {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}
.hops-related-list {
    margin-top: 15px;
}
.hops-related-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.hops-related-item:last-child {
    border-bottom: none;
}
.hops-related-img {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}
.hops-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hops-related-title {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
    color: #222;
}
.hops-related-title a {
    color: inherit;
    text-decoration: none;
}
.hops-related-title a:hover {
    color: #2563a0;
}

/* === Terkini Section (article page) === */
.hops-read-latest {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

/* === Terpopuler sidebar for article page === */
.hops-article-page .kagemi-popular-list .d-flex {
    padding: 10px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    align-items: flex-start !important;
}
.hops-article-page .kagemi-popular-list .d-flex:last-child {
    border-bottom: none !important;
}
.hops-article-page .kagemi-popular-num {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333 !important;
    min-width: 28px !important;
    line-height: 1.4 !important;
    font-family: "Poppins", sans-serif !important;
    background: none !important;
    margin-right: 10px !important;
}
.hops-article-page .kagemi-popular-num::after {
    display: none !important;
}
.hops-article-page .kagemi-popular-list h6 {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    padding-top: 4px !important;
}
.hops-article-page .kagemi-popular-list h6 a {
    color: #1a2a4a !important;
    font-weight: 600 !important;
    font-family: "Poppins", sans-serif !important;
}
.hops-article-page .kagemi-popular-list h6 a:hover {
    color: #2563a0 !important;
}
.hops-article-page .kagemi-popular-date {
    display: none !important;
}

/* === Hide default theme elements on hops article === */
.hops-article-page .archive-header,
.hops-article-page .main_content {
    display: none;
}

/* === Responsive ΓÇö Article Page === */
@media (max-width: 991px) {
    .hops-article-page .col-lg-4 {
        margin-top: 30px;
    }
    .hops-read-title {
        font-size: 24px;
    }
}
@media (max-width: 767px) {
    .hops-read-title {
        font-size: 20px;
    }
    .hops-read-content {
        font-size: 15px;
    }
    .hops-related-img {
        width: 100px;
        height: 65px;
    }
    .hops-related-title {
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .hops-read-title {
        font-size: 18px;
    }
    .hops-read-content {
        font-size: 14px;
        line-height: 1.75;
    }
    .hops-related-img {
        width: 90px;
        height: 58px;
    }
}

/* ======================================================
   Section 20: HOPS-STYLE AUTHOR/PENULIS PAGE
   ====================================================== */
.hops-author-page {
    background: #fff;
    padding: 20px 0 40px;
}

/* --- Author Profile Header --- */
.hops-author-profile {
    margin-bottom: 20px;
}
.hops-author-cover {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #2563a0 0%, #1d4f7f 100%);
}
.hops-author-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}
.hops-author-header {
    text-align: center;
    margin-top: -45px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.hops-author-thumb {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    margin-bottom: 10px;
}
.hops-author-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hops-author-name {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}
.hops-author-desc {
    font-size: 14px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- Posts List --- */
.hops-author-posts {
    margin-top: 20px;
}
.hops-author-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.hops-author-item:first-child {
    padding-top: 0;
}
.hops-author-item-img {
    flex-shrink: 0;
    width: 188px;
    height: 113px;
    border-radius: 6px;
    overflow: hidden;
}
.hops-author-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hops-author-item-right {
    flex: 1;
    min-width: 0;
}
.hops-author-item-cat a {
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #2563a0;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.hops-author-item-cat a:hover {
    color: #1d4f7f;
}
.hops-author-item-cat {
    margin: 0 0 4px;
}
.hops-author-item-title {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
}
.hops-author-item-title a {
    color: #222;
    text-decoration: none;
}
.hops-author-item-title a:hover {
    color: #2563a0;
}
.hops-author-item-date {
    font-size: 12px;
    color: #999;
}

/* --- Pagination --- */
.hops-author-paging {
    margin-top: 20px;
    text-align: center;
}
.hops-author-paging .pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hops-author-paging .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s;
}
.hops-author-paging .page-item .page-link:hover {
    background: #f0f0f0;
    border-color: #2563a0;
    color: #2563a0;
}
.hops-author-paging .page-item.active .page-link {
    background: #2563a0;
    border-color: #2563a0;
    color: #fff;
}
.hops-author-paging .page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
}

/* --- Terpopuler sidebar: match homepage style --- */
.hops-author-page .kagemi-popular-num {
    font-family: "Poppins", sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #ccc !important;
    min-width: 36px !important;
    text-align: center !important;
    margin-right: 10px !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
}
.hops-author-page .kagemi-popular-date {
    display: none !important;
}
.hops-author-page .d-flex.align-items-start {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.hops-author-page .d-flex.align-items-start h6 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}
.hops-author-page .d-flex.align-items-start h6 a {
    color: #222;
    text-decoration: none;
}
.hops-author-page .d-flex.align-items-start h6 a:hover {
    color: #2563a0;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .hops-author-page .col-lg-4 {
        margin-top: 30px;
    }
}
@media (max-width: 767px) {
    .hops-author-cover {
        height: 140px;
    }
    .hops-author-name {
        font-size: 18px;
    }
    .hops-author-item-img {
        width: 120px;
        height: 75px;
    }
    .hops-author-item-title {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .hops-author-cover {
        height: 100px;
    }
    .hops-author-item-img {
        width: 100px;
        height: 65px;
    }
    .hops-author-item-title {
        font-size: 13px;
    }
}

/* ======================================================
   21. MOBILE NEWS PORTAL ΓÇö Off-Canvas Drawer v3.9.5
   Profesional mobile UX: hamburger | logo | profile
   Only Γëñ991px. Desktop completely unchanged.
   ====================================================== */

/* ------------------------------------------------
   21-B. MOBILE STICKY HEADER BAR (ANTARA-style)
   ------------------------------------------------ */
.mn-mobile-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.mn-bar-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 14px;
    position: relative;
}

/* Hamburger button ΓÇö compact toggle */
.mn-hamburger {
    background: #fff;
    border: 1.5px solid #d0d0d0;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.mn-hamburger:hover,
.mn-hamburger:active {
    background: #f0f0f0;
    border-color: #bbb;
}
.mn-hamburger span {
    display: block;
    width: 16px;
    height: 2px;
    background: #555;
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* Logo centered ΓÇö prominent */
.mn-bar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}
.mn-bar-logo img {
    max-height: 40px;
    width: auto;
}

/* Right area: profile icon ΓÇö bordered box to match hamburger */
.mn-bar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.mn-profile-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1.5px solid #d0d0d0;
    color: #555;
    font-size: 19px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.mn-profile-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
    color: #333;
    text-decoration: none !important;
}
    color: #333;
    text-decoration: none !important;
}
.mn-profile-btn.mn-logged-in {
    background: #2563a0;
    color: #fff;
}
.mn-profile-btn.mn-logged-in:hover {
    background: #1d4f80;
}

/* ------------------------------------------------
   21-C. OVERLAY BACKDROP
   ------------------------------------------------ */
.mn-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mn-overlay.mn-show {
    opacity: 1;
    visibility: visible;
}

/* ------------------------------------------------
   21-D. OFF-CANVAS DRAWER
   ------------------------------------------------ */
.mn-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #fff;
    z-index: 10002;
    display: flex !important;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: 2px 0 16px rgba(0,0,0,0.15);
}
.mn-drawer.mn-open {
    transform: translateX(0);
}

/* Drawer header: logo + close */
.mn-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mn-drawer-logo img {
    max-height: 32px;
    width: auto;
}
.mn-drawer-close {
    background: none;
    border: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #555;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.mn-drawer-close:hover {
    background: #f0f0f0;
}

/* Drawer search bar */
.mn-drawer-search {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mn-search-wrap {
    display: flex;
    align-items: center;
    background: #f5f6f8;
    border-radius: 8px;
    overflow: hidden;
    height: 42px;
}
.mn-search-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 14px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #333;
    height: 100%;
    outline: none;
}
.mn-search-wrap input::placeholder { color: #aaa; }
.mn-search-wrap button {
    background: none;
    border: none;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 15px;
    cursor: pointer;
}
.mn-search-wrap button:hover { color: #2563a0; }

/* Drawer menu list */
.mn-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    flex: 1;
    overflow-y: auto;
}
.mn-drawer-menu li {
    margin: 0;
}
.mn-drawer-menu > li > a {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f8f8f8;
    transition: all 0.15s ease;
}
.mn-drawer-menu > li > a i.ti-home {
    margin-right: 10px;
    font-size: 16px;
    color: #888;
}
.mn-drawer-menu > li > a:hover,
.mn-drawer-menu > li > a:focus {
    background: #f7f9fc;
    color: #2563a0;
}
.mn-drawer-menu > li > a .mn-arrow {
    margin-left: auto;
    font-size: 10px;
    color: #aaa;
    transition: transform 0.25s ease;
}
.mn-has-sub.mn-sub-open > a .mn-arrow {
    transform: rotate(180deg);
    color: #2563a0;
}

/* Sub-menu accordion */
.mn-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafbfc;
}
.mn-has-sub.mn-sub-open > .mn-submenu {
    max-height: 600px;
}
.mn-submenu li a {
    display: block;
    padding: 11px 20px 11px 40px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.15s ease;
}
.mn-submenu li a:hover {
    background: #f0f4fa;
    color: #2563a0;
}

/* Drawer account/profile section */
.mn-drawer-account {
    padding: 12px 18px 16px;
    border-top: 2px solid #eaedf2;
    margin-top: auto;
    flex-shrink: 0;
    background: #f5f7fa;
}
.mn-drawer-account::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #dce0e8;
    border-radius: 2px;
    margin: 0 auto 12px;
}
.mn-drawer-profile-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 12px 16px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333 !important;
    text-decoration: none !important;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e0e4ea;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    margin-bottom: 8px;
}
.mn-drawer-profile-link:last-child {
    margin-bottom: 0;
}
.mn-drawer-profile-link:hover {
    background: #eef3fb;
    border-color: #c5d3e8;
    color: #2563a0 !important;
    text-decoration: none !important;
}
.mn-drawer-profile-link i {
    font-size: 17px;
    width: 34px;
    height: 34px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    background: #eef2f8;
    color: #666;
    flex-shrink: 0;
    line-height: 1;
}
.mn-drawer-profile-link span {
    flex: 1;
    line-height: 1.3;
}
.mn-drawer-profile-link:hover i {
    background: #dce6f5;
    color: #2563a0;
}
.mn-drawer-logged-in {
    background: #eef4fb;
    border-color: #c5d3e8;
    color: #2563a0 !important;
}
.mn-drawer-logged-in i {
    background: #d4e4f7;
    color: #2563a0;
}
.mn-drawer-logout {
    color: #c0392b !important;
    border-color: #f0d0cc;
    background: #fef8f7;
}
.mn-drawer-logout i {
    background: #fdecea;
    color: #c0392b;
}
.mn-drawer-logout:hover {
    background: #fdecea;
    border-color: #e6b3ae;
    color: #a93226 !important;
}

/* Search button in mobile header */
.mn-search-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1.5px solid #d0d0d0;
    color: #555;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}
.mn-search-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
    color: #333;
}

/* Drawer footer */
.mn-drawer-footer {
    flex-shrink: 0;
    padding: 14px 18px;
    border-top: 1px solid #e8e8e8;
    background: #fafbfc;
    background: #fafbfc;
}
.mn-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.mn-social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eff0f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6e7191;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.mn-social-links a:hover {
    background: #2563a0;
    color: #fff;
}
.mn-drawer-date {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: #999;
}

/* ------------------------------------------------
   21-E. MOBILE CONTENT LAYOUT (Γëñ991px)
   ------------------------------------------------ */
@media (max-width: 991px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Sidebar stacks below content */
    .recent-area .col-lg-8,
    .recent-area .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .recent-area .col-lg-4 {
        margin-top: 25px !important;
        padding-top: 20px !important;
        border-top: 2px solid #f0f0f0 !important;
    }
    /* Topik Khusus: 2 columns on tablet */
    .topik-khusus-section .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* ------------------------------------------------
   21-F. MOBILE PHONE LAYOUT (Γëñ767px)
   Square images, compact spacing, news UX
   ------------------------------------------------ */
@media (max-width: 767px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Tighter global spacing */
    main.position-relative.pt-40 { padding-top: 8px !important; }
    .pt-30 { padding-top: 12px !important; }
    .pb-30 { padding-bottom: 12px !important; }
    .mb-30 { margin-bottom: 12px !important; }
    .mb-20 { margin-bottom: 10px !important; }

    /* Section titles */
    .widget-header .widget-title,
    .section-title,
    h5.widget-title {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }

    /* === HERO SLIDER === */
    .kagemi-headline .col-lg-8,
    .kagemi-headline .col-md-8,
    .kagemi-headline .col-lg-4,
    .kagemi-headline .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .kagemi-headline .kagemi-slider-img {
        height: 220px !important;
        border-radius: 8px !important;
    }
    .kagemi-headline .featured-slider-1 .post-title {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
    /* Sub-thumbnails: 2x2 grid, SQUARE */
    .kagemi-headline .row.mt-2 {
        margin-left: -4px !important;
        margin-right: -4px !important;
    }
    .kagemi-headline .col-lg-3.col-md-3.col-6 {
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin-bottom: 8px !important;
    }
    .kagemi-headline .col-lg-3.col-md-3.col-6 .post-thumb .thumb-overlay,
    .kagemi-headline .col-lg-3.col-md-3.col-6 .post-thumb .img-hover-slide {
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 100% !important;
        min-height: 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    .kagemi-headline .col-lg-3.col-md-3.col-6 .post-title {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    /* === EDITORS PICK ΓÇö Square images === */
    .kagemi-editors-pick .ep-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .kagemi-editors-pick .ep-card-img img {
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }
    .kagemi-editors-pick .ep-card-body h6 {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    /* === GLOBAL: Force all bg-image thumbs to controlled size on mobile === */
    .img-hover-slide {
        min-height: 0 !important;
        height: 0 !important;
        padding-bottom: 100% !important; /* 1:1 square by default */
        background-size: cover !important;
        background-position: center !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    /* === BERITA TERKINI ΓÇö Horizontal card: thumb left + text right === */
    .recent-area .berita-terkini-list article.row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        padding-bottom: 14px !important;
        margin-bottom: 14px !important;
    }
    .recent-area .berita-terkini-list .col-md-3 {
        flex: 0 0 110px !important;
        max-width: 110px !important;
        padding-right: 0 !important;
    }
    .recent-area .berita-terkini-list .col-md-9 {
        flex: 1 !important;
        max-width: none !important;
        padding-left: 14px !important;
    }
    .recent-area .berita-terkini-list .img-hover-slide {
        width: 110px !important;
        height: 110px !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
        border-radius: 8px !important;
    }
    .recent-area .berita-terkini-list .post-thumb.mr-20 {
        margin-right: 0 !important;
    }
    .recent-area .berita-terkini-list .post-title {
        font-size: 14px !important;
        line-height: 1.4 !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        display: -webkit-box !important;
        overflow: hidden !important;
    }
    .recent-area .berita-terkini-list .entry-meta.meta-0 { margin-bottom: 6px !important; }
    .recent-area .berita-terkini-list .entry-meta.meta-0 span { font-size: 10px !important; padding: 3px 8px 3px 16px !important; }
    .recent-area .berita-terkini-list .entry-meta.meta-1 { margin-top: 6px !important; margin-bottom: 0 !important; }
    .recent-area .berita-terkini-list .entry-meta.meta-1 span { font-size: 11px !important; }
    .recent-area .berita-terkini-list .post-content p.font-medium { display: none !important; }

    /* === ARTIKEL LAINNYA GRID ΓÇö 2 cols, square === */
    .loop-grid .col-lg-4.col-md-6,
    .loop-grid .col-lg-4,
    .loop-grid .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-bottom: 15px !important;
        overflow: hidden !important;
    }
    .loop-grid .post-thumb.mb-30 { margin-bottom: 8px !important; }
    .loop-grid .post-thumb img,
    .loop-grid .post-thumb img.lazy {
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }
    .loop-grid .post-title {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
    /* Fix meta overflow in grid cards */
    .loop-grid .entry-meta.meta-1 {
        flex-wrap: wrap !important;
        gap: 2px 6px !important;
        overflow: hidden !important;
    }
    .loop-grid .entry-meta.meta-1 span {
        font-size: 11px !important;
        white-space: nowrap !important;
    }
    .loop-grid .entry-meta.meta-1 .hit-count {
        display: none !important;
    }
    .loop-grid .entry-meta.meta-1 .time-reading {
        display: none !important;
    }

    /* === ALL POST CARDS ΓÇö Square on mobile === */
    .post-module-1 .thumb-overlay .img-hover-slide {
        min-height: 0 !important;
        height: 0 !important;
        padding-bottom: 100% !important;
        border-radius: 8px !important;
    }

    /* === LIST PAGES ΓÇö Horizontal card: thumb left + text right === */
    .loop-list-1 article.row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    .loop-list-1 article.row > .col-md-6:first-child {
        flex: 0 0 120px !important;
        max-width: 120px !important;
    }
    .loop-list-1 article.row > .col-md-6:last-child {
        flex: 1 !important;
        max-width: none !important;
    }
    .loop-list-1 article.row .img-hover-slide {
        width: 120px !important;
        height: 120px !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
        border-radius: 8px !important;
    }
    .archive .loop-list-1 .first-post .img-hover-slide {
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 56% !important; /* 16:9 hero */
        min-height: 0 !important;
    }
    .post-content h4.post-title {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* === RELATED POSTS ΓÇö Horizontal card === */
    .related-posts article.row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    .related-posts article.row > .col-md-4 {
        flex: 0 0 100px !important;
        max-width: 100px !important;
    }
    .related-posts article.row > .col-md-8 {
        flex: 1 !important;
        max-width: none !important;
    }
    .related-posts .img-hover-slide {
        width: 100px !important;
        height: 100px !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
        border-radius: 8px !important;
    }
    .loop-list .post-thumb.mr-20,
    .related-posts .post-thumb.mr-20 {
        margin-right: 12px !important;
    }

    /* === TOPIK KHUSUS ΓÇö Square === */
    .topik-khusus-section .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .topik-khusus-section .topik-card img {
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    /* === TERPOPULER SIDEBAR === */
    .kagemi-popular-list .d-flex { padding: 8px 0 !important; }
    .kagemi-popular-list h6 { font-size: 13px !important; }

    /* === FOOTER ΓÇö Stack columns === */
    .footer-area .container > .row > [class*="col-lg"],
    .footer-area .container > .row > [class*="col-md"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    .footer-bottom-area {
        text-align: center !important;
    }
    .footer-bottom-area .container > .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    /* === HOPS PAGES ΓÇö Square images === */
    .hops-latest-img {
        width: 100px !important;
        height: 100px !important;
        border-radius: 8px !important;
    }
    .hops-latest-img img {
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
    .hops-latest-title { font-size: 14px !important; }
    .hops-hl-title { font-size: 18px !important; }
    .hops-read-title { font-size: 20px !important; }
    .hops-read-content { font-size: 15px !important; }
    .hops-related-img {
        width: 90px !important;
        height: 90px !important;
        border-radius: 8px !important;
    }
    .hops-related-img img {
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
    .hops-author-item-img {
        width: 100px !important;
        height: 100px !important;
        border-radius: 8px !important;
    }
    .hops-author-item-img img {
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }

    /* === SINGLE ARTICLE === */
    .single-content .entry-main-content {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }
    .single-thumnail img { border-radius: 8px !important; }
}

/* ------------------------------------------------
   21-G. SMALL MOBILE (Γëñ479px)
   ------------------------------------------------ */
@media (max-width: 479px) {
    .container { padding-left: 10px !important; padding-right: 10px !important; }
    .mn-bar-logo img { max-height: 28px; }
    .mn-profile-btn { width: 32px; height: 32px; font-size: 15px; }

    .kagemi-headline .kagemi-slider-img { height: 180px !important; }
    .kagemi-headline .featured-slider-1 .post-title { font-size: 14px !important; }

    .kagemi-editors-pick .ep-grid { gap: 8px !important; }

    .recent-area .berita-terkini-list .col-md-3 {
        flex: 0 0 90px !important;
        max-width: 90px !important;
    }
    .recent-area .berita-terkini-list .img-hover-slide {
        width: 90px !important;
        height: 90px !important;
        padding-bottom: 0 !important;
    }
    .recent-area .berita-terkini-list .post-title { font-size: 12px !important; }
    .recent-area .berita-terkini-list .entry-meta.meta-1 { display: none !important; }

    .loop-grid .col-lg-4.col-md-6,
    .loop-grid .col-lg-4 {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .loop-grid .post-title { font-size: 12px !important; }

    .loop-list-1 article.row > .col-md-6:first-child {
        flex: 0 0 100px !important;
        max-width: 100px !important;
    }
    .loop-list-1 article.row .img-hover-slide {
        width: 100px !important;
        height: 100px !important;
        padding-bottom: 0 !important;
    }
    .widget-header .widget-title, .section-title, h5.widget-title { font-size: 15px !important; }

    .hops-latest-img { width: 85px !important; height: 85px !important; }
    .hops-latest-title { font-size: 13px !important; }
    .hops-hl-title { font-size: 16px !important; }
    .hops-read-title { font-size: 18px !important; }
    .hops-related-img { width: 80px !important; height: 80px !important; }
    .hops-author-item-img { width: 85px !important; height: 85px !important; }
}

/* ------------------------------------------------
   21-H. VERY SMALL (Γëñ360px)
   ------------------------------------------------ */
@media (max-width: 360px) {
    .container { padding-left: 8px !important; padding-right: 8px !important; }
    .mn-bar-logo img { max-height: 24px; }
    .mn-hamburger span { width: 18px; }
    .recent-area .berita-terkini-list .col-md-3 {
        flex: 0 0 80px !important; max-width: 80px !important;
    }
    .recent-area .berita-terkini-list .img-hover-slide {
        width: 80px !important;
        height: 80px !important;
        padding-bottom: 0 !important;
    }
    .recent-area .berita-terkini-list .post-title { font-size: 11px !important; }
    .loop-grid .post-title { font-size: 11px !important; }
    .kagemi-headline .kagemi-slider-img { height: 160px !important; }
    .hops-latest-img { width: 75px !important; height: 75px !important; }
}


/* ============================================================
   SEARCH PAGE ΓÇö WilisPost (inspired by hops.id style)
   ============================================================ */

/* Section */
.wp-search-section {
    padding-top: 20px;
}

/* Heading */
.wp-search-heading {
    margin-bottom: 18px;
    border-bottom: 3px solid #004a8f;
    padding-bottom: 0;
}
.wp-search-heading-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0;
    display: inline-block;
    background: #004a8f;
    color: #fff;
    padding: 8px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Search bar */
.wp-search-bar {
    margin-bottom: 20px;
}
.wp-search-bar-inner {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}
.wp-search-bar-inner:focus-within {
    border-color: #004a8f;
    box-shadow: 0 0 0 3px rgba(0,74,143,0.08);
}
.wp-search-bar-icon {
    padding: 0 12px;
    color: #999;
    font-size: 16px;
    flex-shrink: 0;
}
.wp-search-bar-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 8px;
    font-size: 15px;
    color: #333;
    background: transparent;
    min-width: 0;
}
.wp-search-bar-input::placeholder {
    color: #aaa;
}
.wp-search-bar-btn {
    background: #004a8f;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.wp-search-bar-btn:hover {
    background: #003a72;
}

/* Filter row */
.wp-search-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.wp-search-filter-info {
    font-size: 14px;
    color: #555;
}
.wp-search-filter-info strong {
    color: #004a8f;
}
.wp-search-filter-count {
    color: #999;
    font-size: 13px;
}
.wp-search-sort-select {
    padding: 6px 32px 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}
.wp-search-sort-select:focus {
    outline: none;
    border-color: #004a8f;
}

/* Result items ΓÇö horizontal card list (like hops.id) */
.wp-search-results {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wp-search-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.wp-search-item:first-child {
    padding-top: 0;
}
.wp-search-item:hover {
    background: #fafbfc;
}

/* Thumbnail */
.wp-search-item-thumb {
    flex-shrink: 0;
    width: 220px;
    height: 140px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.wp-search-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    transition: transform 0.3s;
}
.wp-search-item:hover .wp-search-item-thumb img {
    transform: scale(1.05);
}
.wp-search-item-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Content side */
.wp-search-item-content {
    flex: 1;
    min-width: 0;
}
.wp-search-item-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: #004a8f;
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: background 0.2s;
}
.wp-search-item-cat:hover {
    background: #003a72;
    color: #fff;
    text-decoration: none;
}
.wp-search-item-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #222;
}
.wp-search-item-title a {
    color: inherit;
    text-decoration: none;
}
.wp-search-item-title a:hover {
    color: #004a8f;
}
.wp-search-item-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}
.wp-search-item-meta i {
    margin-right: 4px;
    font-size: 11px;
}
.wp-search-item-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.wp-search-item-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Empty state */
.wp-search-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.wp-search-empty-icon {
    font-size: 48px;
    color: #ddd;
    display: block;
    margin-bottom: 16px;
}
.wp-search-empty h4 {
    font-size: 18px;
    color: #555;
    margin-bottom: 8px;
}
.wp-search-empty p {
    font-size: 14px;
    color: #999;
}

/* Pagination */
.wp-search-pagination {
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
    margin-top: 10px;
}
.wp-search-pagination .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.wp-search-pagination .pagination .page-item .page-link,
.wp-search-pagination .pagination li a,
.wp-search-pagination .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
    transition: all 0.15s;
}
.wp-search-pagination .pagination .page-item.active .page-link,
.wp-search-pagination .pagination li.active a,
.wp-search-pagination .pagination li.active span {
    background: #004a8f;
    color: #fff;
    border-color: #004a8f;
}
.wp-search-pagination .pagination .page-item .page-link:hover,
.wp-search-pagination .pagination li a:hover {
    background: #f0f4f8;
    border-color: #004a8f;
    color: #004a8f;
}

/* ---- SEARCH PAGE RESPONSIVE ---- */
@media (max-width: 991px) {
    .wp-search-item-thumb {
        width: 160px;
        height: 100px;
    }
    .wp-search-item-title {
        font-size: 15px;
    }
    .wp-search-section {
        padding-top: 15px;
    }
}
@media (max-width: 767px) {
    .wp-search-item {
        gap: 12px;
        padding: 12px 0;
    }
    .wp-search-item-thumb {
        width: 110px;
        height: 75px;
        border-radius: 5px;
    }
    .wp-search-item-thumb img {
        border-radius: 5px;
    }
    .wp-search-item-title {
        font-size: 14px;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 4px;
    }
    .wp-search-item-cat {
        font-size: 10px;
        padding: 1px 7px;
        margin-bottom: 5px;
    }
    .wp-search-item-meta {
        font-size: 11px;
    }
    .wp-search-bar-input {
        padding: 10px 6px;
        font-size: 14px;
    }
    .wp-search-bar-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    .wp-search-heading-title {
        font-size: 16px;
        padding: 6px 16px;
    }
    .wp-search-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .wp-search-pagination .pagination .page-item .page-link,
    .wp-search-pagination .pagination li a,
    .wp-search-pagination .pagination li span {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .wp-search-item-thumb {
        width: 90px;
        height: 65px;
    }
    .wp-search-item-title {
        font-size: 13px;
    }
    .wp-search-bar-icon {
        padding: 0 8px;
    }
    .wp-search-bar-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
}
/* =====================================================
   AD CONTAINER STYLES (matching hops.id layout)
   ===================================================== */

/* --- General ad wrapper --- */
.hops-ad-slot {
    text-align: center;
    overflow: hidden;
    clear: both;
    line-height: 0;
}
.hops-ad-slot img,
.hops-ad-slot picture {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
.hops-ad-slot .ads-item-wrapper,
.hops-ad-slot > div {
    display: flex;
    justify-content: center;
}

/* --- Top leaderboard / Panel Ads (full-width, like desktopTopHome) --- */
.hops-ad-top-banner {
    margin: 16px auto;
    padding: 0;
    max-width: 970px;
    text-align: center;
}
.hops-ad-top-banner img {
    max-width: 970px;
    width: 100%;
    height: auto;
}

/* --- Header ad (below navbar, like hops.id header__middle area) --- */
.hops-ad-header {
    margin: 10px auto;
    padding: 0;
    max-width: 728px;
    text-align: center;
}
.hops-ad-header img {
    max-width: 728px;
    width: 100%;
    height: auto;
}

/* --- In-feed / MCB ads (between articles, like desktopMCB1-3) --- */
.hops-ad-infeed {
    margin: 20px auto;
    padding: 16px 0;
    max-width: 100%;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}
.hops-ad-infeed img {
    max-width: 100%;
    height: auto;
}

/* --- Sidebar ad (fixed position, no sticky overlap) --- */
.hops-ad-sidebar {
    margin: 0 auto 20px;
    padding: 0;
    text-align: center;
    position: static !important;
}
.hops-ad-sidebar img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* --- Before/After article ads (custom-1, custom-2 in post page) --- */
.hops-ad-article {
    margin: 20px auto;
    padding: 0;
    max-width: 100%;
    text-align: center;
}
.hops-ad-article img {
    max-width: 100%;
    height: auto;
}

/* --- Before-footer ad (custom-3, like bottom of hops content) --- */
.hops-ad-before-footer {
    margin: 20px auto;
    padding: 0;
    max-width: 970px;
    text-align: center;
}
.hops-ad-before-footer img {
    max-width: 970px;
    width: 100%;
    height: auto;
}

/* --- Ad label (small "Iklan" text above ad) --- */
.hops-ad-label {
    display: block;
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-align: center;
    line-height: 1;
}
/* Hide entire ad slot when no active ad content (only label present) */
.hops-ad-slot:not(:has(img)):not(:has(iframe)):not(:has(ins)):not(:has(.ads-item-wrapper)) {
    display: none !important;
}

/* --- Responsive ads --- */
@media (max-width: 991px) {
    .hops-ad-top-banner {
        max-width: 728px;
    }
    .hops-ad-top-banner img {
        max-width: 728px;
    }
    .hops-ad-header {
        max-width: 100%;
    }
    .hops-ad-header img {
        max-width: 100%;
    }
    .hops-ad-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .hops-ad-top-banner {
        max-width: 100%;
        margin: 10px auto;
    }
    .hops-ad-top-banner img {
        max-width: 100%;
    }
    .hops-ad-header {
        max-width: 100%;
        margin: 8px auto;
    }
    .hops-ad-infeed {
        margin: 12px auto;
        padding: 10px 0;
    }
    .hops-ad-sidebar {
        max-width: 100%;
        margin-bottom: 15px;
    }
    .hops-ad-sidebar img {
        max-width: 100%;
    }
    .hops-ad-before-footer {
        max-width: 100%;
    }
    .hops-ad-before-footer img {
        max-width: 100%;
    }
    .hops-ad-article {
        margin: 12px auto;
    }
}

/* ======================================================
   PHOTO CAPTION TOGGLE (antaranews.com style)
   Mobile only: (!) icon in bottom-right of photos,
   click to reveal caption overlay
   ====================================================== */
@media (max-width: 991px) {
    /* Featured photo wrapper */
    .hops-read-photo {
        position: relative;
    }
    .hops-read-photo .hops-read-photo-img {
        position: relative;
        overflow: visible !important;
    }
    /* Hide caption by default on mobile */
    .hops-read-photo .hops-read-photo-caption {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.75);
        color: #fff !important;
        font-size: 12px;
        line-height: 1.5;
        padding: 10px 14px;
        margin-top: 0;
        border-radius: 0 0 6px 6px;
        z-index: 5;
        font-style: italic;
        font-family: "Poppins", sans-serif;
        box-sizing: border-box;
    }
    .hops-read-photo .hops-read-photo-caption.caption-visible {
        display: block;
    }

    /* In-content figure captions */
    .hops-read-content figure {
        position: relative;
    }
    .hops-read-content figure figcaption {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.75);
        color: #fff !important;
        font-size: 12px;
        line-height: 1.5;
        padding: 10px 14px;
        margin-top: 0;
        border-radius: 0 0 6px 6px;
        z-index: 5;
        font-style: italic;
        box-sizing: border-box;
    }
    .hops-read-content figure figcaption.caption-visible {
        display: block;
    }

    /* Info (i) button */
    .photo-info-btn {
        position: absolute !important;
        bottom: 10px !important;
        right: 10px !important;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        border: 2px solid rgba(255, 255, 255, 0.8);
        font-size: 16px;
        font-weight: 700;
        font-family: Georgia, serif;
        line-height: 26px;
        text-align: center;
        cursor: pointer;
        z-index: 10 !important;
        transition: background 0.2s, transform 0.2s;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .photo-info-btn:active {
        transform: scale(0.9);
        background: rgba(0, 0, 0, 0.8);
    }
    .photo-info-btn.active {
        background: rgba(37, 99, 160, 0.85);
    }
}

/* Desktop: ensure captions always visible */
@media (min-width: 992px) {
    .photo-info-btn {
        display: none !important;
    }
}


/* ======================================================
   Lihat Foto Lightbox (kompas.com style)
   ====================================================== */
/* Overlay button on featured image */
.hops-read-photo-img {
    position: relative;
}
/* Clickable photo for lightbox */
.hops-read-photo-img[onclick] {
    cursor: pointer;
    transition: opacity 0.2s;
}
.hops-read-photo-img[onclick]:hover {
    opacity: 0.92;
}

/* Lightbox full-screen overlay */
.lf-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
}
.lf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Header bar */
.lf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    z-index: 2;
    background: #111;
    flex-shrink: 0;
}
.lf-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.lf-back:hover {
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
}
.lf-fullscreen {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 4px;
    padding: 6px 14px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.lf-fullscreen:hover {
    border-color: rgba(255,255,255,0.7);
}

/* Image body area */
.lf-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    min-height: 0;
    padding: 10px 0;
}
.lf-image-wrap {
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 0 60px;
}
.lf-image {
    max-width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}
.lf-caption {
    color: #ccc;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 12px;
    font-style: italic;
    text-align: center;
}

/* Navigation arrows */
.lf-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.lf-nav:hover {
    background: rgba(0,0,0,0.8);
}
.lf-prev { left: 16px; }
.lf-next { right: 16px; }

/* Bottom counter */
.lf-counter {
    text-align: center;
    padding: 10px;
    color: #999;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    z-index: 2;
    flex-shrink: 0;
    background: #111;
}

/* Mobile adjustments */
@media (max-width: 768px) {

    .lf-header {
        padding: 10px 14px;
    }
    .lf-back {
        font-size: 13px;
    }
    .lf-fullscreen span {
        display: none;
    }
    .lf-image-wrap {
        padding: 0 10px;
    }
    .lf-nav {
        width: 36px;
        height: 36px;
    }
    .lf-prev { left: 6px; }
    .lf-next { right: 6px; }

    .hops-page-pagination {
        gap: 10px;
        padding: 12px 14px;
        border-radius: 10px;
    }
    .hops-page-label {
        font-size: 13px;
    }
    .hops-page-numbers {
        gap: 6px;
    }
    .hops-page-num {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .hops-page-next {
        height: 30px;
        padding: 0 12px;
        font-size: 12px;
    }
}

/* ──────────────────────────────────────
   AI Content Label
   ────────────────────────────────────── */
.hops-read-dateline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hops-ai-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f0f0;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    line-height: 1.4;
    border: 1px solid #e0e0e0;
    white-space: nowrap;
}
.hops-ai-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
