/* =========================================================
   35 HISTORIAS — COLFUTURO
   INTERNA.CSS
   ---------------------------------------------------------
   ESTILOS EXCLUSIVOS DE LAS PÁGINAS INTERNAS
   ---------------------------------------------------------
   IMPORTANTE:
   Este archivo contiene únicamente los estilos base.
   Todo el responsive se encuentra en:

   css/mediaqueries.css
========================================================= */


/* =========================================================
   FONDO
========================================================= */

html,
body {
    background: #ffffff;
    color: #4d4d4d;
}


body {
    overflow-x: hidden;
}


/* =========================================================
   ENLACES DENTRO DE PÁRRAFOS
========================================================= */

p a {
    color: #067de3;
    text-decoration: underline;
}


p a:hover {
    color: #e30613;
}


/* =========================================================
   HEADER COMPACTO
   ---------------------------------------------------------
   El comportamiento general del header está en styles.css.
   Aquí solamente se ajusta la sombra para las páginas
   internas.
========================================================= */

.site-header.header-compact {
    box-shadow:
        0 4px 18px
        rgba(0, 0, 0, 0.18);
}


/* =========================================================
   ESPACIO HEADER FIJO
========================================================= */

main {
    padding-top: 86px;
}


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

.interna-galeria {
    width: 100%;
    height: 215px;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 0;

    background: #000000;

    overflow: hidden;
}


.interna-foto {
    position: relative;

    width: 100%;
    height: 215px;

    padding: 0;

    border: 0;

    background: #111111;

    overflow: hidden;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}


.interna-foto img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    filter: none;
    opacity: 1;

    transform:
        scale(1);

    transition:
        transform 0.8s
        cubic-bezier(0.22, 1, 0.36, 1);
}


.interna-foto:not(:last-child) {
    border-right:
        1px solid
        rgba(255, 255, 255, 0.18);
}


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

.interna-foto::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        rgba(0, 0, 0, 0);

    pointer-events: none;

    transition:
        background 0.5s ease;
}


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


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


.interna-foto:focus-visible {
    outline:
        3px solid
        #ffffff;

    outline-offset:
        -3px;

    z-index: 5;
}


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

.foto-modal {
    position: fixed;
    inset: 0;

    z-index: 5000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    background:
        rgba(0, 0, 0, 0.94);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


.foto-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.foto-modal-contenedor {
    position: relative;

    max-width: 90vw;
    max-height: 88vh;

    display: flex;
    align-items: center;
    justify-content: center;

    transform:
        scale(0.94);

    opacity: 0;

    transition:
        transform 0.45s
        cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease;
}


.foto-modal.is-open
.foto-modal-contenedor {
    transform:
        scale(1);

    opacity: 1;
}


.foto-modal-imagen {
    display: block;

    max-width: 90vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow:
        0 20px 70px
        rgba(0, 0, 0, 0.55);
}


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

.foto-modal-cerrar {
    position: absolute;

    top: 22px;
    right: 28px;

    z-index: 10;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 38px;
    font-weight: 300;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.foto-modal-cerrar:hover {
    color: #ab3050;

    transform:
        rotate(90deg);
}


.foto-modal-cerrar:focus-visible {
    outline:
        2px solid
        #ffffff;

    outline-offset: 4px;
}


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

.foto-modal-flecha {
    position: absolute;

    top: 50%;

    transform:
        translateY(-50%);

    z-index: 10;

    width: 64px;
    height: 64px;

    padding: 0;

    border: 0;

    background:
        rgba(0, 0, 0, 0.25);

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 58px;
    font-weight: 200;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        color 0.25s ease;
}


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


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


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


.foto-modal-anterior:hover {
    transform:
        translateY(-50%)
        translateX(-3px);
}


.foto-modal-siguiente:hover {
    transform:
        translateY(-50%)
        translateX(3px);
}


.foto-modal-flecha:focus-visible {
    outline:
        2px solid
        #ffffff;

    outline-offset: 4px;
}


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

.historia-intro {
    width: 100%;

    padding:
        34px
        30px
        28px;

    background: #ffffff;

    text-align: center;
}


.historia-antetitulo {
    width: 100%;
    max-width: 650px;

    margin:
        25px auto
        15px;

    color: #e30613;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;

    text-align: center;
}


.historia-titulo {
    width: 100%;
    max-width:880px;

    margin: 0 auto;

    color: #111111;

    font-family:
        "Crimson Text",
        Georgia,
        serif;

    font-size: 42px;
    font-weight: 600;
    line-height: 1.05;

    text-align: center;
}


.historia-tag {
    display: inline-block;

    margin-top: 7px;

    padding:
        3px
        10px;

    border-radius: 20px;

    background: #f6a623;

    color: #ffffff;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}


/* =========================================================
   DATOS DE LA HISTORIA
========================================================= */

.historia-datos {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 13px;

    color: #777777;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 400;
}


.historia-datos span {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding:
        0 14px;

    line-height: 1.4;
}


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


.historia-dato-icono {
    width: 22px;
    height: 22px;

    flex:
        0 0 22px;

    display: block;
}


/* =========================================================
   DESTACADO SUPERIOR
========================================================= */

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


.historia-destacado {
    width: 100%;
    max-width: 800px;

    margin:
        25px auto
        0;

    color: #4d4d4d;

    font-family:
        "Crimson Text",
        Georgia,
        serif;

    font-size: 20px;
    font-style: italic;
    line-height: 1.25;

    text-align: center;
}


.historia-linea {
    width: 62px;
    height: 3px;

    margin:
        11px auto
        0;

    background: #ff0000;
}


.historia-autor {
    margin:
        9px 0
        0;

    color: #777777;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 12px;
    line-height: 1.4;
}


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

.historia-articulo {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;

    padding:
        25px
        30px
        15px;

    color: #4d4d4d;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    line-height: 1.5;
}


.articulo-parrafo {
    margin:
        0 0 28px;

    color: #4d4d4d;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}


.articulo-parrafo-fuentes {
    margin:
        0 0 28px;
    color: #666666;
    font-family:
        "Montserrat",
        Arial,
        sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

.articulo-parrafo-inicial::first-letter {
    float: left;
    margin: -25px 3px 0 0;
    color: #e30613;
    font-family:
        "Montserrat",
        Arial,
        sans-serif;
    font-size: 58px;
    font-weight: 600;
    line-height: 0.78;
}


.articulo-destacado {
    margin:
        42px 0
        45px;

    padding:
        5px 0
        5px 25px;

    border-left:
        3px solid
        #e30613;

    color: #4d4d4d;

    font-family:
        "Crimson Text",
        Georgia,
        serif;

    font-size: 20px;
    font-style: italic;
    line-height: 1.35;
}


.articulo-subtitulo {
    margin:
        0 0 25px;

    color: #4d4d4d;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}


/* =========================================================
   COMPARTIR
========================================================= */

.compartir-historia {
    position: fixed;

    top: 50%;
    right: 10px;

    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    transform:
        translateY(-50%);
}


.compartir-intro {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}


.compartir-principal {
    background: #e30613 !important;

    border:
        1px solid
        #e30613 !important;

    color: #ffffff !important;
}


.compartir-principal svg {
    display: block;

    width: 17px;
    height: 17px;

    fill: #ffffff !important;
}


.compartir-principal:hover {
    background: #e30613 !important;

    border-color:
        #e30613 !important;

    transform:
        translateX(-3px);
}


.compartir-texto {
    position: absolute;

    top: 50%;
    right: 42px;

    padding-right: 3px;

    color: #e30613;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 9px;
    font-weight: 500;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-50%)
        translateX(5px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.compartir-intro:hover
.compartir-texto {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0);
}


.compartir-boton {
    width: 34px;
    height: 34px;

    padding: 0;

    border:
        1px solid
        rgba(0, 0, 0, 0.22);

    border-radius: 50%;

    background: #ffffff;
    color: #4d4d4d;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.compartir-boton:hover {
    background: #e30613;

    border-color:
        #e30613;

    color: #ffffff;

    transform:
        translateX(-3px);
}


.compartir-whatsapp {
    font-size: 15px;
}


.compartir-whatsapp svg {
    display: block;

    width: 17px;
    height: 17px;

    fill: currentColor;
}


.compartir-boton:focus-visible {
    outline:
        2px solid
        #e30613;

    outline-offset: 3px;
}


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

.historias-navegacion {
    width: 100%;
    max-width: 760px;

    margin:
        20px auto
        20px;

    padding:
        0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;
}


.historias-navegacion1 {
    width: 100%;
    max-width: 760px;

    margin:
        1px auto
        15px;

    padding:
        0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;
}


.historias-navegacion-texto {
    color: #4d4d4d;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 500;

    white-space: nowrap;
}


.historia-nav {
    display: flex;

    align-items: center;
    justify-content: center;

    color: #000000;

    text-decoration: none;
}


.historia-nav:link,
.historia-nav:visited,
.historia-nav:hover,
.historia-nav:active {
    color: #000000;
    text-decoration: none;
}


.historia-nav-flecha {
    display: inline-block;

    color: #000000;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    transform:
        scaleX(2);

    transform-origin: center;

    transition:
        color 0.3s ease,
        transform 0.4s
        cubic-bezier(0.22, 1, 0.36, 1);
}


.historia-nav-anterior:hover
.historia-nav-flecha {
    color: #e30613;

    transform:
        translateX(-5px)
        scaleX(2);
}


.historia-nav-siguiente:hover
.historia-nav-flecha {
    color: #e30613;

    transform:
        translateX(5px)
        scaleX(2);
}


.historia-nav:focus-visible {
    outline:
        2px solid
        #e30613;

    outline-offset: 5px;
}


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

.adn-talento {
    width:
        calc(100% - 96px);

    max-width: 950px;

    margin:
        10px auto
        10px;

    padding:
        20px
        20px
        5px;

    background: #f4f4f4;

    border-left:
        6px solid
        #e30613;

    box-sizing: border-box;
}


/* =========================================================
   ENCABEZADO ADN
========================================================= */

.adn-talento-encabezado {
    width: 100%;

    margin:
        0 0 48px;

    text-align: center;
}


.adn-talento-antetitulo {
    margin:
        0 0 2px;

    color: #e30613;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 23px;
    font-weight: 600;

    line-height: 1.2;
    letter-spacing: 2px;
}


.adn-talento-titulo {
    margin: 0;

    color: #111111;

    font-family:
        "Crimson Text",
        Georgia,
        serif;

    font-size: 34px;
    font-weight: 600;

    line-height: 1.1;
}


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

.adn-talento-contenido {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 50px;
    row-gap: 0;
}


/* =========================================================
   ITEMS ADN
========================================================= */

.adn-talento-item {
    padding:
        0 0 34px;

    box-sizing: border-box;
}


.adn-talento-item:nth-child(n + 3) {
    padding-top: 34px;

    border-top:
        1px solid
        #d5d5d5;
}


/* =========================================================
   TÍTULOS ADN
========================================================= */

.adn-talento-item h3 {
    margin:
        0 0 14px;

    color: #e30613;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 600;

    line-height: 1.3;
    letter-spacing: 1.2px;

    text-transform: uppercase;
}


/* =========================================================
   TEXTO ADN
========================================================= */

.adn-talento-item p {
    margin: 0;

    color: #4d4d4d;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.4;
}


.adn-talento-item strong {
    color: #333333;
    font-weight: 700;
}


/* =========================================================
   REDUCIR MOVIMIENTO
   ---------------------------------------------------------
   Regla de accesibilidad.
   No corresponde al responsive por tamaño.
========================================================= */

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

    .interna-foto img,
    .interna-foto::after,
    .foto-modal,
    .foto-modal-contenedor,
    .foto-modal-cerrar,
    .foto-modal-flecha,
    .compartir-texto,
    .compartir-boton,
    .historia-nav-flecha {

        transition: none !important;

    }

}