/*
Theme Name: BWRadio
Theme URI: https://bwradio.in/
Author: TRIBALHOST × TRULY
Author URI: https://tribalhost.net/
Description: Theme WordPress a medida para BWRadio. Desarrollo y arquitectura por TRIBALHOST; dirección creativa por TRULY. Reproductor en vivo, noticias, listas y experiencia responsive optimizada.
Version: 0.18.2
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: bwradio
*/

:root {
  --bw-bg: #07070a;
  --bw-surface: rgba(14, 14, 21, .86);
  --bw-surface-solid: #101016;
  --bw-border: rgba(255, 255, 255, .16);
  --bw-text: #f6f4f8;
  --bw-muted: rgba(246, 244, 248, .68);
  --bw-purple: #a63df2;
  --bw-purple-2: #7c2ce0;
  --bw-pink: #f23ac8;
  --bw-live: #ff375f;
  --bw-max: 1450px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bw-bg);
  color: var(--bw-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.bwradio-menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

.bwradio-container {
  width: min(var(--bw-max), calc(100% - 64px));
  margin-inline: auto;
}

/* Header */
.bwradio-header {
  position: relative;
  z-index: 30;
  height: 86px;
  background:
    linear-gradient(180deg, rgba(6, 6, 10, .96), rgba(6, 6, 10, .82));
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.bwradio-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 38px;
}

.bwradio-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.bwradio-brand__mark {
  width: 58px;
  height: 40px;
  object-fit: contain;
}

.bwradio-brand__copy {
  display: grid;
  line-height: 1;
}

.bwradio-brand__word {
  font-size: 1.55rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.055em;
}

.bwradio-brand__tagline {
  margin-top: 5px;
  font-size: .63rem;
  color: rgba(255,255,255,.72);
  letter-spacing: .01em;
}

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

.bwradio-nav a {
  position: relative;
  padding: 31px 0 29px;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  font-weight: 650;
  transition: color .18s ease;
}

.bwradio-nav a:hover,
.bwradio-nav a:focus-visible {
  color: #fff;
}

.bwradio-nav a.is-active {
  color: #fff;
}

.bwradio-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--bw-purple), var(--bw-pink));
}

.bwradio-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  white-space: nowrap;
}

.bwradio-live__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bw-live);
  box-shadow: 0 0 0 0 rgba(255,55,95,.45);
  animation: bwradioPulse 1.8s infinite;
}

@keyframes bwradioPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,55,95,.42); }
  70% { box-shadow: 0 0 0 8px rgba(255,55,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,55,95,0); }
}

.bwradio-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.bwradio-menu-toggle span,
.bwradio-menu-toggle::before,
.bwradio-menu-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.bwradio-mobile-nav {
  display: none;
}

/* Hero */
.bwradio-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 26%, rgba(132, 42, 196, .24), transparent 32%),
    linear-gradient(90deg, #07070a 0%, #09090f 52%, #0a0810 100%);
}

.bwradio-hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -3;
  width: 59%;
  overflow: hidden;
}

.bwradio-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 35%;
  filter: saturate(1.05) contrast(1.04);
}

.bwradio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(7,7,10,1) 0%,
      rgba(7,7,10,.98) 27%,
      rgba(7,7,10,.78) 48%,
      rgba(7,7,10,.21) 72%,
      rgba(7,7,10,.36) 100%),
    linear-gradient(0deg, rgba(7,7,10,.58), transparent 45%);
}

.bwradio-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(7,7,10,.88));
  pointer-events: none;
}

.bwradio-hero__inner {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 40px;
  align-items: center;
  padding-block: 56px 72px;
}

.bwradio-hero__copy {
  align-self: center;
  max-width: 610px;
}

.bwradio-eyebrow {
  margin: 0 0 12px;
  color: var(--bw-purple);
  font-weight: 900;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: .025em;
}

.bwradio-hero h1 {
  margin: 0;
  max-width: 590px;
  font-size: clamp(3.5rem, 5.3vw, 6.3rem);
  line-height: .85;
  letter-spacing: -.068em;
  font-weight: 950;
  text-transform: uppercase;
}

.bwradio-hero h1 .accent {
  color: var(--bw-purple);
}

.bwradio-hero__slogan {
  margin: 22px 0 0;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  font-weight: 500;
  letter-spacing: .015em;
}

.bwradio-hero__description {
  max-width: 500px;
  margin: 18px 0 0;
  color: var(--bw-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.bwradio-hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.bwradio-cta {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 25px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--bw-purple-2), #bf3ef4);
  box-shadow: 0 12px 34px rgba(152, 43, 232, .22);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.bwradio-cta:hover,
.bwradio-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.bwradio-cta svg {
  width: 16px;
  height: 16px;
}

/* Player */
.bwradio-player-wrap {
  align-self: end;
  justify-self: end;
  width: min(100%, 630px);
  margin-bottom: 22px;
}

.bwradio-player {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(135deg, rgba(16,16,24,.94), rgba(18,16,26,.78));
  box-shadow: 0 22px 70px rgba(0,0,0,.36);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bwradio-player__cover {
  width: 112px;
  height: 112px;
  object-fit: cover;
  background: #17171e;
}

.bwradio-player__content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta live"
    "track play"
    "controls controls";
  column-gap: 18px;
  align-items: center;
}

.bwradio-player__meta {
  grid-area: meta;
  margin-bottom: 7px;
  color: var(--bw-purple);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bwradio-player__live {
  grid-area: live;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.8);
  font-size: .68rem;
  font-weight: 800;
}

.bwradio-player__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bw-live);
}

.bwradio-player__track {
  grid-area: track;
  min-width: 0;
}

.bwradio-player__title {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 780;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bwradio-player__artist {
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--bw-muted);
  font-size: .9rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bwradio-play {
  grid-area: play;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(145, 48, 226, .76);
  box-shadow: 0 0 0 4px rgba(166,61,242,.08);
  cursor: pointer;
}

.bwradio-play svg {
  width: 20px;
  height: 20px;
}

.bwradio-audio-toggle .icon-pause {
  display: none;
}

.bwradio-audio-toggle.is-playing .icon-play {
  display: none;
}

.bwradio-audio-toggle.is-playing .icon-pause {
  display: block;
}

.bwradio-player__controls {
  grid-area: controls;
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.bwradio-volume-icon {
  width: 18px;
  height: 18px;
  opacity: .75;
}

.bwradio-volume {
  width: 100%;
  height: 3px;
  accent-color: var(--bw-purple);
  cursor: pointer;
}

.bwradio-player__tech {
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  white-space: nowrap;
}

.bwradio-player__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Placeholder below first screen, only to show natural page continuation */
.bwradio-after-hero {
  height: 90px;
  background: #09090d;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Mobile */
@media (max-width: 980px) {
  .bwradio-container {
    width: min(100% - 34px, 760px);
  }

  .bwradio-header {
    height: 72px;
  }

  .bwradio-header__inner {
    gap: 16px;
  }

  .bwradio-brand__mark {
    width: 49px;
    height: 34px;
  }

  .bwradio-brand__word {
    font-size: 1.28rem;
  }

  .bwradio-brand__tagline {
    font-size: .56rem;
  }

  .bwradio-nav {
    display: none;
  }

  .bwradio-header .bwradio-live {
    margin-left: auto;
    padding: 7px 10px;
    font-size: .62rem;
  }

  .bwradio-menu-toggle {
    display: block;
    margin-left: 0;
  }

  .bwradio-mobile-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(7,7,10,.98);
    border-bottom: 1px solid rgba(255,255,255,.1);
    opacity: 0;
    transition: max-height .25s ease, opacity .2s ease;
  }

  .bwradio-mobile-nav.is-open {
    max-height: 360px;
    opacity: 1;
  }

  .bwradio-mobile-nav a {
    padding: 17px 22px;
    border-top: 1px solid rgba(255,255,255,.06);
    font-weight: 700;
  }

  .bwradio-hero {
    min-height: auto;
  }

  .bwradio-hero__media {
    width: 100%;
    height: 56%;
    inset: 0 0 auto;
  }

  .bwradio-hero__media img {
    object-position: 54% 22%;
  }

  .bwradio-hero::before {
    background:
      linear-gradient(180deg,
        rgba(7,7,10,.20) 0%,
        rgba(7,7,10,.28) 25%,
        rgba(7,7,10,.78) 52%,
        rgba(7,7,10,1) 74%,
        rgba(7,7,10,1) 100%);
  }

  .bwradio-hero__inner {
    min-height: 820px;
    grid-template-columns: 1fr;
    gap: 26px;
    align-content: end;
    padding-block: 270px 28px;
  }

  .bwradio-hero__copy {
    max-width: 620px;
  }

  .bwradio-hero h1 {
    max-width: 520px;
    font-size: clamp(3.25rem, 12vw, 5.5rem);
  }

  .bwradio-player-wrap {
    width: 100%;
    justify-self: stretch;
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  .bwradio-container {
    width: calc(100% - 28px);
  }

  .bwradio-header .bwradio-live {
    border: 0;
    padding-inline: 4px;
  }

  .bwradio-brand__tagline {
    display: none;
  }

  .bwradio-hero__inner {
    min-height: 790px;
    padding-top: 255px;
  }

  .bwradio-eyebrow {
    margin-bottom: 9px;
    font-size: .8rem;
  }

  .bwradio-hero h1 {
    font-size: clamp(2.85rem, 13.4vw, 4.4rem);
    line-height: .87;
  }

  .bwradio-hero__slogan {
    margin-top: 15px;
    font-size: 1.15rem;
  }

  .bwradio-hero__description {
    margin-top: 12px;
    font-size: .91rem;
    line-height: 1.5;
  }

  .bwradio-hero__actions {
    margin-top: 20px;
  }

  .bwradio-cta {
    width: 100%;
  }

  .bwradio-player {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .bwradio-player__cover {
    width: 76px;
    height: 76px;
  }

  .bwradio-player__content {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-areas:
      "meta live"
      "track play";
    column-gap: 10px;
  }

  .bwradio-player__meta {
    margin-bottom: 4px;
    font-size: .58rem;
  }

  .bwradio-player__live {
    font-size: .55rem;
  }

  .bwradio-player__title {
    font-size: 1rem;
  }

  .bwradio-player__artist {
    margin-top: 3px;
    font-size: .75rem;
  }

  .bwradio-play {
    width: 42px;
    height: 42px;
  }

  .bwradio-player__controls {
    display: none;
  }

  .bwradio-after-hero {
    height: 42px;
  }
}

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


/* News */
.bwradio-news {
  padding: 54px 0 66px;
  background:
    radial-gradient(circle at 88% 0%, rgba(121, 36, 176, .08), transparent 30%),
    #0a0a0e;
  border-top: 1px solid rgba(255,255,255,.07);
}

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

.bwradio-section-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.3vw, 2.45rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.bwradio-section-title .accent {
  color: var(--bw-purple);
}

.bwradio-section-link {
  color: #c35cff;
  font-size: .82rem;
  font-weight: 750;
  white-space: nowrap;
}

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

.bwradio-news-card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.14);
  background: #0f0f14;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.bwradio-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(179, 76, 239, .48);
  background: #121219;
}

.bwradio-news-card__media {
  position: relative;
  aspect-ratio: 1.78 / 1;
  overflow: hidden;
  background: #17171f;
}

.bwradio-news-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(5,5,8,.54));
  pointer-events: none;
}

.bwradio-news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.bwradio-news-card:hover .bwradio-news-card__media img {
  transform: scale(1.035);
}

.bwradio-news-card__category {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, #7e2cdf, #a63df2);
  color: #fff;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bwradio-news-card__body {
  padding: 17px 17px 15px;
}

.bwradio-news-card__title {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.16;
  font-weight: 820;
  letter-spacing: -.02em;
}

.bwradio-news-card__excerpt {
  margin: 10px 0 15px;
  color: rgba(255,255,255,.63);
  font-size: .82rem;
  line-height: 1.45;
}

.bwradio-news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.46);
  font-size: .66rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.bwradio-news-card__arrow {
  color: #fff;
  font-size: 1rem;
}

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

@media (max-width: 620px) {
  .bwradio-news {
    padding: 38px 0 46px;
  }

  .bwradio-section-head {
    align-items: center;
    margin-bottom: 18px;
  }

  .bwradio-section-link {
    font-size: .72rem;
  }

  .bwradio-news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bwradio-news-card__media {
    aspect-ratio: 1.65 / 1;
  }

  .bwradio-news-card__body {
    padding: 16px;
  }

  .bwradio-news-card__title {
    font-size: 1.08rem;
  }

  .bwradio-news-card__excerpt {
    font-size: .84rem;
  }
}


/* 0.5.1 hotfix */
.bwradio-news-card__category {
  bottom: 12px;
  left: 14px;
  box-shadow: 0 5px 16px rgba(0,0,0,.30);
}

@media (max-width: 620px) {
  .bwradio-player__live {
    white-space: nowrap;
  }
}


/* HOLD THE CLASSICS */
.bwradio-lists {
  padding: 12px 0 72px;
  background:
    linear-gradient(180deg, #0a0a0e 0%, #08080c 100%);
}

.bwradio-lists__intro {
  margin: 6px 0 0;
  color: rgba(255,255,255,.54);
  font-size: .86rem;
}

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

.bwradio-list-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(18,18,25,.95), rgba(11,11,16,.98));
  min-width: 0;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.bwradio-list-card:hover {
  transform: translateY(-3px);
  border-color: rgba(179,76,239,.46);
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.bwradio-list-card__media {
  position: relative;
  height: 122px;
  overflow: hidden;
  background: #16161d;
}

.bwradio-list-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(7,7,10,.72));
  pointer-events: none;
}

.bwradio-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.bwradio-list-card:hover .bwradio-list-card__media img {
  transform: scale(1.04);
}

.bwradio-list-card__heading {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 13px;
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.bwradio-list-card__heading .accent {
  color: #d15dff;
}

.bwradio-list {
  list-style: none;
  counter-reset: bwlist;
  margin: 0;
  padding: 10px 16px 15px;
}

.bwradio-list li {
  counter-increment: bwlist;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.075);
}

.bwradio-list li:first-child {
  border-top: 0;
}

.bwradio-list li::before {
  content: counter(bwlist);
  color: #c14dff;
  font-size: .8rem;
  font-weight: 900;
}

.bwradio-list__song {
  min-width: 0;
  color: rgba(255,255,255,.84);
  font-size: .82rem;
  line-height: 1.32;
}

.bwradio-list__song strong {
  color: #fff;
  font-weight: 760;
}

.bwradio-list__song span {
  color: rgba(255,255,255,.52);
}

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

  .bwradio-list-card__media {
    height: 150px;
  }
}

@media (max-width: 620px) {
  .bwradio-lists {
    padding: 4px 0 52px;
  }

  .bwradio-lists .bwradio-section-head {
    align-items: flex-start;
  }

  .bwradio-list-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bwradio-list-card__media {
    height: 134px;
  }

  .bwradio-list-card__heading {
    font-size: 1.05rem;
  }

  .bwradio-list__song {
    font-size: .86rem;
  }
}


/* 0.6.1 hotfix: list images contain photography only */
.bwradio-list-card__media::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(7,7,10,.18) 45%, rgba(7,7,10,.82) 100%);
}


/* 0.8.0 - Noticias administradas con Posts nativos de WordPress */
.bwradio-news-empty {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: #0f0f14;
  color: rgba(255,255,255,.58);
}

.bwradio-news-card__media img {
  min-height: 100%;
}


/* 0.9.0 - News overlay */
.bwradio-news-card__link {
  display: block;
  height: 100%;
  color: inherit;
}
.bwradio-news-card__link:focus-visible {
  outline: 2px solid var(--bw-purple);
  outline-offset: 3px;
}
.bwradio-overlay[hidden] { display: none; }
.bwradio-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 32px;
}
.bwradio-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bwradio-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 940px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: #0c0c11;
  box-shadow: 0 36px 120px rgba(0,0,0,.58);
}
.bwradio-overlay__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%;
  background: rgba(7,7,10,.78);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}
.bwradio-overlay__scroll {
  min-height: 0;
  overflow-y: auto;
}
.bwradio-overlay__image-wrap {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #15151b;
}
.bwradio-overlay__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bwradio-overlay__article {
  width: min(760px, calc(100% - 56px));
  margin: 0 auto;
  padding: 34px 0 52px;
}
.bwradio-overlay__category {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, #7e2cdf, #a63df2);
  color: #fff;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bwradio-overlay__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.bwradio-overlay__date {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.46);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.bwradio-overlay__content {
  margin-top: 28px;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  line-height: 1.75;
}
.bwradio-overlay__content > :first-child { margin-top: 0; }
.bwradio-overlay__content > :last-child { margin-bottom: 0; }
.bwradio-overlay__content a {
  color: #cf66ff;
  text-decoration: underline;
}
.bwradio-overlay__content img { height: auto; }
.bwradio-overlay-player {
  min-height: 76px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 46px;
  gap: 13px;
  align-items: center;
  padding: 11px 18px;
  border-top: 1px solid rgba(255,255,255,.13);
  background: rgba(9,9,14,.97);
}
.bwradio-overlay-player__cover {
  width: 52px;
  height: 52px;
  object-fit: cover;
  background: #18181e;
}
.bwradio-overlay-player__track {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.bwradio-overlay-player__track strong,
.bwradio-overlay-player__track span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bwradio-overlay-player__track strong {
  color: #fff;
  font-size: .9rem;
}
.bwradio-overlay-player__track span {
  color: rgba(255,255,255,.56);
  font-size: .76rem;
}
.bwradio-overlay-player__play {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: #7929c5;
  cursor: pointer;
}
.bwradio-overlay-player__play svg {
  width: 17px;
  height: 17px;
}
.bwradio-overlay-player__play .icon-pause { display: none; }
.bwradio-overlay-player__play.is-playing .icon-play { display: none; }
.bwradio-overlay-player__play.is-playing .icon-pause { display: block; }
body.bwradio-overlay-open { overflow: hidden; }
.bwradio-overlay.is-loading .bwradio-overlay__content::before {
  content: "Cargando…";
  display: block;
  color: rgba(255,255,255,.55);
}
@media (max-width: 700px) {
  .bwradio-overlay {
    padding: 0;
    place-items: stretch;
  }
  .bwradio-overlay__panel {
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border: 0;
  }
  .bwradio-overlay__image-wrap { aspect-ratio: 1.12 / 1; }
  .bwradio-overlay__article {
    width: calc(100% - 36px);
    padding: 24px 0 42px;
  }
  .bwradio-overlay__title {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }
  .bwradio-overlay__content {
    font-size: .96rem;
    line-height: 1.68;
  }
  .bwradio-overlay-player {
    min-height: 70px;
    grid-template-columns: 48px minmax(0, 1fr) 44px;
    padding: 9px 12px;
  }
  .bwradio-overlay-player__cover {
    width: 48px;
    height: 48px;
  }
}


/* 0.9.1 - Overlay visual refinements */
@media (min-width: 701px) {
  .bwradio-overlay__image-wrap {
    aspect-ratio: 16 / 6.2;
    max-height: 330px;
  }
}

.bwradio-overlay__close:focus,
.bwradio-overlay__close:focus-visible {
  outline: 2px solid var(--bw-purple);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(166,61,242,.16);
}


/* 0.10.0 - Persistent sticky player */
.bwradio-sticky-player {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1200;
  width: min(860px, calc(100% - 40px));
  transform: translate(-50%, calc(100% + 42px));
  opacity: 0;
  pointer-events: none;
  transition: transform .24s ease, opacity .2s ease;
}

.bwradio-sticky-player.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

body.bwradio-overlay-open .bwradio-sticky-player {
  transform: translate(-50%, calc(100% + 42px));
  opacity: 0;
  pointer-events: none;
}

.bwradio-sticky-player__inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(130px, 220px) 48px;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(135deg, rgba(15,15,22,.97), rgba(10,10,15,.96));
  box-shadow: 0 22px 70px rgba(0,0,0,.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bwradio-sticky-player__cover {
  width: 54px;
  height: 54px;
  object-fit: cover;
  background: #18181e;
}

.bwradio-sticky-player__track {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.bwradio-sticky-player__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: #c85dff;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bwradio-sticky-player__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bw-live);
}

.bwradio-sticky-player__track strong,
.bwradio-sticky-player__track > span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bwradio-sticky-player__track strong {
  color: #fff;
  font-size: .92rem;
  font-weight: 780;
}

.bwradio-sticky-player__track > span:last-child {
  color: rgba(255,255,255,.57);
  font-size: .74rem;
}

.bwradio-sticky-player__volume {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.bwradio-sticky-player__volume svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,.65);
}

.bwradio-sticky-player__volume input {
  width: 100%;
  accent-color: var(--bw-purple);
  cursor: pointer;
}

.bwradio-sticky-player__play {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: linear-gradient(135deg, #7426c4, #9b34dd);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(166,61,242,.07);
}

.bwradio-sticky-player__play svg {
  width: 18px;
  height: 18px;
}

.bwradio-sticky-player__play .icon-pause { display: none; }
.bwradio-sticky-player__play.is-playing .icon-play { display: none; }
.bwradio-sticky-player__play.is-playing .icon-pause { display: block; }

@media (max-width: 700px) {
  .bwradio-sticky-player {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    transform: translateY(100%);
  }

  .bwradio-sticky-player.is-visible {
    transform: translateY(0);
  }

  body.bwradio-overlay-open .bwradio-sticky-player {
    transform: translateY(100%);
  }

  .bwradio-sticky-player__inner {
    min-height: 68px;
    grid-template-columns: 48px minmax(0, 1fr) 44px;
    gap: 11px;
    padding: 9px 12px;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .bwradio-sticky-player__cover {
    width: 48px;
    height: 48px;
  }

  .bwradio-sticky-player__volume {
    display: none;
  }

  .bwradio-sticky-player__track strong {
    font-size: .84rem;
  }

  .bwradio-sticky-player__track > span:last-child {
    font-size: .7rem;
  }

  .bwradio-sticky-player__play {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bwradio-sticky-player {
    transition: none;
  }
}


/* 0.10.1 - Artwork fallback */
.bwradio-player__cover,
.bwradio-overlay-player__cover,
.bwradio-sticky-player__cover {
  background: #0b0b10;
}

.bwradio-player__cover.is-fallback,
.bwradio-overlay-player__cover.is-fallback,
.bwradio-sticky-player__cover.is-fallback {
  object-fit: cover;
}


/* 0.11.0 - About, contact and footer */
.bwradio-about {
  padding: 54px 0 0;
  background: #09090d;
  border-top: 1px solid rgba(255,255,255,.06);
}

.bwradio-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.12fr .9fr;
  min-height: 270px;
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}

.bwradio-about__visual {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  background: #0c0c10;
}

.bwradio-about__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.04), rgba(4,4,7,.55));
}

.bwradio-about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.bwradio-about__visual-copy {
  position: absolute;
  right: 22px;
  bottom: 26px;
  z-index: 2;
  display: grid;
  justify-items: end;
  color: rgba(255,255,255,.92);
  font-size: 1.15rem;
  line-height: 1.02;
  font-style: italic;
  font-weight: 850;
  letter-spacing: -.03em;
  transform: rotate(-6deg);
}

.bwradio-about__copy {
  padding: 34px 38px;
  background:
    radial-gradient(circle at 85% 10%, rgba(129,41,188,.12), transparent 36%),
    #0e0e13;
}

.bwradio-about__copy .bwradio-eyebrow {
  margin-bottom: 6px;
  font-size: .72rem;
  letter-spacing: .16em;
}

.bwradio-about__copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.bwradio-about__copy p:not(.bwradio-eyebrow) {
  max-width: 640px;
  margin: 17px 0 22px;
  color: rgba(255,255,255,.66);
  font-size: .88rem;
  line-height: 1.58;
}

.bwradio-about__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  color: #fff;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .06em;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.bwradio-about__cta:hover {
  border-color: var(--bw-purple);
  background: rgba(166,61,242,.08);
}

.bwradio-about__brand {
  display: grid;
  grid-template-columns: minmax(110px, 160px) 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 35% 45%, rgba(137,44,214,.25), transparent 38%),
    linear-gradient(135deg, #171020, #0c0c12);
}

.bwradio-about__brand img {
  width: 100%;
  height: auto;
}

.bwradio-about__brand-lines {
  display: grid;
  gap: 8px;
  color: #c77aff;
  font-size: .78rem;
}

.bwradio-contact {
  padding: 50px 0;
  background:
    linear-gradient(180deg, #09090d, #08080b);
  border-top: 1px solid rgba(255,255,255,.06);
}

.bwradio-contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.bwradio-contact h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  letter-spacing: -.04em;
}

.bwradio-contact__copy {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.58);
  font-size: .88rem;
}

.bwradio-contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.bwradio-contact__button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 6px;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.bwradio-contact__button--primary {
  border-color: transparent;
  background: linear-gradient(135deg, #7728c7, #b139f1);
}

.bwradio-footer {
  padding: 0 0 96px;
  background: #07070a;
  border-top: 1px solid rgba(255,255,255,.08);
}

.bwradio-footer__top {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.bwradio-footer__brand {
  display: inline-grid;
  justify-self: start;
}

.bwradio-footer__word {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.045em;
}

.bwradio-footer__tagline {
  margin-top: 4px;
  color: rgba(255,255,255,.47);
  font-size: .62rem;
}

.bwradio-footer__nav {
  display: flex;
  gap: 25px;
}

.bwradio-footer__nav a {
  color: rgba(255,255,255,.66);
  font-size: .72rem;
  font-weight: 650;
}

.bwradio-footer__nav a:hover {
  color: #fff;
}

.bwradio-footer__social {
  justify-self: end;
  display: flex;
  gap: 8px;
}

.bwradio-footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  color: rgba(255,255,255,.74);
}

.bwradio-footer__social a:hover {
  color: #fff;
  border-color: rgba(179,76,239,.5);
}

.bwradio-footer__social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.bwradio-footer__bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bwradio-footer__bottom p {
  margin: 0;
  color: rgba(255,255,255,.42);
  font-size: .66rem;
}

.bwradio-footer__credits a {
  color: rgba(255,255,255,.7);
  font-weight: 800;
}

.bwradio-footer__credits a:hover {
  color: #c95cff;
}

.bwradio-footer__credits span {
  margin: 0 6px;
  color: rgba(255,255,255,.24);
}

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

  .bwradio-about__brand {
    grid-column: 1 / -1;
  }

  .bwradio-footer__top {
    grid-template-columns: 1fr auto;
  }

  .bwradio-footer__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-bottom: 18px;
  }
}

@media (max-width: 700px) {
  .bwradio-about {
    padding-top: 34px;
  }

  .bwradio-about-grid {
    grid-template-columns: 1fr;
  }

  .bwradio-about__visual {
    min-height: 220px;
  }

  .bwradio-about__copy {
    padding: 26px 22px 28px;
  }

  .bwradio-about__brand {
    grid-column: auto;
    grid-template-columns: 100px 1fr;
    padding: 22px;
  }

  .bwradio-contact {
    padding: 38px 0;
  }

  .bwradio-contact__inner {
    display: grid;
  }

  .bwradio-contact__actions {
    justify-content: flex-start;
  }

  .bwradio-footer {
    padding-bottom: 82px;
  }

  .bwradio-footer__top {
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 20px 0;
  }

  .bwradio-footer__nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-bottom: 0;
  }

  .bwradio-footer__bottom {
    min-height: auto;
    display: grid;
    gap: 8px;
    padding: 18px 0 22px;
  }

  .bwradio-footer__bottom p {
    line-height: 1.55;
  }
}


/* 0.11.1 - Editable About content */
.bwradio-about__text {
  max-width: 640px;
  margin: 17px 0 22px;
  color: rgba(255,255,255,.66);
  font-size: .88rem;
  line-height: 1.58;
}

.bwradio-about__text p {
  margin: 0 0 1em;
}

.bwradio-about__text p:last-child {
  margin-bottom: 0;
}


/* 0.12.0 - Approved BWRadio brand assets */
.bwradio-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.bwradio-brand__logo {
  display: block;
  width: 210px;
  height: auto;
  object-fit: contain;
}

.bwradio-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.bwradio-footer__logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .bwradio-brand__logo {
    width: 178px;
  }
}

@media (max-width: 620px) {
  .bwradio-brand__logo {
    width: 168px;
  }

  .bwradio-footer__logo {
    width: 54px;
    height: 54px;
  }
}


/* 0.13.0 - Direct news article experience */
.single-post {
  background: #08080b;
}

.single-post .bwradio-header {
  position: sticky;
  top: 0;
  z-index: 1100;
}

.bwradio-single {
  min-height: 100vh;
  padding-bottom: 104px;
  background:
    radial-gradient(circle at 50% 0%, rgba(123, 38, 178, .09), transparent 30%),
    #08080b;
}

.bwradio-single-article {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  border-left: 1px solid rgba(255,255,255,.09);
  border-right: 1px solid rgba(255,255,255,.09);
  background: #0c0c11;
}

.bwradio-single-hero {
  aspect-ratio: 16 / 7.5;
  overflow: hidden;
  background: #111117;
}

.bwradio-single-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bwradio-single-body {
  width: min(780px, calc(100% - 64px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.bwradio-single-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.48);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.bwradio-single-back:hover {
  color: #cb62ff;
}

.bwradio-single-category {
  display: inline-block;
  margin: 0 0 15px;
  padding: 6px 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, #7e2cdf, #a63df2);
  color: #fff;
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bwradio-single-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.bwradio-single-date {
  display: block;
  margin-top: 16px;
  color: rgba(255,255,255,.42);
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bwradio-single-content {
  margin-top: 38px;
  color: rgba(255,255,255,.77);
  font-size: 1.04rem;
  line-height: 1.78;
}

.bwradio-single-content > :first-child {
  margin-top: 0;
}

.bwradio-single-content > :last-child {
  margin-bottom: 0;
}

.bwradio-single-content p,
.bwradio-single-content ul,
.bwradio-single-content ol,
.bwradio-single-content blockquote {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.bwradio-single-content h2,
.bwradio-single-content h3,
.bwradio-single-content h4 {
  margin-top: 1.7em;
  margin-bottom: .65em;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.bwradio-single-content a {
  color: #ca61ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bwradio-single-content img,
.bwradio-single-content figure {
  max-width: 100%;
  height: auto;
}

.bwradio-single-content figure {
  margin: 2em 0;
}

.bwradio-single-content figcaption {
  margin-top: 8px;
  color: rgba(255,255,255,.42);
  font-size: .74rem;
}

.bwradio-single-content blockquote {
  padding-left: 20px;
  border-left: 3px solid #a63df2;
  color: rgba(255,255,255,.68);
}

.bwradio-single-end {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.bwradio-single-end a {
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  font-weight: 800;
}

.bwradio-single-end a:hover {
  color: #ca61ff;
}

.bwradio-single-footer {
  padding: 32px 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #07070a;
}

.bwradio-single-footer__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.bwradio-single-footer__inner img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.bwradio-single-footer__inner div {
  display: grid;
  gap: 3px;
}

.bwradio-single-footer__inner strong {
  color: #fff;
  font-size: .92rem;
}

.bwradio-single-footer__inner span {
  color: rgba(255,255,255,.44);
  font-size: .7rem;
}

.bwradio-single-footer__inner > a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 5px;
  color: rgba(255,255,255,.72);
  font-size: .7rem;
  font-weight: 800;
}

.bwradio-single-footer__inner > a:hover {
  border-color: rgba(176,71,236,.55);
  color: #fff;
}

.bwradio-single-footer__credits {
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.07);
}

.bwradio-single-footer__credits p {
  margin: 0;
  color: rgba(255,255,255,.35);
  font-size: .63rem;
}

.bwradio-single-footer__credits a {
  color: rgba(255,255,255,.68);
  font-weight: 800;
}

.bwradio-single-footer__credits a:hover {
  color: #cb62ff;
}

.bwradio-single-footer__credits span {
  margin: 0 6px;
  color: rgba(255,255,255,.2);
}

.bwradio-single-player {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1300;
  width: min(860px, calc(100% - 40px));
  transform: translateX(-50%);
}

.bwradio-single-player__inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(130px, 220px) 48px;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(135deg, rgba(15,15,22,.98), rgba(9,9,14,.97));
  box-shadow: 0 22px 70px rgba(0,0,0,.56);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bwradio-single-player__cover {
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: #0c0c11;
}

.bwradio-single-player__track {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.bwradio-single-player__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: #c95cff;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bwradio-single-player__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3764;
}

.bwradio-single-player__track strong,
.bwradio-single-player__track > span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bwradio-single-player__track strong {
  color: #fff;
  font-size: .92rem;
}

.bwradio-single-player__track > span:last-child {
  color: rgba(255,255,255,.56);
  font-size: .74rem;
}

.bwradio-single-player__volume {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.bwradio-single-player__volume svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,.62);
}

.bwradio-single-player__volume input {
  width: 100%;
  accent-color: #a63df2;
  cursor: pointer;
}

.bwradio-single-player__toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 50%;
  background: linear-gradient(135deg, #7426c4, #9b34dd);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(166,61,242,.07);
}

.bwradio-single-player__toggle svg {
  width: 18px;
  height: 18px;
}

.bwradio-single-player__toggle .icon-pause {
  display: none;
}

.bwradio-single-player__toggle.is-playing .icon-play {
  display: none;
}

.bwradio-single-player__toggle.is-playing .icon-pause {
  display: block;
}

@media (max-width: 700px) {
  .bwradio-single {
    padding-bottom: 78px;
  }

  .bwradio-single-article {
    width: 100%;
    border: 0;
  }

  .bwradio-single-hero {
    aspect-ratio: 1.08 / 1;
  }

  .bwradio-single-body {
    width: calc(100% - 36px);
    padding: 26px 0 52px;
  }

  .bwradio-single-back {
    margin-bottom: 22px;
  }

  .bwradio-single-title {
    font-size: clamp(2.15rem, 10vw, 3.35rem);
    line-height: 1.01;
  }

  .bwradio-single-content {
    margin-top: 30px;
    font-size: .98rem;
    line-height: 1.72;
  }

  .bwradio-single-footer {
    padding-bottom: 20px;
  }

  .bwradio-single-footer__inner {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .bwradio-single-footer__inner img {
    width: 52px;
    height: 52px;
  }

  .bwradio-single-footer__inner > a {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .bwradio-single-footer__credits {
    min-height: auto;
    display: grid;
    gap: 7px;
    padding-top: 18px;
  }

  .bwradio-single-player {
    left: 0;
    bottom: 0;
    width: 100%;
    transform: none;
  }

  .bwradio-single-player__inner {
    min-height: 68px;
    grid-template-columns: 48px minmax(0, 1fr) 44px;
    gap: 11px;
    padding: 9px 12px;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .bwradio-single-player__cover {
    width: 48px;
    height: 48px;
  }

  .bwradio-single-player__volume {
    display: none;
  }

  .bwradio-single-player__toggle {
    width: 42px;
    height: 42px;
  }
}


/* 0.13.1 - Mobile direct-post player fix
   Keep the persistent player as a body-level fixed layer and account for safe areas. */
.single-post {
  padding-bottom: 0;
}

.bwradio-single-player {
  display: block;
  visibility: visible;
  opacity: 1;
  isolation: isolate;
  pointer-events: auto;
  -webkit-transform: translateX(-50%) translateZ(0);
  transform: translateX(-50%) translateZ(0);
}

@supports (bottom: env(safe-area-inset-bottom)) {
  .bwradio-single-player {
    bottom: max(18px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 700px) {
  .single-post {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .bwradio-single {
    padding-bottom: 24px;
  }

  .bwradio-single-player {
    position: fixed;
    inset-inline: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483000;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    background: #09090e;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .bwradio-single-player__inner {
    width: 100%;
    min-height: 68px;
    margin: 0;
    grid-template-columns: 48px minmax(0, 1fr) 44px;
    gap: 11px;
    padding: 9px 12px;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: rgba(9, 9, 14, .985);
    box-shadow: 0 -12px 36px rgba(0,0,0,.42);
  }
}


/* 0.15.0 - Accessibility and agent-navigation hardening */
.bwradio-skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2147483647;
  padding: 10px 14px;
  border: 2px solid #fff;
  border-radius: 4px;
  background: #0b0b10;
  color: #fff;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform .15s ease;
}

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

.bwradio-header a:focus-visible,
.bwradio-mobile-nav a:focus-visible,
.bwradio-footer a:focus-visible,
.bwradio-news-card__link:focus-visible,
.bwradio-contact a:focus-visible,
.bwradio-about a:focus-visible,
.bwradio-audio-toggle:focus-visible,
.bwradio-menu-toggle:focus-visible,
.bwradio-sticky-player input:focus-visible {
  outline: 2px solid #c95cff;
  outline-offset: 4px;
}

#main-content:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .bwradio-skip-link {
    transition: none;
  }
}


/* 0.16.0 - Mobile LCP optimization */
.bwradio-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.bwradio-hero__media picture img {
  display: block;
}


/* 0.17.0 - Responsive image delivery */
.bwradio-news-card__media img,
.bwradio-list-card__media picture,
.bwradio-list-card__media picture img,
.bwradio-about__visual picture,
.bwradio-about__visual picture img {
  display: block;
  width: 100%;
}

.bwradio-list-card__media picture,
.bwradio-list-card__media picture img,
.bwradio-about__visual picture,
.bwradio-about__visual picture img {
  height: 100%;
}

.bwradio-list-card__media picture img,
.bwradio-about__visual picture img {
  object-fit: cover;
}


/* 0.18.1 - Purpose-built 404 page */
.bwradio-404 {
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 34%, rgba(166, 61, 242, .13), transparent 30%),
    linear-gradient(135deg, #07070a 0%, #09080e 100%);
}

.bwradio-404::after {
  content: "404";
  position: absolute;
  right: max(24px, 6vw);
  top: 50%;
  transform: translateY(-52%);
  color: rgba(255,255,255,.025);
  font-size: clamp(12rem, 30vw, 34rem);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .8;
  pointer-events: none;
  user-select: none;
}

.bwradio-404__inner {
  position: relative;
  z-index: 1;
  padding-block: 96px;
}

.bwradio-404__code {
  margin: 0 0 10px;
  color: var(--bw-purple);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.bwradio-404__eyebrow {
  margin: 0 0 12px;
  color: var(--bw-purple);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.bwradio-404 h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.bwradio-404__text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--bw-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.bwradio-404__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.bwradio-404__secondary {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 4px;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .035em;
  border-bottom: 1px solid rgba(255,255,255,.28);
  transition: color .18s ease, border-color .18s ease;
}

.bwradio-404__secondary:hover,
.bwradio-404__secondary:focus-visible {
  color: #fff;
  border-color: var(--bw-purple);
}

@media (max-width: 700px) {
  .bwradio-404 {
    min-height: calc(100svh - 74px);
  }

  .bwradio-404__inner {
    padding-block: 68px;
  }

  .bwradio-404::after {
    right: -8vw;
    font-size: clamp(10rem, 54vw, 17rem);
  }

  .bwradio-404__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
