
.news-divider {
    position: relative;
    margin: 40px 0 20px;
    padding-top: 25px;
  }
  
  .news-divider-line {
    width: 100%;
    height: 3px;
    background-color: #282c34;
  }
  
  .news-divider-rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 25px;
    background-color: #282c34;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .news-divider-rectangle span {
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .news-section {
    margin-bottom: 20px;
  }


/* Estilos base */
.xK92_wrapper_contentz {
    width: 100%;
    margin: 0;
    /* Reducido el padding de 2% a 1% */
    padding: 0%;
    box-sizing: border-box;
}

.zyx_outer_shell_v3 {
    width: 100%;
    margin-bottom: 3%;
}
.quantum_grid_matrix {
    display: flex;
    justify-content: center;
    /* Reducido el gap de 1.5% a 1% */
    gap: 1%;
    flex-wrap: nowrap;
    width: 100%;
}

/* Reset del body */
body {
    margin: 0;
    padding: 0;
}

/* Estilos de las tarjetas */
.neo_cell_unit {
    /* Ajustado el ancho para compensar el gap más pequeño */
    width: 24%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.4s ease-out;
    cursor: pointer;
}

/* El resto de los estilos se mantienen igual */
.neo_cell_unit:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.quantum_image_element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-out;
}

.neo_cell_unit:hover .quantum_image_element {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.alpha_text_layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.6) 50%,
        rgba(0,0,0,0) 100%
    );
    padding: 8% 5% 5% 5%;
    color: white;
    transition: all 0.4s ease-out;
    transform: translateY(0);
}

.neo_cell_unit:hover .alpha_text_layer {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0.1) 100%
    );
}

.omega_heading_prime {
    font-size: 1.2rem;
    margin: 0 0 1% 0;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    transition: all 0.4s ease-out;
    position: relative;
}

.neo_cell_unit:hover .omega_heading_prime {
    transform: translateY(-3px);
}

.omega_heading_prime::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.4s ease-out;
}

.neo_cell_unit:hover .omega_heading_prime::after {
    width: 50%;
}

.delta_text_secondary {
    font-size: 0.85rem;
    margin: 0;
    font-family: 'Arial', sans-serif;
    opacity: 0.8;
    transform: translateY(0);
    transition: all 0.4s ease-out;
}

.neo_cell_unit:hover .delta_text_secondary {
    opacity: 1;
}

@keyframes gentleFloatIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.neo_cell_unit {
    animation: gentleFloatIn 0.8s ease-out forwards;
    opacity: 0;
}

.neo_cell_unit:nth-child(1) { animation-delay: 0.1s; }
.neo_cell_unit:nth-child(2) { animation-delay: 0.2s; }
.neo_cell_unit:nth-child(3) { animation-delay: 0.3s; }
.neo_cell_unit:nth-child(4) { animation-delay: 0.4s; }

.neo_cell_unit::after {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.titulo_seccion {
    color: #ffffff;
}

.section_link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

/* Media queries ajustados */
@media (max-width: 750px) {
    .zyx_outer_shell_v3 {
        width: 100%;
        margin-bottom: 3%;
    }
    .quantum_grid_matrix {
        flex-wrap: wrap;
        gap: 2%;
    }
    
    .neo_cell_unit {
        width: 48%;
        margin-bottom: 2%;
    }
}

@media (max-width: 506px) {
    .zyx_outer_shell_v3 {
        width: 100%;
        margin-bottom: 3%;
    }
    
    .quantum_grid_matrix {
        gap: 2%;
    }
    
    .neo_cell_unit {
        width: 100%;
        margin-bottom: 4%;
    }
}





.contenedor-de-noticias {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px; /* Margen inferior para separación de otras secciones */
    margin-top: 20px; /* Margen superior para separación de la sección anterior */
}
.noticias-principales {
    display: grid;
    gap: 20px;
    padding: 20px;
}
.elemento-de-noticia {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 15px;
    margin-bottom: 20px;
    transition: transform 0.2s;
}
.elemento-de-noticia:hover {
    transform: translateY(-3px);
}
.elemento-de-noticia img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}
.contenido-de-noticia h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}
.contenido-de-noticia p {
    font-size: 14px;
    color: #666;
}
.barra-lateral {
    background-color: #f8f8f8;
    padding: 15px;
}
.barra-lateral h2 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}
.elemento-de-barra {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    margin-bottom: 15px;
    transition: transform 0.2s;
}
.elemento-de-barra:hover {
    transform: translateY(-2px);
}
.elemento-de-barra img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}
.contenido-de-barra h4 {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #333;
}
.contenido-de-barra p {
    font-size: 12px;
    color: #666;
}
@media (max-width: 768px) {
    .contenedor-de-noticias {
        grid-template-columns: 1fr;
    }
    .elemento-de-noticia {
        grid-template-columns: 120px 1fr;
    }
    .elemento-de-barra {
        grid-template-columns: 80px 1fr;
    }
}


#cookie-consent {
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}
.wacky-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    
}
.zany-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.zany-card {
    display: flex;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 12px;
}
.loony-image-container {
    flex: 0 0 210px;
    height:120px;
    overflow: hidden;
    margin-right: 12px;
}
.loony-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}
.bonkers-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.kooky-category {
    font-size: 0.75em;
    color: #065fd4;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.wacky-title {
    font-size: 1.2em;
    margin: 0 0 1px 0;
    color: #0a0a0a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    
}
.zany-date {
    font-size: 0.75em;
    color: #606060;
}
.zany-link:active {
    transform: scale(0.98);
    background-color: #f0f0f0;
}
.zany-link:active .loony-image {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .contenedor-de-noticias {
        grid-template-columns: 1fr; /* Cambiar a una sola columna en móvil */
    }
    .elemento-de-noticia {
        grid-template-columns: 140px 1fr; /* Reducir tamaño de imagen en móviles */
    }
    .contenido-de-noticia h3 {
        font-size: 13px; /* Reducir tamaño del título */
    }
    .contenido-de-noticia p {
        font-size: 10px; /* Reducir tamaño del texto */
    }
    .elemento-de-barra {
        grid-template-columns: 100px 1fr; /* Reducir tamaño de imagen en barra lateral */
    }
    .contenido-de-barra h4 {
        font-size: 11.5px; /* Reducir tamaño del título en barra lateral */
    }
    .contenido-de-barra p {
        font-size: 10px; /* Reducir tamaño del texto en barra lateral */
    }
}





.peru-retail-tv-container {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.peru-retail-tv-container h2 {
    color: #fff;
    padding: 15px 20px;
    margin: 0;
    background-color: #333;
    font-size: 1.2em;
}

.player-container {
    display: flex;
    padding: 20px;
}

.video-player {
    flex: 3;
    margin-right: 20px;
    position: relative;
    width: 100%;
    padding-top: 5%; /* Mantiene la relación de aspecto 16:9 */
    overflow: hidden;
    border-radius: 8px; /* Bordes redondeados para el contenedor del video */
    background-color: #000000; /* Fondo negro para simular el formato de YouTube */
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ajustar el ancho del iframe */
    height: 100%; /* Ajustar la altura del iframe */
    border: none; 
    border-radius: 8px; /* Bordes redondeados para el iframe */
   
}

.thumbnails {
    flex: 1;
    overflow-y: auto;
    max-height: 470px;
}

.thumbnail {
    cursor: pointer;
    margin-bottom: 15px;
    background-color: #333;
    border-radius: 4px;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: auto; 
    object-fit: cover; 
    border-radius: 4px; /* Bordes redondeados para las miniaturas */
}

.thumbnail-info {
    padding: 10px;
}

.thumbnail-info p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

@media (max-width: 772px) {
    .peru-retail-tv-container {
        
        width: 100%;
    }
    .player-container {
        flex-direction: column;
        padding: 10px;
    }
    .video-player {
        margin-right: 0;
        margin-bottom: 20px;
        position: relative; /* Permite el posicionamiento absoluto del iframe */
        width: 100%; /* Asegura que el contenedor ocupe todo el ancho disponible */
        padding-top: 56.25%; /* Mantiene la relación de aspecto 16:9 (9 / 16 * 100) */
        overflow: hidden; /* Oculta cualquier contenido que desborde el contenedor */
    }
    
    .video-player iframe {
        position: absolute; /* Permite que el iframe ocupe el 100% del contenedor */
        top: 0;
        left: 0;
        width: 100%; /* Asegura que el iframe ocupe todo el ancho del contenedor */
        height: 100%; /* Asegura que el iframe ocupe todo el alto del contenedor */
        max-height: 4000px; /* Altura máxima opcional para el iframe */
        border: none; /* Opcional: elimina el borde del iframe */
    }
    .thumbnails {
        max-height: none;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .thumbnail {
        flex: 0 0 auto;
        width: 200px;
        margin-right: 15px;
        margin-bottom: 0;
    }
    .thumbnail:last-child {
        margin-right: 0;
    }
}











/* Estilos generales */
/* Estilos generales */



/* Estilos para secciones de noticias */
main {
    padding: 0 20px;
}

.noticias {
    margin-bottom: 40px;
}

.noticias h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.noticias article {
    margin-bottom: 20px;
}

.noticias h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}
/* Eliminar subrayado de los enlaces */
/* Eliminar subrayado y cambiar color de los enlaces */
a {
    text-decoration: none;
    color: #000000; /* Celeste */
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Encabezado */

/* Encabezado */
header {
    background-color: #282c34;
    color: white;
    padding: 1rem 0;
    position: relative;
    animation: slideInDown 1s ease-out;
}

@media (max-width: 900px) {
    header {
        background-color: #282c34;
        color: white;
        padding: 1rem 0;
        position: fixed; /* Cambiado de relative a fixed */
        top: 0; /* Asegura que esté en la parte superior */
        left: 0;
        right: 0;
        z-index: 1001; /* Asegura que esté encima de otros elementos */
        animation: slideInDown 1s ease-out;
    }
}
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}
.logo img {
    height: 40px;
    margin-right: 10px;
}
.nav-links {
    display: none;
}
.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: block;
}

/* Menú móvil */
.mobile-menu {
    margin-top: 10px;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #282c34;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    animation: slideInLeft 0.5s ease-in-out;
}
.mobile-menu.active {
    left: 0;
}
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.mobile-menu-links {
    padding: 60px 20px 20px;
}
.mobile-menu-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

/* Sección de imágenes destacadas */

@media (max-width: 900px) {
    .featured-images {
        margin-top: 75px;
        display: flex;
        flex-wrap: wrap;           /* Permite que las imágenes se ajusten en varias filas */
        gap: 1rem;                 /* Espacio entre imágenes */
        padding: 1rem;
    }
}
.featured-images {
    display: flex;
    flex-wrap: wrap;              /* Permite que las imágenes se ajusten en varias filas */
    gap: 1rem;                    /* Espacio entre imágenes */
    padding: 1rem;
    justify-content: center;       /* Centra las imágenes en el contenedor */
}

.featured-image {
    position: relative;
    width: calc(100% - 1rem); /* Una imagen por fila en pantallas de 772px o menos */
    aspect-ratio: 16 / 9;      /* Mantiene la proporción de 16:9 */
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.featured-image img {
    width: 100%;               /* Asegura que la imagen ocupe todo el contenedor */
    height: 100%;              /* Asegura que la imagen ocupe todo el contenedor */
    object-fit: cover;         /* Asegura que la imagen cubra el contenedor */
}

.featured-image:hover {
    transform: scale(1.05);    /* Efecto de zoom al pasar el ratón */
}

/* Media Queries para dispositivos móviles */
@media (min-width: 773px) and (max-width: 1024px) {
    .featured-image {
        width: calc(50% - 1rem); /* Dos imágenes en fila en pantallas entre 773px y 1024px */
    }
}

@media (min-width: 1025px) {
    .featured-image {
        width: calc(30% - 1rem); /* Tres imágenes en fila en pantallas más grandes (un poco más grandes que antes) */
    }
}

.featured-image-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    transition: background-color 0.3s ease;
}

.featured-image-content:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.featured-image-content h3 {
    margin: 0 0 0.2rem 0;
}

.featured-image-content p {
    margin: 0;
}

/* Contenido principal */
main {
    padding: 2rem 0;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

h2 {
    color: #282c34;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr; /* Una columna por defecto */
    gap: 1rem;
}

/* Estilo del elemento de noticias */
.news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

/* Estilo de la imagen */
.news-item img {
    width: 100%;
    height: auto; /* Ajusta la altura para mantener la proporción */
    aspect-ratio: 16 / 9; /* Mantiene la relación de aspecto 16:9 */
    object-fit: cover; /* Asegura que la imagen cubra el área del contenedor */
    transition: transform 0.3s ease;
}

.news-item img:hover {
    transform: scale(1.05);
}

/* Contenido de noticias */
.news-content {
    padding: 1rem;
}

/* Estilos responsivos */
@media (max-width: 772px) {
    .news-grid {
        grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
    }
}

@media (min-width: 773px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr); /* Tres columnas en pantallas grandes */
    }
    .news-item img {
        height: auto; /* Altura automática para mantener la proporción en tres columnas */
    }
}

.analysis, .events {
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-in-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pie de página */
footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
    animation: fadeInUp 1s ease-in-out;
}

.footer-content {
    text-align: justify;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.footer-section h3 {
    margin-bottom: 1rem;
}
.footer-links a {
  
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}
.footer-links a:hover {
    color: white;
    transition: color 0.3s ease;
}
.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: #282c34;
}
.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #555;
    animation: fadeIn 1s ease-in;
}

/* Media queries para responsividad */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .menu-icon {
        display: none;
    }
    .featured-images {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .featured-image {
        flex: 1 1 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}