:root {
  --bg: #f3f4f1;
  --paper: #ffffff;
  --paper-soft: #f7f8f6;
  --ink: #17212b;
  --heading: #111827;
  --muted: #66717d;
  --line: #d9ded8;
  --red: #d23f31;
  --blue: #155e75;
  --gold: #b7791f;
  --cyan: #0f766e;
  --violet: #6c4df6;
  --shadow: 0 14px 34px rgba(23, 33, 43, 0.09);
}

[data-theme="dark"] {
  --bg: #050b15;
  --paper: #091426;
  --paper-soft: #0e1e34;
  --ink: #eef8ff;
  --heading: #cfe9ff;
  --muted: #9fb2c2;
  --line: #16304d;
  --red: #7fa9d6;
  --blue: #8fdfff;
  --gold: #aab9c4;
  --cyan: #7fa9d6;
  --violet: #7c5cff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.48;
}

h1,
h2,
h3,
.section-heading h2,
.lead-copy h1,
.vision-quote h2,
.newsletter-section h2,
.legal-card h2 {
  color: var(--heading);
}

.sky-live h1,
.podcast-feature h3,
.region-card h3 {
  color: white;
}

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

button,
select,
input {
  font: inherit;
}

.site-header,
main,
.footer {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.site-header {
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 8px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch select {
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.65fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px clamp(16px, 4vw, 54px) 18px;
}

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

.signal-mark {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 28px color-mix(in srgb, var(--cyan) 28%, transparent);
}

.signal-mark::before {
  content: "";
  width: 6px;
  height: 24px;
  background: var(--cyan);
  border-radius: 999px;
}

.signal-mark i {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid transparent;
  border-top-color: var(--cyan);
  border-radius: 50%;
}

.signal-mark i:nth-child(1) {
  transform: translateY(-8px) scale(0.8);
}

.signal-mark i:nth-child(2) {
  transform: translateY(-11px) scale(1.25);
  opacity: 0.72;
}

.signal-mark i:nth-child(3) {
  transform: translateY(-14px) scale(1.7);
  opacity: 0.42;
}

.brand-word {
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.brand-word span {
  color: var(--cyan);
}

.masthead p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  text-align: right;
  font-size: 14px;
  font-weight: 700;
}

.masthead .primary-button {
  justify-self: end;
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 0 clamp(16px, 4vw, 54px);
  background: linear-gradient(90deg, #111827, #155e75 58%, #0f766e);
  color: #eef8ff;
}

.section-nav a {
  padding: 13px 14px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-nav a:hover {
  background: color-mix(in srgb, var(--cyan) 24%, transparent);
}

.text-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

[data-theme="dark"] .sun,
body:not([data-theme="dark"]) .moon {
  display: none;
}

.primary-button,
.secondary-button {
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--cyan) 34%, var(--line));
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.primary-button {
  padding: 0 15px;
  background: linear-gradient(135deg, var(--red), #f0b429);
  color: #111827;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(11, 58, 112, 0.24);
}

.secondary-button {
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11, 58, 112, 0.2);
}

.ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px clamp(16px, 4vw, 54px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.ticker strong {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.ticker a {
  color: var(--cyan);
  font-weight: 900;
}

.sky-live {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: center;
  padding: 34px clamp(16px, 4vw, 54px);
  background:
    linear-gradient(120deg, rgba(5, 31, 61, 0.92), rgba(9, 20, 38, 0.82)),
    url("https://images.unsplash.com/photo-1590602847861-f357a9332bbc?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #eef8ff;
  border-bottom: 1px solid var(--line);
}

.live-copy h1 {
  margin: 0;
  max-width: 760px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 74px);
  font-weight: 900;
  line-height: 0.98;
}

.live-copy p:not(.kicker) {
  max-width: 680px;
  color: rgba(238, 248, 255, 0.82);
  font-size: 18px;
}

.live-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: rgba(9, 20, 38, 0.82);
  border: 1px solid rgba(127, 169, 214, 0.28);
  border-radius: 18px;
  box-shadow: 0 0 44px rgba(11, 58, 112, 0.24);
}

.play-button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cyan);
  color: #051f3d;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.live-player strong,
.live-player span {
  display: block;
}

.live-player span {
  color: rgba(238, 248, 255, 0.72);
}

.waveform {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
}

.waveform i {
  width: 10px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
}

.waveform i:nth-child(2),
.waveform i:nth-child(6) {
  height: 36px;
}

.waveform i:nth-child(3),
.waveform i:nth-child(5) {
  height: 48px;
}

.waveform i:nth-child(4) {
  height: 28px;
}

.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px clamp(16px, 4vw, 54px);
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

select,
input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 11px;
  background: var(--paper);
  color: var(--ink);
}

#resultCount {
  margin-left: auto;
  color: var(--muted);
  font-weight: 900;
}

.front-page,
.mission-section,
.content-grid,
.compare-section,
.region-section,
.frontpages-section,
.programming-section,
.podcast-section,
.sources-section,
.business-section,
.legal-section,
.admin-section {
  padding: 28px clamp(16px, 4vw, 54px);
}

.front-page {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.55fr);
  gap: 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.lead-story img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 6px solid var(--red);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

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

.lead-copy h1 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.lead-copy p:not(.kicker) {
  margin: 18px 0;
  color: var(--muted);
  font-size: 18px;
}

.meta-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.impact-high {
  color: var(--cyan);
}

.impact-medium {
  color: var(--gold);
}

.front-sidebar {
  display: grid;
  align-content: start;
  background: transparent;
  border-left: 4px solid var(--line);
  padding-left: 22px;
}

.module-title {
  padding: 10px 0;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.front-sidebar article {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.front-sidebar span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.front-sidebar h2 {
  margin: 5px 0 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  line-height: 1.22;
}

.mission-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
}

.vision-quote {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--cyan) 18%, transparent), transparent 45%),
    var(--paper-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.vision-quote span {
  color: var(--cyan);
  font-size: 86px;
  font-weight: 900;
  line-height: 0.7;
}

.vision-quote h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(28px, 4vw, 54px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.08;
}

.vision-quote p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.values-grid {
  display: grid;
  gap: 14px;
}

.values-grid article {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  border-left: 5px solid var(--cyan);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.values-grid strong {
  display: block;
  color: var(--heading);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.values-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--heading) 38%, var(--line));
}

.section-heading h2 {
  margin: 0 0 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
}

.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 0;
  border-left: 0;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 24px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  padding: 18px 0;
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.news-card:hover,
.frontpage-card:hover,
.schedule-card:hover,
.podcast-item:hover,
.business-grid article:hover,
.admin-card:hover,
.values-grid article:hover,
.source-row:hover,
.source-row-table:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--cyan) 45%, var(--line));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.news-card h3 {
  margin: 6px 0 8px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 25px;
  line-height: 1.2;
}

.news-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.news-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  background: color-mix(in srgb, var(--cyan) 12%, var(--paper-soft));
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

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

.side-block,
.consolidated-card,
.admin-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ranking {
  margin: 8px 0 0;
  padding-left: 22px;
}

.ranking li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.ranking li span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: var(--cyan);
  color: #051f3d;
  border-radius: 50%;
  font-size: 12px;
}

.analysis-block h2 {
  margin: 14px 0 8px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 24px;
}

.analysis-block p,
.consolidated-card p,
.admin-card p {
  color: var(--muted);
}

.preference-box {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.preference-box label {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

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

.community-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 16px;
}

.region-card {
  min-height: 190px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background:
    linear-gradient(180deg, rgba(10, 14, 18, 0.16), rgba(10, 14, 18, 0.9)),
    var(--image);
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.region-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.26);
}

.region-card h3 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 26px;
}

.region-card p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.region-card .signal-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.region-card .signal-status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #9be7ff;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(155, 231, 255, 0.16);
}

.region-card .signal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.region-card.active-signal {
  outline: 3px solid #9be7ff;
  outline-offset: 3px;
}

.legal-note {
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

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

.frontpages-filter {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 16px;
}

.frontpages-filter label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.frontpage-card {
  display: grid;
  min-height: 390px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.frontpage-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.7)),
    var(--cover-image);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

[data-theme="dark"] .frontpage-cover {
  background:
    linear-gradient(180deg, rgba(23, 26, 31, 0.95), rgba(23, 26, 31, 0.72)),
    var(--cover-image);
  background-size: cover;
  background-position: center;
}

.paper-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 3px double var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.paper-name span {
  color: var(--cyan);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.frontpage-cover h3 {
  margin: 18px 0 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 27px;
  line-height: 1.05;
}

.frontpage-lines {
  display: grid;
  gap: 7px;
}

.frontpage-lines i {
  display: block;
  height: 7px;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
}

.frontpage-lines i:nth-child(2) {
  width: 76%;
}

.frontpage-lines i:nth-child(3) {
  width: 54%;
}

.frontpage-meta {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.frontpage-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.frontpage-meta a {
  color: var(--blue);
  font-weight: 900;
}

.compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: 18px;
}

.source-compare {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.source-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 170px;
  gap: 14px;
  align-items: center;
  padding: 15px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.source-row strong {
  color: var(--cyan);
}

.source-row p {
  margin: 0;
  font-weight: 900;
}

.source-row span {
  color: var(--muted);
  font-size: 13px;
}

.consolidated-card {
  border-top: 5px solid var(--cyan);
}

.consolidated-card h3 {
  margin: 0 0 12px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 28px;
  line-height: 1.18;
}

.consolidated-card small {
  display: block;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

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

.schedule-card {
  position: relative;
  min-height: 220px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.schedule-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  border: 18px solid color-mix(in srgb, var(--cyan) 18%, transparent);
  border-radius: 50%;
}

.schedule-card span,
.podcast-feature span,
.source-status {
  color: var(--heading);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

[data-theme="dark"] .schedule-card span,
[data-theme="dark"] .podcast-feature span,
[data-theme="dark"] .source-status {
  color: var(--cyan);
}

.schedule-card h3 {
  margin: 12px 0 8px;
  font-size: 24px;
  line-height: 1.12;
}

.schedule-card p {
  color: var(--muted);
}

.podcast-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
}

.podcast-feature {
  min-height: 360px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, rgba(5, 31, 61, 0.12), rgba(5, 11, 21, 0.9)),
    url("https://images.unsplash.com/photo-1478737270239-2f02b77fc618?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.podcast-feature h3 {
  max-width: 720px;
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
}

.podcast-feature p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.podcast-list {
  display: grid;
  gap: 12px;
}

.podcast-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.podcast-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: color-mix(in srgb, var(--cyan) 18%, var(--paper-soft));
  color: var(--cyan);
  border-radius: 50%;
  font-weight: 900;
}

.podcast-item h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.podcast-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 20px;
  align-items: center;
  padding: 34px clamp(16px, 4vw, 54px);
  background: linear-gradient(120deg, var(--paper-soft), color-mix(in srgb, var(--cyan) 10%, var(--paper)));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter-section h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.newsletter-section p {
  max-width: 640px;
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.sources-table {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.source-row-table {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.source-row-table strong {
  color: var(--ink);
}

.source-row-table span:not(.source-status) {
  color: var(--muted);
  font-weight: 800;
}

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

.business-grid article,
.legal-card {
  padding: 22px;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--heading) 8%, transparent), transparent 55%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.business-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--heading);
  font-size: 22px;
  font-weight: 900;
}

.business-grid p,
.legal-card p {
  color: var(--muted);
}

.legal-card {
  border-left: 6px solid var(--cyan);
}

.legal-card h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.05;
}

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

.admin-card span {
  color: var(--heading);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
}

[data-theme="dark"] .admin-card span {
  color: var(--cyan);
}

.admin-card strong {
  display: block;
  margin: 8px 0;
  font-size: 42px;
  color: var(--cyan);
}

.form-card {
  display: grid;
  gap: 10px;
}

.form-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(16px, 4vw, 54px);
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.pause-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(238, 245, 248, 0.96);
  color: var(--heading);
}

.pause-overlay > div {
  width: min(620px, 100%);
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.pause-overlay strong {
  color: var(--heading);
  font-weight: 900;
  text-transform: uppercase;
}

.pause-overlay h1 {
  margin: 12px 0;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1;
}

.pause-overlay p {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .masthead,
  .front-page,
  .lead-story,
  .sky-live,
  .mission-section,
  .content-grid,
  .compare-layout,
  .podcast-layout,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .masthead {
    align-items: center;
    text-align: center;
  }

  .brand,
  .masthead .primary-button {
    justify-self: center;
  }

  .front-sidebar {
    border-left: 0;
    padding-left: 0;
  }

  .region-grid,
  .frontpages-grid,
  .schedule-grid,
  .business-grid,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .utility-bar,
  .ticker,
  .filters,
  .source-row,
  .source-row-table,
  .podcast-item,
  .news-card,
  .region-grid,
  .frontpages-grid,
  .schedule-grid,
  .business-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .utility-bar,
  .filters,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .filters {
    display: grid;
  }

  #resultCount {
    margin-left: 0;
  }

  .ticker span {
    white-space: normal;
  }

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

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