:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #111827;
  --muted: #64748b;
  --border: #e2e8f0;
  --brand: #c1121f;
  --brand-dark: #8f0d17;
  --brand-soft: #fff1f2;
  --ink: #0f172a;
  --accent: #0f63ff;
  --success: #0f9f6e;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .07);
  --shadow-md: 0 14px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.loader-bar {
  background: #0b1220;
  color: #fff;
  font-size: 13px;
  letter-spacing: .01em;
}
.loader-bar .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.loader-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 6px rgba(15, 159, 110, .15);
}
.loader-close {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.topbar .inner,
.site-header .inner,
.nav-shell .inner,
main,
.footer-main,
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.topbar .inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.topbar-left,
.topbar-right,
.social-row,
.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dot-sep { color: #cbd5e1; }
.login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 700;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
}
.social-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.site-header {
  background: var(--surface);
}
.site-header .inner {
  padding-top: 20px;
  padding-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.brand-title {
  margin: 0;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.brand-title span { color: var(--brand); }
.brand-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.search-box {
  position: relative;
  width: min(340px, 32vw);
}
.search-box input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 44px 12px 16px;
  background: var(--surface-soft);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-box input:focus {
  border-color: rgba(193, 18, 31, .45);
  box-shadow: 0 0 0 4px rgba(193, 18, 31, .08);
}
.search-box .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.menu-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  padding: 11px 14px;
  color: var(--ink);
  font-weight: 900;
}
.menu-trigger .bars {
  width: 18px;
  display: grid;
  gap: 4px;
}
.menu-trigger .bars span {
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-shell {
  background: var(--brand);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 12px 25px rgba(193, 18, 31, .18);
}
.nav-shell .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}
.nav-title {
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-title::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #fff;
  box-shadow: 0 6px #fff, 0 -6px #fff;
  border-radius: 2px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.primary-nav::-webkit-scrollbar { display: none; }
.primary-nav a {
  color: #fff;
  padding: 15px 13px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 14px;
  border-radius: 10px;
}
.primary-nav a:hover,
.primary-nav a.active {
  background: rgba(255,255,255,.14);
  color: #fff;
}

main { padding-top: 28px; padding-bottom: 42px; }
.section { margin: 32px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
}
.section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.035em;
  line-height: 1.1;
}
.section-desc {
  margin: 7px 0 0;
  color: var(--muted);
  max-width: 680px;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 950;
  color: var(--brand);
  white-space: nowrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, .58fr);
  gap: 18px;
  align-items: stretch;
}
.hero-main,
.card,
.sidebar-card,
.opinion-card,
.article-shell,
.form-card,
.info-card,
.footer-cta,
.poll-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.hero-main {
  overflow: hidden;
  display: grid;
  min-height: 460px;
  position: relative;
}
.hero-main .hero-media {
  min-height: 260px;
  background: linear-gradient(135deg, #1e293b 0%, #c1121f 100%);
}
.hero-main .hero-content {
  padding: clamp(20px, 3vw, 32px);
}
.hero-main h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 50px);
  letter-spacing: -.05em;
  line-height: .98;
  max-width: 760px;
}
.hero-main p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 760px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 950;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 25px rgba(193,18,31,.22); }
.btn-primary:hover { color: #fff; background: var(--brand-dark); }
.btn-secondary { background: var(--surface-soft); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { color: var(--brand); border-color: rgba(193,18,31,.35); }
.btn-small { min-height: 34px; padding: 8px 12px; font-size: 13px; }
.hero-side { display: grid; gap: 18px; }
.hero-mini {
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.hero-mini .mini-media { height: 118px; background: linear-gradient(135deg, #e2e8f0 0%, #fee2e2 100%); }
.hero-mini .mini-content { padding: 16px; }
.hero-mini h3 { margin: 6px 0 0; font-size: 20px; line-height: 1.12; letter-spacing: -.03em; }
.meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand);
  background: var(--brand-soft);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(193,18,31,.28);
}
.card-media {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e2e8f0, #fef2f2);
  overflow: hidden;
}
.card-media img,
.hero-media img,
.mini-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; }
.card h3 { margin: 8px 0 0; font-size: 20px; line-height: 1.15; letter-spacing: -.03em; }
.card p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.card-footer { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.read-more { color: var(--brand); font-weight: 950; font-size: 13px; }

.sidebar { display: grid; gap: 18px; }
.sidebar-card { padding: 18px; }
.sidebar-title {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-title::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
}
.trending-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: item; }
.trending-list li { counter-increment: item; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.trending-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.trending-list li::before {
  content: counter(item, decimal-leading-zero);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 950;
}
.trending-list a { font-weight: 850; line-height: 1.25; }
.trending-list small { display: block; color: var(--muted); margin-top: 4px; }
.ad-box {
  min-height: 250px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  background: repeating-linear-gradient(-45deg, #f8fafc, #f8fafc 8px, #f1f5f9 8px, #f1f5f9 16px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 850;
  padding: 16px;
}
.weather-card {
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-md);
}
.weather-card p { margin: 6px 0 0; color: rgba(255,255,255,.75); }

.opinion-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.opinion-card { padding: 18px; }
.author-row { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #0f172a);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
}
.opinion-card h3 { margin: 14px 0 12px; font-size: 18px; line-height: 1.16; letter-spacing: -.02em; }
.opinion-card small { color: var(--muted); }

.topic-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-cloud a {
  padding: 9px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
}
.topic-cloud a:hover { border-color: rgba(193,18,31,.35); background: var(--brand-soft); color: var(--brand); }

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(135deg, #111827 0%, #8f0d17 100%);
  color: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.newsletter h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -.04em; }
.newsletter p { margin: 8px 0 0; color: rgba(255,255,255,.78); }
.newsletter form { display: flex; gap: 8px; align-items: center; }
.newsletter input {
  border: 0;
  min-width: min(320px, 35vw);
  padding: 13px 14px;
  border-radius: 999px;
  outline: none;
}

.page-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.page-hero h1,
.article-header h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: .98; letter-spacing: -.055em; }
.page-hero p { color: var(--muted); max-width: 780px; font-size: 17px; }
.filterbar {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filterbar a {
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 850;
  background: var(--surface-soft);
}
.filterbar a:hover,
.filterbar a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.article-shell { overflow: hidden; }
.article-header { padding: clamp(24px, 4vw, 42px); }
.article-header p.lead { font-size: clamp(18px, 2vw, 23px); color: var(--muted); max-width: 860px; margin: 16px 0 0; }
.article-media { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #e2e8f0; }
.article-media img { width: 100%; max-height: 520px; object-fit: cover; }
.article-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 14px clamp(20px, 4vw, 42px);
  color: var(--muted);
  background: var(--surface-soft);
}
.tool-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
}
.article-body {
  padding: clamp(24px, 4vw, 42px);
  font-size: var(--article-font, 18px);
  max-width: 880px;
}
.article-body p { margin: 0 0 1.12em; }
.article-body h2 { margin-top: 1.6em; font-size: 1.55em; letter-spacing: -.035em; line-height: 1.1; }
.article-note {
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: .95em;
}
.report-panel {
  display: none;
  padding: 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}
.report-panel.open { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 850; font-size: 14px; }
.field input,
.field textarea,
.field select {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 12px;
  outline: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: rgba(193,18,31,.45); box-shadow: 0 0 0 4px rgba(193,18,31,.07); }
.field.full { grid-column: 1 / -1; }
textarea { min-height: 130px; resize: vertical; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.share-btn {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 850;
}

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.info-card { padding: 22px; }
.info-card h3 { margin-top: 0; letter-spacing: -.02em; }
.info-card p { color: var(--muted); }
.form-card { padding: 24px; }

.poll-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.poll-card { padding: 22px; }
.poll-card h3 { margin-top: 0; }
.poll-options { display: grid; gap: 10px; margin: 16px 0; }
.poll-options label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: 10px; background: var(--surface-soft); }

.footer {
  background: #0b1220;
  color: #e5e7eb;
  margin-top: 40px;
}
.footer-main { padding-top: 42px; padding-bottom: 32px; display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 28px; }
.footer h2,
.footer h3 { color: #fff; margin-top: 0; }
.footer p,
.footer li,
.footer a { color: rgba(229,231,235,.78); }
.footer a:hover { color: #fff; }
.footer-cta {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  padding: 20px;
}
.footer-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(229,231,235,.65);
  font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .site-header .inner { grid-template-columns: 1fr; }
  .header-actions { justify-content: flex-start; }
  .search-box { width: 100%; }
  .menu-trigger { display: inline-flex; }
  .nav-shell .inner { align-items: stretch; flex-direction: column; gap: 0; padding-top: 12px; padding-bottom: 12px; }
  .primary-nav { display: none; flex-direction: column; align-items: stretch; width: 100%; padding-top: 10px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px; }
  .hero-grid,
  .content-layout,
  .newsletter,
  .footer-main { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opinion-grid,
  .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .topbar .inner { align-items: flex-start; flex-direction: column; padding-top: 10px; padding-bottom: 10px; }
  .brand-logo { width: 48px; height: 48px; }
  .header-actions { flex-direction: column; align-items: stretch; }
  .menu-trigger { justify-content: center; }
  main { padding-top: 18px; }
  .hero-main { min-height: auto; }
  .card-grid,
  .opinion-grid,
  .info-grid,
  .poll-grid,
  .form-grid { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; align-items: stretch; }
  .newsletter input { min-width: 0; width: 100%; }
  .footer-cats { grid-template-columns: 1fr; }
  .article-tools { align-items: flex-start; flex-direction: column; }
}
@media print {
  .loader-bar, .topbar, .site-header, .nav-shell, .sidebar, .footer, .article-tools, .report-panel { display: none !important; }
  body { background: #fff; color: #000; }
  main { max-width: 100%; padding: 0; }
  .article-shell { border: 0; box-shadow: none; }
}
.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;
}
