/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
*/
/* 1. Importar la fuente Roboto desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
/*poner en blanco la pagina*/
/* ==========================================================
   FONDO GENERAL BLANCO
   ========================================================== */

html {
    background: #ffffff !important;
}

body {
    margin: 0;
    background: #ffffff !important;
}

#page,
.site,
.site-content,
main,
.elementor,
.elementor-page,
.elementor-section-wrap {
    background-color: #ffffff !important;
}

/* ==========================================================
   ZUNO VIDEOS - DISEÑO FLUIDO Y PERFECTAMENTE CENTRADO
   ========================================================== */

section.zuno-videos {
    width: 100% !important;
    max-width: 100% !important; /* Ancho máximo ideal para que no se estire demasiado en pantallas 4K */
    margin: 0 auto 0px auto !important; /* Centra automáticamente la sección en la página */
    padding: 0 0px !important;  /* Margen interno de seguridad para que no pegue a las esquinas */
    background: #ffffff !important;
    box-sizing: border-box !important;
    display: block !important;
    clear: both !important;
    font-family: 'Roboto', sans-serif !important;
}

/* Layout principal simétrico de 2 columnas */
section.zuno-videos .zuno-videos__layout-principal {
    display: flex !important;
    gap: 30px !important;
    width: 100% !important;
    align-items: stretch !important;
}

section.zuno-videos .zuno-videos__col-izquierda {
    flex: 1.2 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

section.zuno-videos .zuno-videos__col-derecha {
    flex: 1.4 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

section.zuno-videos .zuno-videos__titulo-lista {
    color: #e11d2e !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
}

/* Cuadrícula de 2x2 para los 4 videos laterales */
section.zuno-videos .zuno-videos__grid-lateral {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: 14px !important;
    width: 100% !important;
}

/* Reproductor principal */
section.zuno-videos .zuno-videos__reproductor {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    flex-grow: 1 !important;
    background: #000000 !important;
    overflow: hidden !important;
    min-height: 100% !important;
}

section.zuno-videos .zuno-videos__reproductor iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* Tarjetas individuales de los 4 videos */
section.zuno-videos .zuno-videos__tarjeta {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    cursor: pointer !important;
    width: 100% !important;
}

section.zuno-videos .zuno-videos__miniatura-grande {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #d4dbe1 !important;
    overflow: hidden !important;
}

section.zuno-videos .zuno-videos__miniatura-grande img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

section.zuno-videos .zuno-videos__miniatura-grande i {
    position: absolute !important;
    right: 6px !important;
    bottom: 4px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-style: normal !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
}

section.zuno-videos .zuno-videos__texto-tarjeta strong {
    display: block !important;
    color: #17212b !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    max-height: 2.6em !important;
}

section.zuno-videos .zuno-videos__texto-tarjeta small {
    display: block !important;
    color: #64748b !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 11px !important;
}

section.zuno-videos .zuno-videos__tarjeta.activo .zuno-videos__texto-tarjeta strong {
    color: #e11d2e !important;
}
@media screen and (max-width: 1366px) {
    /* ==========================================================
       ZUNO VIDEOS - RESPONSIVE LAPTOP (HASTA 1366px)
       ========================================================== */

    section.zuno-videos {
        padding: 0 0px !important; /* Añadimos un respiro lateral seguro */
    }

    /* Reducimos el espacio entre columnas para ganar área útil */
    section.zuno-videos .zuno-videos__layout-principal {
        gap: 20px !important;
    }

    /* Ajuste fino de proporciones en las columnas */
    section.zuno-videos .zuno-videos__col-izquierda {
        flex: 1.3 !important;
    }

    section.zuno-videos .zuno-videos__col-derecha {
        flex: 1.3 !important;
    }

    /* Reducimos ligeramente la separación de la cuadrícula 2x2 */
    section.zuno-videos .zuno-videos__grid-lateral {
        gap: 10px !important;
    }

    /* Ajuste de tipografía en los títulos de los videos laterales para evitar saltos de línea bruscos */
    section.zuno-videos .zuno-videos__texto-tarjeta strong {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    section.zuno-videos .zuno-videos__texto-tarjeta small {
        font-size: 10px !important;
    }

    /* Asegurar que el reproductor mantenga una altura cómoda en laptops */
    section.zuno-videos .zuno-videos__reproductor {
        min-height: 260px !important;
    }
}
@media screen and (max-width: 1200px) {
    /* ==========================================================
       ZUNO VIDEOS - RESPONSIVE TABLETA HORIZONTAL (HASTA 1200px)
       ========================================================== */

    section.zuno-videos {
        padding: 0 0px !important; /* Margen de seguridad adaptado a tabletas */
    }

    /* Reducimos el espacio entre la columna del reproductor y la cuadrícula */
    section.zuno-videos .zuno-videos__layout-principal {
        gap: 16px !important;
    }

    /* Equilibramos el espacio para ambas columnas */
    section.zuno-videos .zuno-videos__col-izquierda {
        flex: 1.2 !important;
    }

    section.zuno-videos .zuno-videos__col-derecha {
        flex: 1.3 !important;
    }

    /* Ajustamos el espacio interno de la cuadrícula 2x2 */
    section.zuno-videos .zuno-videos__grid-lateral {
        gap: 10px !important;
    }

    /* Optimizamos la lectura de los títulos en pantallas táctiles de este tamaño */
    section.zuno-videos .zuno-videos__texto-tarjeta strong {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
        max-height: 2.5em !important;
    }

    section.zuno-videos .zuno-videos__texto-tarjeta small {
        font-size: 10px !important;
    }

    /* Aseguramos una altura proporcional para el reproductor en horizontal */
    section.zuno-videos .zuno-videos__reproductor {
        min-height: 240px !important;
    }
}

/* ==========================================================
   DISEÑO RESPONSIVO (TABLETAS Y MÓVILES HASTA 1024px)
   ========================================================== */

@media screen and (max-width: 1024px) {
    /* 1. Cambiamos el padding lateral para que en pantallas medianas tenga buen respiro */
    section.zuno-videos {
        padding: 0 0px !important;
    }

    /* 2. Convertimos el layout principal de 2 columnas a una sola columna vertical */
    section.zuno-videos .zuno-videos__layout-principal {
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* 3. Forzamos una altura fija adecuada al reproductor cuando se apile arriba */
    section.zuno-videos .zuno-videos__reproductor {
        width: 100% !important;
        height: 350px !important; 
        min-height: 350px !important;
    }

    /* 4. Opcional: si en tabletas muy estrechas o móviles prefieres que los 4 videos lat. 
       pasen a 1 sola columna en vez de 2x2, descomenta la línea de abajo: */
    /* 
    section.zuno-videos .zuno-videos__grid-lateral {
        grid-template-columns: 1fr !important;
    } 
    */
}
/* ==========================================================
   DISEÑO RESPONSIVO - MÓVIL HORIZONTAL (HASTA 880px)
   ========================================================== */
@media screen and (max-width: 880px) {
    
    /* Reducir el espacio entre columnas para aprovechar el ancho horizontal */
    section.zuno-videos .zuno-videos__layout-principal {
        gap: 15px !important;
    }

    /* Reducir la separación de la cuadrícula 2x2 para ahorrar espacio vertical en móviles */
    section.zuno-videos .zuno-videos__grid-lateral {
        gap: 8px !important;
    }

    /* Ajustar tamaños de texto de las tarjetas para que no saturen la vista horizontal */
    section.zuno-videos .zuno-videos__texto-tarjeta strong {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    section.zuno-videos .zuno-videos__texto-tarjeta small {
        font-size: 10px !important;
    }

    section.zuno-videos .zuno-videos__titulo-lista {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }
}

@media screen and (max-width: 767px) {
    
    /* Cambiar distribución a columna única vertical */
    section.zuno-videos .zuno-videos__layout-principal {
      margin-top: 10px !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Ocupar el 100% del ancho en ambas columnas */
    section.zuno-videos .zuno-videos__col-izquierda,
    section.zuno-videos .zuno-videos__col-derecha {
        width: 100% !important;
        flex: none !important;
    }

    /* Margen superior para separar la lista de videos del reproductor */
    section.zuno-videos .zuno-videos__col-derecha {
        margin-top: 0px !important;
    }

    /* Opcional: Si en pantallas muy estrechas de celular prefieres que los 4 videos 
       se acomoden uno debajo del otro (1 columna en vez de 2x2), 
       descomenta las siguientes líneas: */
    /*
    section.zuno-videos .zuno-videos__grid-lateral {
        grid-template-columns: 1fr !important;
    }
    */
    
    
}



/* ==========================================================
   ESTILOS DEL CINTILLO
   ========================================================== */
.zunoticia-ticker {
    width: 100% !important;
    height: 44px !important;
    display: flex !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e5e5 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.zunoticia-ticker-label {
    position: relative !important;
    z-index: 20 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 16px !important;
    background: #e51c23 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .5px !important;
    white-space: nowrap !important;
    box-shadow: 4px 0 10px rgba(0,0,0,.15) !important;
}

.zunoticia-ticker-pulse {
    width: 8px !important;
    height: 8px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    animation: tickerPulse 1.2s ease-in-out infinite !important;
}

@keyframes tickerPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .3; transform: scale(.7); }
}

.zunoticia-ticker-window {
    position: relative !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

.zunoticia-ticker-track {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    white-space: nowrap !important;
    will-change: transform !important;
    animation: zunoticiaTickerLoop 45s linear infinite !important;
}

@keyframes zunoticiaTickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.zunoticia-ticker-group {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.zunoticia-ticker-item {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    height: 44px !important;
    padding: 0 28px !important;
    margin: 0 !important;
    color: #222222 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.zunoticia-ticker-title {
    display: inline-block !important;
    color: #222222 !important;
}

.zunoticia-ticker-separator {
    display: inline-block !important;
    margin: 0 14px !important;
    color: #e51c23 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.zunoticia-ticker-time {
    display: inline-block !important;
    color: #e51c23 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.zunoticia-ticker-item:hover .zunoticia-ticker-title {
    color: #e51c23 !important;
    text-decoration: none !important;
}

.zunoticia-ticker:hover .zunoticia-ticker-track {
    animation-play-state: paused !important;
}

/* ==========================================================
   RESPONSIVO PARA LAPTOPS (Hasta 1366px)
   ========================================================== */
@media screen and (max-width: 1366px) {
    .zunoticia-ticker {
        height: 40px !important;
    }

    .zunoticia-ticker-label {
        padding: 0 12px !important;
        font-size: 11px !important;
    }

    .zunoticia-ticker-item {
        height: 40px !important;
        padding: 0 20px !important;
        font-size: 14px !important;
    }

    .zunoticia-ticker-separator {
        margin: 0 10px !important;
        font-size: 14px !important;
    }

    .zunoticia-ticker-time {
        font-size: 11px !important;
    }
}
/* ==========================================================
   RESPONSIVO PARA TABLETA HORIZONTAL (Hasta 1200px)
   ========================================================== */
@media screen and (max-width: 1200px) {
    .zunoticia-ticker {
        height: 38px !important;
    }

    .zunoticia-ticker-label {
        padding: 0 12px !important;
        font-size: 11px !important;
    }

    .zunoticia-ticker-item {
        height: 38px !important;
        padding: 0 18px !important;
        font-size: 13px !important;
    }

    .zunoticia-ticker-separator {
        margin: 0 10px !important;
        font-size: 13px !important;
    }

    .zunoticia-ticker-time {
        font-size: 11px !important;
    }
}
/* ==========================================================
   RESPONSIVO PARA TABLETA VERTICAL (Hasta 1024px)
   ========================================================== */
@media screen and (max-width: 1024px) {
    .zunoticia-ticker {
        height: 36px !important;
    }

    .zunoticia-ticker-label {
        padding: 0 10px !important;
        font-size: 11px !important;
        gap: 6px !important;
    }

    .zunoticia-ticker-pulse {
        width: 6px !important;
        height: 6px !important;
    }

    .zunoticia-ticker-item {
        height: 36px !important;
        padding: 0 16px !important;
        font-size: 13px !important;
    }

    .zunoticia-ticker-separator {
        margin: 0 8px !important;
        font-size: 13px !important;
    }

    .zunoticia-ticker-time {
        font-size: 11px !important;
    }
}
@media screen and (max-width: 880px) {
    .zunoticia-ticker {
        height: 34px !important;
    }

    .zunoticia-ticker-label {
        padding: 0 8px !important;
        font-size: 10px !important;
        gap: 5px !important;
        letter-spacing: .3px !important;
    }

    .zunoticia-ticker-pulse {
        width: 5px !important;
        height: 5px !important;
    }

    .zunoticia-ticker-item {
        height: 34px !important;
        padding: 0 12px !important;
        font-size: 12px !important;
    }

    .zunoticia-ticker-separator {
        margin: 0 6px !important;
        font-size: 12px !important;
    }

    .zunoticia-ticker-time {
        font-size: 10px !important;
    }
}
/* ==========================================================
   RESPONSIVO PARA MÓVIL EN RETRATO (Hasta 767px)
   ========================================================== */
@media screen and (max-width: 767px) {
    .zunoticia-ticker { 
        height: 32px !important; 
    }
    .zunoticia-ticker-label { 
        padding: 0 6px !important; 
        font-size: 9px !important; 
        gap: 4px !important; 
    }
    .zunoticia-ticker-pulse { 
        width: 4px !important; 
        height: 4px !important; 
    }
    .zunoticia-ticker-item { 
        height: 32px !important; 
        padding: 0 10px !important; 
        font-size: 11px !important; 
    }
    .zunoticia-ticker-separator { 
        margin: 0 5px !important; 
        font-size: 11px !important; 
    }
    .zunoticia-ticker-time { 
        font-size: 9px !important; 
    }
}



/* ==========================================================
   ZUNOTICIA - BLOQUE DE REDES SOCIALES
   ========================================================== */
/* =========================================================
   ESTILOS BASE (ESCRITORIO / PANTALLAS GRANDES)
   ========================================================= */
.zunoticia-social-block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  flex-wrap: wrap;
}

.zunoticia-social-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}

.zunoticia-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon svg {
  width: 27px;
  height: 27px;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Colores de redes sociales */
.social-icon.facebook { 
    background-color: #1877f2; 
}
.social-icon.x-twitter { 
    background-color: transparent; 
    color: #ffffff; 
}
.social-icon.youtube { 
    background-color: #ff0000; 
}
.social-icon.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aebe6 90%); 
}
.social-icon.tiktok { 
    background-color: #000000; 
    color: #ffffff; }

    /* 1. Asegurar que el contenedor del encabezado distribuya los elementos correctamente */
.header-container, 
.site-header .wrapper, 
.header-main { 
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
}
/* Adapta el contenido en laptops de hasta 1366px */
@media screen and (max-width: 1366px) {
  .zunoticia-social-block {
    gap: 12px;
  }

  .zunoticia-social-title {
    font-size: 16px;
    letter-spacing: 0.6px;
  }

  .zunoticia-social-icons {
    gap: 10px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon svg {
    width: 22px;
    height: 22px;
  }
}
/* Adaptación para tablets en horizontal (pantallas de hasta 1200px) */
@media screen and (max-width: 1200px) {
  /* Contenedor principal del encabezado */
  .header-container, 
  .site-header .wrapper, 
  .header-main {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 15px !important;
  }

  /* Reducción del tamaño del logo para evitar colisiones */
  .site-logo img,
  .custom-logo,
  header img {
    max-width: 420px !important;
    height: auto !important;
  }

  /* Ajuste del bloque de redes sociales */
  .zunoticia-social-block {
    gap: 8px !important;
  }

  .zunoticia-social-title {
    display: none; /* Oculta el texto "SÍGUENOS" para ahorrar espacio horizontal */
  }

  .zunoticia-social-icons {
    gap: 6px !important;
  }

  .social-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .social-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
}
/* Adapta el bloque si la pantalla se reduce aún más (laptops pequeñas / portátiles de 11"-13") */
@media screen and (max-width: 1024px) {
  .zunoticia-social-block {
    justify-content: center; /* Centra los elementos si hacen salto de línea */
  }

  .zunoticia-social-title {
    font-size: 15px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }
}
/* =========================================================
   RESPONSIVO PARA MÓVIL HORIZONTAL (Hasta 880px)
   ========================================================= */
@media screen and (max-width: 880px) {
  .zunoticia-social-block {
    justify-content: center; /* Centra los elementos si hacen salto de línea */
  }

  .zunoticia-social-title {
    font-size: 15px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* =========================================================
   TABLETS (Hasta 767px)
   ========================================================= */
@media (max-width: 767px) {
  .zunoticia-social-block {
    justify-content: center;
    gap: 12px;
  }
  
  .zunoticia-social-title {
    font-size: 12px;
  }
  
  .social-icon {
    width: 32px;
    height: 32px;
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* =========================================================
   MÓVILES MEDIANOS (Hasta 480px)
   ========================================================= */
@media (max-width: 480px) {
  .zunoticia-social-block {
    justify-content: center;
    gap: 10px;
  }
  
  .zunoticia-social-title {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  
  .zunoticia-social-icons {
    gap: 8px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .social-icon svg {
    width: 15px;
    height: 15px;
  }
}

/* =========================================================
   MÓVILES PEQUEÑOS (Hasta 360px)
   ========================================================= */
@media (max-width: 360px) {
  .zunoticia-social-title {
    display: none; /* Oculta el texto para evitar desbordamiento */
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }

  .social-icon svg {
    width: 14px;
    height: 14px;
  }
}

/* ==========================================================
   ZUNOTICIA - BLOQUE DE HORA Y FECHA
   ========================================================== */

/* =========================================================
   BLOQUE RELOJ Y FECHA (CENTRADO Y RESPONSIVO)
   ========================================================= */
.zunoticia-time-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clock-icon {
  width: 50px;
  height: 50px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clock-icon svg {
  width: 40px;
  height: 40px;
}

.time-details {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra la hora y la fecha entre sí */
  text-align: center;  /* Asegura la Alineación central del texto */
  line-height: 1.1;
  font-family: Arial, sans-serif;
}

.time-clock {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.time-date {
  font-size: 13px;
  color: #d1d5db;
  margin-top: 2px;
}

/* Adaptación responsive para laptops hasta 1366px */
@media screen and (max-width: 1366px) {
  .zunoticia-time-block {
    gap: 8px;
  }

  .clock-icon {
    width: 38px;
    height: 38px;
  }

  .clock-icon svg {
    width: 30px;
    height: 30px;
  }

  .time-clock {
    font-size: 20px;
  }

  .time-date {
    font-size: 11px;
  }
}
/* Adaptación responsive para tablets horizontales (hasta 1200px) */
@media screen and (max-width: 1200px) {
  .zunoticia-time-block {
    gap: 6px;
  }

  .clock-icon {
    width: 32px;
    height: 32px;
  }

  .clock-icon svg {
    width: 24px;
    height: 24px;
  }

  .time-clock {
    font-size: 16px;
    letter-spacing: 0.2px;
  }

  .time-date {
    font-size: 10px;
    margin-top: 1px;
  }
}
/* Adaptación responsive para tabletas verticales (hasta 1024px) */
@media screen and (max-width: 1024px) {
  .zunoticia-time-block {
    gap: 5px;
  }

  .clock-icon {
    width: 28px;
    height: 28px;
  }

  .clock-icon svg {
    width: 20px;
    height: 20px;
  }

  .time-clock {
    font-size: 15px;
    letter-spacing: 0.1px;
  }

  .time-date {
    font-size: 9px;
    margin-top: 1px;
  }
}
/* Adaptación responsive para móviles horizontales (hasta 880px) */
@media screen and (max-width: 880px) {
  .zunoticia-time-block {
    gap: 4px;
  }

  .clock-icon {
    width: 24px;
    height: 24px;
  }

  .clock-icon svg {
    width: 18px;
    height: 18px;
  }

  .time-clock {
    font-size: 14px;
    letter-spacing: 0px;
  }

  .time-date {
    font-size: 7px;
    margin-top: 0px;
  }
}
/* Adaptación responsive para móviles en retrato (hasta 767px) */
@media screen and (max-width: 767px) {
  .zunoticia-time-block {
    gap: 4px;
  }

  .clock-icon {
    width: 22px;
    height: 22px;
  }

  .clock-icon svg {
    width: 16px;
    height: 16px;
  }

  .time-clock {
    font-size: 13px;
    letter-spacing: 0px;
  }

  .time-date {
    font-size: 8.5px;
    margin-top: 0px;
  }
}

/* ==========================================================
   SLIDER DE NOTAS RELEVANTES
   ========================================================== */
/* ==========================================================
   CONTENEDOR
   ========================================================== */

.zn-relevantes {
    width: 100%;
    margin: 0;
    padding: 0;
}

.zn-relevantes *,
.zn-relevantes *::before,
.zn-relevantes *::after {
    box-sizing: border-box;
}

/* ==========================================================
   ESTRUCTURA PRINCIPAL
   ========================================================== */

.zn-relevantes-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns:
        minmax(0, 1.8fr)
        minmax(360px, 1fr);
    gap: 14px;
    align-items: stretch;
}

/* ==========================================================
   BLOQUE PRINCIPAL
   ========================================================== */

.zn-feature {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 7px;
    background: #111;
}

/* ==========================================================
   SLIDES
   ========================================================== */

.zn-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .55s ease,
        visibility .55s ease;
}

.zn-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* ==========================================================
   ENLACE
   ========================================================== */

.zn-feature-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}


/* ==========================================================
   IMAGEN PRINCIPAL
   ========================================================== */

.zn-feature-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transform: scale(1);
    transition: transform 6s ease;
}

.zn-slide.active .zn-feature-image {
    transform: scale(1.025);
}


/* ==========================================================
   DEGRADADO
   ========================================================== */

.zn-feature-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.94) 0%,
            rgba(0,0,0,.75) 25%,
            rgba(0,0,0,.30) 60%,
            rgba(0,0,0,.05) 100%
        );
}


/* ==========================================================
   CONTENIDO PRINCIPAL
   ========================================================== */

.zn-feature-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 42px;
    z-index: 5;
}


/* ==========================================================
   CATEGORÍA
   ========================================================== */

.zn-category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 13px;
    border-radius: 20px;
    background: #ed0038;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .3px;
}


/* ==========================================================
   TÍTULO PRINCIPAL
   ========================================================== */

.zn-feature h2 {
    display: -webkit-box;
    max-width: 900px;
    margin: 0 0 14px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(30px, 3.1vw, 44px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.7px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3; /* <--- Agrégala aquí */
}


/* ==========================================================
   META
   ========================================================== */

.zn-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(255,255,255,.92);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.zn-icon {
    margin-right: 4px;
}


/* ==========================================================
   FLECHAS
   ========================================================== */

.zn-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition:
        background .25s ease,
        transform .25s ease;
}

.zn-arrow:hover {
    background: rgba(0,0,0,.88);
    transform: translateY(-50%) scale(1.08);
}

.zn-prev { left: 13px; }
.zn-next { right: 13px; }


/* ==========================================================
   INDICADORES
   ========================================================== */

.zn-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zn-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
    cursor: pointer;
    transition:
        width .3s ease,
        background .3s ease;
}

.zn-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #ed0038;
}


/* ==========================================================
   COLUMNA DERECHA
   ========================================================== */

.zn-sidebar {
    width: 100%;
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}


/* ==========================================================
   TARJETAS SECUNDARIAS
   ========================================================== */

.zn-side-card {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 100px;
    margin: 0;
    padding: 0;
    border: 1px solid #e3e3e3;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/* ==========================================================
   TARJETA ACTIVA
   ========================================================== */

.zn-side-card.active {
    border-color: #ed0038;
    box-shadow: 0 4px 18px rgba(237,0,56,.12);
}


/* ==========================================================
   HOVER
   ========================================================== */

.zn-side-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0,0,0,.10);
}


/* ==========================================================
   IMAGEN SECUNDARIA — CORREGIDA
   ----------------------------------------------------------
   - Se ensancha a 150px para acercarse al 16:9 de la foto
     original (800x475) y así recortar lo mínimo posible.
   - Se fuerza position/inset/width/height/object-fit con
     !important para ganarle al CSS global de WordPress
     (img { max-width:100%; height:auto }) y a los atributos
     inline width="800" height="475" que deja WP.
   - Resultado: la imagen llena TODO el cuadro sin marco gris.
   ========================================================== */

.zn-relevantes .zn-side-image {
    position: relative;
    flex: 0 0 150px;
    width: 150px;
    min-width: 150px;
    align-self: stretch;
    overflow: hidden;
    background: #e9e9e9;
    padding: 0;
    border: 0;
}

/* Cualquier envoltorio (a, picture, span) al 100% */
.zn-relevantes .zn-side-image a,
.zn-relevantes .zn-side-image picture,
.zn-relevantes .zn-side-image span {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
}

/* Override fuerte contra WordPress */
.zn-relevantes .zn-side-image img,
.zn-relevantes .zn-side-image img.wp-post-image,
.zn-relevantes .zn-side-image img.attachment-large,
.zn-relevantes .zn-side-image img.size-large {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    padding: 0 !important;
    border: 0 !important;

    transition: transform .5s ease;
}

.zn-relevantes .zn-side-card:hover .zn-side-image img {
    transform: scale(1.06);
}


/* ==========================================================
   CONTENIDO SECUNDARIO
   ========================================================== */

.zn-side-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 12px;
}


/* ==========================================================
   CATEGORÍA SECUNDARIA
   ========================================================== */

.zn-side-category {
    display: block;
    margin: 0 0 5px;
    padding: 0;
    background: transparent;
    color: #ed0038;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .3px;
}


/* ==========================================================
   TÍTULO SECUNDARIO
   ========================================================== */

.zn-side-content h3 {
    display: -webkit-box;
    margin: 0 0 6px;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    line-height: 1.2;
    font-weight: 800;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* <--- Agrégala aquí */
}


/* ==========================================================
   TIEMPO DE LECTURA
   ========================================================== */

.zn-side-time {
    color: #777;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 1;
}
/* ==========================================================
   MEDIA QUERY: LAPTOPS HASTA 1366px
   ========================================================== */
@media screen and (max-width: 1366px) {
    .zn-relevantes-wrapper {
        grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
        gap: 12px;
    }

    .zn-feature {
        aspect-ratio: 16 / 10.5; /* Ligeramente más compacto para evitar scroll vertical en pantallas de 768px de alto */
    }

    .zn-feature-content {
        left: 22px;
        right: 22px;
        bottom: 34px;
    }

    .zn-category {
        margin-bottom: 8px;
        padding: 6px 11px;
        font-size: 10px;
    }

    .zn-feature h2 {
        font-size: clamp(24px, 2.6vw, 36px);
        margin-bottom: 10px;
    }

    .zn-meta {
        gap: 14px;
        font-size: 10.5px;
    }

    /* Ajustes para las tarjetas laterales en laptops */
    .zn-relevantes .zn-side-image {
        flex: 0 0 135px;
        width: 135px;
        min-width: 135px;
    }

    .zn-side-content {
        padding: 8px 10px;
    }

    .zn-side-content h3 {
        font-size: 12.5px;
        margin-bottom: 4px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}
/* ==========================================================
   MEDIA QUERY: TABLETA HORIZONTAL (HASTA 1200px)
   ========================================================== */
@media screen and (max-width: 1200px) {
    .zn-relevantes-wrapper {
        grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
        gap: 12px;
    }

    .zn-feature {
        aspect-ratio: 16 / 10.2;
    }

    .zn-feature-content {
        left: 20px;
        right: 20px;
        bottom: 30px;
    }

    .zn-category {
        margin-bottom: 6px;
        padding: 5px 10px;
        font-size: 10px;
    }

    .zn-feature h2 {
        font-size: clamp(22px, 2.5vw, 34px);
        margin-bottom: 8px;
    }

    .zn-meta {
        gap: 12px;
        font-size: 10px;
    }

    /* Reducción proporcional del ancho de la imagen en las tarjetas laterales para dar más espacio al texto */
    .zn-relevantes .zn-side-image {
        flex: 0 0 120px;
        width: 120px;
        min-width: 120px;
    }

    .zn-side-content {
        padding: 8px 10px;
    }

    .zn-side-content h3 {
        font-size: 12px;
        margin-bottom: 4px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* Flechas de navegación un poco más compactas para touch / pantallas medianas */
    .zn-arrow {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }
}
/* ==========================================================
   MEDIA QUERY: TABLETA VERTICAL (HASTA 1024px)
   ========================================================== */
@media screen and (max-width: 1024px) {
    /* Pasamos de 2 columnas a una sola columna apilada */
    .zn-relevantes-wrapper {
        grid-template-columns: 100%;
        gap: 16px;
    }

    .zn-feature {
        aspect-ratio: 16 / 9.5;
    }

    .zn-feature-content {
        left: 24px;
        right: 24px;
        bottom: 36px;
    }

    .zn-feature h2 {
        font-size: clamp(24px, 4vw, 36px);
        margin-bottom: 12px;
    }

    /* Convertimos la barra lateral en una cuadrícula de 2 columnas para optimizar el espacio vertical */
    .zn-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .zn-side-card {
        min-height: 100px;
    }

    .zn-relevantes .zn-side-image {
        flex: 0 0 130px;
        width: 130px;
        min-width: 130px;
    }

    .zn-side-content {
        padding: 10px 12px;
    }

    .zn-side-content h3 {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}
/* ==========================================================
   MEDIA QUERY: MÓVIL HORIZONTAL (HASTA 880px)
   ========================================================== */


/* ==========================================================
   MEDIA QUERY: MÓVIL EN RETRATO (HASTA 767px)
   ========================================================== */
@media screen and (max-width: 767px) {
    /* Apilamos el contenedor general en una sola columna */
    .zn-relevantes-wrapper {
        grid-template-columns: 100%;
        gap: 10px;
    }

    /* Proporción más alargada para que la imagen principal luzca bien en vertical */
    .zn-feature {
        aspect-ratio: 16 / 11;
        border-radius: 5px;
    }

    .zn-feature-content {
        left: 15px;
        right: 15px;
        bottom: 30px;
    }

    .zn-category {
        margin-bottom: 6px;
        padding: 5px 10px;
        font-size: 10px;
    }

    .zn-feature h2 {
        font-size: clamp(19px, 5vw, 24px);
        margin-bottom: 8px;
        line-height: 1.15;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .zn-meta {
        gap: 10px;
        font-size: 10px;
    }

    /* Flechas más compactas y cómodas para tocar con el dedo */
    .zn-arrow {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .zn-prev { left: 6px; }
    .zn-next { right: 6px; }

    .zn-dots {
        bottom: 10px;
    }

    /* Tarjetas laterales en formato lista vertical de una sola columna */
    .zn-sidebar {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .zn-side-card {
        min-height: 70px;
    }

    /* Ancho de la miniatura lateral adaptado a pantallas móviles angostas */
    .zn-relevantes .zn-side-image {
        flex: 0 0 100px;
        width: 100px;
        min-width: 100px;
    }

    .zn-side-content {
        padding: 8px 10px;
    }

    .zn-side-content h3 {
        font-size: 11px;
        margin-bottom: 3px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .zn-side-category {
        margin-bottom: 2px;
        font-size: 9px;
    }

    .zn-side-time {
        font-size: 9px;
    }
}

/* ==========================================================
   LO MÁS LEÍDO
   ========================================================== */

.shortcode-populares-container {
    background-color: #0d1b2a;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #ffffff;
    max-width: 100%;
    height: 100%;
    margin: 0px;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.populares-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 1px solid #1b2a41;
    padding-bottom: 10px;
}

.populares-header .populares-title {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.lista-populares {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-popular {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1b2a41;
}

.item-popular:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.rank-num {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    min-width: 30px;
    line-height: 1;
    position: relative;
    padding-bottom: 6px;
    flex-shrink: 0;
}

.rank-num::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-titulo {
    font-size: 13px;
    line-height: 1.3;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3; /* <--- Agrégala aquí */
    overflow: hidden;
}

.item-titulo:hover {
    color: #ffffff;
}

.item-vistas {
    font-size: 11px;
    color: #94a3b8;
}

.item-thumb {
    flex-shrink: 0;
    display: block;
    width: 75px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    background: #1b2a41;
}

.item-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center center;
    display: block;
}


/* ==========================================================
   LAPTOP — Hasta 1366px
   ========================================================== */

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

    .shortcode-populares-container {
        padding: 16px;
        margin: 0px;
    }

    .populares-header .populares-title {
        font-size: 14px;
    }

    .lista-populares {
        gap: 12px;
    }

    .item-popular {
        gap: 10px;
        padding-bottom: 12px;
    }

    .rank-num {
        font-size: 20px;
        min-width: 28px;
    }

    .item-titulo {
        font-size: 12.5px;
        -webkit-line-clamp: 3;
        line-clamp: 3; /* <--- Esto quita el subrayado amarillo */
    }

    .item-vistas {
        font-size: 10.5px;
    }

    .item-thumb {
        width: 70px;
        height: 47px;
    }
}


/* ==========================================================
   TABLET HORIZONTAL — Hasta 1200px
   ========================================================== */

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

    .shortcode-populares-container {
        padding: 15px;
        margin: 0px;
    }

    .populares-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .populares-header .populares-title {
        font-size: 13.5px;
    }

    .lista-populares {
        gap: 10px;
    }

    .item-popular {
        gap: 10px;
        padding-bottom: 10px;
    }

    .rank-num {
        font-size: 19px;
        min-width: 26px;
    }

    .item-titulo {
        font-size: 12px;
        line-height: 1.28;
        -webkit-line-clamp: 3;
        line-clamp: 3; /* <--- Esto quita el subrayado amarillo */
    }

    .item-vistas {
        font-size: 10px;
    }

    .item-thumb {
        width: 66px;
        height: 44px;
    }
}


/* ==========================================================
   TABLET VERTICAL Y MÓVIL HORIZONTAL — 2 columnas
   Rango: 601px – 1024px
   ========================================================== */
@media screen and (min-width: 601px) and (max-width: 1024px) {

    .shortcode-populares-container {
        padding: 15px;
        margin: 0px;
    }

    .populares-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .populares-header .populares-title {
        font-size: 13.5px;
    }

    .lista-populares {
        gap: 10px;
    }

    .item-popular {
        gap: 10px;
        padding-bottom: 10px;
    }

    .rank-num {
        font-size: 19px;
        min-width: 26px;
    }

    .item-titulo {
        font-size: 12px;
        line-height: 1.28;
        -webkit-line-clamp: 3;
        line-clamp: 3; /* <--- Esto quita el subrayado amarillo */
    }

    .item-vistas {
        font-size: 10px;
    }

    .item-thumb {
        width: 66px;
        height: 44px;
    }
}

/* ===================================================
   RESPONSIVE PARA MÓVIL HORIZONTAL (HASTA 880px)
   ================================================   */
@media screen and (max-width: 880px) and (orientation: landscape) {
    .item-titulo {
        font-size: 12px; /* Reducimos ligeramente el título para ahorrar espacio vertical */
        -webkit-line-clamp: 2; /* Limitamos a 2 líneas para que no ocupe demasiado alto */
        line-clamp: 2;
    }

    .item-vistas {
        font-size: 10px;
    }

    .item-thumb {
        width: 65px;  /* Ajustamos el ancho de la miniatura */
        height: 44px; /* Ajustamos el alto manteniendo la proporción */
    }
}

/* ==========================================================
   MÓVIL RETRATO — Hasta 767px
   ========================================================== */

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

    .shortcode-populares-container {
        padding: 13px;
        margin-top: 10px;
        /*margin: 0px;*/
        border-radius: 6px;
    }

    .populares-header {
        margin-bottom: 10px;
        padding-bottom: 7px;
        gap: 6px;
    }

    .populares-header .populares-title {
        font-size: 12px;
        letter-spacing: 0.3px;
    }

    .lista-populares {
        gap: 8px;
    }

    .item-popular {
        gap: 8px;
        padding-bottom: 8px;
        align-items: center;
    }

    .rank-num {
        font-size: 16px;
        min-width: 22px;
        padding-bottom: 4px;
    }

    .rank-num::after {
        height: 1.5px;
    }

    .item-info {
        gap: 2px;
    }

    .item-titulo {
        font-size: 11px;
        line-height: 1.25;
        -webkit-line-clamp: 3;
        line-clamp: 3; /* <--- Esto quita el subrayado amarillo */
    }

    .item-vistas {
        font-size: 9px;
    }

    .item-thumb {
        width: 55px;
        height: 37px;
        border-radius: 3px;
    }
}


/* ==========================================================
   MÓVIL MUY PEQUEÑO — Hasta 400px (ajuste fino opcional)
   ========================================================== */

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

    .shortcode-populares-container {
        padding: 12px;
        margin: 3px;
    }

    .item-titulo {
        font-size: 10.5px;
        -webkit-line-clamp: 2;
        line-clamp: 2; /* <--- Esto quita el subrayado amarillo */
    }

    .item-thumb {
        width: 50px;
        height: 34px;
    }

    .rank-num {
        font-size: 15px;
        min-width: 20px;
    }
}


/* ==========================================================
   ZUNOTICIA — BLOQUE CLIMA
   ========================================================== */

.zn-clima {
    background: #0d1b2a;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 10px 0;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-width: 100%;
    box-sizing: border-box;
}

.zn-clima *,
.zn-clima *::before,
.zn-clima *::after {
    box-sizing: border-box;
}

/* Header */
.zn-clima-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid #1b2a41;
}

.zn-clima-icon-title {
    font-size: 16px;
    line-height: 1;
}

.zn-clima-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
}

/* Cuerpo */
.zn-clima-body {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.zn-clima-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.zn-clima-emoji {
    font-size: 42px;
    line-height: 1;
}

.zn-clima-info {
    min-width: 0;
    line-height: 1.15;
}

.zn-clima-temp {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.5px;
    color: #fff;
}

.zn-clima-desc {
    font-size: 12.5px;
    color: #cbd5e1;
    text-transform: capitalize;
    margin-top: 2px;
}

.zn-clima-lugar {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* Columna derecha */
.zn-clima-extra {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 110px;
}

.zn-clima-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
}

.zn-clima-label {
    color: #94a3b8;
}

.zn-clima-value {
    color: #e2e8f0;
    font-weight: 600;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Laptop — hasta 1366px */
@media screen and (max-width: 1366px) {
    .zn-clima        { padding: 14px 16px; }
    .zn-clima-title  { font-size: 14px; }
    .zn-clima-temp   { font-size: 27px; }
    .zn-clima-icon   { width: 50px; height: 50px; }
    .zn-clima-emoji  { font-size: 38px; }
}

/* Tablet horizontal — hasta 1200px */
@media screen and (max-width: 1200px) {
    .zn-clima-body {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icon info"
            "extra extra";
        gap: 10px 12px;
    }
    .zn-clima-icon  { grid-area: icon; }
    .zn-clima-info  { grid-area: info; }
    .zn-clima-extra {
        grid-area: extra;
        flex-direction: row;
        justify-content: space-between;
        min-width: 0;
        padding-top: 10px;
        border-top: 1px solid #1b2a41;
    }
    .zn-clima-row {
        flex-direction: column;
        gap: 2px;
        flex: 1;
    }
}

/* Tablet vertical — hasta 1024px */
@media screen and (max-width: 1024px) {
    .zn-clima        { padding: 14px; margin: 6px 0; }
    .zn-clima-title  { font-size: 13px; }
    .zn-clima-temp   { font-size: 24px; }
    .zn-clima-desc   { font-size: 11.5px; }
    .zn-clima-icon   { width: 44px; height: 44px; }
    .zn-clima-emoji  { font-size: 32px; }
}

/* Móvil horizontal — hasta 880px */
@media screen and (max-width: 880px) {
    .zn-clima-temp   { font-size: 22px; }
    .zn-clima-desc   { font-size: 11px; }
    .zn-clima-lugar  { font-size: 10.5px; }
    .zn-clima-row    { font-size: 10.5px; }
}

/* Móvil vertical — hasta 767px */
@media screen and (max-width: 767px) {
    .zn-clima        { padding: 12px; margin: 4px 0; border-radius: 6px; }
    .zn-clima-header { margin-bottom: 10px; padding-bottom: 8px; }
    .zn-clima-title  { font-size: 12px; }
    .zn-clima-temp   { font-size: 20px; }
    .zn-clima-desc   { font-size: 10.5px; }
    .zn-clima-icon   { width: 38px; height: 38px; }
    .zn-clima-emoji  { font-size: 28px; }
    .zn-clima-extra  { padding-top: 8px; }
    .zn-clima-row    { font-size: 10px; }
}

/* Extra pequeño — hasta 400px */
@media screen and (max-width: 400px) {
    .zn-clima-temp  { font-size: 18px; }
    .zn-clima-icon  { width: 34px; height: 34px; }
    .zn-clima-emoji { font-size: 24px; }
}

/* ==========================================================
   2. ESTILOS FLEXIBLES (CUADRADOS Y VERTICALES) (CSS) para publicidades
   ========================================================== */

.slider-publicidad-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 10px auto !important;
}

.slider-publicidad-container {
    width: 100% !important;
    max-width: 360px !important; 
    overflow: hidden !important;
    position: relative !important;
    border-radius: 8px;
    background-color: #f7f7f7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex !important;
    width: 100% !important;
    transition: transform 0.5s ease-in-out !important;
    align-items: center !important;
}

.slide {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    background-color: #ffffff;
}

.slide a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
}

.slide img {
    width: 100% !important;
    height: auto !important; /* Muestra completa la imagen vertical sin cortar arriba o abajo */
    max-height: 620px !important;
    object-fit: contain !important; 
    display: block !important;
    border-radius: 8px;
}

/* --- Estilos de los Puntitos --- */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-dots .dot.active {
    background-color: #333;
    transform: scale(1.2);
}






/*notas por categoria a una sola linea*/
.contenedor-noticias-rotativas {
    overflow: hidden;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.grid-notas-dinamico {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    box-sizing: border-box;
    will-change: transform;
}

.grid-notas-dinamico .card-nota {
    flex: 0 0 calc((100% - (20px * (var(--n-columnas) - 1))) / var(--n-columnas));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-imagen {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* PRIORIZA LA PARTE SUPERIOR: Evita que se corten las cabezas o rostros en las noticias*/ 
    display: block;
}
.card-contenido {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-contenido h3 {
    font-size: 20px; /* Título sutilmente más estilizado para evitar desbordes */
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Limita títulos largos a 2 líneas de forma limpia */
    line-clamp: 2;
    overflow: hidden;
}

.card-contenido h3 a {
    text-decoration: none;
    color: #000000;
}

.card-contenido h3 a:hover {
    color: #ff0000;
}

.card-contenido .fecha {
    font-size: 12px;
    color: #888;
    margin: 0;
    font-weight: 400;
}

.card-contenido p {
    font-size: 13px;
    color: #000000;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Limita el extracto a 3 líneas para guardar simetría */
    line-clamp: 3;
    overflow: hidden;

}
/* --- ADAPTACIÓN PROFESIONAL PARA LAPTOPS (Hasta 1366px) --- */
@media (max-width: 1366px) {
    .contenedor-noticias-auto,
    .contenedor-noticias-rotativas {
        padding: 0 10px; /* Margen interior de seguridad en pantallas de laptop estándar */
    }

    .grid-notas-dinamico {
        gap: 20px; /* Reducimos ligeramente el espacio entre tarjetas para ganar aire */
    }

    .card-imagen {
        height: 165px; /* Ajuste proporcional de la imagen para pantallas de 1366px */
    }

    .card-contenido {
        padding: 12px; /* Padding ligeramente más compacto */
        gap: 6px;
    }

    .card-contenido h3 {
        font-size: 15px; /* Título sutilmente más estilizado para evitar desbordes */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* Limita títulos largos a 2 líneas de forma limpia */
        line-clamp: 2;
        overflow: hidden;
    }

    .card-contenido p {
        font-size: 13px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3; /* Limita el extracto a 3 líneas para guardar simetría */
        line-clamp: 3;
        overflow: hidden;
    }
}

/* ==========================================================
   ZUNOTICIA — GRID DE NOTAS DINÁMICAS (RESPONSIVO)
   ========================================================== */

/* --- Tableta horizontal (hasta 1200px) --- */
@media (max-width: 1200px) {
    .contenedor-noticias-auto,
    .contenedor-noticias-rotativas {
        padding: 0 10px;
    }

    .grid-notas-dinamico {
        gap: 20px;
    }

    .card-imagen {
        height: 155px;
    }

    .card-contenido {
        padding: 12px;
        gap: 6px;
    }

    .card-contenido h3 {
        font-size: 14px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .card-contenido p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
    }
}


/* --- Tableta vertical (hasta 1024px) --- */
@media (max-width: 1024px) {
    .contenedor-noticias-auto,
    .contenedor-noticias-rotativas {
        padding: 0 10px;
    }

    .grid-notas-dinamico {
        gap: 20px;
        /* Opcional: si en tu diseño desktop usas 3 o 4 columnas, aquí puedes reducir a 2 */
        /* grid-template-columns: repeat(2, 1fr); */
    }

    .card-imagen {
        height: 145px;
    }

    .card-contenido {
        padding: 10px;
        gap: 5px;
    }

    .card-contenido h3 {
        font-size: 14px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .card-contenido p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* Reducimos a 2 líneas para ganar espacio vertical */
        line-clamp: 2;
        overflow: hidden;
    }
}


/* --- Móvil horizontal (hasta 880px) --- */
@media (max-width: 880px) {
    .contenedor-noticias-auto,
    .contenedor-noticias-rotativas {
        padding: 0 8px;
    }

    .grid-notas-dinamico {
        gap: 20px;
        /* Si prefieres 1 sola columna en móviles, descomenta la siguiente línea: */
        /* grid-template-columns: 1fr; */
    }

    .card-imagen {
        height: 135px;
    }

    .card-contenido {
        padding: 10px;
        gap: 4px;
    }

    .card-contenido h3 {
        font-size: 13px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .card-contenido p {
        font-size: 11px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}


/* --- Móvil en Retrato (hasta 767px) --- */
@media (max-width: 767px) {
    .contenedor-noticias-auto,
    .contenedor-noticias-rotativas {
        padding: 0 0px;
    }

    .grid-notas-dinamico {
        gap: 12px;
        grid-template-columns: 1fr; /* Forzamos a una sola columna para que aproveche todo el ancho del smartphone */
    }

    .card-imagen {
        height: 160px; /* Un poco más de altura en móvil de retrato para que la foto luzca mejor a lo ancho */
    }

    .card-contenido {
        padding: 10px;
        gap: 5px;
    }

    .card-contenido h3 {
        font-size: 14px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .card-contenido p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}





/* notas cuadriculadas por categoria*/
/* --- CONTENEDOR PRINCIPAL DE LA SECCIÓN --- */
.contenedor-noticias-auto {
    max-width: 100%;
    margin: 0px auto;
    font-family: 'Roboto', sans-serif;
}

.inner-transicion {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 30px;
    align-items: start;
    /* Quitamos el opacity y el transition para evitar cualquier parpadeo */
}

/* --- COLUMNA IZQUIERDA: NOTA PRINCIPAL --- */
.nota-principal-grande {
    display: flex;
    flex-direction: column;
}

/*.img-grande-wrapper {
    width: 100%;
    height: 300px; 
    overflow: hidden;
    border-radius: 4px;
    background: transparent;
    position: relative;
}

.img-grande-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center center; 
    display: block;
}*/
.img-grande-wrapper {
    width: 100%;
    height: 300px; 
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0; /* Color de fondo para rellenar los espacios vacíos (puedes cambiarlo a #000 si prefieres negro) */
    position: relative;
    display: flex;             /* Centra la imagen dentro del contenedor */
    align-items: center;       /* Centrado vertical */
    justify-content: center;   /* Centrado horizontal */
}

.img-grande-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;       /* Esto obliga a que se vea la imagen entera sin recortar nada */
    object-position: center center; 
    display: block;
}

.contenido-grande h2 {
    font-size: 32px; /* Título sutilmente más estilizado para evitar desbordes */
    font-weight: 800;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Limita títulos largos a 2 líneas de forma limpia */
    line-clamp: 2;
    overflow: hidden;
}

.contenido-grande h2 a {
    color: #000000;
    text-decoration: none;
}

.contenido-grande h2 a:hover {
    color: #ff0000;
}

.meta-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.contenido-grande p {
    font-size: 16px;
    color: #000000;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
    
}

/* --- COLUMNA DERECHA: NOTAS SECUNDARIAS --- */
.lista-notas-laterales {
    display: flex;
    flex-direction: column;
    gap: 25px; 
    border-left: 1px solid #eaeaea;
    padding-left: 25px;
}

.item-nota-lateral-vertical {
    display: flex;
    flex-direction: column; 
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.item-nota-lateral-vertical:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.img-lateral-vertical-wrapper {
    width: 100%;
    height: 140px; 
    overflow: hidden;
    border-radius: 4px;
    background: transparent;
    margin-bottom: 10px;
    position: relative;
}

.img-lateral-vertical-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center center;
    display: block;
}

.contenido-lateral-vertical h3 {
    font-size: 20px; /* Título sutilmente más estilizado para evitar desbordes */
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Limita títulos largos a 2 líneas de forma limpia */
    line-clamp: 2;
    overflow: hidden;

}

.contenido-lateral-vertical h3 a {
    color: #111;
    text-decoration: none;
}

.contenido-lateral-vertical h3 a:hover {
    color: #ff0000;
}

.contenido-lateral-vertical p {
    font-size: 13px;
    color: #000000;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* --- RESPONSIVE PARA LAPTOPS (Hasta 1366px) --- */

@media (max-width: 1366px) {
    .contenedor-noticias-auto {
        padding: 0 10px; /* Margen de seguridad interno para que no pegue a los bordes */
    }

    .inner-transicion {
        gap: 20px; /* Reducimos el espacio entre columnas */
        grid-template-columns: 2fr 1.3fr; /* Ajuste fino de la proporción de columnas */
    }

    .img-grande-wrapper {
        height: 260px; /* Bajamos un poco la altura de la imagen grande */
    }

    .contenido-grande h2 {
        font-size: 26px; 
        line-height: 1.25;
        /* Opcional: limitar el título lateral a 2 líneas si es muy largo */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
       
        overflow: hidden;
        
    }

    .contenido-grande p {
        font-size: 13px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        line-clamp: 7;
        overflow: hidden;
    }

    .lista-notas-laterales {
        padding-left: 20px;
        gap: 20px;
    }

    .img-lateral-vertical-wrapper {
        height: 120px; /* Reducimos la altura de las imágenes laterales */
    }

    .contenido-lateral-vertical h3 {
        font-size: 15px; 
        line-height: 1.25;
        /* Opcional: limitar el título lateral a 2 líneas si es muy largo */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
       
        overflow: hidden;
    }
    /* Limitamos el párrafo de las notas laterales a 2 o 3 líneas */
    .contenido-lateral-vertical p {
        font-size: 13px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3; /* Muestra máximo 3 líneas y corta con '...' */
        line-clamp: 3;
        overflow: hidden;
    }
}

/* --- RESPONSIVE PARA TABLETA HORIZONTAL (Hasta 1200px) --- */
@media (max-width: 1200px) {
    .contenedor-noticias-auto {
        padding: 0 10px; 
    }

    .inner-transicion {
        gap: 20px; 
    }

    /* --- NOTA PRINCIPAL --- */
    .img-grande-wrapper {
        height: 250px; 
    }

    .img-grande-wrapper img {
        object-position: top center; 
    }

    .contenido-grande h2 {
        font-size: 24px; 
    }

    .contenido-grande p {
        font-size: 12px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
        line-clamp: 6;
        overflow: hidden;
    }

    /* --- NOTAS SECUNDARIAS (LADO DERECHO) --- */
    .lista-notas-laterales {
        padding-left: 20px;
        gap: 20px;
    }

    .img-lateral-vertical-wrapper {
        height: 115px; 
    }

    /* Si las imágenes laterales también se cortan de arriba, puedes aplicar esto: */
    .img-lateral-vertical-wrapper img {
        object-position: top center; 
    }

    .contenido-lateral-vertical h3 {
        font-size: 15px; 
        line-height: 1.25;
        /* Opcional: limitar el título lateral a 2 líneas si es muy largo */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
       
        overflow: hidden;
    }

    /* Limitamos el párrafo de las notas laterales a 2 o 3 líneas */
    .contenido-lateral-vertical p {
        font-size: 13px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3; /* Muestra máximo 3 líneas y corta con '...' */
        line-clamp: 3;
        overflow: hidden;
    }
}

/* --- Tableta vertical (hasta 1024px) --- */
@media (max-width: 1024px) {
    .contenedor-noticias-auto {
        padding: 0 10px; 
    }

    .inner-transicion {
        gap: 18px; 
    }

    /* Nota principal */
    .img-grande-wrapper {
        height: 220px; 
    }

    .img-grande-wrapper img {
        object-position: top center; 
    }

    .contenido-grande h2 {
        font-size: 22px; 
    }

    .contenido-grande p {
        font-size: 12px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        line-clamp: 5;
        overflow: hidden;
    }

    /* Notas secundarias */
    .lista-notas-laterales {
        padding-left: 15px;
        gap: 18px;
    }

    .img-lateral-vertical-wrapper {
        height: 105px; 
    }

    .img-lateral-vertical-wrapper img {
        object-position: top center; 
    }

    .contenido-lateral-vertical h3 {
        font-size: 14px; 
        line-height: 1.2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .contenido-lateral-vertical p {
        font-size: 12px;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}

/* --- Móvil horizontal (hasta 880px) --- */
@media (max-width: 880px) {
    .contenedor-noticias-auto {
        padding: 0 8px; 
    }

    .inner-transicion {
        /* Si usas grid o flex en columnas para el desktop, aquí puedes pasarlo a una sola columna */
        display: flex;
        flex-direction: column;
        gap: 15px; 
    }

    /* Nota principal */
    .img-grande-wrapper {
        height: 200px; 
    }

    .img-grande-wrapper img {
        object-position: top center; 
    }

    .contenido-grande h2 {
        font-size: 20px; 
    }

    .contenido-grande p {
        font-size: 12px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        overflow: hidden;
    }

    /* Notas secundarias (pasan a formato fluido o de fila según tu diseño base) */
    .lista-notas-laterales {
        padding-left: 0;
        gap: 15px;
    }

    .img-lateral-vertical-wrapper {
        height: 95px; 
    }

    .img-lateral-vertical-wrapper img {
        object-position: top center; 
    }

    .contenido-lateral-vertical h3 {
        font-size: 13px; 
        line-height: 1.2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .contenido-lateral-vertical p {
        font-size: 11px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}

/* --- Móvil en Retrato (hasta 767px) --- */
@media (max-width: 767px) {
    .contenedor-noticias-auto {
        padding: 0 5px; 
    }

    .inner-transicion {
        display: flex;
        flex-direction: column;
        gap: 12px; 
    }

    /* Nota principal */
    .img-grande-wrapper {
        height: 180px; 
    }

    .img-grande-wrapper img {
        object-position: top center; 
    }

    .contenido-grande h2 {
        font-size: 18px; 
    }

    .contenido-grande p {
        font-size: 11px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
    }

    /* Notas secundarias */
    .lista-notas-laterales {
        padding-left: 0;
        gap: 12px;
    }

    .img-lateral-vertical-wrapper {
        height: 85px; 
    }

    .img-lateral-vertical-wrapper img {
        object-position: top center; 
    }

    .contenido-lateral-vertical h3 {
        font-size: 12px; 
        line-height: 1.15;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .contenido-lateral-vertical p {
        font-size: 11px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}

/*encabezados*/
.news-header {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #000000; /* Línea horizontal que atraviesa el contenedor */
  margin-bottom: 20px;
  }

.news-badge {
  background-color: #000000; /* Color de fondo oscuro estilo bloque */
  color: #fff;            /* Color del texto en blanco */
  font-family: sans-serif;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  padding: 8px 16px;      /* Espaciado interno para darle forma de caja */
  position: relative;
  bottom: -2px;           /* Alinea la caja perfectamente sobre la línea inferior */
  }

/* --- Laptop (hasta 1366px) --- */
@media screen and (max-width: 1366px) {
  .news-badge {
    font-size: 13px;
    padding: 7px 14px;
  }
}

/* --- Tableta horizontal (hasta 1200px) --- */
@media screen and (max-width: 1200px) {
  .news-header {
    margin-bottom: 18px;
  }
  .news-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* --- Tableta vertical (hasta 1024px) --- */
@media screen and (max-width: 1024px) {
  .news-header {
    margin-bottom: 16px;
  }
  .news-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* --- Móvil horizontal (hasta 880px) --- */
@media screen and (max-width: 880px) {
  .news-header {
    margin-bottom: 14px;
  }
  .news-badge {
    font-size: 11px;
    padding: 5px 10px;
  }
}

/* --- Móvil en Retrato (hasta 767px) --- */
@media screen and (max-width: 767px) {
  .news-header {
    margin-bottom: 12px;
    /* Opcional: si el título es muy largo en celulares y quieres que baje de línea de forma limpia */
    flex-wrap: wrap; 
  }

  .news-badge {
    font-size: 11px;
    padding: 5px 10px;
    /* Ajuste extra para asegurar que no se desborde en pantallas muy pequeñas como iPhone SE */
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================================================
   bloque de vistas,fecha y ora de cada nota en la lectura
   ========================================================== */

/* Contenedor principal en una sola fila con tipografía Roboto */
.meta-fila-unica {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: 'Roboto', sans-serif; /* <--- Agregas esta línea */
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-item .meta-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #ff0000;
}

/*===========================================================

botonos para compartirlas notas
=============================================================*/
.compartir-nota-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    /* Forzar Roboto en todo el contenedor */
    font-family: 'Roboto', sans-serif !important;
}

.compartir-titulo {
    font-weight: 800;
    font-size: 15px;
    color: #1a1a1a;
    margin-right: 4px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif !important;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    padding: 0;
    /* Sombra exterior elegante para dar efecto flotante */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    font-family: 'Roboto', sans-serif !important;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.15);
    opacity: 1;
    color: #fff;
}

.share-btn:active {
    transform: translateY(0);
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 11px;
    /* Efecto de cuadro interno oscurecido con sombra interior simulada */
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

.share-text {
    padding: 9px 14px;
    letter-spacing: 0.2px;
    font-family: 'Roboto', sans-serif !important;
}

/* Colores corporativos optimizados con tonos profesionales */
.share-facebook { 
    background-color: #3b5998; 
}
.share-x { 
    background-color: #111111; 
}
.share-whatsapp { 
    background-color: #20ba5a; 
}
.share-copy { 
    background-color: #e4e7eb; 
    color: #333333; 
}

/* Ajuste específico para el cuadro interno del botón de copiar */
.share-copy .share-icon {
    background: rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}
/* ==========================================
   MEDIA QUERIES RESPONSIVAS
   ========================================== */

/* Pantallas menores o iguales a 1366px (Laptops estándar) */
@media (max-width: 1366px) {
    .compartir-titulo {
        font-size: 15px;
    }
   .share-btn {
        font-size: 09.5px;
    }
    .share-icon {
        padding: 8px 10px;
    }
    .share-text {
        padding: 8px 12px;
    }
 


}

/* Pantallas menores o iguales a 1200px */
@media (max-width: 1200px) {
     .compartir-titulo {
        font-size: 12px;
    }
    .share-btn {
        font-size: 9px;
    }
    .share-icon {
        padding: 3px 5px;
    }
    .share-text {
        padding: 8px 12px;
    }
}

/* Pantallas menores o iguales a 1024px (Tablets horizontales / Laptops chicas) */
@media (max-width: 1024px) {
     .compartir-titulo {
        display: none;
    }
    .compartir-nota-container {
        gap: 20px;
    }
    .compartir-titulo {
        font-size: 15px;
    }
}

/* Pantallas menores o iguales a 880px */
@media (max-width: 880px) {
    .compartir-nota-container {
        gap: 10px;
        justify-content: flex-start;
    }
    .share-btn {
        font-size: 9px;
    }
}

/* Pantallas menores o iguales a 766px (Móviles / Tablets verticales) */
@media (max-width: 766px) {
    .compartir-nota-container {
        flex-direction: column;
        align-items: stretch; /* Los botones se estiran al ancho del contenedor */
        gap: 8px;
    }
    
    .compartir-titulo {
        margin-bottom: 4px;
        text-align: center;
    }

    .share-btn {
        width: 100%;
        justify-content: center; /* Centra el contenido interno del botón */
        font-size: 13px;
    }

    .share-icon {
        padding: 10px 14px;
    }

    .share-text {
        padding: 10px 16px;
        flex-grow: 1;
        text-align: center;
    }
}