/* Header, footer, dan halaman depan v2 (dimuat di layout publik). Semua selector berawalan hv2- agar tidak bentrok dengan style.css lama. */
.hv2-header, .hv2, .hv2-footer, .hv2v, .hv2p {
  --hv2-ink: #121212;
  --hv2-muted: #5a5a5a;
  --hv2-line: #e2e2e2;
  --hv2-soft: #f7f7f5;
  --hv2-navy: #0e2144;
  --hv2-accent: #f4aa28;
  --hv2-amber: #a05a00;
  --hv2-green: #1f6f50;
  --hv2-gap: 24px;
  --hv2-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hv2-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-family: var(--hv2-sans);
  color: var(--hv2-ink);
  line-height: 1.5;
}
.hv2-header *, .hv2 *, .hv2-footer * { box-sizing: border-box; }
.hv2-header a, .hv2 a, .hv2-footer a { color: inherit; text-decoration: none; }
/* reset berspesifisitas nol (:where) supaya margin/padding class tunggal di bawah (kicker, ringkasan, .hv2-wrap) tetap berlaku */
:where(.hv2) :where(h1, h2, h3, p, ul, ol),
:where(.hv2-header) :where(ul),
:where(.hv2-footer) :where(ul, p) { margin: 0; padding: 0; }
.hv2-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; width: 100%; }
.hv2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hv2 { padding-bottom: 40px; }
.hv2 img { max-width: 100%; }

/* ---------- header ---------- */
.hv2-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.hv2-top__date { font-size: 14px; color: var(--hv2-muted); }
.hv2-brand { display: inline-flex; justify-self: center; background: var(--hv2-navy); padding: 6px 18px; border-radius: 4px; }
.hv2-brand img { display: block; height: 44px; width: auto; }
.hv2-search { justify-self: end; display: flex; align-items: center; border: 1px solid var(--hv2-line); border-radius: 999px; padding: 2px 4px 2px 14px; margin: 0; }
.hv2-search:focus-within { border-color: var(--hv2-navy); }
.hv2-search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; width: 140px; min-width: 0; padding: 4px 0; }
.hv2-search button { border: 0; background: transparent; cursor: pointer; font-size: 18px; padding: 6px 8px; color: var(--hv2-navy); }
.hv2-nav { border-top: 1px solid var(--hv2-line); border-bottom: 1px solid var(--hv2-line); background: #fff; }
.hv2-nav__list { list-style: none; display: flex; gap: 4px 22px; align-items: center; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.hv2-nav__list > li > a, .hv2-dd__btn { display: block; padding: 12px 0; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--hv2-ink); }
.hv2-nav a:hover, .hv2-dd__btn:hover { color: var(--hv2-navy); box-shadow: inset 0 -3px 0 var(--hv2-accent); }
.hv2-dd { position: relative; }
.hv2-dd__btn { background: none; border: 0; font-family: inherit; cursor: pointer; }
.hv2-dd__panel { display: none; position: absolute; right: 0; top: 100%; z-index: 20; min-width: 220px; list-style: none; margin: 0; padding: 6px 0; background: #fff; border: 1px solid var(--hv2-line); box-shadow: 0 8px 24px rgba(14, 33, 68, .12); }
.hv2-dd:hover .hv2-dd__panel, .hv2-dd:focus-within .hv2-dd__panel { display: block; }
.hv2-dd__panel a { display: block; padding: 9px 16px; font-size: 14px; white-space: nowrap; }

/* ---------- menu sekunder (di atas kop) ---------- */
.hv2-sub { background: #0a162d; }
.hv2-sub__list { list-style: none; display: flex; gap: 2px 20px; align-items: center; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.hv2-sub__list > li > a, .hv2-sub .hv2-dd__btn { display: block; padding: 6px 0; font-size: 12.5px; font-weight: 600; white-space: nowrap; color: rgba(255, 255, 255, .78); }
.hv2-sub__list > li > a:hover, .hv2-sub .hv2-dd__btn:hover { color: #fff; box-shadow: none; }
.hv2-sub .hv2-dd__panel { right: auto; left: 0; }
.hv2-sub .hv2-dd__panel a { color: var(--hv2-ink); }
.hv2-sub .hv2-dd__panel a:hover { color: var(--hv2-navy); }
/* ---------- iklan ---------- */
.hv2-ad { margin: 18px auto; text-align: center; }
/* banner tampil apa adanya: <img> membawa width/height file aslinya, jadi browser memesan tinggi dari rasio gambar sendiri (tanpa "loncat" saat dimuat) dan tidak ada rasio tetap per slot */
.hv2-ad img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* ---------- berita utama ---------- */
.hv2-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr); gap: var(--hv2-gap); margin-top: 24px; margin-bottom: 8px; }
.hv2-kicker { margin: 14px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hv2-amber); }
.hv2-main__media { display: block; aspect-ratio: 16 / 9; background: var(--hv2-soft); overflow: hidden; }
.hv2-main__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv2-main__title { font-family: var(--hv2-serif); font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
.hv2-main__title a:hover { color: var(--hv2-navy); }
.hv2-main__summary { margin-top: 12px; font-size: 17px; color: var(--hv2-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hv2-side__item { padding: 14px 0; border-top: 1px solid var(--hv2-line); }
.hv2-side__item:first-child { border-top: 0; padding-top: 0; }
.hv2-side__title { font-family: var(--hv2-serif); font-size: 22px; line-height: 1.25; font-weight: 700; }
@media (max-width: 767.98px) { .hv2-side__title { font-size: 20px; } }
.hv2-side__title a:hover { color: var(--hv2-navy); }
.hv2-side__summary { margin-top: 6px; font-size: 14px; color: var(--hv2-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hv2-box { margin-bottom: 24px; }
.hv2-box__title { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 2px solid var(--hv2-navy); }
.hv2-pop { list-style: none; }
.hv2-pop li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--hv2-line); }
.hv2-pop__n { font-family: var(--hv2-serif); font-size: 26px; font-weight: 700; color: var(--hv2-accent); line-height: 1; }
.hv2-pop a { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hv2-pop a:hover { color: var(--hv2-navy); }
.hv2-opini__title { font-family: var(--hv2-serif); font-size: 18px; font-weight: 700; line-height: 1.3; display: block; padding-top: 6px; }
.hv2-opini__title:hover { color: var(--hv2-navy); }
@media (min-width: 992px) {
  .hv2-side { grid-column: 1; grid-row: 1; }
  .hv2-main { grid-column: 2; grid-row: 1; }
  .hv2-rail { grid-column: 3; grid-row: 1; }
}
@media (max-width: 991.98px) {
  .hv2-lead { grid-template-columns: 1fr 1fr; }
  .hv2-main { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hv2-lead { grid-template-columns: 1fr; }
  .hv2-main__summary { font-size: 16px; }
}

/* ---------- pita Liputan Khusus ---------- */
.hv2-special { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0; padding: 18px 22px; border: 1px solid var(--hv2-line); border-left: 6px solid var(--hv2-green); background: var(--hv2-soft); }
.hv2-special strong { font-family: var(--hv2-serif); font-size: 22px; }
.hv2-special span { font-size: 14px; font-weight: 700; color: var(--hv2-green); white-space: nowrap; }
.hv2-special:hover { background: #fff; box-shadow: 0 0 0 1px var(--hv2-green); }

/* ---------- kartu ---------- */
/* align-items:start wajib: lihat catatan Chromium di .hv2v-title (bug line-clamp salah hitung stretch) */
.hv2-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--hv2-gap); margin-bottom: 36px; align-items: start; }
.hv2-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--hv2-soft); }
.hv2-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.hv2-card__media:hover img { transform: scale(1.03); }
.hv2-card .hv2-kicker { margin-top: 10px; }
/* Chromium salah menghitung tinggi item grid berisi -webkit-line-clamp saat align-items:stretch (bawaan grid);
   diperbaiki dengan align-items:start di .hv2-cards. Lihat juga .hv2v-title / .hv2v-grid. */
.hv2-card__title { font-family: var(--hv2-serif); font-size: 18px; line-height: 1.28; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hv2-card__title a:hover { color: var(--hv2-navy); }
@media (max-width: 767.98px) { .hv2-card__title { font-size: 17px; } }
@media (max-width: 991.98px) { .hv2-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- video + MPU ---------- */
.hv2-media-row { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--hv2-gap); margin-bottom: 36px; align-items: start; }
.hv2-media-row.no-ad { grid-template-columns: minmax(0, 1fr); }
.hv2-media-row.no-video { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.hv2-media-row .hv2-ad { margin: 0; }
.hv2-video { background: #111111; color: #fff; padding: 20px; border-radius: 6px; }
.hv2-video__head h2 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hv2-accent); margin-bottom: 14px; }
.hv2-video__body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; }
.hv2-video__stage { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.hv2-video__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hv2-video__poster { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.hv2-video__poster img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; }
.hv2-play { position: absolute; inset: 0; display: grid; place-items: center; }
.hv2-play::before { content: ""; width: 68px; height: 68px; border-radius: 50%; background: rgba(244, 170, 40, .95); box-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.hv2-play::after { content: ""; position: absolute; border-left: 20px solid #111111; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.hv2-video__caption { margin-top: 12px; }
.hv2-video__title { font-family: var(--hv2-serif); font-size: 20px; font-weight: 700; line-height: 1.3; }
.hv2-video__read { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--hv2-accent) !important; }
.hv2-video__list { display: grid; gap: 12px; align-content: start; }
.hv2-video__thumb { all: unset; cursor: pointer; display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; }
.hv2-video__thumb img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hv2-video__thumb span { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hv2-video__thumb:hover span, .hv2-video__thumb:focus-visible span { color: var(--hv2-accent); }
.hv2-video__thumb:focus-visible, .hv2-video__poster:focus-visible { outline: 2px solid var(--hv2-accent); outline-offset: 2px; }
@media (max-width: 991.98px) { .hv2-media-row { grid-template-columns: 1fr; } .hv2-media-row .hv2-ad { justify-self: center; } }
@media (max-width: 640px) {
  .hv2-video__body { grid-template-columns: 1fr; }
  .hv2-video__list { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .hv2-video__thumb { scroll-snap-align: start; grid-template-columns: 100px 1fr; }
  .hv2-video__thumb img { width: 100px; }
}

/* ---------- galeri ---------- */
.hv2-gallery { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--hv2-gap); padding: 22px; border: 1px solid var(--hv2-line); border-radius: 6px; margin-bottom: 36px; }
.hv2-gallery__head h2 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hv2-gallery__head p { margin-top: 8px; font-size: 14px; color: var(--hv2-muted); }
.hv2-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; aspect-ratio: 2 / 1; }
.hv2-gallery__item { display: block; overflow: hidden; background: var(--hv2-soft); }
.hv2-gallery__item:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.hv2-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.hv2-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 767.98px) {
  .hv2-gallery { grid-template-columns: 1fr; padding: 16px; }
  .hv2-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; aspect-ratio: auto; }
  .hv2-gallery__item { aspect-ratio: 1; }
  .hv2-gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
}
.hv2-lightbox { border: 0; padding: 0; background: transparent; width: 100%; max-width: min(96vw, 1100px); color: #fff; overflow: visible; }
.hv2-lightbox::backdrop { background: rgba(5, 10, 20, .92); }
.hv2-lightbox__inner { position: relative; display: grid; gap: 10px; }
.hv2-lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; display: block; }
.hv2-lightbox__cap { font-size: 15px; }
.hv2-lightbox__cap a { color: #fff; text-decoration: underline; }
.hv2-lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 22px; cursor: pointer; }
.hv2-lightbox__btn:hover, .hv2-lightbox__btn:focus-visible { background: var(--hv2-accent); color: #111111; }
.hv2-lightbox__btn[data-act="prev"] { left: 8px; }
.hv2-lightbox__btn[data-act="next"] { right: 8px; }
.hv2-lightbox__btn[data-act="close"] { top: 8px; right: 8px; transform: none; }

/* ---------- blok kategori ---------- */
.hv2-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hv2-gap); margin-bottom: 12px; }
.hv2-cat { padding: 18px; border: 1px solid var(--hv2-line); border-radius: 6px; }
.hv2-cat__title { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--hv2-navy); }
.hv2-cat__title a { display: flex; justify-content: space-between; align-items: center; }
.hv2-cat__lead-title { font-family: var(--hv2-serif); font-size: 19px; line-height: 1.28; font-weight: 700; margin-top: 10px; }
.hv2-cat__lead-title a:hover { color: var(--hv2-navy); }
.hv2-cat__list { list-style: none; margin-top: 12px; }
.hv2-cat__list li { padding: 9px 0; border-top: 1px solid var(--hv2-line); font-size: 15px; font-weight: 600; line-height: 1.35; }
.hv2-cat__list a:hover { color: var(--hv2-navy); }
@media (max-width: 767.98px) { .hv2-cats { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.hv2-footer { background: var(--hv2-navy); color: #fff; margin-top: 20px; padding: 36px 0 0; }
.hv2-footer__top { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.hv2-footer__top p { max-width: 60ch; color: rgba(255, 255, 255, .8); font-size: 15px; }
.hv2-footer__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 20px 0; font-weight: 600; font-size: 15px; }
.hv2-footer__links a:hover { color: var(--hv2-accent); }
.hv2-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 0 28px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; color: rgba(255, 255, 255, .75); }
.hv2-footer__social { list-style: none; display: flex; gap: 14px; }
.hv2-footer__social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 16px; }
.hv2-footer__social a:hover { background: var(--hv2-accent); color: #111111; }

/* ---------- mobile: header (satu bilah navy: logo kiri, ikon cari + hamburger kanan; menu membuka sebagai laci) ---------- */
.hv2-iconbtn { display: none; }
@media (max-width: 767.98px) {
  .hv2-header { display: flex; flex-direction: column; }
  .hv2-topbar { order: 1; }
  .hv2-top { grid-template-columns: 1fr auto auto; grid-template-areas: "brand search menu" "find find find"; align-items: center; column-gap: 2px; padding-top: 10px; padding-bottom: 10px; }
  .hv2-top__date { display: none; }
  .hv2-brand { grid-area: brand; justify-self: start; background: none; padding: 0; border-radius: 0; }
  .hv2-brand img { height: 38px; }
  .hv2-iconbtn { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; padding: 8px; cursor: pointer; }
  .hv2-iconbtn--search { grid-area: search; }
  .hv2-iconbtn--menu { grid-area: menu; }
  .hv2-search { display: none; grid-area: find; justify-self: stretch; margin-top: 6px; }
  .is-search-open .hv2-search { display: flex; }
  .hv2-search input { flex: 1; width: auto; }

  .hv2-nav, .hv2-sub { display: none; }
  .is-menu-open .hv2-nav { display: block; order: 2; }
  .is-menu-open .hv2-sub { display: block; order: 3; }
  .hv2-nav__list, .hv2-sub__list { flex-direction: column; align-items: stretch; gap: 0; overflow: visible; padding-top: 4px; padding-bottom: 8px; }
  .hv2-nav__list > li, .hv2-sub__list > li { border-top: 1px solid var(--hv2-line); }
  .hv2-sub__list > li { border-top-color: rgba(255, 255, 255, .12); }
  .hv2-nav__list > li:first-child, .hv2-sub__list > li:first-child { border-top: 0; }
  .hv2-nav__list > li > a, .hv2-sub__list > li > a { padding: 12px 0; font-size: 15px; }
  .hv2-sub__list > li > a { font-size: 13.5px; }
  /* rubrik berdropdown: label induk jadi judul grup, anak-anaknya terdaftar di bawahnya */
  .hv2-dd { display: block !important; }
  .hv2-dd__btn { display: block; width: 100%; text-align: left; padding: 12px 0 4px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .65; pointer-events: none; }
  .hv2-dd__btn i { display: none; }
  .hv2-dd__panel { display: block !important; position: static; min-width: 0; border: 0; box-shadow: none; background: none; padding: 0 0 6px 12px; }
  .hv2-dd__panel a, .hv2-sub .hv2-dd__panel a { padding: 9px 0; font-size: 15px; font-weight: 600; }
  .hv2-sub .hv2-dd__panel a { color: rgba(255, 255, 255, .78); font-size: 13.5px; }
  .hv2-sub .hv2-dd__panel a:hover { color: #fff; }
  .hv2-nav .hv2-dd__panel a { color: var(--hv2-ink); }
}
@media (prefers-reduced-motion: reduce) { .hv2 * { transition: none !important; } }

/* ---------- halaman /videos ---------- */
.hv2v a { color: inherit; text-decoration: none; }
.hv2v-media { display: block; position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.hv2v-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hv2v-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv2v-play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.hv2v-play img { opacity: .88; }
.hv2v-play:focus-visible { outline: 2px solid var(--hv2-accent); outline-offset: -2px; }
.hv2v-feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--hv2-gap); align-items: center; margin-bottom: 32px; }
.hv2v-feature .hv2v-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.hv2v-dek { margin: 10px 0 0; font-size: 16px; color: var(--hv2-muted); }
.hv2v-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--hv2-navy) !important; }
.hv2v-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hv2-gap); align-items: start; }
.hv2v-title { font-family: var(--hv2-serif); font-weight: 700; font-size: 18px; line-height: 1.28; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hv2v-title a:hover { color: var(--hv2-navy); }
.hv2v-empty { padding: 40px 0; text-align: center; color: var(--hv2-muted); }
@media (max-width: 991.98px) { .hv2v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hv2v-feature { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .hv2v-grid { grid-template-columns: 1fr; } }

/* ---------- halaman /photos ---------- */
/* align-items:start wajib: lihat catatan Chromium di .hv2v-title */
.hv2p { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.hv2p-item { display: block; color: inherit; text-decoration: none; }
.hv2p-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: var(--hv2-soft); transition: opacity .2s; }
.hv2p-item:hover img { opacity: .88; }
.hv2p-item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; }
@media (max-width: 991.98px) { .hv2p { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .hv2p { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* ---------- bar breaking news (hanya tampil bila admin mengisi) ---------- */
.hv2-breaking { background: #c8102e; color: #fff; font-size: 14px; }
.hv2-breaking .hv2-wrap { display: flex; gap: 12px; align-items: baseline; padding-top: 7px; padding-bottom: 7px; }
.hv2-breaking strong { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.hv2-breaking a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- alamat di footer ---------- */
.hv2-footer__about { font-style: normal; display: grid; gap: 2px; max-width: 60ch; font-size: 14px; color: rgba(255, 255, 255, .8); }

/* ---------- selaraskan lebar isi halaman lama dengan header/footer (1200px) ---------- */
@media (min-width: 1200px) { .container { max-width: 1200px; } }

/* ---------- judul daftar di halaman kategori dan pencarian (templat lama): serif, 3 baris, sesuai PDF ---------- */
.hv2-list-serif .news-banner-content .title,
.hv2-list-serif .small-news-content .title,
.hv2-list-serif .news-blog-content .title { font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1.28; }
.hv2-list-serif .news-banner-content .title { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.01em; }
.hv2-list-serif .small-news-content .title { font-size: 17px; }
/* height eksplisit: Chromium salah menghitung tinggi -webkit-line-clamp di dalam baris flex Bootstrap (.row) */
.hv2-list-serif .news-blog-content .title a { -webkit-line-clamp: 3; line-clamp: 3; height: 3.84em; }
@media (max-width: 767.98px) { .hv2-list-serif .news-blog-content .title { font-size: 17px; } }

/* jarak antarkolom (gutter): 24px di desktop, 16px di ponsel (tabel Pembagian kolom di PDF) */
@media (max-width: 767.98px) { .hv2-header, .hv2, .hv2-footer, .hv2v, .hv2p { --hv2-gap: 16px; } }

/* aksen hijau tua #1F6F50 untuk semua halaman Sumatera Pulih (tabel Warna di PDF): kartu di bawah pita dan halaman /sumaterapulih */
.hv2-cards .hv2-kicker { color: var(--hv2-green); }
.hv2-sp .section-header--style { border-bottom: 3px solid #1f6f50; }
.hv2-sp .section-header .section-title { color: #1f6f50; }

/* menu header (utama dan sekunder) rata tengah di desktop/tablet; di ponsel tetap rata kiri agar bisa digeser dari item pertama */
@media (min-width: 768px) {
  .hv2-nav__list, .hv2-sub__list { justify-content: center; }
}

/* halaman kategori/pencarian: ringkasan di bawah judul utama = dek 17px (16px ponsel) seperti di beranda; judul seksi tidak kapital semua (PDF) */
.hv2-list-serif .news-banner-content { font-size: 17px; line-height: 1.5; color: #5a5a5a; }
.hv2-list-serif .news-banner-content .title { color: #121212; }
.hv2-list-serif .section-header--style .section-title { text-transform: none; }
@media (max-width: 767.98px) { .hv2-list-serif .news-banner-content { font-size: 16px; } }

/* bilah atas header (.hv2-top) berlatar sama dengan footer (--hv2-navy), selebar halaman */
.hv2-topbar { background: var(--hv2-navy); color: #fff; }
.hv2-topbar .hv2-top__date { color: rgba(255, 255, 255, .82); }
.hv2-topbar .hv2-search { border-color: rgba(255, 255, 255, .35); }
.hv2-topbar .hv2-search:focus-within { border-color: var(--hv2-accent); }
.hv2-topbar .hv2-search input { color: #fff; }
.hv2-topbar .hv2-search input::placeholder { color: rgba(255, 255, 255, .7); }
.hv2-topbar .hv2-search button { color: #fff; }

/* slot banner di halaman artikel (PDF): 300x250 setelah paragraf ke-4, 728x90 sebelum Berita Terkait */
.hv2-ad--inline { max-width: 300px; margin: 24px auto; }
.hv2-ad--end { max-width: 728px; margin: 24px auto; }

/* ponsel: banner 970x90 (leaderboard) dan 1200x80 (strip) diganti banner 300x100 bila ada iklan 300x100 aktif; tanpa itu banner desktop tetap tampil mengecil */
.hv2-ad--m { display: none; max-width: 300px; }
@media (max-width: 767.98px) {
  .hv2-ad--leader.has-m, .hv2-ad--strip.has-m { display: none; }
  .hv2-ad--m { display: block; }
}
/* banner yang punya file mobile sendiri (<picture class="has-mob">): di ponsel file mobile dipakai apa adanya, tinggi mengikuti rasionya */
@media (max-width: 767.98px) {
  .hv2-ad picture.has-mob img { width: 100%; height: auto; }
}
/* ponsel: semua banner selebar area konten (kolom yang sama dengan teks); gambar 300px ikut diperbesar */
@media (max-width: 767.98px) {
  .hv2-ad--m, .hv2-ad--inline, .hv2-ad--end { max-width: none; }
  .hv2-media-row .hv2-ad { justify-self: stretch; width: 100%; }
  .hv2-ad a, .hv2-ad picture { display: block; }
  .hv2-ad img { width: 100%; max-width: none; }
  /* banner di halaman kategori (tanpa pembungkus .hv2-ad): gambar mengisi kolomnya */
  .hv2-adfw a, .hv2-adfw picture { display: block; }
  .hv2-adfw img { width: 100%; max-width: none; height: auto; }
}

/* carousel horizontal Liputan Khusus Sumatera Bangkit (home/hscroll.blade.php): hanya ponsel, geser ke kanan, kartu berikutnya mengintip.
   Di ponsel menggantikan grid .hv2-cards (artikel yang sama), jadi satu layar tidak menampilkan artikel ganda. */
.hv2-hscroll { display: none; }
@media (max-width: 767.98px) {
  .hv2-hscroll { display: block; margin: 14px 0 8px; }
  .hv2-hscroll__track { display: flex; gap: 12px; overflow-x: auto; padding: 4px 16px 12px; scroll-snap-type: x mandatory; scroll-padding-left: 16px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hv2-hscroll__track::-webkit-scrollbar { display: none; }
  .hv2-hscroll__track:focus-visible { outline: 2px solid var(--hv2-navy, #0a162d); outline-offset: -2px; }
  .hv2-hcard { flex: 0 0 clamp(150px, 42vw, 200px); scroll-snap-align: start; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 1px 6px rgba(10, 22, 45, .16); }
  .hv2-hcard__media { display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--hv2-soft); }
  .hv2-hcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hv2-hcard__title { margin: 8px 2px 4px; font-family: var(--hv2-sans); font-size: 14px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-height: 3.9em; /* 3 baris x 1.3; Chromium mengabaikan line-clamp pada item flex yang direntangkan */ }
  .hv2-hcard__title a:hover { color: var(--hv2-navy); }
  .hv2-cards { display: none; }
}

/* popup pemutar video di /videos */
.hv2-vmodal { border: 0; padding: 0; background: transparent; width: 100%; max-width: min(96vw, 1100px); color: #fff; overflow: visible; }
.hv2-vmodal::backdrop { background: rgba(5, 10, 20, .92); }
.hv2-vmodal__inner { position: relative; display: grid; gap: 10px; }
.hv2-vmodal__stage { position: relative; aspect-ratio: 16 / 9; background: #000; width: min(100%, calc(78vh * 16 / 9)); margin: 0 auto; }
.hv2-vmodal__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hv2-vmodal__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; }
.hv2-vmodal__title { font-family: "Source Serif 4", Georgia, serif; font-size: 18px; line-height: 1.3; }
.hv2-vmodal__read { color: var(--hv2-accent, #f4aa28); white-space: nowrap; font-weight: 600; text-decoration: none; }
.hv2-vmodal__close { position: absolute; top: -44px; right: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.hv2-vmodal__close:hover, .hv2-vmodal__close:focus-visible { background: #f4aa28; color: #111111; }
@media (max-width: 767.98px) { .hv2-vmodal__cap { flex-direction: column; gap: 6px; } .hv2-vmodal__close { top: -42px; } }

/* ajakan pasang shortcut layar utama (a2hs-v2.js): bilah bawah, hanya di ponsel */
.hv2-a2hs { display: none; }
@media (max-width: 767.98px) {
  .hv2-a2hs:not([hidden]) {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 1040;
    padding: 10px 8px 10px 10px; border-radius: 12px; color: #fff;
    background: var(--hv2-navy, #0a162d); box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  }
  .hv2-a2hs__icon { width: 44px; height: 44px; border-radius: 10px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
  .hv2-a2hs__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
  .hv2-a2hs__txt strong { font-size: 14px; font-weight: 700; }
  .hv2-a2hs__txt span { font-size: 12px; color: rgba(255, 255, 255, .8); }
  .hv2-a2hs__go { flex: none; border: 0; border-radius: 8px; padding: 9px 14px; font-weight: 700; font-size: 13px; background: #f4aa28; color: #111; cursor: pointer; }
  .hv2-a2hs__go[hidden] { display: none; }
  .hv2-a2hs__x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
  .hv2-a2hs__go:focus-visible, .hv2-a2hs__x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  /* beri ruang supaya bilah tidak menutupi footer di ujung halaman */
  html.has-a2hs body { padding-bottom: 84px; }
}
