/* ==========================================================================
   kuntasnews — stylesheet utama (mobile-first)
   Struktur: 1 Token  2 Dasar  3 Header/Nav  4 Ticker  5 Iklan  6 Kartu & daftar
             7 Hero  8 Layout & sidebar  9 Artikel  10 Form  11 Footer  12 Utilitas
   ========================================================================== */

/* 1. TOKEN WARNA & TIPOGRAFI ------------------------------------------------ */
:root {
  --primary: #d32f2f;          /* merah utama */
  --primary-dark: #b71c1c;
  --on-primary: #fff;
  --bg: #fff;
  --surface: #f5f5f7;
  --text: #1b1b1f;
  --muted: #5a5d66;
  --border: #e2e3e8;
  --link: #b71c1c;             /* warna tautan teks (kontras ≥ 7:1 pada putih) */
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .1);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --nav-h: 52px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #121214;
  --surface: #1c1c21;
  --text: #ececf0;
  --muted: #a4a7b0;
  --border: #2f3037;
  --link: #ff8a80;
  --shadow: 0 1px 3px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* 2. DASAR ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.55; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 3px; }
[data-theme="dark"] :focus-visible { outline-color: #ff8a80; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }   /* honeypot anti-spam */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: .6rem 1rem; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 8px; }
.demo-banner { background: #fff4e5; color: #5d3a00; font-size: .8rem; text-align: center; padding: .35rem 1rem; }
[data-theme="dark"] .demo-banner { background: #3a2a10; color: #ffd9a0; }

/* 3. HEADER & NAVIGASI ------------------------------------------------------ */
.topbar { background: var(--surface); border-bottom: 1px solid var(--border); font-size: .8rem; color: var(--muted); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 1rem; }
.topbar-actions { display: flex; align-items: center; gap: .75rem; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.icon-btn { background: none; border: 1px solid var(--border); border-radius: 999px; width: 32px; height: 32px; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--bg); }
.theme-ico::before { content: "🌙"; }
[data-theme="dark"] .theme-ico::before { content: "☀️"; }

.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--primary); color: #fff; font: 700 1.5rem/1 var(--sans); }
.brand-name { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.brand-name b { color: var(--primary); }
[data-theme="dark"] .brand-name b { color: #ff6b6b; }
.brand-ad { display: none; flex: 1; max-width: 728px; }

.navbar { position: sticky; top: 0; z-index: 50; background: var(--bg); border-top: 3px solid var(--primary); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.nav-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; min-height: var(--nav-h); }
.menu-toggle { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 0; padding: .6rem .25rem; font-weight: 700; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: ""; }
.bars::before { position: absolute; top: -6px; }
.bars::after { position: absolute; top: 6px; }
.menu { display: none; flex-basis: 100%; order: 3; list-style: none; flex-direction: column; padding-bottom: .5rem; }
.menu.is-open { display: flex; }
.menu a { display: block; padding: .65rem .25rem; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.menu a:hover { color: var(--link); }
.menu a[aria-current="page"] { color: var(--link); box-shadow: inset 3px 0 0 var(--primary); padding-left: .75rem; }
.nav-search { display: flex; flex: 1; max-width: 260px; margin-left: auto; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); overflow: hidden; }
.nav-search input:not([type="checkbox"]) { flex: 1; min-width: 0; width: auto; border: 0; border-radius: 0; background: transparent; padding: .45rem .9rem; }
.nav-search input:focus-visible { outline-offset: -3px; }
.nav-search button { border: 0; background: none; padding: 0 .8rem; cursor: pointer; color: var(--muted); }

/* 4. TICKER BREAKING NEWS --------------------------------------------------- */
.ticker { background: var(--primary-dark); color: #fff; font-size: .9rem; }
.ticker-in { display: flex; align-items: center; gap: .75rem; min-height: 40px; }
.ticker-label { flex: none; background: #fff; color: var(--primary-dark); font-weight: 800; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; padding: .2rem .55rem; border-radius: 4px; }
.ticker-track { flex: 1; overflow: hidden; display: flex; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.ticker-list { display: flex; flex: none; list-style: none; min-width: 100%; animation: ticker 40s linear infinite; }
.ticker-list li { padding-right: 3rem; }
.ticker-list li::before { content: "●"; font-size: .55rem; margin-right: .6rem; vertical-align: middle; opacity: .7; }
.ticker-list a { text-decoration: none; }
.ticker-list a:hover { text-decoration: underline; }
.ticker:hover .ticker-list, .ticker:focus-within .ticker-list, .ticker.is-paused .ticker-list { animation-play-state: paused; }
.ticker-pause { flex: none; background: rgba(255, 255, 255, .15); color: #fff; border: 0; border-radius: 4px; width: 28px; height: 28px; font-size: .6rem; cursor: pointer; }
.ticker :focus-visible { outline-color: #fff; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* 5. IKLAN ------------------------------------------------------------------ */
.ad { margin: 1rem 0; text-align: center; }
.ad-label { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ad-box { display: grid; place-items: center; background: var(--surface); border: 1px dashed var(--border); color: var(--muted); font-size: .8rem; border-radius: 6px; overflow: hidden; }
.ad-header .ad-box { min-height: 90px; }
.ad-sidebar .ad-box { min-height: 250px; }
.ad-inline .ad-box { min-height: 250px; }
.ad-home .ad-box { min-height: 90px; }
.brand-ad .ad { margin: 0; }

/* 6. KARTU & DAFTAR --------------------------------------------------------- */
.kicker { display: inline-block; color: var(--link); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; margin-bottom: .25rem; }
.kicker:hover { text-decoration: underline; }
.kicker-light { color: #fff; background: var(--primary); padding: .15rem .5rem; border-radius: 4px; }
.meta { font-size: .8rem; color: var(--muted); margin: 0; }
.meta-light { color: #e8e8ec; }
.card { display: flex; flex-direction: column; background: var(--bg); }
.card-img, .item-img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.card-img img, .item-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.card-img:hover img, .item-img:hover img { transform: scale(1.03); }
.card-body { padding-top: .6rem; }
.card-title { font-size: 1.05rem; margin: 0 0 .3rem; }
.card-title a, .item-title a, .hero-title a { text-decoration: none; }
.card-title a:hover, .item-title a:hover { color: var(--link); text-decoration: underline; }
.grid { display: grid; gap: 1.25rem; }
.list { display: grid; gap: 1.25rem; }
.item { display: grid; gap: .75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.item-title { font-size: 1.15rem; margin: 0 0 .35rem; }
.item-sum { color: var(--muted); font-size: .92rem; margin: 0 0 .4rem; }
.empty { padding: 2rem 0; color: var(--muted); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--text); margin: 1.75rem 0 1rem; }
.section-title { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; margin: 0; padding-bottom: .4rem; position: relative; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 4px; background: var(--primary); }
.more { font-size: .85rem; font-weight: 600; color: var(--link); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* 7. HERO ------------------------------------------------------------------- */
.hero { display: grid; gap: 1.25rem; margin-top: 1.25rem; align-items: start; }
.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #111; color: #fff; }
.hero-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-body { position: absolute; inset: auto 0 0 0; padding: 3rem 1rem 1rem; background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .55) 60%, transparent); }
.hero-title { font-size: clamp(1.35rem, 4.5vw, 2.1rem); margin: .3rem 0 .4rem; }
.hero-title a { color: #fff; }
.stretch::after { content: ""; position: absolute; inset: 0; }
.hero-sum { display: none; color: #ececf0; margin: 0 0 .5rem; }
.hero-side { display: grid; gap: 1rem; align-content: start; }
.hero-side .card { flex-direction: row; gap: .8rem; align-items: flex-start; }
.hero-side .card-img { flex: 0 0 120px; }
.hero-side .card-body { padding-top: 0; }
.hero-side .card-title { font-size: 1rem; }

/* 8. LAYOUT, SIDEBAR, BREADCRUMB, PAGINASI --------------------------------- */
.layout { display: grid; gap: 2rem; }
.page-head { padding: 1.25rem 0 .5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.page-head h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); margin-bottom: .25rem; }
.page-head p { color: var(--muted); margin: 0; }
.breadcrumb { font-size: .82rem; color: var(--muted); padding-top: 1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: .35rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .35rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.sidebar { display: grid; gap: 1.5rem; align-content: start; }
.widget { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; background: var(--bg); }
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; border-left: 4px solid var(--primary); padding-left: .6rem; margin-bottom: .8rem; }
.popular { list-style: none; counter-reset: pop; }
.popular li { counter-increment: pop; position: relative; padding: .6rem 0 .6rem 2.4rem; border-top: 1px solid var(--border); }
.popular li:first-child { border-top: 0; }
.popular li::before { content: counter(pop); position: absolute; left: 0; top: .5rem; font: 800 1.6rem/1 var(--sans); color: var(--primary); opacity: .85; width: 2rem; text-align: center; }
[data-theme="dark"] .popular li::before { color: #ff6b6b; }
.popular a { font-weight: 600; text-decoration: none; display: block; margin-bottom: .15rem; }
.popular a:hover { color: var(--link); text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.tag { font-size: .8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .2rem .7rem; text-decoration: none; }
.tag:hover { border-color: var(--primary); color: var(--link); }

.pagination { margin: 2rem 0; }
.pagination ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; justify-content: center; }
.pg-link, .pg-gap { display: inline-block; min-width: 40px; padding: .55rem .8rem; text-align: center; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; font-weight: 600; }
.pg-gap { border: 0; }
.pg-link:hover { border-color: var(--primary); color: var(--link); }
.pg-link.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 9. ARTIKEL ---------------------------------------------------------------- */
.article { min-width: 0; }
.article-head h1 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); letter-spacing: -.02em; margin: .2rem 0 .75rem; }
.lede { font-size: 1.15rem; color: var(--muted); font-family: var(--serif); }
.byline { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .85rem; color: var(--muted); border-block: 1px solid var(--border); padding: .65rem 0; margin: 0 0 1rem; }
.article-hero { margin: 0 0 1.1rem; }
.article-hero img { width: 100%; height: auto; max-height: 620px; object-fit: cover; border-radius: var(--radius); background: var(--surface); display: block; }
.inline-img { margin: 1.6rem 0; }
.inline-img img { width: 100%; height: auto; border-radius: var(--radius); background: var(--surface); display: block; }
.inline-img figcaption { font-family: var(--sans); font-size: .82rem; color: var(--muted); padding-top: .45rem; line-height: 1.4; }
.photo-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1.6rem 0; }
.photo-grid .inline-img { margin: 0; }
.photo-grid .inline-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.article-hero figcaption { font-size: .78rem; color: var(--muted); padding-top: .4rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 1rem 0; }
.share-label { font-size: .85rem; font-weight: 700; margin-right: .25rem; }
.share-btn { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .35rem .85rem; font-size: .82rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--primary); color: var(--link); }
.share-btn[hidden] { display: none; }

.prose { font-family: var(--serif); font-size: 1.125rem; line-height: 1.85; max-width: 68ch; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose h2, .prose h3 { font-family: var(--sans); margin: 2rem 0 .75rem; letter-spacing: -.01em; }
.prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.2rem; }
.prose a { color: var(--link); text-underline-offset: 3px; }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.1rem; border-left: 4px solid var(--primary); font-style: italic; color: var(--muted); }
.prose blockquote p { margin: 0; }
.prose .ad { margin: 1.5rem 0; }
.prose .dl dt { font-family: var(--sans); font-weight: 700; margin-top: 1rem; }
.prose .dl dd { margin: 0; }
.tags-article { margin: 1.5rem 0 .5rem; }

.block-title { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.note { font-size: .85rem; color: var(--muted); }
.reactions { border-top: 1px solid var(--border); margin-top: 1.5rem; }
.react-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.react-btn { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; font-weight: 600; }
.react-btn:hover { border-color: var(--primary); }
.react-btn[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.comment-list { list-style: none; display: grid; gap: 1rem; margin-top: 1.25rem; }
.comment { background: var(--surface); border-radius: var(--radius); padding: .8rem 1rem; }
.comment-head { font-size: .82rem; color: var(--muted); margin-bottom: .25rem; }
.comment-head strong { color: var(--text); }
.comment p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.related { margin-top: 2rem; }
.static h1, .not-found h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-top: 1rem; }
.not-found { padding-block: 3rem; text-align: center; }

/* 10. FORM & TOMBOL --------------------------------------------------------- */
.btn { display: inline-block; background: var(--primary); color: var(--on-primary); border: 0; border-radius: 8px; padding: .65rem 1.2rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--primary-dark); }
.btn[disabled] { opacity: .6; cursor: wait; }
.form { display: grid; gap: .9rem; margin-bottom: 1.5rem; max-width: 560px; }
.field { display: grid; gap: .3rem; }
label { font-weight: 600; font-size: .9rem; }
input:not([type="checkbox"]), select, textarea { width: 100%; background: var(--bg); border: 1px solid #8a8d96; border-radius: 8px; padding: .6rem .75rem; }
.form-msg, .nl-msg { font-size: .85rem; margin: 0; min-height: 1.2em; }
.form-msg.ok, .nl-msg.ok { color: #1b6e2d; } .form-msg.err, .nl-msg.err { color: #b3261e; }
[data-theme="dark"] .form-msg.ok, [data-theme="dark"] .nl-msg.ok { color: #7ee08f; }
[data-theme="dark"] .form-msg.err, [data-theme="dark"] .nl-msg.err { color: #ff9a92; }
.newsletter-form label { display: block; margin-bottom: .3rem; }
.nl-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.nl-row input { flex: 1 1 160px; }
.search-panel { display: grid; gap: .9rem; grid-template-columns: 1fr; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; }
.field-btn { align-content: end; }

/* 11. FOOTER ---------------------------------------------------------------- */
.site-footer { background: #17171a; color: #d6d7dc; margin-top: 3rem; padding-top: 2.5rem; }
.footer-grid { display: grid; gap: 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand-name { color: #fff; } .site-footer .brand-name b { color: #ff6b6b; }
.foot-title { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.foot-list { list-style: none; display: grid; gap: .4rem; }
.site-footer input { background: #26262b; border-color: #55565e; color: #fff; }
.site-footer .nl-msg.ok { color: #7ee08f; } .site-footer .nl-msg.err { color: #ff9a92; }
.foot-bottom { border-top: 1px solid #33343a; margin-top: 2rem; padding-block: 1.2rem; font-size: .85rem; color: #a9abb3; }
.foot-bottom p { margin: 0; }

/* Box Redaksi (footer dan halaman Redaksi) */
.redaksi-box { border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 1rem 1.25rem; background: var(--surface); margin: 1rem 0; }
.redaksi-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .75rem; }
.redaksi-list { display: grid; gap: .6rem 1.5rem; grid-template-columns: 1fr; margin: 0; }
.redaksi-list dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.redaksi-list dd { margin: 0; font-weight: 600; }
.redaksi-addr { font-style: normal; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--border); margin-top: .9rem; padding-top: .75rem; }
.redaksi-addr a { color: var(--link); }
.redaksi-sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin: 1.1rem 0 .5rem; padding-top: .8rem; border-top: 1px solid var(--border); }
.redaksi-bank { font-size: .9rem; line-height: 1.6; margin-top: .9rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.redaksi-bank strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .2rem; }
.redaksi-note { font-size: .82rem; line-height: 1.55; font-style: italic; color: var(--muted); margin: .9rem 0 0; padding-top: .75rem; border-top: 1px solid var(--border); }
.site-footer .redaksi-sub, .site-footer .redaksi-bank, .site-footer .redaksi-note { border-color: #33343a; }
.site-footer .redaksi-sub, .site-footer .redaksi-bank { color: #fff; }
.site-footer .redaksi-bank strong, .site-footer .redaksi-note { color: #a9abb3; }
.site-footer .redaksi-box { background: #1f1f24; border-color: #33343a; border-left-color: #ff6b6b; }
.site-footer .redaksi-title, .site-footer .redaksi-list dd { color: #fff; }
.site-footer .redaksi-list dt, .site-footer .redaksi-addr { color: #a9abb3; }
.site-footer .redaksi-addr { border-color: #33343a; }
.site-footer .redaksi-addr a { color: #ff8a80; }
@media (min-width: 600px) { .redaksi-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .redaksi-list { grid-template-columns: repeat(3, 1fr); } }

/* 12. RESPONSIF ------------------------------------------------------------- */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .item { grid-template-columns: 240px 1fr; align-items: start; }
  .search-panel { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .brand-ad { display: block; }
  .menu-toggle { display: none; }
  .menu { display: flex; flex: 1; order: 0; flex-direction: row; padding: 0; overflow-x: auto; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { border: 0; padding: .95rem .8rem; white-space: nowrap; }
  .menu a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--primary); padding-left: .8rem; }
  .nav-in { flex-wrap: nowrap; }
  .hero { grid-template-columns: 2fr 1fr; }
  .hero-main img { aspect-ratio: 16 / 10; }
  .hero-side .card-img { flex-basis: 140px; }
  .hero-body { padding: 4rem 1.5rem 1.5rem; }
  .hero-sum { display: block; }
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .related .grid { grid-template-columns: repeat(3, 1fr); }
  .search-panel { grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
  .sidebar { position: sticky; top: calc(var(--nav-h) + 16px); }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .article .grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hormati preferensi pengurangan gerak */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { overflow-x: auto; }
  .ticker-list { animation: none; }
  .ticker-list[aria-hidden="true"], .ticker-pause { display: none; }
  .card-img img, .item-img img { transition: none; }
}
@media print {
  .navbar, .ticker, .topbar, .ad, .share, .reactions, .comments, .sidebar, .site-footer, .masthead .brand-ad { display: none !important; }
}
