:root {
  --bg: #ffffff;
  --ink: #071124;
  --muted: #5f6877;
  --line: #d9dee8;
  --soft-line: #eceff4;
  --red: #d71920;
  --red-dark: #b91016;
  --navy: #081737;
  --soft: #f6f7f9;
  --shadow: 0 16px 40px rgba(7, 17, 36, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 64px, 1360px);
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid var(--soft-line);
  background: #fbfbfc;
  color: #2d3442;
  font-size: 14px;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-spacer {
  flex: 1;
}

.weather {
  color: var(--navy);
  font-weight: 600;
}

.social {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-width: max-content;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 0.95;
  letter-spacing: 0;
}

.brand span {
  font-weight: 800;
}

.brand strong {
  color: var(--red);
  font-weight: 800;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: clamp(13px, 1.6vw, 22px);
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.nav a {
  position: relative;
  padding: 30px 0 24px;
  white-space: nowrap;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 3px;
  background: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button,
.breaking-button {
  border: 0;
  cursor: pointer;
}

.icon-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--navy);
}

.icon-button svg,
.breaking-button svg,
.text-link svg,
.section-title-line a svg,
.guide-item svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button svg {
  width: 30px;
  height: 30px;
}

.breaking-button {
  height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.2);
}

.breaking-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.search-panel {
  display: none;
  gap: 10px;
  padding: 0 0 18px;
}

.search-panel.open {
  display: flex;
}

.search-panel input {
  flex: 1;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 14px;
  outline: none;
}

.search-panel input:focus {
  border-color: var(--navy);
}

.search-panel button {
  width: 96px;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  padding-top: 28px;
}

.lead-story {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--soft);
}

.lead-story img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.lead-copy {
  position: absolute;
  left: 28px;
  bottom: 0;
  width: min(76%, 680px);
  padding: 18px 20px 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.category {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.summary {
  max-width: 760px;
  margin: 12px 0 8px;
  color: #1f2633;
  font-size: 17px;
}

time {
  color: var(--muted);
  font-size: 14px;
}

.live-panel {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.section-heading h2,
.section-title-line h2 {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.section-heading {
  padding-top: 18px;
  border-bottom: 3px solid var(--red);
}

.section-heading h2 {
  color: var(--red);
  margin-bottom: 8px;
}

.live-item {
  width: 100%;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.live-item time {
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.live-item span {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
}

.live-item.selected span,
.live-item:hover span {
  color: var(--red-dark);
}

.text-link,
.section-title-line a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
}

.text-link {
  margin-top: 18px;
  margin-left: 88px;
}

.text-link svg,
.section-title-line a svg {
  width: 18px;
  height: 18px;
}

.featured-row {
  padding-top: 28px;
}

.section-title-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.section-title-line::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.section-title-line a {
  order: 3;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.96fr);
  gap: 34px;
  align-items: stretch;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.story-card img,
.photo-panel {
  width: 100%;
  aspect-ratio: 1.66;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
}

.story-card img {
  object-position: 46% 58%;
}

.story-card h3 {
  margin: 4px 0 6px;
  color: #090d18;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
}

.story-card time {
  display: block;
}

.photo-panel {
  background-size: cover;
  background-position: center;
}

.court .photo-panel {
  background-image:
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.08)),
    linear-gradient(135deg, #d8dce2 0 18%, #f3f4f6 18% 24%, #c7ccd4 24% 43%, #eef0f3 43% 52%, #9da7b5 52% 100%);
}

.sport .photo-panel {
  background-image:
    radial-gradient(circle at 32% 35%, #f7a93b 0 7%, transparent 8%),
    radial-gradient(circle at 68% 42%, #f2f5fb 0 6%, transparent 7%),
    linear-gradient(135deg, #123d7b, #ed6d2d 55%, #071124);
}

.culture .photo-panel {
  background-image:
    radial-gradient(circle at 30% 35%, rgba(255,255,255,.9) 0 5%, transparent 6%),
    radial-gradient(circle at 70% 40%, rgba(255,209,102,.86) 0 7%, transparent 8%),
    linear-gradient(135deg, #41121f, #d71920 48%, #081737);
}

.ad-slot {
  min-height: 224px;
  display: grid;
  place-content: center;
  border: 1px solid #cfd4df;
  background:
    linear-gradient(135deg, rgba(8,23,55,0.04), rgba(215,25,32,0.02)),
    #f8f8f9;
  color: #676d77;
  text-align: center;
}

.ad-slot span {
  font-size: 24px;
}

.ad-slot small {
  margin-top: 2px;
  font-size: 14px;
}

.guide-band {
  margin-top: 24px;
  margin-bottom: 36px;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.section-title-line.compact {
  margin-bottom: 12px;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.guide-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 8px 22px;
  border-right: 1px solid var(--line);
  color: var(--navy);
}

.guide-item:last-child {
  border-right: 0;
}

.guide-item svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.8;
}

.guide-item.accent svg {
  color: var(--red);
}

.guide-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.guide-item small {
  display: block;
  color: #30394a;
  font-size: 13px;
  line-height: 1.35;
}

.site-footer {
  border-top: 1px solid var(--soft-line);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner strong {
  color: var(--navy);
}

.archive-page,
.single-page {
  padding-top: 34px;
  padding-bottom: 48px;
}

.archive-title h1,
.single-article h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.archive-description {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 24px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.archive-card {
  border-bottom: 1px solid var(--soft-line);
  padding-bottom: 18px;
}

.archive-card h2 {
  margin: 4px 0 8px;
  font-size: 23px;
  line-height: 1.12;
}

.archive-card p:not(.category) {
  color: #30394a;
  margin: 0 0 10px;
}

.single-hero {
  max-width: 1080px;
  padding-top: 38px;
  padding-bottom: 24px;
}

.single-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.single-kicker span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.single-article h1 {
  max-width: 980px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.06;
  letter-spacing: 0;
}

.single-excerpt {
  max-width: 820px;
  margin: 16px 0 0;
  color: #283247;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.42;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.single-meta span,
.single-meta time {
  display: inline-flex;
  align-items: center;
}

.single-meta span:not(:first-child)::before,
.single-meta time::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 18px;
  border-radius: 50%;
  background: var(--red);
}

.single-shell {
  display: grid;
  grid-template-columns: 56px minmax(0, 760px) minmax(240px, 300px);
  gap: 28px;
  align-items: start;
  padding-bottom: 32px;
}

.single-share {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding-top: 4px;
}

.single-share span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.single-share a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  font-weight: 900;
}

.single-share a:hover {
  border-color: var(--red);
  color: var(--red);
}

.single-main {
  min-width: 0;
}

.single-image {
  margin: 0 0 22px;
}

.single-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}

.source-box {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  background: #f8f9fb;
  color: #273246;
}

.source-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 15px;
}

.source-box p {
  margin: 0 0 8px;
  font-size: 14px;
}

.source-box a {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.single-content {
  color: #172033;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.7;
}

.single-content > * {
  max-width: 760px;
}

.single-content p {
  margin: 0 0 1.15em;
}

.single-content a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-content h2,
.single-content h3 {
  margin: 1.6em 0 .55em;
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.15;
}

.single-sidebar {
  display: grid;
  gap: 20px;
}

.single-ad {
  min-height: 250px;
}

.sidebar-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.sidebar-card h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.sidebar-card a {
  color: #30394a;
  font-weight: 700;
}

.related-news {
  padding-top: 18px;
  padding-bottom: 44px;
}

.navigation.pagination {
  margin-top: 32px;
}

@media (max-width: 1120px) {
  .container {
    width: min(100% - 36px, 960px);
  }

  .header-inner {
    min-height: auto;
    padding: 20px 0;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav a {
    padding: 8px 0 12px;
  }

  .nav a.active::after,
  .nav a:hover::after {
    bottom: 4px;
  }

  .hero-grid,
  .news-layout,
  .single-shell {
    grid-template-columns: 1fr;
  }

  .single-share {
    position: static;
    display: flex;
    justify-content: flex-start;
    padding-top: 0;
  }

  .single-share span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .live-panel {
    border-left: 0;
    padding-left: 0;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-item:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 520px);
  }

  .topbar-inner {
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .topbar-spacer,
  .social,
  .topbar a {
    display: none;
  }

  .brand {
    font-size: 34px;
    gap: 6px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .breaking-button {
    flex: 1;
    justify-content: center;
  }

  .hero-grid {
    padding-top: 18px;
  }

  .lead-story {
    min-height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .lead-story img {
    min-height: 300px;
  }

  .lead-copy {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    padding: 18px 16px;
    box-shadow: none;
  }

  .lead-copy h1 {
    font-size: 32px;
  }

  .summary,
  .live-item span {
    font-size: 17px;
  }

  .live-item {
    grid-template-columns: 52px 1fr;
    padding: 18px 0;
  }

  .text-link {
    margin-left: 68px;
  }

  .article-grid,
  .archive-grid,
  .guide-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .single-hero {
    padding-top: 24px;
  }

  .single-shell {
    gap: 20px;
  }

  .single-article h1 {
    font-size: 34px;
  }

  .single-content {
    font-size: 18px;
  }

  .single-meta span:not(:first-child)::before,
  .single-meta time::before {
    margin-right: 10px;
  }

  .guide-item,
  .guide-item:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 4px;
  }

  .guide-item:last-child {
    border-bottom: 0;
  }
}
