/* Contenedor principal */
.cover-hero {
    font-family: "freight-sans-pro", sans-serif !important;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100vh;
    min-height: 600px;
}

@media screen and (max-width: 1140px) {
    .cover-hero {
        margin-top: 80px;
    }
}


/* Columna izquierda (contenido) */
.cover-hero .col-1 {
    width: 30%;
    margin-left: calc(((100vw - 1320px)/2) + 15px);
    /* padding-top: 50px; */
    padding-right: 5%;
    margin-top: 12vh;
}


.cover-hero .top-line {
    font-weight: 700;
    font-size: 18px;
    color: #276C91;
}

/* Encabezado grande */
.cover-hero h1 {
    font-size: 55px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.cover-hero .table-of-content-wrapper {
    margin-top: 50px;
}

.cover-hero .table-of-content-title {
    font-weight: bold;
    font-size: 18px;
    color: #656565;
}

/* Tabla de contenido */
.cover-hero .table-of-content {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

/* Elementos de la tabla de contenido */
.cover-hero .table-of-content li {
    margin: 10px 0;
}

/* Enlaces dentro de la tabla de contenido */
.cover-hero .table-of-content li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.cover-hero .table-of-content li a.type-child{
    font-weight: 500;
    padding-left:30px;
}

/* .cover-hero .table-of-content li a.type-child .arrow{
    background-image: url(images/arrow-blue.svg);
} */

.cover-hero .table-of-content li a:hover {
    /* text-decoration: underline; */
    color:#276C91;
}

.cover-hero .table-of-content li a .arrow{
    opacity:0.4;
}

/* Columna derecha (imagen y cita) */
.cover-hero .col-2 {
    /* width: 55%; */
    flex:1;
    position: relative;
}


/* Imagen principal en la derecha */
.cover-hero .col-2 .image-wrapper {
    position: absolute;
    top: 0px;
    left: 2.5%;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: 1;
}

.cover-hero .col-2 .image-wrapper:before {
    content: "";
    background: linear-gradient(30deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Imagen principal en la derecha */
.cover-hero .col-2 .image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: right;
}

/* Contenedor de la cita */
.cover-hero .quote-wrapper {
    position: absolute;
    top: 19vh;
    left: 5%;
    color: white;
    padding: 20px;
    /* width: 80%; */
    border-radius: 8px;
    z-index: 3;
    margin-right: calc(((100vw - 1320px) / 2) + 15px);
    padding-right:12%;
    max-width: 100%;
    /* padding-right:0; */
}

/* Quote-Icon */

.cover-hero .quote-icon {
    position: absolute;
    width: 92px;
    height: 69px;
    top: 12vh;
    margin-top:47px;
    left: calc(-80px + 2.5%);
    background-image: url(../../../images/quote-serif-left.svg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    z-index: 5;
}

/* Estilo del texto de la cita */
.cover-hero .quote-wrapper .quote {
    font-size: 25px;
    line-height: 28px;
    font-style: italic;
    font-weight: 500;
}

/* Estilo del autor o referencia de la cita */
.cover-hero .quote-wrapper .quote-reference {
    font-size: 18px;
    margin-top: 25px;
}

/* Responsividad: columnas apiladas en pantallas pequeñas 
@media (max-width: 768px) {
    .cover-hero {
        flex-direction: column;
    }

    .cover-hero .col-1,
    .cover-hero .col-2 {
        width: 100%;
    }

    .cover-hero .quote-wrapper {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-top: 20px;
    }
}
*/
.cover-hero .col-2 .top-line,
.cover-hero .col-2 h1,
.cover-hero .col-2 .quote-wrapper>.quote-icon {
    display: none;
}

@media screen and (max-width: 1320px) {

    .cover-hero .col-1 {
        margin-left: 20px;
        width: 36%;
    }

    .cover-hero .quote-wrapper {
        margin-right: 20px;
    }

}

@media screen and (max-width: 1024px) {
    .cover-hero .col-1 {
        width: 100%;
        /* margin-left: 30px;
        margin-right: 30px; */
        background-color: #EBEBEB;
        margin: 0;
        padding: 30px 20px 10px;
    }
    
    .cover-hero .quote-wrapper {
        margin-right: 0;
        padding-right: 20px;
    }
    .cover-hero {
        flex-direction: column-reverse;
    }

    .cover-hero .col-1,
    .cover-hero .col-2 {
        width: 100%;
    }

    .cover-hero .quote-wrapper {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-top: 20px;
    }

    .cover-hero .col-1 .top-line,
    .cover-hero .col-1 h1 {
        display: none;
    }

    .cover-hero .table-of-content-wrapper {
        margin-top: 0;
    }

    .cover-hero .col-2 .top-line,
    .cover-hero .col-2 h1 {
        display: block;
    }

    .cover-hero .col-2 {
        padding-top: calc(426 / 393 * 100%);
        position: relative;
    }

    .cover-hero .col-2 .image-wrapper {
        height: 0;
        padding-bottom: calc(426 / 393 * 100%);
        left:0;
    }

    .cover-hero .col-2 .image-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .cover-hero .col-2 .image-wrapper--title {
        position: absolute;
        z-index: 10;
        bottom: 0;
        left: 20px;
        padding-bottom: 20px;
    }

    .cover-hero .col-2 .image-wrapper--title .top-line,
    .cover-hero .col-2 .image-wrapper--title h1 {
        color: #fff;
    }

    .cover-hero .col-2 .quote-wrapper {
        background-color: #276C91;
        border-radius: 0;
        margin-top: 0;
    }

    .cover-hero .col-2>.quote-icon {
        display: none;
    }

    .cover-hero .col-2 .quote-wrapper>.quote-icon {
        display: block;
        top: 0;
        left: 20px;
        transform: translateY(-50%);
        background-image: url(../../../images/quote-serif-left-white.svg);
        width: 50px;
        height: 39px;
        margin-top: 0;
    }
}
