.footer-divider {
    border-top: 1px solid rgb(255, 255, 255);
}
:root {
  --color-secundario: #f5881f;
  --color-borde: #58595b;
  --color-gris: #e6e6e6;
}
footer{
    background: var(--color-borde) !important;
    color: #fff;
}
footer a:hover {
  text-decoration: underline !important;
}
/* Clases hero */
.hero-section{
    background:#000; 
    height:65vh;   
    position: relative;
    overflow: hidden;     
}
.hero-videos, .hero-programas{
    background:#000; 
    position: relative;
    overflow: hidden;     
}
/* Clases personalizadas */
.text-secondary-custom {
  color: var(--color-secundario) !important;
}
.bg-secondary-custom {
  background-color: var(--color-secundario) !important;
}
.border-secondary-custom {
  border-color: var(--color-secundario) !important;
}
a.text-secondary-custom {
  text-decoration: none !important; 
}
a.text-secondary-custom:hover {
  text-decoration: underline !important;
}
/* videos */
.breadcrumb {
    --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%236c757d'/%3E%3C/svg%3E");
}
.breadcrumb a{
    color: #fff; 
    text-decoration: none;      
    transition: color .2s ease, text-decoration .2s ease;
}
.breadcrumb a:hover{
    color: var(--color-secundario);
    text-decoration: underline;
}
.breadcrumb .active{
    color: var(--color-secundario) !important;
    text-decoration: none; 
}
.publicacion-info p {
    margin: 0;
}
.publicacion-info .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-facebook {
    background: #1877f2;
    color: #fff;
    border: none;
}
.btn-facebook:hover {
    background: #0f5ecc;
}
.btn-x {
    background: #000;
    color: #fff;
    border: 1px solid #6d6c6c;
}
.btn-x:hover {
    border: 1px solid #6d6c6c;
    opacity: 0.8;
}
.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
}
.btn-whatsapp:hover {
    background: #1eb64f;
}
.btn-email {
    background: #58595b;
    color: #fff;
    border: none;
}
.btn-email:hover {
    background: #444;
}
/* top visitas videos */
.top-videos .list-group {
    background-color: transparent !important;
}
.top-videos .list-item-custom {
    background-color: transparent !important;
    border: none !important;
    padding-left: .75rem;
    padding-right: .75rem;
    transition: background-color .25s ease;
    position: relative;
}
.top-videos .list-item-custom:hover {
    background-color: rgba(255, 255, 255, 0.10) !important;
}
.top-videos .top-title {
    color: #e5e5e5;
    font-size: .95rem;
    text-decoration: none;
}
.top-videos .top-title:hover {
    text-decoration: underline; 
}
@media (max-width: 576px) {
  .top-videos .top-title {
     font-size: 1rem;
  }
}
.top-visitas{
    color: #bdbdbd;
    opacity: .85;
    margin-top: -2px;
    font-size: .78rem;
}
.videos-visitas {
    color: #4b4a4a;
    opacity: .95;
    font-size: .75rem;
}
.top-videos .top-number {
    font-size: .95rem;
    font-weight: 700;
    width: 24px;
    text-align: center;
    color: #d0d0d0;
}
.top-videos .card-header i {
    font-size: 1.5rem;
    opacity: .8;
}
/* Clases hero programas */
.programa-imagen {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    z-index: 1;
    overflow: hidden;
}
.programa-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;  
    object-position: left bottom; 
    background-color: #000; 
}
.programa-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;                 
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.945), rgba(0,0,0,0));
    z-index: -1;                
}
.programa-info {
    position: relative;
    width: 50%;
    z-index: 3;
    background: transparent;
}
@media (max-width: 768px) {
    .programa-imagen img {
        object-position: right bottom; 
    }  
    .programa-info::before {
        width: 100%;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.945), rgba(0,0,0,0));
    }
    .programa-imagen {
        width: 100%;
    }
}
/* paginacion */
.pagination {
    display: flex;
    list-style: none;
    margin: 20px 0;
    padding: 0;
}
.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--color-borde);
    background: var(--color-secundario);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    margin: 0;                 
    border-radius: 0;     
}
.pagination li:first-child a,
.pagination li:first-child span {
    border-radius: 4px 0 0 4px;
}
.pagination li:last-child a,
.pagination li:last-child span {
    border-radius: 0 4px 4px 0;
}
.pagination li a:hover {
    background: var(--color-borde);
    border-color: var(--color-borde);
    color: #ffffff;
}
.pagination li.active span,
.pagination li.active a {
    background: var(--color-borde);
    border-color: var(--color-borde);
    color: #fff;
    font-weight: bold;
}
/* paginacion */
/* BUSCADOR EN EL MENÚ */
.search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #888;
    transition: 0.25s ease-in-out;
    pointer-events: none;
}
.input-buscador {
    transition: 0.25s ease-in-out;
}
@media (min-width: 768px) {
  .input-buscador:focus {
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.35);
    border-color: #ffc107;
    transform: scale(1.04);
  }
  .input-buscador:focus + .search-icon {
    color: #000;
    transform: translateY(-50%) scale(1.25);
  }
}
@media (max-width: 767px) {
  .input-buscador:focus {
    transform: scale(1.01);
    box-shadow: none;
  }
  .search-icon {
    font-size: 1rem;
    color: #777;
  }
}
/* BUSCADOR EN EL MENÚ */
/* SCROLL HORIZONTAL UNIVERSAL  */
.scroll-horizontal-wrapper {
    flex-wrap: nowrap; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem; 
    padding-bottom: 1.5rem; 
    -webkit-overflow-scrolling: touch;
}
.scroll-horizontal-wrapper > .col-12 {
    flex: 0 0 33.3333%; 
    max-width: 33.3333%;
    scroll-snap-align: start; 
    padding-left: 0 !important;
}
.scroll-horizontal-wrapper > .col-12:not(:last-child) {
    margin-right: calc(1rem); 
}
@media (max-width: 767px) {
    .scroll-horizontal-wrapper > .col-12 {
        flex: 0 0 90vw; 
        max-width: 90vw;
    }
}
.scroll-horizontal-wrapper::-webkit-scrollbar {
    height: 8px; 
}
.scroll-horizontal-wrapper::-webkit-scrollbar-track {
    background: #e9ecef; 
    border-radius: 10px;
}
.scroll-horizontal-wrapper::-webkit-scrollbar-thumb {
    background: #adb5bd; 
    border-radius: 10px;
}
.scroll-horizontal-wrapper::-webkit-scrollbar-thumb:hover {
    background: #6c757d; 
}
.scroll-horizontal-wrapper {
    scrollbar-color: #adb5bd #e9ecef; 
    scrollbar-width: thin; 
}
/* CORRECCIÓN ESPACIO SUPERIOR EN IMAGEN DE CARD     */
.card-img-top {
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: block; 
}
.card picture {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0; 
}
.card .card-body h5 a{
    color: #000;
    text-decoration: none;
}
.card .card-body h5 a:hover{
    text-decoration: underline;
}
/* aceptar cookies */
.cookies-banner {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.35);
}
.cookies-banner .btn {
    min-width: 90px;
}
.cookies-banner a{
    text-decoration: none;
}
.cookies-banner a:hover{
    text-decoration: underline;
}
#cookies-reopen {
  display: none !important;
}
@media (min-width: 992px) {
  #cookies-reopen {
    display: block !important;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
  }
}

/* ICONOS REDES SOCIALES     */
.social-links a {
    color: white !important; 
    text-decoration: none; 
    font-size: 1.5rem; 
    margin: 0 10px; 
}
.animated-icon {
    transition: transform 0.2s ease-in-out; 
    display: inline-block; 
}

.animated-icon:hover {
    transform: scale(1.2); 
}
/* SECCION NOTICIAS */
.noticias{
    background:var(--color-gris) !important;
}
.card-noticia {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card-noticia:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.noticia-titulo{
    text-decoration: none;
}
.noticia-titulo:hover{
    text-decoration: underline;
}
.noticia-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
}
.category-badge {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: max-content;
    white-space: nowrap;
    padding: .35em .6em;
}
.title-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.excerpt-clamp {
    font-size: 15px;
    color: #444;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.leer-mas {
    margin-top: auto;
    display: inline-block;
}
@media (max-width: 576px) {
    .noticia-img {
        height: 160px;
    }
    .title-clamp {
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: unset;
        white-space: normal; 
    }    
}
.info-card {
    border: 1px solid rgba(255,255,255,0.08);
}
.info-row {
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.info-row:last-child {
    border-bottom: none;
}
.info-icon {
    font-size: 1.5rem;
    color: #f5881f;
    line-height: 1;
    margin-top: 0.15rem;
}
.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f5881f;
    font-weight: 600;
}
.info-value {
    color: #ffffff;
    font-size: 1rem;
}
@media (max-width: 576px) {
    .info-row {
        align-items: flex-start;
    }
}
/* === ERROR 404 – FONDO CLARO === */
:root{
  --page-bg:#f5f6f8;
  --frame:#1e1e1e;
  --screen:#0a1418;
  --text-dark:#222;
  --text-light:#eaf6ff;
  --accent:#6bbcff;
  --accent2:#ff8b8b;
  --scanline:.05;
}
.error-404{
  background:var(--page-bg);
  color:var(--text-dark);
}
.error-404 h1{
  font-weight:700;
}
.error-404 p.lead{
  color:#444;
}
.error-actions{
  max-width:520px;
  margin:0 auto;
  padding-left:1rem;
}
.error-actions li{
  margin:.45rem 0;
  color:#333;
}
.devices{
  display:flex;
  justify-content:center;
}
.device{
  background:linear-gradient(180deg,#2a2a2a,#121212);
  padding:16px;
  border-radius:14px;
  box-shadow:0 14px 30px rgba(0,0,0,.35);
}
.laptop{width:380px}
.screen{
  position:relative;
  height:260px;
  background:var(--screen);
  border-radius:8px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:
    inset 0 0 90px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.03);
}
.crt-bg{
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.02) 0 1px,
      transparent 1px 3px
    ),
    linear-gradient(
      120deg,
      rgba(107,188,255,.05),
      rgba(255,139,139,.05)
    );
  animation:noise 7s linear infinite;
  pointer-events:none;
}
@keyframes noise{
  to{background-position:220px 0}
}
.scanlines::after{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(
    180deg,
    rgba(0,0,0,var(--scanline)) 0 1px,
    transparent 1px 4px
  );
}
.message{
  position:relative;
  z-index:2;
  text-align:center;
  color:var(--text-light);
  text-transform:uppercase;
}
.message h2{
  font-family:Courier, monospace;
  letter-spacing:2px;
  margin:0;
  font-size:clamp(18px,4vw,32px);
}
.message p{
  font-size:13px;
  opacity:.8;
}
.glitch{
  position:relative;
}
.glitch::before,
.glitch::after{
  content:attr(data-text);
  position:absolute;
  left:0;
  right:0;
}
.glitch::before{
  color:var(--accent);
  transform:translate(-1px,-1px);
  opacity:.6;
  animation:glitch1 3s infinite;
}
.glitch::after{
  color:var(--accent2);
  transform:translate(1px,1px);
  opacity:.6;
  animation:glitch2 2.6s infinite;
}
@keyframes glitch1{
  0%,100%{transform:translate(-1px,-1px)}
  50%{transform:translate(2px,-2px)}
}
@keyframes glitch2{
  0%,100%{transform:translate(1px,1px)}
  50%{transform:translate(-2px,2px)}
}
.color-bars{
  position:absolute;
  bottom:8%;
  left:0;
  right:0;
  height:18%;
  display:flex;
  opacity:0;
  transition:.3s;
}
.screen.show-bars .color-bars{opacity:1}
.bar{flex:1}
.b1{background:#ff5252}
.b2{background:#ffb300}
.b3{background:#ffee58}
.b4{background:#66bb6a}
.b5{background:#29b6f6}
.b6{background:#5c6bc0}
.b7{background:#ec407a}
.leds{
  position:absolute;
  top:10px;
  right:10px;
  display:flex;
  gap:6px;
}
.led{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#444;
}
.led.on{
  background:#4caf50;
  box-shadow:0 0 6px #4caf50;
}
/*  MISA   */
.misa{
    background:var(--color-gris) !important;
}

.misa-card {
  border-radius: 1rem;
}

/* Inputs */
.misa .form-control {
  border-radius: .75rem;
  padding: .65rem .85rem;
}

.misa .form-control:focus {
  border-color: #c9a227; /* dorado sobrio */
  box-shadow: 0 0 0 .15rem rgba(201, 162, 39, .25);
}

/* Botón */
.misa .btn-warning {
  background-color: #c9a227;
  border-color: #c9a227;
}

.misa .btn-warning:hover {
  background-color: #b8921f;
  border-color: #b8921f;
}

/* Títulos */
.misa h2 {
  letter-spacing: -0.5px;
}

.misa h5 {
  color: #333;
}

/* Accesibilidad focus */
.misa :focus-visible {
  outline: 3px solid rgba(201, 162, 39, .5);
  outline-offset: 2px;
}
.misa .form-check-label a {
  color: #8a6d1d;
  text-decoration: none;
}

.misa .form-check-label a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .misa h2 {
    font-size: 1.6rem;
  }
}

/* ===============================
   LEGAL TEMPLATE – TELERAMA
   =============================== */

.legal-section {
  background-color: var(--color-gris);
}

.legal-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
}

/* Título principal */
.legal-title {
  color: var(--color-borde);
}

/* Texto introductorio */
.legal-intro {
  font-size: 1.05rem;
  color: #4b5563;
}

/* Subtítulos */
.legal-subtitle {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--color-secundario);
}

/* Texto general */
.legal-block p {
  line-height: 1.75;
  color: #374151;
}

/* Listas */
.legal-list {
  padding-left: 1.25rem;
}

.legal-list li {
  margin-bottom: 0.4rem;
}

/* Enlaces */
.legal-link {
  color: var(--color-secundario);
  text-decoration: underline;
}

.legal-link:hover {
  color: #d76f0e; /* naranja más oscuro */
}

.legal-link:focus-visible {
  outline: 3px solid var(--color-secundario);
  outline-offset: 3px;
}

/* Separador */
.legal-footer hr {
  border-top: 1px solid var(--color-borde);
}

/* Footer */
.legal-footer p {
  color: #6b7280;
}

/* Alertas informativas */
.alert-secondary {
  background-color: #fff6ec;
  border-left: 4px solid var(--color-secundario);
  color: #4b5563;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}

