/* ============================================================
   DSVV NEWS — public site design system
   News18-India inspired, tailored for a college newsroom.
   ============================================================ */

:root {
  --brand-red: #EE1C25;
  --brand-red-dark: #C01017;
  --brand-red-soft: #FFE5E7;

  --ink: #0f172a;
  --body-text: #334155;
  --muted: #64748b;
  --soft: #94a3b8;

  --line: #e5e7eb;
  --line-strong: #d1d5db;

  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-warm: #fff7f7;

  --accent: #111827;      /* dark utility bar */
  --footer-bg: #0b1220;
  --footer-ink: #e2e8f0;
  --footer-muted: #94a3b8;

  --live: #ef4444;

  --headline: "Playfair Display", "Merriweather", Georgia, serif;
  --body: "Source Sans 3", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--body-text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--brand-red); }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--headline);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.site-wrap {
  width: min(1240px, 94vw);
  margin: 0 auto;
}

/* ---------- utility bar ---------- */

.utility-bar {
  background: var(--accent);
  color: #e5e7eb;
  font-size: 0.78rem;
  line-height: 1;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0.5rem 0;
  gap: 1rem;
}

.util-left {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.util-date { font-weight: 600; color: #f8fafc; }
.util-sep  { color: #475569; }
.util-loc  { color: #cbd5e1; }

.util-link {
  color: #fca5a5;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.util-link:hover { color: #fff; }

/* ---------- masthead ---------- */

.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0 1.1rem;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand-block { display: block; }
.brand-block:hover { color: inherit; }

.brand-title {
  font-family: var(--headline);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-bottom: 0.35rem;
}
.brand-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 60px; height: 4px;
  background: var(--brand-red);
  border-radius: 2px;
}
.brand-news {
  color: var(--brand-red);
  font-weight: 900;
}

.brand-tag {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.masthead-search {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  background: var(--surface-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
  min-width: min(420px, 100%);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.masthead-search:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(238, 28, 37, 0.12);
  background: var(--surface);
}
.masthead-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.6rem 1rem;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.masthead-search input::placeholder { color: var(--soft); }
.masthead-search button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}
.masthead-search button:hover { background: var(--brand-red); }

/* ---------- primary nav ---------- */

.nav-main {
  background: var(--brand-red);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 6px 14px rgba(238, 28, 37, 0.08);
}

.nav-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-item {
  position: relative;
  color: #fff;
  padding: 0.85rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0;
  background: transparent;
  transition: background 150ms ease, color 150ms ease;
}
.nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.nav-item.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.nav-item::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 3px;
  background: #fff;
  transition: width 200ms ease, left 200ms ease;
}
.nav-item:hover::after,
.nav-item.active::after {
  width: calc(100% - 2rem);
  left: 1rem;
}

/* ---------- breaking strip ---------- */

.breaking-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.breaking-inner {
  display: flex;
  align-items: stretch;
  min-height: 42px;
  gap: 0;
}
.breaking-chip {
  background: var(--brand-red);
  color: #fff;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  flex-shrink: 0;
}
.breaking-chip::after {
  content: "";
  position: absolute;
  right: -10px; top: 0; bottom: 0;
  width: 0; height: 0;
  border-left: 10px solid var(--brand-red);
  border-top: 21px solid transparent;
  border-bottom: 21px solid transparent;
}
.live-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(255,255,255, 0.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.breaking-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding-left: 1.25rem;
  display: flex;
  align-items: center;
}
.breaking-muted {
  color: var(--muted);
  font-size: 0.9rem;
}
.breaking-marquee {
  display: inline-flex;
  gap: 1.8rem;
  align-items: center;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.breaking-marquee a { color: var(--ink); }
.breaking-marquee a:hover { color: var(--brand-red); }
.breaking-marquee .sep { color: var(--brand-red); font-weight: 900; }
.breaking-strip:hover .breaking-marquee { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- main / kicker / section heads ---------- */

main { padding-bottom: 3rem; }
main > .site-wrap > section { margin-top: 2rem; }

.kicker {
  color: var(--brand-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  margin-bottom: 0.45rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1rem;
  position: relative;
}
.section-title {
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--ink);
  padding-left: 0.85rem;
  position: relative;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 2px; bottom: 2px;
  width: 4px;
  background: var(--brand-red);
  border-radius: 2px;
}
.section-link {
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.section-link:hover { color: var(--brand-red-dark); }
.section-rule {
  display: none; /* reserved for future */
}

/* ---------- hero ---------- */

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.hero-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.hero-main:hover { box-shadow: var(--shadow); }

.hero-media {
  display: block;
  overflow: hidden;
  background: var(--surface-alt);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 400ms ease;
}
.hero-main:hover .hero-media img { transform: scale(1.015); }

.hero-body {
  padding: 1.25rem 1.35rem 1.4rem;
}
.hero-title {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0.3rem 0 0.7rem;
  font-weight: 800;
}
.hero-title a { color: inherit; }
.hero-title a:hover { color: var(--brand-red); }
.hero-excerpt {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}
.story-meta, .card-meta {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.83rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.meta-sep { color: var(--soft); }

.hero-empty { padding: 2.25rem 1.5rem; }
.hero-empty .hero-title { margin-top: 0.5rem; }

/* Top stories aside */
.hero-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.25rem 1rem 0.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-self: start;
}
.aside-head {
  padding: 1rem 0 0.75rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0.35rem;
}
.aside-head h2 {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-left: 0.75rem;
}
.aside-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 4px;
  background: var(--brand-red);
  border-radius: 2px;
}

.top-stories {
  list-style: none;
  padding: 0;
  margin: 0;
}
.top-stories li {
  display: grid;
  grid-template-columns: 28px 1fr 56px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.top-stories li:last-child { border-bottom: 0; }
.top-num {
  font-family: var(--headline);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--brand-red);
  line-height: 1;
  text-align: center;
}
.top-body { min-width: 0; }
.top-kicker {
  color: var(--brand-red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.top-title {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.3;
  font-family: var(--headline);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.top-title:hover { color: var(--brand-red); }
.top-thumb {
  width: 56px; height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-alt);
}
.top-stories.compact li {
  grid-template-columns: 24px 1fr;
}
.top-stories.compact .top-num { font-size: 1.15rem; }

/* ---------- card grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card-media {
  display: block;
  overflow: hidden;
  background: var(--surface-alt);
}
.card-media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 350ms ease;
}
.news-card:hover .card-media img { transform: scale(1.03); }

.card-body {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.card-title {
  font-family: var(--headline);
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 700;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--brand-red); }
.card-excerpt {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card.tall .card-title { -webkit-line-clamp: 3; }

/* ---------- trending strip ---------- */

.trending-strip {
  margin: 2.5rem 0 0.5rem;
  background: linear-gradient(90deg, #fff5f5 0%, #ffffff 60%);
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  position: relative;
}
.trending-title {
  font-family: var(--body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red-dark);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.trending-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.25rem;
}
.trending-track::-webkit-scrollbar { height: 6px; }
.trending-track::-webkit-scrollbar-thumb { background: #fecaca; border-radius: 3px; }
.trending-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  white-space: nowrap;
  max-width: 360px;
  flex-shrink: 0;
  transition: border-color 150ms ease, transform 150ms ease;
}
.trending-chip:hover {
  border-color: var(--brand-red);
  transform: translateY(-1px);
}
.trending-num {
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 50%;
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trending-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
}
.trending-chip:hover .trending-text { color: var(--brand-red); }

/* ---------- category / breadcrumbs / titles ---------- */

.breadcrumbs {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand-red); }
.breadcrumbs .crumb-current {
  color: var(--ink);
  font-weight: 600;
  max-width: 60vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-title-block {
  margin: 1.25rem 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}
.page-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.05;
  margin: 0.25rem 0 0.4rem;
}
.page-tagline {
  color: var(--muted);
  font-size: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.empty-block {
  background: var(--surface-alt);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-top: 1.25rem;
}
.empty-block h2 {
  font-size: 1.4rem;
  margin: 0.35rem 0 0.55rem;
}
.btn-red {
  display: inline-block;
  margin-top: 0.9rem;
  background: var(--brand-red);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: background 150ms ease;
}
.btn-red:hover { background: var(--brand-red-dark); color: #fff; }

.empty {
  color: var(--muted);
  padding: 1rem 0.25rem;
  font-size: 0.92rem;
}

/* ---------- article detail ---------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.article-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

.article-title {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0.3rem 0 0.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.article-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.article-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0.75rem 0 1.5rem;
  flex-wrap: wrap;
}
.byline-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.byline-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--headline);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.byline-name {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.byline-meta {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.1rem;
}

.share-row {
  display: flex;
  gap: 0.35rem;
}
.share {
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--muted);
  border: 1px solid var(--line);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.share:hover {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

.article-hero {
  margin: 0 0 1.25rem;
}
.article-hero img {
  width: 100%;
  border-radius: var(--radius);
  max-height: 520px;
  object-fit: cover;
}
.article-hero figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

.article-body {
  color: var(--body-text);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 720px;
}
.article-body p { margin: 0 0 1rem; }
.article-body h2, .article-body h3 {
  color: var(--ink);
  margin: 1.6rem 0 0.5rem;
  font-family: var(--headline);
}
.article-body h2 { font-size: 1.6rem; }
.article-body h3 { font-size: 1.25rem; }
.article-body a { color: var(--brand-red); font-weight: 600; }
.article-body a:hover { text-decoration: underline; }
.article-body blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 1.1rem;
  border-left: 4px solid var(--brand-red);
  background: var(--surface-warm);
  color: var(--ink);
  font-family: var(--headline);
  font-size: 1.15rem;
  line-height: 1.5;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body img { border-radius: var(--radius-sm); margin: 0.75rem 0; }
.article-body ul, .article-body ol { padding-left: 1.25rem; margin: 0 0 1rem; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}
.tag-chip {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.article-end {
  margin-top: 2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.85rem;
}
.end-rule {
  width: 60px;
  height: 3px;
  background: var(--brand-red);
  border-radius: 2px;
  margin: 0 auto 0.75rem;
}

/* Article aside */

.article-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: start;
  position: sticky;
  top: 6rem;
}
.aside-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.25rem 1rem 1rem;
  box-shadow: var(--shadow-sm);
}
.aside-widget.about-card {
  background: linear-gradient(180deg, var(--surface-warm) 0%, #fff 100%);
}
.aside-widget.about-card p {
  color: var(--body-text);
  font-size: 0.94rem;
  line-height: 1.6;
  padding: 0.25rem 0 0.25rem;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.related-list li:last-child { border-bottom: 0; }
.related-list img {
  width: 72px; height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-alt);
}
.related-list a {
  color: var(--ink);
  font-family: var(--headline);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-list a:hover { color: var(--brand-red); }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 3rem;
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 2.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-col {}
.footer-title {
  color: #fff;
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 3px;
  background: var(--brand-red);
  border-radius: 2px;
}
.footer-about p {
  color: var(--footer-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.footer-address {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
}
.footer-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-list a {
  color: var(--footer-muted);
  font-size: 0.92rem;
  transition: color 150ms ease, padding-left 150ms ease;
}
.footer-list a:hover {
  color: #fff;
  padding-left: 4px;
}
.social-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.social {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}
.social:hover {
  background: var(--brand-red);
  color: #fff;
  transform: translateY(-2px);
}
.footer-note {
  color: var(--footer-muted);
  font-size: 0.82rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--footer-muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.footer-meta a { color: var(--footer-muted); }
.footer-meta a:hover { color: #fff; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero-wrap,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 720px) {
  .masthead-inner { gap: 0.85rem; }
  .masthead-search { min-width: 100%; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-main { padding: 1.2rem 1.1rem 1.5rem; }
  .utility-inner { flex-wrap: wrap; }
  .util-right { width: 100%; display: flex; justify-content: flex-start; }
}

@media (max-width: 480px) {
  .breaking-chip { padding: 0 0.75rem; font-size: 0.72rem; }
  .breaking-chip::after { border-left-width: 8px; right: -8px; }
  .nav-item { padding: 0.75rem 0.85rem; font-size: 0.78rem; }
  .article-byline { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .breaking-marquee,
  .live-dot,
  .hero-main:hover .hero-media img,
  .news-card:hover .card-media img,
  .news-card,
  .trending-chip,
  .social,
  .share,
  .nav-item::after,
  .footer-list a {
    animation: none !important;
    transition: none !important;
  }
  .news-card:hover { transform: none; }
  .trending-chip:hover { transform: none; }
  .social:hover { transform: none; }
}
