/*
Theme Name: WP Berita
Theme URI: https://seputarmedan.id/
Author: PBN News Ops
Description: Portal berita. Layout acuan magazine (breaking, logo, menu, slider, postingan terbaru).
Version: 1.8.11
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: wpberita
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --wb-primary: #1565c0;
  --wb-accent: #0d47a1;
  --wb-header: #ffffff;
  --wb-bg: #ffffff;
  --wb-ink: #1a1a1a;
  --wb-muted: #6b6b6b;
  --wb-paper: #f7f7f7;
  --wb-line: #e6e6e6;
  --wb-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wb-head: "Segoe UI", Roboto, Arial, sans-serif;
  --wb-logo-h: 52px;
  --wb-tick-speed: 36s;
  --wb-util: #ffffff;
  --wb-foot-bg: #f3f3f3;
  --wb-foot-ink: #555;
  --wb-wrap: 1120px;
  --wb-radius: 0px;
}

@font-face { font-family: "WB Oswald"; src: url("assets/fonts/oswald.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "WB Playfair"; src: url("assets/fonts/playfair-display.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "WB Barlow"; src: url("assets/fonts/barlow-condensed.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "WB Work"; src: url("assets/fonts/work-sans.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "WB Merriweather"; src: url("assets/fonts/merriweather.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "WB Franklin"; src: url("assets/fonts/libre-franklin.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "WB Anton"; src: url("assets/fonts/anton.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WB Baskerville"; src: url("assets/fonts/libre-baskerville.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "WB Source Serif"; src: url("assets/fonts/source-serif-4.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "WB Abril"; src: url("assets/fonts/abril-fatface.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WB Cormorant"; src: url("assets/fonts/cormorant-garamond.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

html { color-scheme: light; }
html[data-theme="dark"] {
  color-scheme: dark;
  --wb-bg: #121212;
  --wb-header: #0c0c0c;
  --wb-ink: #f0f0f0;
  --wb-muted: #9a9a9a;
  --wb-paper: #1b1b1b;
  --wb-line: #2c2c2c;
  --wb-util: #161616;
  --wb-foot-bg: #0a0a0a;
  --wb-foot-ink: #bdbdbd;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body {
  background: var(--wb-bg);
  color: var(--wb-ink);
  font-family: var(--wb-font);
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wb-primary); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(var(--wb-wrap), calc(100% - 32px)); margin-inline: auto; }

/* breaking */
.wb-breaking { background: var(--wb-primary); color: #fff; }
.wb-breaking-inner { display: flex; align-items: stretch; min-height: 34px; }
.wb-break-label {
  background: #fff;
  color: var(--wb-primary);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center;
  padding: 0 12px;
  white-space: nowrap;
}
.wb-break-track { flex: 1; overflow: hidden; display: flex; align-items: center; }
.wb-break-move {
  display: flex; gap: 36px; white-space: nowrap;
  animation: wb-marquee var(--wb-tick-speed) linear infinite;
  padding-left: 16px;
}
.wb-break-move a { color: #fff; font-size: 13px; }
@keyframes wb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-reverse .wb-break-move { animation-name: wb-marquee-rev; }
@keyframes wb-marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ticker-fast .wb-break-move { animation-duration: 24s; }
.ticker-slow .wb-break-move { animation-duration: 50s; }
.ticker-pulse .wb-break-label { animation: wb-pulse 1.2s ease-in-out infinite; }
@keyframes wb-pulse { 50% { opacity: .55; } }
.ticker-quiet { background: #333; }
.ticker-quiet .wb-break-label { color: #333; }

/* util: indeks + jam + cari */
.wb-util { border-bottom: 1px solid var(--wb-line); background: var(--wb-util); }
.wb-util .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 52px; flex-wrap: wrap;
}
.wb-util-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wb-nav-toggle {
  border: 0; background: transparent; font-size: 20px; padding: 8px;
  min-width: 40px; min-height: 40px; cursor: pointer; color: var(--wb-ink);
}
.wb-indeks {
  border: 1px solid var(--wb-line); border-radius: 6px; padding: 6px 12px; font-size: 13px; background: var(--wb-paper);
}
.wb-clock { font-size: 12px; color: var(--wb-muted); font-variant-numeric: tabular-nums; }
.wb-search { display: flex; align-items: center; border: 1px solid var(--wb-line); border-radius: 20px; overflow: hidden; background: var(--wb-paper); }
.wb-search input {
  border: 0; background: transparent; padding: 8px 14px; width: 180px; outline: none; font-size: 13px; color: var(--wb-ink);
}
.wb-search input::placeholder { color: var(--wb-muted); }
.wb-search button { border: 0; background: transparent; padding: 8px 12px; cursor: pointer; font-size: 16px; color: var(--wb-ink); }

.wb-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; min-width: 40px; border: 1px solid var(--wb-line); border-radius: 50%;
  background: var(--wb-paper); color: var(--wb-ink); cursor: pointer; padding: 0; flex: 0 0 40px;
}
.wb-theme-toggle:hover, .wb-theme-toggle:focus-visible {
  border-color: var(--wb-primary); color: var(--wb-primary); outline: none;
}
.wb-theme-toggle svg { width: 20px; height: 20px; display: none; }
html[data-theme="dark"] .wb-theme-toggle .icon-sun { display: block; }
html:not([data-theme="dark"]) .wb-theme-toggle .icon-moon { display: block; }
.wb-util-right { display: flex; align-items: center; gap: 10px; }
html[data-theme="dark"] .wb-break-label { background: var(--wb-paper); color: var(--wb-accent, var(--wb-primary)); }
html[data-theme="dark"] .ticker-quiet { background: #1a1a1a; }
html[data-theme="dark"] .ticker-quiet .wb-break-label { color: var(--wb-ink); }

/* logo */
.wb-mast { background: var(--wb-header); padding: 18px 0 8px; color: var(--wb-ink); }
html[data-theme="dark"] .wb-mast { color: #f0f0f0; }
html[data-theme="dark"] .site-title a { color: #f0f0f0; }
.wb-mast .wrap { display: flex; justify-content: flex-start; }
.site-title { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin: 0; letter-spacing: -.03em; }
.custom-logo-link img, .custom-logo {
  height: var(--wb-logo-h) !important; width: auto !important; max-width: min(360px, 80vw) !important;
  object-fit: contain !important;
}

/* category bar */
.wb-nav { background: var(--wb-primary); margin-top: 8px; }
.wb-nav .menu { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.wb-nav .menu > li > a {
  display: block; color: #fff; padding: 12px 16px; font-size: 14px; font-weight: 600; min-height: 44px;
}
.wb-nav .menu > li > a:hover, .wb-nav .current-menu-item > a { background: rgba(0,0,0,.12); color: #fff; }

.wb-main { padding: 18px 0 40px; }

/* slider 3-up */
.wb-slider { position: relative; margin-bottom: 22px; }
.wb-slide-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none;
}
.wb-slide-track::-webkit-scrollbar { display: none; }
.wb-slide { flex: 0 0 calc((100% - 24px) / 3); min-width: 0; }
.wb-slide a { display: block; position: relative; background: transparent; color: var(--wb-ink); }
.wb-slide img { width: 100%; height: 140px; object-fit: cover; background: var(--wb-paper); }
.wb-slide-cap {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  padding: 10px 2px 4px; font-size: 15px; font-weight: 700; line-height: 1.35;
  color: var(--wb-ink); background: transparent;
}
.wb-slide a:hover .wb-slide-cap { color: var(--wb-primary); }
.wb-slide-btn {
  position: absolute; top: 50px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--wb-paper); color: var(--wb-ink); box-shadow: 0 1px 6px rgba(0,0,0,.18); cursor: pointer; font-size: 20px;
}
.wb-slide-btn.prev { left: -8px; }
.wb-slide-btn.next { right: -8px; }

.wb-headblock {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .85fr);
  gap: 22px;
  margin-bottom: 26px;
  align-items: start;
}
ol.wb-head-list,
.wb-head-list {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--wb-ink);
  counter-reset: none;
}
.wb-head-list li,
ol.wb-head-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--wb-line);
  list-style: none;
  list-style-type: none;
}
.wb-head-list li::marker,
ol.wb-head-list li::marker {
  content: "";
  display: none;
}
.wb-head-n {
  flex: 0 0 32px;
  width: 32px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--wb-primary);
  font-variant-numeric: tabular-nums;
  font-family: Arial, Inter, Roboto, sans-serif;
}
.wb-head-body { min-width: 0; flex: 1; }
.wb-head-body .kicker {
  display: block;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--wb-primary);
  font-weight: 700;
}
.wb-head-body a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--wb-ink);
}
.wb-head-body a:hover { color: var(--wb-primary); }
.wb-head-body time {
  display: block;
  font-size: 12px;
  color: var(--wb-muted);
  margin-top: 5px;
}

.wb-feed { margin-top: 4px; }
.wb-feed-row {
  display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--wb-line); align-items: start;
}
.wb-feed-img img { width: 168px; height: 112px; object-fit: cover; background: var(--wb-paper); }
.wb-feed-body .kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.wb-feed-body h3 { margin: 4px 0 8px; font-size: 20px; line-height: 1.3; font-weight: 700; }
.wb-feed-body h3 a { color: var(--wb-ink); }
.wb-feed-body h3 a:hover { color: var(--wb-primary); }

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 28px 0 12px;
  padding: 0;
  list-style: none;
}
.pagination .page-item,
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #e4e4e4;
  background: #fff;
  color: #111111;
  font-family: Arial, Inter, Roboto, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: none;
  transition: all 0.2s ease;
}
.pagination .page-link.active,
.pagination .page-item.active {
  background: #fff;
  color: #168ff5;
  border-color: #168ff5;
}
.pagination a.page-link:hover:not(.active) {
  border-color: #bdbdbd;
  color: #111111;
  background: #fff;
}
.pagination .page-ico {
  width: 12px;
  height: 12px;
  display: block;
  fill: none;
  stroke: #222222;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pagination .pagination-last .page-ico { width: 14px; height: 14px; }
.pagination .page-ico path { fill: none; }
html[data-theme="dark"] .pagination .page-item,
html[data-theme="dark"] .pagination .page-link {
  background: var(--wb-paper);
  border-color: var(--wb-line);
  color: var(--wb-ink);
}
html[data-theme="dark"] .pagination .page-link.active {
  color: #168ff5;
  border-color: #168ff5;
}

.wb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .85fr);
  gap: 28px; align-items: start;
}

.wb-feature { margin-bottom: 18px; }
.wb-feature-img img { width: 100%; height: 280px; object-fit: cover; }
.wb-feature-meta { display: flex; gap: 10px; align-items: center; margin: 10px 0 4px; font-size: 13px; }
.kicker { color: var(--wb-primary); font-weight: 700; }
.wb-feature-meta time, .wb-excerpt { color: var(--wb-muted); }
.wb-feature .entry-title { font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 8px; font-weight: 700; line-height: 1.25; }
.wb-excerpt { margin: 0; font-size: 14px; line-height: 1.5; }

.wb-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wb-tile h3 { font-size: 16px; font-weight: 700; line-height: 1.3; margin: 8px 0 0; }
.wb-tile img { width: 100%; height: 150px; object-fit: cover; }

.wb-rail { background: transparent; min-width: 0; }
.wb-widg { margin: 0 0 8px; }
.wb-widg-latest { background: var(--wb-paper); padding: 16px 14px 10px; }
.wb-widg-title {
  color: var(--wb-primary); font-size: 18px; font-weight: 600;
  margin: 0 0 14px; letter-spacing: 0; font-family: var(--wb-font);
}
.wb-widg + .wb-widg { margin-top: 22px; }
.wb-widg + .wb-widg .wb-widg-title::before {
  content: ""; display: block; width: 42px; height: 3px;
  background: var(--wb-primary); margin-bottom: 8px;
}

.wb-thumb { position: relative; display: block; overflow: hidden; }
.wb-thumb img { width: 100%; height: 150px; object-fit: cover; border-radius: 0; }
.wb-cap-over {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 10px; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3;
  background: var(--wb-primary);
  background: color-mix(in srgb, var(--wb-primary) 78%, #1c2438);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.wb-rail-hero { margin-bottom: 12px; }
.wb-rail-hero time, .wb-rail-row time {
  display: block; font-size: 12px; font-style: italic;
  color: var(--wb-primary); margin: 8px 0 2px; font-weight: 400;
}
.wb-rail-hero strong { display: block; font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--wb-ink); }
.wb-rail-row a { display: flex; gap: 10px; padding: 10px 0 4px; align-items: flex-start; color: inherit; }
.wb-rail-row img { width: 78px; height: 58px; object-fit: cover; flex: 0 0 78px; border-radius: 0; }
.wb-rail-row strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--wb-ink); }
.wb-rail-row a:hover strong, .wb-rail-hero a:hover strong { color: var(--wb-primary); }

.wb-pop { list-style: none; margin: 0; padding: 0; }
.wb-pop li { display: flex; gap: 10px; padding: 11px 0; align-items: flex-start; }
.wb-pop-n {
  flex: 0 0 34px; font-size: 34px; font-weight: 800; line-height: .9;
  color: var(--wb-primary); font-variant-numeric: tabular-nums;
  opacity: .85;
}
html[data-theme="dark"] .wb-pop-n { color: #4a4a4a; }
.wb-pop-body { min-width: 0; }
.wb-pop-meta { font-size: 12px; font-style: italic; color: var(--wb-muted); margin-bottom: 2px; }
.wb-pop-meta time { color: inherit; margin: 0; font-style: italic; }
.wb-pop-meta span::before { content: "  "; }
.wb-pop-body a { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--wb-ink); }
.wb-pop-body a:hover { color: var(--wb-primary); }

.wb-cat-hero { margin-bottom: 12px; }
.wb-cat-row { padding: 0 0 14px; }
.wb-cat-row time { display: block; font-size: 12px; color: var(--wb-muted); margin: 0 0 2px; font-style: normal; }
.wb-cat-row a { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--wb-ink); }
.wb-cat-row a:hover { color: var(--wb-primary); }

.wb-soc { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.wb-soc a {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; color: #fff;
}
.wb-soc a svg { width: 16px; height: 16px; display: block; }
.wb-soc-facebook { background: #1877f2; }
.wb-soc-x { background: #111; }
.wb-soc-pinterest { background: #e60023; }
.wb-soc-instagram { background: #e4405f; }
.wb-soc-whatsapp { background: #25d366; }
.wb-soc-rss { background: #f36c00; }

.wb-article { max-width: 740px; }
.wb-article .entry-title { font-size: 28px; margin: 6px 0 12px; }
.wb-article .entry-content { font-size: 17px; line-height: 1.6; }
.wb-article .entry-content p { margin: 0 0 1em; }
.wb-article .entry-content h2 { font-size: 22px; margin: 1.2em 0 .4em; }

.wb-foot { background: var(--wb-foot-bg); color: var(--wb-foot-ink); padding: 22px 0; font-size: 13px; border-top: 3px solid var(--wb-primary); }
.wb-foot a { margin-right: 12px; }
.wb-net { margin: 14px 0 10px; }
.wb-net-title { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; font-weight: 700; color: var(--wb-foot-ink); }
.wb-net-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.wb-net-list a { margin-right: 0; color: var(--wb-foot-ink); text-decoration: none; }
.wb-net-list a:hover { color: var(--wb-primary); text-decoration: underline; }
.wb-legal { text-align: center; margin: 8px 0 0; }

.layout-center .wb-mast .wrap { justify-content: center; text-align: center; }
.layout-flash .wb-break-label { letter-spacing: .08em; }
.layout-flash .wb-pop-n { font-weight: 600; color: #b8b8b8; }
.layout-metro .wb-widg-latest { background: transparent; padding: 0; border-left: 3px solid var(--wb-primary); padding-left: 12px; }
.layout-editorial .wb-widg-title { font-family: var(--wb-head); font-style: italic; font-weight: 500; }
.layout-tabloid .wb-pop-n { font-family: var(--wb-head); }
.layout-publisher .wb-widg-latest { background: transparent; border: 1px solid var(--wb-line); padding: 14px; }

/* —— 6 keluarga layout gelombang 30 portal (bukan clone merek) —— */

/* magz: ritme majalah muda, foto besar, judul di bawah, putih rapat */
.layout-magz { --wb-wrap: 1080px; --wb-radius: 4px; }
.layout-magz .wb-breaking {
  background: #fff; color: var(--wb-ink); border-bottom: 1px solid var(--wb-line);
}
.layout-magz .wb-break-label {
  background: var(--wb-accent); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.layout-magz .wb-break-move a { color: var(--wb-ink); font-size: 13px; }
.layout-magz .wb-util { background: #fff; border-bottom: 0; }
.layout-magz .wb-search { border-radius: 0; border-width: 0 0 1px; background: transparent; }
.layout-magz .wb-theme-toggle { border-radius: 4px; }
.layout-magz .wb-mast { padding: 22px 0 6px; text-align: center; }
.layout-magz .wb-mast .wrap { justify-content: center; }
.layout-magz .wb-nav { background: transparent; margin-top: 0; border-bottom: 1px solid var(--wb-line); border-top: 1px solid var(--wb-line); }
.layout-magz .wb-nav .menu > li > a {
  color: var(--wb-ink); font-size: 13px; font-weight: 600; padding: 11px 14px; letter-spacing: .02em;
}
.layout-magz .wb-nav .menu > li > a:hover,
.layout-magz .wb-nav .current-menu-item > a { background: transparent; color: var(--wb-accent); }
.layout-magz .wb-slider { margin: 8px 0 28px; }
.layout-magz .wb-slide img { height: 168px; border-radius: var(--wb-radius); }
.layout-magz .wb-slide-cap { font-family: var(--wb-head); font-size: 16px; font-weight: 600; padding-top: 12px; }
.layout-magz .wb-feature-img img { height: 340px; border-radius: var(--wb-radius); }
.layout-magz .kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.layout-magz .wb-feature .entry-title { font-family: var(--wb-head); font-size: clamp(22px, 3vw, 32px); font-weight: 700; }
.layout-magz .wb-excerpt { font-size: 15px; line-height: 1.55; }
.layout-magz .wb-mosaic { grid-template-columns: 1fr; gap: 22px; }
.layout-magz .wb-tile img { height: 210px; border-radius: var(--wb-radius); }
.layout-magz .wb-tile h3 { font-family: var(--wb-head); font-size: 20px; margin-top: 10px; }
.layout-magz .wb-widg-title { font-family: var(--wb-head); font-size: 20px; border-bottom: 2px solid var(--wb-ink); padding-bottom: 6px; color: var(--wb-ink); }
.layout-magz .wb-widg + .wb-widg .wb-widg-title::before { display: none; }
.layout-magz .wb-cap-over { background: var(--wb-ink); }
.layout-magz .wb-foot { border-top: 1px solid var(--wb-line); }
html[data-theme="dark"] .layout-magz .wb-breaking { background: var(--wb-paper); }
html[data-theme="dark"] .layout-magz .wb-break-move a { color: var(--wb-ink); }
html[data-theme="dark"] .layout-magz .wb-nav { background: transparent; }
html[data-theme="dark"] .layout-magz .wb-nav .menu > li > a { color: var(--wb-ink); }

/* hardnews: padat, hero besar + daftar, sedikit udara, huruf ketat */
.layout-hardnews { --wb-wrap: 1200px; }
.layout-hardnews .wb-breaking { min-height: 28px; }
.layout-hardnews .wb-break-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.layout-hardnews .wb-util { min-height: 40px; }
.layout-hardnews .wb-search { border-radius: 0; }
.layout-hardnews .wb-theme-toggle { border-radius: 0; width: 36px; height: 36px; }
.layout-hardnews .wb-mast { padding: 10px 0 6px; }
.layout-hardnews .wb-nav { margin-top: 0; }
.layout-hardnews .wb-nav .menu { justify-content: flex-start; }
.layout-hardnews .wb-nav .menu > li > a { padding: 9px 13px; font-size: 13px; font-weight: 700; }
.layout-hardnews .wb-slider { margin-bottom: 14px; }
.layout-hardnews .wb-slide { flex: 0 0 calc((100% - 16px) / 3); }
.layout-hardnews .wb-slide-track { gap: 8px; }
.layout-hardnews .wb-slide img { height: 110px; }
.layout-hardnews .wb-slide-cap { font-size: 13px; font-weight: 700; padding: 6px 0 0; -webkit-line-clamp: 2; }
.layout-hardnews .wb-grid { gap: 20px; }
.layout-hardnews .wb-feature { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--wb-line); }
.layout-hardnews .wb-feature-img img { height: 320px; }
.layout-hardnews .wb-feature .entry-title { font-size: clamp(18px, 2.1vw, 24px); }
.layout-hardnews .wb-excerpt { display: none; }
.layout-hardnews .wb-mosaic { grid-template-columns: 1fr; gap: 0; }
.layout-hardnews .wb-tile { padding: 10px 0; border-bottom: 1px solid var(--wb-line); }
.layout-hardnews .wb-tile a { display: grid; grid-template-columns: 148px 1fr; gap: 12px; align-items: start; }
.layout-hardnews .wb-tile img { height: 86px; width: 148px; }
.layout-hardnews .wb-tile h3 { margin: 0; font-size: 15px; line-height: 1.35; }
.layout-hardnews .wb-widg-latest { background: transparent; padding: 0; }
.layout-hardnews .wb-widg-title {
  font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff;
  background: var(--wb-primary); padding: 7px 10px; margin: 0 0 8px;
}
.layout-hardnews .wb-widg + .wb-widg .wb-widg-title::before { display: none; }
.layout-hardnews .wb-pop-n { font-size: 22px; font-weight: 800; color: var(--wb-accent); }
.layout-hardnews .wb-foot { border-top: 4px solid var(--wb-primary); }

/* showbiz: foto rapat, overlay judul, kicker warna */
.layout-showbiz { --wb-wrap: 1180px; }
.layout-showbiz .wb-breaking { background: var(--wb-accent); }
.layout-showbiz .wb-break-label { background: #111; color: #fff; }
.layout-showbiz .wb-mast { padding: 12px 0 4px; }
.layout-showbiz .wb-nav { margin-top: 0; background: #1a1a1a; }
.layout-showbiz .wb-nav .menu { justify-content: flex-start; }
.layout-showbiz .wb-nav .menu > li > a { font-size: 13px; padding: 10px 14px; text-transform: uppercase; letter-spacing: .04em; }
.layout-showbiz .wb-slider { margin-bottom: 12px; }
.layout-showbiz .wb-slide { flex: 0 0 calc((100% - 18px) / 4); }
.layout-showbiz .wb-slide-track { gap: 6px; }
.layout-showbiz .wb-slide a { position: relative; }
.layout-showbiz .wb-slide img { height: 168px; }
.layout-showbiz .wb-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0; color: #fff; padding: 28px 8px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.78)); font-size: 13px; -webkit-line-clamp: 2;
}
.layout-showbiz .wb-feature { position: relative; margin-bottom: 12px; }
.layout-showbiz .wb-feature-img img { height: 380px; }
.layout-showbiz .wb-feature-meta {
  position: absolute; left: 0; top: 12px; z-index: 1; background: var(--wb-accent); color: #fff;
  padding: 4px 10px; margin: 0;
}
.layout-showbiz .wb-feature-meta .kicker { color: #fff; }
.layout-showbiz .wb-feature-meta time { display: none; }
.layout-showbiz .wb-feature .entry-title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0; padding: 40px 14px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.88)); color: #fff; font-size: clamp(20px, 2.6vw, 28px);
}
.layout-showbiz .wb-feature .entry-title a { color: #fff; }
.layout-showbiz .wb-excerpt { display: none; }
.layout-showbiz .wb-mosaic { gap: 6px; }
.layout-showbiz .wb-tile a { position: relative; display: block; }
.layout-showbiz .wb-tile img { height: 190px; }
.layout-showbiz .wb-tile h3 {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 8px 8px;
  color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.82));
}
.layout-showbiz .wb-widg-title { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--wb-accent); }
.layout-showbiz .wb-foot { background: #111; color: #bbb; border-top: 0; }
.layout-showbiz .wb-foot a, .layout-showbiz .wb-net-list a { color: #ddd; }

/* daerah: portal politik daerah, header gelap, daftar rapat, serif */
.layout-daerah { --wb-wrap: 1100px; }
.layout-daerah .wb-breaking { background: var(--wb-accent); }
.layout-daerah .wb-util { background: var(--wb-header); border-bottom: 0; }
.layout-daerah .wb-util .wb-clock,
.layout-daerah .wb-nav-toggle,
.layout-daerah .wb-theme-toggle { color: #f3f3f3; }
.layout-daerah .wb-indeks { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); border-radius: 0; }
.layout-daerah .wb-search { border-radius: 0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.layout-daerah .wb-search input, .layout-daerah .wb-search button { color: #fff; }
.layout-daerah .wb-theme-toggle { background: transparent; border-color: rgba(255,255,255,.28); border-radius: 0; }
.layout-daerah .wb-mast { background: var(--wb-header); padding: 12px 0 8px; }
.layout-daerah .site-title a { color: #fff; }
.layout-daerah .wb-nav { margin-top: 0; background: var(--wb-primary); }
.layout-daerah .wb-nav .menu { justify-content: flex-start; }
.layout-daerah .wb-nav .menu > li > a { padding: 9px 14px; font-size: 13px; }
.layout-daerah .wb-slider { display: none; }
.layout-daerah .wb-feature-img img { height: 260px; }
.layout-daerah .wb-feature .entry-title { font-family: var(--wb-head); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; }
.layout-daerah .wb-mosaic { grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--wb-ink); }
.layout-daerah .wb-tile { padding: 12px 0; border-bottom: 1px solid var(--wb-line); }
.layout-daerah .wb-tile a { display: grid; grid-template-columns: 108px 1fr; gap: 12px; }
.layout-daerah .wb-tile img { height: 70px; width: 108px; }
.layout-daerah .wb-tile h3 { margin: 0; font-size: 16px; font-family: var(--wb-head); }
.layout-daerah .wb-widg-title {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--wb-ink);
  border-bottom: 3px solid var(--wb-primary); padding-bottom: 6px;
}
.layout-daerah .wb-widg + .wb-widg .wb-widg-title::before { display: none; }
.layout-daerah .wb-pop-n { font-family: var(--wb-head); color: var(--wb-primary); font-weight: 700; }
.layout-daerah .wb-foot { background: var(--wb-header); color: #c8c8c8; border-top: 0; }
html[data-theme="dark"] .layout-daerah .site-title a { color: #fff; }

/* tvnews: hero overlay, ticker LIVE, bar merah, nuansa studio */
.layout-tvnews { --wb-wrap: 1240px; }
.layout-tvnews .wb-breaking { background: var(--wb-accent); }
.layout-tvnews .wb-break-label { background: #111; color: #fff; letter-spacing: .14em; }
.layout-tvnews .wb-util { background: #111; border-bottom: 0; }
.layout-tvnews .wb-util .wb-clock,
.layout-tvnews .wb-nav-toggle { color: #eee; }
.layout-tvnews .wb-indeks { background: var(--wb-accent); color: #fff; border: 0; border-radius: 0; font-weight: 700; }
.layout-tvnews .wb-search { border-radius: 0; background: #1c1c1c; border-color: #333; }
.layout-tvnews .wb-search input, .layout-tvnews .wb-search button { color: #fff; }
.layout-tvnews .wb-theme-toggle { background: #1c1c1c; border-color: #333; color: #eee; border-radius: 0; }
.layout-tvnews .wb-mast { background: #111; padding: 10px 0 8px; }
.layout-tvnews .site-title a { color: #fff; }
.layout-tvnews .wb-nav { margin-top: 0; background: var(--wb-primary); }
.layout-tvnews .wb-nav .menu { justify-content: flex-start; }
.layout-tvnews .wb-nav .menu > li > a { font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 10px 14px; }
.layout-tvnews .wb-slider { margin-bottom: 14px; }
.layout-tvnews .wb-slide { flex: 0 0 calc((100% - 16px) / 3); }
.layout-tvnews .wb-slide a { position: relative; }
.layout-tvnews .wb-slide img { height: 150px; }
.layout-tvnews .wb-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0; color: #fff; padding: 24px 8px 8px;
  background: linear-gradient(transparent, #111); font-size: 13px;
}
.layout-tvnews .wb-feature { margin-bottom: 0; }
.layout-tvnews .wb-feature-img img { height: 390px; }
.layout-tvnews .wb-feature-meta {
  margin: 0; padding: 10px 14px 0; background: #111; color: #fff;
}
.layout-tvnews .wb-feature-meta .kicker { color: var(--wb-accent); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.layout-tvnews .wb-feature-meta time { color: #aaa; }
.layout-tvnews .wb-feature .entry-title { background: #111; color: #fff; margin: 0; padding: 6px 14px 10px; font-size: clamp(20px, 2.5vw, 28px); }
.layout-tvnews .wb-feature .entry-title a { color: #fff; }
.layout-tvnews .wb-excerpt { background: #111; color: #bbb; margin: 0; padding: 0 14px 14px; }
.layout-tvnews .wb-mosaic { gap: 8px; margin-top: 8px; }
.layout-tvnews .wb-tile img { height: 130px; }
.layout-tvnews .wb-tile h3 { font-size: 14px; }
.layout-tvnews .wb-widg-title { background: var(--wb-primary); color: #fff; padding: 8px 10px; font-size: 13px; text-transform: uppercase; }
.layout-tvnews .wb-widg + .wb-widg .wb-widg-title::before { display: none; }
.layout-tvnews .wb-foot { background: #0a0a0a; color: #aaa; border-top: 3px solid var(--wb-accent); }

/* nasional: portal padat kolom, menu kanal, mosaic 3, terpopuler bernomor tegas */
.layout-nasional { --wb-wrap: 1220px; }
.layout-nasional .wb-breaking { background: var(--wb-header); }
.layout-nasional .wb-break-label { background: var(--wb-accent); color: #fff; }
.layout-nasional .wb-util { min-height: 42px; }
.layout-nasional .wb-search { border-radius: 2px; }
.layout-nasional .wb-mast { padding: 14px 0 6px; border-bottom: 3px solid var(--wb-primary); }
.layout-nasional .wb-nav { margin-top: 0; }
.layout-nasional .wb-nav .menu { justify-content: flex-start; }
.layout-nasional .wb-nav .menu > li > a {
  padding: 8px 11px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.layout-nasional .wb-slider { margin: 12px 0 16px; }
.layout-nasional .wb-slide img { height: 124px; }
.layout-nasional .wb-slide-cap { font-size: 13px; font-weight: 700; background: var(--wb-paper); padding: 8px; }
.layout-nasional .wb-grid { gap: 18px; grid-template-columns: minmax(0, 1.85fr) minmax(260px, .75fr); }
.layout-nasional .wb-feature-img img { height: 300px; }
.layout-nasional .wb-feature .entry-title { font-size: clamp(18px, 2.2vw, 24px); }
.layout-nasional .wb-mosaic { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.layout-nasional .wb-tile img { height: 108px; }
.layout-nasional .wb-tile h3 { font-size: 14px; margin-top: 6px; }
.layout-nasional .wb-widg-latest { background: transparent; padding: 0; border-top: 3px solid var(--wb-primary); }
.layout-nasional .wb-widg-title { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; padding-top: 8px; }
.layout-nasional .wb-pop li { border-bottom: 1px dotted var(--wb-line); }
.layout-nasional .wb-pop-n { font-weight: 800; color: var(--wb-accent); font-size: 26px; }
.layout-nasional .wb-foot { background: #161616; color: #bdbdbd; border-top: 0; }
.layout-nasional .wb-net-title { color: #fff; }

@media (max-width: 900px) {
  .wb-slide { flex: 0 0 calc((100% - 12px) / 2); }
}
@media (max-width: 800px) {
  .wb-clock { display: none; }
  .wb-search input { width: 120px; }
  .wb-nav { display: none; }
  .wb-nav.is-open { display: block; }
  .wb-nav .menu { flex-direction: column; }
  .wb-nav .menu > li > a { border-top: 1px solid rgba(255,255,255,.15); }
  .wb-headblock,
  .wb-grid, .wb-mosaic { grid-template-columns: 1fr; }
  .layout-magz .wb-grid,
  .layout-hardnews .wb-grid,
  .layout-showbiz .wb-grid,
  .layout-daerah .wb-grid,
  .layout-tvnews .wb-grid,
  .layout-nasional .wb-grid { grid-template-columns: 1fr; }
  .wb-slide { flex: 0 0 100%; }
  .wb-feature-img img { height: 200px; }
  .wb-rail { order: 2; margin-top: 8px; }
  .layout-hardnews .wb-tile a,
  .layout-daerah .wb-tile a { grid-template-columns: 110px 1fr; }
  .layout-hardnews .wb-tile img { width: 110px; height: 70px; }
  .layout-showbiz .wb-slide { flex: 0 0 calc((100% - 6px) / 2); }
  .layout-showbiz .wb-feature .entry-title { position: relative; background: #111; padding: 10px 12px; }
  .layout-showbiz .wb-feature-meta { position: static; }
  .layout-tvnews .wb-feature-img img { height: 220px; }
  .layout-nasional .wb-mosaic { grid-template-columns: 1fr 1fr; }
  .layout-magz .wb-tile img { height: 170px; }
  .wb-feed-row { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
  .wb-feed-img img { width: 110px; height: 74px; }
  .wb-feed-body h3 { font-size: 16px; }
  .pagination .page-item,
  .pagination .page-link { width: 34px; height: 34px; min-width: 34px; }
  .layout-magz .wb-nav .menu > li > a { border-top-color: var(--wb-line); }
  .layout-nasional .wb-headblock,
  .layout-hardnews .wb-headblock,
  .layout-showbiz .wb-headblock,
  .layout-daerah .wb-headblock,
  .layout-tvnews .wb-headblock,
  .layout-magz .wb-headblock { grid-template-columns: 1fr; }
}
