/* ==========================================================================
   1. RESET GENERAL Y TIPOGRAFÍA EDITORIAL
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f7f6f2; /* Tono marfil claro premium */
    color: #2a2a2a;
}

/* Tipografía elegante para títulos principales */
h2, h3, h4, .titulo-banner-principal, .titulo-seccion-general {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
}

p {
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 15px;
    color: #444444; /* Gris oscuro nítido para perfecta lectura */
}

/* ==========================================================================
   2. BARRA DE NAVEGACIÓN
   ========================================================================== */
.barra-navegacion {
    background-color: #ffffff;
    padding: 22px 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eadecc; 
    width: 100%;
}

.logo-sitio {
    color: #c94a29; /* Rojo Terracota */
    font-family: 'Georgia', serif;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 1px;
}

.enlaces-menu {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.enlaces-menu a {
    color: #555555;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
}

.enlaces-menu a.activo,
.enlaces-menu a:hover {
    color: #c94a29;
    border-bottom: 2px solid #c94a29;
    padding-bottom: 4px;
}

/* ==========================================================================
   3. GRILLA SUPERIOR (Banner + Lateral)
   ========================================================================== */
.bloque-superior {
    display: flex;
    width: 100%;
    background-color: #ffffff;
}

.columna-banner-principal {
    flex: 2;
    /* Usamos una imagen profesional de comida asiática online de respaldo estable */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.75)), url('../img/comida-asiatica.jpg') center/cover no-repeat;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 50px;
}

.capa-contenido-banner {
    max-width: 650px;
    color: #ffffff;
}

.categoria-tag {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: inline-block;
    background-color: #c94a29;
    color: #ffffff;
    padding: 4px 10px;
    margin-bottom: 15px;
}

.titulo-banner-principal {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.resumen-banner {
    font-size: 15px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-learn-more {
    display: inline-block;
    background-color: #c94a29;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.btn-learn-more:hover {
    background-color: #a4381c;
}

.columna-lateral-news {
    flex: 1;
    padding: 40px;
    border-left: 1px solid #eadecc;
    background-color: #fffdfa;
}

.titulo-bloque-lateral {
    font-size: 16px;
    text-transform: uppercase;
    color: #333333;
    margin-bottom: 30px;
    border-bottom: 2px solid #c94a29;
    padding-bottom: 5px;
    letter-spacing: 1px;
}

.noticia-lateral-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #f2ede4;
    padding-bottom: 20px;
}

.tag-categoria-rojo {
    color: #c94a29;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.noticia-lateral-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #111111;
}

/* ==========================================================================
   4. GRILLA INFERIOR (Tarjetas)
   ========================================================================== */
.contenido-principal {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 50px;
}

.titulo-seccion-general {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 35px;
    border-bottom: 2px solid #c94a29;
    padding-bottom: 8px;
    letter-spacing: 1px;
}

.fila-tres-tarjetas {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.tarjeta-noticia {
    flex: 1;
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eadecc;
}

.foto-tarjeta {
    height: 210px;
    background-color: #dee2e6;
}

/* Imágenes estables de prueba para tus tarjetas inferiores */
.foto-1 { background: url('../img/salon-te.jpg') center/cover; }
.foto-2 { background: url('../img/comida-tailandesa.jpg') center/cover; }
.foto-3 { background: url('../img/comida-coreana.jpg') center/cover; }

.cuerpo-tarjeta {
    padding: 22px;
}

.cuerpo-tarjeta h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222222;
}

.cuerpo-tarjeta p {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

/* ==========================================================================
   5. PIE DE PÁGINA
   ========================================================================== */
.pie-pagina-modelo {
    background-color: #ffffff;
    border-top: 1px solid #eadecc;
    padding: 30px;
    text-align: center;
    margin-top: 60px;
}

.pie-pagina-modelo p {
    text-align: center;
    font-size: 13px;
    color: #777777;
}

/* ==========================================================================
   6. RESPONSIVE DESIGN (Celulares y Tablets)
   ========================================================================== */
@media (max-width: 992px) {
    .bloque-superior, .fila-tres-tarjetas {
        flex-direction: column;
    }
    .columna-lateral-news {
        border-left: none;
        border-top: 1px solid #eadecc;
    }
    .contenido-principal {
        padding: 0 20px;
    }
}
/* ==========================================================================
   7. SECCIÓN COMPLEMENTARIA: PÁGINA DISCOVERY
   ========================================================================== */

/* Fondo e imagen del Hero principal de Discovery */
.banner-hero-discovery {
    background: url('../img/ramen.png') center/cover no-repeat;
    min-height: 580px;
    width: 100%;
}

.capa-oscura-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.65));
    min-height: 580px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.categoria-tag-secundario {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: inline-block;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 3px 9px;
    margin-left: 8px;
    margin-bottom: 15px;
}

.gran-titulo-discovery {
    font-size: 46px;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.15;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

/* Caja de Próxima Historia en el Hero */
.caja-next-story {
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    border-left: 3px solid #c94a29;
    padding: 15px 20px;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 380px;
}

.subtitulo-next {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #eadecc;
    display: block;
    margin-bottom: 4px;
}

.caja-next-story h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.caja-next-story p {
    font-size: 12px;
    color: #dddddd;
    margin: 0;
}

/* Autor del Hero */
.firma-autor-banner {
  width: 35px;       
    height: 35px;      
    border-radius: 50%; 
    object-fit: cover;  
    border: 2px solid #ffffff; 
    display: inline-block
}


.avatar-autor-mini {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #ffffff;
    max-width: 35px;
    max-height: 35px;
    border-radius: 50%;
    position: relative;
    z-index: 5;
}
img.avatar-chica-discovery {
    width: 32px;
    height: 32px ;
    max-width: 32px ;
    max-height: 32px ;
    border-radius: 50% ;
    object-fit: cover;
    display: inline-block;
   
}

/* Maquetación del Contenido en 2 Columnas */
.contenido-principal-discovery {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 50px;
    display: flex;
    gap: 60px;
    width: 100%;
}

.columna-izquierda-lectura {
    flex: 0 0 62%;
}

.titulo-lectura-negro {
    font-size: 32px;
    margin-bottom: 25px;
    color: #111111;
}

.subtitulo-chico-modelo {
    font-size: 16px;
    margin-top: 35px;
    color: #c94a29;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.columna-derecha-autores {
    flex: 0 0 38%;
}

/* Tarjetas de Autores en el Lateral */
.bloque-autor-perfil {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #eadecc;
    border-radius: 4px;
    margin-bottom: 20px;
}

.encabezado-perfil-autor {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.avatar-perfil-redondo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.encabezado-perfil-autor h4 {
    font-size: 16px;
    color: #111111;
    margin-bottom: 4px;
}

.encabezado-perfil-autor span {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    display: block;
}

/* Miniatura del Video */
.contenedor-reproductor-video {
    margin-top: 30px;
    height: 220px;
    background: url('../videos/video.mp4') center/cover no-repeat;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.capa-fondo-video {
    background-color: rgba(0, 0, 0, 0.25);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icono-play-circular {
    width: 55px;
    height: 55px;
    background-color: #c94a29;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.icono-play-circular:hover {
    transform: scale(1.08);
}

.triangulo-play {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid #ffffff;
    margin-left: 5px;
}

/* Adaptación de Discovery para Tablets y Celulares */
@media (max-width: 992px) {
    .contenido-principal-discovery {
        flex-direction: column;
        padding: 0 20px;
        gap: 40px;
    }
    .columna-izquierda-lectura, 
    .columna-derecha-autores {
        flex: 0 0 100%;
        width: 100%;
    }
    .gran-titulo-discovery {
        font-size: 32px;
    }
    .capa-oscura-hero {
        padding: 40px 20px;
    }
}
/* ==========================================================================
   8. SECCIÓN COMPLEMENTARIA: WORLD NEWS & ARTÍCULO INTERNO
   ========================================================================== */

/* Banner Superior World News */
.banner-seccion-news {
    background: url('../img/banner-final.jpg') center/cover no-repeat;
    min-height: 380px;
    width: 100%;
}

.capa-oscura-news {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.tag-seccion-superior {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    border-bottom: 2px solid #c94a29;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.titulo-seccion-interna {
    font-size: 28px;
    color: #ffffff;
    max-width: 750px;
    line-height: 1.4;
    margin-bottom: 25px;
}

.avatar-autor-redondo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
}

/* Área del Formulario / Buscador */
.contenedor-formulario-filtro {
    max-width: 900px;
    margin: -40px auto 40px auto; /* Flota sobre el banner ligeramente */
    background-color: #ffffff;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #eadecc;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

.formulario-busqueda {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grupo-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grupo-input label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.5px;
}

.input-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #eadecc;
    background-color: #fffdfa;
    font-family: inherit;
    font-size: 14px;
    color: #444444;
    border-radius: 4px;
    outline: none;
}

.input-control:focus {
    border-color: #c94a29;
}

.btn-buscar-news {
    background-color: #c94a29;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-buscar-news:hover {
    background-color: #a4381c;
}

/* Estilos de Contenido del Artículo */
.contenido-articulo-interno {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.gran-titulo-articulo {
    font-size: 26px;
    color: #111111;
    margin-bottom: 25px;
    line-height: 1.3;
}

.fila-dos-columnas-texto {
    display: flex;
    gap: 40px;
}

.fila-dos-columnas-texto p {
    flex: 1;
    margin-bottom: 0;
}

/* Imagen Editorial del Elefante */
.bloque-imagen-destacada {
    margin: 45px 0;
    width: 100%;
    height: 380px;
    border-radius: 6px;
    overflow: hidden;
}

.imagen-elefante-editorial {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cuerpo-adicional-texto p {
    margin-bottom: 20px;
}

.texto-cursiva-destacado {
    font-style: italic;
    font-weight: 700;
    color: #111111;
    border-top: 1px solid #eadecc;
    padding-top: 20px;
    margin-top: 30px;
}

/* Ajustes Responsive para World News */
@media (min-width: 768px) {
    .formulario-busqueda {
        flex-direction: row;
        align-items: flex-end;
    }
    .grupo-input {
        flex: 2;
    }
    .btn-buscar-news {
        flex: 1;
        margin-top: 0;
        height: 46px; /* Alineado perfecto con los inputs */
    }
}

@media (max-width: 768px) {
    .fila-dos-columnas-texto {
        flex-direction: column;
        gap: 20px;
    }
    .bloque-imagen-destacada {
        height: 240px;
    }
    .titulo-seccion-interna {
        font-size: 20px;
    }
}
/* ==========================================================================
   9. GRILLA ASIMÉTRICA INFERIOR (Happening Now)
   ========================================================================== */
.bloque-happening {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    align-items: flex-start;
    margin-top: 20px;
}

/* Columna de fotos grandes (65% del ancho) */
.subcolumna-articulos-grandes {
    flex: 0 0 65%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.articulo-grande-foto {
    width: 100%;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 35px;
    border-radius: 6px;
    overflow: hidden;
}

/* Rutas locales para tus dos imágenes grandes */
.foto-destacada-1 {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.75)), url('../img/comida-japonesa.jpg') center/cover no-repeat;
}
.foto-destacada-2 {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.75)), url('../img/comida-hindu.jpg') center/cover no-repeat;
}

.contenido-articulo-foto {
    color: #ffffff;
    text-align: left;
}

.tag-interno {
    font-size: 11px;
    text-transform: uppercase;
    background-color: #c94a29;
    color: #ffffff;
    padding: 4px 8px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.titulo-articulo-interno {
    font-size: 24px;
    color: #ffffff !important;
    margin-bottom: 10px;
}

.contenido-articulo-foto p {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 0;
    text-align: left;
}

/* Columna de fotos chicas (35% del ancho) */
.subcolumna-articulos-chicos {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tarjeta-chica-horizontal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.mini-foto {
    width: 100%;
    height: 180px;
    border-radius: 6px;
}

/* Rutas locales para tus tres imágenes pequeñas */
.mini-1 { background: url('../img/baos-cerdo.jpg') center/cover no-repeat; }
.mini-2 { background: url('../img/postres-matcha.png') center/cover no-repeat; }
.mini-3 { background: url('../img/bubble-tea.jpg') center/cover no-repeat; }

.mini-texto h4 {
    font-size: 14px;
    color: #222222;
    font-weight: 700;
    text-transform: capitalize;
}

/* Responsividad para pantallas medianas y móviles */
@media (max-width: 992px) {
    .bloque-happening {
        flex-direction: column;
        gap: 30px;
    }
    .subcolumna-articulos-grandes,
    .subcolumna-articulos-chicos {
        flex: 0 0 100%;
        width: 100%;
    }
    .articulo-grande-foto {
        height: 280px;
        padding: 20px;
    }
}
/* ==========================================================================
   10. SIDEBAR DINÁMICO (DESPLEGABLE AL ACERCAR EL MOUSE)
   ========================================================================== */
.menu-lateral-container {
    width: 280px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 25px rgba(0,0,0,0.08);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    
    position: fixed; 
    top: 0;
    /* EFECTO OCULTO: Lo movemos hacia la izquierda dejando solo un borde de 12px visible */
    left: -268px; 
    z-index: 1000;
    
    /* SUAVIDAD: Controla la velocidad de la transición al abrir y cerrar (0.4 segundos) */
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #ffffff;
}

/* DETECTOR DE MOUSE: Al acercar el cursor al borde o al menú, este recupera su posición original */
.menu-lateral-container:hover {
    left: 0;
}

/* PESTAÑA VISUAL DE DISPARO: Una sutil línea guía en el borde izquierdo de la pantalla */
.menu-lateral-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background-color: #c94a29; /* Color terracota de tu blog para identificar la zona activa */
    opacity: 0.4;
    transition: opacity 0.2s;
}

.menu-lateral-container:hover::after {
    opacity: 0; /* Desaparece la línea guía cuando el menú ya está completamente abierto */
}

/* ==========================================================================
   DISEÑO INTERNO DEL SIDEBAR (Mantiene tu estética editorial)
   ========================================================================== */
.cuerpo-menu-superior {
    background-color: #ffffff;
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.logo-lateral {
    color: #ff4d6d; 
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.lista-enlaces-laterales {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.enlace-lat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #111111;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.enlace-lat-item:hover {
    color: #ff4d6d;
}

.icono-lat {
    font-size: 14px;
    opacity: 0.7;
    width: 20px;
    text-align: center;
}

.cuerpo-menu-inferior {
    background-color: #bcbcbc; 
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.grilla-enlaces-secundarios {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 15px 10px;
}

.grilla-enlaces-secundarios a {
    text-decoration: none;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.grilla-enlaces-secundarios a:hover {
    opacity: 1;
}

.redes-sociales-lateral {
    display: flex;
    gap: 18px;
    align-items: center;
}

.redes-sociales-lateral a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.redes-sociales-lateral a:hover {
    opacity: 1;
}
