/* =========================================
   VARIABLES Y BASES
   ========================================= */
   :root {
    --c-beige: #e8e2d6;
    --c-dark: #303830;
    --c-violet: #937acc;
    --c-white: #ffffff;

     /* Tipografías Oficiales */
     --font-titles: 'Fonseca', sans-serif;
     --font-body: 'Champagne & Limousines', sans-serif;
}

/* Importación de fuentes locales (Asegúrate de tener los archivos en tu carpeta de proyecto) */
@font-face {
    font-family: 'Champagne & Limousines';
    src: url('Champagne_Limousines.woff2') format('woff2'),
         url('Champagne_Limousines.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Fonseca';
    src: url('Fonseca.woff2') format('woff2'),
         url('Fonseca.ttf') format('truetype');
    font-weight: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Champagne & Limousines','Fonseca';
    background-color: var(--c-beige);
    color: var(--c-dark);
    line-height: 1.6; 
}

/* =========================================
   HEADER
   ========================================= */
header.dark-bg {
    padding: 15px 10%; /* Reducimos drásticamente el relleno vertical */
    background-color: var(--c-dark);
    border-bottom: 3px solid var(--c-violet);
    font-family: 'Champagne & Limousines';
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 90px !important; /* Logo más pequeño para no empujar el texto */
    width: auto;
    transition: transform 0.3s ease;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 40px; /* Más espacio entre opciones */
}

.navbar a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Champagne & Limousines'; 
    font-size: 0.9rem;       /* Subimos de 0.8rem a 1rem */
    letter-spacing: 1px;   /* Más espacio entre letras para ese look premium */
    font-weight: lighter;
    transition: color 0.3s ease;
}

.navbar ul li a {
    color: var(--c-white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--c-violet);
}

/* =========================================
   ESTRUCTURA DEL ARTÍCULO (COLUMNA CENTRAL)
   ========================================= */
.post-container {
    padding: 30px 5% 60px; /* Reducimos el espacio superior de 60px a 30px */
    max-width: 850px;
    margin: 0 auto;
}

.post-content {
    background: var(--c-white);
    padding: 40px 60px; /* Un poco menos de espacio arriba en el contenido blanco */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.post-header {
    text-align: center;
    margin-bottom: 30px; /* Reducimos margen inferior */
}
.post-category { 
    color: var(--c-violet); 
    text-transform: uppercase; 
    font-weight: bold; 
    letter-spacing: 2px; 
    font-size: 0.9rem; 
}
.post-header h1 {
    font-size: 2.4rem; /* Un poco más pequeño para que no ocupe tantas líneas */
    margin: 10px 0;
    line-height: 1.2;
    font-family: 'Fonseca';
}
.post-divider { width: 60px; height: 3px; background: var(--c-violet); margin: 0 auto; }

.post-hero-img { width: 100%; margin-bottom: 40px; border-radius: 4px; overflow: hidden; }
.post-hero-img img { width: 100%; display: block; }

/* =========================================
   CUERPO DEL TEXTO
   ========================================= */
.post-body h2 { margin: 40px 0 20px; font-size: 1.8rem; border-left: 4px solid var(--c-violet); padding-left: 20px; font-family: 'Fonseca';}
.post-body p { margin-bottom: 25px; font-size: 1.15rem; color: #333; text-align: justify;}
.lead { font-size: 1.4rem !important; color: var(--c-dark) !important; font-weight: 500; }

.post-list { margin-bottom: 30px; padding-left: 20px; }
.post-list li { margin-bottom: 15px; font-size: 1.1rem; text-align: justify;}

.post-signature { border-top: 1px solid #eee; padding-top: 30px; margin-top: 50px; font-family: 'Fonseca';}

/* =========================================
   BOTÓN VOLVER
   ========================================= */
.post-footer { margin-top: 50px; text-align: center; }
.btn-back {
    text-decoration: none;
    color: var(--c-dark);
    font-weight: bold;
    border: 2px solid var(--c-dark);
    padding: 12px 25px;
    transition: all 0.3s;
}
.btn-back:hover { background: var(--c-dark); color: #fff; }

/* =========================================
   FOOTER
   ========================================= */
   .footer {
    padding: 40px 10% 20px;
    text-align: center;
    background-color: var(--c-violet);
    color: var(--c-white);
}

.footer-socials {
    margin-bottom: 15px;
}

.footer-socials a {
    color: var(--c-white);
    font-size: 1.8em;
    margin: 0 15px;
    transition: opacity 0.3s;
}

.footer-socials a:hover {
    opacity: 0.7;
}

.footer-address {
    font-size: 0.85rem;
    margin-bottom: 10px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.footer p:last-child {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   NUEVO BLOQUE RESPONSIVE (MÓVIL - ENTRADAS INDIVIDUALES)
   Pega este bloque al final de tu archivo CSS del Blog
   ========================================================================== */
   @media (max-width: 768px) {
    /* --- 1. HEADER Y NAVEGACIÓN (IDÉNTICO AL RESTO) --- */
    header.dark-bg {
        padding: 15px 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        flex-direction: column;
        padding: 10px 0;
        gap: 15px;
    }

    .logo img {
        height: 60px !important; /* Logo más discreto */
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 0;
        padding: 0;
    }

    .navbar a {
        font-size: 0.85rem;
    }

    /* --- 2. CONTENEDOR PRINCIPAL Y TÍTULOS --- */
    .post-container {
        padding: 20px 5% 40px; /* Reducimos drásticamente los márgenes externos */
    }

    .post-content {
        padding: 25px 20px; /* ¡AQUÍ ESTÁ LA MAGIA! Reducimos de 60px a 20px para que el texto sea más ancho */
    }

    .post-header h1 {
        font-size: 1.6rem; /* Título mucho más manejable, ya no estorba */
        line-height: 1.3;
    }

    .post-category {
        font-size: 0.8rem;
    }

    /* --- 3. CUERPO DEL TEXTO (LEYENDO CÓMODAMENTE) --- */
    .post-body h2 {
        font-size: 1.4rem; /* Subtítulos más discretos */
        margin: 30px 0 15px;
        padding-left: 15px; /* Línea morada más pegada al texto */
    }

    .post-body p {
        font-size: 1.05rem; /* Letra un poco más pequeña pero legible */
        margin-bottom: 20px;
        text-align: left; /* En móvil, alinear a la izquierda suele leerse mejor que justificado, pero puedes cambiarlo a 'justify' si lo prefieres */
    }

    .lead {
        font-size: 1.15rem !important;
    }

    .post-list li {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .post-hero-img {
        margin-bottom: 25px;
    }

    /* --- 4. BOTÓN "VOLVER" ARREGLADO --- */
    .post-footer {
        margin-top: 40px;
        display: flex;
        justify-content: center;
    }

    .btn-back {
        display: inline-block; /* Esto evita que se corte a la mitad */
        width: 100%;
        max-width: 250px; /* Ancho máximo controlado */
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    /* --- 5. FOOTER ESPEJO (IGUAL AL INDEX Y LISTA) --- */
    .footer {
        padding: 40px 8% 20px;
    }

    .footer-socials {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .footer-socials a {
        font-size: 1.4rem;
        margin: 0;
    }

    .footer-address {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .footer p:last-child {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }
}