/*
Theme Name: Baseframe
Description: Lightweight child theme for content-focused websites.
Author: Baseframe
Template: generatepress
Version: 0.27.3
Text Domain: baseframe
*/

/* Styles are loaded from assets/css/. */

.texto-rojo-destacado { color:#c62828; font-weight:500; font-size:1.15rem; line-height:1.4; display:block; margin-bottom:20px; }

/* ==========================================================================
   2. HERO Y SUPERPOSICIÓN (OVERLAP) - VERSIÓN ESCRITORIO
   ========================================================================== */

/* Ajustes del Hero (Asegura que tenga altura suficiente) */
.hero-imagen-destacada {
    height: 450px; 
    background-size: cover;
    background-position: center center;
    position: relative;
    z-index: 1;
}

.baseframe-has-hero .site-content {
    margin-top: -120px !important;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.one-container .site-content {
    padding: 0px;
}

/* Responsive site chrome, not article/card design. */
@media (max-width:767px) {
    .single-post .hero-imagen-destacada { height:230px; }
    .single-post.baseframe-has-hero .site-content { margin-top:-35px !important; }
    .inside-header { padding:10px 12px; }
    .site-branding .main-title, .main-title { font-size:20px; line-height:1.2; }
    .menu-toggle { padding:9px 12px; }
    .single-post .entry-title { font-size:clamp(25px,7vw,32px); line-height:1.18; margin-bottom:16px; }
}

/* ==========================================================================
   1. AJUSTES DEL HEADER Y MENÚ (Reducir espacio y color de texto)
   ========================================================================== */

/* Ajusta el diseño del texto del menú para que coincida con tu mockup */
.main-navigation .main-nav ul li a {
    color: #111111 !important; /* Color casi negro para buen contraste */
    font-weight: 500;
    font-size: 13px; /* Tamaño discreto */
    text-transform: uppercase; /* Letras en mayúsculas */
    letter-spacing: 0.5px; /* Un poco de espacio entre letras */
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/* Elimina márgenes inferiores de la navegación por si está separada del header */
.main-navigation {
    margin-bottom: 0 !important;
}

.inside-header { padding: 8px 20px; }
/* =========================================================
   SECTION ANSWER — respuesta editorial inmediata
   ========================================================= */
.bf-section-answer {
    max-width: 90%;
    margin: 0.35rem 0 2.4rem 1.2rem;
    font-size: 1.1em;
    line-height: 1.5;
    font-weight: 400;
    color: #53684c;
}

.bf-section-answer strong { font-weight: 700; color: #35462f; }
.bf-section-answer em { font-style: italic; }

@media (max-width: 767px) {
    .bf-section-answer {
        max-width: 100%;
        margin: 0.25rem 0 1.2rem 0;
        font-size: 1.03em;
    }
}


/* Baseframe 0.21.2 — editorial width contract */
.bf-section--visual .bf-section-answer {
    max-width: 100%;
    margin-left: 0;
}

@media (max-width: 767px) {
    .bf-section__inner,
    .bf-section--text > .bf-section__inner,
    .bf-section--visual > .bf-section__inner {
        width: 100%;
    }
}
