*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #1c1c1a;
  --ink-soft: #706a5c;
  --page: #ffffff;
  --tan: #f0e7d4;
  --card: #faf9f5;
  --line: #e7e3d7;
  --dark: #181816;
  --red: #e0392c;
  --red-deep: #b3291d;
  --red-tint: #fbe2de;
  --green: #256341;
  --green-tint: #dcefe3;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20,16,8,.05), 0 10px 24px rgba(20,16,8,.06);
  --serif: Cambria, Constantia, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html { background: var(--page); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.num { font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; text-wrap: balance; }
img { max-width: 100%; display: block; }
.page { overflow-x: hidden; }

.rail {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* ---------- utility bar ---------- */
.util-bar { border-bottom: 1px solid var(--line); }
.util-bar .rail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 9px;
  font-size: 12.5px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.util-index { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.util-index b { color: var(--ink); font-weight: 600; }
.util-index .up { color: var(--green); }
.util-index .down { color: var(--red-deep); }

/* ---------- masthead ---------- */
.masthead .rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: 20px;
}
.masthead-nav { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-link:hover, .nav-link.active { color: var(--red-deep); border-color: var(--red-deep); }

.brand { text-align: center; }
.brand .logo { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: 0.05em; font-weight: 600; }
.brand a.logo { display: inline-block; }
.brand .logo-tag { display: block; margin-top: 2px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.masthead-actions { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; }
.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }

.btn-subscribe {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink);
  cursor: pointer; transition: background .15s ease, color .15s ease;
}
.btn-subscribe:hover { background: var(--ink); color: var(--page); }

/* ---------- search bar ---------- */
.search-bar {
  border-bottom: 1px solid var(--line);
  max-height: 0; overflow: hidden;
  transition: max-height .2s ease;
}
.search-bar.open { max-height: 80px; }
.search-bar .rail { padding-block: 14px; display: flex; align-items: center; gap: .8rem; }
.search-bar input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: 14px; font-family: var(--sans); color: var(--ink);
  background: var(--card);
}
.search-bar input:focus { border-color: var(--ink); outline: none; }
.search-hint { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }

/* ---------- breaking ticker ---------- */
.ticker-bar { background: var(--dark); color: var(--page); overflow: hidden; }
.ticker-bar .rail { display: flex; align-items: center; gap: 1rem; padding-block: 0; }
.ticker-flag {
  flex: none; display: flex; align-items: center; gap: .5rem;
  font-size: 11.5px; font-style: italic; font-family: var(--serif); color: #f2efe6;
  padding-block: 12px; padding-right: 1rem; border-right: 1px solid rgba(255,255,255,.16);
}
.ticker-flag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.8s ease-in-out infinite; }
.ticker-mask { flex: 1 1 auto; overflow: hidden; }
.ticker-track {
  display: flex; gap: 2.5rem; white-space: nowrap; width: max-content;
  padding-block: 12px; animation: scroll-left 36s linear infinite;
  font-size: 13px; color: #cfcbc0;
}
.ticker-track span.sep { color: var(--red); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.55fr 1fr; align-items: start; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .9rem; }
.eyebrow a:hover { color: var(--red-deep); }
.hero-main h1 { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1.08; font-weight: 400; letter-spacing: -0.01em; }
.hero-main h1 .hl, .article-title .hl { background: var(--red); color: #fff; border-radius: 4px; padding: 0 .16em .04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.deck { font-family: var(--serif); font-size: 1.05rem; line-height: 1.65; color: var(--ink-soft); max-width: 58ch; margin-top: 1.15rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-top: 1.4rem; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 1rem; }
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-meta .read-link { margin-left: auto; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.hero-meta .read-link:hover { color: var(--red-deep); border-color: var(--red-deep); }
.source-note { font-size: 11.5px; color: var(--ink-soft); margin-top: .6rem; }
.source-note a { text-decoration: underline; text-underline-offset: 2px; }
.source-note a:hover { color: var(--red-deep); }

/* ---------- rail cards ---------- */
.hero-rail { display: flex; flex-direction: column; gap: 1rem; }
.card-opinion { background: var(--tan); border-radius: var(--radius); padding: 1.15rem 1.3rem; }
.card-opinion h3 { font-family: var(--serif); font-size: 1.05rem; line-height: 1.4; margin-top: .5rem; font-weight: 600; }
.card-opinion p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.card-opinion .card-link { display: inline-block; margin-top: .8rem; font-size: 12.5px; font-weight: 700; border-bottom: 1px solid var(--ink); }
.card-opinion .card-link:hover { color: var(--red-deep); border-color: var(--red-deep); }

.ticker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.ticker-cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: .8rem .85rem; }
.ticker-top { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.ticker-cell svg.spark-mini { flex: none; width: 44px; height: 18px; }
.pill { flex: none; font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.pill.up { background: var(--green-tint); color: var(--green); }
.pill.down { background: var(--red-tint); color: var(--red-deep); }
.ticker-value { font-size: 1.22rem; font-weight: 600; margin-top: .5rem; }
.ticker-name { font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); margin-top: .15rem; }

.social-row { display: flex; gap: .5rem; }
.social-link { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); transition: border-color .15s ease, color .15s ease; }
.social-link:hover { border-color: var(--ink); color: var(--ink); }

.cta-band { background: var(--dark); color: var(--page); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; }
.cta-band .cta-copy b { font-family: var(--serif); font-size: 1.05rem; display: block; font-weight: 600; }
.cta-band .cta-copy span { font-size: 12.5px; color: #a9a496; }
.cta-arrow { flex: none; font-size: 12.5px; font-weight: 700; border: 1px solid var(--page); padding: 9px 16px; border-radius: 999px; white-space: nowrap; background: none; cursor: pointer; color: var(--page); font-family: var(--sans); }
.cta-arrow:hover { background: var(--page); color: var(--ink); }

/* ---------- latest section ---------- */
.section-latest { padding-block: clamp(2.2rem, 5vw, 3.2rem); border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: .9rem; margin-bottom: 1.8rem; flex-wrap: wrap; gap: .6rem; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; }
.see-all { font-size: 12.5px; font-weight: 600; }
.see-all:hover { color: var(--red-deep); }

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
.story-card { display: flex; flex-direction: column; scroll-margin-top: 100px; }
.story-art { width: 100%; aspect-ratio: 4 / 3; background-size: cover; background-position: center; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; box-shadow: var(--shadow); }
.story-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.story-title { font-family: var(--serif); font-size: 1.16rem; line-height: 1.35; font-weight: 600; }
.story-card a.story-title-link { transition: color .15s ease; }
.story-card a.story-title-link:hover { color: var(--red-deep); }
.story-excerpt { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin-top: .5rem; }
.story-meta { font-size: 11.5px; color: var(--ink-soft); margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.story-meta a { text-decoration: underline; text-underline-offset: 2px; }
.story-meta a:hover { color: var(--red-deep); }
.story-card[hidden] { display: none; }

/* ---------- video section (shared: homepage preview + video.html grid) ---------- */
.section-video { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(2.2rem, 5vw, 3.2rem); }
.video-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.video-feature { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--dark); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-feature-body { padding: 1.1rem 1.3rem 1.3rem; }
.video-feature-body .story-title { font-size: 1.25rem; }
.video-list { display: flex; flex-direction: column; gap: 1rem; }
.video-card { display: flex; gap: .9rem; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem; box-shadow: var(--shadow); cursor: pointer; }
.video-thumb { position: relative; flex: none; width: 128px; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: var(--dark); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play-dot { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,10,10,.28); }
.video-thumb .play-dot svg { width: 30px; height: 30px; }
.video-thumb iframe, .video-page-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card-title { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.video-card:hover .video-card-title { color: var(--red-deep); }
.video-card-meta { font-size: 11px; color: var(--ink-soft); margin-top: .35rem; }
.video-more { display: inline-flex; align-items: center; gap: .4rem; font-size: 12.5px; font-weight: 700; margin-top: .3rem; }
.video-more:hover { color: var(--red-deep); }
.yt-fallback { text-decoration: underline; text-underline-offset: 2px; }
.yt-fallback:hover { color: var(--red-deep); }

.video-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.video-page-card { display: flex; flex-direction: column; cursor: pointer; }
.video-page-thumb { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: .9rem; background: var(--dark); }
.video-page-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-page-thumb .play-dot { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,10,10,.25); transition: background .15s ease; }
.video-page-thumb .play-dot svg { width: 44px; height: 44px; }
.video-page-card:hover .play-dot { background: rgba(10,10,10,.4); }
.video-page-card:hover .story-title { color: var(--red-deep); }

/* ---------- article page ---------- */
.article-hero { padding-block: clamp(1.8rem, 4vw, 2.6rem) 0; }
.article-title { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; font-weight: 400; letter-spacing: -0.01em; max-width: 30ch; }
.article-deck { font-family: var(--serif); font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; margin-top: 1.1rem; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(1.6rem, 3vw, 2.4rem) clamp(2.5rem, 5vw, 4rem); align-items: start; }
.article-cover { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); background-size: cover; background-position: center; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 1.6rem; }
.article-body { font-family: var(--serif); font-size: 1.08rem; line-height: 1.75; color: #2a2820; max-width: 68ch; }
.article-body p { margin-bottom: 1.2rem; }
.article-body p:first-of-type::first-letter { font-size: 3.2rem; font-weight: 600; float: left; line-height: .8; padding: .1rem .5rem 0 0; }
.article-video { margin-block: 1.8rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-video .video-frame { aspect-ratio: 16/9; }
.article-video-caption { font-size: 12px; color: var(--ink-soft); padding: .7rem 1rem; background: var(--card); }
.article-source-box { background: var(--tan); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-top: 2rem; font-family: var(--sans); }
.article-source-box p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.article-source-box a { font-weight: 700; border-bottom: 1px solid var(--ink); }
.article-source-box a:hover { color: var(--red-deep); border-color: var(--red-deep); }
.article-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.article-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-soft); }
.article-side h4 { font-family: var(--serif); font-size: 1rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.related-card { display: flex; gap: .8rem; margin-bottom: 1.2rem; }
.related-thumb { flex: none; width: 80px; aspect-ratio: 4/3; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid var(--line); }
.related-title { font-family: var(--serif); font-size: .92rem; line-height: 1.3; font-weight: 600; }
.related-card:hover .related-title { color: var(--red-deep); }
.related-meta { font-size: 10.5px; color: var(--ink-soft); margin-top: .3rem; text-transform: uppercase; letter-spacing: .04em; }
.breadcrumb { font-size: 12px; color: var(--ink-soft); padding-block: 1rem; }
.breadcrumb a:hover { color: var(--red-deep); }
.not-found { padding-block: 5rem; text-align: center; }
.not-found h1 { font-family: var(--serif); font-size: 2rem; margin-bottom: 1rem; }

/* ---------- footer ---------- */
.footer { background: var(--card); border-top: 1px solid var(--line); }
.footer-collab { display: flex; align-items: center; gap: 1.2rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.footer-collab img { height: 26px; width: auto; }
.footer-collab .divider { width: 1px; height: 22px; background: var(--line); }
.footer-collab span { font-size: 12.5px; color: var(--ink-soft); }
.footer-collab strong { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: 2.6rem; }
.footer-brand .logo { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .04em; font-weight: 600; }
.footer-brand p { font-size: 12.5px; color: var(--ink-soft); margin-top: .8rem; max-width: 32ch; line-height: 1.55; }
.footer-col h4 { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { font-size: 13px; }
.footer-col a:hover { color: var(--red-deep); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-soft); }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(20,16,8,.5); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal-backdrop.open { display: flex; }
.modal { background: var(--page); border-radius: var(--radius); max-width: 420px; width: 100%; padding: 1.8rem; position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.modal-close:hover { border-color: var(--ink); }
.modal h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: .5rem; }
.modal p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 1.2rem; }
/* Modal Signal+ tidak lagi punya formulir. Aturan .modal input, .modal form,
   dan .modal-success sengaja dihapus, bukan disisakan mati, supaya tidak ada
   yang mengira formulirnya cuma disembunyikan sementara. */
.modal .btn-modal-submit { display: block; text-align: center; text-decoration: none; background: var(--ink); color: var(--page); border: none; border-radius: 999px; padding: 11px 14px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.modal .btn-modal-submit:hover { background: var(--red-deep); }

/* ---------- reveal ---------- */
.reveal { animation: fadeUp .6s ease both; }
.reveal.d1 { animation-delay: .05s; }
.reveal.d2 { animation-delay: .14s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-flag .dot { animation: none; }
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .video-layout { grid-template-columns: 1fr; }
  .video-page-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { border-top: 1px solid var(--line); padding-top: 1.6rem; }
}
@media (max-width: 720px) {
  .masthead .rail { grid-template-columns: 1fr; justify-items: center; gap: .9rem; }
  .masthead-actions { justify-content: center; }
  .masthead-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .nav-link { flex: none; }
  .util-bar .rail { justify-content: center; text-align: center; }
  .story-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-collab { justify-content: center; text-align: center; }
  .hero-meta .read-link { margin-left: 0; }
  .search-bar.open { max-height: 100px; }
  .video-card { flex-direction: column; }
  .video-thumb { width: 100%; aspect-ratio: 16/9; }
  .video-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .ticker-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .util-index { flex-direction: column; gap: .3rem; }
}

/* ---------- compact list rows ---------- */
.compact-list { display: flex; flex-direction: column; }
.compact-row { display: flex; gap: .9rem; align-items: baseline; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.compact-row:last-child { border-bottom: none; }
.compact-num { flex: none; font-size: 12px; font-weight: 700; color: var(--red); width: 22px; }
.compact-body { display: flex; flex-direction: column; gap: .25rem; }
.compact-title { font-family: var(--serif); font-size: 1rem; line-height: 1.35; font-weight: 600; }
.compact-row:hover .compact-title { color: var(--red-deep); }
.compact-meta { font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- section band + two-col ---------- */
.band-soft { background: var(--card); border-block: 1px solid var(--line); }
.split-2 { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.side-block { position: sticky; top: 20px; }
.side-block h4 { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }

/* ---------- category chips ---------- */
.chip-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.chip {
  font-size: 12.5px; font-weight: 600; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--page); color: var(--ink-soft);
  cursor: pointer; font-family: var(--sans); transition: all .15s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--page); }
.chip .chip-count { opacity: .6; margin-left: .3rem; font-variant-numeric: tabular-nums; }

/* ---------- load more ---------- */
.btn-load {
  display: block; margin: 2.2rem auto 0; background: transparent; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px; padding: 12px 30px;
  font-size: 13px; font-weight: 700; font-family: var(--sans); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn-load:hover { background: var(--ink); color: var(--page); }
.btn-load[hidden] { display: none; }

/* ---------- video page cards with summary ---------- */
.video-page-card .video-summary { font-size: 13px; line-height: 1.55; color: var(--ink-soft); margin-top: .5rem; }
.video-takeaway {
  font-size: 12.5px; line-height: 1.5; color: var(--ink); background: var(--tan);
  border-radius: var(--radius-sm); padding: .7rem .9rem; margin-top: .8rem;
}
.video-takeaway b { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: .25rem; }
/* Penilaian sentimen pada catatan redaksi IDX. Warnanya mengikuti aturan
   ticker yang sudah dipakai: hijau untuk positif, merah untuk negatif. */
.catatan-idx b { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.sentimen {
  font-size: 10px; letter-spacing: .06em; font-weight: 700; text-transform: uppercase;
  padding: .18rem .5rem; border-radius: 999px; white-space: nowrap;
}
.sentimen-positif { background: var(--green-tint); color: var(--green); }
.sentimen-negatif { background: var(--red-tint); color: var(--red-deep); }
.sentimen-netral  { background: var(--line); color: var(--ink-soft); }
.catatan-disclaimer {
  display: block; margin-top: .55rem; padding-top: .5rem; border-top: 1px solid var(--line);
  font-size: 11px; line-height: 1.45; color: var(--ink-soft); font-style: italic;
}

.video-program { font-size: 11px; color: var(--ink-soft); margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.video-program a { text-decoration: underline; text-underline-offset: 2px; }
.video-program a:hover { color: var(--red-deep); }

/* ---------- flow / pipeline diagram ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.flow-step { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; position: relative; }
.flow-step .flow-num { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--red); }
.flow-step h4 { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; margin: .5rem 0 .4rem; }
.flow-step p { font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); }

@media (max-width: 980px) {
  .split-2 { grid-template-columns: 1fr; }
  .side-block { position: static; border-top: 1px solid var(--line); padding-top: 1.6rem; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .flow-grid { grid-template-columns: 1fr; }
  .chip-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .chip { flex: none; }
}

/* ---------- hero cover + key points ---------- */
.hero-cover {
  width: 100%; aspect-ratio: 16/9; margin-top: 1.4rem;
  border-radius: var(--radius); background-size: cover; background-position: center;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.hero-cover .cover-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(24,24,22,.82); color: #fff; backdrop-filter: blur(4px);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
}
.key-points { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.key-points h4 {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .9rem;
}
.key-points ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.key-points li { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); padding-left: 1.4rem; position: relative; }
.key-points li::before {
  content: attr(data-n); position: absolute; left: 0; top: 0;
  font-size: 11px; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .key-points ul { grid-template-columns: 1fr; gap: .8rem; }
}

/* ---------- video cards as links ---------- */
a.video-card { text-decoration: none; }
.video-card-body { display: flex; flex-direction: column; }
a.video-page-card { text-decoration: none; }
a.video-page-card .story-title { font-family: var(--serif); font-size: 1.16rem; line-height: 1.35; font-weight: 600; }
a.video-page-card:hover .story-title { color: var(--red-deep); }
.video-page-card .video-program span:last-child { font-weight: 700; color: var(--ink); }

/* ---------- brief box in hero rail ---------- */
.brief-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem .4rem; }
.brief-box .compact-row { padding-block: .7rem; }
.brief-box .compact-title { font-size: .95rem; }

/* ---------- kartu pasar di sidebar artikel ---------- */
.sidebar-pasar { margin-bottom: 1.8rem; }
.sidebar-pasar .ticker-value { font-size: 1.05rem; }
.sidebar-pasar .ticker-cell { padding: .7rem .75rem; }

/* ---------- penanda gambar hasil AI ---------- */
/* Wajib ada di tiap foto buatan AI. Situs ini berlabel berita, jadi pembaca
   berhak tahu mana yang dokumentasi dan mana yang ilustrasi. */
.ai-wrap { position: relative; display: block; }
.ai-tag {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(24,24,22,.78); color: #fff;
  font-family: var(--sans);
  font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px;
  backdrop-filter: blur(3px);
  pointer-events: none;
}
.article-cover .ai-tag, .hero-cover .ai-tag { right: 12px; bottom: 12px; font-size: 10.5px; padding: 4px 9px; }
.hero-cover .cover-tag { bottom: 12px; }
.foto-kredit {
  font-size: 11.5px; color: var(--ink-soft); margin-top: .5rem; font-style: italic;
}
