/* Custom page CSS
-------------------------------------------------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('https://fonts.gstatic.com/s/montserrat/v26/JTUQjIg1_i6t8kCHKm45_ZpC3gTD_u50.woff2') format('woff2');
  font-display: swap;
}

/* Not required for template or sticky footer method. */
body, .footer{
  background-color: #000;
  color: #CBCBCB;
}
a {
  text-decoration: none;
}
main {
    height: auto !important;
    min-height: unset !important;
}
main > .container {
  padding: 60px 15px 0;
}
.footer {
  font-size: 14px;
  color: #CBCBCB;
  background-color: #2b3035;
  font-family: 'Montserrat', sans-serif;
}

code {
  font-size: 80%;
}

/* Carrousel opciones */
.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 6px;
  height: 6px;
  padding: 0;
  margin-right: 7px;
  margin-left: 7px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #000;
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity .6s ease;
  border-radius: 50%;
}
.carousel-indicators [data-bs-target].active {
  opacity: 1;
}
/* Carrousel opciones */
/* Opciones de inicio */
.bg_primary{
  background: #FBB116;
}
.txt_primary{
  color: #FBB116;
}
.bg_secundary{
  background: #F5881F;
}
.txt_secundary{
  color: #F5881F;
}
.txt_blanco{
  color: #F8F8F8;
}
.bg_secundary1{
  background: #58595B;
}
.txt_secundary1{
  color: #58595B;
}
.btn_envivo, .btn_noticias{
  letter-spacing: 0.1em; 
}
  .btn_envivo:hover{
    background: #ff8901;
    border: 1px solid #ff8901;
  }
.btn_noticias{
  background: #E38B0066;
  border: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 1.5;
}
  .btn_noticias:hover{
    background: #FFDC00A1;
  } 
.txt_gruppo{
  font-family: 'Gruppo', sans-serif;
}
.txt_montserrat{
  font-family: 'Montserrat', sans-serif;
}
.txt-inicio{
  color: #F8A417;
  font-size: calc(1em + 1vw);
  font-weight: 500;
  letter-spacing: 1.5px;
}
  .txt-inicio:hover{
    color: #f4871f;
  }
.inicio-icon{
  width: 170px;
  height: 160px;
}
.txt-inicio-num{
  color: #FFFFFF0A;
  font-size: 130px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}
.inicio-circulo{
  font-size: 45px;
}
/* Opciones de inicio */
/* Icono play */
.play-btn {
    top: 0%;
    left: -20%;
    transform: translateX(-20%) translateY(0%);
    box-sizing: content-box;
    display: block;
    width: 22px;
    height: 34px;
    /* background: #fa183d; */
    border-radius: 50%;
    padding: 22px 20px 18px 28px;
}

.play-btn:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 50px;
    height: 50px;
    background: #e52242;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.play-btn:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 50px;
    height: 50px;
    background: #e52242;
    border-radius: 50%;
    transition: all 200ms;
}

.play-btn span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 22px solid #fff;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}
/* Icono play */
/* listado de videos */
.list-enlaces{
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
}
/* escala de gris imagen */
.imagen{
  width: 100%; 
  height: 221px; 
  border-radius: 25px;
  animation: imagen-hover-out 2000ms forwards;
}
.imagen:hover {
  animation: imagen-hover-in 2000ms forwards;  
}
@-webkit-keyframes imagen-hover-out {
  from {
    background-size: 125%;
    filter: grayscale(0); 
  }
  to {
    background-size: 135%; 
    filter: grayscale(1); 
  }
}

@-webkit-keyframes imagen-hover-in {
  0% {
    background-size: 135%; 
    filter: grayscale(1); 
  }
  100% {
    background-size: 125%;
    filter: grayscale(0); 
  }
}
/* listado de videos */
/* listado de logos */
.imagen-logos{
  width: 100%; 
  height: 341px; 
  border-radius: 25px;
  animation: logos-hover-out 1000ms forwards;
}
.imagen-logos:hover {
  animation: logos-hover-in 1000ms forwards;  
}
@-webkit-keyframes logos-hover-out {
  from {
    filter: grayscale(0); 
    background-size: 105%;
  }
  to {
    filter: grayscale(1); 
    background-size: 125%; 
  }
}

@-webkit-keyframes logos-hover-in {
  0% {
    filter: grayscale(1); 
    background-size: 125%; 
  }
  100% {
    filter: grayscale(0); 
    background-size: 105%;
  }
}
/* listado de logos */
/* textos */
.textos{
  color: #CBCBCB;
  font-family: 'Montserrat', sans-serif;
}
.textos h2{
  font-size: calc(3em + 1vw);
  font-weight: bold;
}
.textos p{
  font-size: 16px;
  font-weight: 400 normal;
  line-height: 2em;
  letter-spacing: 0.5px;
  text-align: justify;
}
.textos a{
  color: #F8F8F8;
  background: #FF8800;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6em;
  letter-spacing: 1.5px;
  text-decoration: none;
  animation: enlace-hover-out 430ms forwards;
}
.breadcrumb a{
  color: #F8F8F8;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6em;
  letter-spacing: 1.5px;
  text-decoration: none;
}
.textos a:hover{
  background: #FF8800;
  color: #F8F8F8;
  animation: enlace-hover-in 430ms forwards;
}

@-webkit-keyframes enlace-hover-out {
  from {
    -webkit-transform: scale(0.9);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@-webkit-keyframes enlace-hover-in {
  0% {
    -webkit-transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.9);
  }
}
/* textos */
/* redes */
.redes {
  background-color: #F8A417;
  border-radius: 20px;
  margin: 0 auto;
}
.redes-texto {
    color: #F8F8F8;
    background-image: image-set(
    url("https://www.telerama.ec/img/fondo_redes1.avif") type("image/avif"),
    url("https://www.telerama.ec/img/fondo_redes1.webp") type("image/webp"),
    url("https://www.telerama.ec/img/fondo_redes1.png") type("image/png")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 600px) {
    .redes-texto {
        background-image: image-set(
        url("https://www.telerama.ec/img/fondo_redes1_movil.avif") type("image/avif"),
        url("https://www.telerama.ec/img/fondo_redes1_movil.webp") type("image/webp"),
        url("https://www.telerama.ec/img/fondo_redes1_movil.png") type("image/png")
        );
    }
}

.redes-texto-titulo{
  -webkit-text-stroke-color: #000000;
  font-size: calc(3em + 1vw);
  font-weight: 700;
  line-height: 1.1em;
  text-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
}
.redes-texto-descripcion{
  font-size: 16px;
  font-weight: 400;
  line-height: 2em;
  letter-spacing: 0.5px;
  text-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
}
.redes a{
  color: #F8F8F8;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: #000000;
  animation: enlace-hover-out 430ms forwards;
}
  .redes a:hover{
    background: #000000;
    animation: enlace-hover-in 430ms forwards;
  }
/* redes */
/* presentadores */
.presentadores h3{
  font-size: calc(3em + 1vw);
  font-weight: 700;
  line-height: 1.5em;
}
.prestandores-nombres{
  font-size: 28px;
}
.linea {
  margin:0px 20px;
  width:30px;    
  border-top: 1px solid #F8F8F8;
  position: relative;
  top:12px;
  }
.presentador-foto{
  background-color: var(--e-global-color-accent);
  background-position: center right;
  border-radius: 20px 20px 20px 20px;
  animation: presentador-hover-out 1000ms forwards;
}
  .presentador-foto:hover{
    animation: presentador-hover-in 1000ms forwards;
  }
@-webkit-keyframes presentador-hover-out {
  from {
    border: 1px solid;
  }
  to {
    border: 0;
  }
}
  
@-webkit-keyframes presentador-hover-in {
  0% {
    border: 0.1px solid;
  }
  100% {
    border: 2px solid;
  }
}
.conectados{
  background-color: #f8a417;
  color: #F8F8F8;
  border-radius: 20px 20px 20px 20px;
}
.conectados h3{
  font-size: calc(2em + 1vw);
  font-weight: 700;
  line-height: 1.1em;
  text-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
}
.conectados p{
  font-size: 16px;
  font-weight: 400;
  line-height: 2em;
  letter-spacing: 0.5px;
  text-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
}
/* presentadores */
/* paginas */
.paginas h1{
  color: #F8F8F8;
  font-size: calc(2em + 1vw);
  font-weight: 700;
  line-height: 1.1em;
}
.paginas h2{
  color: #F8F8F8;
  font-size: calc(2em + 1vw);
  font-weight: 600;
}
/* paginas */
/* Informaci贸n video */
.video iframe{
  height: 515px;
}
@media only screen and (min-width:0px) and (max-width:480px){
  .video iframe{
    height: 315px;
  }  
}
.imagen_programa{
  width: 100%; 
  height: 221px; 
  border-radius: 25px;
  animation: imagen_programa-hover-out 2000ms forwards;
}
.imagen_programa:hover {
  animation: imagen_programa-hover-in 2000ms forwards;  
}
@-webkit-keyframes imagen_programa-hover-out {
  from {
    background-size: 125%;
    filter: grayscale(0); 
  }
  to {
    background-size: 135%; 
    filter: grayscale(1); 
  }
}

@-webkit-keyframes imagen_programa-hover-in {
  0% {
    background-size: 135%; 
    filter: grayscale(1); 
  }
  100% {
    background-size: 125%;
    filter: grayscale(0); 
  }
}

/* Informaci贸n video */
/* paginacion */
.page-link{
  font-family: 'Montserrat', sans-serif;
  background-color: #FBB116;
  border: 1px solid #FBB116;
  color: #000;
}
.pagination .active .page-link{
  background-color: #F5881F;
  border: 1px solid #F5881F;
  font-weight: bold;
  color: #fff;
}
.page-link:hover{
  background-color: #F5881F;
  border: 1px solid #F5881F;
  color: #fff;
}
/* paginacion */
/* aceptar cookies */
#lopdgddd {
  position: fixed;
  padding: 10px 0 20px;
  z-index: 1000;
  width: 100%;
  bottom: 0;
  margin: 0 auto;
  background-color: #FBB116;
  color: #2b3035;
  display: none; /* default hide div */
}
#lopdgddd .buttons { clear:both; padding: 5px 0; }
#lopdgddd .buttons a { padding: 10px; text-decoration: none; }
#lopdgddd .btn-accept { background: #219234; color: #F8F8F8;  font-weight: bold; }
#lopdgddd .btn-conf { background: #58595B; color: #fff; font-weight: bold; }
#lopdgddd .btn-info { background: #58595B; color: #fff; font-weight: bold; }
#lopdgddd-modal .modal-content { padding: 15px; color:#000; }
#lopdgddd-modal .modal-content .content { background: #eee; padding: 10px; margin: 10px 0; }
#lopdgddd-modal .modal-content .buttons { clear:both; height:auto; overflow: hidden; padding: 10px 0; }
#lopdgddd-modal .modal-content .buttons a { text-decoration: none; }
#lopdgddd-modal .modal-content .btn-close { float: right; position: absolute; right: 25px; top: 15px; font-size: 2rem; }
#lopdgddd-modal .modal-content .btn-accept { background: #219234; color: #fff; padding: 25px; }
#lopdgddd-modal .modal-content .btn-denied { background: #58595B; color: #fff; padding: 25px; }

@media screen and (max-width: 992px) {

  #lopdgddd { font-size: 1rem; }
  #lopdgddd .info { font-size: 0.8rem }
  #lopdgddd .buttons { padding: 0px 0 0 5px; }
  #lopdgddd-modal .modal-content .buttons a { display: flex; padding: 10px 10px 10px; margin: 0 0 5px; }

}
/* aceptar cookies */
/* Busqueda */
.busqueda_programa{
  font-size: 14px;
  font-weight: normal;
}
/* Busqueda */
/* misa */
.misa-error{
  color: #ff0000;
}
/* misa */



/* botones de compartir personalizados */
.social-share-buttons {
    margin-top: 20px;
    padding: 10px 0;
}

.social-share-buttons h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.social-share-buttons a {
    margin-right: 8px; /* Espacio entre botones */
    margin-bottom: 8px;
    padding: 8px 12px;
    font-size: 0.9em;
    border-radius: 5px; /* Bordes redondeados */
    text-decoration: none;
    display: inline-flex; /* Para alinear el ícono y el texto */
    align-items: center;
}

.social-share-buttons a i {
    margin-right: 5px;
    font-size: 1.1em;
}

/* Colores personalizados (opcional) */
.social-share-buttons .social-facebook { background-color: #1877F2; border-color: #1877F2; color: white !important;  }
.social-share-buttons .social-twitter { background-color: #000000; border-color: #000000; color: white !important; }
.social-share-buttons .social-whatsapp { background-color: #25D366; border-color: #25D366; color: white !important; }
.social-share-buttons .social-email { background-color: #6c757d; border-color: #6c757d; color: white !important; }


/* logo no muy grande en pantallas grandes */
@media (min-width: 992px) {
    .logo-desktop-size {
        /* Reduce el tamaño al 50% del tamaño original de móvil (ej: 50px) */
        height: 50px; /* 50% de 100px */
        width: auto;
    }
}


/* CODIGO ERROR 404*/
    /* Variables fáciles de editar */
    :root{
      --bg:#0b0b0b;
      --tv-frame:#222;
      --screen-bg:#061013;
      --accent:#9be3ff;
      --accent2:#ff9b9b;
      --text:#e6f7ff;
      --scanline-opacity:0.06;
    }

    /* Reset muy simple */
    *{box-sizing:border-box}

    /* Contenedor responsivo para los dispositivos */
    .devices{display:flex;gap:28px;flex-wrap:wrap;align-items:flex-end;justify-content:center;max-width:1200px}

    /* Marco genérico de dispositivo */
    .device{background:linear-gradient(180deg,var(--tv-frame), #1a1a1a);border-radius:18px;padding:14px;box-shadow:0 12px 30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.02);display:flex;align-items:center;justify-content:center}

    /* Tamaños específicos */
    .laptop{width:420px;border-radius:12px;padding:18px}
    .tablet{width:300px;border-radius:18px;padding:14px}
    .phone{width:170px;border-radius:30px;padding:10px}

    /* Bisel / borde de pantalla */
    .screen{
      width:100%;height:240px;background:var(--screen-bg);border-radius:8px;position:relative;overflow:hidden;box-shadow:inset 0 0 120px rgba(0,0,0,0.5), 0 8px 30px rgba(0,0,0,0.6);
      display:flex;align-items:center;justify-content:center;padding:18px;
    }
    .phone .screen{height:360px}
    .tablet .screen{height:380px}
    .laptop .screen{height:260px}

    /* Fondos de CRT + ruido (se mueven con animación) */
    .crt-bg{
      position:absolute;inset:0;background-image:
        linear-gradient(90deg, rgba(255,255,255,0.02) 0.5px, transparent 0.5px),
        linear-gradient(180deg, rgba(255,255,255,0.01) 0.5px, transparent 0.5px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px),
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.02), transparent 20%),
        linear-gradient(120deg, rgba(155,227,255,0.02), rgba(255,155,155,0.02));
      background-size: 100% 100%, 100% 100%, 100% 6px, 400px 400px, 100% 100%;
      mix-blend-mode:overlay;pointer-events:none;opacity:0.9;
      animation: noiseMove 6s linear infinite, subtleShift 4s ease-in-out infinite;
    }

    @keyframes noiseMove{
      from{background-position:0 0,0 0,0 0,0 0,0 0}
      to{background-position:180px 0,0 120px,0 60px,80px 80px,0 0}
    }
    @keyframes subtleShift{
      0%{transform:translateY(0)}
      50%{transform:translateY(1px) scale(1.0005)}
      100%{transform:translateY(0)}
    }

    /* Barras de color (opcional) simulando test pattern cuando parpadea) */
    .color-bars{position:absolute;left:0;right:0;height:18%;bottom:6%;display:flex;z-index:2}
    .bar{flex:1}
    .b1{background:#ff4b4b}
    .b2{background:#ffb84b}
    .b3{background:#ffd84b}
    .b4{background:#7fff7f}
    .b5{background:#4bd7ff}
    .b6{background:#7f7fff}
    .b7{background:#ff7fff}

    /* Texto central "Señal Perdida" estilo retro */
    .message{position:relative;z-index:3;text-align:center;color:var(--text);font-weight:700;letter-spacing:2px;text-transform:uppercase}
    .message h1{margin:0;font-size:clamp(18px,3.6vw,36px);font-family:'Courier New',monospace;filter:drop-shadow(0 2px 6px rgba(0,0,0,0.9))}
    .message p{margin:8px 0 0;font-size:clamp(10px,2.2vw,14px);opacity:0.85}

    /* Glitch: duplicados desplazados y con mezcla */
    .glitch{display:inline-block;position:relative}
    .glitch::before,.glitch::after{content:attr(data-text);position:absolute;left:0;top:0;right:0}
    .glitch::before{clip-path:polygon(0 0,100% 0,100% 35%,0 30%);transform:translate(-2px,-1px);opacity:0.85;color:var(--accent);mix-blend-mode:screen; animation:glitchTop 2.4s infinite linear}
    .glitch::after{clip-path:polygon(0 70%,100% 72%,100% 100%,0 100%);transform:translate(2px,1px);opacity:0.85;color:var(--accent2);mix-blend-mode:screen;animation:glitchBottom 2s infinite linear}

    @keyframes glitchTop{
      0%{transform:translate(-2px,-1px)}
      20%{transform:translate(6px,-3px)}
      40%{transform:translate(-4px,2px)}
      60%{transform:translate(3px,-1px)}
      100%{transform:translate(-2px,-1px)}
    }
    @keyframes glitchBottom{
      0%{transform:translate(2px,1px)}
      20%{transform:translate(-6px,3px)}
      40%{transform:translate(4px,-2px)}
      60%{transform:translate(-3px,1px)}
      100%{transform:translate(2px,1px)}
    }

    /* Scanlines overlay */
    .scanlines::after{
      content:"";position:absolute;inset:0;background-image:repeating-linear-gradient(180deg, rgba(0,0,0,var(--scanline-opacity)) 0 1px, transparent 1px 4px);pointer-events:none;mix-blend-mode:multiply;z-index:4
    }

    /* Filtro "flicker" para todo el contenido de la pantalla */
    .flicker{animation:flickerAnim 3.8s infinite;}
    @keyframes flickerAnim{
      0%{opacity:1}
      3%{opacity:0.92}
      6%{opacity:0.98}
      8%{opacity:0.75}
      10%{opacity:1}
      70%{opacity:1}
      100%{opacity:1}
    }

    /* Pequeños parpadeos que muestran las color-bars (como falla momentánea) */
    .color-bars{opacity:0;transition:opacity .25s}
    .screen.show-bars .color-bars{opacity:1}

    /* Indicadores (LEDs, sensor) para realismo */
    .leds{position:absolute;right:10px;top:10px;display:flex;gap:6px;z-index:5}
    .led{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.06);box-shadow:0 0 8px rgba(0,0,0,0.6) inset}
    .led.on{background:linear-gradient(180deg,#8ff1a8,#3aa94a);box-shadow:0 0 6px rgba(58,169,74,0.6)}

    /* Responsividad: apilar en pantallas pequeñas */
    @media (max-width:760px){
      .devices{gap:14px}
      .laptop{width:320px}
      .tablet{width:260px}
      .phone{width:150px}
    }

    /* Pequeña nota decorative */
    .note{position:fixed;left:18px;bottom:18px;color:#9aa6b2;font-size:12px}
/*CODIGO ERROR 404 */

/*EVITAR CLS DE ADSENSE */
.google-auto-placed,
.adsbygoogle {
  display: block;
  /* Ajusta según el tamaño típico de tus anuncios */
}
ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

/*EVITAR CLS DE ADSENSE */

.w-md-75 {
  width: 100%;
}

@media (min-width: 768px) {
  .w-md-75 {
    width: 75% !important;
  }
}
