/*
 Theme Name:   ProRadio Child
 Theme URI:    https://pro.radio/
 Description:  The child theme allows easier customizations and template overrides
 Author:       Pro.Radio
 Author URI:   https://pro.radio/
 Template:     proradio
 Version:      1.0.6
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         right-sidebar
 Text Domain:  proradio-child
*/

/***************************************************************
****************************************************************
************* PUT YOUR CUSTOM STYLES BELOW ********************/

/* Portada OcioNews: capa visual para una experiencia mas editorial y joven. */
body {
  background: #f6f3ed;
}

.ocionews-schedule {
  --ocn-bg: #10131a;
  --ocn-bg-soft: #171c27;
  --ocn-panel: rgba(255, 255, 255, 0.08);
  --ocn-panel-strong: #0d1119;
  --ocn-text: #fffdf8;
  --ocn-muted: #b9c0cc;
  --ocn-border: rgba(255, 255, 255, 0.14);
  --ocn-border-strong: rgba(255, 255, 255, 0.24);
  --ocn-accent: #d7f36b;
  --ocn-accent-strong: #ff785f;
  --ocn-focus: #8ed8ff;
  background:
    radial-gradient(800px 360px at 4% -10%, rgba(215, 243, 107, 0.24), transparent 62%),
    radial-gradient(680px 330px at 100% 0%, rgba(255, 120, 95, 0.2), transparent 58%),
    linear-gradient(135deg, #111722 0%, #0b0e14 100%);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(18, 22, 31, 0.18);
  position: relative;
}

.ocionews-schedule::before {
  background: linear-gradient(90deg, var(--ocn-accent), var(--ocn-accent-strong));
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: 0;
}

.ocionews-home__intro,
.ocionews-home__card,
.ocionews-home__live,
.ocionews-schedule__now-card,
.ocionews-schedule__event {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ocionews-home__intro {
  background:
    linear-gradient(125deg, rgba(215, 243, 107, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 60%),
    rgba(9, 12, 18, 0.78);
  min-height: 390px;
}

.ocionews-home__kicker,
.ocionews-home__card-label,
.ocionews-home__pill-station {
  color: var(--ocn-accent);
}

.ocionews-home__title {
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  max-width: 9ch;
}

.ocionews-home__summary {
  color: #d7dbe2;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 48ch;
}

.ocionews-home__action--primary {
  background: var(--ocn-accent);
  color: #17200c;
}

.ocionews-home__action--secondary {
  background: transparent;
}

.ocionews-home__action:focus-visible,
.ocionews-home__card:hover,
.ocionews-home__pill:hover,
.ocionews-schedule__event:hover {
  border-color: rgba(215, 243, 107, 0.72);
}

.ocionews-home__card:hover,
.ocionews-schedule__event:hover {
  transform: translateY(-2px);
}

.ocionews-home__stats > div {
  background: rgba(255, 255, 255, 0.055);
}

.ocionews-home__live {
  background: rgba(255, 255, 255, 0.045);
}

.ocionews-home__channels {
  position: relative;
  background: rgba(9, 12, 18, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
}

.ocionews-home__channels::after {
  background: linear-gradient(90deg, var(--ocn-accent), transparent 68%);
  border-radius: 999px;
  content: "";
  height: 2px;
  left: 28px;
  opacity: 0.8;
  position: absolute;
  right: 28px;
  top: 0;
}

.ocionews-home__section-head h3 {
  color: var(--ocn-text);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

.ocionews-home__section-kicker {
  color: var(--ocn-accent);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.ocionews-home__channel-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 16px;
}

.ocionews-home__channel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--ocn-text);
  display: grid;
  gap: 9px;
  min-height: 142px;
  overflow: hidden;
  padding: 15px;
  position: relative;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.ocionews-home__channel::before {
  background: var(--ocn-accent);
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 15px;
  position: absolute;
  right: 15px;
  top: 0;
}

.ocionews-home__channel-mark {
  align-items: center;
  background: rgba(215, 243, 107, 0.14);
  border: 1px solid rgba(215, 243, 107, 0.34);
  border-radius: 999px;
  color: var(--ocn-accent);
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  letter-spacing: 0.06em;
  width: 34px;
}

.ocionews-home__channel-art {
  align-items: center;
  display: flex;
  gap: 8px;
}

.ocionews-home__channel-art img {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.ocionews-home__channel:hover {
  background: rgba(215, 243, 107, 0.12);
  border-color: rgba(215, 243, 107, 0.7);
  color: var(--ocn-text);
  transform: translateY(-3px);
}

.ocionews-home__channel:focus-visible {
  border-color: var(--ocn-focus);
  box-shadow: 0 0 0 3px rgba(142, 216, 255, 0.24);
  outline: none;
}

.ocionews-home__channel--tv {
  background: linear-gradient(145deg, rgba(255, 120, 95, 0.28), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 120, 95, 0.55);
}

.ocionews-home__channel--tv::before {
  background: var(--ocn-accent-strong);
}

.ocionews-home__channel--tv .ocionews-home__channel-mark {
  background: rgba(255, 120, 95, 0.2);
  border-color: rgba(255, 120, 95, 0.5);
  color: #ffd0c4;
}

.ocionews-home__channel-kicker,
.ocionews-home__channel-action {
  color: var(--ocn-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ocionews-home__channel-action span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.ocionews-home__channel:hover .ocionews-home__channel-action span {
  transform: translateX(3px);
}

.ocionews-home__channel--tv .ocionews-home__channel-kicker,
.ocionews-home__channel--tv .ocionews-home__channel-action {
  color: #ffd0c4;
}

.ocionews-home__channel-name {
  align-self: center;
  font-size: 1.02rem;
  line-height: 1.12;
}

.ocionews-home__channel-action {
  align-self: end;
  color: var(--ocn-accent);
}

.ocionews-home__pill {
  background: rgba(9, 12, 18, 0.48);
}

.ocionews-schedule__now-card:first-child {
  border-color: rgba(215, 243, 107, 0.52);
  box-shadow: 0 0 0 1px rgba(215, 243, 107, 0.08), 0 18px 40px rgba(0, 0, 0, 0.18);
}

.ocionews-schedule__now-card:first-child .ocionews-schedule__eyebrow::before {
  background: var(--ocn-accent-strong);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 7px;
  margin: 0 6px 1px 0;
  width: 7px;
}

@media (prefers-reduced-motion: no-preference) {
  .ocionews-home__intro,
  .ocionews-home__feature > *,
  .ocionews-home__live {
    animation: ocionews-rise 480ms ease both;
  }

  .ocionews-home__feature > :nth-child(2) { animation-delay: 70ms; }
  .ocionews-home__feature > :nth-child(3) { animation-delay: 140ms; }
  .ocionews-home__live { animation-delay: 180ms; }
}

@keyframes ocionews-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .ocionews-schedule {
    border-radius: 18px;
    margin-left: -8px;
    margin-right: -8px;
  }

  .ocionews-home__intro {
    min-height: 0;
  }

  .ocionews-home__title {
    font-size: clamp(2.5rem, 15vw, 4.4rem);
  }

  .ocionews-home__actions {
    display: grid;
  }

  .ocionews-home__action {
    width: 100%;
  }

  .ocionews-home__channels {
    margin-left: -8px;
    margin-right: -8px;
  }

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

  .ocionews-home__channel {
    min-height: 126px;
    padding: 13px;
  }

  .ocionews-home__channel::before {
    left: 13px;
    right: 13px;
  }

  .ocionews-home__channels::after {
    left: 18px;
    right: 18px;
  }
}

@media (min-width: 601px) and (max-width: 1050px) {
  .ocionews-home__channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Aplicacion directa al hero actual de Elementor mientras se migra al shortcode. */
.home .elementor-element-3fb9966 {
  background:
    radial-gradient(720px 340px at 8% 0%, rgba(215, 243, 107, 0.18), transparent 62%),
    radial-gradient(620px 300px at 92% 10%, rgba(255, 120, 95, 0.16), transparent 60%),
    #10131a;
  overflow: hidden;
}

.home .elementor-element-3fb9966 .elementor-container {
  padding-bottom: clamp(24px, 5vw, 64px);
  padding-top: clamp(24px, 5vw, 64px);
}

.home .elementor-element-3fb9966 h1 {
  color: #fffdf8;
  font-size: clamp(2.7rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin-bottom: 28px;
  max-width: 9ch;
}

.home .elementor-element-3fb9966 .proradio-customplayer {
  background: rgba(9, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.home .elementor-element-3fb9966 .proradio-customplayer:hover {
  border-color: rgba(215, 243, 107, 0.66);
  transform: translateY(-3px);
}

.home .elementor-element-3fb9966 .proradio-customplayer__showcontents,
.home .elementor-element-3fb9966 .proradio-customplayer__button {
  padding-left: 16px;
  padding-right: 16px;
}

.home .elementor-element-3fb9966 .proradio-customplayer__button a {
  background: #d7f36b;
  color: #17200c;
}

@media (max-width: 767px) {
  .home .elementor-element-3fb9966 h1 {
    font-size: clamp(2.5rem, 15vw, 4.4rem);
    margin-bottom: 20px;
  }

  .home .elementor-element-3fb9966 .elementor-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
