/* =========================================================
   35 HISTORIAS — COLFUTURO
   MEDIAQUERIES.CSS
   RESPONSIVE
========================================================= */


/* =========================================================
   TABLET
   768 PX O MENOS
========================================================= */

@media (max-width: 768px) {


    /* =====================================================
       HEADER
    ===================================================== */

    .site-header {
        height: 68px !important;
        min-height: 68px !important;
        padding: 0 !important;
    }

    .header-inner {
        width: 100%;
        height: 68px !important;
        min-height: 68px !important;
        padding: 0 24px !important;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .logo img {
        display: block;
        width: 165px !important;
        max-width: 165px !important;
        height: auto !important;
        max-height: 48px;
        object-fit: contain;
    }


    /* =====================================================
       NAVEGACIÓN MÓVIL
    ===================================================== */

    .main-nav {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        margin: 0 !important;
        padding: 15px 25px 25px;
        box-sizing: border-box;
        background: #000000;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0 !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;
        z-index: 999;
    }


    /* =====================================================
       MENÚ ABIERTO
    ===================================================== */

    .site-header.menu-open .main-nav,
    .main-nav.is-open,
    .header-inner:has(
        .menu-toggle[aria-expanded="true"]
    ) .main-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        width: 100%;
        height: auto !important;
        padding: 14px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 13px;
        text-align: center;
    }

    .main-nav a::after {
        bottom: 5px !important;
    }


    /* =====================================================
       BOTÓN HAMBURGUESA
    ===================================================== */

    .site-header .menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1005;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px;
        min-height: 42px;
        margin: 0 0 0 auto !important;
        padding: 8px !important;
        border: 0 !important;
        outline: none;
        background: transparent !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }

    .site-header .menu-toggle span {
        display: block !important;
        width: 25px !important;
        height: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        border-radius: 0;
        opacity: 1 !important;
        visibility: visible !important;
        transition:
            transform .25s ease,
            opacity .25s ease;
    }


    /* =====================================================
       HAMBURGUESA → X
    ===================================================== */

    .menu-toggle[aria-expanded="true"]
    span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"]
    span:nth-child(2) {
        opacity: 0 !important;
    }

    .menu-toggle[aria-expanded="true"]
    span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /* =====================================================
       HEADER COMPACTO
    ===================================================== */

    .site-header.header-compact {
        height: 58px !important;
        min-height: 58px !important;
    }

    .site-header.header-compact .header-inner {
        height: 58px !important;
        min-height: 58px !important;
    }

    .site-header.header-compact .logo img {
        width: 145px !important;
        max-width: 145px !important;
    }

    .site-header.header-compact .main-nav {
        top: 58px;
    }


    /* =====================================================
       MAIN
    ===================================================== */

    main {
        padding-top: 68px !important;
    }


    /* =====================================================
       CONVOCATORIA 2027
       TABLET
    ===================================================== */

    .convocatoria {
        width: 100%;
        padding-top: 68px !important;
        box-sizing: border-box;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .convocatoria-hero {
        width: 100%;
        min-height: 500px;
        box-sizing: border-box;
    }

    .convocatoria-hero-contenido {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
        padding: 75px 35px 70px;
        box-sizing: border-box;
        text-align: center;
    }

    .convocatoria-hero .convocatoria-antetitulo {
        font-size: 11px !important;
        letter-spacing: 1.8px !important;
        margin-bottom: 18px !important;
    }

    .convocatoria-hero h1 {
        font-size: 43px !important;
        line-height: 1.04 !important;
        letter-spacing: -0.5px;
        margin: 0 auto 22px;
    }

    .convocatoria-hero .convocatoria-subtitulo {
        font-size: 17px !important;
        line-height: 1.4 !important;
        margin-bottom: 28px !important;
    }

    .convocatoria-hero a {
        font-size: 13px !important;
    }


    /* =====================================================
       FECHAS
    ===================================================== */

    .convocatoria-fechas {
        width: 100%;
        padding: 55px 30px 60px;
        box-sizing: border-box;
    }

    .convocatoria-fechas h2 {
        font-size: 28px !important;
        line-height: 1.1 !important;
        margin-bottom: 35px !important;
        text-align: center;
    }

    .convocatoria-fechas-grid {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
    }

    .convocatoria-fecha {
        text-align: center;
        min-width: 0;
    }

    .convocatoria-fecha-numero {
        font-size: 48px !important;
        line-height: 1 !important;
    }

    .convocatoria-fecha-texto {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }


    /* =====================================================
       PROGRAMA CRÉDITO BECA
    ===================================================== */

    .convocatoria-credito {
        width: 100%;
        padding: 60px 30px 65px;
        box-sizing: border-box;
    }

    .convocatoria-credito-inner {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
        text-align: center;
    }

    .convocatoria-credito .convocatoria-antetitulo {
        font-size: 11px !important;
        letter-spacing: 1.7px !important;
    }

    .convocatoria-credito h2 {
        font-size: 38px !important;
        line-height: 1.05 !important;
        margin-bottom: 20px !important;
    }

    .convocatoria-credito > p {
        max-width: 560px;
        margin: 0 auto 38px;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .convocatoria-credito-datos {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1px;
        box-sizing: border-box;
    }

    .convocatoria-credito-dato {
        min-height: 145px;
        padding: 28px 15px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .convocatoria-credito-dato-numero {
        font-size: 35px !important;
        line-height: 1 !important;
    }

    .convocatoria-credito-dato-texto {
        max-width: 180px;
        margin-top: 10px;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .convocatoria-texto-grande {
        max-width: 720px;
        margin: 0 auto;
        color: #4d4d4d;
        font-family:
            "Crimson Text",
            Georgia,
            serif;
        font-size: 20px;
        line-height: 1.2;
    }

    .convocatoria-datos {
        width: 100%;
        max-width: 1050px;
        margin: 45px auto 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .convocatoria-dato {
        padding: 15px 23px;
        text-align: center;
        box-sizing: border-box;
    }

    .convocatoria-dato + .convocatoria-dato {
        border-left: none;
    }


    /* =====================================================
       MANIFIESTO
    ===================================================== */

    .convocatoria-manifiesto {
        width: 100%;
        min-height: 430px;
        padding: 50px 30px;
        background: #000000;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .convocatoria-manifiesto-item {
        font-size: 45px !important;
        line-height: 1.05 !important;
    }

    .convocatoria-manifiesto p {
        margin: 0;
        color: #ffffff;
        font-family:
            "Crimson Text",
            Georgia,
            serif;
        font-size: 44px;
        font-weight: 600;
        line-height: 0.95;
    }


    /* =====================================================
       REQUISITOS
    ===================================================== */

    .convocatoria-requisitos {
        width: 100%;
        padding: 60px 30px 65px;
        box-sizing: border-box;
    }

    .convocatoria-requisitos-inner {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    .convocatoria-requisitos h2 {
        font-size: 38px !important;
        line-height: 1.05 !important;
        margin-bottom: 35px !important;
        text-align: center;
    }

    .convocatoria-requisitos-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .convocatoria-requisito {
        min-height: 80px;
        padding: 25px 20px;
        display: grid;
        grid-template-columns: 30px 1fr;
        align-items: center;
        border-bottom: 1px solid #d7d7d7;
        box-sizing: border-box;
    }

    .convocatoria-requisito span {
        color: #e30613;
        font-family:
            "Montserrat",
            Arial,
            sans-serif;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .convocatoria-requisito-numero {
        font-size: 32px !important;
        line-height: 1 !important;
    }

    .convocatoria-requisito-texto {
        margin-top: 12px;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    .convocatoria-requisitos-importante {
        margin-top: 35px;
        padding: 20px 22px;
        box-sizing: border-box;
    }

    .convocatoria-requisitos-importante-titulo {
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
    }

    .convocatoria-requisitos-importante p {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }


    /* =====================================================
       CHARLAS
    ===================================================== */

    .convocatoria-charlas {
        width: 100%;
        padding: 60px 30px 65px;
        box-sizing: border-box;
        text-align: center;
    }

    .convocatoria-charlas-inner {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .convocatoria-charlas h2 {
        font-size: 38px !important;
        line-height: 1.05 !important;
        margin-bottom: 20px !important;
    }

    .convocatoria-charlas p {
        max-width: 540px;
        margin: 0 auto 28px;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .convocatoria-nota {
        max-width: 750px;
        margin: 45px 0 0;
        padding: 15px 17px;
        border-left: 3px solid #e30613;
        background: #f5f5f5;
        box-sizing: border-box;
    }

    .convocatoria-nota strong {
        display: block;
        margin-bottom: 8px;
        color: #e30613;
        font-family:
            "Montserrat",
            Arial,
            sans-serif;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .convocatoria-nota p {
        margin: 0;
        color: #555555;
        font-family:
            "Montserrat",
            Arial,
            sans-serif;
        font-size: 15px;
        line-height: 1.4;
    }


    /* =====================================================
       35 HISTORIAS
    ===================================================== */

    .convocatoria-historias {
        width: 100%;
        padding: 60px 30px 70px;
        box-sizing: border-box;
        text-align: center;
    }

    .convocatoria-historias-inner {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .convocatoria-historias h2 {
        font-size: 38px !important;
        line-height: 1.05 !important;
        margin-bottom: 20px !important;
    }

    .convocatoria-historias p {
        max-width: 530px;
        margin: 0 auto 28px;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }


    /* =====================================================
       CARRUSEL — 35 HISTORIAS
    ===================================================== */

    .historias {
        width: 100%;
        overflow: hidden;
    }

    .historias-stage {
        width: 100%;
        height: 270px !important;
        min-height: 270px !important;
        overflow: hidden;
    }

    .historias-viewport {
        width: 100%;
        height: 270px !important;
        min-height: 270px !important;
        overflow: hidden;
    }

    .historias-grid {
        height: 270px !important;
        min-height: 270px !important;
        display: flex;
    }

    .historia {
        flex: 0 0 16.6666667vw;
        width: 16.6666667vw;
        min-width: 16.6666667vw;
        height: 270px !important;
        overflow: hidden;
    }

    .historia-imagen {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center center;
    }


    /* =====================================================
       BOTONES DEL CARRUSEL
    ===================================================== */

    .galeria-prev,
    .galeria-next {
        width: 42px !important;
        height: 42px !important;
        z-index: 20;
    }

    .galeria-prev span,
    .galeria-next span {
        font-size: 22px;
    }


    /* =====================================================
       INDICADOR DE SCROLL
    ===================================================== */

    .scroll-indicador {
        display: none !important;
    }


    /* =====================================================
       INTRODUCCIÓN
    ===================================================== */

    .intro-franja {
        width: 100%;
        padding: 46px 25px 48px;
        box-sizing: border-box;
    }

    .intro-texto {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        font-size: 17px !important;
        line-height: 1.5 !important;
        text-align: center;
    }


    /* =====================================================
       ARTÍCULO PRINCIPAL
    ===================================================== */

    .articulo-franja {
        width: 100%;
        min-height: 540px;
        display: grid;
        grid-template-columns: 43% 57%;
        align-items: stretch;
    }

    .articulo-contenido {
        width: 100%;
        padding: 30px 14px 35px 24px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .articulo-titulo {
        margin: 0 0 22px;
        font-size: 31px !important;
        line-height: 1.04 !important;
        letter-spacing: -0.2px;
    }

    .articulo-texto {
        margin: 0 0 25px;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .articulo-boton {
        position: static !important;
        width: 100%;
        max-width: 145px;
        min-height: 42px;
        margin-top: auto;
        padding: 8px 10px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        line-height: 1.1;
    }

    .articulo-flecha {
        font-size: 21px;
        line-height: 1;
    }

    .articulo-foto {
        width: 100%;
        height: 100%;
        min-height: 540px;
        overflow: hidden;
    }

    .articulo-imagen {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center center;
    }


    /* =====================================================
       CIFRAS
    ===================================================== */

    .cifras-franja {
        width: 100%;
    }

    .cifras-contenedor {
        width: 100%;
        padding: 40px 25px 55px;
        box-sizing: border-box;
    }

    .cifras-titulo {
        width: 100%;
        max-width: 340px;
        margin: 0 auto 38px;
        font-size: 25px !important;
        line-height: 1.15 !important;
        text-align: center;
    }

    .cifras-grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .cifra {
        width: 100%;
        padding: 28px 15px 34px;
        box-sizing: border-box;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,.35);
    }

    .cifra:first-child {
        border-top: 0;
    }

    .cifra-numero {
        font-size: 52px !important;
        line-height: 1 !important;
        white-space: nowrap;
    }

    .cifra-numero-secundario {
        margin-top: 30px;
    }

    .cifra-nombre {
        margin-top: 8px;
        font-size: 21px !important;
        line-height: 1.2 !important;
    }

    .cifra-descripcion {
        width: 100%;
        max-width: 300px;
        margin: 18px auto 0;
        font-size: 15px !important;
        line-height: 1.45 !important;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .site-footer {
        width: 100%;
    }

    .footer-inner {
        width: 100%;
        padding: 45px 25px 40px;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 28px;
        text-align: center;
    }

    .footer-bottom-inner {
        width: 100%;
        padding:
            14px
            20px
            calc(
                14px +
                env(safe-area-inset-bottom)
            );
        box-sizing: border-box;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }


    /* =====================================================
       HISTORIAS — REPOSITORIO
       TABLET
    ===================================================== */

    .repositorio-intro {
        width: 100%;
        padding: 38px 25px 18px;
        box-sizing: border-box;
        text-align: center;
    }

    .repositorio-titulo {
        font-size: 34px !important;
        line-height: 1.08 !important;
        margin: 0 auto 14px;
    }

    .repositorio-descripcion {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        font-size: 14px !important;
        line-height: 1.5 !important;
        text-align: center;
    }

    .repositorio {
        width: 100%;
        padding: 20px 25px 75px;
        box-sizing: border-box;
    }

    .repositorio-grid {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 30px;
        row-gap: 32px;
        box-sizing: border-box;
    }

    .repositorio-persona {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .repositorio-foto-contenedor {
        width: 190px;
        height: 190px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    .repositorio-foto {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        overflow: hidden;
        transform: scale(1);
        transition: transform .45s ease;
    }

    .repositorio-nombre {
        margin: 4px 0 7px;
        font-size: 18px !important;
        line-height: 1.05 !important;
    }

    .repositorio-tag {
        display: inline-block;
        max-width: 100%;
        padding: 4px 9px;
        font-size: 9px !important;
        line-height: 1.15;
        box-sizing: border-box;
    }

    .repositorio-persona:hover .repositorio-foto {
        transform: scale(1.25);
    }

    .compartir-historia {
        right: 12px;
        top: 70%;
        transform: translateY(-50%);
        z-index: 80;
    }


    /* =====================================================
       COLFUTURO — INTRO
    ===================================================== */

    .colfuturo-intro {
        width: 100%;
        padding: 42px 25px 24px !important;
        box-sizing: border-box;
    }

    .colfuturo-intro-inner {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
    }

    .colfuturo-antetitulo {
        margin-bottom: 10px !important;
        font-size: 11px !important;
        letter-spacing: 1.8px !important;
    }

    .colfuturo-intro h1 {
        font-size: 40px !important;
        line-height: 1.05 !important;
    }


    /* =====================================================
       COLFUTURO — GRÁFICA
    ===================================================== */

    .timeline-chart {
        position: sticky;
        top: 68px;
        width: 100%;
        height: 175px;
        min-height: 175px;
        box-sizing: border-box;
        overflow: hidden;
        z-index: 50;
    }

    .timeline-chart-inner {
        position: relative;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .timeline-chart-titulo {
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 10px !important;
        letter-spacing: 1.4px !important;
        white-space: nowrap;
        z-index: 20;
        pointer-events: none;
    }

    .timeline-chart-scroll {
        width: 100%;
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0;
        scroll-behavior: smooth;
    }

    .timeline-chart-scroll::-webkit-scrollbar {
        display: none;
    }

    .timeline-chart-content {
        position: relative;
        width: 1350px;
        min-width: 1350px;
        height: 100%;
        margin: 0;
        padding: 0 25px;
        box-sizing: border-box;
    }

    .timeline-chart-svg {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: block;
        overflow: visible;
        pointer-events: none;
    }

    .timeline-chart-years {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .chart-year {
        font-size: 10px !important;
    }

    .chart-value {
        font-size: 10px !important;
    }

    .chart-year-label {
        font-size: 10px !important;
    }

    .timeline-chart-arrow {
        position: absolute;
        top: 20%;
        transform: translateY(-50%);
        z-index: 40;
        width: 28px;
        height: 38px;
        padding: 0;
        border: 0;
        background: rgba(255,255,255,.92);
        color: #777777;
        font-family: Arial, sans-serif;
        font-size: 28px;
        font-weight: 400;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: .85;
        transition:
            opacity .2s ease,
            color .2s ease;
    }

    .timeline-chart-arrow:hover {
        opacity: 1;
        color: #e30613;
    }

    .timeline-chart-arrow-prev {
        left: 0;
    }

    .timeline-chart-arrow-next {
        right: 0;
    }

    .timeline-chart-arrow.is-hidden {
        opacity: 0;
        pointer-events: none;
    }


    /* =====================================================
       COLFUTURO — LÍNEA DE TIEMPO
    ===================================================== */

    .timeline {
        width: 100%;
        box-sizing: border-box;
    }

    .timeline-line {
        left: 25px !important;
        transform: translateX(-50%) !important;
        width: 1px !important;
    }


    /* =====================================================
       CADA HITO
    ===================================================== */

    .timeline-item {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 38px 25px 38px 55px !important;
        box-sizing: border-box;
        min-height: 0 !important;
    }


    /* =====================================================
       HITOS SIN FOTOGRAFÍA
    ===================================================== */

    .timeline-item:not(:has(.timeline-photo)) {
        padding: 12px 25px 12px 55px !important;
        min-height: 0 !important;
    }

    .timeline-item:not(:has(.timeline-photo))
    .timeline-card {
        min-height: 0 !important;
        height: auto !important;
    }


    /* =====================================================
       CARD
    ===================================================== */

    .timeline-card {
        width: calc(100% - 10px);
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        min-height: 0 !important;
        height: auto !important;
        box-sizing: border-box;
    }


    /* =====================================================
       MARCADOR
    ===================================================== */

    .timeline-marker {

    top: 0 !important;

    left: 25px !important;

    width: 11px;

    height: 11px;

    transform:
        translate(
            -50%,
            -50%
        ) !important;

    z-index: 30;
}


    /* =====================================================
       FOTOGRAFÍAS CENTRADAS
    ===================================================== */

    .timeline-item-left .timeline-photo,
    .timeline-item-right .timeline-photo {
        order: 1;
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
        align-self: center;
        width: 145px;
        height: 145px;
        margin: 0 auto !important;
        flex: 0 0 145px;
    }

    .timeline-photo img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }


    /* =====================================================
       CONTENIDO
    ===================================================== */

    .timeline-item-left .timeline-content,
    .timeline-item-right .timeline-content {
        order: 2;
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        padding: 0 !important;
        text-align: left !important;
        box-sizing: border-box;
    }


    /* =====================================================
       TIPOGRAFÍA
    ===================================================== */

    .timeline-year {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .timeline-content h2 {
        font-size: 30px !important;
        line-height: 1.05 !important;
    }

    .timeline-number {
        font-size: 42px !important;
        line-height: 1 !important;
        margin-top: 10px !important;
    }

    .timeline-number-label {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .timeline-text {
        max-width: 500px;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .timeline-persona {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }


    /* =====================================================
       CONECTORES HORIZONTALES
    ===================================================== */

    .timeline-item::after,
    .timeline-card::before,
    .timeline-card::after {
        display: none !important;
        content: none !important;
    }

}


/* =========================================================
   MÓVIL
   480 PX O MENOS
========================================================= */

@media (max-width: 480px) {


    /* =====================================================
       HEADER
    ===================================================== */

    .site-header {
        height: 62px !important;
        min-height: 62px !important;
    }

    .header-inner {
        height: 62px !important;
        min-height: 62px !important;
        padding: 0 18px !important;
    }

    .logo img {
        width: 145px !important;
        max-width: 145px !important;
        max-height: 44px;
    }

    .main-nav {
        top: 62px;
    }


    /* =====================================================
       HEADER COMPACTO
    ===================================================== */

    .site-header.header-compact {
        height: 56px !important;
        min-height: 56px !important;
    }

    .site-header.header-compact .header-inner {
        height: 56px !important;
        min-height: 56px !important;
    }

    .site-header.header-compact .logo img {
        width: 135px !important;
        max-width: 135px !important;
    }

    .site-header.header-compact .main-nav {
        top: 56px;
    }


    /* =====================================================
       MAIN
    ===================================================== */

    main {
        padding-top: 62px !important;
    }


    /* =====================================================
       CONVOCATORIA 2027
       MÓVIL
    ===================================================== */

    .convocatoria {
        width: 100%;
        padding-top: 62px !important;
        box-sizing: border-box;
    }

    .convocatoria-boton {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 20px;
        border: 1px solid #e30613;
        background: #e30613;
        color: #ffffff;
        font-family:
            "Montserrat",
            Arial,
            sans-serif;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.7px;
        text-decoration: none;
        text-transform: uppercase;
        box-sizing: border-box;
        transition:
            background 0.3s ease,
            color 0.3s ease,
            transform 0.3s ease,
            border-color 0.3s ease;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .convocatoria-hero {
        min-height: 300px;
    }

    .convocatoria-hero-contenido {
        max-width: 390px;
        padding: 15px 35px 15px;
    }

    .convocatoria-hero .convocatoria-antetitulo {
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 16px !important;
    }

    .convocatoria-hero h1 {
        font-size: 29px !important;
        line-height: 1.06 !important;
        letter-spacing: -0.3px;
        margin-bottom: 20px;
    }

    .convocatoria-hero .convocatoria-subtitulo {
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin-bottom: 25px !important;
    }

    .convocatoria-hero a {
        font-size: 12px !important;
    }


    /* =====================================================
       FECHAS
    ===================================================== */

    .convocatoria-fechas {
        padding: 25px 20px 25px;
    }

    .convocatoria-fechas h2 {
        font-size: 25px !important;
        line-height: 1.1 !important;
        margin-bottom: 30px !important;
    }

    .convocatoria-fechas-grid {
        max-width: 390px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .convocatoria-fecha {
        min-height: 100px;
        padding: 25px;
        display: flex;
        align-items: center;
        gap: 25px;
        box-sizing: border-box;
        border-top: 1px solid rgba(0,0,0,.15);
    }

    .convocatoria-fecha:first-child {
        border-top: 0;
    }

    .convocatoria-fecha-numero {
        font-size: 43px !important;
    }

    .convocatoria-fecha-texto {
        font-size: 12px !important;
    }

    .convocatoria-fecha + .convocatoria-fecha {
        border-left: none;
    }


    /* =====================================================
       PROGRAMA CRÉDITO BECA
    ===================================================== */

    .convocatoria-credito {
        padding: 48px 20px 52px;
    }

    .convocatoria-credito-inner {
        max-width: 390px;
    }

    .convocatoria-credito .convocatoria-antetitulo {
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
    }

    .convocatoria-credito h2 {
        font-size: 31px !important;
        line-height: 1.05 !important;
        margin-bottom: 18px !important;
    }

    .convocatoria-credito > p {
        margin-bottom: 30px;
        font-size: 14px !important;
        line-height: 1.48 !important;
    }

    .convocatoria-credito-datos {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1px;
        box-sizing: border-box;
    }

    .convocatoria-credito-dato {
        min-height: 125px;
        padding: 22px 8px;
    }

    .convocatoria-credito-dato-numero {
        font-size: 28px !important;
    }

    .convocatoria-credito-dato-texto {
        max-width: 145px;
        margin-top: 8px;
        font-size: 9px !important;
        line-height: 1.3 !important;
    }


    /* =====================================================
       MANIFIESTO
    ===================================================== */

    .convocatoria-manifiesto {
        padding: 50px 20px;
    }

    .convocatoria-manifiesto-item {
        font-size: 34px !important;
        line-height: 1.08 !important;
    }


    /* =====================================================
       REQUISITOS
    ===================================================== */

    .convocatoria-requisitos {
        padding: 48px 20px 52px;
    }

    .convocatoria-requisitos-inner {
        max-width: 390px;
    }

    .convocatoria-requisitos h2 {
        font-size: 31px !important;
        line-height: 1.05 !important;
        margin-bottom: 28px !important;
    }

    .convocatoria-requisitos-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .convocatoria-requisito {
        padding: 20px 5px;
        border-top: 1px solid rgba(0,0,0,.15);
        border-bottom: none;
    }

    .convocatoria-requisito:first-child {
        border-top: 0;
    }

    .convocatoria-requisito-numero {
        font-size: 28px !important;
    }

    .convocatoria-requisito-texto {
        margin-top: 9px;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .convocatoria-requisitos-importante {
        margin-top: 25px;
        padding: 18px;
    }

    .convocatoria-requisitos-importante-titulo {
        font-size: 10px !important;
        letter-spacing: 1.3px !important;
    }

    .convocatoria-requisitos-importante p {
        font-size: 12px !important;
        line-height: 1.45 !important;
    }


    /* =====================================================
       CHARLAS
    ===================================================== */

    .convocatoria-charlas {
        padding: 48px 20px 52px;
    }

    .convocatoria-charlas-inner {
        max-width: 390px;
    }

    .convocatoria-charlas h2 {
        font-size: 31px !important;
        line-height: 1.05 !important;
        margin-bottom: 18px !important;
    }

    .convocatoria-charlas p {
        margin-bottom: 25px;
        font-size: 13px !important;
        line-height: 1.48 !important;
    }


    /* =====================================================
       35 HISTORIAS
    ===================================================== */

    .convocatoria-historias {
        padding: 48px 20px 58px;
    }

    .convocatoria-historias-inner {
        max-width: 390px;
    }

    .convocatoria-historias h2 {
        font-size: 26px !important;
        line-height: 1.05 !important;
        margin-bottom: 18px !important;
    }

    .convocatoria-historias p {
        margin-bottom: 25px;
        font-size: 13px !important;
        line-height: 1.48 !important;
    }


    /* =====================================================
       CARRUSEL
    ===================================================== */

    .historias-stage {
        height: 270px !important;
        min-height: 270px !important;
    }

    .historias-viewport {
        height: 270px !important;
        min-height: 270px !important;
    }

    .historias-grid {
        height: 270px !important;
        min-height: 270px !important;
    }

    .historia {
        flex: 0 0 20vw;
        width: 20vw;
        min-width: 20vw;
        height: 270px !important;
    }


    /* =====================================================
       FLECHAS
    ===================================================== */

    .galeria-prev,
    .galeria-next {
        width: 38px !important;
        height: 38px !important;
    }

    .galeria-prev span,
    .galeria-next span {
        font-size: 20px;
    }


    /* =====================================================
       TEXTO SOBRE LAS HISTORIAS
    ===================================================== */

    .historia-numero {
        font-size: 12px !important;
    }

    .historia-nombre {
        font-size: 14px !important;
        line-height: 1.05 !important;
    }

    .historia-tag {
        font-size: 7px !important;
    }

    .historia-link {
        font-size: 10px !important;
        font-weight: 600 !important;
    }


    /* =====================================================
       INTRO
    ===================================================== */

    .intro-franja {
        padding: 42px 20px 44px;
    }

    .intro-texto {
        max-width: 335px;
        font-size: 16px !important;
        line-height: 1.48 !important;
    }


    /* =====================================================
       ARTÍCULO
    ===================================================== */

    .articulo-franja {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .articulo-contenido {
        order: 1;
        padding: 32px 25px 34px 20px;
    }

    .articulo-titulo {
        margin-bottom: 20px;
        font-size: 27px !important;
        line-height: 1.06 !important;
        letter-spacing: -0.3px;
    }

    .articulo-texto {
        margin-bottom: 20px;
        font-size: 13px !important;
        line-height: 1.48 !important;
    }

    .articulo-boton {
        max-width: 170px;
        min-height: 40px;
        padding: 7px 9px;
        font-size: 13px;
    }

    .articulo-flecha {
        font-size: 19px;
    }

    .articulo-foto {
        order: 2;
        width: 100%;
        height: 300px;
        min-height: 300px;
    }

    .articulo-imagen {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }


    /* =====================================================
       CIFRAS
    ===================================================== */

    .cifras-contenedor {
        padding: 36px 20px 45px;
        border-left: none !important;
        border-right: none !important;
    }

    .cifras-titulo {
        max-width: 320px;
        margin-bottom: 28px;
        font-size: 23px !important;
    }

    .cifra {
        padding: 25px 10px 30px;
        border-left: none !important;
        border-right: none !important;
    }

    .cifra-numero {
        font-size: 48px !important;
    }

    .cifra-numero-secundario {
        margin-top: 26px;
    }

    .cifra-nombre {
        font-size: 19px !important;
    }

    .cifra-descripcion {
        max-width: 285px;
        font-size: 14px !important;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-inner {
        padding: 40px 20px 35px;
    }


    /* =====================================================
       HISTORIAS — REPOSITORIO
       MÓVIL — 2 COLUMNAS
    ===================================================== */

    .repositorio-intro {
        padding: 34px 20px 14px;
    }

    .repositorio-titulo {
        font-size: 28px !important;
        line-height: 1.08 !important;
        margin-bottom: 12px;
    }

    .repositorio-descripcion {
        max-width: 335px;
        font-size: 13px !important;
        line-height: 1.48 !important;
    }

    .repositorio {
        padding: 18px 20px 65px;
    }

    .repositorio-grid {
        width: 100%;
        max-width: 440px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 5px;
        row-gap: 20px;
    }

    .repositorio-persona {
        width: 100%;
        min-width: 0;
    }

    .repositorio-foto-contenedor {
        width: 170px;
        height: 170px;
        margin: 0 auto;
    }

    .repositorio-foto {
        width: 140px;
        height: 140px;
    }

    .repositorio-nombre {
        font-size: 17px !important;
        line-height: 1.05 !important;
        margin: 3px 0 6px;
    }

    .repositorio-tag {
        padding: 4px 7px;
        font-size: 8px !important;
        line-height: 1.1;
    }

    .repositorio-persona:hover .repositorio-foto {
        transform: scale(1.12);
    }

    .compartir-historia {
        right: 5px;
    }


    /* =====================================================
       COLFUTURO — INTRO
    ===================================================== */

    .colfuturo-intro {
        padding: 20px 20px 8px !important;
    }

    .colfuturo-antetitulo {
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
    }

    .colfuturo-intro h1 {
        font-size: 29px !important;
        line-height: 1.05 !important;
    }


    /* =====================================================
       COLFUTURO — GRÁFICA
    ===================================================== */

    .timeline-chart {
        top: 62px;
        height: 165px;
        min-height: 165px;
    }

    .timeline-chart-titulo {
        top: 7px;
        font-size: 9px !important;
        letter-spacing: 1.15px !important;
    }

    .timeline-chart-content {
        width: 1350px;
        min-width: 1350px;
        padding: 0 20px;
    }

    .chart-year,
    .chart-value,
    .chart-year-label {
        font-size: 9px !important;
    }


    /* =====================================================
       FLECHAS
    ===================================================== */

    .timeline-chart-arrow {
        width: 26px;
        height: 36px;
        font-size: 27px;
    }

    .timeline-chart-arrow-prev {
        left: 0;
    }

    .timeline-chart-arrow-next {
        right: 0;
    }


    /* =====================================================
       COLFUTURO — LÍNEA
    ===================================================== */

    .timeline-line {
        left: 20px !important;
    }


    /* =====================================================
       COLFUTURO — HITOS
    ===================================================== */

    .timeline-item {
        padding: 32px 18px 5px 48px !important;
    }


    /* =====================================================
       SIN FOTO — MUCHO MÁS COMPACTOS
    ===================================================== */

    .timeline-item:not(:has(.timeline-photo)) {
        padding: 10px 15px 10px 35px !important;
    }


    /* =====================================================
       CARD
    ===================================================== */

    .timeline-card {
        width: calc(100% - 10px);
        gap: 22px;
    }


    /* =====================================================
       MARCADOR
    ===================================================== */

    .timeline-marker {
        left: 20px !important;
        width: 10px;
        height: 10px;
    }


    /* =====================================================
       FOTOGRAFÍA
    ===================================================== */

    .timeline-item-left .timeline-photo,
    .timeline-item-right .timeline-photo {
        width: 185px;
        height: 185px;
        flex-basis: 185px;
    }


    /* =====================================================
       TIPOGRAFÍA
    ===================================================== */

    .timeline-year {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }

    .timeline-content h2 {
        font-size: 26px !important;
    }

    .timeline-number {
        font-size: 38px !important;
        margin-top: 8px !important;
    }

    .timeline-number-label {
        font-size: 10px !important;
    }

    .timeline-text {
        font-size: 13px !important;
        line-height: 1.48 !important;
    }

    .timeline-persona {
        font-size: 13px !important;
    }

}


/* =========================================================
   MÓVIL MUY PEQUEÑO
   380 PX O MENOS
========================================================= */

@media (max-width: 380px) {


    /* =====================================================
       HEADER
    ===================================================== */

    .logo img {
        width: 132px !important;
        max-width: 132px !important;
    }


    /* =====================================================
       CONVOCATORIA 2027
       MÓVIL MUY PEQUEÑO
    ===================================================== */

    .convocatoria {
        padding-top: 56px !important;
    }

    .convocatoria-hero {
        min-height: 500px;
    }

    .convocatoria-hero-contenido {
        padding: 50px 17px 48px;
    }

    .convocatoria-hero .convocatoria-antetitulo {
        font-size: 9px !important;
        letter-spacing: 1.3px !important;
    }

    .convocatoria-hero h1 {
        font-size: 27px !important;
        line-height: 1.07 !important;
    }

    .convocatoria-hero .convocatoria-subtitulo {
        font-size: 14px !important;
    }


    /* =====================================================
       FECHAS
    ===================================================== */

    .convocatoria-fechas {
        padding: 40px 15px 45px;
    }

    .convocatoria-fechas h2 {
        font-size: 23px !important;
    }

    .convocatoria-fecha {
        padding: 16px 5px;
    }

    .convocatoria-fecha-numero {
        font-size: 39px !important;
    }


    /* =====================================================
       CRÉDITO BECA
    ===================================================== */

    .convocatoria-credito {
        padding: 42px 15px 45px;
    }

    .convocatoria-credito h2 {
        font-size: 28px !important;
    }

    .convocatoria-credito > p {
        font-size: 13px !important;
    }

    .convocatoria-credito-datos {
        grid-template-columns: 1fr;
    }

    .convocatoria-credito-dato {
        min-height: 115px;
        padding: 18px 5px;
    }

    .convocatoria-credito-dato-numero {
        font-size: 25px !important;
    }

    .convocatoria-credito-dato-texto {
        font-size: 8px !important;
    }


    /* =====================================================
       MANIFIESTO
    ===================================================== */

    .convocatoria-manifiesto {
        padding: 42px 15px;
    }

    .convocatoria-manifiesto-item {
        font-size: 29px !important;
    }


    /* =====================================================
       REQUISITOS
    ===================================================== */

    .convocatoria-requisitos {
        padding: 42px 15px 45px;
    }

    .convocatoria-requisitos h2 {
        font-size: 28px !important;
    }

    .convocatoria-requisito {
        padding: 18px 0;
    }

    .convocatoria-requisito-numero {
        font-size: 25px !important;
    }

    .convocatoria-requisito-texto {
        font-size: 12px !important;
    }


    /* =====================================================
       CHARLAS
    ===================================================== */

    .convocatoria-charlas {
        padding: 42px 15px 45px;
    }

    .convocatoria-charlas h2 {
        font-size: 28px !important;
    }

    .convocatoria-charlas p {
        font-size: 12px !important;
    }


    /* =====================================================
       35 HISTORIAS
    ===================================================== */

    .convocatoria-historias {
        padding: 42px 15px 50px;
    }

    .convocatoria-historias h2 {
        font-size: 28px !important;
    }

    .convocatoria-historias p {
        font-size: 12px !important;
    }


    /* =====================================================
       CARRUSEL
    ===================================================== */

    .historias-stage,
    .historias-viewport,
    .historias-grid {
        height: 315px !important;
        min-height: 315px !important;
    }

    .historia {
        height: 315px !important;
    }


    /* =====================================================
       ARTÍCULO
    ===================================================== */

    .articulo-franja {
        min-height: 500px;
    }

    .articulo-foto {
        min-height: 500px;
    }

    .articulo-titulo {
        font-size: 27px !important;
    }

    .articulo-texto {
        font-size: 12.5px !important;
    }


    /* =====================================================
       CIFRAS
    ===================================================== */

    .cifra-numero {
        font-size: 44px !important;
    }

    .cifra-nombre {
        font-size: 18px !important;
    }


    /* =====================================================
       HISTORIAS — REPOSITORIO
       MÓVIL MUY PEQUEÑO
    ===================================================== */

    .repositorio-intro {
        padding: 30px 15px 12px;
    }

    .repositorio-titulo {
        font-size: 25px !important;
    }

    .repositorio-descripcion {
        max-width: 300px;
        font-size: 12.5px !important;
    }

    .repositorio {
        padding: 15px 15px 55px;
    }

    .repositorio-grid {
        max-width: 360px;
        column-gap: 12px;
        row-gap: 24px;
    }

    .repositorio-foto-contenedor {
        width: 160px;
        height: 160px;
    }

    .repositorio-foto {
        width: 125px;
        height: 125px;
    }

    .repositorio-nombre {
        font-size: 16px !important;
    }

    .repositorio-tag {
        padding: 3px 6px;
        font-size: 7px !important;
    }

    .repositorio-persona:hover .repositorio-foto {
        transform: scale(1.08);
    }


    /* =====================================================
       COLFUTURO — GRÁFICA
    ===================================================== */

    .timeline-chart {
        height: 160px;
        min-height: 160px;
    }

    .timeline-chart-titulo {
        font-size: 8px !important;
        letter-spacing: 1px !important;
    }

    .timeline-chart-content {
        width: 1350px;
        min-width: 1350px;
    }


    /* =====================================================
       FLECHAS
    ===================================================== */

    .timeline-chart-arrow {
        width: 24px;
        height: 34px;
        font-size: 25px;
    }


    /* =====================================================
       COLFUTURO — HITOS
    ===================================================== */

    .timeline-item {
        padding: 28px 15px 28px 44px !important;
    }


    /* =====================================================
       SIN FOTO — ULTRA COMPACTOS
    ===================================================== */

    .timeline-item:not(:has(.timeline-photo)) {
        padding: 8px 15px 8px 44px !important;
    }

    .timeline-line {
        left: 18px !important;
    }

    .timeline-marker {
        left: 18px !important;
        width: 9px;
        height: 9px;
    }

    .timeline-card {
        width: calc(100% - 10px);
    }

    .timeline-item-left .timeline-photo,
    .timeline-item-right .timeline-photo {
        width: 135px;
        height: 135px;
        flex-basis: 135px;
    }

    .timeline-content h2 {
        font-size: 24px !important;
    }

    .timeline-number {
        font-size: 35px !important;
    }

    .timeline-text {
        font-size: 12.5px !important;
    }

}


/* =========================================================
   DISPOSITIVOS TÁCTILES
   Evitar efectos hover pensados para mouse
========================================================= */

@media (hover: none) {

    .historia:hover .historia-imagen {
        transform: none !important;
    }

    .articulo-boton:hover {
        transform: none !important;
    }

    .timeline-photo:hover img {
        transform: none !important;
    }

}


/* =========================================================
   HISTORIAS — INTERACCIÓN TÁCTIL
========================================================= */

@media (hover: none) and (pointer: coarse) {


    /* =====================================================
       HISTORIA ACTIVA
    ===================================================== */

    .historia.touch-active {
        width: 42vw !important;
        min-width: 42vw !important;
        z-index: 20;
    }


    /* =====================================================
       HISTORIAS NO ACTIVAS
    ===================================================== */

    .historias-grid:has(
        .historia.touch-active
    ) .historia:not(
        .touch-active
    ) {
        width: 14.5vw !important;
        min-width: 14.5vw !important;
    }


    /* =====================================================
       TRANSICIÓN DE ANCHO
    ===================================================== */

    .historias-grid .historia {
        transition:
            width .45s cubic-bezier(.22,1,.36,1),
            min-width .45s cubic-bezier(.22,1,.36,1);
    }


    /* =====================================================
       FOTO ACTIVA
    ===================================================== */

    .historia.touch-active
    .historia-imagen {
        filter: none;
        transform: scale(1.03);
    }


    /* =====================================================
       OVERLAY
    ===================================================== */

    .historia.touch-active
    .historia-overlay {
        opacity: 0;
    }


    /* =====================================================
       CONTENIDO ACTIVO
       BAJAMOS EL BLOQUE PARA NO TAPAR EL ROSTRO
    ===================================================== */

    .historia.touch-active
    .historia-contenido {
        opacity: 1;
        transform: translateY(35px) !important;
    }

    .historia.touch-active
    .historia-info {
        opacity: 1;
        transform: translateY(0);
    }


    /* =====================================================
       NOMBRE DE LA PERSONA
    ===================================================== */

    .historia.touch-active
    .historia-nombre {
        font-size: 22px !important;
    }

}


/* =========================================================
   GRÁFICA COLFUTURO — AJUSTE AÑOS EN MÓVIL
========================================================= */

@media (max-width: 768px) {

    .timeline-chart .chart-year-label {
        transform:
            translate(
                -50%,
                -14px
            ) !important;
    }

}


@media (max-width: 480px) {

    .timeline-chart .chart-year-label {
        transform:
            translate(
                -50%,
                -18px
            ) !important;
    }

}


/* =========================================================
   RELATO + HISTORIAS INDIVIDUALES
   RESPONSIVE
========================================================= */


/* =========================================================
   GALERÍA INTERNA + MODAL
========================================================= */


/* =========================================================
   TABLET
   768 PX O MENOS
========================================================= */

@media (max-width: 768px) {


    /* =====================================================
       GALERÍA
    ===================================================== */

    .interna-galeria {
        width: 100%;
        height: 180px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0;
        overflow: hidden;
    }

    .interna-foto {
        width: 100%;
        height: 180px;
        min-width: 0;
        overflow: hidden;
    }

    .interna-foto img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center center;
    }

    .interna-foto:hover img {
        transform: scale(1.04);
    }


    /* =====================================================
       MODAL
    ===================================================== */

    .foto-modal {
        padding: 35px;
        box-sizing: border-box;
    }

    .foto-modal-contenedor {
        max-width: 92vw;
        max-height: 86vh;
        width: auto;
        height: auto;
    }

    .foto-modal-imagen {
        max-width: 92vw;
        max-height: 86vh;
        width: auto;
        height: auto;
    }

    .foto-modal-cerrar {
        top: 16px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 34px;
    }

    .foto-modal-flecha {
        width: 52px;
        height: 52px;
        font-size: 48px;
    }

    .foto-modal-anterior {
        left: 15px;
    }

    .foto-modal-siguiente {
        right: 15px;
    }


    /* =====================================================
       RELATO — INTRO
    ===================================================== */

    .historia-intro {
        width: 100%;
        padding: 55px 35px 35px;
        box-sizing: border-box;
        text-align: center;
    }

    .historia-titulo {
        width: 100%;
        max-width: 760px;
        margin: 0 auto 28px;
        font-family: "Crimson Text", Georgia, serif;
        font-size: 43px !important;
        font-weight: 600;
        line-height: 1.05 !important;
        letter-spacing: -0.4px;
        text-align: center;
    }

    .historia-destacado {
        width: 100%;
        max-width: 650px;
        margin: 0 auto 28px;
        font-family: "Crimson Text", Georgia, serif;
        font-size: 21px !important;
        font-weight: 400;
        line-height: 1.35 !important;
        color: #4d4d4d;
        text-align: center;
    }

    .historia-linea {
        width: 55px;
        height: 1px;
        margin: 28px auto;
    }

    .historia-autor {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 11px !important;
        line-height: 1.5 !important;
        letter-spacing: 0.3px;
        text-align: center;
    }


    /* =====================================================
       ARTÍCULO EDITORIAL
    ===================================================== */

    .historia-articulo {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        padding: 40px 35px 80px;
        box-sizing: border-box;
    }

    .historia-articulo .articulo-parrafo {
        width: 100%;
        max-width: 680px;
        margin: 0 auto 25px;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 15px !important;
        font-weight: 400;
        line-height: 1.72 !important;
        color: #333333;
        text-align: left;
    }

    .historia-articulo .articulo-parrafo-inicial {
        margin-bottom: 30px;
    }

    .historia-articulo .articulo-subtitulo {
        width: 100%;
        max-width: 680px;
        margin: 55px auto 25px;
        font-family: "Crimson Text", Georgia, serif;
        font-size: 36px !important;
        font-weight: 600;
        line-height: 1.08 !important;
        letter-spacing: -0.2px;
        color: #111111;
        text-align: left;
    }

    .historia-articulo .articulo-destacado {
        width: 100%;
        max-width: 650px;
        margin: 45px auto;
        padding: 5px 0 5px 25px;
        box-sizing: border-box;
        border-left: 3px solid #e30613;
        font-family: "Crimson Text", Georgia, serif;
        font-size: 23px !important;
        font-weight: 400;
        line-height: 1.35 !important;
        color: #4d4d4d;
        text-align: left;
    }

    .historia-articulo .articulo-parrafo-fuentes {
        width: 100%;
        max-width: 680px;
        margin: 45px auto 0;
        padding-top: 25px;
        border-top: 1px solid #d5d5d5;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 11px !important;
        line-height: 1.65 !important;
        color: #666666;
    }

    .historia-articulo a {
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
    }


    /* =====================================================
       HISTORIAS INDIVIDUALES
       IDENTIFICACIÓN
    ===================================================== */

    .historia-intro:has(.historia-antetitulo) {
        padding: 40px 30px 30px;
    }

    .historia-intro:has(.historia-antetitulo) .historia-titulo {
        max-width: 700px;
        margin: 0 auto;
        font-size: 43px !important;
        line-height: 1.05 !important;
    }

    .historia-antetitulo {
        width: 100%;
        max-width: 600px;
        margin: 20px auto 14px;
        color: #e30613;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 13px !important;
        font-weight: 500;
        line-height: 1.4 !important;
        text-align: center;
    }


    /* =====================================================
       NAVEGACIÓN ENTRE HISTORIAS
    ===================================================== */

    .historias-navegacion1,
    .historias-navegacion {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 22px;
        margin: 18px auto 0;
        box-sizing: border-box;
    }

    .historia-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        color: #111111;
        text-decoration: none;
        font-family: Arial, sans-serif;
    }

    .historia-nav-flecha {
        display: block;
        font-size: 24px;
        line-height: 1;
        font-weight: 400;
    }

    .historias-navegacion-texto {
        color: #777777;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.4px;
        text-align: center;
    }


    /* =====================================================
       TAG / REGIÓN
    ===================================================== */

    .historia-tag {
        display: inline-block;
        margin-top: 8px;
        padding: 4px 10px;
        border-radius: 20px;
        background: #f6a623;
        color: #ffffff;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 10px !important;
        font-weight: 500;
        line-height: 1.3 !important;
    }


    /* =====================================================
       DATOS
    ===================================================== */

    .historia-datos {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 14px;
        color: #777777;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 13px !important;
        font-weight: 400;
        line-height: 1.4 !important;
        text-align: center;
    }

    .historia-datos span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0 12px;
        line-height: 1.4 !important;
        box-sizing: border-box;
    }

    .historia-datos span + span {
        border-left: 1px solid #ff6b6b;
    }

    .historia-dato-icono {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        display: block;
    }


    /* =====================================================
       ADN DEL TALENTO
    ===================================================== */

    .adn-talento {
        width: 100%;
        box-sizing: border-box;
    }

    .adn-talento-encabezado {
        width: 100%;
        margin: 0 0 5px;
        padding: 55px 30px 30px;
        box-sizing: border-box;
        text-align: center;
    }

    .adn-talento-antetitulo {
        margin: 0 0 8px;
        color: #e30613;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1.8px;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .adn-talento-titulo {
        margin: 0;
        color: #111111;
        font-family: "Crimson Text", Georgia, serif;
        font-size: 40px;
        font-weight: 600;
        line-height: 1.05;
    }

    .adn-talento-contenido {
        width: 100%;
        max-width: 1050px;
        margin: 0 auto;
        padding: 10px 30px 65px;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }

    .adn-talento-item {
        min-height: 190px;
        padding: 35px 30px;
        box-sizing: border-box;
        background: #ffffff;
        text-align: left;
    }

    .adn-talento-item h3 {
        margin: 0 0 12px;
        color: #e30613;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .adn-talento-item p {
        margin: 0;
        color: #444444;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.55;
    }


    /* =====================================================
       NAVEGACIÓN FINAL
    ===================================================== */

    main > .historias-navegacion {
        margin: 0 auto;
        padding: 35px 25px 55px;
        box-sizing: border-box;
    }

}


/* =========================================================
   MÓVIL
   480 PX O MENOS
========================================================= */

@media (max-width: 480px) {


    /* =====================================================
       GALERÍA
    ===================================================== */

    .interna-galeria {
        height: 100px;
        grid-template-columns: repeat(5, 1fr);
    }

    .interna-foto {
        height: 100px;
    }

    .interna-foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .interna-foto:hover img {
        transform: scale(1);
    }


    /* =====================================================
       MODAL
    ===================================================== */

    .foto-modal {
        padding: 15px;
    }

    .foto-modal-contenedor {
        max-width: 96vw;
        max-height: 82vh;
    }

    .foto-modal-imagen {
        max-width: 96vw;
        max-height: 82vh;
        width: auto;
        height: auto;
        box-shadow: 0 12px 40px rgba(0,0,0,.55);
    }

    .foto-modal-cerrar {
        top: 8px;
        right: 8px;
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .foto-modal-flecha {
        width: 42px;
        height: 52px;
        font-size: 42px;
        background: rgba(0,0,0,.35);
    }

    .foto-modal-anterior {
        left: 4px;
    }

    .foto-modal-siguiente {
        right: 4px;
    }

    .foto-modal-flecha:hover {
        background: rgba(0,0,0,.35);
    }


    /* =====================================================
       RELATO
    ===================================================== */

    .historia-intro {
        padding: 20px 20px 28px;
    }

    .historia-titulo {
        max-width: 380px;
        margin: 0 auto 22px;
        font-size: 28px !important;
        line-height: 1 !important;
        letter-spacing: -0.3px;
    }

    .historia-destacado {
        max-width: 350px;
        margin: 0 auto 24px;
        font-size: 17px !important;
        line-height: 1.2 !important;
    }

    .historia-linea {
        width: 45px;
        margin: 24px auto;
    }

    .historia-autor {
        max-width: 350px;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }


    /* =====================================================
       ARTÍCULO
    ===================================================== */

    .historia-articulo {
        max-width: 100%;
        margin: 0;
        padding: 5px 45px 10px 25px;
    }

    .historia-articulo .articulo-parrafo {
        max-width: 100%;
        margin: 0 0 21px;
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .historia-articulo .articulo-parrafo-inicial {
        margin-bottom: 25px;
    }

    .historia-articulo .articulo-subtitulo {
        max-width: 100%;
        margin: 45px 0 21px;
        font-size: 26px !important;
        line-height: 1.08 !important;
    }

    .historia-articulo .articulo-destacado {
        max-width: 100%;
        margin: 32px 0;
        padding: 2px 0 2px 18px;
        border-left: 2px solid #e30613;
        font-size: 20px !important;
        line-height: 1.15 !important;
    }

    .historia-articulo .articulo-parrafo-fuentes {
        margin: 35px 0 0;
        padding-top: 2px;
        font-size: 10px !important;
        line-height: 1.6 !important;
    }


    /* =====================================================
       HISTORIA INDIVIDUAL
    ===================================================== */

    .historia-intro:has(.historia-antetitulo) {
        padding: 25px 20px 28px;
    }

    .historia-intro:has(.historia-antetitulo) .historia-titulo {
        max-width: 380px;
        margin: 0px 0px 15px 0px;
        font-size: 25px !important;
        line-height: 1.0 !important;
    }

    .historia-antetitulo {
        max-width: 350px;
        margin: 15px auto 12px;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }


    /* =====================================================
       NAVEGACIÓN
    ===================================================== */

    .historias-navegacion1,
    .historias-navegacion {
        gap: 16px;
        margin-top: 15px;
    }

    .historia-nav {
        width: 26px;
        height: 26px;
    }

    .historia-nav-flecha {
        font-size: 21px;
    }

    .historias-navegacion-texto {
        font-size: 13px;
    }


    /* =====================================================
       TAG
    ===================================================== */

    .historia-tag {
        margin-top: 8px;
        padding: 3px 9px;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }


    /* =====================================================
       DATOS
    ===================================================== */

    .historia-datos {
        width: 100%;
        margin-top: 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    .historia-datos span {
        width: auto;
        max-width: 100%;
        padding: 0;
        gap: 7px;
        line-height: 1.35 !important;
        justify-content: center;
        text-align: center;
    }

    .historia-datos span + span {
        border-left: none;
    }

    .historia-dato-icono {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }

    .historia-comillas {
        margin-top: 15px;
    }


    /* =====================================================
       ADN DEL TALENTO
    ===================================================== */

    .adn-talento-encabezado {
        padding: 10px 10px 5px;
    }

    .adn-talento-antetitulo {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .adn-talento-titulo {
        font-size: 22px;
        line-height: 1.05;
    }

    .adn-talento-contenido {
        width: 100%;
        max-width: 100%;
        padding: 0 2px 5px;
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .adn-talento-item {
        min-height: 0;
        padding: 15px 18px;
        text-align: left;
    }

    .adn-talento-item h3 {
        margin-bottom: 9px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .adn-talento-item p {
        font-size: 13px;
        line-height: 1.35;
    }


    /* =====================================================
       NAVEGACIÓN FINAL
    ===================================================== */

    main > .historias-navegacion {
        padding: 15px 10px 20px;
    }

}


/* =========================================================
   MÓVIL MUY PEQUEÑO
   380 PX O MENOS
========================================================= */

@media (max-width: 380px) {


    /* =====================================================
       GALERÍA
    ===================================================== */

    .interna-galeria {
        height: 125px;
    }

    .interna-foto {
        height: 125px;
    }

    .interna-foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    /* =====================================================
       MODAL
    ===================================================== */

    .foto-modal {
        padding: 10px;
    }

    .foto-modal-contenedor {
        max-width: 97vw;
        max-height: 80vh;
    }

    .foto-modal-imagen {
        max-width: 97vw;
        max-height: 80vh;
    }

    .foto-modal-cerrar {
        top: 5px;
        right: 5px;
        width: 38px;
        height: 38px;
        font-size: 29px;
    }

    .foto-modal-flecha {
        width: 36px;
        height: 48px;
        font-size: 38px;
    }

    .foto-modal-anterior {
        left: 2px;
    }

    .foto-modal-siguiente {
        right: 2px;
    }


    /* =====================================================
       RELATO
    ===================================================== */

    .historia-intro {
        padding: 32px 15px 25px;
    }

    .historia-titulo {
        max-width: 350px;
        font-size: 28px !important;
        line-height: 1.07 !important;
    }

    .historia-destacado {
        max-width: 320px;
        font-size: 16.5px !important;
        line-height: 1.4 !important;
    }

    .historia-autor {
        max-width: 300px;
        font-size: 9px !important;
    }


    /* =====================================================
       ARTÍCULO
    ===================================================== */

    .historia-articulo {
        padding: 25px 15px 50px;
    }

    .historia-articulo .articulo-parrafo {
        font-size: 13px !important;
        line-height: 1.65 !important;
        margin-bottom: 19px;
    }

    .historia-articulo .articulo-subtitulo {
        margin: 38px 0 18px;
        font-size: 26px !important;
        line-height: 1.08 !important;
    }

    .historia-articulo .articulo-destacado {
        margin: 28px 0;
        padding-left: 15px;
        font-size: 18px !important;
        line-height: 1.37 !important;
    }

    .historia-articulo .articulo-parrafo-fuentes {
        font-size: 9px !important;
        line-height: 1.55 !important;
    }


    /* =====================================================
       HISTORIA INDIVIDUAL
    ===================================================== */

    .historia-intro:has(.historia-antetitulo) {
        padding: 22px 15px 25px;
    }

    .historia-intro:has(.historia-antetitulo) .historia-titulo {
        max-width: 350px;
        font-size: 26px !important;
        line-height: 1.05 !important;
    }

    .historia-antetitulo {
        max-width: 300px;
        margin: 12px auto 10px;
        font-size: 10px !important;
        line-height: 1.35 !important;
    }


    /* =====================================================
       NAVEGACIÓN
    ===================================================== */

    .historias-navegacion1,
    .historias-navegacion {
        gap: 12px;
        margin-top: 12px;
    }

    .historia-nav {
        width: 24px;
        height: 24px;
    }

    .historia-nav-flecha {
        font-size: 19px;
    }

    .historias-navegacion-texto {
        font-size: 8px;
    }


    /* =====================================================
       TAG
    ===================================================== */

    .historia-tag {
        margin-top: 7px;
        padding: 3px 8px;
        font-size: 8px !important;
    }


    /* =====================================================
       DATOS
    ===================================================== */

    .historia-datos {
        margin-top: 12px;
        gap: 6px;
        font-size: 10px !important;
        line-height: 1.3 !important;
    }

    .historia-datos span {
        gap: 6px;
        line-height: 1.3 !important;
    }

    .historia-dato-icono {
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
    }


    /* =====================================================
       ADN DEL TALENTO
    ===================================================== */

    .adn-talento-encabezado {
        padding: 35px 15px 22px;
    }

    .adn-talento-antetitulo {
        font-size: 8px;
        letter-spacing: 1.3px;
    }

    .adn-talento-titulo {
        font-size: 27px;
    }

    .adn-talento-contenido {
        padding: 0 10px 40px;
    }

    .adn-talento-item {
        padding: 22px 15px;
    }

    .adn-talento-item h3 {
        font-size: 9px;
        margin-bottom: 8px;
    }

    .adn-talento-item p {
        font-size: 12px;
        line-height: 1.55;
    }


    /* =====================================================
       NAVEGACIÓN FINAL
    ===================================================== */

    main > .historias-navegacion {
        padding: 22px 15px 40px;
    }

}


/* =========================================================
   TOUCH
========================================================= */

@media (hover: none) {

    .interna-foto:hover img {
        transform: none !important;
    }

    .interna-foto:hover::after {
        background: rgba(0,0,0,0) !important;
    }

    .foto-modal-cerrar:hover {
        color: #ffffff;
        transform: none;
    }

    .foto-modal-flecha:hover {
        background: rgba(0,0,0,.35);
        transform: translateY(-50%);
    }

}


/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .foto-modal,
    .interna-foto img,
    .historia-imagen,
    .historias-grid .historia,
    .adn-talento-item {
        transition: none !important;
    }

}