:root {
  --brand: #0f4c75;
  --brand-2: #3282b8;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #1b1f24;
  --ink-soft: #4a5260;
  --muted: #8b95a3;
  --line: #e5e9ef;
  --radius: 10px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif Pro", "Iowan Old Style", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--brand); color: #fff; padding: .5rem 1rem; }

/* header */
.site-header { background: var(--brand); color: #fff; }
.site-header a { color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem; flex-wrap: wrap; gap: .5rem; }
.brand a { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.brand-logo { display: block; height: 50px; width: auto; max-width: 100%; }
.brand-tagline { font-size: 0; opacity: 0; height: 0; }  /* tagline now lives inside the SVG */
.nav-toggle { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); padding: .35rem .7rem; border-radius: 6px; cursor: pointer; display: none; }
.primary-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; }
.primary-nav a { font-size: .92rem; padding: .35rem 0; display: inline-block; opacity: 0.92; }
.primary-nav .current a { font-weight: 600; opacity: 1; border-bottom: 2px solid #fff; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .primary-nav { width: 100%; display: none; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; padding: .5rem 0; }
}

.lede { font-size: 1.1rem; color: var(--ink-soft); margin: 0 0 .8rem; }

/* ===== HOMEPAGE — city-portal layout ===== */

/* Breaking news strip */
.breaking-strip {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0 1.4rem;
  box-shadow: 0 1px 3px rgba(15,76,117,.06);
}
.breaking-tag {
  background: var(--brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .55rem .85rem;
  display: flex;
  align-items: center;
}
.breaking-content {
  flex: 1;
  padding: .55rem .9rem;
  font-size: .9rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.breaking-content a { color: var(--ink); font-weight: 600; }
.breaking-feed {
  padding: 0 1rem;
  background: var(--bg-soft);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--brand);
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
}

/* Main + sidebar two-column */
.home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 980px) {
  .home-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

/* Featured hero — 1 large + 2 stacked */
.featured-hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.2rem;
}
@media (min-width: 780px) {
  .featured-hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
}
.hero-main, .hero-side-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b2843;
  min-height: 320px;
  display: flex;
}
.hero-main-link, .hero-side-card a {
  position: relative;
  display: block;
  width: 100%;
  color: #fff;
  text-decoration: none;
}
.hero-main-img, .hero-side-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}
.hero-main-link:hover .hero-main-img,
.hero-side-card a:hover .hero-side-img { transform: scale(1.04); }
.hero-main-meta, .hero-side-meta {
  position: relative;
  z-index: 1;
  padding: 1.4rem 1.5rem 1.5rem;
  margin-top: auto;
}
.hero-main-meta { padding: 2rem 1.8rem 1.7rem; }
.hero-tag, .hero-tag-sm {
  display: inline-block;
  background: var(--brand-2);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 100px;
  font-weight: 700;
  margin-bottom: .55rem;
}
.hero-tag-sm { font-size: .62rem; padding: .15rem .55rem; }
.hero-main-meta h2 { color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.2; margin: 0 0 .55rem; letter-spacing: -0.01em; }
.hero-main-meta p { color: #d3e6f5; margin: 0 0 .55rem; font-size: .96rem; }
.hero-date { color: #a3c2dc; font-size: .8rem; }
.hero-side { display: grid; gap: 1rem; grid-template-rows: 1fr 1fr; }
.hero-side-card { min-height: 160px; }
.hero-side-meta h3 { color: #fff; font-size: 1.05rem; margin: 0; line-height: 1.25; }
.hero-side-placeholder {
  border: 1px dashed var(--line);
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink-soft);
}
.hero-side-placeholder p { margin: .35rem 0 0; font-size: .85rem; }

.hero-side-link {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  transition: border-color .15s, transform .15s;
}
.hero-side-link:hover { border-color: var(--brand-2); transform: translateY(-1px); }
.hero-side-link a { color: var(--ink); display: block; text-decoration: none; }
.hero-side-link a:hover { text-decoration: none; }
.hero-side-link h3 { font-size: 1.02rem; margin: .35rem 0 .35rem; line-height: 1.3; color: var(--ink); }
.hero-side-link p { margin: 0; font-size: .85rem; color: var(--ink-soft); line-height: 1.45; }
.hero-side-link .hero-tag-sm { color: var(--brand-2); }

/* Category strip */
.cat-strip { margin: 2.4rem 0 1.6rem; }
.cat-strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--brand);
  margin-bottom: 1rem;
  padding-bottom: .3rem;
}
.cat-strip-title {
  margin: 0;
  font-size: 0;
}
.cat-strip-title span {
  background: var(--brand);
  color: #fff;
  display: inline-block;
  padding: .35rem .9rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: -2px;
}
.cat-strip-more { font-size: .85rem; font-weight: 600; }
.cat-strip-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.cat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15,76,117,.10); }
.cat-card a { color: inherit; text-decoration: none; }
.cat-card-img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
}
.cat-card-body { padding: .9rem 1rem 1rem; }
.cat-card-body h3 { font-size: 1.02rem; line-height: 1.25; margin: 0 0 .4rem; }
.cat-card-body p { font-size: .88rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.cat-card-body time { font-size: .78rem; color: var(--muted); }

/* Empty-portal notice (shown when <5 articles total) */
.empty-portal-notice {
  background: var(--bg-soft);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.4rem;
  text-align: center;
  color: var(--ink-soft);
  margin: 2rem 0;
}
.empty-portal-notice h3 { color: var(--brand); margin: 0 0 .4rem; }

/* Sidebar */
.home-sidebar { display: flex; flex-direction: column; gap: 1.4rem; }
.sidebar-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.25rem;
}
.sidebar-block h3 {
  margin: 0 0 .8rem;
  padding-left: .65rem;
  border-left: 4px solid var(--brand);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.sidebar-trending ol { list-style: none; padding: 0; margin: 0; counter-reset: trend; }
.sidebar-trending li { counter-increment: trend; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.sidebar-trending li:last-child { border-bottom: 0; }
.sidebar-trending li::before {
  content: counter(trend);
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  line-height: 1.4rem;
  text-align: center;
  background: var(--brand-2);
  color: #fff;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
  margin-right: .55rem;
  vertical-align: top;
}
.sidebar-trending a { display: inline-block; max-width: calc(100% - 1.95rem); color: var(--ink); }
.sidebar-trending .trend-cat {
  display: block;
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 700;
}
.sidebar-trending .trend-title { font-size: .92rem; line-height: 1.25; font-weight: 600; }
.sidebar-trending .trend-empty { color: var(--ink-soft); font-style: italic; font-size: .88rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-cloud a {
  display: inline-block;
  padding: .3rem .75rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--bg-soft);
}
.tag-cloud a:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }

.sidebar-cta p { color: var(--ink-soft); font-size: .9rem; margin: 0 0 .8rem; }
.cta-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}
.cta-btn:hover { background: var(--brand-2); text-decoration: none; }

.sidebar-about p { color: var(--ink-soft); font-size: .88rem; margin: 0 0 .55rem; }
.about-link { font-size: .85rem; color: var(--brand); font-weight: 600; }

/* grids */
.article-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,76,117,.08); }
.card-link { color: inherit; display: block; }
.card-link:hover { text-decoration: none; }
.card-cover { background-size: cover; background-position: center; aspect-ratio: 16 / 9; }
.card-body { padding: .9rem 1rem 1rem; }
.card-cat { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-2); margin-bottom: .35rem; }
.card-title { font-size: 1.05rem; margin: 0 0 .4rem; line-height: 1.3; }
.card-summary { font-size: .9rem; color: var(--ink-soft); margin: 0 0 .6rem; }
.card-date { font-size: .78rem; color: var(--muted); }

/* sections */
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 1.2rem 0 .8rem; }
.link-more { font-size: .9rem; }

.categories { padding: 2rem 0; }
.category-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.category-card { display: block; padding: 1.1rem 1rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; }
.category-card:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* page head */
.page-head { padding: 2rem 0 1rem; }
.page-head h1 { margin: 0 0 .4rem; font-size: 2rem; letter-spacing: -0.02em; }
.page-content { color: var(--ink-soft); max-width: 70ch; }

/* section hero (category landing with cover image) */
.section-hero {
  position: relative;
  background-color: var(--brand);
  background-size: cover;
  background-position: center;
  color: #fff;
  margin: 0 -1rem 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 18px rgba(15,76,117,.18);
}
.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,76,117,.10) 0%, rgba(15,76,117,.55) 55%, rgba(11,40,61,.92) 100%);
  pointer-events: none;
}
.section-hero-inner {
  position: relative;
  width: 100%;
  padding: 3rem 1.6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-hero .kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--brand-2);
  padding: .3rem .7rem;
  border-radius: 3px;
  margin-bottom: .8rem;
  color: #fff;
}
.section-hero h1 {
  margin: 0 0 .55rem;
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.section-hero p.lede,
.section-hero .lede {
  color: rgba(255,255,255,.95) !important;
  margin: 0;
  max-width: 64ch;
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.section-content { margin: 0 auto 1.4rem; }
@media (min-width: 780px) {
  .section-hero { min-height: 380px; margin: 0 0 2.4rem; }
  .section-hero-inner { padding: 4rem 2rem 2.4rem; }
}

/* empty-state when category has no articles yet */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  margin: 1rem 0;
}
.empty-state strong { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: .4rem; }
.empty-state p { margin: 0; font-size: .95rem; }

/* article */
.article { max-width: 720px; margin: 0 auto; padding: 1.6rem 0; }
.article-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: .3rem 0 .6rem; line-height: 1.2; }
.article-cat a { color: var(--brand-2); text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.article-meta { color: var(--muted); font-size: .85rem; margin: .2rem 0 1rem; }
.article-cover img { width: 100%; border-radius: var(--radius); }
.article-body { font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.7; }
.article-body h2 { font-family: var(--font-sans); margin-top: 2rem; letter-spacing: -0.01em; }
.article-body h3 { font-family: var(--font-sans); margin-top: 1.4rem; }
.article-body img { margin: 1rem 0; border-radius: var(--radius); }
.article-body blockquote { border-left: 3px solid var(--brand-2); margin: 1rem 0; padding: .2rem 1rem; color: var(--ink-soft); background: var(--bg-soft); }
.article-foot { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.tags a { display: inline-block; margin-right: .5rem; padding: .15rem .55rem; border: 1px solid var(--line); border-radius: 100px; font-size: .85rem; color: var(--ink-soft); }

.related { margin: 2.4rem auto; max-width: 1100px; padding: 0 1rem; }
.related h2 { margin: 0 0 .8rem; }

/* partner page */
.partner-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 1rem 0; }
.partner-card { padding: 1rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.partner-card a { font-weight: 600; }
.partner-card p { color: var(--ink-soft); font-size: .9rem; margin: .3rem 0 0; }

/* footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: 3rem; padding: 2rem 0 1rem; color: var(--ink-soft); }
.footer-grid { display: grid; gap: 1.4rem; grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-about strong { display: block; color: var(--ink); margin-bottom: .4rem; }
.footer-links h4 { color: var(--ink); margin: 0 0 .5rem; font-size: .92rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .25rem 0; font-size: .9rem; }
.footer-bottom { text-align: center; border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 1rem; color: var(--muted); }
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== GEMINI DESIGN OVERHAUL (2026-05-21) ===== */
/* Indo news portal aesthetic — dense, multi-col, ad-ready */

:root {
  --news-red: #cc0000;
  --text-main: #222222;
  --text-muted: #666666;
  --news-border: #e2e8f0;
  --news-bg: #f1f1f1;
  --news-gray: #f8fafc;
}

/* gray body, white container */
body.site { background-color: var(--news-bg); }
body.site > .container,
body.site > main.container { background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.08); padding: 0 1rem; max-width: 1140px; }

/* Topbar */
.news-topbar {
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  padding: 6px 1rem;
}
.news-topbar-inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; }
.news-topbar a { color: rgba(255,255,255,.92); text-decoration: none; }
.news-topbar a:hover { text-decoration: underline; }
.news-topbar-date { font-weight: 600; }

/* Header (logo row) */
.news-header {
  background: linear-gradient(135deg, #0b3c5d 0%, var(--brand) 55%, var(--brand-2) 100%);
  border-bottom: 4px solid var(--news-red);
}
.news-header-inner { max-width: 1140px; margin: 0 auto; padding: 1.3rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.news-header .news-logo-svg { display: block; height: 64px; width: auto; max-width: 100%; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.news-header .ad-slot { background: rgba(255,255,255,.92); color: #777; border: 1px dashed rgba(255,255,255,.4); }

/* Text wordmark logo (Indo news style, eye-catching) */
.news-logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  color: var(--text-main);
}
.news-logo:hover { text-decoration: none; }
.news-logo-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 10px rgba(15,76,117,.35);
}
.news-logo-mark::before {
  content: "B";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,.18);
}
.news-logo-mark::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 14px;
  height: 14px;
  background: var(--news-red);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(204,0,0,.4);
}
.news-logo-text { display: flex; flex-direction: column; line-height: 1; }
.news-logo-main {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1;
}
.news-logo-main b {
  color: var(--text-main);
  font-weight: 900;
}
.news-logo-sub {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: .35rem;
  border-top: 2px solid var(--news-red);
  padding-top: .3rem;
}

/* News nav — uppercase, red bottom strip */
.news-nav {
  background: #fff;
  border-bottom: 2px solid var(--news-red);
  border-top: 1px solid var(--news-border);
}
.news-nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 .5rem; }
.news-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.news-nav ul::-webkit-scrollbar { height: 4px; }
.news-nav ul::-webkit-scrollbar-thumb { background: var(--news-border); }
.news-nav li { margin: 0; flex: 0 0 auto; }
.news-nav a {
  display: block;
  padding: 11px 11px;
  color: var(--text-main);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  border-right: 1px solid var(--news-border);
}
.news-nav a:hover { color: var(--brand); background: var(--news-gray); text-decoration: none; }
.news-nav li.current a { color: var(--news-red); }

/* Ad placeholders */
.ad-slot { background: #ececec; color: #999; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin: 1rem auto; }
.ad-728x90 { width: 100%; max-width: 728px; height: 90px; }
.ad-300x250 { width: 300px; height: 250px; }
.ad-300x600 { width: 300px; height: 600px; }

/* Section title — colored chip + bottom border */
.news-section-title {
  border-bottom: 2px solid var(--brand);
  margin: 1.5rem 0 1rem;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.news-section-title span {
  background: var(--brand);
  color: #fff;
  padding: 6px 12px;
  display: inline-block;
}

/* Horizontal list article */
.list-article {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--news-border);
  padding: 15px 0;
}
.list-article-img { width: 200px; flex-shrink: 0; }
.list-article-img img,
.list-article-img-bg {
  width: 200px;
  height: 112px;
  object-fit: cover;
  display: block;
  background-size: cover;
  background-position: center;
}
.list-content { flex: 1; min-width: 0; }
.list-content h3 { margin: 0 0 .35rem; font-size: 17px; line-height: 1.3; }
.list-content h3 a { color: var(--text-main); text-decoration: none; font-weight: 800; }
.list-content h3 a:hover { color: var(--brand); }
.list-meta { font-size: 12px; color: var(--text-muted); margin-bottom: .4rem; }
.list-meta .list-meta-cat { color: var(--news-red); font-weight: 700; text-transform: uppercase; }
.list-content p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Category hero — 180px, solid overlay (no blur per gemini) */
.cat-hero {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  margin: 1rem -1rem 1.5rem;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}
.cat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,76,117,.85);
}
.cat-hero-content { position: relative; z-index: 2; color: #fff; max-width: 1080px; margin: 0 auto; width: 100%; }
.cat-hero-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.85); display: block; margin-bottom: .4rem; }
.cat-hero h1 {
  margin: 0 0 .4rem;
  font-size: 34px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 3px solid var(--news-red);
  display: inline-block;
  padding-bottom: 6px;
}
.cat-hero-desc { margin: 0; font-size: 15px; color: rgba(255,255,255,.95); max-width: 60ch; line-height: 1.5; }

/* News grid (8/4) */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1rem 0;
}
.news-grid-main { min-width: 0; }
.news-grid-side { min-width: 0; }
@media (min-width: 880px) {
  .news-grid { grid-template-columns: 8fr 4fr; }
}

/* Sidebar */
.news-sidebar-block { margin-bottom: 1.5rem; }
.news-sidebar-block .news-section-title { font-size: 15px; }
.news-sidebar-list { list-style: none; padding: 0; margin: 0; }
.news-sidebar-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--news-border); }
.news-sidebar-list .num { font-size: 24px; font-weight: 900; color: #d9dde3; line-height: 1; min-width: 1.6em; }
.news-sidebar-list a { color: var(--text-main); text-decoration: none; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.news-sidebar-list a:hover { color: var(--brand); }

/* Article single */
.news-breadcrumb { font-size: 12px; color: var(--text-muted); padding: 1rem 0 .5rem; }
.news-breadcrumb a { color: var(--text-muted); }
.news-breadcrumb a:hover { color: var(--brand); }
.news-breadcrumb span { color: var(--text-main); font-weight: 600; }
.news-article-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .6rem; }
.news-article-cat a { color: var(--news-red); }
.single-title { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; line-height: 1.15; margin: .4rem 0 .9rem; color: var(--text-main); }
.news-article-lede { font-size: 18px; line-height: 1.55; color: var(--text-muted); margin: 0 0 1rem; font-weight: 500; font-style: italic; border-left: 4px solid var(--brand-2); padding-left: 1rem; }
.single-meta { font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--news-border); border-bottom: 1px solid var(--news-border); padding: 10px 0; margin-bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.single-meta strong { color: var(--text-main); }
.news-share { display: flex; gap: .5rem; flex-wrap: wrap; padding: .6rem 0 1.2rem; align-items: center; }
.news-share-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: .08em; margin-right: .3rem; }
.news-share-btn { display: inline-block; padding: .35rem .85rem; border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff; text-decoration: none; }
.news-share-fb { background: #1877f2; }
.news-share-tw { background: #000; }
.news-share-wa { background: #25d366; }
.news-share-tg { background: #229ed9; }
.news-share-btn:hover { opacity: .88; text-decoration: none; color: #fff; }
.news-article-cover { margin: 0 0 1.2rem; padding: 0; }
.news-article-cover img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-caption { font-size: 12px; color: var(--text-muted); background: var(--news-gray); padding: 8px 12px; margin: 0; border-bottom: 1px solid var(--news-border); font-style: italic; }
.news-body { font-family: 'Georgia', 'Source Serif Pro', serif; font-size: 17px; line-height: 1.75; color: #333; }
.news-body p { margin: 0 0 1.1rem; }
.news-body p:first-of-type::first-line { font-weight: 700; }
.news-body a { color: var(--news-red); font-weight: 700; }
.news-body h2, .news-body h3 { font-family: 'Helvetica Neue', Arial, sans-serif; color: var(--text-main); letter-spacing: -.01em; margin-top: 1.8rem; }
.news-body h2 { font-size: 22px; border-left: 4px solid var(--brand); padding-left: .7rem; }
.news-body h3 { font-size: 18px; }
.news-body blockquote { border-left: 4px solid var(--news-red); background: var(--news-gray); padding: .8rem 1.1rem; margin: 1.2rem 0; color: var(--text-main); font-style: italic; }
.news-body ul, .news-body ol { margin: 0 0 1.1rem 1.5rem; }
.news-body img { width: 100%; height: auto; margin: 1.1rem 0; }
.news-article-foot { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--news-border); }
.news-tags a { display: inline-block; margin: 0 .35rem .35rem 0; padding: .2rem .65rem; background: var(--news-gray); border-radius: 100px; font-size: 12px; color: var(--brand); font-weight: 600; }
.news-tags a:hover { background: var(--brand); color: #fff; text-decoration: none; }
.news-article-disclosure { font-size: 12.5px; color: var(--text-muted); margin: 1rem 0 0; padding: .8rem 1rem; background: var(--news-gray); border-left: 3px solid var(--brand-2); }
.news-related { margin-top: 2.4rem; }

/* Mobile */
@media (max-width: 768px) {
  .news-nav { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
  .news-nav ul { flex-wrap: nowrap; }
  .list-article { flex-direction: column; }
  .list-article-img, .list-article-img img, .list-article-img-bg { width: 100%; height: auto; aspect-ratio: 16/9; }
  .cat-hero { height: auto; padding: 1.5rem 1rem; }
  .cat-hero h1 { font-size: 24px; }
  .ad-728x90 { max-width: 100%; height: 50px; }
}
