/* Rainbow Radio Wales — light site design (based on the station's previous website) */

:root {
  --purple: #9900ff;
  --purple-dark: #7a00d0;
  --purple-soft: #f4e9ff;
  --blue: #1b2fd6;
  --ink: #14151a;
  --copy: #41454e;
  --muted: #71757f;
  --bg: #ffffff;
  --soft: #f5f6fa;
  --line: #e4e6ed;
  --line-strong: #d3d6e0;
  --radius: 14px;
  --radius-lg: 18px;
  --wrap: 1140px;
  --display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.07);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--copy);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--purple);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- announcement + header ---------- */

.announcement {
  background: var(--purple);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 0;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff2e88, #ff7a1a 22%, #ffd23f 40%, #3ed598 60%, #37b6f6 80%, #a855f7);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 3px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 7px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-text em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a8e98;
  margin-top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  padding: 9px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #4b4f59;
  border-radius: 7px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--purple);
  background: var(--purple-soft);
}

.nav-link.is-active {
  color: var(--ink);
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 12px 10px;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 11px 18px;
  font-size: 14px;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 8px 20px rgba(153, 0, 255, 0.22);
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(153, 0, 255, 0.28);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-light {
  background: #fff;
  color: var(--purple);
  border-color: #e5d3ff;
}

.btn-light:hover {
  background: #fbf7ff;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 92px 0 132px;
  text-align: center;
  color: #fff;
  background-color: #263041;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 20, 38, 0.42), rgba(12, 20, 38, 0.62));
}

.hero-inner {
  max-width: 860px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 800;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero-tagline {
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(15px, 2vw, 19px);
  color: #fff;
  letter-spacing: 0.01em;
}

.hero-body {
  margin: 20px auto 0;
  max-width: 720px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.hero-actions .btn {
  min-width: 230px;
  padding: 15px 30px;
  font-size: 15.5px;
}

.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ---------- live bar ---------- */

.hero-live {
  max-width: 1020px;
  margin: -68px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 4;
}

.live-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.live-thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.live-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-info h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-top: 9px;
}

.live-kicker {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 6px;
}

.live-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pill-live {
  background: #ffe9f3;
  border: 1px solid #ffc2dd;
  color: #c4006c;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e6007a;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(230, 0, 122, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(230, 0, 122, 0);
  }
}

.up-next {
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}

.up-next strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- sections ---------- */

.section {
  padding: 78px 0;
}

.section-tight {
  padding: 28px 0 78px;
}

.section-alt {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(27px, 3.4vw, 38px);
  color: var(--blue);
  font-weight: 800;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-intro {
  color: var(--muted);
  margin-top: 12px;
  max-width: 60ch;
}

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head-center .section-intro {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  font-family: var(--display);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--copy);
  max-width: 62ch;
  margin-top: 18px;
  line-height: 1.65;
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
}

.text-link:hover {
  color: var(--purple-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- how to listen / cards ---------- */

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

.listen-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.listen-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}

.listen-card-media {
  aspect-ratio: 16 / 9;
  background: var(--soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.listen-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listen-card-media.is-logo {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.listen-card-media.is-logo img {
  object-fit: contain;
  padding: 26px;
}

.listen-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.listen-card-body h3 {
  font-size: 18.5px;
  color: var(--blue);
}

.listen-card-body p {
  font-size: 14.5px;
  color: var(--copy);
}

.listen-card-body .text-link {
  margin-top: auto;
  padding-top: 10px;
}

/* ---------- news ---------- */

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

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}

.news-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-fallback {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9aa0ad;
  padding: 22px;
  text-align: center;
}

.news-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.chip {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 4px 9px;
  border-radius: 999px;
}

.news-body h3 {
  font-size: 19px;
  line-height: 1.25;
  color: var(--blue);
}

.news-body p {
  font-size: 14px;
  color: var(--copy);
  line-height: 1.6;
}

.meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

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

.news-grid-lg .news-card.is-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.news-grid-lg .is-featured .news-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 300px;
}

.news-grid-lg .is-featured .news-body {
  padding: 32px;
  justify-content: center;
}

.news-grid-lg .is-featured .news-body h3 {
  font-size: 27px;
}

.news-grid-lg .is-featured .news-body p {
  font-size: 15.5px;
}

/* ---------- presenters ---------- */

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

.presenter-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.presenter-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}

.presenter-photo {
  margin: 0;
  aspect-ratio: 4 / 3.7;
  overflow: hidden;
  background: var(--soft);
  display: grid;
  place-items: center;
}

.presenter-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.presenter-card:hover .presenter-photo img {
  transform: scale(1.03);
}

.monogram {
  font-family: var(--display);
  font-size: 54px;
  font-weight: 800;
  color: #c9cdd8;
}

.presenter-body {
  padding: 16px 20px 20px;
}

.presenter-body h3 {
  font-size: 19px;
  color: var(--ink);
}

.presenter-body p {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--purple);
  margin-top: 4px;
}

.card-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.presenter-card:hover .card-arrow {
  opacity: 1;
}

.presenter-grid-lg {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ---------- schedule ---------- */

.schedule-list {
  border-top: 1px solid var(--line);
}

.schedule-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.schedule-row:hover {
  background: #fafbfd;
}

.schedule-row.is-now {
  background: var(--purple-soft);
}

.schedule-row.is-now .schedule-title strong {
  color: var(--purple-dark);
}

.schedule-time {
  font-size: 13.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

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

.schedule-title strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

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

.show-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  flex-shrink: 0;
}

.show-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.day-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px 22px 8px;
  box-shadow: var(--shadow);
}

.day-card.is-today {
  border-color: #d7b3ff;
  box-shadow: 0 10px 30px rgba(153, 0, 255, 0.12);
}

.day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.day-head h2 {
  font-size: 20px;
  color: var(--blue);
}

.day-card .schedule-row {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
}

.day-card .schedule-row .pill {
  display: none;
}

.day-card .schedule-row:last-child {
  border-bottom: 0;
}

.day-empty {
  color: var(--muted);
  font-size: 14px;
  padding: 16px 0;
}

/* ---------- events ---------- */

.event-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--purple-soft);
  padding: 12px 6px;
  height: fit-content;
}

.event-day {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  color: var(--purple);
}

.event-month {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--purple-dark);
  margin-top: 4px;
  font-weight: 700;
}

.event-weekday {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.event-body h3 {
  font-size: 19px;
  color: var(--blue);
}

.event-body h3 a:hover {
  color: var(--purple);
}

.event-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 5px;
}

.event-body > p:not(.event-meta) {
  font-size: 14px;
  color: var(--copy);
  margin-top: 9px;
}

.event-list-lg .event-card {
  padding: 24px;
}

.event-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: #fff;
}

.event-cta h3 {
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 7px;
}

.event-cta p {
  color: var(--copy);
  font-size: 14.5px;
  max-width: 56ch;
}

.past-events {
  margin-top: 48px;
}

.past-events h2 {
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 16px;
}

/* ---------- contact strip ---------- */

.contact-strip {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding: 58px 0;
}

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

.contact-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--display);
}

.contact-item strong,
.contact-item a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.contact-item a:hover {
  color: var(--purple);
}

/* ---------- CTA band ---------- */

.cta-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cta-card.is-tinted {
  background: linear-gradient(140deg, #f6ecff, #eef2ff 70%);
  border-color: #e3d4fb;
}

.cta-card h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  color: var(--blue);
}

.cta-card p {
  font-size: 15px;
  color: var(--copy);
  max-width: 46ch;
}

.cta-card .btn {
  margin-top: 6px;
}

/* ---------- page hero / generic pages ---------- */

.page-hero {
  padding: 76px 0 44px;
  background: linear-gradient(180deg, var(--soft), #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  color: var(--blue);
  font-weight: 800;
  max-width: 20ch;
}

.page-hero .eyebrow {
  margin-bottom: 14px;
}

.page-hero .lede {
  margin-top: 16px;
}

.page-hero-note {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--muted);
}

.page-hero-note a {
  color: var(--purple);
  font-weight: 600;
}

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

/* ---------- prose ---------- */

.prose {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--copy);
  max-width: 70ch;
}

.prose > * + * {
  margin-top: 17px;
}

.prose h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  margin-top: 40px;
  color: var(--blue);
}

.prose h3 {
  font-size: 20px;
  margin-top: 30px;
  color: var(--ink);
}

.prose h4 {
  font-size: 17px;
  margin-top: 24px;
  color: var(--ink);
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose a {
  color: var(--purple);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--purple-dark);
}

.prose ul,
.prose ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose li::marker {
  color: var(--purple);
}

.prose blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--purple);
  background: var(--purple-soft);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}

.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 34px 0;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--soft);
  padding: 2px 6px;
  border-radius: 5px;
}

/* ---------- profile ---------- */

.profile {
  padding: 60px 0 84px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 52px;
  align-items: start;
}

.profile-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--soft);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.profile-copy {
  padding-top: 4px;
}

.back-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 18px;
}

.back-link:hover {
  color: var(--purple);
}

.profile-copy h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  color: var(--blue);
}

.profile-role {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--purple);
}

.profile-copy .prose {
  margin-top: 22px;
}

.profile-shows {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.profile-shows h2 {
  font-size: 19px;
  color: var(--blue);
  margin-bottom: 14px;
}

.profile-show {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

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

.profile-show strong {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* ---------- article ---------- */

.article {
  padding-bottom: 84px;
}

.article-head {
  padding: 66px 0 36px;
  max-width: 860px;
}

.article-head h1 {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--blue);
  margin: 14px 0 0;
}

.article-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.article-head .lede {
  margin-top: 18px;
}

.article-image {
  margin-bottom: 42px;
}

.article-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.article-body {
  padding-bottom: 16px;
}

.article-aside {
  position: sticky;
  top: 100px;
}

.aside-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--soft);
}

.aside-card h2 {
  font-size: 19px;
  color: var(--blue);
  margin-bottom: 8px;
}

.aside-card p {
  font-size: 14px;
  color: var(--copy);
  margin-bottom: 16px;
}

.aside-link {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  word-break: break-word;
}

.aside-link:hover {
  color: var(--purple);
}

/* ---------- listen ---------- */

.listen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.listen-primary {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #f6ecff, #eef2ff 70%);
  border: 1px solid #e3d4fb;
}

.listen-primary h2 {
  font-size: clamp(25px, 3vw, 34px);
  color: var(--blue);
  margin: 18px 0 12px;
}

.listen-primary p {
  color: var(--copy);
  margin-bottom: 22px;
}

.listen-ways {
  display: flex;
  flex-direction: column;
}

.listen-way {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.listen-way span {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--purple);
  padding-top: 3px;
}

.listen-way h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 5px;
}

.listen-way p {
  font-size: 14.5px;
  color: var(--copy);
}

.listen-way a {
  color: var(--purple);
  font-weight: 500;
}

.notice {
  font-size: 14px;
  color: #8a5a00;
  border: 1px solid #ffe0a3;
  background: #fff8e6;
  padding: 13px 15px;
  border-radius: 8px;
}

.empty-state {
  padding: 46px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: #fff;
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}

.empty-state h3 {
  font-size: 23px;
  margin-bottom: 10px;
  color: var(--blue);
}

.empty-state p {
  color: var(--copy);
  margin-bottom: 18px;
}

/* ---------- footer ---------- */

.rainbow-rule {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ff2e88, #ff7a1a 22%, #ffd23f 40%, #3ed598 60%, #37b6f6 80%, #a855f7);
}

.site-footer {
  background: #14151b;
  color: #c8cbd4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 38px;
  padding: 56px 0 44px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand .brand-text em {
  color: #8b8f9c;
}

.footer-brand p {
  color: #a5a9b5;
  font-size: 14px;
  max-width: 30ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h3 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b8f9c;
  margin-bottom: 4px;
  font-family: var(--body);
  font-weight: 600;
}

.footer-col a,
.footer-col span {
  font-size: 14px;
  color: #c2c6d0;
  word-break: break-word;
}

.footer-col a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.socials a {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #c2c6d0;
}

.socials a:hover {
  border-color: #fff;
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 12.5px;
  color: #8b8f9c;
}

.footer-admin {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6f7c;
}

.footer-admin:hover {
  color: #c2c6d0;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .listen-cards,
  .news-grid,
  .presenter-grid,
  .presenter-grid-lg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .news-grid-lg .news-card.is-featured {
    grid-column: span 2;
  }

  .page-content,
  .article-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .article-aside {
    position: static;
  }

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

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

  .profile-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 81px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.12);
    max-height: calc(100vh - 81px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 13px 12px;
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding: 68px 0 100px;
  }

  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding: 18px 0 58px;
  }

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

  .live-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
  }

  .live-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .up-next {
    text-align: left;
  }

  .listen-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .profile-photo {
    max-width: 420px;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .event-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

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

  .header-inner {
    gap: 10px;
    height: 72px;
  }

  .site-nav {
    inset: 75px 0 auto 0;
  }

  .brand-text strong {
    font-size: 14.5px;
  }

  .hero h1 {
    font-size: clamp(30px, 9.5vw, 42px);
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .live-card {
    padding: 18px;
  }

  .live-thumb {
    width: 60px;
    height: 60px;
  }

  .listen-cards,
  .news-grid,
  .news-grid-lg,
  .presenter-grid,
  .presenter-grid-lg,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .news-grid-lg .news-card.is-featured {
    display: flex;
    grid-column: auto;
  }

  .news-grid-lg .is-featured .news-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .news-grid-lg .is-featured .news-body {
    padding: 20px;
  }

  .schedule-row,
  .day-card .schedule-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 0;
  }

  .schedule-title {
    flex-wrap: wrap;
    gap: 8px;
  }

  .event-card {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .event-day {
    font-size: 22px;
  }

  .profile-show {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 40px 0 30px;
  }

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

  .listen-primary,
  .cta-card {
    padding: 24px;
  }

  .empty-state {
    padding: 30px 20px;
  }

  .article-head {
    padding: 44px 0 26px;
  }

  .page-hero {
    padding: 48px 0 30px;
  }
}

/* Article media and embeds */
.prose-figure {
  margin: 30px 0;
}

.prose-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.prose-figure figcaption {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

.prose-embed {
  position: relative;
  margin: 30px 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0b0b12;
  box-shadow: var(--shadow);
}

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

.prose-embed.is-audio {
  aspect-ratio: auto;
  height: 152px;
  background: transparent;
  box-shadow: none;
}

.prose-embed.is-audio iframe {
  position: static;
  height: 152px;
  border-radius: 12px;
}

.prose-embed-fallback {
  font-size: 14px;
  word-break: break-word;
}

.ad-slot {
  margin: 30px 0;
}

/* Adverts */
.ad-zone {
  padding: 18px 0 6px;
}

.ad-zone-header {
  border-bottom: 1px solid var(--line);
  background: #fcfcfe;
  padding: 16px 0 18px;
}

.ad-zone-footer {
  padding: 26px 0 8px;
}

.ad-unit {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
  margin: 0;
  overflow: hidden;
}

.ad-unit-house a {
  display: block;
}

.ad-unit img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.ad-label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 7px;
}

.ad-unit-adsense {
  min-height: 100px;
}

.article-aside .ad-unit {
  margin-bottom: 22px;
}

.article-aside .ad-unit img {
  border-radius: 10px;
}

.prose .ad-unit {
  margin: 30px 0;
}

/* News category tabs */
.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.news-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--copy);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.news-tab span {
  background: var(--soft);
  border-radius: 999px;
  padding: 0 7px;
  font-size: 11.5px;
  color: var(--muted);
}

.news-tab:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
}

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

.news-tab.is-active span {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.news-tabs.is-compact {
  margin-bottom: 22px;
}

.chip-star {
  background: #fff3cf;
  color: #7d5200;
}

a.chip:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
}

/* Homepage builder sections */
.home-banner {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}

.home-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 30, 0.1) 0%, rgba(9, 12, 30, 0.72) 100%);
}

.home-banner-copy {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 44px);
  max-width: 620px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.home-banner-copy h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
}

.home-banner-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.section-split-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.section-split-head .eyebrow {
  margin-bottom: 8px;
}

.section-split-head .section-intro {
  margin-bottom: 18px;
}

.section-split-body {
  font-size: 16.5px;
}

.cta-card-wide {
  grid-column: 1 / -1;
  text-align: center;
  justify-items: center;
}

@media (max-width: 860px) {
  .section-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-banner {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------- now playing */

.now-bar {
  background: linear-gradient(90deg, #f8f0ff, #eef1ff);
  border-bottom: 1px solid var(--line);
}

.now-bar[hidden] {
  display: none;
}

.now-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  min-height: 58px;
}

.now-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  flex: none;
}

.now-eq i {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--purple);
  animation: now-eq 1.1s infinite ease-in-out;
}

.now-eq i:nth-child(2) { animation-delay: .18s; }
.now-eq i:nth-child(3) { animation-delay: .36s; }
.now-eq i:nth-child(4) { animation-delay: .54s; }

@keyframes now-eq {
  0%, 100% { height: 5px; opacity: .6; }
  50% { height: 16px; opacity: 1; }
}

.now-art {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .12);
  flex: none;
}

.now-copy {
  display: grid;
  gap: 1px;
  line-height: 1.2;
  min-width: 0;
}

.now-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple-dark);
}

.now-copy strong {
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-requested {
  justify-self: start;
  margin-top: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-dark);
  background: rgba(153, 0, 255, .1);
  border: 1px solid rgba(153, 0, 255, .22);
  border-radius: 999px;
  padding: 2px 9px;
  animation: now-requested-in .3s ease;
}

.now-requested[hidden] { display: none; }

@keyframes now-requested-in {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: none; }
}

.now-cta {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--purple-dark);
  border: 1px solid rgba(153, 0, 255, .28);
  border-radius: 999px;
  padding: 6px 13px;
  white-space: nowrap;
}

.now-cta:hover {
  background: #fff;
  border-color: var(--purple);
}

/* ---------------------------------------------------------------- requests page */

.request-page { padding-bottom: 72px; }

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: 26px;
  align-items: start;
  margin-top: 8px;
}

.request-search h2,
.request-side h2 {
  font-size: 19px;
  margin-bottom: 10px;
}

.request-search-form {
  display: flex;
  gap: 8px;
  margin: 4px 0 12px;
}

.request-search-form input {
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  min-width: 0;
}

.request-search-form input:focus,
.request-fields input:focus,
.request-fields textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(153, 0, 255, .12);
}

.request-count {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 12px;
}

.request-choices {
  display: grid;
  gap: 4px;
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: #fdfdff;
}

.request-choices:empty { display: none; }

.request-count.is-loading { opacity: .55; transition: opacity .15s ease; }

.request-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.request-choice:hover {
  background: var(--soft);
}

.request-choice span {
  display: grid;
  gap: 1px;
  line-height: 1.25;
}

.request-choice strong {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}

.request-choice em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.request-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.request-fields label {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.request-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--purple);
  border-radius: 10px;
  background: #faf7ff;
}

.request-note h3 {
  font-size: 13px;
  margin: 0 0 6px;
  letter-spacing: .02em;
}

.request-note p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.request-fields label:last-child {
  grid-column: 1 / -1;
}

.request-fields input,
.request-fields textarea {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
  width: 100%;
}

.request-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.request-fineprint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.request-side {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.request-side ol {
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  margin: 0 0 12px;
}

.request-side p {
  font-size: 13px;
  color: var(--muted);
}

.form-success {
  background: #eafaf0;
  border: 1px solid #bfeed4;
  color: #0b6b40;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.form-success h2 {
  font-size: 17px;
  margin-bottom: 4px;
  color: inherit;
}

.form-error {
  background: #fff3f5;
  border: 1px solid #f3c3ce;
  color: #a5183a;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .request-layout {
    grid-template-columns: 1fr;
  }

  .request-fields {
    grid-template-columns: 1fr;
  }

  .now-cta {
    display: none;
  }
}
