/*
Theme Name: Movilidad Sin Mitos V9
Description: Tema con separación estricta de notas y videos, y banner Costa Rica al fondo.
Version: 24.0
Author: JP
*/

/* =====================================================================
 VARIABLES DE DISEÑO GLOBAL (Aquí cambias los colores de toda la página)
 - primary-color: Usado en cabeceras, menú desplegable y títulos.
 - accent-color: Color de resaltado (botones naranja, hover, likes).
 - bg-color: Color de fondo general.
===================================================================== */
:root { --primary-color: #0b223f; --accent-color: #ff6600; --bg-color: #f4f6f8; --text-color: #333; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; background-color: var(--bg-color); color: var(--text-color); }
.container { width: 90%; max-width: 1300px; margin: 30px auto; display: flex; gap: 20px; }

/* =====================================================================
 ESTILOS DE LA CABECERA (Menú superior)
 Ajusta aquí el padding, el fondo (background-color) y los espacios.
===================================================================== */
header { background-color: var(--primary-color); color: white; display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); gap: 10px; position: relative; z-index: 100; }
.logo-container img { max-height: 45px; max-width: 140px; width: auto; height: auto; object-fit: contain; display: block; }
.logo-container { position: relative; z-index: 10; flex-shrink: 0; }

nav { flex-grow: 1; display: flex; justify-content: center; overflow: visible; }
nav ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 6px; align-items: center; flex-wrap: nowrap; }
nav ul li { position: relative; display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; }
nav ul li a { color: white; text-decoration: none; font-weight: bold; font-size: 10px; text-transform: uppercase; transition: color 0.3s; padding: 5px 0; white-space: nowrap; display: block; }
nav ul li:not(:last-child)::after { content: '|'; margin-left: 6px; color: #557; display: block; }
nav ul li.auth-link::after { content: none; }
nav ul li a:hover { color: var(--accent-color); }

.auth-btn { background-color: var(--accent-color); padding: 6px 10px !important; border-radius: 20px; font-size: 10px !important; display: inline-block; white-space: nowrap; }
.auth-btn:hover { background-color: white !important; color: var(--accent-color) !important; }

.search-bar { flex-shrink: 0; position: relative; z-index: 50; }
.search-bar form { display: flex; align-items: center; flex-wrap: nowrap; margin: 0; }
.search-bar input { padding: 6px 10px; border-radius: 20px 0 0 20px; border: none; outline: none; width: 110px; font-size: 11px; color: #333; }
.search-bar button { background-color: var(--accent-color); color: white; border: none; padding: 6px 12px; border-radius: 0 20px 20px 0; cursor: pointer; font-weight: bold; font-size: 11px; }

/* Fixed Top Image */
.fixed-top-banner { text-align: center; margin: 20px auto; width: 90%; max-width: 1300px; }
.fixed-top-banner img { width: 100%; max-height: 250px; border-radius: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); object-fit: contain; background: #fff; }

.footer-bottom { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px 50px; background-color: #fff; color: #000; margin-top: 50px; text-align: center; gap: 15px; border-top: 3px solid var(--accent-color); }
.footer-contact { font-size: 14px; font-weight: bold; color: var(--primary-color); }
.social-icons { display: flex; gap: 20px; font-size: 24px; color: var(--primary-color); }
.social-icons i { cursor: pointer; transition: color 0.3s; }
.social-icons i:hover { color: var(--accent-color); }
.footer-copyright { font-size: 12px; color: #777; }

/* =====================================================================
 ESTRUCTURA DEL INICIO (Grid Layout)
 Controla las 3 columnas principales (Noticias, Principal, Banners)
===================================================================== */
.home-container { display: grid; grid-template-columns: 250px 1fr 250px; gap: 20px; margin-top: 0; }
.sidebar-news { background: white; border-radius: 15px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); align-self: start; }
.sidebar-news h3 { margin-top: 0; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; font-size: 18px; }
.news-item { display: flex; gap: 10px; margin-bottom: 15px; align-items: center; text-decoration: none; color: var(--text-color); }
.news-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.news-item-content h4 { margin: 0 0 5px 0; font-size: 13px; line-height: 1.2; }
.news-item-content p { margin: 0; font-size: 11px; color: #777; }

.main-content { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.featured-news { background: #eef2f5; border-radius: 15px; display: flex; overflow: hidden; text-decoration: none; color: inherit; }
.featured-news img { width: 50%; object-fit: cover; }
.featured-info { padding: 30px; width: 50%; display: flex; flex-direction: column; justify-content: center; }
.featured-info h2 { margin-top: 0; font-size: 24px; color: var(--primary-color); }
.featured-info p { font-size: 14px; color: #555; }
.btn-read-more { background: var(--accent-color); color: white; padding: 10px 20px; border-radius: 20px; align-self: flex-start; text-decoration: none; font-weight: bold; margin-top: 15px; }

/* Carruseles */
/* =====================================================================
 CARRUSELES (Videos y Noticias)
 Controla las tarjetas redondeadas y el fondo de las secciones deslizables.
===================================================================== */
.carousel-section { background: white; border-radius: 15px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: relative; }
.carousel-section h3 { margin-top: 0; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; font-size: 18px; color: var(--primary-color); }
.carousel-container { position: relative; width: 100%; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.4s ease-in-out; gap: 15px; }
.carousel-item { flex: 0 0 calc(33.333% - 10px); background: #f9f9f9; border-radius: 10px; overflow: hidden; border: 1px solid #eee; }
.carousel-item img { width: 100%; height: 120px; object-fit: cover; object-position: center; display: block; }
.carousel-item-content { padding: 10px; }
.carousel-item-content h4 { margin: 0 0 5px 0; font-size: 13px; color: var(--primary-color); }
.carousel-item-content p { margin: 0; font-size: 11px; color: #777; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--accent-color); color: white; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; z-index: 10; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.carousel-btn:hover { background: var(--primary-color); }
.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }
.video-icon-overlay { position: absolute; top: 40px; left: 50%; transform: translate(-50%, -50%); color: red; font-size: 30px; background: white; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }

.security-banner { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.security-/* =====================================================================
 ESTILOS DE LA CABECERA (Menú superior)
 Ajusta aquí el padding, el fondo (background-color) y los espacios.
===================================================================== */
header { background: var(--primary-color); color: white; text-align: center; padding: 10px; font-size: 18px; font-weight: bold; }
.security-content { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.security-item { display: flex; align-items: center; gap: 15px; }
.security-item i { font-size: 24px; color: var(--primary-color); }
.security-item p { margin: 0; font-size: 13px; font-weight: bold; }

.banner-vertical { display: flex; flex-direction: column; gap: 20px; align-self: start; }
.banner-horizontal { text-align: center; margin: 20px auto; width: 90%; max-width: 1300px; }

@media (max-width: 1024px) {
    /* =====================================================================
 ESTRUCTURA DEL INICIO (Grid Layout)
 Controla las 3 columnas principales (Noticias, Principal, Banners)
===================================================================== */
.home-container { grid-template-columns: 1fr; }
    .banner-vertical { display: none; }
    .carousel-item { flex: 0 0 calc(50% - 7.5px); }
}
@media (max-width: 600px) {
    .carousel-item { flex: 0 0 100%; }
}

.auth-container { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); max-width: 400px; margin: 50px auto; text-align: center; }
.auth-container h2 { color: var(--primary-color); margin-top: 0; }
.auth-form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.auth-form input { padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; }
.auth-btn-submit { background: var(--accent-color); color: white; border: none; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; }

.detail-container { display: grid; grid-template-columns: 1fr 250px; gap: 30px; margin-top: 30px; }
.article-content { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.article-cover { width: 100%; max-height: 400px; object-fit: cover; object-position: center; border-radius: 10px; margin-bottom: 20px; display: block; }


/* =========================================
   OPTIMIZACIÓN PARA DISPOSITIVOS MÓVILES
   ========================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    /* Header y Navegación */
    /* =====================================================================
 ESTILOS DE LA CABECERA (Menú superior)
 Ajusta aquí el padding, el fondo (background-color) y los espacios.
===================================================================== */
header { flex-direction: column; padding: 15px; }
    nav { width: 100%; margin: 15px 0; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 8px; }
    nav ul li { background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 15px; }
    nav ul li:not(:last-child)::after { display: none; }
    .search-bar { width: 100%; display: flex; justify-content: center; margin-top: 5px; }
    .search-bar input { width: 100%; max-width: 300px; }

    /* Banners (Top y Bottom) */
    .banner-informativo-top, .banner-informativo-bottom {
        flex-direction: column !important;
        height: auto !important;
        padding: 15px 10px !important;
        gap: 15px;
    }
    .banner-informativo-top > div:not(.banner-centro), 
    .banner-informativo-bottom > div:not(.banner-centro) {
        width: 100% !important;
        display: none !important; /* Ocultar logos laterales en móvil para dar espacio al banner */
    }
    .banner-centro { height: 100px !important; width: 100% !important; }

    /* Contenedores y Cuadrículas */
    .container { padding: 15px !important; margin-top: 15px !important; width: 95%; }
    .news-grid { grid-template-columns: 1fr !important; }
    
    /* Detalles del post */
    .detail-container { grid-template-columns: 1fr; }
    .article-content { padding: 15px !important; }
    
    /* Footer */
    .footer-bottom { padding: 20px !important; }
}


/* =========================================
   MEJORAS MÓVILES Y DE DISEÑO (V20)
   ========================================= */
@media (max-width: 768px) {
    /* Navbar rediseñado para móvil (estilo píldoras limpias) */
    /* =====================================================================
 ESTILOS DE LA CABECERA (Menú superior)
 Ajusta aquí el padding, el fondo (background-color) y los espacios.
===================================================================== */
header {
        flex-direction: column;
        padding: 12px 10px;
        gap: 12px;
    }
    .logo-container {
        margin-bottom: 2px;
    }
    .logo-container img {
        max-height: 40px;
    }
    nav {
        width: 100%;
        display: block;
    }
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        padding: 0;
        margin: 0;
    }
    nav ul li {
        background: rgba(255, 255, 255, 0.12);
        padding: 6px 12px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    nav ul li:not(:last-child)::after {
        display: none !important;
    }
    nav ul li a {
        font-size: 11px !important;
        letter-spacing: 0.5px;
    }
    .auth-btn {
        background-color: var(--accent-color) !important;
        padding: 5px 10px !important;
    }
    .search-bar {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 4px;
    }
    .search-bar form {
        width: 100%;
        max-width: 320px;
    }
    .search-bar input {
        width: 100%;
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 20px 0 0 20px;
    }
    .search-bar button {
        padding: 8px 14px;
        border-radius: 0 20px 20px 0;
    }

    /* Inicio menos apretado y ordenado verticalmente */
    /* =====================================================================
 ESTRUCTURA DEL INICIO (Grid Layout)
 Controla las 3 columnas principales (Noticias, Principal, Banners)
===================================================================== */
.home-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 94% !important;
        margin: 15px auto !important;
        padding: 0 !important;
    }
    .sidebar-news {
        order: 2;
        padding: 15px !important;
        border-radius: 12px;
    }
    .main-content {
        order: 1;
        gap: 15px !important;
    }
    
    /* Noticia principal en móvil (apilada imagen arriba, texto abajo) */
    .featured-news {
        flex-direction: column !important;
        border-radius: 12px;
        overflow: hidden;
    }
    .featured-news > a, .featured-news > img {
        width: 100% !important;
        height: 200px !important;
    }
    .featured-info {
        width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box;
    }
    .featured-info h2 {
        font-size: 20px !important;
    }
    
    /* Carruseles y contenedores generales */
    .container {
        width: 94% !important;
        padding: 15px !important;
        margin: 15px auto !important;
        border-radius: 12px !important;
    }
    /* =====================================================================
 CARRUSELES (Videos y Noticias)
 Controla las tarjetas redondeadas y el fondo de las secciones deslizables.
===================================================================== */
.carousel-section {
        padding: 15px !important;
        border-radius: 12px !important;
    }
    .carousel-item {
        flex: 0 0 100% !important;
        min-width: 0 !important;
    }
}

/* =========================================
   AJUSTES FINALES BANNERS LATERALES (V21)
   ========================================= */
@media (max-width: 768px) {
    .banner-informativo-top, .banner-informativo-bottom {
        flex-direction: row !important;
        padding: 8px 10px !important;
        gap: 6px !important;
    }
    .banner-informativo-top > div:first-child,
    .banner-informativo-top > div:last-child,
    .banner-informativo-bottom > div:first-child,
    .banner-informativo-bottom > div:last-child {
        width: 55px !important;
    }
    .banner-informativo-top > div:first-child img,
    .banner-informativo-top > div:last-child img,
    .banner-informativo-bottom > div:first-child img,
    .banner-informativo-bottom > div:last-child img {
        max-height: 35px !important;
    }
    .banner-centro {
        height: 75px !important;
    }
}

/* =========================================
   MEJORAS V22: MENÚ DESPLEGABLE MÓVIL ESTILO TELETICA Y BANNERS COMPLETOS
   ========================================= */

/* Botón hamburguesa (oculto en escritorio) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}

@media (max-width: 768px) {
    /* =====================================================================
 ESTILOS DE LA CABECERA (Menú superior)
 Ajusta aquí el padding, el fondo (background-color) y los espacios.
===================================================================== */
header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
    }
    
    .logo-container img {
        max-height: 38px !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Ocultar barra de búsqueda de escritorio estándar si interfiere, o ponerla dentro del menú desplegable */
    .search-bar {
        display: none !important; 
    }

    /* Menú desplegable oculto por defecto */
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        z-index: 1000;
        padding: 20px 15px;
        box-sizing: border-box;
    }

    nav.active {
        display: block !important;
    }

    nav ul {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Mantener estilo 3D / píldoras para los botones en móvil dentro del menú desplegable */
    nav ul li {
        background: rgba(255, 255, 255, 0.08) !important;
        padding: 12px 18px !important;
        border-radius: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    nav ul li::after {
        content: "\f054" !important; /* Icono de flecha derecha de FontAwesome */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: #aaa;
        font-size: 12px;
        display: block !important;
        margin-left: 10px;
    }

    nav ul li.auth-link {
        background: var(--accent-color) !important;
        border: none !important;
        justify-content: center !important;
    }
    nav ul li.auth-link::after {
        display: none !important;
    }

    nav ul li a {
        font-size: 14px !important;
        font-weight: bold !important;
        color: white !important;
        padding: 0 !important;
        flex-grow: 1;
    }

    .auth-btn {
        background-color: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        width: 100%;
        text-align: center;
    }

    /* Banners en móvil: Mantener logos a los costados sin recortar la imagen central */
    .banner-informativo-top, .banner-informativo-bottom {
        flex-direction: row !important;
        padding: 8px 10px !important;
        gap: 8px !important;
    }
    .banner-logo-side { width: 140px !important; }
    .banner-logo-side img { max-height: 55px !important; max-width: 120px !important; }
    .banner-centro {
        height: 70px !important;
    }
}

/* =========================================
   MEJORAS V23: MENÚ DESPLEGABLE MÓVIL FUNCIONAL Y TACTIL / SWIPE EN CARRUSELES
   ========================================= */

@media (max-width: 768px) {
    /* Forzar que el header permita mostrar el nav desplegable correctamente */
    /* =====================================================================
 ESTILOS DE LA CABECERA (Menú superior)
 Ajusta aquí el padding, el fondo (background-color) y los espacios.
===================================================================== */
header {
        position: relative !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
    }
    
    .logo-container img {
        max-height: 38px !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        z-index: 1100 !important;
    }
    
    .search-bar {
        display: none !important; 
    }

    /* Menú desplegable hamburguesa */
    nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: var(--primary-color) !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.4) !important;
        z-index: 1050 !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
    }

    nav.active {
        display: block !important;
    }

    nav ul {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    nav ul li {
        background: rgba(255, 255, 255, 0.08) !important;
        padding: 12px 18px !important;
        border-radius: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    nav ul li::after {
        content: "\f054" !important;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: #aaa;
        font-size: 12px;
        display: block !important;
        margin-left: 10px;
    }

    nav ul li.auth-link {
        background: var(--accent-color) !important;
        border: none !important;
        justify-content: center !important;
    }
    nav ul li.auth-link::after {
        display: none !important;
    }

    nav ul li a {
        font-size: 14px !important;
        font-weight: bold !important;
        color: white !important;
        padding: 0 !important;
        flex-grow: 1;
    }

    .auth-btn {
        background-color: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        width: 100%;
        text-align: center;
    }

    /* Banners adaptables sin espacios vacíos */
    .banner-informativo-top, .banner-informativo-bottom {
        flex-direction: row !important;
        padding: 8px 10px !important;
        gap: 8px !important;
    }
    .banner-logo-side { width: 140px !important; }
    .banner-logo-side img { max-height: 55px !important; max-width: 120px !important; }
    .banner-centro {
        height: auto !important;
    }
}

/* =========================================
   MEJORAS V24: EXPANSIÓN DE SIDEBARS EN PC Y ADAPTABILIDAD TOTAL DE BANNERS
   ========================================= */

@media (min-width: 1025px) {
    /* Hacer que las columnas laterales (Últimas notas y Banner vertical) se extiendan en altura y se peguen bien al contenedor */
    /* =====================================================================
 ESTRUCTURA DEL INICIO (Grid Layout)
 Controla las 3 columnas principales (Noticias, Principal, Banners)
===================================================================== */
.home-container {
        align-items: stretch !important;
    }
    .sidebar-news, .banner-vertical {
        height: auto !important;
        box-sizing: border-box !important;
    }
    .banner-vertical a img {
        height: auto !important;
        max-height: none !important;
        object-fit: cover !important;
    }
}

/* Adaptabilidad absoluta de imágenes de banners para que nunca tengan altura fija restrictiva */
.banner-centro img, 
.publicidad-horizontal img, 
.banner-vertical img,
.banner-informativo-top img,
.banner-informativo-bottom img {
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

/* Páginas legales (Política de Privacidad, Términos y Aviso de Cookies) */
.legal-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 900px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    line-height: 1.7;
    color: var(--text-color);
}
.legal-container h1 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-top: 0;
}
.legal-container h2 {
    color: var(--primary-color);
    margin-top: 30px;
    font-size: 20px;
}
.legal-container p, .legal-container li {
    font-size: 15px;
    color: #444;
}

/* --- NUEVOS CAMBIOS V26 --- */
.single-noticia iframe, .single-noticia video, .contenido-noticia iframe, .rich-text-content iframe {
    max-width: 600px !important;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
}

#cookie-consent {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 700px;
    background: #ffffff; color: #333; padding: 20px 25px; text-align: left; z-index: 9999;
    border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border: 1px solid #eaeaea;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
#cookie-consent p { margin: 0; font-size: 14px; line-height: 1.5; color: #555; }
#cookie-consent a { color: var(--accent-color); text-decoration: underline; font-weight: bold; }
#cookie-consent button {
    background: var(--accent-color); border: none; padding: 10px 24px;
    cursor: pointer; font-weight: bold; color: white; border-radius: 30px;
    transition: 0.3s; white-space: nowrap; box-shadow: 0 4px 10px rgba(255,102,0,0.2);
}
#cookie-consent button:hover { background: var(--primary-color); transform: translateY(-2px); }

.likes-section { 
    margin-top: 40px; padding: 20px 25px; background: #f8f9fa; border-radius: 12px; 
    border: 1px solid #eaeaea; display: flex; align-items: center; gap: 15px; 
}
/* =====================================================================
 BOTÓN DE ME GUSTA
 Cambia los bordes, colores y sombras del botón de likes en los artículos.
===================================================================== */
.btn-like { 
    background: var(--accent-color); color: #fff; padding: 10px 22px; border-radius: 30px; 
    cursor: pointer; border: none; font-weight: bold; display: inline-flex; align-items: center; gap: 8px;
    transition: 0.3s; box-shadow: 0 4px 10px rgba(255,102,0,0.3); font-size: 15px;
}
.btn-like:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255,102,0,0.4); }
.comentarios-section { 
    margin-top: 30px; padding: 30px; background: #fff; border-radius: 12px; 
    border: 1px solid #eaeaea; box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.sidebar-left, .sidebar-right { height: auto !important; }
.sidebar-news { height: auto !important; }

@media (max-width: 768px) {
    #cookie-consent { flex-direction: column; text-align: center; }
    #cookie-consent button { width: 100%; margin-left: 0; }
}
