:root {
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
  --content-width: 1600px;
  --page-gutter: 20px;
  --gap-xs: 6px;
  --gap-sm: 10px;
  --gap-md: 14px;
  --gap-lg: 18px;
  --radius-sm: 3px;
  --radius-md: 5px;
  --bg: #f8f8f9;
  --surface: #fff;
  --border: #e5e9f0;
  --border-strong: #d7ddea;
  --text: #081426;
  --muted: #6c7480;
  --blue: #0759c8;
  --blue-dark: #03359d;
  --orange: #f45b13;
  --red: #e24a2a;
  --green: #159447;
  --purple: #7b3fc7;
  --chip: #edf0f3;
  --shadow: 0 6px 18px rgba(10, 25, 47, 0.05);
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.35;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: var(--content-width);
  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 utility bar */
.utility {
  height: 29px;
  border-bottom: 1px solid #edf0f4;
  background: #fbfbfc;
  color: #515b69;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 29px;
  gap: 18px;
}

.weather {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 10px;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 18px;
  padding: 0 8px;
  border: 1px solid #dce5f2;
  border-radius: var(--radius-sm);
  background: #eef5fd;
  color: #496b93;
  font-weight: 600;
}

.utility-svg {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
}

.utility-svg svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calendar-icon {
  color: #8facd6;
}

.weather-current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3a4655;
}

.weather-icon {
  width: 15px;
  height: 15px;
  color: #f4b022;
}

.utility-links {
  display: flex;
  justify-content: center;
  gap: 29px;
  flex: 1;
  font-size: 10px;
  font-weight: 500;
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  width: auto;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
}

.socials a {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  line-height: 1;
  color: #6d7785;
}

.socials a:hover {
  color: var(--blue);
}

.socials .rss {
  color: #f45b13;
}

/* Main navigation */
.masthead {
  height: 59px;
  border-bottom: 1px solid #e8ebf1;
  background: var(--surface);
}

.masthead-inner {
  display: flex;
  align-items: center;
  height: 59px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: 170px;
}

.brand > a {
  display: inline-flex;
  flex-direction: column;
}

.brand span {
  color: #0c1a31;
  font-size: 26px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.4px;
}

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

.brand small {
  margin-top: 4px;
  color: #5e6671;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .9px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
}

.main-nav span {
  color: #5f6c7a;
  font-size: 9px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #061224;
}

.icon-btn .utility-svg {
  width: 19px;
  height: 19px;
}

.subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 31px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

/* Breaking news ticker */
.breaking {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 42px;
  margin-top: 4px;
  gap: 16px;
  padding-right: 10px;
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--border);
}

.breaking-label {
  display: grid;
  min-width: 104px;
  height: 30px;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
}

.breaking-feed {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.breaking-story {
  min-width: 0;
  overflow: hidden;
  color: #0b1628;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-time {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  color: #e06043;
  font-size: 10px;
  white-space: nowrap;
}

.ticker-time::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
}

.breaking-more {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

/* Hero and sidebar */
.top-grid {
  display: grid;
  grid-template-columns: 459px 168px 179px;
  gap: var(--gap-sm);
  margin-top: 12px;
}

.hero-card,
.panel,
.section-box,
.market-card,
.app-promo {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  height: 289px;
  overflow: hidden;
  background: url("../images/hero-clean.jpg") center / cover no-repeat;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 13, 25, .99) 0%, rgba(4, 13, 25, .98) 48%, rgba(4, 13, 25, .58) 69%, rgba(4, 13, 25, .04) 100%),
    linear-gradient(180deg, rgba(3, 11, 22, .18), rgba(3, 11, 22, .35));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 430px;
  padding: 36px 0 0 18px;
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 8px;
  border-radius: 2px;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.badge.blue {
  background: var(--blue);
}

.hero-card h1 {
  margin: 6px 0 10px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.1px;
}

.hero-card p {
  width: 370px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .9);
  font-size: 9px;
  line-height: 1.45;
}

.meta {
  color: rgba(255, 255, 255, .86);
  font-size: 9px;
}

.meta span {
  margin: 0 6px;
  color: rgba(255, 255, 255, .55);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  margin-top: 10px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.hero-content .primary-btn,
.hero-content .primary-btn:visited,
.hero-content .primary-btn:hover,
.hero-content .primary-btn:focus-visible {
  color: #fff !important;
}

.panel {
  height: 289px;
  padding: 13px 12px 11px;
}

.panel h2,
.section-head h2,
.section-line h2,
.partners h2 {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2px;
}

.news-list,
.rank-list,
.category-card ul,
.market-card ul,
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.time-list {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}

.time-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 7px;
  align-items: start;
}

.time-list time {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
}

.time-list span {
  font-size: 9px;
  font-weight: 650;
  line-height: 1.25;
}

.outline-btn {
  display: inline-grid;
  width: 100%;
  min-height: 34px;
  margin-top: auto;
  place-items: center;
  align-self: stretch;
  padding: 0 12px;
  place-items: center;
  border: 1px solid #a8c3ea;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.rank-list {
  display: grid;
  gap: 9px;
  margin-top: 13px;
  counter-reset: popular;
}

.rank-list li {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 9px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2f7;
}

.rank-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rank-list span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.rank-list p {
  margin: -2px 0 0;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.23;
}

.rank-list small {
  display: block;
  margin-top: 2px;
  color: #8a93a0;
  font-size: 8px;
  font-weight: 600;
}

.popular .outline-btn {
  margin-top: 10px;
}

.latest,
.popular {
  display: flex;
  flex-direction: column;
}

.latest .time-list,
.popular .rank-list {
  flex: 1 1 auto;
}

.latest h2,
.popular h2 {
  margin-bottom: 2px;
}

/* Trending topics */
.trending {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 24px;
  margin-top: 8px;
  padding-left: 12px;
}

.trending strong {
  margin-right: 5px;
  font-size: 10px;
  font-weight: 900;
}

.trending a {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--chip);
  color: #343b45;
  font-size: 10px;
  font-weight: 800;
}

/* Editor picks */
.editor-section {
  position: relative;
  height: 182px;
  margin-top: 9px;
  padding: 9px 10px 10px;
}

.section-head {
  height: 17px;
}

.editor-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 5);
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.editor-grid::-webkit-scrollbar {
  display: none;
}

.story-card img {
  width: 100%;
  height: 79px;
  border-radius: var(--radius-sm);
  -o-object-fit: cover;
     object-fit: cover;
}

.story-card h3 {
  margin: 8px 0 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.story-card p {
  margin: 0;
  color: #8a93a0;
  font-size: 9px;
}

.carousel-next {
  position: absolute;
  right: 9px;
  top: 80px;
  display: grid;
  width: 26px;
  height: 32px;
  place-items: center;
  border: 1px solid #d9e2f1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 13px rgba(10, 25, 47, .12);
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.carousel-next:hover,
.carousel-next:focus-visible {
  background: #fff;
  color: var(--blue);
  border-color: #a8c3ea;
  box-shadow: 0 7px 16px rgba(10, 25, 47, .16);
}

/* Category strip */
.category-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 194px;
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
}

.category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 8px 9px;
  border-right: 1px solid var(--border);
}

.category-card:last-child {
  border-right: 0;
}

.category-card h2 {
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 900;
}

.category-card ul a,
.category-card li {
  color: #1f2b3a;
}

.category-card h2 a,
.category-card .category-link {
  color: inherit;
}

.category-card.tone-blue { color: var(--blue); }
.category-card.tone-orange { color: var(--orange); }
.category-card.tone-purple { color: #5b4cd6; }
.category-card.tone-green { color: var(--green); }
.category-card.tone-magenta { color: #cf3c97; }
.category-card.tone-pink { color: #f0427a; }

.category-card li {
  margin-bottom: 5px;
  font-size: 10px;
  line-height: 1.12;
}

.category-card .category-link {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 800;
}

.category-card img {
  width: 90px;
  height: 58px;
  margin-top: auto;
  border-radius: var(--radius-sm);
  -o-object-fit: cover;
     object-fit: cover;
}

/* Newsletter banner */
.newsletter {
  display: grid;
  grid-template-columns: 198px 1fr 392px;
  align-items: center;
  min-height: 118px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #0b66df 0%, #0046bc 100%);
  color: #fff;
  padding: 12px 22px 12px 8px;
}

.newsletter img {
  width: 178px;
  height: 94px;
  margin-left: 8px;
  -o-object-fit: contain;
     object-fit: contain;
}

.newsletter h2 {
  margin: 0 0 7px;
  font-size: 22px;
  font-weight: 850;
}

.newsletter p {
  margin: 0;
  font-size: 12px;
}

.newsletter form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 132px;
  gap: 10px;
  align-items: center;
  padding-right: 0;
}

.newsletter input {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #c9d7ee;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 10px;
}

.newsletter button {
  min-width: 132px;
  height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 0 16px;
}

.newsletter small {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-size: 9px;
}

/* Video and market indicators */
.media-market {
  display: grid;
  grid-template-columns: 524px 286px;
  gap: 16px;
  margin-top: 14px;
}

.video-block,
.market-card {
  height: 158px;
}

.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.section-line .section-link {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  margin-left: auto;
  white-space: nowrap;
}

.video-block {
  padding: 0 0 0 0;
}

.video-block .section-line {
  height: 25px;
  padding-left: 10px;
  padding-right: 2px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.video-card-media {
  position: relative;
  display: block;
}

.video-card img {
  width: 100%;
  height: 75px;
  border-radius: 3px;
  -o-object-fit: cover;
     object-fit: cover;
}

.video-play {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 89, 200, .92);
  color: #fff;
  font-size: 10px;
  box-shadow: 0 6px 12px rgba(10, 25, 47, .18);
}

.video-card h3 {
  margin: 7px 0 3px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.22;
}

.video-card p {
  margin: 0;
  color: #8a93a0;
  font-size: 9px;
}

.market-card {
  padding: 10px 13px 10px;
}

.market-card .section-line {
  height: 18px;
}

.market-card button {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #d9e5f5;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 16px;
  line-height: 1;
}

.market-card ul {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}

.market-card li {
  display: grid;
  grid-template-columns: 62px 83px 58px 44px;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}

.spark-img {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 16px;
}

.spark-img img,
.spark-img svg {
  width: 78px;
  height: 16px;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.market-card em {
  font-style: normal;
  text-align: right;
}

.market-card b {
  font-size: 10px;
  text-align: right;
}

.green { color: var(--green); }
.red { color: var(--red); }

/* Photo gallery */
.gallery {
  min-height: 97px;
  height: auto;
  margin-top: 15px;
  padding: 9px 10px 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.gallery-grid img {
  width: 100%;
  height: 61px;
  border-radius: 3px;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Podcasts and lifestyle */
.podcast-life {
  display: grid;
  grid-template-columns: 330px 480px;
  gap: 16px;
  margin-top: 14px;
}

.podcast,
.lifestyle {
  min-height: 197px;
  height: auto;
  padding: 10px;
}

.featured-podcast {
  display: grid;
  grid-template-columns: 74px 1fr 26px;
  gap: 10px;
  align-items: center;
  height: 78px;
  margin-top: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
}

.featured-podcast img {
  width: 72px;
  height: 72px;
  -o-object-fit: cover;
     object-fit: cover;
}

.podcast-copy h3 {
  margin: 0 0 5px;
  font-size: 10px;
  font-weight: 800;
}

.podcast-copy p,
.podcast-copy span {
  display: block;
  margin: 0 0 3px;
  color: #8a93a0;
  font-size: 9px;
}

.featured-podcast button {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
}

.subhead {
  margin: 7px 0 4px;
  color: #4b5564;
  font-size: 10px;
  font-weight: 700;
}

.episode {
  display: grid;
  grid-template-columns: 34px 1fr 10px;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid #edf0f4;
}

.episode:last-child {
  border-bottom: 0;
}

.episode img {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  -o-object-fit: cover;
     object-fit: cover;
}

.episode strong {
  display: block;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.18;
}

.episode span {
  display: block;
  margin-top: 2px;
  color: #8a93a0;
  font-size: 9px;
}

.episode b {
  color: #98a1ad;
  font-size: 18px;
  line-height: 1;
}

.lifestyle .section-line h2 {
  color: #e44a22;
}

.life-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  margin-top: 2px;
  align-items: start;
}

.life-main {
  width: 220px;
  height: 164px;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
}

.life-list {
  display: grid;
  gap: 9px;
}

.life-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
}

.life-list img {
  width: 52px;
  height: 48px;
  border-radius: 3px;
  -o-object-fit: cover;
     object-fit: cover;
}

.life-list span {
  color: #9a8e9e;
  font-size: 8px;
  font-weight: 900;
}

.life-list h3 {
  margin: 1px 0 2px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.life-list p {
  margin: 0;
  color: #8a93a0;
  font-size: 9px;
}

/* Investigations */
.investigations {
  min-height: 126px;
  height: auto;
  margin-top: 14px;
  padding: 6px 10px 10px;
}

.investigation-grid {
  display: grid;
  grid-template-columns: 247px 247px 1fr;
  gap: 9px;
  margin-top: 5px;
}

.investigation-grid img {
  width: 100%;
  height: 101px;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Partners and app recommendation */
.partners-app {
  display: grid;
  grid-template-columns: 526px 286px;
  gap: 14px;
  margin-top: 14px;
}

.partners {
  height: 88px;
  padding: 10px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin-top: 11px;
}

.logo-grid img {
  width: 100%;
  height: 44px;
  border: 1px solid #edf0f4;
  border-radius: 3px;
  background: #fff;
  -o-object-fit: contain;
     object-fit: contain;
}

.app-promo {
  width: 286px;
  height: 88px;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Footer */
.site-footer {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  background: #fff;
  height: 98px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 150px 154px 122px 94px 1fr;
  gap: 18px;
  height: 67px;
  padding: 6px 12px 2px;
}

.brand.small {
  width: auto;
}

.brand.small span {
  font-size: 17px;
}

.footer-brand p,
.footer-newsletter p {
  margin: 5px 0;
  color: #77808b;
  font-size: 8px;
  line-height: 1.18;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  color: #6b7583;
}

.footer-socials a:hover {
  color: var(--blue);
}

.footer-socials .utility-svg {
  width: 15px;
  height: 15px;
}

.footer-socials a .utility-svg {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid #d8dee7;
  border-radius: 50%;
  color: currentColor;
}

.site-footer h3 {
  margin: 0 0 4px;
  font-size: 8px;
  font-weight: 900;
}

.site-footer li {
  margin-bottom: 1px;
  color: #65707d;
  font-size: 8px;
  line-height: 1.08;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.footer-newsletter form {
  display: grid;
  grid-template-columns: 105px 62px;
  gap: 6px;
}

.footer-newsletter input {
  height: 24px;
  padding: 0 8px;
  border: 1px solid #d7ddea;
  border-radius: 3px;
  font-size: 8px;
}

.footer-newsletter button {
  height: 24px;
  border: 0;
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 21px;
  border-top: 1px solid #edf0f4;
  color: #8a93a0;
  font-size: 8px;
}

/* Responsive layout keeps the desktop reference intact above 865px. */
@media (max-width: 865px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 32px);
  }

  .utility,
  .masthead {
    height: auto;
  }

  .utility-inner,
  .masthead-inner {
    height: auto;
    min-height: 44px;
    flex-wrap: wrap;
    gap: var(--gap-sm);
    padding: 8px 0;
  }

  .weather,
  .socials,
  .brand {
    width: auto;
  }

  .utility-links,
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: var(--gap-md);
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .header-actions {
    margin-left: auto;
  }

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

  .breaking-feed,
  .breaking-more,
  .ticker-time {
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .top-grid,
  .media-market,
  .podcast-life,
  .partners-app {
    grid-template-columns: 1fr;
  }

  .hero-card {
    height: 340px;
  }

  .hero-content {
    width: min(430px, calc(100% - 24px));
  }

  .hero-card p {
    width: 100%;
  }

  .hero-card h1 {
    font-size: 23px;
  }

  .panel,
  .video-block,
  .market-card,
  .podcast,
  .lifestyle,
  .investigations,
  .partners,
  .gallery,
  .site-footer {
    height: auto;
    overflow: visible;
  }

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

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

  .trending {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 0 8px 12px;
  }

  .newsletter {
    grid-template-columns: 120px 1fr;
    height: auto;
    gap: var(--gap-sm);
    padding: 10px;
  }

  .newsletter img {
    margin-left: 0;
  }

  .newsletter form {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    padding-right: 0;
  }

  .life-grid,
  .investigation-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .life-main,
  .app-promo {
    width: 100%;
  }

  .footer-grid,
  .footer-bottom {
    height: auto;
  }
}

@media (max-width: 560px) {
  .editor-grid,
  .gallery-grid,
  .video-grid,
  .category-strip,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .newsletter {
    grid-template-columns: 1fr;
  }

  .newsletter form,
  .footer-newsletter form {
    grid-template-columns: 1fr;
  }
}

/* Production responsive layer */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
}

a,
button {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(7, 89, 200, .28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1600px, calc(100% - clamp(24px, 4vw, 64px)));
}

.utility,
.masthead,
.site-footer {
  width: 100%;
}

.utility-inner,
.masthead-inner {
  min-height: inherit;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  height: auto;
}

.masthead-inner {
  min-height: 66px;
  gap: clamp(14px, 2vw, 26px);
}

.brand {
  flex: 0 0 auto;
}

.main-nav {
  min-width: 0;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 24px);
}

.main-nav a,
.utility-links a,
.section-line a,
.trending a,
.outline-btn,
.primary-btn,
.subscribe {
  cursor: pointer;
}

.utility-links,
.utility-links a,
.utility-links a:visited {
  color: #616a76;
}

.main-nav,
.main-nav a,
.main-nav a:visited {
  color: #0b1628;
}

.breaking-more,
.breaking-more:visited,
.section-line a,
.section-line a:visited,
.outline-btn,
.outline-btn:visited,
.primary-btn,
.primary-btn:visited {
  color: var(--blue);
}

.subscribe,
.subscribe:visited,
.subscribe:hover {
  color: #fff;
}

.trending a,
.trending a:visited {
  color: #343b45;
}

.time-list a,
.time-list a:visited,
.rank-list a,
.rank-list a:visited,
.story-card a,
.story-card a:visited,
.video-card a,
.video-card a:visited,
.archive-card a,
.archive-card a:visited {
  color: inherit;
}

.main-nav a:hover,
.utility-links a:hover,
.section-line a:hover,
.trending a:hover {
  color: var(--blue);
}

.primary-btn:hover,
.subscribe:hover,
.newsletter button:hover,
.footer-newsletter button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(7, 89, 200, .16);
}

.outline-btn:hover {
  background: #f4f8ff;
  border-color: var(--blue);
}

.header-actions {
  position: relative;
}

.icon-btn,
.icon-btn:hover,
.icon-btn:focus-visible,
.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
  background: transparent;
  color: #061224;
}

.header-actions .search-toggle,
.header-actions .search-toggle:hover,
.header-actions .search-toggle:focus-visible,
.header-actions .search-toggle:active {
  display: inline-grid;
  place-items: center;
  padding: 0;
  background: transparent !important;
  color: #061224 !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  line-height: 0;
}

.header-actions .search-toggle .utility-svg,
.header-actions .search-toggle .utility-svg svg {
  color: #061224;
  stroke: currentColor;
}

.menu-toggle {
  display: none !important;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #061224;
}

.menu-toggle span {
  top: 10px;
}

.menu-toggle::before {
  top: 5px;
}

.menu-toggle::after {
  top: 15px;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: grid;
  width: 210px;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 36px rgba(10, 25, 47, .14);
}

.account-menu[hidden],
.search-panel[hidden],
.toast[hidden] {
  display: none;
}

.account-menu a {
  color: var(--blue);
  font-weight: 700;
}

.text-button {
  min-height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.search-panel {
  position: sticky;
  top: 66px;
  z-index: 25;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-form input,
.newsletter input,
.footer-newsletter input {
  min-width: 0;
}

.search-form input {
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.search-form button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.search-form button,
.search-form button:hover,
.search-form button:focus-visible,
.search-form button:active {
  background: var(--blue) !important;
  color: #fff !important;
}

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

.breaking-story {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-grid {
  grid-template-columns: minmax(0, 2.2fr) minmax(210px, .82fr) minmax(220px, .88fr);
  align-items: stretch;
}

.hero-card {
  height: auto;
  min-height: clamp(320px, 34vw, 470px);
}

.hero-content {
  width: min(560px, calc(100% - 36px));
  padding: clamp(28px, 4vw, 54px) 0 clamp(24px, 4vw, 44px) clamp(18px, 3vw, 34px);
}

.hero-card h1 {
  max-width: 13.5em;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1.1;
}

.hero-card p {
  width: min(440px, 100%);
  font-size: clamp(10px, .95vw, 13px);
}

.panel {
  height: auto;
  min-height: clamp(260px, 31vw, 470px);
}

.time-list,
.rank-list {
  align-content: start;
}

.trending {
  height: auto;
  min-height: 32px;
  flex-wrap: wrap;
  row-gap: 8px;
  padding: 6px 0 6px 12px;
}

.editor-section,
.gallery,
.podcast,
.lifestyle,
.investigations,
.partners,
.site-footer {
  height: auto;
  overflow: visible;
}

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

.story-card img,
.video-card img,
.gallery-grid img,
.category-card img,
.life-list img,
.episode img,
.investigation-grid img,
.logo-grid img {
  height: auto;
  aspect-ratio: var(--ratio, 16 / 9);
}

.story-card img {
  --ratio: 16 / 9;
}

.category-strip {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  min-height: 0;
}

.category-card {
  min-height: 210px;
}

.category-card:nth-child(7n) {
  border-right: 0;
}

.category-card img {
  width: min(100%, 120px);
  --ratio: 3 / 2;
}

.newsletter {
  grid-template-columns: minmax(120px, 180px) minmax(220px, 1fr) minmax(300px, 440px);
  height: auto;
  min-height: 88px;
  padding: 12px clamp(12px, 2vw, 22px);
  gap: clamp(12px, 2vw, 28px);
}

.newsletter img {
  width: min(150px, 100%);
  height: auto;
  margin-left: 0;
}

.newsletter form {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-right: 0;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 14px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.footer-newsletter .form-message {
  color: var(--blue);
}

.media-market {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.video-block,
.market-card {
  height: auto;
}

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

.video-card {
  min-width: 0;
}

.video-card img {
  --ratio: 16 / 10;
}

.market-card li {
  grid-template-columns: minmax(76px, 1fr) minmax(70px, .9fr) minmax(54px, auto) minmax(44px, auto);
}

.market-extra[hidden] {
  display: none;
}

.market-card.is-expanded .market-extra {
  display: grid;
}

.market-card.is-expanded .market-toggle {
  transform: rotate(90deg);
}

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

.gallery-grid img {
  --ratio: 2.35 / 1;
}

.podcast-life {
  grid-template-columns: minmax(300px, .9fr) minmax(440px, 1.35fr);
  align-items: stretch;
}

.life-grid {
  grid-template-columns: minmax(220px, 1.15fr) minmax(180px, .85fr);
}

.life-main {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

.life-list article {
  min-width: 0;
}

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

.investigation-grid img {
  --ratio: 2.35 / 1;
}

.partners-app {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

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

.app-promo {
  width: 100%;
  height: auto;
  aspect-ratio: 3.25 / 1;
}

.footer-grid {
  grid-template-columns: minmax(170px, 1.1fr) minmax(170px, 1fr) minmax(130px, .8fr) minmax(120px, .7fr) minmax(230px, 1fr);
  height: auto;
  gap: clamp(16px, 2.4vw, 32px);
  padding: 18px 12px 14px;
}

.footer-newsletter form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.footer-bottom {
  min-height: 34px;
  height: auto;
  gap: 12px;
  padding: 8px 12px;
}

.toast {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  max-width: min(340px, calc(100vw - 28px));
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: #081426;
  color: #fff;
  box-shadow: 0 18px 36px rgba(10, 25, 47, .22);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .container {
    width: calc(100% - 32px);
  }

  .utility-inner {
    gap: 12px;
  }

  .weather {
    width: auto;
    flex-wrap: wrap;
  }

  .utility-links {
    gap: 16px;
  }

  .top-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .48fr);
  }

  .hero-card {
    grid-row: span 2;
  }

  .popular,
  .latest {
    min-height: 0;
  }

  .editor-grid,
  .video-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .newsletter {
    grid-template-columns: minmax(110px, 150px) 1fr;
  }

  .newsletter form {
    grid-column: 1 / -1;
  }

  .media-market,
  .podcast-life,
  .partners-app {
    grid-template-columns: 1fr;
  }

  .app-promo {
    max-width: 520px;
  }

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

@media (max-width: 760px) {
  body.nav-open,
  body.search-open {
    overflow: hidden;
  }

  .utility-inner {
    justify-content: center;
  }

  .utility-links {
    display: none;
  }

  .socials {
    width: auto;
  }

  .masthead-inner {
    min-height: 60px;
  }

  .menu-toggle {
    display: inline-grid !important;
  }

  .main-nav {
    position: absolute;
    inset: auto 0 auto 0;
    top: 100%;
    z-index: 45;
    display: none;
    width: 100%;
    min-height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 18px 36px rgba(10, 25, 47, .12);
  }

  body.nav-open .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    gap: 8px;
  }

  .main-nav a {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #f9fafc;
  }

  .search-panel {
    top: 60px;
  }

  .breaking {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
    padding: 8px;
  }

  .breaking-feed,
  .breaking-story {
    white-space: normal;
  }

  .breaking-label {
    justify-content: start;
    min-width: 0;
    padding-left: 12px;
  }

  .top-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 420px;
    grid-row: auto;
  }

  .hero-card::before {
    background: linear-gradient(180deg, rgba(4, 13, 25, .9), rgba(4, 13, 25, .72));
  }

  .hero-content {
    width: calc(100% - 28px);
    padding: 28px 0 28px 18px;
  }

  .hero-card h1 {
    max-width: none;
    font-size: clamp(26px, 7vw, 36px);
  }

  .panel {
    min-height: 0;
  }

  .latest,
  .popular,
  .market-card,
  .podcast,
  .lifestyle,
  .investigations,
  .partners {
    padding: 14px;
  }

  .editor-section {
    padding: 12px;
  }

  .editor-grid,
  .video-grid,
  .gallery-grid,
  .investigation-grid,
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .newsletter {
    grid-template-columns: 88px 1fr;
  }

  .newsletter h2 {
    font-size: clamp(20px, 6vw, 28px);
  }

  .life-grid {
    grid-template-columns: 1fr;
  }

  .life-list {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .brand span {
    font-size: 22px;
  }

  .brand small {
    font-size: 6px;
  }

  .header-actions {
    gap: 8px;
  }

  .subscribe {
    width: auto;
    padding: 0 10px;
  }

  body.nav-open .main-nav,
  .editor-grid,
  .video-grid,
  .gallery-grid,
  .investigation-grid,
  .logo-grid,
  .category-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .search-form,
  .newsletter,
  .newsletter form,
  .footer-newsletter form {
    grid-template-columns: 1fr;
  }

  .newsletter img {
    width: 96px;
  }

  .market-card li {
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
  }

  .market-card li .spark-img {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 180px;
  }

  .market-card em,
  .market-card b {
    text-align: left;
  }

  .featured-podcast {
    grid-template-columns: 64px 1fr;
  }

  .featured-podcast button {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

/* WordPress dynamic templates */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.custom-logo-link img,
.custom-logo {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
}

.brand .custom-logo-link {
  min-width: 0;
  max-width: 190px;
  height: 58px;
}

.brand .custom-logo-link img,
.brand .custom-logo {
  max-width: 100%;
  max-height: 52px;
}

.footer-brand .custom-logo-link {
  height: auto;
  max-width: 240px;
}

.footer-brand .custom-logo-link img,
.footer-brand .custom-logo {
  max-width: 220px;
  max-height: 44px;
}

.category-strip .category-card ul a,
.category-strip .category-card li {
  color: #1f2b3a;
}

.category-strip .category-card.tone-blue { color: var(--blue); }
.category-strip .category-card.tone-orange { color: var(--orange); }
.category-strip .category-card.tone-purple { color: #5b4cd6; }
.category-strip .category-card.tone-green { color: var(--green); }
.category-strip .category-card.tone-magenta { color: #cf3c97; }
.category-strip .category-card.tone-pink { color: #f0427a; }

.category-strip .category-card h2 a,
.category-strip .category-card .category-link {
  color: inherit;
}

.editor-section .editor-grid {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 5);
  overflow-x: auto;
  scrollbar-width: none;
}

.editor-section .editor-grid::-webkit-scrollbar {
  display: none;
}

.editor-section .carousel-next,
.editor-section .carousel-next:hover,
.editor-section .carousel-next:focus-visible {
  background: #fff;
  color: var(--blue);
}

.editorial-band {
  margin-top: 14px;
  padding: 12px;
  border-top: 2px solid transparent;
}

.editorial-band.tone-blue { border-top-color: var(--blue); }
.editorial-band.tone-orange { border-top-color: var(--orange); }
.editorial-band.tone-purple { border-top-color: #5b4cd6; }
.editorial-band.tone-green { border-top-color: var(--green); }
.editorial-band.tone-magenta { border-top-color: #cf3c97; }
.editorial-band.tone-pink { border-top-color: #f0427a; }

.editorial-head h2 {
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .2px;
}

.editorial-band.tone-blue .editorial-kicker,
.editorial-band.tone-blue .editorial-head .section-link,
.editorial-band.tone-blue .editorial-head h2 { color: var(--blue); }
.editorial-band.tone-orange .editorial-kicker,
.editorial-band.tone-orange .editorial-head .section-link,
.editorial-band.tone-orange .editorial-head h2 { color: var(--orange); }
.editorial-band.tone-purple .editorial-kicker,
.editorial-band.tone-purple .editorial-head .section-link,
.editorial-band.tone-purple .editorial-head h2 { color: #5b4cd6; }
.editorial-band.tone-green .editorial-kicker,
.editorial-band.tone-green .editorial-head .section-link,
.editorial-band.tone-green .editorial-head h2 { color: var(--green); }
.editorial-band.tone-magenta .editorial-kicker,
.editorial-band.tone-magenta .editorial-head .section-link,
.editorial-band.tone-magenta .editorial-head h2 { color: #cf3c97; }
.editorial-band.tone-pink .editorial-kicker,
.editorial-band.tone-pink .editorial-head .section-link,
.editorial-band.tone-pink .editorial-head h2 { color: #f0427a; }

.editorial-layout {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.editorial-feature {
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr);
}

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

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

.editorial-stack {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
}

.editorial-lead,
.editorial-panel,
.editorial-card {
  min-width: 0;
}

.editorial-lead img,
.editorial-panel img,
.editorial-card img {
  width: 100%;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
}

.editorial-feature .editorial-lead img,
.editorial-stack .editorial-lead img {
  aspect-ratio: 2.2 / 1;
}

.editorial-split .editorial-panel img {
  aspect-ratio: 2.05 / 1;
}

.editorial-grid .editorial-card img {
  aspect-ratio: 16 / 10;
}

.editorial-copy {
  min-width: 0;
  padding-top: 8px;
}

.editorial-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.editorial-copy h3,
.editorial-rail h4,
.editorial-stack-list h4 {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.18;
}

.editorial-copy p,
.editorial-rail p,
.editorial-stack-list p {
  margin: 6px 0 0;
  color: #6d7682;
  font-size: 12px;
  line-height: 1.4;
}

.editorial-rail,
.editorial-stack-list {
  display: grid;
  gap: 12px;
}

.editorial-mini {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}

.editorial-mini:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.editorial-mini img {
  width: 92px;
  height: 72px;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
}

.editorial-mini h4,
.editorial-text h4 {
  font-size: 14px;
}

.editorial-text {
  padding: 0 0 12px;
  border-bottom: 1px solid #eef2f7;
}

.editorial-text:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (max-width: 1480px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .podcast-life {
    grid-template-columns: minmax(320px, .95fr) minmax(0, 1.2fr);
  }

  .life-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
  }

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

  .section-line .section-link {
    margin-left: 0;
  }

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

  .editorial-feature,
  .editorial-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1280px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .podcast-life {
    grid-template-columns: 1fr;
  }

  .podcast,
  .lifestyle,
  .investigations {
    padding: 14px;
  }

  .life-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .life-list article {
    grid-template-columns: 64px 1fr;
  }

  .life-list img {
    width: 64px;
    height: 58px;
  }

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

  .editorial-split,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .editorial-mini {
    grid-template-columns: 78px 1fr;
  }

  .editorial-mini img {
    width: 78px;
    height: 62px;
  }
}

.editor-section {
  overflow: hidden;
}

.editor-section .editor-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 5);
  align-items: start;
  overflow-x: auto;
  overflow-y: hidden;
  padding-right: 44px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.editor-section .story-card {
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.editor-section .story-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.editor-section .story-card p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editor-section .carousel-next {
  top: 50%;
  right: 12px;
  width: 34px;
  height: 42px;
  transform: translateY(-18px);
  border-radius: 999px;
  z-index: 3;
}

.main-nav .menu,
.utility-links .menu {
  display: contents;
}

.main-nav li,
.utility-links li,
.site-footer li {
  list-style: none;
}

.hero-card {
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
}

.hero-content h1 a,
.story-card h3 a,
.video-card h3 a,
.archive-card h2 a,
.single-hero h1 a {
  color: inherit;
}

.archive-layout,
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 22px;
  margin-top: 18px;
}

.archive-main,
.single-article {
  min-width: 0;
}

.archive-header,
.single-hero,
.not-found {
  padding: clamp(18px, 3vw, 32px);
}

.archive-kicker,
.archive-badge {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 18px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-header h1,
.single-hero h1,
.page-header h1,
.not-found h1 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.archive-description,
.single-hero p,
.not-found p {
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

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

.archive-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.archive-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  -o-object-fit: cover;
     object-fit: cover;
}

.archive-card-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.archive-card h2 {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.22;
}

.archive-card p {
  margin: 0;
  color: #56606d;
  font-size: 12px;
  line-height: 1.5;
}

.archive-card .meta {
  color: #7b8491;
}

.archive-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.archive-sidebar .panel {
  min-height: 0;
}

.pagination-wrap {
  margin: 22px 0;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.page-numbers.current {
  background: var(--blue);
  color: #fff;
}

.single-featured {
  margin: 16px 0;
}

.single-featured img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  -o-object-fit: cover;
     object-fit: cover;
}

.single-featured figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.single-content {
  padding: clamp(18px, 3vw, 34px);
}

.single-content,
.single-content p,
.single-content li {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  line-height: 1.2;
}

.single-content img {
  height: auto;
  border-radius: var(--radius-md);
}

.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.single-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--text);
  font-weight: 800;
}

.related-posts {
  margin-top: 18px;
  padding: 14px;
}

.comments-area {
  margin-top: 18px;
  padding: 18px;
}

.comments-head {
  margin-bottom: 12px;
}

.comments-head h2 {
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 900;
  color: #081426;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.comment-list .children {
  list-style: none;
  margin: 14px 0 0 18px;
  padding: 0 0 0 18px;
  border-left: 2px solid #edf2f8;
  display: grid;
  gap: 14px;
}

.comment-body {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.comment-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.comment-author .fn {
  color: #081426;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
}

.comment-author .says {
  display: none;
}

.comment-metadata {
  margin-left: auto;
  color: #7b8491;
  font-size: 12px;
  white-space: nowrap;
}

.comment-metadata a {
  color: inherit;
}

.comment-awaiting-moderation {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff4df;
  color: #9f6a00;
  font-size: 11px;
  font-weight: 800;
}

.comment-content,
.comment-content p {
  color: #394453;
  font-size: 14px;
  line-height: 1.7;
}

.reply {
  margin-top: 10px;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #a8c3ea;
  border-radius: var(--radius-sm);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.comment-respond {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eef2f7;
}

.comment-reply-title {
  margin: 0 0 10px;
  color: #081426;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
}

.comment-notes,
.logged-in-as {
  margin: 0 0 14px;
  color: #66707d;
  font-size: 12px;
  line-height: 1.6;
}

.logged-in-as a {
  color: var(--blue);
  font-weight: 700;
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: #081426;
  font-size: 12px;
  font-weight: 800;
}

.comment-form-comment,
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent,
.form-submit {
  grid-column: 1 / -1;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: #081426;
  font-size: 14px;
}

.comment-form textarea {
  min-height: 170px;
  resize: vertical;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #66707d;
  font-size: 12px;
}

.comment-form-cookies-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.form-submit {
  display: flex;
  justify-content: flex-end;
}

.comment-submit {
  min-width: 210px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.comment-submit:hover,
.comment-submit:focus-visible {
  background: var(--blue-dark);
  color: #fff;
}

.comment-navigation {
  margin-top: 14px;
}

.page-layout {
  margin-top: 18px;
}

.empty-state {
  padding: 20px;
}

.archive-search {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .archive-layout,
  .single-layout {
    grid-template-columns: 1fr;
  }

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

  .comment-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .archive-grid,
  .archive-grid.compact,
  .archive-sidebar {
    grid-template-columns: 1fr;
  }

  .comment-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-metadata {
    margin-left: 0;
    white-space: normal;
  }

  .comment-list .children {
    margin-left: 10px;
    padding-left: 12px;
  }

  .form-submit {
    justify-content: stretch;
  }

  .comment-submit {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .archive-header h1,
  .single-hero h1,
  .page-header h1,
  .not-found h1 {
    font-size: 28px;
  }
}

/* Advertising */
.ad-slot {
  position: relative;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #dfe6f1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(8, 20, 38, .04);
  overflow: hidden;
}

.ad-slot-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f3f7fc;
  color: #7f8897;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ad-slot-frame {
  margin-top: 12px;
  border: 1px dashed #c6d4e7;
  border-radius: 5px;
  background:
    linear-gradient(180deg, #fafcff 0%, #f4f8fd 100%);
  overflow: hidden;
}

.ad-slot-content,
.ad-slot-placeholder {
  width: 100%;
  min-width: 0;
}

.ad-slot-placeholder {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
}

.ad-slot-placeholder strong {
  color: #0b1628;
  font-size: 18px;
  font-weight: 900;
}

.ad-slot-placeholder span {
  color: #6e7785;
  font-size: 12px;
  font-weight: 700;
}

.ad-slot--leaderboard .ad-slot-placeholder {
  min-height: clamp(118px, 16vw, 236px);
}

.ad-slot--banner .ad-slot-placeholder {
  min-height: clamp(118px, 13vw, 182px);
}

.ad-slot--inline .ad-slot-placeholder {
  min-height: clamp(132px, 15vw, 208px);
}

.ad-slot--sidebar .ad-slot-placeholder {
  min-height: clamp(220px, 32vw, 420px);
}

.ad-slot-content iframe,
.ad-slot-content img,
.ad-slot-content ins,
.ad-slot-content object,
.ad-slot-content embed,
.ad-slot-content > div,
.ad-slot-content > a {
  max-width: 100%;
}

.ad-slot-content img,
.ad-slot-content iframe {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.archive-sidebar > .ad-slot:first-of-type {
  margin-top: 0;
}

.single-content .ad-slot {
  margin: 18px 0;
}

@media (max-width: 1100px) {
  .ad-slot--sidebar .ad-slot-placeholder {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .ad-slot {
    padding: 12px;
  }

  .ad-slot-placeholder strong {
    font-size: 16px;
  }
}

/* Footer refinement */
.site-footer {
  margin-top: 24px;
  padding-top: 0;
  height: auto;
  overflow: visible;
  border-top: 1px solid #e8edf5;
  background: #fff;
}

.site-footer a,
.site-footer a:visited {
  color: #66717e;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(290px, 1.2fr) minmax(190px, .82fr) minmax(170px, .72fr) minmax(320px, 1.12fr);
  gap: clamp(24px, 2.4vw, 42px);
  padding: 32px 14px 22px;
  height: auto;
  align-items: start;
}

.footer-brand,
.footer-group,
.footer-newsletter {
  min-width: 0;
}

.footer-brand {
  max-width: 320px;
}

.brand.small span {
  font-size: clamp(30px, 2.3vw, 44px);
  line-height: .94;
}

.footer-brand p,
.footer-newsletter p {
  margin: 12px 0 0;
  color: #7b8491;
  font-size: 12px;
  line-height: 1.55;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #081426;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.site-footer ul {
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 5px;
  color: #697381;
  font-size: 12px;
  line-height: 1.46;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-socials .utility-svg {
  width: 34px;
  height: 34px;
}

.footer-socials a .utility-svg {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d8dee7;
  border-radius: 999px;
  background: #fff;
}

.footer-newsletter {
  justify-self: end;
  width: min(100%, 350px);
}

.footer-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}

.footer-newsletter input {
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d7ddea;
  border-radius: 4px;
  font-size: 12px;
  color: #081426;
  background: #fff;
}

.footer-newsletter button {
  min-width: 112px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  min-height: 0;
  height: auto;
  padding: 14px 14px 18px;
  border-top: 1px solid #edf0f4;
  color: #8a93a0;
  font-size: 11px;
}

.footer-copy {
  margin: 0;
  color: #8a93a0;
}

.footer-contact-link {
  color: #7c8593;
  white-space: nowrap;
  justify-self: end;
}

@media (max-width: 1360px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    max-width: none;
  }

  .footer-newsletter {
    width: 100%;
    justify-self: stretch;
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-newsletter {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-contact-link {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .footer-grid,
  .footer-columns,
  .footer-newsletter form {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    padding: 24px 12px 16px;
  }

  .footer-newsletter {
    width: 100%;
  }

  .brand.small span {
    font-size: 32px;
  }
}

/* Homepage cleanup and mobile refinement */
.media-market--solo {
  display: block;
}

.market-card--full {
  width: 100%;
}

.lifestyle-block {
  margin-top: 14px;
}

.footer-grid--minimal {
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 430px);
  align-items: center;
}

.footer-grid--minimal .footer-brand {
  max-width: 420px;
}

.footer-grid--minimal .footer-newsletter {
  width: 100%;
  justify-self: end;
}

.footer-grid--minimal + .footer-bottom,
.site-footer .footer-bottom {
  grid-template-columns: 1fr auto;
}

@media (max-width: 980px) {
  .footer-grid--minimal {
    grid-template-columns: 1fr;
  }

  .footer-grid--minimal .footer-newsletter {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .editor-section {
    padding: 12px;
  }

  .editor-section .section-head {
    height: auto;
    margin-bottom: 10px;
  }

  .editor-section .editor-grid {
    grid-auto-columns: minmax(170px, 72vw);
    gap: 10px;
    padding-right: 0;
  }

  .editor-section .story-card {
    min-width: 170px;
  }

  .editor-section .story-card img {
    aspect-ratio: 16 / 10;
    border-radius: 6px;
  }

  .editor-section .story-card h3 {
    margin: 8px 0 4px;
    font-size: 15px;
    line-height: 1.24;
  }

  .editor-section .story-card p {
    font-size: 11px;
  }

  .editor-section .carousel-next {
    display: none;
  }

  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .category-card {
    min-height: 0;
    padding: 14px 12px 12px;
    border: 1px solid #e1e8f2;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(8, 20, 38, .05);
  }

  .category-card h2 a {
    font-size: 14px;
    line-height: 1.1;
  }

  .category-card ul {
    margin: 10px 0 0;
  }

  .category-card li,
  .category-strip .category-card ul a {
    font-size: 12px;
    line-height: 1.42;
  }

  .category-card img {
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
  }

  .newsletter {
    gap: 12px;
    padding: 14px;
  }

  .newsletter h2 {
    font-size: 24px;
  }
}

@media (max-width: 380px) {
  .category-strip {
    grid-template-columns: 1fr;
  }

  .editor-section .editor-grid {
    grid-auto-columns: minmax(160px, 78vw);
  }
}
