﻿/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background: #0f0f0f;
    color: #e5e5e5;
}

a {
    color: #E3E3E3;
    text-decoration: none;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}



/* HEADER */
.site-header {
    border-bottom: 1px solid #222;
    background: #000;
}

    .site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 64px;
    }

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
}

/* NAV */
.main-nav {
    display: flex;
    gap: 1.2rem;
}

    .main-nav a {
        margin-left: 1.5rem;
        font-size: 0.9rem;
        text-transform: uppercase;
    }

.site-main {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

/* CONTENT */
.content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* GRID */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.article-card {
    text-align: center;
}

.image-wrapper {
    border: 4px solid #000;
    padding: 10px;
}

    .image-wrapper img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

.excerpt {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* ARTICLE */
.article-detail h1 {
    margin-bottom: 20px;
}

.featured-image {
    width: 100%;
    margin-bottom: 20px;
}

.article-content {
    line-height: 1.7;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid #222;
    margin-top: 4rem;
    padding: 2rem 0;
    font-size: 0.85rem;
    color: #aaa;
}

.footer-nav a {
    margin-right: 1rem;
}

/* AD-Slot */
.ad-slot {
    margin: 3rem 0;
    text-align: center;
    min-height: 1px;
}

/*AÑADIDO 260126*/

.home-hero {
    margin-bottom: 3rem;
}

    .home-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }

.claim {
    color: #aaa;
    max-width: 600px;
}

.article-feed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.article-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    border-bottom: 1px solid #222;
    padding-bottom: 2rem;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-title {
    margin: 0;
    font-size: 1.6rem;
}

.article-date {
    font-size: 0.85rem;
    color: #999;
}

.article-excerpt {
    margin: 1rem 0;
    line-height: 1.6;
}

.read-more {
    font-weight: 600;
}

.home-videos {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid #222;
}

.btn-youtube {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid #e63946;
    color: #e63946;
    font-weight: 600;
}


/*ARTICLE VIEW*/
.article {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.article-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 2rem;
}

.article-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 3rem;
}

.article-featured {
    margin: 3rem 0;
}

    .article-featured img {
        width: 100%;
        height: auto;
    }

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

    .article-content p {
        margin-bottom: 1.6rem;
    }

    .article-content h2 {
        margin-top: 3rem;
        margin-bottom: 1rem;
        font-size: 1.6rem;
    }

    .article-content h3 {
        margin-top: 2.5rem;
        font-size: 1.3rem;
    }

    .article-content blockquote {
        border-left: 3px solid #444;
        padding-left: 1.2rem;
        color: #bbb;
        font-style: italic;
        margin: 2rem 0;
    }

.affiliate-box {
    margin-top: 4rem;
    padding: 2rem;
    border: 1px solid #222;
    background: #111;
}

.btn-buy {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid #e63946;
    color: #e63946;
    font-weight: 600;
}

/*CABECERA*/
.site-header {
    height: 220px;
    background: #000;
    border-bottom: 1px solid #222;
}

.header-inner {
    width: 100%;
    max-width: none; /* ← CLAVE */
    height: 100%;
    display: flex;
    padding: 0 1.5rem; /* respiración mínima real */
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-left {
    flex: 0 0 25%;
    padding-left: 0; /* ← fuera aire */
}

    .header-left a {
        display: flex;
        align-items: center;
    }

.header-center {
    flex: 0 0 50%;
    padding: 0 0.5rem; /* aire mínimo, no vacío */
}

.header-right {
    flex: 0 0 25%;
    justify-content: center;
    padding-right: 0; /* ← fuera aire */
}

.site-logo {
    width: 100%;
    max-width: 100%; /* ← no se auto-reduce */
    height: 100%;
}

.title-image {
    width: 100%; /* ahora sí */
    max-width: none; /* ← clave */
    height: 170px;
}

.header-left a {
    display: block;
    max-width: 100%;
}

/*MENU NAV*/
/* HAMBURGUESA – base */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

    .nav-toggle-label span {
        width: 26px;
        height: 2px;
        background: #e5e5e5;
        display: block;
    }


/*Versión Móvil*/
@media (max-width: 768px) {

    .site-header {
        height: auto;
        padding: 1rem 0;
    }

    .header-inner {
        flex-direction: column;
        padding: 0 1rem;
    }

    .header-left,
    .header-center,
    .header-right {
        flex: none;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .header-left {
        order: 1;
        margin-bottom: 0.5rem;
    }

    .header-center {
        order: 2;
        margin-bottom: 0.75rem;
    }

    .header-right {
        order: 3;
        position: relative;
        justify-content: center;
    }

    .title-image {
        height: 110px;
        width: auto;
        max-width: 100%;
    }

    .site-logo {
        height: 140px;
        width: auto;
    }

    .main-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

        .main-nav a {
            margin-left: 0;
            font-size: 0.85rem;
        }

    /* Mostrar hamburguesa */
    .nav-toggle-label {
        display: flex;
    }

    /* Ocultar menú por defecto */
    .main-nav {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: #000;
        padding: 1rem 0;
        width: 100%;
        text-align: center;
        border-top: 1px solid #222;
    }

    /* Mostrar menú al activar */
    .nav-toggle:checked + .nav-toggle-label + .main-nav {
        display: flex;
    }

    .main-nav a {
        margin: 0;
        font-size: 0.95rem;
    }
}

/* ============================= */
/* HEADER PERFECTO RESPONSIVE */
/* ============================= */

.site-header {
    background: #000;
    border-bottom: 1px solid #222;
    height: 220px;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

/* COLUMNAS */
.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
}

/* IZQUIERDA */
.header-left {
    flex: 1;
}

.title-image {
    height: 140px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* CENTRO */
.header-center {
    flex: 2;
    justify-content: center;
}

.site-logo {
    width: 100%;
    max-width: 500px;
    height: 190px;
    object-fit: cover;
}

/* NAV DESKTOP */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 1.2rem;
}

    .main-nav a {
        font-size: 0.9rem;
        text-transform: uppercase;
    }

/* ============================= */
/* HAMBURGUESA */
/* ============================= */

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* ============================= */
/* MÓVIL */
/* ============================= */

@media (max-width: 768px) {

    .site-header {
        height: auto;
        padding: 1rem 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    /* TÍTULO */
    .title-image {
        height: 90px;
    }

    /* LOGO */
    .site-logo {
        height: 140px;
        max-width: 90%;
    }

    /* HAMBURGUESA VISIBLE */
    .nav-toggle-label {
        display: block;
        align-self: flex-end;
        margin-right: 1rem;
    }

    /* NAV OCULTO */
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid #222;
    }

    /* NAV DESPLEGABLE */
    .nav-toggle:checked + .nav-toggle-label + .main-nav {
        display: flex;
    }

}

/* ============================== */
/* 🍪 COOKIE CONSENT BANNER PRO */
/* ============================== */

.cookie-banner {
    background: linear-gradient(90deg, #1a1f2b, #111827);
    color: #f9fafb;
    padding: 1.2rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 9999;
    font-size: 0.95rem;
}

    .cookie-banner strong {
        font-size: 1.05rem;
    }

    /* Botones */
    .cookie-banner .btn {
        border-radius: 999px;
        font-weight: 500;
        padding: 0.4rem 0.9rem;
    }

    /* Aceptar */
    .cookie-banner .btn-primary {
        background-color: #2563eb;
        border: none;
    }

        .cookie-banner .btn-primary:hover {
            background-color: #1d4ed8;
        }

    /* Rechazar */
    .cookie-banner .btn-dark {
        background-color: #374151;
        border: none;
    }

        .cookie-banner .btn-dark:hover {
            background-color: #1f2937;
        }

    /* Configurar */
    .cookie-banner .btn-outline-secondary {
        border-color: rgba(255, 255, 255, 0.35);
        color: white;
    }

        .cookie-banner .btn-outline-secondary:hover {
            background-color: rgba(255, 255, 255, 0.12);
        }

/* ============================= */
/* FIX MODAL BOOTSTRAP COOKIES */
/* ============================= */

.modal {
    z-index: 20000 !important;
}

.modal-backdrop {
    z-index: 19999 !important;
}

/* Modal cookies más visible */

#cookieSettingsModal .modal-content {
    background: #ffffff !important;
    color: #111 !important;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Banner cookies elegante */

.cookie-banner {
    background: #0b1f3a !important; /* azul oscuro */
    color: white;
    padding: 1rem;
    z-index: 15000;
}

    .cookie-banner strong {
        font-size: 1.05rem;
    }

    .cookie-banner button {
        border-radius: 10px;
    }


