
.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;
    }
}
.punto {
    margin-bottom: 20px;
    font-size: 14px;
}
.zany-date {
    font-size: 0.75em;
    color: #606060;
}
#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: #f0f0f0;
}
.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;
}
.video-player iframe {
	width: 100%;
	height: 470px;
	border: none;
	border-radius: 4px;
}
.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;
}
.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 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 */
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;
}



/* 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;
}
/* Estilos generales */

/* Estilos para la noticia principal destacada */
.noticia-foto img {
    width: 100%;
        border-radius: 10px;
        max-height: 80000px;
        object-fit: cover;
    }

.Titulo {
    text-align: left; 

}
#noticia-principal {
    text-align: center;
    margin: 30px 0px 40px;
}
@media (max-width: 900px) {
    .noticia-imagen img {
        margin-top: 75px;
        width: 100%;
        border-radius: 10px;
        max-height: 800px;
        object-fit: cover;
    }
}
.noticia-imagen img {
    width: 100%;
    border-radius: 10px;
    max-height: 800px;
    object-fit: cover;
}

.noticia-contenido {
    text-align: justify;
    margin: 8px auto;
    max-width: 1000px;
}

.noticia-contenido h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.noticia-contenido .fecha {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}




.noticia-contenido p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.3;
}

.responsive-iframe {
    position: relative;
    width: 100%;            /* El iframe ocupa todo el ancho del contenedor */
    height: 0;              /* La altura se ajustará según el padding-bottom */
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 (altura / ancho * 100) */
  }
  
  .responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;           /* Sin borde alrededor del iframe */
  }



/* Eliminar subrayado de los enlaces */
/* Eliminar subrayado y cambiar color de los enlaces */
a {
    text-decoration: none;
    color: #000000; /* Celeste */
}
/* 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);
    }
    

/* Cambiar color de los enlaces en noticias */
 a {
    text-decoration: none;
    color: #000000; /* Celeste */
}
}