.radio5b,
.radio5b * {
  box-sizing: border-box;
}

.radio5b {
  width: 100%;
  font-family: var(--radio5-font, Arial, Helvetica, sans-serif);
}

/* =========================
   Header estilo Radio 5
========================= */
.radio5b-header {
  width: 100%;
  color: var(--radio5-header-text, #ffffff);
  background: #ffffff;
}

.radio5b-header-shell {
  position: relative;
  max-width: var(--radio5-header-max, 1830px);
  margin: var(--radio5-header-margin-top, 36px) auto 0;
  background: var(--radio5-header-bg, #080808);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.32);
}

.radio5b-header-top {
  position: relative;
  min-height: var(--radio5-header-top-height, 260px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 28px var(--radio5-header-padding-x, 42px) 48px;
  overflow: hidden;
}

.radio5b-header-bg-media,
.radio5b-header-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.radio5b-header-bg-media {
  object-fit: cover;
  z-index: 0;
}

.radio5b-header-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 14% 28%, rgba(255, 0, 0, 0.24), transparent 31%),
    linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.88) 48%, rgba(0,0,0,.7) 100%);
}

.radio5b-header-left,
.radio5b-header-right {
  position: relative;
  z-index: 2;
}

.radio5b-header-live {
  width: min(380px, 100%);
  min-height: 78px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--radio5-header-panel, #c51620);
  padding: 18px 36px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.radio5b-header-live strong {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #ffffff;
}

.radio5b-header-live span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  animation: radio5bPulse 1.15s infinite;
}

.radio5b-header-left h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -1px;
  text-transform: uppercase;
  text-shadow: 0 6px 20px rgba(0,0,0,.5);
}

.radio5b-header-left p {
  margin: 0;
  color: var(--radio5-header-accent, #fff200);
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 950;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.radio5b-header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.radio5b-clock,
.radio5b-weather {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 66px;
  padding: 16px 24px;
  border-radius: 8px;
  white-space: nowrap;
}

.radio5b-clock {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(10, 10, 10, .62);
}

.radio5b-clock span {
  color: #8f98a4;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
}

.radio5b-clock strong {
  color: var(--radio5-header-accent, #fff200);
  font-size: clamp(22px, 1.75vw, 32px);
  font-weight: 950;
  letter-spacing: 2px;
}

.radio5b-clock em {
  color: var(--radio5-header-secondary, #f00808);
  font-size: 16px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.radio5b-weather {
  color: #050505;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.radio5b-weather-icon {
  font-size: 26px;
}

.radio5b-weather strong {
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 950;
  color: #000;
}

.radio5b-weather em {
  font-style: normal;
  color: #4a4f57;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.radio5b-breaking {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  min-height: 64px;
  background: var(--radio5-header-panel, #c51620);
  overflow: hidden;
}

.radio5b-breaking-label {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 38px;
  background: #000;
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0,0,0,.45);
}

.radio5b-breaking-label::after {
  content: "";
  position: absolute;
  right: -31px;
  top: 0;
  border-top: 64px solid #000;
  border-right: 31px solid transparent;
}

.radio5b-breaking-window {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.radio5b-breaking-track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  animation: radio5bTicker var(--radio5-ticker-duration, 34s) linear infinite;
  padding-left: 70px;
}

.radio5b-breaking-window:hover .radio5b-breaking-track {
  animation-play-state: paused;
}

.radio5b-ticker-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 2px 20px;
  border: 1px dashed rgba(255, 242, 0, .7);
  border-radius: 999px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.radio5b-ticker-pill::first-letter {
  color: var(--radio5-header-accent, #fff200);
}

@keyframes radio5bTicker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.radio5b-logo-menu {
  max-width: var(--radio5-header-max, 1830px);
  min-height: var(--radio5-header-logo-area-height, 360px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 24px 34px;
  background: #ffffff;
}

.radio5b-main-logo {
  width: min(var(--radio5-header-logo-width, 820px), 90vw);
  height: auto;
  display: block;
  margin: 0 auto 54px;
}

.radio5b-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.radio5b-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 22px 34px;
  color: #070707;
  font-size: clamp(17px, 1.45vw, 29px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: -1px;
}

.radio5b-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -22px;
  width: 30px;
  height: 30px;
  background: #c9c9c9;
}

.radio5b-nav a.is-active {
  background: var(--radio5-header-secondary, #f00808);
  color: #ffffff;
}

.radio5b-red-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e52837;
  display: inline-block;
}

/* =========================
   Hero stream
========================= */
.radio5b-hero {
  position: relative;
  width: 100%;
  min-height: var(--radio5-hero-height, 780px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.radio5b-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--radio5-content-max, 1500px);
  padding: var(--radio5-content-top, 170px) var(--radio5-content-left, 70px) 80px;
  color: var(--radio5-text, #ffffff);
}

.radio5b-logo {
  display: block;
  width: min(260px, 45vw);
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55));
}

.radio5b-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: var(--radio5-primary, #ff0808);
  color: #ffffff;
  padding: 18px 38px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 6px;
  box-shadow: 0 0 32px rgba(255, 0, 0, 0.55);
  margin-bottom: 34px;
  text-transform: uppercase;
}

.radio5b-live-badge span {
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: radio5bPulse 1.2s infinite;
}

@keyframes radio5bPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.7); opacity: 0.45; }
  100% { transform: scale(1); opacity: 1; }
}

.radio5b-content h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(58px, 8vw, 135px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -5px;
  text-transform: uppercase;
  color: var(--radio5-text, #ffffff);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.radio5b-content h1 strong {
  display: block;
  color: var(--radio5-accent, #fff200);
  text-shadow: 0 0 25px rgba(255, 242, 0, 0.55);
}

.radio5b-subtitle {
  margin: 38px 0 48px;
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 6px;
  color: var(--radio5-text, #ffffff);
  text-transform: uppercase;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.radio5b-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

.radio5b-btn {
  border: none;
  cursor: pointer;
  min-width: 310px;
  padding: 26px 42px;
  border-radius: 999px;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: 3px;
  color: #ffffff;
  transition: all 0.25s ease;
  text-transform: uppercase;
  line-height: 1.15;
}

.radio5b-btn-primary {
  background: var(--radio5-primary, #ff0808);
  box-shadow: 0 14px 35px rgba(255, 0, 0, 0.38);
}

.radio5b-btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(0.92);
}

.radio5b-btn-secondary {
  background: rgba(35, 35, 35, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.radio5b-btn-secondary:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.radio5b-status {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding: 22px 32px;
  border-radius: 22px;
  background: rgba(20, 20, 20, 0.84);
  color: #ffffff;
  font-size: 23px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.radio5b-status span {
  width: 18px;
  height: 18px;
  background: var(--radio5-primary, #ff0808);
  border-radius: 50%;
  display: inline-block;
}

.radio5b-status.is-playing span {
  background: #00ff73;
  box-shadow: 0 0 18px rgba(0, 255, 115, 0.8);
  animation: radio5bPulseGreen 1.2s infinite;
}

@keyframes radio5bPulseGreen {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.radio5b-player-box {
  display: none;
  max-width: 560px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(20, 20, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.radio5b-player-box.is-active {
  display: block;
}

.radio5b-player-box audio {
  width: 100%;
}

/* =========================
   Secciones reutilizables
========================= */
.radio5b-section {
  padding: 80px 24px;
}

.radio5b-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.radio5b-section h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -1.5px;
}

.radio5b-section-eyebrow {
  margin: 0 0 12px;
  color: var(--radio5-primary, #ff0808);
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.radio5b-section-content {
  font-size: 18px;
  line-height: 1.7;
  max-width: 820px;
}

.radio5b-section-media_text .radio5b-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.radio5b-section-media img,
.radio5b-section-media video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
}

.radio5b-section-featured .radio5b-section-inner {
  padding: 48px;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.radio5b-section-btn {
  display: inline-flex;
  margin-top: 22px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--radio5-primary, #ff0808);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 1200px) {
  .radio5b-header-shell {
    margin-left: 18px;
    margin-right: 18px;
  }

  .radio5b-header-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .radio5b-header-right {
    justify-content: flex-start;
  }

  .radio5b-nav {
    gap: 20px;
  }

  .radio5b-nav a:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .radio5b-header-shell {
    margin-top: 18px;
    border-radius: 0;
  }

  .radio5b-header-top {
    min-height: auto;
    padding: 24px 22px 34px;
  }

  .radio5b-header-live {
    width: 100%;
    min-height: 64px;
    padding: 14px 20px;
  }

  .radio5b-header-live strong {
    padding: 13px 20px;
    font-size: 15px;
  }

  .radio5b-header-left p {
    letter-spacing: 2px;
  }

  .radio5b-header-right {
    width: 100%;
  }

  .radio5b-clock,
  .radio5b-weather {
    width: 100%;
    justify-content: center;
  }

  .radio5b-breaking {
    min-height: 58px;
  }

  .radio5b-breaking-label {
    padding: 0 18px;
    font-size: 15px;
  }

  .radio5b-breaking-label::after {
    display: none;
  }

  .radio5b-ticker-pill {
    font-size: 15px;
  }

  .radio5b-breaking-track {
    gap: 50px;
    padding-left: 30px;
  }

  .radio5b-logo-menu {
    min-height: auto;
    padding: 42px 18px 28px;
  }

  .radio5b-main-logo {
    margin-bottom: 34px;
  }

  .radio5b-nav {
    gap: 12px;
  }

  .radio5b-nav a {
    padding: 14px 16px;
    font-size: 16px;
  }

  .radio5b-red-dot {
    width: 15px;
    height: 15px;
  }

  .radio5b-hero {
    min-height: var(--radio5-hero-height-mobile, 680px);
    background-position: center center;
  }

  .radio5b-content {
    padding: 130px 25px 60px;
  }

  .radio5b-live-badge {
    font-size: 15px;
    padding: 15px 25px;
    letter-spacing: 4px;
    margin-bottom: 28px;
  }

  .radio5b-content h1 {
    letter-spacing: -2px;
  }

  .radio5b-subtitle {
    letter-spacing: 3px;
    margin: 28px 0 34px;
  }

  .radio5b-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .radio5b-btn {
    width: 100%;
    min-width: unset;
    font-size: 18px;
    padding: 22px 28px;
  }

  .radio5b-status {
    font-size: 18px;
    padding: 20px 24px;
  }

  .radio5b-player-box {
    max-width: 100%;
  }

  .radio5b-section {
    padding: 56px 20px;
  }

  .radio5b-section-media_text .radio5b-section-inner {
    grid-template-columns: 1fr;
  }
}

/* =========================
   v1.2.0 Mejora visual logo + menú
========================= */
.radio5b-logo-menu {
  min-height: auto !important;
  padding: 48px 24px 38px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.radio5b-main-logo {
  width: min(var(--radio5-header-logo-width, 560px), 620px, 86vw) !important;
  max-height: 230px;
  object-fit: contain;
  margin: 0 auto 34px !important;
  filter: drop-shadow(0 15px 28px rgba(0, 62, 165, .18));
}

.radio5b-nav {
  width: auto;
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 42px rgba(0,0,0,.08);
  gap: 8px !important;
}

.radio5b-nav a {
  min-height: 54px;
  padding: 16px 24px !important;
  border-radius: 999px;
  font-size: clamp(15px, 1.1vw, 22px) !important;
  letter-spacing: -.5px !important;
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.radio5b-nav a:hover {
  transform: translateY(-2px);
  background: rgba(240,8,8,.08);
  color: var(--radio5-header-secondary, #f00808);
}

.radio5b-nav a:not(:last-child)::after {
  right: -9px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 2px;
  background: #c7c7c7 !important;
  opacity: .85;
}

.radio5b-nav a.is-active {
  box-shadow: 0 12px 28px rgba(240,8,8,.24);
}

.radio5b-nav a.is-direct {
  background: #0d0d0f;
  color: #ffffff;
}

.radio5b-nav a.is-direct:hover {
  color: #ffffff;
  background: #1b1b1e;
}

.radio5b-red-dot {
  width: 16px !important;
  height: 16px !important;
  box-shadow: 0 0 0 7px rgba(229, 40, 55, .12);
}

@media (max-width: 900px) {
  .radio5b-logo-menu {
    padding: 36px 16px 28px !important;
  }
  .radio5b-main-logo {
    max-height: 160px;
    margin-bottom: 24px !important;
  }
  .radio5b-nav {
    border-radius: 24px;
    padding: 10px;
    justify-content: flex-start;
  }
  .radio5b-nav a {
    width: 100%;
    justify-content: center;
  }
  .radio5b-nav a:not(:last-child)::after {
    display: none;
  }
}


/* =========================
   v1.3.1 Proporción header ajustada a referencia Somos Radio Latina
========================= */
.radio5b-header-shell {
  margin-top: var(--radio5-header-margin-top, 26px) !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.radio5b-header-top {
  min-height: var(--radio5-header-top-height, 210px) !important;
  padding: 24px var(--radio5-header-padding-x, 40px) 38px !important;
}

.radio5b-header-live {
  width: min(340px, 100%) !important;
  min-height: 64px !important;
  padding: 14px 28px !important;
}

.radio5b-header-live strong {
  padding: 13px 24px !important;
  font-size: 16px !important;
}

.radio5b-header-left h2 {
  font-size: clamp(24px, 2vw, 32px) !important;
}

.radio5b-header-left p {
  font-size: clamp(13px, 1vw, 17px) !important;
}

.radio5b-clock,
.radio5b-weather {
  min-height: 58px !important;
  padding: 13px 22px !important;
}

.radio5b-clock strong {
  font-size: clamp(20px, 1.55vw, 29px) !important;
}

.radio5b-weather strong {
  font-size: clamp(22px, 1.75vw, 30px) !important;
}

.radio5b-breaking {
  min-height: 56px !important;
}

.radio5b-breaking-label {
  font-size: 18px !important;
  padding: 0 34px !important;
}

.radio5b-breaking-label::after {
  border-top-width: 56px !important;
}

.radio5b-ticker-pill {
  font-size: 18px !important;
}

.radio5b-logo-menu {
  padding: 34px 24px 30px !important;
}

.radio5b-main-logo {
  width: min(var(--radio5-header-logo-width, 390px), 440px, 82vw) !important;
  max-height: 170px !important;
  margin: 0 auto 26px !important;
}

.radio5b-nav {
  max-width: 1260px !important;
  padding: 9px !important;
}

.radio5b-nav a {
  min-height: 48px !important;
  padding: 13px 22px !important;
  font-size: clamp(14px, 1vw, 20px) !important;
}

/* =========================
   CRM Frontend Radio 5
========================= */
.radio5crm,
.radio5crm * {
  box-sizing: border-box;
}

.radio5crm {
  --crm-red: #f00808;
  --crm-dark: #07080d;
  --crm-blue: #063bca;
  --crm-yellow: #fff200;
  width: min(1480px, calc(100% - 32px));
  margin: 34px auto;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #12131a;
}

.radio5crm-locked {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.radio5crm-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 15%, rgba(240,8,8,.55), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(6,59,202,.45), transparent 32%),
    linear-gradient(135deg, #090a10 0%, #11131b 100%);
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
  overflow: hidden;
}

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

.radio5crm-brand img {
  width: 170px;
  max-height: 95px;
  object-fit: contain;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.radio5crm-brand span {
  color: var(--crm-yellow);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 3px;
}

.radio5crm-brand h2 {
  margin: 4px 0 6px;
  color: #fff;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1.5px;
}

.radio5crm-brand p {
  margin: 0;
  max-width: 580px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.5;
}

.radio5crm-shortcodes {
  min-width: 260px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.radio5crm-shortcodes strong {
  width: 100%;
  text-align: right;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.radio5crm-shortcodes code {
  padding: 8px 11px;
  border-radius: 12px;
  color: #111;
  background: #fff;
  font-weight: 800;
  font-size: 13px;
}

.radio5crm-alert {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 800;
}

.radio5crm-alert.is-success {
  background: #e8fff2;
  color: #05603a;
  border: 1px solid #b7f7d4;
}

.radio5crm-alert.is-error {
  background: #fff0f0;
  color: #b42318;
  border: 1px solid #ffd0d0;
}

.radio5crm-form {
  margin-top: 20px;
}

.radio5crm-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: start;
}

.radio5crm-sidebar {
  position: sticky;
  top: 36px;
  padding: 14px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
}

.radio5crm-tab {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  border-radius: 16px;
  padding: 15px 16px;
  margin: 3px 0;
  cursor: pointer;
  color: #242631;
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.radio5crm-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--crm-red), #c60000);
  box-shadow: 0 12px 26px rgba(240,8,8,.28);
}

.radio5crm-main {
  min-width: 0;
}

.radio5crm-panel {
  display: none;
}

.radio5crm-panel.is-active {
  display: block;
}

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

.radio5crm-card,
.radio5crm-section {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 18px 55px rgba(0,0,0,.07);
}

.radio5crm-card h3 {
  margin: 0 0 18px;
  color: #0d0f16;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -.7px;
}

.radio5crm-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.radio5crm-kpis > div {
  padding: 20px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #11131b, #07080d);
  box-shadow: 0 18px 44px rgba(0,0,0,.13);
}

.radio5crm-kpis span {
  display: block;
  color: var(--crm-yellow);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.radio5crm-kpis strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 24px;
  font-weight: 950;
  word-break: break-word;
}

.radio5crm-kpis em {
  display: block;
  color: rgba(255,255,255,.68);
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.radio5crm-field,
.radio5crm-check {
  display: block;
  margin: 0 0 16px;
}

.radio5crm-field > span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #1b1d28;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.radio5crm-field input[type="text"],
.radio5crm-field input[type="url"],
.radio5crm-field input[type="number"],
.radio5crm-field select,
.radio5crm-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 15px;
  padding: 12px 14px;
  color: #11131a;
  background: #f9fafb;
  font-size: 15px;
  outline: none;
}

.radio5crm-field textarea {
  min-height: 130px;
  resize: vertical;
}

.radio5crm-field input:focus,
.radio5crm-field select:focus,
.radio5crm-field textarea:focus {
  border-color: var(--crm-red);
  box-shadow: 0 0 0 4px rgba(240,8,8,.08);
  background: #fff;
}

.radio5crm-field em,
.radio5crm-note {
  display: block;
  margin-top: 7px;
  color: #697081;
  font-size: 13px;
  line-height: 1.5;
  font-style: normal;
}

.radio5crm-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #f8f9fb;
  border: 1px solid rgba(0,0,0,.07);
}

.radio5crm-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--crm-red);
}

.radio5crm-check span {
  font-weight: 850;
  color: #242631;
}

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

.radio5crm-field.color input[type="color"] {
  width: 100%;
  height: 52px;
  padding: 6px;
}

.radio5crm-sections {
  display: grid;
  gap: 14px;
}

.radio5crm-section {
  padding: 0;
  overflow: hidden;
}

.radio5crm-section summary {
  list-style: none;
  padding: 18px 22px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #11131b, #1e2230);
  font-weight: 950;
}

.radio5crm-section summary::-webkit-details-marker {
  display: none;
}

.radio5crm-section[open] {
  padding-bottom: 18px;
}

.radio5crm-section[open] > .radio5crm-grid,
.radio5crm-section[open] > .radio5crm-field {
  margin: 18px 22px 0;
}

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

.radio5crm-guide div {
  padding: 18px;
  border-radius: 18px;
  background: #f8f9fb;
  border-left: 5px solid var(--crm-red);
}

.radio5crm-guide strong,
.radio5crm-guide span {
  display: block;
}

.radio5crm-guide strong {
  margin-bottom: 6px;
  color: #11131a;
  font-weight: 950;
}

.radio5crm-guide span {
  color: #667085;
  line-height: 1.5;
}


.radio5crm-media-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.radio5crm-media-row input {
  flex: 1;
  min-width: 0;
}

.radio5crm-media-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--crm-red), #d8a84b);
  color: #ffffff;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(240, 8, 8, .22);
}

.radio5crm-media-btn:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .radio5crm-media-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.radio5crm-savebar {
  position: sticky;
  bottom: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 24px;
  color: #fff;
  background: rgba(7,8,13,.94);
  box-shadow: 0 18px 58px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
}

.radio5crm-savebar strong,
.radio5crm-savebar span {
  display: block;
}

.radio5crm-savebar span {
  color: rgba(255,255,255,.65);
  font-size: 13px;
}

.radio5crm-savebar button {
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--crm-red), #c70000);
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .7px;
  box-shadow: 0 14px 32px rgba(240,8,8,.32);
}

@media (max-width: 1000px) {
  .radio5crm-hero,
  .radio5crm-brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .radio5crm-shortcodes {
    justify-content: flex-start;
  }
  .radio5crm-shortcodes strong {
    text-align: left;
  }
  .radio5crm-layout,
  .radio5crm-grid.two,
  .radio5crm-kpis,
  .radio5crm-guide,
  .radio5crm-switchgrid {
    grid-template-columns: 1fr;
  }
  .radio5crm-sidebar {
    position: relative;
    top: 0;
  }
  .radio5crm-savebar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* v1.2.2 - Modo CRM limpio: evita duplicados creados por Elementor/temas/renderizado múltiple */
html.radio5-crm-only-view body .radio5b,
html.radio5-crm-only-view body .radio5b-header,
html.radio5-crm-only-view body .radio5b-logo-menu,
html.radio5-crm-only-view body .radio5b-hero,
html.radio5-crm-only-view body .radio5b-section,
html.radio5-crm-only-view body .radio5b-clients-showcase,
html.radio5-crm-only-view body .radio5b-clients-page {
  display: none !important;
}

html.radio5-crm-only-view body .radio5crm-only ~ .radio5crm-only {
  display: none !important;
}


/* =========================
   Radio 5 - Clientes / Anunciantes
========================= */
.radio5b-clients-showcase,
.radio5b-clients-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,8,8,.22), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(0,70,255,.20), transparent 34%),
    linear-gradient(135deg, #02050c 0%, #060917 46%, #000 100%);
  font-family: var(--radio5-font, Arial, Helvetica, sans-serif);
}

.radio5b-clients-showcase::before,
.radio5b-clients-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 78%);
}

.radio5b-clients-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 86px 28px;
}

.radio5b-clients-head {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.radio5b-clients-head span,
.radio5b-clients-page-hero span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--radio5-accent, #fff200);
  font-weight: 950;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.radio5b-clients-head span::before,
.radio5b-clients-page-hero span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--radio5-primary, #ff0808);
  box-shadow: 0 0 22px rgba(255,8,8,.8);
}

.radio5b-clients-head h2,
.radio5b-clients-page-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 76px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.radio5b-clients-head p,
.radio5b-clients-page-hero p {
  max-width: 780px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.74);
  font-size: 18px;
  line-height: 1.7;
}

.radio5b-client-grid {
  display: grid;
  gap: 32px;
}

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

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

.radio5b-client-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 28px;
  border: 1px solid rgba(255, 8, 8, .28);
  background:
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.93) 100%),
    radial-gradient(circle at 22% 18%, rgba(255,8,8,.55), transparent 38%),
    linear-gradient(135deg, #12182f, #04050a 62%);
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 70px rgba(0,0,0,.42);
  isolation: isolate;
}

.radio5b-client-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 242, 0, .12), transparent 38%),
    radial-gradient(circle at 78% 12%, rgba(0, 91, 255, .22), transparent 30%);
  opacity: .9;
}

.radio5b-client-card:hover {
  transform: translateY(-6px);
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 38px 88px rgba(0,0,0,.5);
}

.radio5b-client-card-fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.06);
  font-size: 135px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -10px;
  text-transform: uppercase;
}

.radio5b-client-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255,8,8,.72);
  box-shadow: 0 18px 40px rgba(255,8,8,.28);
  transform: translate(-50%, -50%);
  cursor: pointer;
  font-size: 28px;
  backdrop-filter: blur(8px);
}

.radio5b-client-play:hover {
  background: rgba(255,8,8,.95);
  transform: translate(-50%, -50%) scale(1.04);
}

.radio5b-client-info {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 30px 30px;
}

.radio5b-client-info h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0,0,0,.55);
}

.radio5b-client-info p {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.radio5b-client-cta,
.radio5b-clients-main-cta,
.radio5b-client-map,
.radio5b-client-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--radio5-primary, #ff0808), #d9a441);
  cursor: pointer;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.radio5b-client-cta {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
}

.radio5b-clients-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.radio5b-clients-main-cta {
  min-width: min(440px, 100%);
  min-height: 72px;
  padding: 0 42px;
  border-radius: 999px;
  font-size: 20px;
  letter-spacing: 3px;
  box-shadow: 0 18px 40px rgba(255,8,8,.24);
}

.radio5b-clients-page-hero {
  position: relative;
  z-index: 1;
  padding: 88px 24px 64px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,8,8,.16), transparent),
    radial-gradient(circle at 50% 0%, rgba(255,242,0,.18), transparent 30%);
}

.radio5b-clients-page-hero img {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
}

.radio5b-clients-archive-inner {
  padding-top: 34px;
}

.radio5b-empty-clients {
  padding: 38px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  background: rgba(255,255,255,.08);
}

.radio5b-client-modal[hidden] {
  display: none !important;
}

.radio5b-client-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.radio5b-client-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

body.radio5-client-modal-open {
  overflow: hidden;
}

.radio5b-client-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(12px);
}

.radio5b-client-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,8,8,.28), transparent 35%),
    linear-gradient(135deg, #0d1227 0%, #050507 70%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 34px 100px rgba(0,0,0,.65);
}

.radio5b-client-modal-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #111;
  background: #ffffff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.radio5b-client-modal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
}

.radio5b-client-modal-media {
  min-height: 520px;
  background: #070707;
}

.radio5b-client-modal-media img,
.radio5b-client-modal-placeholder {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.radio5b-client-modal-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.18);
  font-size: 48px;
  font-weight: 950;
  background: linear-gradient(135deg, #172151, #090b12);
}

.radio5b-client-modal-copy {
  padding: 52px 42px 38px;
}

.radio5b-client-modal-eyebrow {
  display: inline-flex;
  color: var(--radio5-accent, #fff200);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.radio5b-client-modal-copy h3 {
  margin: 12px 0 26px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -1.6px;
  text-transform: uppercase;
}

.radio5b-client-detail,
.radio5b-client-detail-grid {
  margin-top: 18px;
}

.radio5b-client-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.radio5b-client-detail h4,
.radio5b-client-detail-grid h4 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.radio5b-client-detail p,
.radio5b-client-detail-grid p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

.radio5b-client-map {
  min-height: 44px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 999px;
}

.radio5b-client-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.radio5b-client-socials a {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

@media (max-width: 1200px) {
  .radio5b-client-grid-showcase,
  .radio5b-client-grid-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .radio5b-client-modal-grid {
    grid-template-columns: 1fr;
  }
  .radio5b-client-card {
    min-height: 380px;
  }
  .radio5b-client-modal-media,
  .radio5b-client-modal-media img,
  .radio5b-client-modal-placeholder {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .radio5b-client-grid-showcase,
  .radio5b-client-grid-archive {
    grid-template-columns: 1fr;
  }

  .radio5b-clients-inner {
    padding: 64px 18px;
  }
  .radio5b-clients-head span,
  .radio5b-clients-page-hero span {
    letter-spacing: 2px;
  }
  .radio5b-client-info {
    padding: 0 22px 24px;
  }
  .radio5b-client-play {
    width: 76px;
    height: 76px;
  }
  .radio5b-client-detail-grid {
    grid-template-columns: 1fr;
  }
  .radio5b-client-modal-copy {
    padding: 42px 24px 28px;
  }
}


/* =========================
   v1.3.2 Header Radio 5 compactado
   Proporción visual alineada con el header de Somos Radio Latina
   en desktop: ancho aproximado 94% del viewport y alto superior aprox. 150px + ticker 56px.
========================= */
.radio5b-header-shell {
  width: min(var(--radio5-header-max, 1448px), calc(100% - 72px)) !important;
  max-width: 1448px !important;
  margin-top: var(--radio5-header-margin-top, 36px) !important;
  border-radius: 4px !important;
}

.radio5b-header-top {
  height: 150px !important;
  min-height: 150px !important;
  padding: 18px 30px 22px !important;
  gap: 22px !important;
}

.radio5b-header-live {
  width: min(300px, 100%) !important;
  min-height: 62px !important;
  padding: 10px 22px !important;
  margin-bottom: 4px !important;
}

.radio5b-header-live strong {
  padding: 12px 22px !important;
  font-size: 15px !important;
  letter-spacing: .4px !important;
}

.radio5b-header-live span {
  width: 13px !important;
  height: 13px !important;
}

.radio5b-header-left h2 {
  font-size: clamp(23px, 1.9vw, 30px) !important;
  line-height: 1 !important;
  margin-bottom: 3px !important;
}

.radio5b-header-left p {
  font-size: clamp(12px, .92vw, 15px) !important;
  letter-spacing: 2.6px !important;
}

.radio5b-header-right {
  gap: 18px !important;
}

.radio5b-clock,
.radio5b-weather {
  min-height: 48px !important;
  padding: 10px 18px !important;
  border-radius: 6px !important;
  gap: 11px !important;
}

.radio5b-clock span {
  font-size: 16px !important;
}

.radio5b-clock strong {
  font-size: clamp(20px, 1.5vw, 27px) !important;
}

.radio5b-clock em {
  font-size: 13px !important;
}

.radio5b-weather-icon {
  font-size: 22px !important;
}

.radio5b-weather strong {
  font-size: clamp(22px, 1.7vw, 28px) !important;
}

.radio5b-weather em {
  font-size: 12px !important;
}

.radio5b-breaking {
  min-height: 56px !important;
  height: 56px !important;
}

.radio5b-breaking-label {
  min-width: 170px !important;
  padding: 0 30px !important;
  font-size: 17px !important;
}

.radio5b-breaking-label::after {
  right: -27px !important;
  border-top-width: 56px !important;
  border-right-width: 27px !important;
}

.radio5b-breaking-track {
  padding-left: 70px !important;
  gap: 84px !important;
}

.radio5b-ticker-pill {
  min-height: 28px !important;
  padding: 2px 18px !important;
  font-size: 17px !important;
}

.radio5b-logo-menu {
  width: min(var(--radio5-header-max, 1448px), calc(100% - 72px)) !important;
  max-width: 1448px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 58px !important;
  padding-bottom: 28px !important;
}

.radio5b-main-logo {
  width: min(var(--radio5-header-logo-width, 430px), 430px, 82vw) !important;
  max-height: 160px !important;
  margin-bottom: 34px !important;
}

.radio5b-nav {
  max-width: 1260px !important;
}

@media (max-width: 900px) {
  .radio5b-header-shell,
  .radio5b-logo-menu {
    width: calc(100% - 28px) !important;
  }

  .radio5b-header-top {
    height: auto !important;
    min-height: 220px !important;
    padding: 22px 18px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .radio5b-header-right {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .radio5b-clock,
  .radio5b-weather {
    width: 100% !important;
    justify-content: center !important;
  }

  .radio5b-breaking {
    height: auto !important;
    min-height: 56px !important;
  }

  .radio5b-breaking-label {
    min-width: 145px !important;
    padding: 0 22px !important;
    font-size: 15px !important;
  }

  .radio5b-logo-menu {
    padding-top: 38px !important;
    padding-bottom: 24px !important;
  }

  .radio5b-main-logo {
    max-height: 135px !important;
    margin-bottom: 24px !important;
  }
}

/* =========================
   v1.3.3 Ajuste visual página Clientes
   Logo más pequeño y proporcionado en [radio5_clientes]
========================= */
.radio5b--clients .radio5b-clients-page-hero {
  padding: 58px 24px 48px !important;
}

.radio5b--clients .radio5b-clients-page-hero img {
  max-width: 155px !important;
  width: min(155px, 42vw) !important;
  max-height: 95px !important;
  object-fit: contain !important;
  margin: 0 auto 18px !important;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.38)) !important;
}

.radio5b--clients .radio5b-clients-page-hero span {
  margin-bottom: 10px !important;
}

.radio5b--clients .radio5b-clients-page-hero h1 {
  font-size: clamp(34px, 4.4vw, 64px) !important;
}

.radio5b--clients .radio5b-clients-page-hero p {
  max-width: 720px !important;
  margin-top: 14px !important;
}

@media (max-width: 768px) {
  .radio5b--clients .radio5b-clients-page-hero {
    padding: 42px 18px 36px !important;
  }

  .radio5b--clients .radio5b-clients-page-hero img {
    max-width: 128px !important;
    width: min(128px, 46vw) !important;
    margin-bottom: 14px !important;
  }
}

/* =========================
   v1.3.4 Pauta Comercial + Programación Radio 5
========================= */
.radio5b-advertising,
.radio5b-programs {
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: var(--radio5-font, Arial, Helvetica, sans-serif);
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 8, 8, .22), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(0, 68, 255, .18), transparent 34%),
    linear-gradient(135deg, #030305 0%, #060812 52%, #000000 100%);
}

.radio5b-advertising::before,
.radio5b-programs::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .45;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.92), transparent 82%);
}

.radio5b-ad-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 92px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .85fr);
  gap: 42px;
  align-items: stretch;
}

.radio5b-ad-copy,
.radio5b-ad-form {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 90px rgba(0,0,0,.46);
}

.radio5b-ad-copy {
  padding: clamp(36px, 5vw, 62px);
  background:
    radial-gradient(circle at 16% 12%, rgba(255,8,8,.15), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: blur(8px);
}

.radio5b-ad-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  margin-bottom: 30px;
  border-radius: 2px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--radio5-primary, #ff0808), #b80b18);
  font-size: 13px;
  font-weight: 900;
}

.radio5b-ad-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -2px;
  text-transform: none;
}

.radio5b-ad-copy h2 strong {
  display: block;
  color: #d4202d;
}

.radio5b-ad-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.7;
}

.radio5b-ad-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 34px 0 28px;
}

.radio5b-ad-stats > div {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-left: 16px;
}

.radio5b-ad-stats > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 10px;
  background: var(--radio5-accent, #fff200);
}

.radio5b-ad-stats strong {
  color: #ffffff;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1;
  font-weight: 950;
}

.radio5b-ad-stats span {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 800;
}

.radio5b-ad-bullets {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.radio5b-ad-bullets li {
  position: relative;
  padding-left: 24px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.radio5b-ad-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--radio5-primary, #ff0808);
  box-shadow: 0 0 18px rgba(255,8,8,.65);
}

.radio5b-ad-form {
  padding: clamp(28px, 3.8vw, 44px);
  background: linear-gradient(135deg, rgba(22, 25, 37, .98), rgba(10, 13, 26, .98));
  border-color: rgba(255,255,255,.10);
}

.radio5b-ad-form h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -1px;
}

.radio5b-ad-form > p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.48);
  font-weight: 700;
}

.radio5b-ad-form label {
  display: block;
  margin: 0 0 16px;
}

.radio5b-ad-form label span {
  display: block;
  margin: 0 0 8px;
  color: var(--radio5-accent, #fff200);
  font-size: 12px;
  font-weight: 950;
}

.radio5b-ad-form input,
.radio5b-ad-form select,
.radio5b-ad-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  padding: 14px 16px;
  color: #ffffff;
  background: rgba(0,0,0,.42);
  font-size: 16px;
  outline: none;
}

.radio5b-ad-form select option {
  color: #111;
}

.radio5b-ad-form textarea {
  min-height: 92px;
  resize: vertical;
}

.radio5b-ad-form input:focus,
.radio5b-ad-form select:focus,
.radio5b-ad-form textarea:focus {
  border-color: var(--radio5-primary, #ff0808);
  box-shadow: 0 0 0 4px rgba(255,8,8,.12);
}

.radio5b-ad-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.radio5b-ad-form button {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #cf1722, #f04444);
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(255,8,8,.25);
}

.radio5b-ad-form button:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
}

.radio5b-ad-form em {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.46);
  text-align: center;
  font-style: normal;
  font-size: 13px;
}

.radio5b-programs {
  padding: 92px 0 100px;
}

.radio5b-programs-head {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto 48px;
  padding: 0 28px;
}

.radio5b-programs-head span {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  margin-bottom: 26px;
  border: 1px solid rgba(255,8,8,.30);
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  background: rgba(255,8,8,.10);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.radio5b-programs-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(48px, 6vw, 84px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.radio5b-programs-head h2 strong {
  color: #d4202d;
}

.radio5b-programs-head p {
  max-width: 920px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 20px;
  line-height: 1.7;
}

.radio5b-programs-slider-wrap {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

.radio5b-programs-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 31%);
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}

.radio5b-programs-slider::-webkit-scrollbar {
  display: none;
}

.radio5b-program-card {
  position: relative;
  min-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.38) 44%, rgba(0,0,0,.92) 100%),
    radial-gradient(circle at 30% 20%, rgba(0, 87, 255, .38), transparent 42%),
    radial-gradient(circle at 82% 16%, rgba(255, 8, 8, .28), transparent 36%),
    linear-gradient(135deg, #0b1225, #050507 70%);
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 78px rgba(0,0,0,.42);
  isolation: isolate;
}

.radio5b-program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.18) 0 15%, transparent 15% 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.92) 82%);
  pointer-events: none;
}

.radio5b-program-card:hover {
  transform: translateY(-7px);
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 40px 92px rgba(0,0,0,.55);
}

.radio5b-program-tag {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(20,24,34,.85);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.radio5b-program-fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.06);
  font-size: 170px;
  font-weight: 950;
  letter-spacing: -12px;
  text-transform: uppercase;
}

.radio5b-program-info {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 30px 32px;
}

.radio5b-program-info h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(32px, 3.6vw, 58px);
  line-height: .92;
  font-weight: 950;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0,0,0,.55);
}

.radio5b-program-info p,
.radio5b-program-info em,
.radio5b-program-info small {
  display: block;
  color: rgba(255,255,255,.78);
  line-height: 1.45;
}

.radio5b-program-info p {
  margin: 0 0 10px;
  font-weight: 900;
}

.radio5b-program-info em {
  color: var(--radio5-accent, #fff200);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.radio5b-program-info small {
  margin-top: 10px;
  font-size: 13px;
}

.radio5b-program-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 48px;
  line-height: 1;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
}

.radio5b-program-nav:hover {
  background: var(--radio5-primary, #ff0808);
}

.radio5b-program-nav.is-prev { left: 10px; }
.radio5b-program-nav.is-next { right: 10px; }

@media (max-width: 1100px) {
  .radio5b-ad-inner {
    grid-template-columns: 1fr;
  }
  .radio5b-programs-slider {
    grid-auto-columns: minmax(280px, 48%);
  }
}

@media (max-width: 680px) {
  .radio5b-ad-inner,
  .radio5b-programs-head,
  .radio5b-programs-slider-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .radio5b-ad-inner {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .radio5b-ad-form-row {
    grid-template-columns: 1fr;
  }
  .radio5b-programs {
    padding: 68px 0 76px;
  }
  .radio5b-programs-slider {
    grid-auto-columns: minmax(260px, 88%);
  }
  .radio5b-program-card {
    min-height: 480px;
  }
  .radio5b-program-nav {
    display: none;
  }
}

/* CRM only también debe ocultar los nuevos módulos cuando se use [radio5_crm_only] */
html.radio5-crm-only-view body .radio5b-advertising,
html.radio5-crm-only-view body .radio5b-programs {
  display: none !important;
}

/* =========================
   v1.3.6 Header móvil optimizado
   Compacta el bloque superior, reloj/clima, ticker, logo y navegación para que no sea invasivo en celular.
========================= */
@media (max-width: 768px) {
  .radio5b-header {
    background: #ffffff !important;
  }

  .radio5b-header-shell {
    width: calc(100% - 20px) !important;
    margin-top: 12px !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18) !important;
  }

  .radio5b-header-top {
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 14px 12px !important;
    gap: 10px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  .radio5b-header-shade {
    background:
      radial-gradient(circle at 0% 18%, rgba(255, 8, 8, .18), transparent 42%),
      linear-gradient(90deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.92) 62%, rgba(0,0,0,.82) 100%) !important;
  }

  .radio5b-header-live {
    width: fit-content !important;
    min-height: 38px !important;
    padding: 7px 12px !important;
    gap: 8px !important;
    margin: 0 0 8px !important;
    border-radius: 10px !important;
  }

  .radio5b-header-live span {
    width: 9px !important;
    height: 9px !important;
  }

  .radio5b-header-live strong {
    padding: 7px 12px !important;
    font-size: 12px !important;
    letter-spacing: .2px !important;
  }

  .radio5b-header-left h2 {
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: -.4px !important;
    margin-bottom: 4px !important;
  }

  .radio5b-header-left p {
    max-width: 92vw !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
    letter-spacing: 1.9px !important;
  }

  .radio5b-header-right {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 8px !important;
    justify-content: stretch !important;
  }

  .radio5b-clock,
  .radio5b-weather {
    width: auto !important;
    min-height: 40px !important;
    padding: 7px 8px !important;
    border-radius: 10px !important;
    gap: 6px !important;
    justify-content: center !important;
  }

  .radio5b-clock span {
    font-size: 10.5px !important;
    letter-spacing: 0 !important;
  }

  .radio5b-clock strong {
    font-size: 15px !important;
    letter-spacing: .8px !important;
  }

  .radio5b-clock em {
    font-size: 10px !important;
  }

  .radio5b-weather-icon {
    font-size: 16px !important;
  }

  .radio5b-weather strong {
    font-size: 17px !important;
  }

  .radio5b-weather em {
    font-size: 9.5px !important;
  }

  .radio5b-breaking {
    height: 42px !important;
    min-height: 42px !important;
  }

  .radio5b-breaking-label {
    min-width: 108px !important;
    padding: 0 13px !important;
    font-size: 12px !important;
    letter-spacing: -.2px !important;
  }

  .radio5b-breaking-label::after {
    display: none !important;
  }

  .radio5b-breaking-track {
    padding-left: 18px !important;
    gap: 34px !important;
  }

  .radio5b-ticker-pill {
    min-height: 24px !important;
    padding: 2px 12px !important;
    font-size: 12px !important;
  }

  .radio5b-logo-menu {
    width: calc(100% - 20px) !important;
    min-height: 0 !important;
    padding: 20px 10px 16px !important;
  }

  .radio5b-main-logo {
    width: min(var(--radio5-header-logo-width, 180px), 180px, 54vw) !important;
    max-height: 86px !important;
    margin: 0 auto 14px !important;
    object-fit: contain !important;
  }

  .radio5b-nav {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 4px 8px 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .radio5b-nav::-webkit-scrollbar {
    display: none !important;
  }

  .radio5b-nav a {
    flex: 0 0 auto !important;
    min-height: 34px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    background: #ffffff !important;
    color: #050505 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .06) !important;
  }

  .radio5b-nav a.is-active {
    background: var(--radio5-header-secondary, #f00808) !important;
    color: #ffffff !important;
    border-color: var(--radio5-header-secondary, #f00808) !important;
  }

  .radio5b-nav a:not(:last-child)::after {
    display: none !important;
  }

  .radio5b-red-dot {
    width: 12px !important;
    height: 12px !important;
  }
}

@media (max-width: 430px) {
  .radio5b-header-shell,
  .radio5b-logo-menu {
    width: calc(100% - 16px) !important;
  }

  .radio5b-header-top {
    padding: 12px 12px 10px !important;
  }

  .radio5b-header-left h2 {
    font-size: 20px !important;
  }

  .radio5b-header-left p {
    font-size: 9.8px !important;
    letter-spacing: 1.4px !important;
  }

  .radio5b-header-right {
    gap: 7px !important;
  }

  .radio5b-clock,
  .radio5b-weather {
    min-height: 38px !important;
    padding: 7px 6px !important;
  }

  .radio5b-clock span {
    display: none !important;
  }

  .radio5b-weather em {
    display: none !important;
  }

  .radio5b-breaking-label {
    min-width: 92px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  .radio5b-main-logo {
    width: min(160px, 52vw) !important;
    max-height: 78px !important;
  }

  .radio5b-nav a {
    font-size: 11px !important;
    padding: 9px 12px !important;
  }
}

/* Ajuste v1.3.6.1: menú con enlace Clientes entre Deportes y Música */
.radio5b-nav {
  max-width: min(1448px, calc(100% - 32px)) !important;
  gap: 6px !important;
}

.radio5b-nav a {
  padding: 13px 18px !important;
  font-size: clamp(14px, .95vw, 20px) !important;
}

@media (max-width: 900px) {
  .radio5b-nav {
    justify-content: flex-start !important;
  }
}

/* =========================
   v1.3.6.2 Ajuste header superior: logo central y alineación
========================= */
.radio5b-header-top {
  display: grid !important;
  grid-template-columns: minmax(290px, 1fr) minmax(210px, 320px) minmax(360px, 1.18fr) !important;
  align-items: center !important;
  gap: 26px !important;
}

.radio5b-header-left,
.radio5b-header-center,
.radio5b-header-right {
  position: relative;
  z-index: 2;
}

.radio5b-header-left {
  min-width: 0;
  align-self: center !important;
}

.radio5b-header-left h2 {
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.radio5b-header-left h2::before,
.radio5b-header-left h2::after,
.radio5b-header-left p::before,
.radio5b-header-left p::after {
  display: none !important;
  content: none !important;
}

.radio5b-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
}

.radio5b-header-center-logo {
  display: block;
  width: min(245px, 100%);
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 55, 180, .34));
}

.radio5b-header-right {
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  min-width: 0;
}

.radio5b-header-live {
  margin-bottom: 6px !important;
}

@media (max-width: 1180px) {
  .radio5b-header-top {
    grid-template-columns: 1fr !important;
    justify-items: stretch;
    gap: 16px !important;
  }

  .radio5b-header-center {
    justify-content: flex-start;
    min-height: auto;
    order: 2;
  }

  .radio5b-header-left {
    order: 1;
  }

  .radio5b-header-right {
    order: 3;
    width: 100%;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  .radio5b-header-center-logo {
    width: min(190px, 58vw);
    max-height: 72px;
  }
}

@media (max-width: 900px) {
  .radio5b-header-center {
    justify-content: center;
  }

  .radio5b-header-center-logo {
    width: min(170px, 62vw);
    max-height: 68px;
  }
}


/* =========================
   v1.3.6.3 Ajuste: eliminar logo grande sobre el menú
   Mantiene el logo pequeño dentro del header superior y deja el menú más compacto.
========================= */
.radio5b-logo-menu--nav-only {
  min-height: 0 !important;
  padding-top: 26px !important;
  padding-bottom: 26px !important;
}

.radio5b-logo-menu--nav-only .radio5b-main-logo {
  display: none !important;
}

.radio5b-logo-menu--nav-only .radio5b-nav {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .radio5b-logo-menu--nav-only {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
}


/* =========================
   v1.3.6.4 Ajuste header superior
   - elimina cualquier caja/decoración residual del bloque RADIO 5
   - alinea badge EN VIVO, logo central, reloj y clima de forma ordenada
   - mejora el balance visual del header en desktop
========================= */
.radio5b-header-top {
  grid-template-columns: minmax(360px, 1.22fr) minmax(180px, 240px) minmax(300px, auto) !important;
  align-items: center !important;
  column-gap: 34px !important;
  row-gap: 16px !important;
  padding-top: 20px !important;
  padding-bottom: 18px !important;
}

.radio5b-header-left {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 6px !important;
  min-height: 92px;
}

.radio5b-header-live {
  width: min(360px, 100%) !important;
  min-height: 72px !important;
  margin: 0 0 4px !important;
  padding: 14px 26px !important;
}

.radio5b-header-live strong {
  padding: 14px 24px !important;
}

.radio5b-header-left h2,
.radio5b-header-left p {
  margin-left: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.radio5b-header-left h2 {
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1 !important;
}

.radio5b-header-left p {
  max-width: 420px;
  line-height: 1.15 !important;
}

.radio5b-header-center {
  align-self: center !important;
  justify-self: center !important;
  min-height: 92px !important;
}

.radio5b-header-center-logo {
  width: min(220px, 100%) !important;
  max-height: 88px !important;
}

.radio5b-header-right {
  display: grid !important;
  grid-template-columns: auto auto !important;
  align-items: center !important;
  justify-content: end !important;
  gap: 18px !important;
}

.radio5b-clock,
.radio5b-weather {
  align-self: center !important;
  min-height: 68px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

@media (max-width: 1240px) {
  .radio5b-header-top {
    grid-template-columns: 1.1fr .75fr !important;
    align-items: center !important;
  }

  .radio5b-header-center {
    justify-self: start !important;
  }

  .radio5b-header-right {
    grid-column: 1 / -1;
    justify-content: start !important;
  }
}

@media (max-width: 900px) {
  .radio5b-header-top {
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
  }

  .radio5b-header-left,
  .radio5b-header-center,
  .radio5b-header-right {
    width: 100% !important;
  }

  .radio5b-header-center {
    justify-content: center !important;
    justify-self: center !important;
    min-height: auto !important;
  }

  .radio5b-header-right {
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
  }

  .radio5b-clock,
  .radio5b-weather {
    width: 100% !important;
    justify-content: center !important;
  }
}


/* =========================
   v1.3.6.5 Ajuste solicitado
   - oculta el texto blanco "RADIO 5" en el header superior
   - compacta el bloque izquierdo
   - alinea mejor los demás elementos de la línea superior
========================= */
.radio5b-header-left h2 {
  display: none !important;
}

.radio5b-header-top {
  grid-template-columns: minmax(360px, 1.2fr) minmax(180px, 240px) minmax(320px, auto) !important;
  align-items: center !important;
}

.radio5b-header-left {
  min-height: 92px !important;
  gap: 8px !important;
  justify-content: center !important;
}

.radio5b-header-live {
  margin-bottom: 0 !important;
}

.radio5b-header-left p {
  margin: 0 !important;
  max-width: 440px !important;
}

.radio5b-header-center,
.radio5b-header-right,
.radio5b-clock,
.radio5b-weather {
  align-self: center !important;
}

@media (max-width: 1240px) {
  .radio5b-header-top {
    grid-template-columns: 1fr .8fr !important;
  }
}

@media (max-width: 900px) {
  .radio5b-header-left {
    min-height: auto !important;
  }
}


/* =========================
   v1.3.6.6 Mejora header móvil
   - fecha y temperatura en la misma línea
   - cajas más compactas y proporcionadas en celular
========================= */
@media (max-width: 900px) {
  .radio5b-header-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .radio5b-clock,
  .radio5b-weather {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 78px !important;
    padding: 12px 14px !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 18px !important;
  }

  .radio5b-clock span {
    font-size: 12px !important;
  }

  .radio5b-clock strong {
    font-size: 18px !important;
    letter-spacing: 1px !important;
  }

  .radio5b-clock em {
    font-size: 11px !important;
  }

  .radio5b-weather-icon {
    font-size: 20px !important;
  }

  .radio5b-weather strong {
    font-size: 18px !important;
  }

  .radio5b-weather em {
    font-size: 10px !important;
    letter-spacing: .4px !important;
  }
}

@media (max-width: 520px) {
  .radio5b-header-right {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
    gap: 10px !important;
  }

  .radio5b-clock,
  .radio5b-weather {
    min-height: 72px !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
  }

  .radio5b-clock {
    gap: 6px !important;
  }

  .radio5b-clock span {
    font-size: 11px !important;
  }

  .radio5b-clock strong {
    font-size: 16px !important;
  }

  .radio5b-clock em {
    font-size: 10px !important;
  }

  .radio5b-weather {
    gap: 6px !important;
  }

  .radio5b-weather-icon {
    font-size: 18px !important;
  }

  .radio5b-weather strong {
    font-size: 17px !important;
  }

  .radio5b-weather em {
    display: none !important;
  }
}


/* =========================
   v1.3.6.7 Ajuste botón EN VIVO
   - reduce padding y tamaño del bloque rojo del header
   - mejora proporción en desktop y móvil
========================= */
.radio5b-header-live {
  width: min(300px, 100%) !important;
  min-height: 60px !important;
  padding: 10px 18px !important;
  gap: 12px !important;
  border-radius: 14px !important;
}

.radio5b-header-live strong {
  padding: 10px 20px !important;
  font-size: 16px !important;
}

.radio5b-header-live span {
  width: 14px !important;
  height: 14px !important;
}

@media (max-width: 900px) {
  .radio5b-header-live {
    width: min(250px, 100%) !important;
    min-height: 54px !important;
    padding: 8px 14px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }

  .radio5b-header-live strong {
    padding: 9px 18px !important;
    font-size: 15px !important;
  }

  .radio5b-header-live span {
    width: 12px !important;
    height: 12px !important;
  }
}

@media (max-width: 520px) {
  .radio5b-header-live {
    width: min(230px, 100%) !important;
    min-height: 50px !important;
    padding: 7px 12px !important;
    gap: 8px !important;
  }

  .radio5b-header-live strong {
    padding: 8px 16px !important;
    font-size: 14px !important;
  }
}


/* =========================
   v1.3.6.8 Ajuste botones fecha y temperatura
   - reduce padding y altura en desktop, tablet y móvil
   - mantiene alineación y mejora proporción visual
========================= */
.radio5b-clock,
.radio5b-weather {
  min-height: 58px !important;
  padding: 10px 18px !important;
  gap: 10px !important;
  border-radius: 14px !important;
}

.radio5b-clock span {
  font-size: 16px !important;
}

.radio5b-clock strong {
  font-size: clamp(18px, 1.5vw, 28px) !important;
  letter-spacing: 1px !important;
}

.radio5b-clock em {
  font-size: 14px !important;
}

.radio5b-weather-icon {
  font-size: 22px !important;
}

.radio5b-weather strong {
  font-size: clamp(20px, 1.6vw, 28px) !important;
}

.radio5b-weather em {
  font-size: 12px !important;
}

@media (max-width: 1240px) {
  .radio5b-clock,
  .radio5b-weather {
    min-height: 54px !important;
    padding: 9px 15px !important;
    gap: 8px !important;
    border-radius: 13px !important;
  }

  .radio5b-clock span {
    font-size: 14px !important;
  }

  .radio5b-clock strong {
    font-size: 20px !important;
  }

  .radio5b-clock em {
    font-size: 12px !important;
  }

  .radio5b-weather-icon {
    font-size: 20px !important;
  }

  .radio5b-weather strong {
    font-size: 20px !important;
  }

  .radio5b-weather em {
    font-size: 11px !important;
  }
}

@media (max-width: 900px) {
  .radio5b-clock,
  .radio5b-weather {
    min-height: 54px !important;
    padding: 9px 14px !important;
    gap: 8px !important;
    border-radius: 13px !important;
  }

  .radio5b-clock span {
    font-size: 12px !important;
  }

  .radio5b-clock strong {
    font-size: 17px !important;
  }

  .radio5b-clock em {
    font-size: 11px !important;
  }

  .radio5b-weather-icon {
    font-size: 18px !important;
  }

  .radio5b-weather strong {
    font-size: 17px !important;
  }

  .radio5b-weather em {
    font-size: 10px !important;
  }
}

@media (max-width: 520px) {
  .radio5b-clock,
  .radio5b-weather {
    min-height: 50px !important;
    padding: 8px 12px !important;
    gap: 7px !important;
    border-radius: 12px !important;
  }

  .radio5b-clock span {
    font-size: 11px !important;
  }

  .radio5b-clock strong {
    font-size: 16px !important;
  }

  .radio5b-clock em {
    font-size: 10px !important;
  }

  .radio5b-weather-icon {
    font-size: 17px !important;
  }

  .radio5b-weather strong {
    font-size: 16px !important;
  }
}


/* =========================
   v1.3.6.10 Menú móvil desplegable corporativo
   - agrega barra móvil con botón desplegable
   - permite ver todos los enlaces del menú en celular
========================= */
.radio5b-mobile-nav-bar {
  display: none;
}

@media (max-width: 768px) {
  .radio5b-logo-menu--nav-only {
    width: calc(100% - 20px) !important;
    margin: 0 auto !important;
    padding: 14px 10px 18px !important;
    border-top: 1px solid rgba(0,0,0,.04);
  }

  .radio5b-mobile-nav-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
    padding: 10px;
  }

  .radio5b-mobile-nav-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f00808 0%, #ef3a2d 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .3px;
    box-shadow: 0 12px 24px rgba(240, 8, 8, .18);
  }

  .radio5b-mobile-nav-toggle {
    appearance: none;
    border: 0;
    background: #111827;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0,0,0,.16);
  }

  .radio5b-mobile-nav-toggle-icon,
  .radio5b-mobile-nav-toggle-icon::before,
  .radio5b-mobile-nav-toggle-icon::after {
    content: "";
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .22s ease, opacity .22s ease;
  }

  .radio5b-mobile-nav-toggle-icon {
    position: relative;
  }

  .radio5b-mobile-nav-toggle-icon::before,
  .radio5b-mobile-nav-toggle-icon::after {
    position: absolute;
    left: 0;
  }

  .radio5b-mobile-nav-toggle-icon::before { top: -5px; }
  .radio5b-mobile-nav-toggle-icon::after { top: 5px; }

  .radio5b-logo-menu--nav-only .radio5b-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    width: 100% !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden !important;
    padding: 0 !important;
    margin-top: 0 !important;
    transition: max-height .28s ease, opacity .22s ease, margin-top .22s ease;
    box-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
  }

  .radio5b-logo-menu--nav-only.is-open .radio5b-nav {
    max-height: 520px;
    opacity: 1;
    margin-top: 12px !important;
  }

  .radio5b-logo-menu--nav-only .radio5b-nav a {
    min-height: 44px !important;
    padding: 10px 14px !important;
    justify-content: center !important;
    text-align: center;
    border-radius: 16px !important;
    font-size: 12px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.06) !important;
  }

  .radio5b-logo-menu--nav-only .radio5b-nav a.is-direct {
    background: #0a0a0f !important;
    color: #ffffff !important;
    border-color: #0a0a0f !important;
  }

  .radio5b-logo-menu--nav-only.is-open .radio5b-mobile-nav-toggle {
    background: #f00808;
  }

  .radio5b-logo-menu--nav-only.is-open .radio5b-mobile-nav-toggle-icon {
    background: transparent;
  }

  .radio5b-logo-menu--nav-only.is-open .radio5b-mobile-nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .radio5b-logo-menu--nav-only.is-open .radio5b-mobile-nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

@media (max-width: 430px) {
  .radio5b-mobile-nav-bar {
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .radio5b-mobile-nav-current,
  .radio5b-mobile-nav-toggle {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 12px;
  }

  .radio5b-logo-menu--nav-only .radio5b-nav {
    grid-template-columns: 1fr;
  }
}


/* =========================
   v1.3.6.12 Hora y clima automáticos visibles
   - fuerza visualización de hora de Barranquilla en header
   - mantiene cajas compactas en desktop, tablet y móvil
========================= */
.radio5b-clock[data-radio5-clock],
.radio5b-weather[data-radio5-weather] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.radio5b-clock [data-radio5-time] {
  display: inline-flex !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: max-content !important;
}

.radio5b-clock [data-radio5-date],
.radio5b-clock em {
  display: inline-flex !important;
  align-items: center !important;
}

.radio5b-clock,
.radio5b-weather {
  min-height: 46px !important;
  padding: 7px 14px !important;
  gap: 8px !important;
  border-radius: 12px !important;
}

.radio5b-clock span { font-size: 13px !important; }
.radio5b-clock strong { font-size: clamp(17px, 1.35vw, 24px) !important; }
.radio5b-clock em { font-size: 11px !important; }
.radio5b-weather-icon { font-size: 18px !important; }
.radio5b-weather strong { font-size: clamp(17px, 1.35vw, 24px) !important; }
.radio5b-weather em { font-size: 10px !important; }

@media (max-width: 900px) {
  .radio5b-clock,
  .radio5b-weather {
    min-height: 44px !important;
    padding: 7px 10px !important;
    gap: 6px !important;
    border-radius: 11px !important;
  }
  .radio5b-clock span { font-size: 10px !important; }
  .radio5b-clock strong { font-size: 15px !important; }
  .radio5b-clock em { font-size: 10px !important; }
  .radio5b-weather-icon { font-size: 15px !important; }
  .radio5b-weather strong { font-size: 15px !important; }
  .radio5b-weather em { display: none !important; }
}

@media (max-width: 520px) {
  .radio5b-clock,
  .radio5b-weather {
    min-height: 40px !important;
    padding: 6px 9px !important;
    gap: 5px !important;
    border-radius: 10px !important;
  }
  .radio5b-clock [data-radio5-date] { display: none !important; }
  .radio5b-clock strong { font-size: 14px !important; }
  .radio5b-clock em { font-size: 9px !important; }
  .radio5b-weather-icon { font-size: 14px !important; }
  .radio5b-weather strong { font-size: 14px !important; }
}
