/* Portada Lovart, primera etapa. Todo queda limitado a .st-home. */
.st-home {
  --st-verde:#0B5B2E; --st-verde-oscuro:#063b20; --st-hoja:#63B32E;
  --st-amarillo:#FFC107; --st-naranja:#FF8A00; --st-rojo:#E63946;
  --st-texto:#1F1F1F; --st-borde:#E6E6E6; --st-fondo:#f8faf9;
  background:#fff; color:var(--st-texto);
  font-family:'Montserrat',Arial,sans-serif;
}
.st-home h2,.st-home h3 {font-family:inherit; font-weight:800; overflow-wrap:anywhere;}
.st-home [hidden] {display:none!important;}
.stv-home-top {padding-top:24px;}
.st-home .st-seccion {padding:28px 0;}
.st-home .st-seccion-head {border-bottom:0; padding:0; margin-bottom:20px;}
.st-home .st-seccion-head h2 {border-left:4px solid var(--st-hoja); padding-left:12px; font-size:clamp(1.15rem,2.2vw,1.55rem);}
.st-home .st-grid>.st-vacio {grid-column:1/-1; width:100%; margin:0;}
.stv-slider {background:var(--st-verde-oscuro); color:#fff; border-radius:14px; overflow:hidden;}
.stv-slide {position:relative; isolation:isolate; min-height:400px; display:flex; align-items:center;}
.stv-slide-image {position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2;}
.stv-slide::before {content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(0,34,20,.97) 0%,rgba(0,34,20,.85) 38%,rgba(0,34,20,.25) 100%);}
.stv-slide-copy {width:65%; padding:36px;}
.stv-eyebrow {border-left:4px solid var(--st-hoja); padding-left:12px; font-weight:700; font-size:1rem; margin:0 0 18px;}
.stv-slide h2 {font-size:clamp(1.65rem,3.4vw,2.9rem); line-height:1.15; margin:0 0 18px; text-wrap:balance;}
.stv-slide h2 a,.stv-slide h2 a:hover {color:#fff;}
.stv-slide-summary {font-size:1rem; line-height:1.6; margin:0 0 22px;}
.stv-slide .st-btn {background:var(--st-verde); color:#fff; gap:8px;}
.stv-slide .st-btn:hover {background:#084522;}
.stv-slider-controls {display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:4px; padding:8px 12px; background:rgba(0,0,0,.16);}
.stv-slider-controls button {background:transparent; color:#fff; border:0; padding:8px; min-width:44px; min-height:44px; cursor:pointer; font:inherit; border-radius:6px;}
.stv-slider-controls [data-slide-prev],.stv-slider-controls [data-slide-next] {font-size:1.8rem; line-height:1;}
.stv-slider-controls button:hover {background:rgba(255,255,255,.15);}
.stv-slider-dots {display:flex; flex-wrap:wrap; justify-content:center;}
.stv-slider-dots button span {display:block; width:10px; height:10px; border:1px solid #fff; border-radius:50%; margin:auto;}
.stv-slider-dots button[aria-current="true"] span {background:#fff;}
.stv-slider-controls [data-slide-pause] {font-size:.875rem;}
.stv-slide.stv-enter {animation:stv-reveal .3s ease-out;}
@keyframes stv-reveal {from{opacity:.5}to{opacity:1}}
.stv-highlights {margin-top:26px;}
.stv-highlights-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px;}
.stv-highlight {display:flex; border:1px solid var(--st-borde); border-radius:12px; overflow:hidden; min-width:0; background:#fff;}
.stv-highlight-image {width:42%; flex:0 0 42%;}
.stv-highlight-image img {width:100%; height:100%; min-height:170px; object-fit:cover; display:block;}
.stv-highlight>div {padding:18px; min-width:0; flex:1;}
.stv-highlight h3 {font-size:1rem; line-height:1.35; margin:0 0 10px;}
.stv-highlight h3 a {color:var(--st-verde-oscuro);}
.stv-highlight p {font-size:.875rem; line-height:1.6; margin:0 0 14px; color:#484848;}
.stv-highlight .st-link {font-size:.875rem;}
.st-home .stv-live-section {background:#fff;}
.stv-live-panel {display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:28px; background:var(--st-verde-oscuro); color:#fff; padding:24px; border-radius:14px;}
.stv-live-panel h2,.stv-live-panel .st-live-texto {color:#fff;}
.stv-live-panel .st-live-block {padding:0;}
.stv-live-schedule {align-self:center; min-width:0;}
.stv-live-schedule .st-ahora-grid {grid-template-columns:1fr; margin:0 0 18px;}
.stv-live-schedule .st-card {background:transparent; border:1px solid var(--st-hoja); color:#fff; margin:0;}
.stv-live-schedule .st-tag {display:block; border-radius:0; padding:12px 16px; font-size:.875rem;}
.stv-live-schedule h3 {padding:12px 16px; font-size:1.15rem; margin:0; color:#fff;}
.stv-watch-live {border:1px solid var(--st-hoja); color:#fff; background:var(--st-verde); width:100%;}
.stv-watch-live:hover {background:#084522; color:#fff;}
.stv-schedule-link {display:block; color:#fff; text-align:center; padding:14px 8px; text-decoration:underline;}
.stv-schedule-link:hover {color:var(--st-amarillo);}
.st-home-empty {padding:32px; border:1px solid var(--st-borde); border-radius:12px;}
.st-home .st-redes-seccion h2 {color:#fff;}
/* Etiqueta fija; ventana de titulares independiente, siempre en una fila. */
.stv-ticker {display:flex; align-items:center; gap:12px; overflow:hidden; background:var(--st-verde-oscuro); color:#fff; border-radius:8px; padding:6px; margin:0 0 22px;}
.stv-ticker-label {flex:0 0 auto; white-space:nowrap; background:var(--st-rojo); color:#fff; font-weight:800; padding:10px 14px; border-radius:5px; font-size:.875rem;}
.stv-ticker-window {flex:1 1 auto; min-width:0; overflow-x:auto; white-space:nowrap; scrollbar-width:thin;}
.stv-ticker-track {display:flex; width:max-content;}
.stv-ticker-items {display:flex; align-items:center; flex:0 0 auto; gap:28px; padding-right:28px; white-space:nowrap;}
.stv-ticker-items a {color:#fff; display:block; white-space:nowrap; padding:10px 0; font-size:.875rem;}
.stv-ticker-items a:hover {text-decoration:underline;}
.stv-ticker-controls {display:flex;align-items:center;flex:0 0 auto;}
.stv-ticker-controls button {flex:0 0 38px;min-width:38px;min-height:44px;border:0;color:#fff;background:transparent;cursor:pointer;font-size:1.15rem;border-radius:5px;}
.stv-ticker-controls button:hover {background:rgba(255,255,255,.12);}
.stv-ticker.is-animated .stv-ticker-window {overflow-x:hidden;}
.stv-ticker.is-animated .stv-ticker-track {animation:stv-ticker-loop var(--stv-ticker-duration,35s) linear infinite;}
.stv-ticker.is-paused .stv-ticker-track {animation-play-state:paused;}
.stv-ticker:focus-within .stv-ticker-track {animation:none; transform:none;}
.stv-ticker:focus-within .stv-ticker-window,.stv-ticker.is-paused .stv-ticker-window {overflow-x:auto;}
@keyframes stv-ticker-loop {to{transform:translateX(-50%)}}
@media(max-width:1023px) {
  .stv-slide-copy {width:80%;}
  .stv-highlights-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .stv-live-panel {grid-template-columns:1fr;}
  .stv-live-schedule .st-ahora-grid {grid-template-columns:1fr 1fr;}
}
@media(max-width:767px) {
  .stv-home-top {padding-top:16px;}
  .stv-slide {min-height:390px;}
  .stv-slide-copy {width:100%; padding:28px 20px;}
  .stv-slide h2 {font-size:clamp(1.55rem,7vw,2rem); overflow-wrap:normal; word-break:normal;}
  .stv-slide-summary {font-size:.94rem; line-height:1.55;}
  .stv-slide::before {background:rgba(0,34,20,.83);}
  .stv-slider-controls {gap:0; padding-inline:4px;}
  .stv-slider-dots button {min-width:36px; padding:6px;}
  .stv-highlights-grid {grid-template-columns:1fr;}
  .stv-live-panel {padding:18px;}
  .stv-live-schedule .st-ahora-grid {grid-template-columns:1fr;}
  .stv-ticker {gap:5px;}
  .stv-ticker-label {padding:9px 7px;font-size:.72rem;}
  .stv-ticker-controls button {min-width:28px;flex-basis:28px;padding:0;font-size:1rem;}
}
@media(max-width:460px) {
  .stv-highlight {display:grid;grid-template-columns:1fr;}
  .stv-highlight-image {width:100%;}
  .stv-highlight-image img {min-height:190px;max-height:230px;}
  .stv-ticker-controls button:first-child,.stv-ticker-controls button:last-child {display:none;}
}
@media(prefers-reduced-motion:reduce) {
  .stv-slide.stv-enter,.stv-ticker.is-animated .stv-ticker-track {animation:none!important;}
  .stv-ticker.is-animated .stv-ticker-window {overflow-x:auto;}
}

/* 2.5.13 — Inicio: AHORA / A CONTINUACIÓN en columna, alimentado por la parrilla real. */
.stv-live-schedule .stv-now-next{grid-template-columns:1fr!important;margin:0 0 16px!important}
.stv-live-schedule .stv-now-next-item{grid-template-columns:1fr!important;gap:4px!important;min-height:72px!important;padding:12px 16px!important}
.stv-live-schedule .stv-now-next-item+.stv-now-next-item{border-left:0!important;border-top:1px solid rgba(255,255,255,.20)!important}
.stv-live-schedule .stv-now-next-item>span:last-child{white-space:normal!important;line-height:1.25!important}

/* 2.5.14 — Identidad del programa dentro de AHORA / A CONTINUACIÓN, sin alterar el panel aprobado. */
.stv-live-schedule .stv-program-live-logo{width:46px!important;height:46px!important;object-fit:contain!important;border-radius:8px!important;background:#fff!important;padding:4px!important;margin:2px 0!important}
.stv-live-schedule .stv-live-program-title{font-weight:700!important}
