:root {
  --blue-950: #171717;
  --blue-900: #3a0a10;
  --blue-800: #7f101c;
  --blue-100: #fff1f2;
  --blue-050: #ffffff;
  --red-700: #9f0715;
  --red-600: #c1121f;
  --ink: #111827;
  --muted: #5f6368;
  --line: rgba(17, 24, 39, 0.12);
  --paper: #ffffff;
  --soft: #f3f4f6;
  --shadow: 0 18px 42px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f4f5;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  margin: 0 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;
}

.top-strip {
  background: #141414;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.strip-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.strip-inner span:last-child {
  color: #e5e7eb;
}

.site-header {
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-main {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: min(360px, 72vw);
  display: block;
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}

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

.search-form {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.18s ease, opacity 0.18s ease;
}

.search-form.is-open {
  width: min(260px, 42vw);
  opacity: 1;
}

.search-form input {
  width: 100%;
  height: 44px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
}

.search-form input:focus {
  outline: 2px solid rgba(185, 28, 28, 0.25);
  outline-offset: 2px;
}

.icon-button,
.menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--red-700);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.menu-button {
  display: none;
  gap: 5px;
  align-content: center;
}

.search-icon {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  right: -7px;
  bottom: -4px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.menu-button span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--red-700);
}

.primary-nav {
  background: var(--red-700);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-scroll {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.primary-nav a {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  padding: 12px 18px;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(0, 0, 0, 0.16);
  color: #ffffff;
}

.breaking-news {
  background: #18181b;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  color: #ffffff;
}

.ticker {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.ticker strong {
  background: var(--red-700);
  color: #ffffff;
  min-width: 64px;
  padding: 8px 12px;
  font-size: 0.78rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: #f4f4f5;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-track a {
  color: #ffffff;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-track a:hover,
.ticker-track a:focus-visible {
  color: #fecdd3;
}

.ticker-separator {
  color: #fca5a5;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.72fr);
  gap: 28px;
  padding: 32px 0 22px;
}

.lead-grid,
.lead-story,
.lead-content,
.side-column,
.compact-story,
.compact-story > div,
.news-card,
.list-story,
.list-story > div,
.culture-grid article {
  min-width: 0;
}

.lead-story,
.compact-story,
.tip-box,
.news-card,
.list-story,
.culture-grid article,
.ad-band,
.feature-panel {
  border: 1px solid var(--line);
  background: var(--blue-050);
}

.story-link {
  color: inherit;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.story-link:hover,
.story-link:focus-visible {
  border-color: rgba(159, 7, 21, 0.32);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.16);
  transform: translateY(-2px);
  outline: none;
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-color: var(--line);
}

.lead-content {
  padding: 26px;
}

.lead-content h1,
.section-title h2,
.feature-inner h2 {
  font-family: "Merriweather", Georgia, serif;
}

.lead-content h1 {
  max-width: 760px;
  margin: 10px 0 12px;
  color: var(--blue-950);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.lead-content p {
  max-width: 720px;
  color: #344054;
  font-size: 1.08rem;
}

.meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  color: var(--red-700);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tag::before {
  content: "";
  width: 20px;
  height: 3px;
  margin-right: 8px;
  background: currentColor;
}

.side-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.compact-story {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 16px;
  padding: 14px;
}

.compact-story h2,
.tip-box h2 {
  margin: 8px 0 0;
  color: var(--blue-950);
  font-size: 1.08rem;
  line-height: 1.24;
}

.tip-box {
  padding: 22px;
  background: #18181b;
  color: #ffffff;
}

.tip-box .tag,
.tip-box p {
  color: #fecdd3;
}

.tip-box h2 {
  color: #ffffff;
  font-size: 1.36rem;
}

.tip-box form {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.tip-box input,
.tip-box textarea {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  resize: vertical;
}

.tip-box input::placeholder,
.tip-box textarea::placeholder {
  color: #cbd5e1;
}

.tip-box button,
.text-button {
  border: 0;
  background: var(--red-600);
  color: #ffffff;
  font-weight: 800;
  padding: 13px 16px;
  cursor: pointer;
  text-align: center;
}

.tip-box p {
  min-height: 20px;
  margin: 10px 0 0;
  font-size: 0.86rem;
}

.hidden-field {
  display: none;
}

.story-media {
  min-height: 190px;
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #262626;
}

.story-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.story-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 0.78rem;
}

.story-media:not(:has(img))::before,
.story-media:not(:has(img))::after {
  content: "";
  position: absolute;
  inset: auto;
}

.story-media:not(:has(img))::before {
  width: 68%;
  height: 68%;
  right: -18%;
  bottom: -20%;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(-18deg);
}

.story-media:not(:has(img))::after {
  left: 18px;
  bottom: 18px;
  width: 52%;
  height: 9px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 -20px 0 rgba(255, 255, 255, 0.46), 0 -40px 0 rgba(255, 255, 255, 0.28);
}

.media-city {
  min-height: 390px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(159, 7, 21, 0.18)),
    linear-gradient(145deg, #18181b 0%, #52525b 48%, #c1121f 49%, #7f101c 100%);
}

.media-politics,
.media-assembly {
  background: linear-gradient(135deg, #18181b, #52525b 55%, #9f0715);
}

.media-health {
  background: linear-gradient(135deg, #27272a, #71717a 55%, #c1121f);
}

.media-map {
  background: linear-gradient(135deg, #fafafa, #d4d4d8 50%, #7f101c 51%, #18181b);
}

.media-interview,
.media-service {
  background: linear-gradient(135deg, #18181b, #52525b 52%, #c1121f);
}

.media-city-small {
  background: linear-gradient(135deg, #18181b, #71717a 52%, #c1121f);
}

.media-police,
.media-justice {
  background: linear-gradient(135deg, #09090b, #27272a 55%, #9f0715);
}

.media-culture {
  background: linear-gradient(135deg, #18181b, #a3a3a3 45%, #9f0715);
}

.media-music {
  background: linear-gradient(135deg, #18181b, #57534e 48%, #c1121f);
}

.media-football {
  background: linear-gradient(135deg, #18181b, #3f3f46 52%, #c1121f);
}

.media-stadium {
  background: linear-gradient(135deg, #18181b, #52525b 54%, #b91c1c);
}

.media-running {
  background: linear-gradient(135deg, #18181b, #52525b 50%, #9f0715);
}

.compact-story .story-media {
  min-height: 104px;
}

.ad-band {
  min-height: 92px;
  margin: 10px auto 34px;
  display: grid;
  place-items: center;
  color: var(--blue-950);
  background:
    linear-gradient(90deg, rgba(159, 7, 21, 0.12), rgba(24, 24, 27, 0.08)),
    #ffffff;
  text-align: center;
}

.ad-box {
  min-height: 230px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(153, 177, 217, 0.34);
  background:
    linear-gradient(135deg, rgba(159, 7, 21, 0.2), rgba(255, 255, 255, 0.08)),
    #18181b;
  color: #ffffff;
  text-align: center;
}

.ad-box span {
  color: #e5e7eb;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ad-box strong {
  font-size: 1.35rem;
}

.ad-band span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.ad-band strong {
  display: block;
  font-size: 1.15rem;
}

.section-block {
  padding: 14px 0 34px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 3px solid #d4d4d8;
  margin-bottom: 20px;
}

.section-title h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-title a {
  color: var(--red-700);
  font-weight: 800;
  padding-bottom: 8px;
}

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

.news-card {
  overflow: hidden;
}

.news-card .story-media {
  min-height: 190px;
}

.news-card .tag,
.news-card h3,
.news-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.news-card .tag {
  margin-top: 18px;
}

h3 {
  margin: 8px 0 8px;
  color: var(--blue-950);
  font-size: 1.2rem;
  line-height: 1.25;
}

.news-card p,
.list-story p,
.feature-inner p,
.site-footer p {
  color: var(--muted);
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.list-story {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.list-story .story-media {
  min-height: 122px;
}

.list-story p {
  margin: 0;
}

.feature-row {
  margin: 20px 0 34px;
  background: #18181b;
  color: #ffffff;
}

.feature-inner {
  min-height: 280px;
  display: grid;
  grid-template-columns: 1fr 310px;
  align-items: center;
  gap: 36px;
  padding: 44px 0;
}

.feature-inner .tag {
  color: #fecdd3;
}

.feature-inner h2 {
  max-width: 780px;
  margin: 10px 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
}

.feature-inner p {
  max-width: 720px;
  color: #e5e7eb;
}

.health-link {
  color: inherit;
  display: block;
}

.health-link:hover h2,
.health-link:focus-visible h2 {
  color: #fecdd3;
}

.feature-panel {
  min-height: 190px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 26px;
  background: var(--red-700);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-panel strong {
  font-size: 2rem;
}

.culture-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}

.culture-grid article {
  overflow: hidden;
  padding-bottom: 18px;
}

.culture-grid .tag,
.culture-grid h3 {
  margin-left: 18px;
  margin-right: 18px;
}

.culture-grid .tag {
  margin-top: 18px;
}

.culture-grid article:first-child .story-media {
  min-height: 260px;
}

.site-footer {
  margin-top: 20px;
  padding: 28px 0;
  background: #ffffff;
  color: #111827;
  border-top: 4px solid var(--red-700);
}

.footer-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand-logo {
  width: min(260px, 72vw);
}

.footer-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer a {
  color: #3f3f46;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--red-700);
}

.site-footer .brand {
  display: flex;
  margin: 0;
  color: inherit;
}

.site-footer p {
  margin: 0;
  color: #71717a;
  font-size: 0.86rem;
}

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

.category-page {
  padding: 34px 0 0;
}

.category-header {
  display: grid;
  gap: 8px;
  padding: 26px 0 24px;
  border-bottom: 4px solid var(--red-700);
}

.category-header span {
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-header h1 {
  margin: 0;
  color: var(--blue-950);
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
}

.category-grid {
  padding: 28px 0 42px;
}

.category-featured {
  margin-bottom: 24px;
}

.category-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.category-lead .story-media {
  min-height: 360px;
}

.category-lead .tag,
.category-lead h3,
.category-lead p {
  margin-left: 26px;
  margin-right: 26px;
}

.category-lead .tag {
  margin-top: 28px;
}

.category-lead h3 {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
}

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

.primary-nav a.is-active {
  background: rgba(0, 0, 0, 0.22);
}

.empty-state,
.thanks-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 28px;
}

.empty-state h2,
.thanks-card h1 {
  margin: 8px 0;
  color: var(--blue-950);
  font-family: "Merriweather", Georgia, serif;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 24px;
  width: min(620px, calc(100% - 32px));
  margin: 0 auto;
}

.article-page {
  padding: 34px 0 0;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.article-main {
  min-width: 0;
  background: var(--blue-050);
  border: 1px solid var(--line);
}

.article-main > *:not(.article-hero) {
  margin-left: 34px;
  margin-right: 34px;
}

.article-kicker {
  width: fit-content;
  margin-top: 32px;
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-main h1 {
  max-width: 860px;
  margin-top: 14px;
  margin-bottom: 16px;
  color: var(--blue-950);
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.04;
}

.article-subtitle {
  max-width: 780px;
  color: #344054;
  font-size: 1.2rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-hero {
  min-height: 440px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-body {
  max-width: 760px;
  padding: 26px 0 12px;
}

.article-body p {
  margin: 0 0 20px;
  color: #1d2939;
  font-size: 1.08rem;
  line-height: 1.78;
}

.article-note {
  max-width: 760px;
  margin-bottom: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.article-side {
  position: sticky;
  top: 18px;
}

.related-news {
  grid-column: 1 / -1;
  padding: 8px 0 40px;
}

@media (max-width: 900px) {
  .header-main {
    min-height: 86px;
  }

  .brand {
    width: min(300px, 76vw);
  }

  .primary-nav {
    display: block;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-scroll {
    display: flex;
    gap: 2px;
    padding-bottom: 0;
  }

  .primary-nav a {
    padding: 12px 14px;
    border-bottom: 0;
  }

  .lead-grid,
  .two-columns,
  .feature-inner,
  .culture-grid,
  .latest-list,
  .category-lead,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .footer-minimal {
    display: grid;
    justify-items: start;
  }

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

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

  .feature-panel {
    min-height: 130px;
  }

  .article-side {
    position: static;
  }

  .article-main > *:not(.article-hero) {
    margin-left: 24px;
    margin-right: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .strip-inner {
    display: grid;
    justify-content: start;
    gap: 2px;
    padding: 7px 0;
  }

  .brand {
    width: min(245px, calc(100vw - 112px));
  }

  .header-actions {
    gap: 8px;
  }

  .search-form.is-open {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% - 8px);
    width: auto;
    z-index: 5;
  }

  .site-header {
    position: relative;
  }

  .ticker {
    min-height: 50px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ticker-track {
    display: flex;
    gap: 10px;
    text-overflow: ellipsis;
  }

  .ticker-track a {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lead-grid {
    padding-top: 20px;
  }

  .media-city {
    min-height: 260px;
  }

  .lead-content {
    padding: 18px;
    max-width: 100%;
  }

  .lead-content h1 {
    max-width: 100%;
    font-size: 1.32rem;
    line-height: 1.16;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .article-main > *:not(.article-hero) {
    margin-left: 18px;
    margin-right: 18px;
  }

  .article-main h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .article-subtitle,
  .article-body p {
    font-size: 1rem;
  }

  .article-hero {
    min-height: 250px;
  }

  .article-page {
    padding-top: 22px;
  }

  .lead-content p {
    font-size: 0.96rem;
  }

  .lead-content p,
  .compact-story h2,
  .list-story h3,
  .list-story p,
  .news-card h3,
  .news-card p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .compact-story h2 {
    font-size: 0.98rem;
  }

  .compact-story,
  .list-story {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .compact-story .story-media,
  .list-story .story-media {
    min-height: 128px;
  }

  .tip-box button {
    min-height: 44px;
  }

  .card-grid,
  .category-list {
    grid-template-columns: 1fr;
  }

  .category-lead .story-media {
    min-height: 230px;
  }

  .category-lead .tag,
  .category-lead h3,
  .category-lead p {
    margin-left: 18px;
    margin-right: 18px;
  }

  .category-lead h3 {
    font-size: 1.55rem;
  }
}
