/* The station's city photograph, record sleeve and programme line-up share one stage. */
.home-refresh .broadcast-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  padding: 0;
  gap: 0;
  width: calc(100% - 40px);
  max-width: 1440px;
  margin: 16px auto 0;
  border: 1px solid #ffffff20;
  border-radius: 24px;
  background: #101115;
  box-shadow: none;
}
.home-refresh .broadcast-stage .hero-city-image {
  inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: none; transform: none;
  opacity: var(--hero-image-opacity-desktop, .44);
}
.home-refresh .broadcast-stage::after {
  background: linear-gradient(90deg, rgb(6 9 15 / .65), rgb(6 9 15 / .42) 33%, rgb(6 9 15 / .06) 62%, rgb(6 9 15 / .14));
}
.home-refresh .broadcast-stage .hero-copy {
  position: relative; z-index: 2;
  max-width: none; min-width: 0;
  padding: clamp(30px, 4.4vw, 70px);
  color: white; text-align: left;
}
.home-refresh .broadcast-stage .hero-local-topline {justify-content: flex-start; gap: 12px;}
.home-refresh .broadcast-stage .eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .34em;
  padding: 0; border: 0; background: none; border-radius: 0; box-shadow: none;
  color: white; font-size: .75rem; font-weight: 800; letter-spacing: .045em;
  text-shadow: 0 1px 4px #000;
}
.broadcast-stage .eyebrow .live-dot {width: 8px; height: 8px; background: #ff5269; box-shadow: 0 0 0 3px #38101880; margin-right: 4px;}
.broadcast-stage #heroFrequency {border-left: 1px solid #a49a90; padding-left: .7em; margin-left: .35em;}
.home-refresh .broadcast-stage .hero-weather {
  background: #101217bf; color: #fff; border: 1px solid #ffffff66; min-height: 34px; box-shadow: none;
}
.home-refresh .broadcast-stage .hero-weather :is(strong, span, small) {color: #fff;}
.home-refresh .broadcast-stage h1 {
  max-width: 13ch; color: #fff; text-shadow: 0 2px 12px #0009; text-align: left;
  font-size: clamp(3.15rem, 5.9vw, 6.1rem); line-height: .99;
  letter-spacing: -.065em; margin: .30em 0 .22em; text-wrap: balance;
}
.home-refresh .broadcast-stage h1 span {color: #ffb8be; background: none; -webkit-text-fill-color: currentColor;}
.home-refresh .broadcast-stage #heroClaim {color: #fff; text-shadow: 0 1px 5px #000; font-size: 1rem; line-height: 1.55; max-width: 34ch; margin: 0 0 1.35rem;}
.home-refresh .broadcast-stage .hero-actions {display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 9px;}
.home-refresh .broadcast-stage .hero-actions .btn {width: auto; flex: 0 1 auto; border-radius: 9px; font-size: .86rem; font-weight: 750; min-height: 46px;}
.home-refresh .broadcast-stage #heroPlay {background: #b91c32; color: #fff; box-shadow: none; border: 1px solid #a41e2e;}
.home-refresh .broadcast-stage #heroRegionNews {color: #fff; border: 1px solid #ffffff75; background: #13171bc4;}
.home-refresh .broadcast-stage .hero-stats {display: flex; gap: clamp(12px,2vw,28px); justify-content: flex-start; margin-top: clamp(16px,2.3vw,32px);}
.broadcast-stage .hero-stats > div {text-align: left;}
.home-refresh .broadcast-stage .hero-stats strong {color: #fff; font-size: 1.1rem; text-shadow: 0 1px 4px #000;}
.home-refresh .broadcast-stage .hero-stats span {color: #fff; text-shadow: 0 1px 4px #000;}

.home-refresh .broadcast-stage .now-card-wrap {position: relative; z-index: 2; width: 100%; margin: 0; align-self: stretch; display: grid; align-items: center; padding: clamp(22px,3.1vw,48px);}
.home-refresh .broadcast-stage .now-card {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 0;
  width: min(100%, 380px); margin: auto; padding: clamp(17px,2vw,26px);
  border: 1px solid #fffcf136; border-radius: 13px;
  background: linear-gradient(155deg,rgba(25,24,29,var(--liveplayer-card-opacity-top,.97)),rgba(12,13,16,var(--liveplayer-card-opacity-bottom,.98)));
  box-shadow: 0 12px 32px #12091152; transform: none; color: white;
}
.home-refresh .broadcast-stage .now-card-artwork::after {content: none;}
.home-refresh .broadcast-stage .now-top {display: flex; flex-wrap: nowrap; align-items: center; gap: 7px; margin: 0 0 16px;}
.broadcast-stage .live-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; border-radius: 0;
  background: none; color: #ffe4e7; font-size: .69rem; letter-spacing: .13em; white-space: nowrap;
}
.broadcast-stage .live-badge::before {content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff6476;}
.broadcast-stage .live-badge .studio-preview, body.is-previewing .broadcast-stage .studio-live {display: none;}
body.is-previewing .broadcast-stage .live-badge .studio-preview {display: inline;}
.broadcast-stage .now-station-switch, .broadcast-stage #shareBtn {min-height: 36px; color: #fff; background: #211e22; border: 1px solid #ffffff32;}
.broadcast-stage #shareBtn {width: 36px; font-size: 1.1rem; border-radius: 50%;}
.broadcast-stage .broadcast-art {width: 100%; max-width: 340px; margin: 0 auto; position: relative; isolation: isolate; display: grid; grid-template-columns: 68% 1fr; align-items: center;}
.home-refresh .broadcast-stage .cover-art {
  grid-area: 1/1; z-index: 1; display: grid; place-items: center; width: 100%; height: auto; max-width: none;
  aspect-ratio: 1; margin: 0; padding: 0; border-radius: 3px; border: 1px solid #ffffff42;
  background: #201d21; box-shadow: 6px 5px 12px #0008; overflow: hidden;
}
.broadcast-stage .cover-art::before,.broadcast-stage .cover-art::after {content: none;}
.home-refresh .broadcast-stage .cover-logo {width: 100%; height: 100%; padding: 0; background: none; border-radius: 0;}
.home-refresh .broadcast-stage .cover-logo img {display: block; width: 100%; height: 100%; padding: 16%; object-fit: contain; border-radius: 0;}
.home-refresh .broadcast-stage .cover-art.has-art img {padding: 0;}
.broadcast-record {
  position: absolute; right: 0; top: 4%; width: 63%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid #928b87; box-shadow: 2px 4px 9px #000b;
  background: radial-gradient(circle, #191519 0 1.5%, #e3c8b6 1.8% 3%, #b6243e 3.2% 25%, transparent 25.4%),
    repeating-radial-gradient(circle, transparent 0 2px, #e1d6ce40 2.6px, transparent 3.9px),
    conic-gradient(from 34deg, #171518, #777073 38deg, #161419 83deg, #242124 176deg, #676064 220deg, #18161b 252deg, #171518);
  animation: cityradio-vinyl 9s linear infinite;
  animation-play-state: paused;
}
@keyframes cityradio-vinyl {to {transform: rotate(360deg);}}
body.is-playing .broadcast-record {animation-play-state: running;}
.home-refresh .broadcast-stage #cardPlay {
  grid-area: 1/1; z-index: 2; place-self: center;
  width: 58px; height: 58px; border: 2px solid #fffc; border-radius: 50%; color: white;
  background: #a31930ed; font-size: 21px; box-shadow: 0 3px 14px #0009;
}
.home-refresh .broadcast-stage .now-meta {grid-area: auto; text-align: left; padding: 0; min-width: 0; margin-top: 14px;}
.home-refresh .broadcast-stage .now-meta h2 {font-size: clamp(20px,2vw,29px); margin: 0; line-height: 1.13; color: #fff; overflow-wrap: anywhere;}
.home-refresh .broadcast-stage .now-meta p {color: #e4d9d7; font-size: 14px; margin: 5px 0 0; line-height: 1.4; text-align: left;}
.broadcast-controls {display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; border-top: 1px solid #ffffff29;}
.home-refresh .broadcast-stage .now-playlist-link {display: inline-flex; align-items: center; gap: 7px; color: #f7e7e3; min-height: 38px; margin: 0; font-size: .79rem;}
.broadcast-controls .volume {max-width: 90px; flex: 0 1 35%;}
.broadcast-controls input {width: 100%;}
.broadcast-stage :is(a,button,input):focus-visible, .station-preset:focus-visible {outline: 3px solid #4a9bff; outline-offset: 3px;}

.broadcast-schedule {
  position: relative; z-index: 2; grid-column: 1/-1; align-self: end;
  width: 100%; display: flex; align-items: center; gap: clamp(12px,3vw,38px);
  padding: 12px clamp(20px,4.4vw,70px); border-top: 1px solid #ffffff31;
  background: #201d21; color: #f8f2e9; text-align: left;
}
.broadcast-schedule [data-home-show] {min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(0,1fr); gap: 2px;}
.broadcast-schedule [data-home-show]:nth-child(2) {border-left: 1px solid #ffffff3b; padding-left: clamp(12px,3vw,38px);}
.broadcast-schedule small {color: #c4bbbc; text-transform: uppercase; font-size: .64rem; font-weight: 750; letter-spacing: .09em;}
.broadcast-schedule [data-home-show="current"] small {color: #ff9ba5;}
.broadcast-schedule strong {font-size: clamp(.9rem,1.25vw,1.1rem); line-height: 1.25; overflow-wrap: anywhere;}
.broadcast-schedule [data-home-show] > span {color: #d8cecc; font-size: .74rem;}
.broadcast-schedule a {display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 40px; font-size: .85rem; font-weight: 750; color: #fff;}
.broadcast-schedule [hidden], .broadcast-stage .hero-weather[hidden] {display: none;}
.home-refresh .station-presets {border-block: 1px solid #ffffff30; padding-block: 21px;}
.home-refresh .station-presets .section-head {margin-bottom: 20px;}
.station-preset-list {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(155px,100%),1fr)); gap: 6px;}
.station-preset {
  display: grid; gap: 5px; min-width: 0; padding: 15px 16px; color: #eee9e1;
  border: 1px solid #ffffff29; border-bottom: 3px solid #767073; border-radius: 6px;
  background: #232124; text-align: left; text-decoration: none; transition: background .18s;
}
.station-preset:hover {background: #383239;}
.station-preset[aria-current] {background: #efe8dc; border-color: #efe8dc; border-bottom-color: #dc3246; color: #241c20;}
.preset-frequency {font-size: clamp(20px,2.45vw,34px); font-weight: 800; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums;}
.preset-frequency small {font-weight: 650; font-size: .6rem; letter-spacing: .04em;}
.station-preset strong {font-size: .86rem;}
.station-preset[aria-current] .preset-frequency {color: #a11c30;}
@media (min-width: 761px) and (max-width: 1020px) {
  .home-refresh .broadcast-stage {grid-template-columns: minmax(0,1fr) minmax(0,.94fr);}
  .home-refresh .broadcast-stage .hero-copy {padding: 26px;}
  .home-refresh .broadcast-stage .now-card-wrap {padding: 22px;}
}
/* The existing CMS mobile opacity also governs tablet widths up to 900px. */
@media (max-width: 900px) {
  .home-refresh .broadcast-stage .hero-city-image {opacity: var(--hero-image-opacity-mobile,.34);}
}
@media (max-width: 760px) {
  .home-refresh .broadcast-stage {width: calc(100% - 20px); grid-template-columns: minmax(0,1fr); margin-top: 8px; border-radius: 17px;}
  .home-refresh .broadcast-stage::after {background: linear-gradient(110deg, rgb(6 9 15 / .60), rgb(6 9 15 / .32) 57%, rgb(6 9 15 / .09));}
  .home-refresh .broadcast-stage .hero-copy {padding: 20px 19px 12px;}
  .home-refresh .broadcast-stage h1 {max-width: 14ch; margin: 12px 0 8px; font-size: clamp(39px,7.8vw,58px);}
  .home-refresh .broadcast-stage .eyebrow {font-size: .67rem;}
  .home-refresh .broadcast-stage #heroClaim {max-width: 42ch; font-size: .86rem; line-height: 1.4; margin: 0 0 12px;}
  .home-refresh .broadcast-stage .hero-actions .btn {font-size: .76rem; min-height: 43px; padding: 9px 13px;}
  .home-refresh .broadcast-stage .hero-stats {display: none;}
  .home-refresh .broadcast-stage .now-card-wrap {display: block; padding: 7px 12px 12px;}
  .home-refresh .broadcast-stage .now-card {width: 100%; max-width: none; padding: 11px 13px; grid-template-columns: minmax(98px,34%) minmax(0,1fr); column-gap: 15px; align-items: center; border-radius: 10px;}
  .home-refresh .broadcast-stage .now-top {grid-column: 1/-1; margin: 0 0 8px;}
  .home-refresh .broadcast-stage .broadcast-art {grid-row: 2/4; grid-column: 1;}
  .home-refresh .broadcast-stage .now-meta {grid-area: 2/2; margin: 0; align-self: end;}
  .home-refresh .broadcast-stage .now-meta h2 {font-size: clamp(16px,4vw,22px); line-height: 1.16;}
  .home-refresh .broadcast-stage .now-meta p {font-size: .78rem; white-space: normal;}
  .home-refresh .broadcast-stage #cardPlay {width: 48px; height: 48px; font-size: 18px;}
  .home-refresh .broadcast-stage .broadcast-controls {grid-area: 3/2; justify-content: flex-start; align-self: start; margin: 3px 0 0; border: 0;}
  .broadcast-controls .volume {display: none;}
  .broadcast-schedule {flex-wrap: wrap; column-gap: 14px; row-gap: 0; padding: 10px 16px;}
  .broadcast-schedule [data-home-show] {flex: 1 1 40%;}
  .broadcast-schedule small {font-size: .57rem;}
  .broadcast-schedule a {font-size: .75rem; min-height: 34px;}
  .station-preset-list {grid-template-columns: repeat(3,minmax(0,1fr));}
  .station-preset {padding: 12px 8px;}
  .station-preset strong {font-size: .74rem; overflow-wrap: anywhere;}
}
@media (prefers-reduced-motion: reduce) {
  .broadcast-record {animation: none;}
  .station-preset {transition: none;}
}
