/* =================================================================
   INICIO: SECCIÓN DE NOTICIAS PERSONALIZADA PARA MEXNOTICIAS
   ================================================================= */

/* -----------------------------------------------------------------
   1. ESTRUCTURA PRINCIPAL Y CONTENEDOR
----------------------------------------------------------------- */
.mexnoticias-news-section {
    padding: 0;
    font-family: sans-serif;
    margin: 20px 0; /* Añade un margen para separar de otras secciones */
}
.mexnoticias-news-section .mexnoticias-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* -----------------------------------------------------------------
   2. FILAS 1 Y 3 (TÍTULO Y ANUNCIO INFERIOR)
----------------------------------------------------------------- */
.mexnoticias-news-section .mexnoticias-section-title-wrapper {
    background-color: #fce4ec;
    padding: 10px 20px;
    border-left: 5px solid #e91e63;
}
.mexnoticias-news-section .mexnoticias-section-title {
    margin: 0;
    font-size: 24px;
    color: #333;
}
/* -----------------------------------------------------------------
   3. FILA 2: GRID DE CONTENIDO (LAS 3 COLUMNAS)
----------------------------------------------------------------- */
.mexnoticias-news-section .mexnoticias-main-content-grid {
    display: grid;
    grid-template-columns: 320fr 520fr 320fr;
    gap: 20px;
    min-height: 600px;
}
.mexnoticias-news-section .mexnoticias-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* -----------------------------------------------------------------
   4. ESTILOS DE TARJETAS (COLUMNAS IZQUIERDA Y DERECHA)
----------------------------------------------------------------- */
.mexnoticias-news-section .mexnoticias-post-card,
.mexnoticias-news-section .mexnoticias-post-card-small {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
}
.mexnoticias-news-section .mexnoticias-post-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
}
.mexnoticias-news-section .mexnoticias-post-title {
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}
.mexnoticias-news-section .mexnoticias-post-card h3 {
    padding: 15px;
}
.mexnoticias-news-section .mexnoticias-post-title a {
    text-decoration: none;
    color: #111;
}
.mexnoticias-news-section .mexnoticias-post-title a:hover {
    color: #e91e63;
}
.mexnoticias-news-section .mexnoticias-post-card-small {
    padding: 15px;
}
/* -----------------------------------------------------------------
   5. ESTILOS DEL HERO POST (COLUMNA CENTRAL)
----------------------------------------------------------------- */
.mexnoticias-news-section .mexnoticias-post-card-hero {
    position: relative;
    overflow: hidden;
    background-color: #111;
    border: none;
    height: 600px;
    background-size: cover;
    background-position: center center;
}
.mexnoticias-news-section .mexnoticias-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}
.mexnoticias-news-section .mexnoticias-hero-category {
    display: inline-block;
    background-color: #28a745;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 15px;
    transition: background-color 0.2s;
    align-self: flex-start;
}
.mexnoticias-news-section .mexnoticias-hero-category:hover {
    background-color: #218838;
}
.mexnoticias-news-section .mexnoticias-post-title-hero {
    font-size: 28px;
    margin: 0 0 10px 0;
    padding: 0;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.mexnoticias-news-section .mexnoticias-hero-content p {
    margin: 0;
    padding: 0;
    color: #f0f0f0;
    font-size: 16px;
    line-height: 1.5;
}
.mexnoticias-news-section .mexnoticias-hero-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
/* -----------------------------------------------------------------
   6. ESPACIOS PARA ANUNCIOS
----------------------------------------------------------------- */
.mexnoticias-news-section .mexnoticias-ad-placeholder-300x250,
.mexnoticias-news-section .mexnoticias-ad-placeholder-970x250 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border: 1px dashed #ccc;
    color: #777;
    text-align: center;
}
.mexnoticias-news-section .mexnoticias-ad-placeholder-300x250 { min-height: 250px; }
.mexnoticias-news-section .mexnoticias-ad-placeholder-970x250 { min-height: 250px; }
/* -----------------------------------------------------------------
   7. RESPONSIVIDAD (MEDIA QUERIES)
----------------------------------------------------------------- */
@media (max-width: 1200px) {
    .mexnoticias-news-section .mexnoticias-container {
        padding: 0 15px;
    }
}
@media (max-width: 992px) {
    .mexnoticias-news-section .mexnoticias-main-content-grid {
        grid-template-columns: 1fr;
    }
    .mexnoticias-news-section .mexnoticias-column-center {
        order: -1;
    }
}
/* =================================================================
   FIN: SECCIÓN DE NOTICIAS
   ================================================================= */