/* ==========================================================================
   आदर्श न्यूज़ — Adarsh News
   Reference-matched theme: SmartMag / The Voice Daily
   Header white · Accent dark red #8f1d1d · Body #f4eeee · Trending red #7f0d0d
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --accent: #8f1d1d;
  --accent-dark: #6b1313;
  --accent-soft: #fbeaea;

  --red: #7f0d0d;
  --red-dark: #5f0808;

  --ink: #161616;
  --ink-2: #333333;
  --muted: #8a8a8a;
  --muted-2: #9b9b9b;

  --bg: #f4eeee;
  --bg-soft: #f7f7f7;
  --bg-softer: #fbfbfb;
  --card: #ffffff;
  --line: #e8e8e8;
  --line-2: #dddddd;

  --footer-bg: var(--accent);
  --footer-lower: var(--accent-dark);

  --radius: 2px;
  --container: 1200px;

  --font: "Mukta", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Noto Serif Devanagari", "Faustina", Georgia, serif;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.35;
}

p { margin: 0 0 1em; }
img { display: block; max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
figure { margin: 0; }
svg { flex: none; }

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container {
  width: min(var(--container), calc(100% - 50px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 4px 4px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- Shared bits ---------- */
.cat {
  display: inline-block;
  padding: 3px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  text-transform: uppercase;
  border-radius: 1px;
  transition: background .2s, color .2s;
}
.cat:hover { background: var(--accent); color: #fff; }
.cat--red { background: #f6dede; color: var(--red); }
.cat--red:hover { background: var(--red); color: #fff; }
.cat--dark {
  background: rgba(12, 16, 24, .72);
  color: #fff;
  backdrop-filter: blur(4px);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted-2);
  line-height: 1.5;
}
.meta a { color: var(--muted-2); }
.meta a:hover { color: var(--accent); }
.meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .7;
}
.meta--light { color: rgba(255, 255, 255, .9); }
.meta--light a { color: rgba(255, 255, 255, .9); }
.meta--light a:hover { color: #fff; }
.meta svg { width: 12px; height: 12px; opacity: .9; }

.thumb {
  position: relative;
  overflow: hidden;
  display: block;
  background: #e4e7ea;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease), filter .3s;
}
.thumb:hover img { transform: scale(1.04); }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 3px 8px;
  border-radius: 1px;
}
.badge-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.75); }
}

/* ---------- Icon buttons ---------- */
.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }

/* ==========================================================================
   Header — premium white bar, dark-red top strip, large centered logo
   ========================================================================== */
.site-header {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fdf8f8 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(143, 29, 29, .5) 26%, var(--accent) 50%, rgba(143, 29, 29, .5) 74%, transparent);
  pointer-events: none;
}
.header-topbar {
  background: linear-gradient(90deg, var(--red-dark) 0%, var(--red) 48%, var(--accent) 100%);
  color: rgba(255, 255, 255, .9);
}
.header-topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.header-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.header-date::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .16);
}
.header-tagline {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  white-space: nowrap;
}
.header-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.header-live .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .22);
  animation: pulse 1.6s infinite;
}

.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 16px;
}
.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
}
.header-left { justify-content: flex-start; }
.header-right { justify-content: flex-end; }
.header-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.header-btn:hover {
  background: var(--accent-soft);
  border-color: rgba(143, 29, 29, .18);
  color: var(--accent-dark);
}
.header-btn:active { transform: translateY(1px); }
.header-btn svg { width: 19px; height: 19px; }
.header-btn--menu svg { width: 22px; height: 22px; }
.header-btn--search svg { width: 17px; height: 22px; }

.header-sub {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 3px 10px rgba(143, 29, 29, .22);
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.header-sub:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(143, 29, 29, .28);
}
.header-sub::after {
  content: "→";
  font-size: 13px;
  line-height: 1;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  flex: none;
  transition: transform .25s ease;
}
.header-logo:hover { transform: translateY(-1px); }
.header-logo .logo-img {
  height: 52px;
  max-width: 220px;
  width: auto;
  display: block;
  transition: opacity .2s;
}
.header-logo:hover .logo-img { opacity: .88; }

.header-note {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .6);
}
.header-note::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s infinite;
}

/* legacy .brand (drawer + footer + article) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  border-radius: 2px;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--accent); }
.brand-tag {
  margin-top: 3px;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.nav-wrap.is-stuck { box-shadow: 0 5px 18px rgba(10, 20, 30, .07); }
.nav {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  gap: 0;
}
.nav-links {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  min-width: 0;
  flex-wrap: wrap;
}
.nav-links > li { display: flex; }
.nav-links > li > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s;
}
.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.nav-links > li > a:hover,
.nav-links > li > a.is-active { color: var(--accent); }
.nav-links > li > a:hover::after,
.nav-links > li > a.is-active::after { transform: scaleX(1); }

.nav-links .has-menu { position: relative; }
.nav-links .has-menu > a svg { width: 12px; height: 12px; margin-left: 4px; opacity: .55; }
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  box-shadow: 0 16px 34px rgba(15, 25, 40, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s var(--ease);
  z-index: 20;
}
.nav-links .has-menu:hover .nav-menu,
.nav-links .has-menu:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.nav-menu a:hover { background: var(--bg-soft); color: var(--accent); }
.nav-menu span { font-size: 11px; color: var(--muted-2); }

.nav-sub {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding-left: 16px;
}
.nav-sub a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--accent);
  white-space: nowrap;
}
.nav-sub a:hover { color: var(--accent-dark); }
.nav-sub svg { width: 14px; height: 14px; }

/* ==========================================================================
   Trending bar
   ========================================================================== */
.trendbar {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  margin: 24px 0 0;
  background: #fff;
  overflow: hidden;
}
.trendbar-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trendbar-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 18px;
}
.trendbar-item {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trendbar-item:hover { color: var(--accent); }
.trendbar-item.is-active { display: inline-flex; animation: trendIn .45s var(--ease); }
@keyframes trendIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Layout / white blocks
   ========================================================================== */
.section { padding: 24px 0; }
.section--tight { padding: 18px 0 24px; }

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding-top: 24px;
}

.block {
  background: #fff;
  padding: 26px 28px;
  margin-bottom: 30px;
}
.block:last-child { margin-bottom: 0; }
.block--flush { padding: 0; }
.block--accent { border-top: 4px solid var(--accent); }
.block--red { border-top: 4px solid var(--red); }

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 13px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.2px;
}
.block-title::before {
  content: "";
  width: 4px;
  height: 21px;
  background: var(--accent);
  flex: none;
}
.block--red .block-title::before { background: var(--red); }
.block-title small {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted-2);
}
.block-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.block-more svg { width: 13px; height: 13px; transition: transform .2s; }
.block-more:hover svg { transform: translateX(3px); }

/* ---------- Featured hero card ---------- */
.feature-card {
  background: #fff;
  border-top: 4px solid var(--red);
  padding: 28px 30px 0;
  margin-bottom: 30px;
}
.feature-card h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.3px;
  margin: 0 0 16px;
}
.feature-card h1 a:hover { color: var(--accent); }
.feature-card .cat-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.feature-card .thumb {
  aspect-ratio: 16 / 9;
  margin: 0;
}
.feature-excerpt {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.75;
  color: #4f4f4f;
  padding: 20px 0 26px;
  margin: 0;
}

/* ==========================================================================
   Cards / lists
   ========================================================================== */
.post-card { display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16 / 10; margin-bottom: 12px; }
.post-card .cat { align-self: flex-start; margin-bottom: 8px; }
.post-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -.1px;
  margin-bottom: 7px;
}
.post-card h3 a:hover { color: var(--accent); }
.post-card p.excerpt {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
  color: #4f4f4f;
  margin: 0 0 8px;
}
.post-card--wide { flex-direction: row; gap: 20px; align-items: flex-start; }
.post-card--wide .thumb { width: 46%; flex: none; aspect-ratio: 4 / 3; margin-bottom: 0; }
.post-card--wide .card-body { flex: 1; min-width: 0; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}
.posts-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .posts-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.post-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.post-row:first-child { padding-top: 0; }
.post-row:last-child { border-bottom: 0; padding-bottom: 0; }
.post-row .thumb {
  width: 112px;
  height: 78px;
  flex: none;
}
.post-row .row-body { min-width: 0; }
.post-row h3 {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.42;
  margin-bottom: 5px;
}
.post-row h3 a:hover { color: var(--accent); }
.post-row .meta { font-size: 11px; }
.post-row--lg .thumb { width: 170px; height: 120px; }
.post-row--lg h3 { font-size: 19px; }

.card-overlay {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  background: #1a1d22;
}
.card-overlay > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .8s var(--ease);
}
.card-overlay::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 10, 14, .02) 24%, rgba(7, 10, 14, .9) 100%);
}
.card-overlay:hover > img { transform: scale(1.05); }
.card-overlay h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 8px;
}
.card-overlay h3 a:hover { color: #f1d6d6; }
.card-overlay .meta { margin-top: 7px; font-size: 11px; }

.home-main,
.main-col,
.footer-col { min-width: 0; }

.politics-list { min-width: 0; }

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar { min-width: 0; }
.side-block {
  background: #fff;
  margin-bottom: 24px;
  border-top: 3px solid var(--accent);
}
.side-block--red { border-top-color: var(--red); }
.side-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px 12px;
}
.side-block-head h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
}
.side-block-head a {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
}

/* overlay feature in sidebar */
.side-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 265px;
  padding: 22px 20px;
  overflow: hidden;
  color: #fff;
  background: #1a1d22;
  margin-bottom: 24px;
}
.side-feature > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .8s var(--ease);
}
.side-feature::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 10, 14, .04) 18%, rgba(7, 10, 14, .88) 100%);
}
.side-feature:hover > img { transform: scale(1.04); }
.side-feature h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.36;
  margin: 9px 0 8px;
}
.side-feature h3 a:hover { color: #f1d6d6; }
.side-feature .meta { font-size: 11px; }

/* single sidebar post */
.side-post {
  background: #fff;
  padding: 22px 20px;
  margin-bottom: 24px;
  border-top: 3px solid var(--line-2);
}
.side-post h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.38;
  margin: 10px 0 9px;
}
.side-post h3 a:hover { color: var(--accent); }
.side-post p {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
  color: #4f4f4f;
  margin: 0;
}

/* popular list */
.pop-list { padding: 2px 0 10px; }
.pop-item {
  display: flex;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
.pop-item:last-child { border-bottom: 0; }
.pop-thumb {
  width: 88px;
  height: 64px;
  flex: none;
  overflow: hidden;
  background: #e4e7ea;
}
.pop-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pop-item:hover .pop-thumb img { transform: scale(1.07); }
.pop-text { min-width: 0; }
.pop-text h4 {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 4px;
}
.pop-text h4 a:hover { color: var(--accent); }
.pop-text .meta { font-size: 10.5px; }

/* numbered trending */
.trend-list { padding: 4px 0 12px; counter-reset: trend; }
.trend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 20px;
  counter-increment: trend;
}
.trend-item::before {
  content: counter(trend, decimal-leading-zero);
  flex: none;
  width: 24px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent);
  opacity: .5;
}
.trend-item a {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-2);
}
.trend-item a:hover { color: var(--accent); }

/* categories widget */
.cat-list { padding: 2px 0 8px; }
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 20px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  transition: background .2s, color .2s;
}
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover { background: var(--bg-softer); color: var(--accent); }
.cat-list .count {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted-2);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 1px 8px;
}

/* ad */
.ad-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 250px;
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(120, 130, 145, .05) 14px 28px),
    #fff;
  border: 1px solid var(--line);
  text-align: center;
  color: var(--muted-2);
  margin-bottom: 24px;
}
.ad-box strong {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}
.ad-box span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }

/* newsletter */
.newsletter {
  background: var(--accent);
  color: #fff;
  padding: 24px 22px;
  margin-bottom: 24px;
}
.newsletter h3 {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 7px;
}
.newsletter p {
  font-family: var(--font);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 14px;
}
.newsletter form { display: flex; flex-direction: column; gap: 8px; }
.newsletter input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 1px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .75); }
.newsletter input:focus { border-color: #fff; background: rgba(255, 255, 255, .18); }
.newsletter button {
  padding: 10px 14px;
  border: 0;
  border-radius: 1px;
  background: #fff;
  color: var(--accent);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .03em;
  transition: background .2s, color .2s;
}
.newsletter button:hover { background: var(--ink); color: #fff; }
.newsletter .form-note { font-size: 10.5px; color: rgba(255, 255, 255, .7); margin: 0; }
.form-msg {
  display: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .18);
  padding: 7px 9px;
  margin: 0;
}
.form-msg.is-visible { display: block; }

/* ==========================================================================
   Two column layout (latest / article / category)
   ========================================================================== */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

/* ==========================================================================
   Category / politics lead
   ========================================================================== */
.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
}
.lead-post .thumb { aspect-ratio: 16 / 10; margin-bottom: 14px; }
.lead-post h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.2px;
  margin: 8px 0 8px;
}
.lead-post h3 a:hover { color: var(--accent); }
.lead-post p {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.72;
  color: #4f4f4f;
  margin: 0;
}

/* ==========================================================================
   Sports band (light, image cards)
   ========================================================================== */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.sports-grid .card-overlay { min-height: 260px; }

/* ==========================================================================
   Tech / entertainment
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.tech-grid .post-card:first-child h3 { font-size: 21px; }

.ent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* ==========================================================================
   Newsletter CTA
   ========================================================================== */
.cta {
  background: var(--accent);
  color: #fff;
  padding: 34px 0;
  margin: 30px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.cta-text { max-width: 620px; }
.cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 8px;
}
.cta-text h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 7px;
}
.cta-text p { font-size: 13px; color: rgba(255, 255, 255, .82); margin: 0; }
.cta-form {
  display: flex;
  gap: 8px;
  width: min(420px, 100%);
  flex: none;
}
.cta-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 1px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13.5px;
  outline: none;
}
.cta-form input::placeholder { color: rgba(255, 255, 255, .8); }
.cta-form input:focus { border-color: #fff; }
.cta-form button {
  flex: none;
  padding: 11px 20px;
  border: 0;
  border-radius: 1px;
  background: #fff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s, color .2s;
}
.cta-form button:hover { background: var(--ink); color: #fff; }
.cta .form-msg { margin-top: 8px; }

/* ==========================================================================
   Footer — light
   ========================================================================== */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  padding-top: 44px;
  font-size: 13.5px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.15fr;
  gap: 36px;
  padding-bottom: 38px;
}
.footer .brand-mark { width: 38px; height: 38px; font-size: 21px; }
.footer .brand-name { color: #fff; font-size: 24px; }
.footer-about p,
.footer-col--brand > p,
.footer-about-p {
  margin: 14px 0 16px;
  color: rgba(255, 255, 255, .8);
  font-size: 12.5px;
  line-height: 1.75;
  max-width: 330px;
}
.footer-social { display: flex; gap: 6px; }
.footer-social a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #fff;
  border-radius: 1px;
  color: var(--accent);
  transition: .2s;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-social svg { width: 14px; height: 14px; }

.footer h4 {
  color: #fff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  position: relative;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 32px; height: 2px;
  background: var(--accent);
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  transition: color .2s, transform .2s;
}
.footer-links a:hover { color: var(--accent); transform: translateX(2px); }
.footer-links a::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
}
.footer-contact li {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .8);
  font-size: 12.5px;
  line-height: 1.6;
}
.footer-contact svg { width: 14px; height: 14px; margin-top: 3px; color: var(--accent); flex: none; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--footer-lower);
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11.5px;
  color: #777;
}
.footer-bottom a { color: rgba(255, 255, 255, .8); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Drawer
   ========================================================================== */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 12, 18, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 160;
  width: min(320px, 86vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  transform: translateX(-102%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  background: var(--accent);
  position: sticky;
  top: 0;
  z-index: 2;
}
.drawer .brand-mark { background: rgba(255, 255, 255, .2); width: 34px; height: 34px; font-size: 19px; }
.drawer .brand-name { color: #fff; font-size: 20px; }
.drawer-head .icon-btn { color: #fff; }
.drawer-head .icon-btn:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.drawer-nav { padding: 6px 0; }
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.drawer-nav a:hover,
.drawer-nav a.is-active { color: var(--accent); background: var(--bg-softer); }
.drawer-nav a span { font-size: 10px; font-weight: 600; color: var(--muted-2); }
.drawer-foot {
  margin-top: auto;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.drawer-foot p { font-size: 11.5px; color: var(--muted); margin: 0 0 10px; }
.drawer-foot .footer-social a { border-color: rgba(255, 255, 255, .1); }

/* ==========================================================================
   Search overlay
   ========================================================================== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 18px 40px;
  background: rgba(8, 12, 18, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  overflow-y: auto;
}
.search-modal.is-open { opacity: 1; visibility: visible; }
.search-panel {
  width: min(680px, 100%);
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .3);
  padding: 22px 24px 18px;
  transform: translateY(-12px);
  transition: transform .3s var(--ease);
}
.search-modal.is-open .search-panel { transform: none; }
.search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.search-top span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 7px;
}
.search-form svg { width: 21px; height: 21px; color: var(--accent); }
.search-form input {
  flex: 1;
  min-width: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  outline: none;
}
.search-form input::placeholder { color: var(--muted-2); font-weight: 500; }
.search-form button[type="submit"] {
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 1px;
}
.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}
.search-tags a {
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  transition: .2s;
}
.search-tags a:hover { border-color: var(--accent); color: var(--accent); }
.search-results {
  margin-top: 13px;
  max-height: 48vh;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.search-result {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 7px;
}
.search-result:hover { background: var(--bg-soft); }
.search-result .thumb { width: 64px; height: 48px; flex: none; }
.search-result .sr-cat { font-size: 9.5px; font-weight: 800; color: var(--accent); letter-spacing: .04em; }
.search-result h4 { font-family: var(--serif); font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.search-empty { padding: 22px 6px; text-align: center; color: var(--muted); font-size: 13.5px; }
.search-hint { padding: 18px 4px 5px; text-align: center; color: var(--muted-2); font-size: 12.5px; }
.search-hint kbd {
  font-family: var(--font);
  font-size: 10.5px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  padding: 1px 5px;
  background: var(--bg-soft);
}

/* ==========================================================================
   Page head (category)
   ========================================================================== */
.page-head {
  background: #fff;
  border-top: 4px solid var(--red);
  margin-top: 24px;
  padding: 28px 30px 26px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 11px;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs svg { width: 11px; height: 11px; opacity: .55; }
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-head h1::before {
  content: "";
  width: 5px;
  height: 34px;
  background: var(--accent);
  flex: none;
}
.page-head p {
  margin: 10px 0 0 17px;
  max-width: 640px;
  color: #4f4f4f;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
}
.page-head .page-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0 0 17px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Static / info pages ---------- */
.article-main .entry { padding-top: 2px; }
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 1.4em 0 1.8em;
}
.info-card {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  padding: 15px 17px;
}
.info-card h3 {
  margin: 0 0 5px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
}
.info-card p {
  margin: 0;
  font-family: var(--font);
  font-size: 12.5px;
  line-height: 1.7;
  color: #555;
}
.info-card a { font-weight: 700; }
.info-card .big {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 2px;
}
.updated-note {
  font-family: var(--font);
  font-size: 11.5px;
  color: var(--muted-2);
  margin: 0 0 1.2em;
}
.page-cta {
  margin: 1.8em 0 0;
  padding: 22px 24px;
  background: var(--accent);
  color: #fff;
}
.page-cta h2 {
  margin: 0 0 8px;
  padding: 0;
  color: #fff;
  font-size: 22px;
}
.page-cta h2::before { display: none; }
.page-cta p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .88);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.7;
}
.page-cta a {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 9px 16px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
}
.page-cta a:hover { background: var(--ink); color: #fff; }
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
  margin-top: 1.2em;
}
.sitemap-grid section h2 { margin-top: 0; }
.sitemap-grid ul { margin-bottom: 0; }
.sitemap-grid li { margin-bottom: .35em; }
@media (max-width: 760px) {
  .info-cards, .sitemap-grid { grid-template-columns: 1fr; }
}

.featured-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 26px;
}
.featured-row .lead .thumb { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.featured-row .lead h2 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 31px);
  line-height: 1.32;
  margin: 8px 0;
}
.featured-row .lead h2 a:hover { color: var(--accent); }
.featured-row .lead p { color: #4f4f4f; font-family: var(--serif); font-size: 14px; margin: 0; }
.featured-row .side-list { display: flex; flex-direction: column; justify-content: flex-start; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 28px;
}
.pagination a,
.pagination span {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  transition: .2s;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .is-disabled { opacity: .35; pointer-events: none; }
.pagination svg { width: 14px; height: 14px; }

/* ==========================================================================
   Article
   ========================================================================== */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  height: 3px;
  width: 100%;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width .1s linear;
}

.article-wrap { padding: 24px 0 10px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.article-main {
  min-width: 0;
  background: #fff;
  border-top: 4px solid var(--red);
  padding: 30px 32px 32px;
}

.article-head { margin-bottom: 20px; }
.article-head .cat { margin-bottom: 12px; }
.article-head h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.4px;
  margin-bottom: 12px;
}
.article-dek {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.7;
  color: #4f4f4f;
  margin: 0 0 18px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.author { display: flex; align-items: center; gap: 9px; }
.author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.author-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}
.author-name span { font-size: 10.5px; font-weight: 500; color: var(--muted); }
.article-meta .meta { margin-left: auto; }
.share { display: flex; align-items: center; gap: 4px; }
.share a,
.share button {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: .2s;
}
.share svg { width: 13px; height: 13px; }
.share a:hover,
.share button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.article-figure { margin: 0 0 6px; }
.article-figure .thumb { aspect-ratio: 16 / 9; }
.article-figure figcaption {
  font-size: 11px;
  color: var(--muted-2);
  padding: 8px 0 0;
  line-height: 1.55;
}

.entry {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.85;
  color: #2c2c2c;
  padding-top: 20px;
}
.entry p { margin: 0 0 1.25em; }
.entry h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin: 1.6em 0 .55em;
  letter-spacing: -.2px;
  position: relative;
  padding-left: 13px;
}
.entry h2::before {
  content: "";
  position: absolute;
  left: 0; top: .24em;
  width: 4px; height: 1em;
  background: var(--accent);
}
.entry h3 { font-size: 20px; margin: 1.3em 0 .5em; }
.entry ul, .entry ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li { margin-bottom: .45em; }
.entry a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry strong { font-weight: 700; color: var(--ink); }
.entry blockquote {
  margin: 1.7em 0;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  font-weight: 600;
  color: var(--ink);
}
.entry blockquote p:last-child { margin: 0; }
.entry blockquote cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}
.entry figure { margin: 1.7em 0; }
.entry figure .thumb { aspect-ratio: 16 / 9; }
.entry figcaption { font-size: 11px; color: var(--muted-2); padding-top: 8px; }
.entry .key-points {
  margin: 1.7em 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--bg-softer);
}
.entry .key-points h3 {
  font-family: var(--font);
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 9px;
}
.entry .key-points ul { margin: 0; padding-left: 1.1em; }
.entry .key-points li { font-size: 15px; line-height: 1.7; }

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tags span {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 3px;
}
.tags a {
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  transition: .2s;
}
.tags a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.author-box img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box h4 { font-family: var(--serif); font-size: 16px; margin-bottom: 2px; }
.author-box .role {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.author-box p { font-size: 12.5px; line-height: 1.7; color: #555; margin: 0; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.post-nav a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  transition: .2s;
}
.post-nav a:hover { border-color: var(--accent); background: var(--bg-softer); }
.post-nav small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.post-nav svg { width: 11px; height: 11px; }
.post-nav strong { display: block; font-family: var(--serif); font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.post-nav .next { text-align: right; }
.post-nav .next small { justify-content: flex-end; }

.comments { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--ink); }
.comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.comments-head h3 { font-family: var(--serif); font-size: 20px; }
.comments-head span { font-size: 11px; color: var(--muted); }
.comment { display: flex; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); }
.comment img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.comment-body { min-width: 0; }
.comment-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.comment-top strong { font-size: 13px; }
.comment-top time { font-size: 10.5px; color: var(--muted-2); }
.comment-body p { font-family: var(--serif); font-size: 13.5px; line-height: 1.7; color: #4f4f4f; margin: 0 0 5px; }
.comment-body a { font-size: 11px; font-weight: 700; color: var(--accent); }

.related { padding: 30px 0 10px; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(12, 119, 226, .32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-dark); }
.to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Reveal
   ========================================================================== */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links > li > a { padding: 0 10px; font-size: 13.5px; }
  .nav-links > li > a::after { left: 10px; right: 10px; }
  .home-layout,
  .layout,
  .article-layout { grid-template-columns: minmax(0, 1fr) 288px; gap: 26px; }
  .container { width: calc(100% - 40px); }
  .article-main { padding: 26px 26px 28px; }
}

.home-layout .sidebar,
.layout .sidebar,
.article-layout .sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}
@media (max-width: 980px) {
  .header-inner { min-height: 86px; padding: 8px 4px; }
  .header-logo .logo-img { height: 46px; max-width: 195px; }
  .header-tagline { display: none; }

  .home-layout .sidebar,
  .layout .sidebar,
  .article-layout .sidebar {
    position: static;
  }
  .nav-links > li > a { padding: 0 9px; font-size: 13px; }

  .home-layout,
  .layout,
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; align-items: start; }
  .sidebar > * { margin-bottom: 22px; }
  .article-layout .sidebar { grid-template-columns: 1fr 1fr; }

  .sports-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--contact { grid-column: span 3; }
  .footer-contact ul { display: flex; flex-wrap: wrap; gap: 6px 28px; }
  .footer-contact li { margin: 0; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 28px); }
  .header-topbar-inner { min-height: 30px; font-size: 10.5px; gap: 10px; }
  .header-inner { min-height: 72px; padding: 6px 0; gap: 8px; }
  .header-logo { padding: 2px 0; }
  .header-logo .logo-img { height: 40px; max-width: 175px; }
  .header-left, .header-right { gap: 2px; }
  .header-sub { display: none; }
  .header-note { display: none; }
  .header-btn { width: 38px; height: 38px; }
  .header-btn--menu svg { width: 24px; height: 24px; }
  .header-btn--search svg { width: 20px; height: 20px; }

  .nav-wrap { display: none; }

  .trendbar { margin-top: 14px; min-height: 40px; }
  .trendbar-label { padding: 0 12px; font-size: 10.5px; letter-spacing: .05em; }
  .trendbar-body { padding: 0 12px; }
  .trendbar-item { font-size: 12.5px; }

  .home-layout { padding-top: 14px; gap: 22px; }
  .block { padding: 20px 18px; margin-bottom: 22px; }
  .block-head { margin-bottom: 18px; padding-bottom: 11px; }
  .block-title { font-size: 20px; }
  .block-title::before { height: 18px; }

  .feature-card { padding: 20px 18px 0; margin-bottom: 22px; }
  .feature-card h1 { font-size: 26px; margin-bottom: 12px; }
  .feature-card .cat-row { margin-bottom: 14px; }
  .feature-excerpt { font-size: 14.5px; padding: 16px 0 20px; }

  .posts-grid { gap: 22px 18px; }
  .post-card h3 { font-size: 17px; }
  .post-card p.excerpt { display: none; }

  .sidebar { grid-template-columns: 1fr; }
  .article-layout .sidebar { grid-template-columns: 1fr; }

  .lead-layout, .featured-row, .ent-grid { grid-template-columns: 1fr; }
  .lead-post h3 { font-size: 21px; }

  .tech-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .tech-grid .post-card:first-child { grid-column: span 2; }
  .tech-grid .post-card:first-child .thumb { aspect-ratio: 16 / 9; }
  .tech-grid .post-card:nth-child(4) { display: none; }

  .sports-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sports-grid .card-overlay { min-height: 210px; padding: 14px; }
  .sports-grid .card-overlay h3 { font-size: 14px; }
  .sports-grid .card-overlay .meta { display: none; }

  .page-head { margin-top: 14px; padding: 20px 18px; }
  .page-head h1 { font-size: 28px; }
  .page-head h1::before { height: 26px; width: 4px; }
  .page-head p { margin-left: 13px; font-size: 13px; }

  .article-wrap { padding-top: 14px; }
  .article-main { padding: 20px 18px 22px; }
  .article-head h1 { font-size: 26px; }
  .article-dek { font-size: 15px; }
  .article-meta { gap: 10px; }
  .article-meta .meta { margin-left: 0; width: 100%; }
  .entry { font-size: 16.5px; line-height: 1.8; }
  .entry blockquote { font-size: 17.5px; padding: 13px 15px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .post-nav .next small { justify-content: flex-start; }

  .cta { padding: 26px 0; margin: 24px 0; }
  .cta-inner { flex-direction: column; align-items: stretch; gap: 18px; }
  .cta-form { width: 100%; }

  .footer { margin-top: 26px; padding-top: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-col--brand { grid-column: span 2; }
  .footer-col--contact { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 9px; padding: 13px 0; }
  .footer-bottom nav { gap: 13px; }

  .to-top { right: 12px; bottom: 12px; }
}

@media (max-width: 520px) {
  .header-topbar-inner { justify-content: center; }
  .header-live { display: none; }
  .header-inner { min-height: 64px; }
  .header-logo .logo-img { height: 34px; max-width: 150px; }
  .brand-name { font-size: 22px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; }

  .feature-card h1 { font-size: 24px; }
  .posts-grid { grid-template-columns: 1fr; }
  .posts-grid--3 { grid-template-columns: 1fr; }
  .post-card .thumb { aspect-ratio: 16 / 9; }
  .post-card h3 { font-size: 18px; }

  .tech-grid { grid-template-columns: 1fr; }
  .tech-grid .post-card:first-child { grid-column: auto; }
  .tech-grid .post-card:nth-child(4) { display: flex; }
  .sports-grid { grid-template-columns: 1fr; }
  .sports-grid .card-overlay { min-height: 240px; }

  .post-row .thumb { width: 94px; height: 70px; }
  .post-row h3 { font-size: 14.5px; }
  .post-row--lg .thumb { width: 118px; height: 88px; }
  .post-row--lg h3 { font-size: 16px; }

  .pagination a, .pagination span { min-width: 32px; height: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--brand, .footer-col--contact { grid-column: auto; }
  .search-form input { font-size: 17px; }
  .search-panel { padding: 18px 16px 14px; }
  .search-tags { display: none; }
  .author-box { flex-direction: column; }
  .article-meta .meta { font-size: 11px; }
  .featured-row .lead h2 { font-size: 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-wrap, .trendbar, .sidebar, .footer, .to-top,
  .drawer, .scrim, .search-modal, .share, .related, .comments,
  .reading-progress { display: none !important; }
  body { background: #fff; color: #000; }
  .article-layout { display: block; }
  .article-main { border: 0; padding: 0; }
  .feature-card h1, .article-head h1 { font-size: 30px; }
}
