/*
Theme Name: Baseframe
Description: Lightweight child theme for content-focused websites.
Author: Baseframe
Template: generatepress
Version: 0.26.2
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) */
body{
    font-size: 16px;
}
.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%;
    }
}

/* Single-post breadcrumbs and image headline. Other views unchanged. */
.single-post .bf-breadcrumbs { max-width:1200px; margin:0 auto; padding:12px 20px; font-size:13px; color:#5b6570; line-height:1.4; }
.single-post .bf-breadcrumbs a { color:inherit; text-decoration:none; }
.single-post .bf-breadcrumbs a:hover { text-decoration:underline; }
.single-post .bf-breadcrumbs span[aria-hidden] { margin:0 6px; }
.single-post .hero-imagen-destacada { display:flex; align-items:flex-end; isolation:isolate; }
.single-post .hero-imagen-destacada::before { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.15) 72%,rgba(0,0,0,.06)); z-index:-1; }
.single-post .bf-hero__inner {width:min(100%,1100px);margin:0 auto;padding: 40px 24px 110px;box-sizing:border-box;}
.single-post .bf-hero__title {/* max-width:800px; */margin:0 0 12px;font-size: clamp(20px,3vw,35px);line-height: 1.3;color:#fff;text-wrap:balance;text-align: center;text-transform: uppercase;font-weight: 800;opacity: .9;}
.single-post .bf-hero__excerpt {/* max-width:750px; */margin:0;font-size: clamp(15px,1.6vw,18px);color: #fff;line-height:1.5;text-align: center;text-wrap: balance;opacity: .8;}
.single-post.baseframe-has-hero .site-content { margin-top:-80px !important; }
.single-post .entry-header:empty { display:none; }
.single-post .bf-featured-near-opening { margin:24px auto 30px; max-width:700px; }
.single-post .bf-featured-near-opening img {width:100%;height:auto;display:block;border-radius: 0px;}
@media(max-width:767px) {
 .single-post .hero-imagen-destacada {min-height: 300px;height:auto;}
 .single-post .bf-hero__inner {padding: 60px 16px 50px;}
 .single-post.baseframe-has-hero .site-content { margin-top:0 !important; }
 .single-post .bf-breadcrumbs { padding:10px 12px; }
}
/* Hide GP prev/next navigation on single posts, including variants added by GP. */
.single-post #nav-below.post-navigation,
.single-post .post-navigation { display:none !important; }