:root {
  --paper: #f4f1ea;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #676767;
  --line: #d8d1c5;
  --brand: #073d52;
  --brand-dark: #062f40;
  --red: #a9152b;
  --red-dark: #76101f;
  --orange: #d66b2a;
  --gold: #efc75e;
  --soft: #ece6dc;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
}

.utility-bar,
.brand-strip,
.main-menu,
.breaking-bar,
main,
.site-footer {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  color: #f8f1e5;
  font-size: 13px;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 42px;
  background: var(--red-dark);
  content: "";
}

.utility-bar div,
.utility-bar nav,
.main-menu,
.footer-contact,
.stripe-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-bar strong {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.utility-bar a {
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 241, 234, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand-strip {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(220px, 620px) 58px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 0 16px;
}

.brand {
  display: block;
  min-width: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--red);
  font-weight: 900;
}

.brand img {
  height: auto;
  max-height: 122px;
  object-fit: contain;
  background: transparent;
}

.icon-button,
.menu-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.icon-button {
  font-size: 30px;
}

.menu-button {
  grid-template-rows: repeat(3, 3px) auto;
  gap: 5px;
  color: transparent;
}

.menu-button span {
  width: 22px;
  height: 3px;
  background: var(--ink);
}

.main-menu {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.main-menu a {
  padding: 13px 14px;
  border-bottom: 3px solid transparent;
}

.main-menu a:hover {
  border-bottom-color: var(--orange);
  color: var(--red);
}

.breaking-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  background: var(--red);
  color: #fff;
}

.breaking-bar span {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 14px;
  background: var(--ink);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breaking-bar div {
  overflow: hidden;
  padding: 0 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
}

.search-panel {
  position: sticky;
  top: 190px;
  z-index: 19;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.search-panel form {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.search-panel label,
.events-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.search-field {
  display: flex;
  gap: 8px;
}

input,
textarea,
select {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
}

button,
.search-field button,
.newsletter button,
.comment-form button {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.search-field button,
.newsletter button,
.comment-form button,
.stripe-actions button {
  padding: 12px 16px;
}

main {
  position: relative;
  padding: 24px 0 58px;
}

.section-anchors {
  position: absolute;
  top: -210px;
  pointer-events: none;
}

.billboard-ad {
  display: grid;
  min-height: 96px;
  place-items: center;
  gap: 4px;
  margin-bottom: 22px;
  padding: 18px;
  background: var(--surface);
  border: 1px dashed var(--red);
  text-align: center;
}

.billboard-ad span,
.section-heading span,
.debate-card span,
.commerce-grid span,
.stripe-panel span,
.media-grid span,
.automation-panel strong,
.social-card span,
.ad-box span,
.story-feature span,
.sports-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.billboard-ad strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 34px);
}

.front-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(300px, 0.82fr);
  gap: 22px;
}

.lead-story,
.front-side article,
.weather-card,
.quick-lanes a,
.story-card,
.most-read,
.newsletter,
.social-card,
.media-grid article,
.live-update-card,
.debate-card,
.event-card,
.story-feature,
.sports-card,
.commerce-grid article,
.stripe-panel,
.automation-grid article,
.opinion-item,
.ad-box {
  background: var(--surface);
  border: 1px solid var(--line);
}

.lead-story {
  position: relative;
  min-height: clamp(500px, 58vw, 660px);
  overflow: hidden;
}

.lead-story::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.02) 20%, rgba(17, 17, 17, 0.9) 100%);
}

.lead-story > div {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 44px);
  left: clamp(18px, 4vw, 44px);
  z-index: 1;
  color: #fff;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-label::before {
  width: 9px;
  height: 9px;
  background: currentColor;
  content: "";
}

.lead-story .section-label {
  color: var(--gold);
}

h1 {
  max-width: 880px;
  margin: 12px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6.5vw, 78px);
}

.lead-story p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.front-side {
  display: grid;
  gap: 18px;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.compact-story {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 150px;
}

.compact-story div,
.weather-card,
.most-read,
.newsletter,
.social-card,
.media-grid article,
.debate-card,
.commerce-grid article,
.automation-grid article,
.opinion-item,
.ad-box {
  padding: 18px;
}

.compact-story h2,
.story-card h3,
.feature-row h3,
.debate-card h3,
.event-card h3,
.story-feature h3,
.sports-card h3,
.commerce-grid h3,
.stripe-panel h3,
.opinion-item h3,
.media-grid h3 {
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.compact-story p,
.story-card p,
.feature-row p,
.newsletter p,
.media-grid p,
.debate-card p,
.event-card p,
.story-feature p,
.sports-card p,
.commerce-grid p,
.stripe-panel p,
.automation-grid p,
.ad-box p,
.site-footer p {
  color: var(--muted);
}

.weather-card {
  display: grid;
  align-content: center;
  min-height: 160px;
  background: var(--brand);
  color: #fff;
}

.weather-card span,
.weather-card p {
  color: rgba(255, 255, 255, 0.75);
}

.weather-card strong {
  margin: 4px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
}

.quick-lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 22px 0 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.quick-lanes a {
  min-height: 118px;
  padding: 18px;
}

.quick-lanes strong {
  display: block;
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-lanes span {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.17;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.5vw, 48px);
}

.section-heading.compact h2 {
  font-size: 27px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.tab {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
}

.tab.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.article-list {
  display: grid;
  gap: 15px;
}

.story-card {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  min-height: 172px;
}

.story-card > div {
  padding: 18px;
}

.story-card.hidden {
  display: none;
}

.story-meta,
.time {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 198px;
}

.most-read ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 25px;
}

.most-read li::marker {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
}

.most-read a {
  font-weight: 900;
}

.newsletter form {
  display: grid;
  gap: 8px;
}

.social-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
}

.social-card img {
  aspect-ratio: 1;
  height: auto;
}

.social-card div {
  display: grid;
  gap: 5px;
}

.media-hub,
.live-updates-section,
.section-band,
.agenda-hub,
.stories-section,
.sports-section,
.classifieds-section,
.automation-panel {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 2px solid var(--ink);
}

.media-grid,
.live-updates,
.agenda-grid,
.event-board,
.sports-board,
.commerce-grid,
.automation-grid,
.feature-row {
  display: grid;
  gap: 18px;
}

.media-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.live-player {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  padding: 0;
  overflow: hidden;
}

.live-player > div:last-child {
  padding: 20px;
}

.video-shell {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(135deg, var(--brand), var(--red-dark));
  color: #fff;
  text-align: center;
}

.video-shell span {
  color: var(--gold);
}

.video-shell p {
  max-width: 340px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.live-updates,
.feature-row,
.event-board {
  grid-template-columns: repeat(3, 1fr);
}

.live-update-card img,
.feature-row img,
.event-card img,
.debate-card img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.live-update-card div,
.feature-row article,
.event-card div,
.sports-card > div,
.stripe-panel {
  padding: 18px;
}

.live-update-card h3,
.feature-row h3,
.event-card h3 {
  font-size: 24px;
}

.live-update-card figcaption {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.section-intro {
  max-width: 980px;
  color: var(--muted);
  font-size: 18px;
}

.agenda-grid,
.sports-board,
.opinion-agenda {
  grid-template-columns: repeat(2, 1fr);
}

.comment-form {
  display: grid;
  gap: 8px;
}

.comment-list {
  display: grid;
  gap: 8px;
}

.comment-list p {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.events-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 14px;
}

.events-toolbar h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.story-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
}

.story-feature img {
  min-height: 360px;
}

.story-feature div {
  display: grid;
  align-content: center;
  padding: 28px;
}

.sports-card {
  display: grid;
  grid-template-rows: auto 300px;
}

.sports-card iframe,
.embed-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--ink);
}

.embed-placeholder {
  display: grid;
  place-items: center;
  padding: 22px;
  color: #fff;
  text-align: center;
}

.sports-card a,
.social-card a {
  display: inline-block;
  width: fit-content;
  border-bottom: 2px solid var(--orange);
  font-weight: 900;
}

.commerce-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stripe-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  background: var(--brand-dark);
  color: #fff;
}

.stripe-panel p,
.ad-box p {
  color: rgba(255, 255, 255, 0.78);
}

.stripe-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stripe-actions button {
  white-space: nowrap;
}

.automation-grid {
  grid-template-columns: repeat(3, 1fr);
}

.opinion-agenda {
  display: grid;
  gap: 28px;
  margin-top: 46px;
}

.opinion {
  display: grid;
  gap: 14px;
}

.opinion .section-heading {
  margin-bottom: 4px;
}

.opinion-item strong {
  color: var(--brand);
}

.opinion-item p {
  margin-bottom: 0;
}

.ad-box {
  background: var(--red-dark);
  color: #fff;
}

.ad-box h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.ad-box a {
  color: var(--gold);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.site-footer img {
  max-width: 390px;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.site-footer nav,
.footer-contact {
  align-items: flex-start;
  flex-direction: column;
}

.footer-contact {
  gap: 8px;
}

.article-header {
  position: static;
}

.article-page {
  width: min(900px, calc(100% - 32px));
}

.article-detail {
  padding: 26px 0 54px;
}

.article-detail h1 {
  max-width: 900px;
  margin: 10px 0 14px;
  color: var(--ink);
}

.article-summary {
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
}

.article-figure {
  margin: 24px 0;
}

.article-figure img,
.article-media,
.article-embed {
  width: 100%;
  height: auto;
  max-height: 560px;
  margin: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.article-embed {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.article-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.source-link {
  display: inline-block;
  margin: 0 0 22px;
  color: var(--red);
  font-weight: 900;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
}

.share-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.share-actions a {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 9px 12px;
  font-weight: 900;
}

.article-body {
  max-width: 740px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.7;
}

.article-body p {
  margin-bottom: 22px;
}

@media (max-width: 980px) {
  .utility-bar {
    display: none;
  }

  body::before {
    display: none;
  }

  .brand-strip {
    grid-template-columns: 48px minmax(160px, 1fr) 48px;
  }

  .main-menu {
    display: none;
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0 16px;
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu a {
    width: 100%;
  }

  .search-panel {
    top: 120px;
  }

  .front-grid,
  .content-layout,
  .media-grid,
  .live-player,
  .agenda-grid,
  .event-board,
  .story-feature,
  .sports-board,
  .commerce-grid,
  .stripe-panel,
  .automation-grid,
  .opinion-agenda,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quick-lanes,
  .live-updates,
  .feature-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .brand-strip {
    gap: 10px;
    padding: 12px 0;
  }

  .brand img {
    max-height: 82px;
  }

  .breaking-bar {
    grid-template-columns: 1fr;
  }

  .breaking-bar span {
    min-height: 34px;
  }

  .lead-story {
    min-height: 540px;
  }

  h1 {
    font-size: 38px;
  }

  .compact-story,
  .story-card,
  .quick-lanes,
  .live-updates,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .compact-story img,
  .story-card img {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .search-field,
  .events-toolbar,
  .stripe-actions,
  .utility-bar div,
  .utility-bar nav {
    align-items: stretch;
    flex-direction: column;
  }

  .social-card {
    grid-template-columns: 74px 1fr;
  }

  .stripe-actions button {
    width: 100%;
  }
}
