/*
 * assets/css/historia/hero.css — Nuestro Tiempo Theme
 *
 * Estilos del Hero de la página Historia.
 *
 * PARA CAMBIAR LA IMAGEN DE FONDO:
 *   Editar template-parts/historia/hero.php
 *   Buscar la variable: $hero_bg = $img_dir . 'galeria-01.webp';
 *   Cambiar el nombre del archivo por la imagen deseada en assets/img/
 *
 * @package nuestro-tiempo
 */

.historia-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    background-size: cover;
    background-position: center top;
    background-color: var(--c-negro);
    /* fallback sin imagen */
    color: var(--c-crema);
    overflow: hidden;
}

.historia-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(26, 26, 26, 0.50) 0%,
            rgba(26, 26, 26, 0.95) 100%);
    z-index: 0;
}

.historia-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-max);
    padding-inline: var(--container-pad);
    margin-inline: auto;
}

.historia-hero__label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--f-sans);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-mega);
    text-transform: uppercase;
    color: var(--c-cobre);
    margin-bottom: 1.5rem;
}

.historia-hero__label .nt-label__line {
    display: block;
    width: 3rem;
    height: 1px;
    background: var(--c-cobre);
    flex-shrink: 0;
}

.historia-hero__title {
    font-family: var(--f-serif);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--c-crema);
}

.historia-hero__slogan {
    font-family: var(--f-sans);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-mega);
    text-transform: uppercase;
    color: var(--c-cobre);
    margin-bottom: 1.25rem;
}

.historia-hero__desc {
    font-family: var(--f-serif);
    font-size: var(--text-lg);
    line-height: 1.7;
    color: rgba(249, 247, 242, 0.85);
    max-width: 540px;
}