/* =========================================================
   BERITA LIGASB — ARTIKEL (tampilan modern)
   Dark bg · card putih · gambar besar tanpa pecah
   ========================================================= */

:root{
    --bg:#070b14;
    --border:#1c2b47;
    --border-2:#283c61;
    --primary:#3bf21f;
    --primary-2:#28c20f;
    --primary-glow:rgba(59,242,31,.18);
    --text:#f0f5ff;
    --text-2:#a8b6cf;
    --text-3:#6a7c9c;
    --radius:16px;
    --radius-sm:12px;
    --shadow:0 22px 50px rgba(0,0,0,.5);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
    margin:0;
    min-height:100vh;
    background:
        radial-gradient(1100px 500px at 50% -120px, rgba(59,242,31,.10), transparent 60%),
        var(--bg);
    color:var(--text);
    font-family:"Inter","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
}

a{text-decoration:none;color:inherit}

img{max-width:100%;display:block}

.container{width:min(100%,1160px);margin:0 auto;padding:0 18px}

.bg-glow{
    position:fixed;inset:0;pointer-events:none;z-index:-1;
    background:
        radial-gradient(820px 420px at 90% 0%, rgba(28,80,24,.22), transparent 60%),
        radial-gradient(760px 380px at 0% 100%, rgba(20,45,80,.20), transparent 60%);
}

/* ================= HEADER ================= */

.site-header{
    position:sticky;top:0;z-index:1000;
    background:rgba(7,11,20,.82);
    backdrop-filter:blur(14px) saturate(140%);
    -webkit-backdrop-filter:blur(14px) saturate(140%);
    border-bottom:1px solid var(--border);
}

.header-inner{
    height:72px;
    display:flex;align-items:center;justify-content:space-between;gap:20px;
}

.logo{display:flex;align-items:center;gap:10px}

.logo-img{height:68px;width:auto;display:block}

.logo-ball{
    width:40px;height:40px;flex:0 0 40px;
    display:flex;align-items:center;justify-content:center;
    font-size:21px;border-radius:12px;
    background:linear-gradient(145deg,var(--primary),var(--primary-2));
    box-shadow:0 0 22px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.35);
}

.logo-text{display:flex;flex-direction:column;line-height:1.05}

.logo-text strong{
    font-family:"Oswald","Inter",sans-serif;
    font-size:20px;font-weight:700;letter-spacing:1px;color:#fff;
}

.logo-text em{
    font-style:normal;font-weight:800;color:var(--primary);
    font-size:12px;letter-spacing:4.5px;
}

.site-nav{display:flex;align-items:center;gap:24px}

.site-nav a{color:var(--text-2);font-size:13px;font-weight:700;transition:.2s}

.site-nav a:hover{color:var(--primary)}

.btn-ghost{
    padding:9px 18px;border-radius:11px;
    border:1px solid var(--border-2);color:var(--text);
    font-size:13px;font-weight:700;transition:.2s;
}

.btn-ghost:hover{border-color:var(--primary);color:var(--primary);box-shadow:0 0 0 3px var(--primary-glow)}

/* ================= ARTICLE ================= */

.article-page{padding:28px 0 64px}

.article-container{width:min(100%,880px)}

.article-card{
    overflow:hidden;
    background:#fff;color:#172033;
    border:1px solid #dbe1e9;border-radius:var(--radius);
    box-shadow:0 24px 60px rgba(0,0,0,.45);
}

/* gambar */

.article-cover{margin:0;background:#0c1424}

.article-cover img{
    width:100%;
    height:auto;
    max-height:600px;
    min-height:260px;
    object-fit:cover;object-position:center;
    background:#0c1424;
}

/* konten */

.article-content{padding:32px 46px 42px}

.article-chip{
    display:inline-flex;align-items:center;
    padding:7px 14px;margin-bottom:16px;border-radius:30px;
    background:linear-gradient(135deg,var(--primary),var(--primary-2));
    color:#0a1400;font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;
    box-shadow:0 6px 18px var(--primary-glow);
}

.article-title{
    margin:0;color:#0b1324;
    font-family:"Oswald","Inter",sans-serif;
    font-size:40px;font-weight:600;line-height:1.14;letter-spacing:.2px;
}

.article-meta{
    margin-top:14px;
    display:flex;flex-wrap:wrap;align-items:center;gap:10px;
    color:#73809a;font-size:13px;font-weight:600;
}

.article-meta .dot{color:#b4bccb}

.article-divider{
    width:100%;height:1px;margin:24px 0 26px;background:#e2e7ee;border:0;
}

.article-body p{
    margin:0 0 22px;color:#222d3f;
    font-size:18px;line-height:1.9;font-weight:400;
}

.article-body .anchor-auto{
    color:#0b7a00;font-weight:700;
    text-decoration:underline;text-underline-offset:3px;
    border-bottom:2px solid rgba(59,242,31,.35);
}
.article-body .anchor-auto:hover{color:#28c20f}

.article-body p:last-child{margin-bottom:0}

/* footer artikel */

.article-footer{
    margin-top:30px;padding-top:24px;
    border-top:1px solid #e2e7ee;
}

.back-button{
    display:inline-flex;align-items:center;
    padding:12px 20px;border-radius:11px;
    background:linear-gradient(145deg,#131e36,#0b1324);
    color:#fff;font-size:13px;font-weight:800;transition:.2s;
}

.back-button:hover{background:linear-gradient(145deg,var(--primary),var(--primary-2));color:#0a1400}

/* ================= RELATED ================= */

.related-section{padding-top:38px}

.related-title{
    display:flex;align-items:center;gap:10px;
    margin:0 0 18px;
    font-family:"Oswald","Inter",sans-serif;
    font-size:20px;font-weight:600;letter-spacing:1.5px;color:#fff;
}

.related-title .bar{
    width:6px;height:22px;border-radius:3px;
    background:linear-gradient(var(--primary),var(--primary-2));
    box-shadow:0 0 14px var(--primary-glow);
}

.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}

.related-card{
    display:block;overflow:hidden;
    background:#0e1729;border:1px solid var(--border);border-radius:var(--radius-sm);
    transition:.25s ease;
}

.related-card:hover{transform:translateY(-4px);border-color:var(--border-2);box-shadow:0 14px 34px rgba(0,0,0,.4)}

.related-media{aspect-ratio:16/9;background:#0c1424;overflow:hidden}

.related-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}

.related-card:hover .related-media img{transform:scale(1.06)}

.related-body{padding:13px 15px 16px}

.related-body strong{
    display:block;color:#fff;font-size:13.5px;line-height:1.4;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}

/* ================= FOOTER ================= */

.site-footer{margin-top:52px;background:rgba(5,8,14,.9);border-top:1px solid var(--border)}

.footer-grid{
    padding:38px 18px 24px;
    display:grid;grid-template-columns:2fr 1fr;gap:32px;
}

.footer-brand p{margin:14px 0 0;color:var(--text-2);font-size:13px;line-height:1.7;max-width:430px}

.footer-col h4{margin:0 0 14px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-3)}

.footer-col a{display:block;margin-bottom:9px;color:var(--text-2);font-size:13px;font-weight:600;transition:.2s}

.footer-col a:hover{color:var(--primary);transform:translateX(3px)}

.footer-bottom{
    padding:16px 18px;border-top:1px solid var(--border);
    text-align:center;color:var(--text-3);font-size:12px;
}

.footer-bottom strong{color:#fff}

.footer-bottom span{color:var(--primary)}

/* ================= NOT FOUND ================= */

.not-found{padding:70px 36px;text-align:center}

.not-found h1{margin:0 0 12px;color:#0b1324;font-family:"Oswald","Inter",sans-serif;font-size:32px}

.not-found p{margin:0 0 26px;color:#68758a}

.not-found .back-button{display:inline-flex}

/* ================= REVEAL ================= */

[data-reveal]{
    opacity:0;transform:translateY(22px);
    transition:opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}

[data-reveal].reveal-in{opacity:1;transform:none}

@media (prefers-reduced-motion: reduce){
    [data-reveal]{opacity:1;transform:none;transition:none}
}

/* ================= RESPONSIVE ================= */

@media (max-width:860px){
    .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .article-title{font-size:33px}
}

@media (max-width:640px){
    .site-nav{display:none}
    .article-page{padding:16px 0 44px}
    .article-container{padding:0 12px}
    .article-content{padding:24px 22px 30px}
    .article-title{font-size:27px;line-height:1.2}
    .article-cover img{min-height:200px;max-height:360px}
    .article-body p{font-size:16px;line-height:1.85;margin-bottom:18px}
    .related-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr;gap:22px}
    .footer-inner{padding:0 12px}
}