/* =============================================================
   style.css — hasil kompilasi dari style.scss (untuk preview)
   Mobile-first. Hanya kustomisasi di atas Bootstrap 5.3.
   ============================================================= */

:root {
    --bs-body-padding-x: .75rem;
    --kabar-primary: #1E5BD9;
    --kabar-primary-rgb: 30, 91, 217;
    --kabar-accent: #2080E0;
}
@media (min-width: 768px) {
    :root { --bs-body-padding-x: 1rem; }
}

/* Override Bootstrap variabel via data-attribute */
[data-bs-theme="light"] {
    --bs-primary: #1E5BD9;
    --bs-primary-rgb: 30, 91, 217;
    --bs-link-color: #1E5BD9;
    --bs-link-color-rgb: 30, 91, 217;
    --bs-link-hover-color: #1747AB;
    --bs-body-color: #0F172A;
    --bs-body-color-rgb: 15, 23, 42;
    --bs-body-bg: #FFFFFF;
    --bs-secondary-bg: #F1F5FB;
    --bs-secondary-color: #6B7280;
    --bs-border-color: #E2E8F0;
    --bs-tertiary-bg: #F8FAFD;
}
[data-bs-theme="dark"] {
    --bs-primary: #4A8FE8;
    --bs-primary-rgb: 74, 143, 232;
    --bs-link-color: #6BAEF3;
    --bs-link-color-rgb: 107, 174, 243;
    --bs-link-hover-color: #92C5F8;
    --bs-body-color: #E5E7EB;
    --bs-body-color-rgb: 229, 231, 235;
    --bs-body-bg: #0A1220;
    --bs-secondary-bg: #111B2E;
    --bs-secondary-color: #94A3B8;
    --bs-border-color: #1E2A44;
    --bs-tertiary-bg: #0E1729;
}

html { -webkit-text-size-adjust: 100%; }
body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

/* ----- Minimal Bootstrap utility shims (kita tidak load Bootstrap CDN) ---- */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
@media (min-width: 576px) {
    .d-sm-inline { display: inline !important; }
    .d-sm-block { display: block !important; }
}
@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-inline { display: inline !important; }
    .d-md-flex { display: flex !important; }
}
@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
}
.container { width: 100%; padding-right: var(--bs-body-padding-x); padding-left: var(--bs-body-padding-x); margin-right: auto; margin-left: auto; }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
button { font-family: inherit; }

a { color: var(--bs-link-color); text-decoration: none; }
a:hover { color: var(--bs-link-hover-color); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* Skip link */
.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--bs-primary);
    color: #fff;
    padding: .5rem 1rem;
    z-index: 9999;
    border-radius: 0 0 .375rem 0;
}
.skip-link:focus { left: 0; }

/* =============================================================
   APP BAR (mobile-first header)
   ============================================================= */
.appbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
}
.appbar-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem var(--bs-body-padding-x);
    min-height: 56px;
}
.icon-btn {
    --size: 40px;
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    border: 1px solid var(--bs-border-color);
    background: transparent;
    color: var(--bs-body-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color .15s ease, transform .1s ease;
}
.icon-btn:hover { background: var(--bs-secondary-bg); }
.icon-btn:active { transform: scale(.96); }
.icon-btn svg { width: 20px; height: 20px; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -.01em;
    color: var(--bs-body-color);
    text-decoration: none;
    flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--bs-body-color); }
.brand-mark {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--bs-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    line-height: 1;
}
.brand-logo {
    height: 32px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
/* Footer logo larger */
footer .brand-logo { height: 40px; }
.brand-dot { color: var(--bs-primary); }

/* Search input inline */
.search-inline {
    flex: 1;
    min-width: 0;
    position: relative;
}
.search-inline input {
    width: 100%;
    height: 40px;
    padding: 0 .85rem 0 2.4rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    font-size: .875rem;
    font-family: inherit;
}
.search-inline input::placeholder { color: var(--bs-secondary-color); }
.search-inline input:focus {
    outline: none;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .12);
    background: var(--bs-body-bg);
}
.search-inline .search-icon {
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary-color);
    pointer-events: none;
    width: 16px; height: 16px;
}

/* =============================================================
   CATEGORY PILLS — swipeable / scrollable
   ============================================================= */
.pill-scroller {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: .625rem var(--bs-body-padding-x);
    margin: 0;
    list-style: none;
    border-bottom: 1px solid var(--bs-border-color);
}
.pill-scroller::-webkit-scrollbar { display: none; }
.pill-scroller > li { scroll-snap-align: start; flex-shrink: 0; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border-color);
    background: transparent;
    color: var(--bs-body-color);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pill:hover { background: var(--bs-secondary-bg); color: var(--bs-body-color); text-decoration: none; }
.pill.is-active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* =============================================================
   TICKER (sub-bar regional/datetime)
   ============================================================= */
.ticker {
    background: var(--bs-primary);
    color: #fff;
    font-size: .8125rem;
}
.ticker-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .55rem var(--bs-body-padding-x);
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.ticker-row::-webkit-scrollbar { display: none; }
.ticker-label {
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .6875rem;
    padding: .2rem .55rem;
    background: rgba(255,255,255,.18);
    border-radius: 999px;
    flex-shrink: 0;
}
.ticker-row a { color: inherit; text-decoration: none; opacity: .9; flex-shrink: 0; }
.ticker-row a:hover { opacity: 1; text-decoration: underline; }
.ticker-time {
    margin-left: auto;
    opacity: .9;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* =============================================================
   HERO ARTICLE
   ============================================================= */
.hero-article { margin-bottom: 1rem; }
.hero-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bs-secondary-bg);
}
.hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-body {
    padding: 1rem var(--bs-body-padding-x) 0;
}
.hero-eyebrow {
    color: var(--bs-primary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .4rem;
    display: inline-block;
}
.hero-title {
    font-size: clamp(1.4rem, 5vw, 1.875rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.015em;
    margin: 0 0 .5rem;
    text-wrap: balance;
}
.hero-title a { color: inherit; }
.hero-title a:hover { color: var(--bs-primary); text-decoration: none; }
.hero-meta {
    font-size: .8125rem;
    color: var(--bs-secondary-color);
    display: flex;
    gap: .5rem;
    align-items: center;
}
.hero-meta time::before { content: "•"; margin-right: .5rem; color: var(--bs-border-color); }
.hero-meta time:first-child::before { content: ""; margin: 0; }

/* =============================================================
   SECTION HEADER
   ============================================================= */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.5rem var(--bs-body-padding-x) .65rem;
    margin: 0;
}
.section-title {
    font-size: .9375rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    padding-left: .75rem;
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .1em;
    bottom: .1em;
    width: 3px;
    background: var(--bs-primary);
    border-radius: 2px;
}
.section-link {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
}
.section-link:hover { color: var(--bs-primary); text-decoration: none; }

/* =============================================================
   NEWS LIST (thumbnail kiri, judul kanan)
   ============================================================= */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--bs-border-color);
}
.news-list > li + li { border-top: 1px solid var(--bs-border-color); }

.news-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    padding: 1rem var(--bs-body-padding-x);
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease;
}
.news-item:hover { background: var(--bs-tertiary-bg); text-decoration: none; }
.news-item:active { background: var(--bs-secondary-bg); }

@media (min-width: 576px) {
    .news-item { grid-template-columns: 200px 1fr; gap: 1.125rem; }
}
@media (min-width: 992px) {
    .news-item { grid-template-columns: 240px 1fr; gap: 1.25rem; padding: 1.125rem var(--bs-body-padding-x); }
    .news-title { font-size: 1.0625rem; }
}

.news-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: .375rem;
    background: var(--bs-secondary-bg);
    margin: 0;
    flex-shrink: 0;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .3rem;
}
.news-eyebrow {
    color: var(--bs-primary);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.news-title {
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--bs-body-color);
    text-wrap: pretty;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item:hover .news-title { color: var(--bs-primary); }
.news-meta {
    font-size: .75rem;
    color: var(--bs-secondary-color);
    margin-top: .35rem;
    display: flex; gap: .35rem; align-items: center;
}
.news-meta .dot { color: var(--bs-border-color); }

/* Variant numbered list (Terpopuler) */
.news-list--numbered { counter-reset: rank; }
.news-list--numbered .news-item { grid-template-columns: 32px 1fr; align-items: start; }
.news-list--numbered .news-item::before {
    counter-increment: rank;
    content: "#" counter(rank);
    font-size: 1rem;
    font-weight: 800;
    color: var(--bs-secondary-color);
    line-height: 1.35;
}
.news-list--numbered .news-thumb { display: none; }

/* Artikel Pilihan compact variant */
.news-list--compact { border-top: 0; }
.news-item--compact {
    grid-template-columns: 72px 1fr;
    gap: .75rem;
    padding: .65rem 0;
}
.news-thumb--sm { border-radius: .25rem; width: 72px; height: 60px; }
.news-body--compact { gap: .2rem; }
.news-eyebrow--xs { font-size: .625rem; }
.news-title--sm { font-size: .8125rem; -webkit-line-clamp: 3; }

/* =============================================================
   OFFCANVAS (Menu)
   ============================================================= */
.offcanvas-kabar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(85vw, 320px);
    background: var(--bs-body-bg);
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 1070;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--bs-border-color);
}
.offcanvas-kabar.is-open { transform: translateX(0); }
.offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1060;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.offcanvas-backdrop.is-open { opacity: 1; pointer-events: auto; }
.offcanvas-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: .875rem var(--bs-body-padding-x);
    border-bottom: 1px solid var(--bs-border-color);
}
.offcanvas-body { padding: .75rem 0; overflow-y: auto; flex: 1; }
.offcanvas-nav { list-style: none; padding: 0; margin: 0; }
.offcanvas-nav a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem var(--bs-body-padding-x);
    color: var(--bs-body-color);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--bs-border-color);
}
.offcanvas-nav a:hover { background: var(--bs-secondary-bg); color: var(--bs-primary); }
.offcanvas-nav svg { width: 18px; height: 18px; color: var(--bs-secondary-color); }
.offcanvas-foot {
    padding: 1rem var(--bs-body-padding-x);
    font-size: .75rem;
    color: var(--bs-secondary-color);
    border-top: 1px solid var(--bs-border-color);
}
.offcanvas-home-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1rem;
    font-weight: 700;
    font-size: .9375rem;
    color: var(--bs-body-color);
    text-decoration: none;
    border-bottom: 1px solid var(--bs-border-color);
}
.offcanvas-home-link:hover { background: var(--bs-secondary-bg); color: var(--bs-primary); }
.offcanvas-home-link svg { flex-shrink: 0; color: var(--bs-secondary-color); }
.offcanvas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
}
.offcanvas-grid-item {
    display: flex;
    align-items: center;
    padding: .75rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--bs-body-color);
    text-decoration: none;
    background: var(--bs-body-bg);
    transition: background .15s, color .15s;
    line-height: 1.3;
}
.offcanvas-grid-item:hover { background: var(--bs-secondary-bg); color: var(--bs-primary); }
.offcanvas-social {
    padding: 1rem;
    border-top: 1px solid var(--bs-border-color);
}
.offcanvas-social-label {
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bs-secondary-color);
    margin: 0 0 .625rem;
}
.offcanvas-social-icons {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.offcanvas-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.offcanvas-social-btn svg { width: 18px; height: 18px; }
.offcanvas-social-btn:hover { background: var(--bs-primary); color: #fff; }
.offcanvas-section-label {
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bs-secondary-color);
    padding: .75rem 1rem .375rem;
    border-top: 1px solid var(--bs-border-color);
}
.offcanvas-jaringan-item {
    font-size: .8125rem;
    font-weight: 500;
}
.offcanvas-more-btn {
    display: block;
    width: 100%;
    padding: .5rem 1rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--bs-primary);
    background: none;
    border: none;
    border-top: 1px solid var(--bs-border-color);
    cursor: pointer;
    text-align: center;
}
.offcanvas-more-btn:hover { background: var(--bs-secondary-bg); }

/* =============================================================
   SEARCH OVERLAY (full-screen)
   ============================================================= */
.search-overlay {
    position: fixed;
    inset: 0;
    background: var(--bs-body-bg);
    z-index: 1080;
    display: none;
    flex-direction: column;
}
.search-overlay.is-open { display: flex; }
.search-overlay-head {
    display: flex; align-items: center; gap: .5rem;
    padding: .625rem var(--bs-body-padding-x);
    border-bottom: 1px solid var(--bs-border-color);
    min-height: 56px;
}
.search-overlay-body { padding: 1.25rem var(--bs-body-padding-x); overflow-y: auto; }
.search-suggest h6 {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    margin: 0 0 .5rem;
}
.search-suggest .chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.search-suggest ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.search-suggest li + li { border-top: 1px solid var(--bs-border-color); }
.search-suggest a {
    display: flex; align-items: center; gap: .65rem;
    padding: .85rem 0;
    color: inherit; text-decoration: none;
    font-size: .9375rem;
}
.search-suggest a svg { width: 16px; height: 16px; color: var(--bs-secondary-color); }

/* =============================================================
   ARTICLE READING (single)
   ============================================================= */
.article-hero {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bs-secondary-bg);
    margin: 1rem 0 0;
    position: relative;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-hero figcaption {
    font-size: .75rem;
    color: var(--bs-secondary-color);
    padding: .5rem var(--bs-body-padding-x) 0;
    line-height: 1.45;
}

/* Desktop: constrain hero image to article reading width (≈ col-8) */
@media (min-width: 992px) {
    .article-hero {
        max-width: 880px;
        margin: 1.5rem auto 0;
        aspect-ratio: 16 / 9;
    }
    .article-hero img { border-radius: .5rem; }
    .article-hero figcaption { padding-left: 0; padding-right: 0; }
}

/* Breadcrumb */
.breadcrumb-row {
    padding: 1rem var(--bs-body-padding-x) 0;
    font-size: .75rem;
    color: var(--bs-secondary-color);
}
.breadcrumb-row ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .15rem .35rem;
    align-items: center;
}
.breadcrumb-row li {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-width: 0;
}
.breadcrumb-row a {
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: color .15s ease;
}
.breadcrumb-row a:hover { color: var(--bs-primary); text-decoration: underline; }
.breadcrumb-row .sep {
    width: 12px;
    height: 12px;
    color: var(--bs-border-color);
    flex-shrink: 0;
}
.breadcrumb-row [aria-current="page"] span {
    color: var(--bs-body-color);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60vw;
}
@media (min-width: 992px) {
    /* Default desktop: breadcrumb mengikuti container (sejajar dengan judul halaman) */
    .breadcrumb-row { padding: 1.25rem 0 0; }
    .breadcrumb-row [aria-current="page"] span { max-width: 480px; }
    /* Khusus dalam artikel: ikuti lebar baca (880px) supaya sejajar dengan judul artikel */
    article .breadcrumb-row { max-width: 880px; margin: 0 auto; }
}

/* =============================================================
   INDEKS PAGE
   ============================================================= */
.indeks-head {
    padding: 1rem var(--bs-body-padding-x) .5rem;
}
.indeks-title {
    font-size: clamp(1.625rem, 5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 .5rem;
    line-height: 1.15;
}
.indeks-deck {
    font-size: .9375rem;
    color: var(--bs-secondary-color);
    line-height: 1.55;
    margin: 0;
    max-width: 640px;
}

.indeks-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .65rem;
    align-items: center;
    padding: .75rem var(--bs-body-padding-x);
    font-size: .8125rem;
    color: var(--bs-secondary-color);
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    margin-top: 1rem;
}
.indeks-stats strong { color: var(--bs-body-color); font-weight: 700; }
.indeks-stats-sep { color: var(--bs-border-color); }

.indeks-filter-label {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    margin: 1.25rem var(--bs-body-padding-x) .25rem;
}

/* Date group header */
.indeks-group { margin-top: 1.5rem; }
.indeks-date {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem var(--bs-body-padding-x);
    background: var(--bs-tertiary-bg);
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    position: sticky;
    top: 56px;
    z-index: 5;
}
.indeks-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bs-primary);
    line-height: 1;
    letter-spacing: -.02em;
}
.indeks-month {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    padding: 2px 6px;
    border: 1px solid var(--bs-border-color);
    border-radius: 3px;
}
.indeks-day-label {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--bs-body-color);
    margin-left: auto;
}

/* Indeks rows — compact (smaller thumb than feed) */
.indeks-row {
    grid-template-columns: 96px 1fr !important;
    gap: .85rem !important;
    padding-top: .875rem !important;
    padding-bottom: .875rem !important;
}
@media (min-width: 768px) {
    .indeks-row { grid-template-columns: 120px 1fr !important; gap: 1rem !important; }
}
@media (min-width: 992px) {
    .indeks-row { grid-template-columns: 140px 1fr !important; }
}

.indeks-pagination {
    display: flex;
    gap: .35rem;
    justify-content: center;
    align-items: center;
    padding: 2rem var(--bs-body-padding-x) 3rem;
    flex-wrap: wrap;
}
.indeks-pagination .pill { min-width: 36px; justify-content: center; }
@media (min-width: 992px) {
    .indeks-head, .indeks-stats, .indeks-filter-label { padding-inline: 0; }
    .indeks-pagination { padding-inline: 0; }
}

.article-head { padding: 1rem var(--bs-body-padding-x) .5rem; }
.article-eyebrow {
    color: var(--bs-primary);
    font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: .5rem; display: inline-block;
}
.article-title {
    font-size: clamp(1.5rem, 5.5vw, 2.125rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.015em;
    margin: 0 0 .75rem;
    text-wrap: pretty;
}
.article-deck {
    font-size: 1.0625rem;
    color: var(--bs-secondary-color);
    line-height: 1.55;
    margin: 0 0 1rem;
}
.article-byline {
    display: flex; align-items: center; gap: .65rem;
    padding: .75rem 0;
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    font-size: .8125rem;
    color: var(--bs-secondary-color);
}
.article-byline .avatar {
    width: 32px; height: 32px;
    border-radius: 999px;
    background: var(--bs-secondary-bg);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--bs-body-color);
    font-size: .8125rem;
}
.article-byline strong { color: var(--bs-body-color); font-weight: 700; }
.article-byline-author {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: inherit;
}
.article-byline-author:hover strong { color: var(--bs-primary); text-decoration: underline; }

.article-body {
    padding: 1.25rem var(--bs-body-padding-x) 5rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    max-width: 680px;
    margin-inline: auto;
}
.article-body p { margin: 0 0 1rem; }
.article-body h2 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; font-weight: 800; }
.article-body blockquote {
    border-left: 3px solid var(--bs-primary);
    padding: .25rem 0 .25rem 1rem;
    margin: 1.25rem 0;
    font-style: italic;
    color: var(--bs-secondary-color);
}
.article-body figure { margin: 1.5rem 0; }
.article-body figure img { width: 100%; border-radius: .375rem; }
.article-body figcaption {
    font-size: .8125rem;
    color: var(--bs-secondary-color);
    margin-top: .4rem;
    text-align: center;
}

/* Baca Juga */
.baca-juga {
    margin: 1.25rem 0;
    border-left: 3px solid var(--bs-primary);
    background: var(--bs-tertiary-bg);
    border-radius: 0 .375rem .375rem 0;
    padding: .75rem 1rem;
}
.baca-juga-label {
    display: block;
    font-size: .6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bs-primary);
    margin-bottom: .4rem;
}
.baca-juga-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: var(--bs-body-color);
    font-weight: 600;
    font-size: .9375rem;
    line-height: 1.4;
}
.baca-juga-link img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: .25rem;
    flex-shrink: 0;
}
.baca-juga-link:hover span { color: var(--bs-primary); text-decoration: underline; }

.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.5rem 0; }
.tag {
    display: inline-block;
    padding: .35rem .75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--bs-body-color);
    text-decoration: none;
}
.tag:hover { background: var(--bs-secondary-bg); text-decoration: none; }

/* Sticky share bar */
.share-bar {
    position: fixed;
    inset: auto 0 0 0;
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    z-index: 1020;
    padding-bottom: env(safe-area-inset-bottom);
}
.share-bar > button, .share-bar > a {
    flex: 1;
    min-height: 52px;
    border: 0;
    background: transparent;
    color: var(--bs-body-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-size: .8125rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.share-bar > * + * { border-left: 1px solid var(--bs-border-color); }
.share-bar svg { width: 18px; height: 18px; }
.share-bar button:hover, .share-bar a:hover { background: var(--bs-secondary-bg); text-decoration: none; }

/* =============================================================
   DESKTOP RESPONSIVE (>= 992px)
   ============================================================= */
@media (min-width: 992px) {
    .container-kabar { max-width: 1100px; margin-inline: auto; padding-inline: 1rem; }

    /* Hero jadi grid 2 kolom: hero besar + sidebar terpopuler */
    .home-grid {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 2rem;
        padding: 1.5rem 0 0;
    }
    .hero-article { margin-bottom: 0; }
    .hero-media { aspect-ratio: 16/10; border-radius: .5rem; }
    .hero-body { padding: 1.25rem 0 0; }
    .hero-title { font-size: 2.25rem; }

    .news-list { border-top: 0; }
    /* feed-grid sengaja TIDAK 2-kolom — tampilan 1 artikel per baris di semua viewport */

    .section-header { padding-inline: 0; }
    .news-item { padding-inline: .5rem; border-radius: .375rem; }

    .pill-scroller { padding-inline: 0; }
    .ticker-row { padding-inline: 1rem; max-width: 1100px; margin-inline: auto; }
    .appbar-row { padding-inline: 1rem; max-width: 1100px; margin-inline: auto; }

    .article-body { padding-inline: 0; }
}

/* =============================================================
   HERO CAROUSEL
   ============================================================= */
.hero-carousel {
    position: relative;
    margin-bottom: 1rem;
}
@media (min-width: 992px) {
    .hero-reel { border-radius: .5rem; }
}
/* hero-reel = visible image area with defined aspect-ratio */
.hero-reel {
    position: relative;
    overflow: hidden;
    background: var(--bs-secondary-bg);
    aspect-ratio: 4/3;
}
@media (min-width: 768px) {
    .hero-reel { aspect-ratio: 16/9; }
}
@media (min-width: 992px) {
    .hero-reel { max-height: 540px; }
}
.hero-reel .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.hero-reel .hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.hero-reel .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Caption overlay di hero — eyebrow (kiri-atas) + judul + meta (bawah) */
.hero-reel .hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 3.5rem var(--bs-body-padding-x) 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 80%, rgba(0,0,0,0) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.hero-reel .hero-overlay .hero-eyebrow {
    color: #fff;
    background: var(--bs-primary);
    padding: .3rem .6rem;
    border-radius: 3px;
    font-size: .6875rem;
    letter-spacing: .05em;
    margin: 0;
    text-decoration: none;
    align-self: flex-start;
}
.hero-reel .hero-overlay .hero-title {
    font-size: clamp(1.15rem, 4vw, 1.875rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.015em;
    margin: 0;
    text-wrap: balance;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-reel .hero-overlay .hero-title a { color: inherit; text-decoration: none; }
.hero-reel .hero-overlay .hero-title a:hover { text-decoration: underline; text-decoration-color: rgba(255,255,255,.6); }
.hero-reel .hero-overlay .hero-meta {
    font-size: .8125rem;
    color: rgba(255,255,255,.85);
    margin: 0;
}
@media (min-width: 768px) {
    .hero-reel .hero-overlay { padding-bottom: 1.5rem; padding-top: 4.5rem; }
    .hero-reel .hero-overlay .hero-title { font-size: clamp(1.5rem, 3vw, 2.125rem); -webkit-line-clamp: 2; }
}
/* Dots — positioned absolute inside hero-reel */
.hero-reel > .hero-dots {
    position: absolute;
    bottom: 1.25rem;
    left: var(--bs-body-padding-x);
    z-index: 4;
    display: flex;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hero-reel .hero-dots button {
    width: 22px;
    height: 3px;
    border-radius: 3px;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: background .2s ease, width .2s ease;
}
.hero-reel .hero-dots .is-active button {
    background: #fff;
    width: 32px;
}

/* Body bawah hero */
.hero-carousel .hero-body { padding: .875rem var(--bs-body-padding-x) 0; }

/* Thumbnail strip — clickable previews with title */
.hero-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .65rem;
    padding: .75rem var(--bs-body-padding-x) 0;
    margin: 0;
    list-style: none;
}
.hero-thumbs > li { display: flex; flex-direction: column; gap: .4rem; }
.hero-thumbs .thumb-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: .25rem;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: var(--bs-secondary-bg);
    cursor: pointer;
    position: relative;
    transition: border-color .2s ease, transform .15s ease;
}
.hero-thumbs .thumb-img:hover { transform: translateY(-2px); }
.hero-thumbs .is-active .thumb-img {
    border-color: var(--bs-primary);
}
.hero-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-thumbs .thumb-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.18);
    transition: opacity .2s ease;
}
.hero-thumbs .is-active .thumb-img::after { opacity: 0; }
.hero-thumbs .thumb-title {
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bs-body-color);
    text-decoration: none;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-thumbs .thumb-title:hover { color: var(--bs-primary); text-decoration: none; }
.hero-thumbs .is-active .thumb-title { color: var(--bs-primary); }
@media (min-width: 768px) {
    .hero-thumbs .thumb-title { font-size: .8125rem; -webkit-line-clamp: 2; }
}

/* =============================================================
   ADS PLACEHOLDER
   ============================================================= */
.ad-slot {
    padding: 1.25rem var(--bs-body-padding-x);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-slot-inner {
    width: 100%;
    max-width: 728px;
    min-height: 120px;
    background: repeating-linear-gradient(45deg,
        var(--bs-tertiary-bg) 0 10px,
        var(--bs-secondary-bg) 10px 20px);
    border: 1px dashed var(--bs-border-color);
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    color: var(--bs-secondary-color);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
}
.ad-slot-inner small {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    color: var(--bs-secondary-color);
    opacity: .8;
}

/* =============================================================
   SOCIAL ICONS
   ============================================================= */
.social-row {
    display: flex;
    gap: .4rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.social-row a {
    --size: 36px;
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, transform .1s ease;
}
.social-row a:hover {
    background: var(--bs-primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.social-row a svg { width: 16px; height: 16px; }

/* Header (compact) */
.appbar .social-row a { --size: 32px; background: transparent; border: 1px solid var(--bs-border-color); }
.appbar .social-row a svg { width: 14px; height: 14px; }

/* Offcanvas social block */
.offcanvas-social {
    padding: 1rem var(--bs-body-padding-x);
    border-top: 1px solid var(--bs-border-color);
}
.offcanvas-social h6 {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    margin: 0 0 .65rem;
}

/* Carousel arrows (desktop) */
.hero-carousel .hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #1F2937;
    border: 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background .2s ease, transform .15s ease;
}
.hero-carousel .hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.hero-carousel .hero-arrow svg { width: 18px; height: 18px; }
.hero-carousel .hero-arrow.prev { left: .75rem; }
.hero-carousel .hero-arrow.next { right: .75rem; }
@media (min-width: 768px) {
    .hero-reel:hover .hero-arrow,
    .hero-reel:focus-within .hero-arrow { display: inline-flex; }
}

/* Print-friendly */
@media print {
    .appbar, .ticker, .share-bar, .pill-scroller { display: none !important; }
}

/* =============================================================
   PAGE LAYOUT (content + sidebar)
   ============================================================= */
.layout-main {
    padding: 1rem var(--bs-body-padding-x) 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (min-width: 992px) {
    .layout-main {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 2rem;
        padding-inline: 0;
        align-items: start;
    }
}
.content-area { min-width: 0; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    overflow: hidden;
}
.widget-title {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    margin: 0;
}
.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: pop;
}
.popular-list li {
    counter-increment: pop;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: .5rem;
    align-items: start;
    padding: .65rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    font-size: .875rem;
}
.popular-list li:last-child { border-bottom: 0; }
.popular-num {
    font-weight: 800;
    color: var(--bs-secondary-color);
    font-size: .8125rem;
    padding-top: .1em;
}
.popular-list a { color: var(--bs-body-color); font-weight: 600; line-height: 1.35; }
.popular-list a:hover { color: var(--bs-primary); text-decoration: none; }

/* Page header (category / tag / search pages) */
.page-header { padding: 1.25rem 0 .75rem; border-bottom: 1px solid var(--bs-border-color); margin-bottom: 1rem; }
.page-title { font-size: 1.375rem; font-weight: 800; margin: 0 0 .25rem; }
.page-title em { font-style: normal; color: var(--bs-primary); }
.page-desc { font-size: .9375rem; color: var(--bs-secondary-color); margin: 0; }

/* News list helpers used in category/tag/search views */
.news-grid { display: flex; flex-direction: column; }
.news-cat {
    font-size: .6875rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: var(--bs-primary); text-decoration: none;
}
.news-cat:hover { text-decoration: underline; }
.news-time { font-size: .75rem; color: var(--bs-secondary-color); }
.news-excerpt {
    font-size: .875rem; color: var(--bs-secondary-color);
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    margin: 0;
}

/* Pagination */
.pagination {
    display: flex; align-items: center; justify-content: center;
    gap: .5rem; padding: 1.5rem 0 .5rem;
}
.page-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 999px;
    border: 1px solid var(--bs-border-color);
    background: transparent; color: var(--bs-body-color);
    font-size: 1.1rem; text-decoration: none; cursor: pointer;
    transition: background .15s;
}
.page-btn:hover { background: var(--bs-secondary-bg); text-decoration: none; }
.page-info { font-size: .8125rem; color: var(--bs-secondary-color); }

/* Buttons */
.btn-primary {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .6rem 1.25rem; border-radius: 999px;
    background: var(--bs-primary); color: #fff;
    border: none; font-size: .875rem; font-weight: 700;
    cursor: pointer; font-family: inherit; text-decoration: none;
    transition: opacity .15s;
}
.btn-primary:hover { opacity: .88; text-decoration: none; color: #fff; }

/* Empty state */
.empty-state { padding: 2.5rem 0; text-align: center; color: var(--bs-secondary-color); font-size: .9375rem; }

/* Search form on search page */
.search-form-full { display: flex; gap: .5rem; margin-bottom: 1.5rem; align-items: center; }
.search-form-full .search-inline { max-width: 480px; }

/* Article reading layout on single page */
.layout-single { padding: 0 var(--bs-body-padding-x) 5rem; max-width: 800px; margin-inline: auto; }
@media (min-width: 992px) { .layout-single { padding-inline: 0; } }

/* ── Comments ──────────────────────────────────────────────────────────── */
.comment-section { padding-block: 2.5rem; border-top: 1px solid var(--bs-border-color); }
.comment-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 6px; background: var(--bs-primary); color: #fff; border-radius: 12px; font-size: 12px; font-weight: 700; margin-left: 6px; }
.comment-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.comment-item { display: flex; gap: .875rem; }
.comment-item.reply { margin-left: 2.5rem; margin-top: .75rem; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--bs-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.comment-avatar--sm { width: 28px; height: 28px; font-size: 12px; }
.comment-body { flex: 1; min-width: 0; }
.comment-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; flex-wrap: wrap; }
.comment-author { font-size: 13px; font-weight: 600; color: var(--bs-body-color); }
.comment-time { font-size: 11px; color: var(--bs-secondary-color); }
.comment-text { font-size: 14px; line-height: 1.6; color: var(--bs-body-color); margin: 0 0 .375rem; word-break: break-word; }
.comment-reply-btn { background: none; border: none; padding: 0; font-size: 12px; color: var(--bs-primary); cursor: pointer; font-weight: 600; }
.comment-reply-btn:hover { text-decoration: underline; }
.comment-replies { margin-top: .75rem; border-left: 2px solid var(--bs-border-color); padding-left: .875rem; }
.comment-replying-to { font-size: 13px; color: var(--bs-secondary-color); padding: 6px 10px; background: var(--bs-secondary-bg); border-radius: 6px; margin-bottom: 10px; display: flex; align-items: center; }
.comment-form-wrap { margin-top: 1.5rem; }
.comment-form-title { font-size: 16px; font-weight: 700; margin: 0 0 1rem; color: var(--bs-body-color); }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 600px) { .comment-form-row { grid-template-columns: 1fr; } }
.comment-form-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.comment-form-field label { font-size: 13px; font-weight: 500; color: var(--bs-body-color); }
.comment-form-field input, .comment-form-field textarea {
    padding: 8px 10px; border-radius: 6px; border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg); color: var(--bs-body-color); font-size: 14px;
    font-family: inherit; width: 100%; box-sizing: border-box; resize: vertical;
    transition: border-color .15s;
}
.comment-form-field input:focus, .comment-form-field textarea:focus { outline: none; border-color: var(--bs-primary); }
.comment-error { padding: 8px 12px; background: #fee2e2; color: #991b1b; border-radius: 6px; font-size: 13px; margin-top: 8px; }
.comment-success { padding: 8px 12px; background: #dcfce7; color: #166534; border-radius: 6px; font-size: 13px; margin-top: 8px; }

/* =============================================================
   FEED LIST (home page news list)
   ============================================================= */
.feed-list .news-title {
    -webkit-line-clamp: 2;
    font-size: 1rem;
}
@media (min-width: 576px) {
    .feed-list .news-title { font-size: 1.0625rem; }
}
@media (min-width: 992px) {
    .feed-list .news-title { font-size: 1.125rem; -webkit-line-clamp: 2; }
}

/* =============================================================
   SITE FOOTER
   ============================================================= */
.site-footer {
    margin-top: 3rem;
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}
.site-footer .container-kabar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}
@media (min-width: 768px) {
    .site-footer .container-kabar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    align-items: center;
}
.footer-links a {
    font-size: .8125rem;
    color: var(--bs-secondary-color);
    text-decoration: none;
}
.footer-links a:hover { color: var(--bs-primary); text-decoration: underline; }
.footer-copy {
    font-size: .8125rem;
    color: var(--bs-secondary-color);
    margin: 0;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
    text-align: center;
}
@media (min-width: 768px) {
    .footer-copy { text-align: left; }
}

/* ===== BERITA FOTO STRIP ===== */
.foto-strip {
    border-bottom: 1px solid var(--bs-border-color);
    padding: 2rem 0 2.5rem;
    margin-top: 2rem;
}
.foto-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.foto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .foto-grid { grid-template-columns: repeat(6, 1fr); }
}
.foto-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.foto-card-thumb {
    position: relative;
    margin: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: .5rem;
    background: var(--bs-secondary-bg);
}
.foto-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.foto-card:hover .foto-card-thumb img { transform: scale(1.04); }
.foto-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bs-secondary-bg);
}
.foto-card-badge {
    position: absolute;
    bottom: .5rem;
    left: .5rem;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: .3rem;
    backdrop-filter: blur(4px);
}
.foto-card-body { padding: 0 .125rem; }
.foto-card-cat {
    display: block;
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bs-primary);
    margin-bottom: .2rem;
}
.foto-card-title {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 .2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.foto-card-meta {
    font-size: .75rem;
    color: var(--bs-secondary-color);
    margin: 0;
}

/* ===== VIDEO STRIP / RAIL (Home — Detik-style) ===== */
.vstrip {
    background: #111;
    padding: 1.25rem 0 1.5rem;
}
.vstrip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.vstrip-header { margin-bottom: .75rem; }
.vstrip-title-head {
    color: #fff !important;
    font-size: 1rem;
    display: flex;
    align-items: center;
}
.vstrip-more { color: #aaa !important; font-size: .8rem; }
.vstrip-more:hover { color: #fff !important; }

.vstrip-wrapper {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.vstrip-rail {
    display: flex;
    gap: .625rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    flex: 1;
}
.vstrip-rail::-webkit-scrollbar { display: none; }

.vstrip-card {
    flex: 0 0 auto;
    width: 150px;
    text-decoration: none;
    color: #fff;
    scroll-snap-align: start;
    display: block;
}
@media (min-width: 480px) { .vstrip-card { width: 165px; } }
@media (min-width: 768px) { .vstrip-card { width: 180px; } }

.vstrip-thumb {
    position: relative;
    margin: 0;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: .4rem;
    background: #2a2a2a;
}
.vstrip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.vstrip-card:hover .vstrip-thumb img { transform: scale(1.04); }
.vstrip-placeholder { width: 100%; height: 100%; background: #2a2a2a; }

.vstrip-play-btn {
    position: absolute;
    top: .5rem;
    left: .5rem;
    width: 1.75rem;
    height: 1.75rem;
    background: rgba(0,0,0,.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(2px);
    padding-left: 1px;
}
.vstrip-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem .5rem .5rem;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    border-radius: 0 0 .4rem .4rem;
}
.vstrip-card-title {
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #fff;
}

.vstrip-arrow {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.vstrip-arrow:hover { background: rgba(255,255,255,.3); }

/* ===== BERITA TERBARU (below video strip) ===== */
.home-more-grid {
    list-style: none;
    margin: 0;
    padding: 0;
}
.more-btn {
    display: inline-block;
    padding: .5rem 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 2rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--bs-body-color);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.more-btn:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* ===== CATEGORY STRIP (Teknologi / Gaya Hidup) ===== */
.catstrip-section {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--bs-border-color);
}
.catstrip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.catstrip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .catstrip-grid { grid-template-columns: repeat(4, 1fr); }
}
.catstrip-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: .625rem;
}
.catstrip-thumb {
    margin: 0;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: .5rem;
    background: var(--bs-secondary-bg);
}
.catstrip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.catstrip-card:hover .catstrip-thumb img { transform: scale(1.04); }
.catstrip-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bs-secondary-bg);
}
.catstrip-body { display: flex; flex-direction: column; gap: .25rem; }
.catstrip-title {
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.catstrip-meta {
    font-size: .75rem;
    color: var(--bs-secondary-color);
    margin: 0;
}

/* ===== AUTHOR PAGE ===== */
.author-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem 0 1.5rem;
    border-bottom: 1px solid var(--bs-border-color);
    margin-bottom: 1.5rem;
}
.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--bs-border-color);
}
.author-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}
.author-info { flex: 1; min-width: 0; }
.author-name {
    font-size: 1.375rem;
    font-weight: 800;
    margin: 0 0 .25rem;
    line-height: 1.2;
}
.author-role {
    display: inline-block;
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .08);
    padding: .2rem .6rem;
    border-radius: 999px;
    margin-bottom: .5rem;
}
.author-bio {
    font-size: .9375rem;
    color: var(--bs-secondary-color);
    margin: .5rem 0 .75rem;
    line-height: 1.6;
}
.author-social { display: flex; gap: .5rem; }
.author-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    transition: background .15s, color .15s;
}
.author-social-link svg { width: 16px; height: 16px; }
.author-social-link:hover { background: var(--bs-primary); color: #fff; }
.author-articles-header { margin-bottom: 1rem; }
.author-articles-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: .625rem;
}
.author-articles-count {
    font-size: .75rem;
    font-weight: 500;
    color: var(--bs-secondary-color);
    background: var(--bs-secondary-bg);
    padding: .2rem .6rem;
    border-radius: 999px;
}

/* ===== SINGLE PAGE — AUTHOR BIO ===== */
.single-author-bio {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    margin: 2rem 0;
}
.single-author-bio-link { flex-shrink: 0; }
.single-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bs-border-color);
    display: block;
}
.single-author-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    width: 64px;
    height: 64px;
    border-radius: 50%;
}
.single-author-info { flex: 1; min-width: 0; }
.single-author-label {
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bs-secondary-color);
    margin: 0 0 .2rem;
}
.single-author-name {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--bs-body-color);
    text-decoration: none;
    margin-bottom: .5rem;
    line-height: 1.2;
}
.single-author-name:hover { color: var(--bs-primary); text-decoration: underline; }
.single-author-desc {
    font-size: .875rem;
    color: var(--bs-secondary-color);
    margin: 0 0 .75rem;
    line-height: 1.6;
}
.single-author-social { display: flex; gap: .375rem; }
