h1,h2,h3{font-family: "Space Grotesk",Segoe UI,sans-serif}

/* =============================
   NexShop News — berita-artikel.html
   ============================= */
* { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { display: none; }

/* Nav */
.news-nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 0 clamp(1rem, 4vw, 3rem);
    display: flex; align-items: center; justify-content: space-between;
    height: 60px; gap: 1rem;
}
.news-nav-brand {
    display: flex; align-items: center; gap: 0.5rem;
    text-decoration: none;
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem;
    color: var(--text);
}
.news-nav-brand .nx-accent { color: var(--violet); }
.news-nav-brand .nx-news {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--text-muted);
    background: rgba(0,194,232,.12); border: 1px solid rgba(0,194,232,.25);
    padding: 2px 6px; border-radius: 4px; align-self: flex-end; margin-bottom: 2px;
}
.nav-back {
    display: flex; align-items: center; gap: 0.4rem;
    text-decoration: none; color: var(--text-muted);
    font-size: 0.82rem; font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm); border: 1px solid var(--line);
    transition: all 0.18s;
}
.nav-back:hover { color: var(--text); border-color: var(--violet); }

/* Main layout
   Catatan: tata letak .article-page sekarang ada di blok
   "UPGRADE PORTAL BERITA" di bawah (dua kolom: isi + sidebar). */

/* Breadcrumb */
.breadcrumb-nav {
    display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem;
    align-items: center; font-size: 0.75rem;
    color: var(--text-muted); margin-bottom: 1.5rem;
    list-style: none; padding: 0; margin-top: 0;
}
.breadcrumb-nav a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--violet); }
.breadcrumb-nav li:not(:last-child)::after {
    content: "/"; margin-left: 0.5rem; opacity: 0.5;
}
.breadcrumb-nav .current { color: var(--text-dim); }

/* Category badge */
.article-cat-badge {
    display: inline-flex;
    width: fit-content;
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 194, 232, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--cyan);
    border: 1px solid rgba(0, 194, 232, 0.22);
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Article header */
.article-h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800; line-height: 1.2;
    color: var(--text); margin-bottom: 1rem;
}
.article-excerpt-lead {
    font-size: 1.05rem; font-weight: 500; line-height: 1.65;
    color: var(--text-muted); margin-bottom: 1.25rem;
    border-left: 3px solid var(--violet); padding-left: 1rem;
    /* Excerpt kadang memuat URL Play Store yang sangat panjang tanpa spasi.
       Tanpa aturan wrap, satu baris bisa melewati container dan viewport. */
    overflow-wrap: anywhere;
    word-break: break-word;
}
.article-meta {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
    font-size: 0.78rem; color: var(--text-dim);
    padding-bottom: 1.25rem; margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); }
.article-meta time, .article-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* Alat baca: ukuran huruf (A- A A+) dan tombol simpan artikel.
   Portal berita sungguhan menyediakan ini karena pembaca sering membaca
   lama di HP dan ingin huruf lebih besar, atau ingin menyimpan artikel
   untuk dibaca nanti. Ukuran huruf disimpan di peramban pembaca. */
.article-tools {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.article-tools__grup {
    display: inline-flex; align-items: center;
    border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.article-tools__btn {
    min-height: 2.25rem; min-width: 2.75rem;
    padding: 0 0.75rem;
    border: 0; background: none;
    color: var(--text-muted);
    font: inherit; font-size: 0.8125rem; font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.article-tools__btn:hover { background: var(--bg-panel); color: var(--text); }
.article-tools__btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.article-tools__grup .article-tools__btn + .article-tools__btn { border-left: 1px solid var(--line); }
.article-tools__btn.is-aktif { background: var(--bg-panel-2); color: var(--text); }
.article-tools__simpan {
    display: inline-flex; align-items: center; gap: 0.4rem;
    min-width: 0; padding: 0 0.9rem;
    border: 1px solid var(--line); border-radius: 999px;
}
.article-tools__simpan.is-aktif {
    border-color: var(--cyan); color: var(--cyan);
}

/* Hero image */
.article-hero-img-wrap {
    border-radius: var(--radius); overflow: hidden;
    margin-bottom: 0.5rem; background: var(--bg-panel-2);
    aspect-ratio: 16/9;
}
.article-hero-img-wrap img {
    width: 100%; height: 100%; object-fit: contain; display: block;
    background: var(--soft);
}
.article-hero-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--text-dim);
    background: linear-gradient(135deg, var(--bg-panel-2), var(--bg-panel-3));
}
.img-credit {
    font-size: 0.7rem; color: var(--text-dim);
    text-align: right; margin-bottom: 2rem;
}
.img-credit a { color: var(--text-dim); text-decoration: none; }
.img-credit a:hover { color: var(--violet); text-decoration: underline; }

/* Article body */
.article-body {
    font-size: calc(1rem * var(--art-skala, 1)); line-height: 1.8;
    color: var(--text); margin-bottom: 2rem;
    overflow-wrap: break-word;
}
.article-body h2, .article-body h3, .article-body h4 {
    font-family: 'Sora', sans-serif; font-weight: 700;
    color: var(--text); margin: 1.75rem 0 0.75rem;
}
.article-body h2 { font-size: 1.4rem; }
.article-body h3 { font-size: 1.15rem; }
.article-body h4 { font-size: 1rem; }
.article-body p { margin: 0 0 1rem; }
.article-body a {
    color: var(--violet); text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.article-body a:hover { color: var(--cyan); }
.article-body blockquote {
    border-left: 3px solid var(--violet);
    padding: 0.75rem 1rem; margin: 1.5rem 0;
    background: var(--bg-panel); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic; color: var(--text-muted);
}
.article-body ul, .article-body ol {
    padding-left: 1.5rem; margin: 0 0 1rem;
}
.article-body li { margin-bottom: 0.35rem; }
.article-body img {
    max-width: 100%; border-radius: var(--radius-sm);
    margin: 1rem 0;
}
.article-body .article-inline-image {
    margin: 2rem 0;
    padding: 0;
    text-align: left;
}
.article-body .article-inline-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 720px;
    margin: 0;
}
.article-body .article-inline-image figcaption {
    margin-top: 0.65rem;
    color: var(--text-dim);
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: left;
}
.article-body code {
    background: var(--bg-panel-2); padding: 0.15rem 0.4rem;
    border-radius: 4px; font-size: 0.88rem;
    font-family: monospace; color: var(--cyan);
}
.article-body pre {
    background: var(--bg-panel-2); padding: 1rem;
    border-radius: var(--radius-sm); overflow-x: auto;
    margin: 1rem 0;
}
.article-body pre code {
    background: transparent; padding: 0; color: var(--text);
}
.article-body hr {
    border: none; border-top: 1px solid var(--line); margin: 2rem 0;
}

/* Tables */
.article-body table { width: 100%; border-collapse: collapse; margin: 0; }
.article-body th, .article-body td { padding: 0.75rem; border: 1px solid var(--line); text-align: left; }
.article-body th { background: var(--bg-panel-2); font-weight: 700; color: var(--text); }
.table-responsive { width: 100%; overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.table-responsive table { border: none; }
.table-responsive th, .table-responsive td { border: none; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.table-responsive th:last-child, .table-responsive td:last-child { border-right: none; }
.table-responsive tr:last-child td { border-bottom: none; }

/* Tags */
.tags-section { margin-bottom: 2rem; }
.tags-section h4, .tags-section h2 {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 0.6rem;
}
.tags-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-chip {
    padding: 0.25rem 0.65rem;
    border-radius: 999px; border: 1px solid var(--line);
    background: var(--bg-panel); color: var(--text-muted);
    font-size: 0.75rem; font-weight: 500; text-decoration: none;
    transition: all 0.18s;
}
.tag-chip:hover { border-color: var(--cyan); color: var(--cyan); }

/* Share buttons */
.share-section { margin-bottom: 2rem; }
.share-section h4, .share-section h2 {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 0.75rem;
}
.share-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-btn {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm); border: 1px solid var(--line);
    background: var(--bg-panel); color: var(--text-muted);
    font-size: 0.78rem; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.18s;
    font-family: 'Segoe UI', sans-serif;
}
.share-btn:hover { border-color: var(--violet); color: var(--text); }
.share-btn.copied { border-color: var(--success); color: var(--success); }

/* Sources reference */
.sources-section {
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}
.sources-section h4, .sources-section h2 {
    font-family: 'Sora', sans-serif; font-size: 0.85rem;
    font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}
.sources-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.sources-list li { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.sources-list a {
    color: var(--text-muted); text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.15s;
}
.sources-list a:hover { color: var(--violet); border-color: var(--violet); }

/* Related articles */
.related-section { margin-bottom: 2rem; }
.related-section h3, .related-section h2 {
    font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700;
    color: var(--text); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.related-section h3::before, .related-section h2::before {
    content: ''; display: block; width: 4px; height: 18px;
    background: var(--violet); border-radius: 2px;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.related-card {
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    text-decoration: none; display: flex; flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}
.related-card:hover { border-color: rgba(0,194,232,.45); transform: translateY(-2px); }
.related-img {
    aspect-ratio: 16/9; overflow: hidden; background: var(--bg-panel-2);
}
.related-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.related-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: var(--text-dim);
    background: linear-gradient(135deg, var(--bg-panel-2), var(--bg-panel-3));
}
.related-body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; }
.related-cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); }
.related-title {
    font-family: 'Sora', sans-serif; font-size: 0.82rem; font-weight: 700;
    color: var(--text); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-date { font-size: 0.68rem; color: var(--text-dim); }

/* State blocks */
.state-block {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 1rem; padding: 4rem 2rem;
    color: var(--text-muted); text-align: center;
}
.state-block .state-icon { font-size: 3rem; opacity: 0.35; }
.state-block h4 { font-family: 'Sora', sans-serif; font-size: 1.1rem; color: var(--text); margin: 0; }
.state-block p { font-size: 0.85rem; margin: 0; }

/* Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-panel-2) 25%, var(--bg-panel-3) 50%, var(--bg-panel-2) 75%);
    background-size: 200% 100%; animation: sk-shimmer 1.4s infinite; border-radius: 6px;
}
@keyframes sk-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Article updated badge */
.updated-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.68rem; padding: 0.2rem 0.5rem; border-radius: 4px;
    background: rgba(34,211,238,.1); color: var(--cyan);
    border: 1px solid rgba(34,211,238,.2);
}

/* Separator */
.section-sep { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

/* Footer */
.news-footer {
    text-align: center; padding: 2rem;
    color: var(--text-dim); font-size: 0.78rem;
    border-top: 1px solid var(--line); margin-top: 2rem;
}
.news-footer a { color: var(--violet); text-decoration: none; }

/* ==========================================================================
   UPGRADE PORTAL BERITA — elemen khas portal berita profesional
   ==========================================================================
   Yang ditambahkan (dan alasannya):
     1. .read-progress      -- bilah kemajuan baca di paling atas. Portal besar
                               (Detik/Kompas/CNN) memakainya supaya pembaca tahu
                               sudah sejauh mana membaca artikel panjang.
     2. .article-main + .article-sidebar
                            -- tata letak DUA KOLOM di desktop: isi artikel di
                               kiri, sidebar "Terpopuler" di kanan. Sebelumnya
                               satu kolom saja sehingga halaman terasa kosong
                               di layar lebar.
     3. .baca-juga          -- sisipan tautan di tengah isi artikel ("Baca Juga")
                               yang mengarah ke berita terkait. Ini ciri khas
                               portal berita Indonesia dan menahan pembaca lebih
                               lama di situs.
     4. .author-box         -- kotak penulis di akhir artikel. Membangun
                               kredibilitas: pembaca tahu siapa yang menulis.
     5. .article-nav        -- navigasi artikel sebelum/berikutnya, supaya
                               pembaca lanjut membaca, bukan langsung keluar.
   ========================================================================== */

/* 1. Bilah kemajuan baca */
.read-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px; z-index: 200;
    background: transparent; pointer-events: none;
}
.read-progress__fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--violet), var(--cyan));
    transition: width 0.12s linear;
}

/* 2. Tata letak dua kolom */
.article-page {
    max-width: 1180px; margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}
.article-main { min-width: 0; }
.article-sidebar { display: none; }

@media (min-width: 1080px) {
    .article-page {
        grid-template-columns: minmax(0, 760px) 320px;
        gap: 3.5rem;
        justify-content: center;
    }
    .article-sidebar {
        display: block;
        position: sticky; top: 84px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

/* Sidebar — widget */
.sidebar-widget {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.sidebar-widget__title {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem; font-weight: 700;
    color: var(--text); margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--violet);
    display: flex; align-items: center; gap: 0.5rem;
}
.sidebar-popular { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.sidebar-popular__item { display: flex; gap: 0.75rem; align-items: flex-start; }
.sidebar-popular__rank {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem; font-weight: 800; line-height: 1;
    color: var(--violet);
    flex: 0 0 auto; width: 1.6rem;
    font-variant-numeric: tabular-nums;
}
.sidebar-popular__body { min-width: 0; flex: 1; }
.sidebar-popular__title {
    display: block; font-size: 0.82rem; font-weight: 600;
    color: var(--text); text-decoration: none; line-height: 1.4;
    margin-bottom: 0.25rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-popular__title:hover { color: var(--violet); }
.sidebar-popular__meta { font-size: 0.68rem; color: var(--text-dim); }

/* 3. Baca Juga — sisipan di tengah isi */
.baca-juga {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    background: var(--bg-panel);
    border-left: 4px solid var(--violet);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.baca-juga__label {
    display: block;
    font-size: 0.65rem; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--violet); margin-bottom: 0.35rem;
}
.baca-juga a {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    color: var(--text); text-decoration: none; line-height: 1.45;
}
.baca-juga a:hover { color: var(--violet); }

/* 4. Kotak penulis */
.author-box {
    display: flex; gap: 1rem; align-items: flex-start;
    background: var(--bg-panel-2, var(--bg-panel));
    border: 1px solid var(--line);
    border-left: 3px solid var(--violet);
    border-radius: var(--radius-sm);
    padding: 1.15rem 1.25rem; margin: 2rem 0;
}
.author-box__avatar {
    width: 52px; height: 52px; flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--cyan));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 800;
    color: #fff;
}
.author-box__name {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem; font-weight: 700; color: var(--text);
    margin: 0 0 0.25rem;
}
.author-box__bio { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* 5. Navigasi artikel sebelum/berikutnya */
.article-nav {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem; margin: 2rem 0;
}
.article-nav__link {
    display: flex; flex-direction: column; gap: 0.4rem;
    padding: 1rem 1.15rem;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: border-color 0.18s, transform 0.18s;
}
.article-nav__link:hover { border-color: rgba(0,194,232,.45); transform: translateY(-2px); }
.article-nav__label {
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-dim);
}
.article-nav__title {
    font-size: 0.82rem; font-weight: 600; color: var(--text);
    line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-nav__link--next { text-align: right; }

@media (max-width: 600px) {
    .article-nav { grid-template-columns: 1fr; }
    .article-nav__link--next { text-align: left; }
}

/* 6. Slot iklan di dalam artikel
   ARAHAN PEMILIK TOKO (verbatim):
     "tambahkan siapa tau ada pihak yg mau isi iklan"
   Halaman artikel tidak memuat news-portal.css, jadi gaya slot iklan
   didefinisikan sendiri di sini memakai token warna halaman ini. */
.nws-ad { margin: 1.75rem 0; }
.nws-ad__label {
    display: block; margin-bottom: 0.4rem;
    color: var(--text-dim);
    font-size: 0.62rem; font-weight: 800;
    letter-spacing: 0.14em; text-transform: uppercase;
}
.nws-ad__link {
    display: block; overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-panel);
    text-decoration: none;
}
.nws-ad__link:hover { border-color: rgba(0,194,232,.45); }
.nws-ad__img { display: block; width: 100%; height: auto; }
.nws-ad__teks {
    display: block; padding: 1rem 1.25rem;
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 1rem; font-weight: 700; line-height: 1.4;
}
.nws-ad__by { display: block; margin-top: 0.35rem; color: var(--text-dim); font-size: 0.68rem; }
.nws-ad__rumah {
    display: flex; flex-direction: column; gap: 0.2rem;
    padding: 1rem 1.25rem;
    border: 1px dashed rgba(0,194,232,.4);
    border-radius: var(--radius-sm);
    background: var(--bg-panel);
    text-decoration: none;
}
.nws-ad__rumah:hover { border-color: var(--cyan); }
.nws-ad__rumah-judul { color: var(--cyan); font-family: 'Sora', sans-serif; font-size: 0.94rem; font-weight: 800; }
.nws-ad__rumah-teks { color: var(--text-muted); font-size: 0.81rem; line-height: 1.5; }

/* Responsive */
@media (max-width: 600px) {
    .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .related-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REDESIGN V2 — LAPISAN COOL-BLUE UNTUK HALAMAN ARTIKEL
   --------------------------------------------------------------------------
   Berkas ini adalah hasil pemindahan blok <style> inline berita-artikel.html
   (22 KB) ke berkas eksternal. Alasannya bukan kerapian semata:

     CSP produksi (vercel.json) memakai `style-src-elem 'self' <hash...>`.
     Hash blok <style> halaman ini TIDAK terdaftar di sana, jadi di produksi
     seluruh 22 KB gaya itu diblokir Chrome dan halaman artikel tampil tanpa
     gaya sama sekali (terbukti di harness lokal: "Applying inline style
     violates ... style-src-elem"). Berkas eksternal dilayani 'self', jadi
     selalu lolos, bisa di-cache, dan tidak menambah beban hash.

   Lapisan di bawah menyambungkan gaya lama itu ke sistem desain cool-blue:
     - token terang dipasang di body.article-shell (halaman ini terang saja,
       sama seperti /berita; theme-init.js tidak memaksanya, jadi token di
       sini yang menjaga);
     - tipografi Segoe UI 700 untuk judul, 17px/1.75 untuk isi artikel;
     - gradasi dekoratif dan glow dihapus;
     - luapan horizontal 390px diperbaiki (navigasi artikel, tabel, kode).
   ========================================================================== */

/* --- Token --------------------------------------------------------------- */

body.article-shell {
    color-scheme: light;

    --canvas: #f7f9fc;
    --surface: #ffffff;
    --paper: #ffffff;
    --ink: #111827;
    --ink2: #344054;
    --muted: #5f6b7f;
    --line: #e4e9f2;
    --line2: #d7dfec;
    --soft: #e6f0fa;
    --blue: #0060af;
    --blue-dark: #173eaa;
    --blue-soft: #e6f0fa;

    --bg-void: #f7f9fc;
    --bg-void-2: #f7f9fc;
    --bg-panel: #ffffff;
    --bg-panel-2: #f7f9fc;
    --bg-panel-3: #e6f0fa;
    --violet: #0060af;
    --violet-2: #173eaa;
    --cyan: #0060af;
    --cyan-2: #173eaa;
    --magenta: #0060af;
    --text: #111827;
    --text-muted: #5f6b7f;
    --text-dim: #5f6b7f;
    --success: #0f766e;
    --danger: #b42318;
    --warning: #b45309;
    --nav-bg: #ffffff;
    --footer-bg: #ffffff;
    --glow-violet: none;
    --glow-cyan: none;
    --radius: 12px;
    --radius-sm: 8px;

    background: var(--canvas) !important;
    color: var(--ink) !important;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

html:has(body.article-shell) {
    overflow-x: clip;
}

/* --- Header ------------------------------------------------------------- */

body.article-shell .news-nav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 60;
    height: auto;
    padding: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Tata letak header situs (flex) — lihat catatan di news-portal.css. */
body.article-shell .news-nav .top-in {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-inline: auto;
    padding-inline: clamp(16px, 3vw, 32px);
    box-sizing: border-box;
}

body.article-shell .news-nav .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: var(--ink) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none;
}

body.article-shell .news-nav .nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

body.article-shell .news-nav .top-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

body.article-shell .news-nav .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 820px) {
    body.article-shell .news-nav .top-in {
        padding-bottom: 0 !important;
    }
}

body.article-shell #nx-theme {
    display: none !important;
}

body.article-shell .news-nav .nav a[aria-current="page"] {
    color: var(--blue) !important;
    background: var(--blue-soft) !important;
    font-weight: 700 !important;
}

body.article-shell .nws-masthead {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

body.article-shell .nws-masthead__inner {
    padding-block: 14px;
    gap: 16px;
}

body.article-shell .nws-masthead__brand {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--ink) !important;
    gap: 6px;
}

body.article-shell .nws-masthead__brand em {
    color: var(--blue);
    font-style: normal;
}

body.article-shell .nws-masthead__suffix {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

body.article-shell .nws-masthead__tag {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
}

body.article-shell .nws-masthead__aside {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

body.article-shell .nws-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--line2);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink2);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

body.article-shell .nws-back:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* --- Tipografi ---------------------------------------------------------- */

body.article-shell h1,
body.article-shell h2,
body.article-shell h3,
body.article-shell h4,
body.article-shell .article-h1,
body.article-shell .sidebar-widget__title,
body.article-shell .related-section h3,
body.article-shell .related-section h2,
body.article-shell .nx-footer__brand-logo,
body.article-shell .nx-footer__heading {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--ink) !important;
}

body.article-shell .article-h1 {
    font-size: clamp(2rem, 3.6vw, 2.75rem) !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
}

body.article-shell .article-excerpt-lead {
    color: var(--ink2);
    border-left: 3px solid var(--blue);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;
}

body.article-shell .article-cat-badge {
    background: var(--blue);
    border: 1px solid var(--blue);
    color: #fff;
    border-radius: 999px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
}

body.article-shell .breadcrumb-nav,
body.article-shell .breadcrumb-nav a,
body.article-shell .breadcrumb-nav .current {
    color: var(--muted);
    font-size: 13px;
}

body.article-shell .breadcrumb-nav a:hover {
    color: var(--blue);
}

body.article-shell .article-meta {
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

body.article-shell .article-meta .dot {
    background: var(--line2);
}

body.article-shell .article-tools__grup {
    border: 1px solid var(--line2);
    border-radius: 999px;
}

body.article-shell .article-tools__btn {
    color: var(--muted);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body.article-shell .article-tools__btn:hover {
    background: var(--blue-soft);
    color: var(--blue);
}

body.article-shell .article-tools__btn.is-aktif {
    background: var(--blue-soft);
    color: var(--blue);
}

body.article-shell .article-tools__simpan {
    border: 1px solid var(--line2);
    border-radius: 999px;
}

body.article-shell .article-tools__simpan.is-aktif {
    border-color: var(--blue);
    color: var(--blue);
}

/* --- Isi artikel -------------------------------------------------------- */

body.article-shell .article-body {
    color: var(--ink);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: calc(1.0625rem * var(--art-skala, 1));
    line-height: 1.75;
    overflow-wrap: anywhere;
}

body.article-shell .article-body h2,
body.article-shell .article-body h3,
body.article-shell .article-body h4 {
    color: var(--ink);
    font-weight: 700;
}

body.article-shell .article-body a {
    color: var(--blue);
}

body.article-shell .article-body a:hover {
    color: var(--blue-dark);
}

body.article-shell .article-body blockquote {
    border-left: 3px solid var(--blue);
    border-radius: 0 8px 8px 0;
    background: var(--blue-soft);
    color: var(--ink2);
    font-style: normal;
}

body.article-shell .article-body code {
    background: var(--blue-soft);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.1rem 0.35rem;
    font-size: 0.9em;
    overflow-wrap: anywhere;
}

body.article-shell .article-body pre {
    background: #f7f9fc;
    border: 1px solid var(--line);
    border-radius: 10px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.article-shell .article-body pre code {
    border: 0;
    background: transparent;
    white-space: pre;
    overflow-wrap: normal;
}

body.article-shell .article-body table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

body.article-shell .article-body th {
    background: var(--blue-soft);
    color: var(--ink);
    font-weight: 700;
}

body.article-shell .article-body th,
body.article-shell .article-body td {
    border: 1px solid var(--line);
}

body.article-shell .article-body img,
body.article-shell .article-body iframe {
    max-width: 100%;
}

body.article-shell .article-body .article-inline-image figcaption,
body.article-shell .img-credit {
    color: var(--muted);
    font-size: 12px;
}

body.article-shell .img-credit a:hover {
    color: var(--blue);
}

body.article-shell .article-hero-img-wrap {
    border-radius: 12px;
    background: var(--soft);
}

body.article-shell .article-hero-img-placeholder {
    background: var(--soft);
    color: var(--muted);
}

/* Tabel lebar: bungkus yang sudah ada tetap dipakai; tabel telanjang dibuat
   bisa digeser sendiri supaya tidak melebarkan halaman di 390px. */
@media (max-width: 40rem) {
    body.article-shell .article-body > table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.article-shell .article-body pre {
        padding: 0.85rem;
    }
}

/* --- Baca juga, penulis, sumber, tag, bagi ----------------------------- */

body.article-shell .baca-juga {
    background: var(--blue-soft);
    border-left: 3px solid var(--blue);
    border-radius: 0 8px 8px 0;
}

body.article-shell .baca-juga__label {
    color: var(--blue);
    font-size: 11px;
    letter-spacing: 0.1em;
}

body.article-shell .baca-juga a {
    color: var(--ink);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body.article-shell .baca-juga a:hover {
    color: var(--blue);
}

body.article-shell .author-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    border-radius: 12px;
}

body.article-shell .author-box__avatar {
    background: var(--blue);
    background-image: none;
    color: #fff;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body.article-shell .author-box__name {
    color: var(--ink);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body.article-shell .author-box__bio {
    color: var(--muted);
}

body.article-shell .sources-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
}

body.article-shell .sources-section h4,
body.article-shell .sources-section h2,
body.article-shell .tags-section h2,
body.article-shell .share-section h2,
body.article-shell .tags-section h4,
body.article-shell .share-section h4, .share-section h2 {
    color: var(--muted);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
}

body.article-shell .sources-list a {
    color: var(--ink2);
}

body.article-shell .sources-list a:hover {
    color: var(--blue);
    border-color: var(--blue);
}

body.article-shell .tag-chip {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink2);
    border-radius: 999px;
    font-size: 13px;
}

body.article-shell .tag-chip:hover {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--blue);
}

body.article-shell .share-btn {
    border: 1px solid var(--line2);
    background: var(--surface);
    color: var(--ink2);
    border-radius: 8px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 13px;
}

body.article-shell .share-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

body.article-shell .share-btn.copied {
    border-color: var(--success);
    color: var(--success);
}

/* --- Artikel terkait ---------------------------------------------------- */

body.article-shell .related-section h3::before, .related-section h2::before {
    background: var(--blue);
}

body.article-shell .related-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
    transition: border-color .16s ease, box-shadow .16s ease;
}

body.article-shell .related-card:hover {
    border-color: var(--line2);
    box-shadow: 0 12px 32px rgba(17, 24, 39, .08);
    transform: none;
}

body.article-shell .related-img {
    background: var(--soft);
}

body.article-shell .related-img-placeholder {
    background: var(--soft);
    color: var(--muted);
}

body.article-shell .related-cat {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

body.article-shell .related-title {
    color: var(--ink);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body.article-shell .related-card:hover .related-title {
    color: var(--blue);
}

/* --- Navigasi artikel sebelum/berikutnya -------------------------------- */

body.article-shell .article-nav {
    /* minmax(0,1fr): dulu `1fr 1fr` membuat judul panjang memaksa kolom
       melebihi layar, sehingga halaman bisa digeser ke samping di 390px. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

body.article-shell .article-nav__link {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .16s ease;
}

body.article-shell .article-nav__link:hover {
    border-color: var(--blue);
    transform: none;
}

body.article-shell .article-nav__label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.06em;
}

body.article-shell .article-nav__title {
    color: var(--ink);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    overflow-wrap: anywhere;
}

@media (max-width: 40rem) {
    body.article-shell .article-nav {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* --- Sidebar ----------------------------------------------------------- */

body.article-shell .sidebar-widget {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
}

body.article-shell .sidebar-widget__title {
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted) !important;
}

body.article-shell .sidebar-popular__rank {
    color: var(--blue);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body.article-shell .sidebar-popular__title {
    color: var(--ink);
}

body.article-shell .sidebar-popular__title:hover {
    color: var(--blue);
}

body.article-shell .sidebar-popular__meta {
    color: var(--muted);
    font-size: 12px;
}

/* --- Iklan dalam artikel ------------------------------------------------ */

body.article-shell .nws-ad__label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
}

body.article-shell .nws-ad__link {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

body.article-shell .nws-ad__link:hover {
    border-color: var(--blue);
}

body.article-shell .nws-ad__teks {
    color: var(--ink);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body.article-shell .nws-ad__rumah {
    border: 1px dashed var(--line2);
    border-radius: 12px;
    background: var(--surface);
}

body.article-shell .nws-ad__rumah:hover {
    border-color: var(--blue);
}

body.article-shell .nws-ad__rumah-judul {
    color: var(--blue);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-weight: 700;
}

/* --- Bilah kemajuan baca ------------------------------------------------ */

body.article-shell .read-progress__fill {
    background: var(--blue);
    background-image: none;
}

/* --- Footer ------------------------------------------------------------- */

body.article-shell .nx-footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    margin-top: 0;
    padding-top: 48px;
    padding-bottom: 32px;
}

body.article-shell .nx-footer__grid {
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 40px;
}

body.article-shell .nx-footer__brand-logo {
    font-size: 18px !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase;
}

body.article-shell .nx-footer__brand-desc,
body.article-shell .nx-footer__link,
body.article-shell .nx-footer__bottom p,
body.article-shell .nx-footer__bottom-note {
    color: var(--muted);
    font-size: 14px;
}

body.article-shell .nx-footer__heading {
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    color: var(--muted) !important;
}

body.article-shell .nx-footer__link:hover {
    color: var(--blue);
}

body.article-shell .nx-footer__bottom {
    border-top: 1px solid var(--line);
    margin-top: 32px;
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
}

body.article-shell .nx-footer__credit a {
    color: var(--blue) !important;
    font-weight: 600;
    text-decoration: none;
}

body.article-shell .nx-footer__credit a:hover {
    color: var(--blue-dark) !important;
    text-decoration: underline;
}

body.article-shell .nx-footer__bottom-note {
    margin: 0;
    max-width: 46ch;
    text-align: right;
}

@media (max-width: 40rem) {
    body.article-shell .nws-masthead__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    body.article-shell .nws-masthead__aside {
        justify-content: flex-start;
        width: 100%;
    }

    body.article-shell .nx-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    body.article-shell .nx-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    body.article-shell .nx-footer__bottom-note {
        text-align: left;
    }
}

/* --- Spanduk cookie versi terang (lihat catatan di news-portal.css) ------ */

body.article-shell .nexshop-cookie-banner {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .08) !important;
}

body.article-shell .nexshop-cookie-banner h2 {
    color: var(--ink) !important;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}

body.article-shell .nexshop-cookie-banner p {
    color: var(--muted) !important;
}

body.article-shell .nexshop-cookie-button {
    border: 1px solid var(--line2) !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
    border-radius: 9px !important;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-weight: 600 !important;
}

body.article-shell .nexshop-cookie-button:hover,
body.article-shell .nexshop-cookie-button:focus-visible {
    border-color: var(--blue) !important;
    background: var(--blue-soft) !important;
    color: var(--blue-dark) !important;
}

body.article-shell .nexshop-cookie-button--primary {
    border-color: var(--line2) !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
}

/* --- Skeleton & state --------------------------------------------------- */

body.article-shell .skeleton {
    background: linear-gradient(90deg, #eef2f9, #f7f9fc, #eef2f9);
    background-size: 200% 100%;
}

@media (prefers-reduced-motion: reduce) {
    body.article-shell *,
    body.article-shell *::before,
    body.article-shell *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

/* Perapian tata letak artikel: kontainer sejajar, kolom lebih lega */
body.article-shell .nws-masthead__inner{max-width:1240px;margin:0 auto;padding-inline:24px}
@media (min-width:1080px){
  body.article-shell .article-page{grid-template-columns:minmax(0,820px) 300px!important;gap:48px!important;max-width:1240px!important;padding-inline:24px!important;align-items:start!important}
  body.article-shell .article-sidebar{top:96px!important}
  body.article-shell .article-main .breadcrumb-nav{margin-bottom:18px!important}
  body.article-shell .article-main .article-cat-badge{margin-bottom:10px!important}
  body.article-shell .article-main h1{max-width:100%!important}
}
body.article-shell{padding-bottom:170px}

@media (max-width: 640px) {
  body.article-shell .nws-masthead__inner,
  body.article-shell .article-page {
    padding-inline: 16px !important;
  }
}
