@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bio-contenedor {
    display: flex;
    flex-direction: row;
    width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    align-items: flex-start;
    gap: 20px;
    margin-top: 50px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.15, 1, 0.3, 1) forwards;
    animation-delay: 0.55s;
}

.bio-imagen-wrapper {
    width: 800px;
    height: 450px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

.bio-imagen-wrapper picture,
.bio-imagen-principal {
    width: 100%;
    height: 100%;
    display: block;
}

.bio-imagen-principal {
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.bio-imagen-principal.fade-out {
    opacity: 0;
}

.bio-acordeon {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0px;
}

.bio-header {
    cursor: pointer;
    padding: 0px 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    user-select: none;
    height: 45px;
    -webkit-tap-highlight-color: transparent;
}

.bio-titulo {
    font-family: 'TT Rationalist Light', serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.25px;
    transition: color 0.3s ease;
    margin-left: 5px;
}

.bio-subtitulo {
    font-family: 'Satoshi Black', sans-serif;
    font-size: 8px;
    line-height: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: absolute;
    bottom: 25px;
    left: 825px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    margin: 0;
}

.bio-texto {
    font-family: 'Source Sans Ligth', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    margin-top: 20px;
    margin-left: 5px;
    max-width: 325px;
}

.bio-acordeon.is-any-open .bio-subtitulo {
    opacity: 0;
    visibility: hidden;
}

.bio-header:hover .bio-titulo {
    color: rgba(245, 110, 45, 1);
}

.bio-item.is-open .bio-titulo {
    color: rgba(245, 110, 45, 1);
}

.bio-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    max-width: 500px;
    will-change: grid-template-rows;
}

.bio-item.is-open .bio-content {
    grid-template-rows: 1fr;
}

.bio-content > div {
    overflow: hidden;
    min-height: 0;
}










@media (max-width: 1200px) {
    .bio-contenedor {
        flex-direction: column;
        width: calc(100% - 40px);
        margin: 0 20px;
        gap: 0px;
        align-items: flex-start;
        position: static;
        margin-top: 25px;
        margin-bottom: 100px;
    }

    .bio-imagen-wrapper {
        width: 100%;
        height: 450px;
        aspect-ratio: auto;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .bio-acordeon {
        margin-top: 0px;
        width: 100%;
    }

    .bio-header {
        gap: 15px;
        height: 50px;
        -webkit-tap-highlight-color: transparent;
    }

    .bio-titulo {
        font-family: 'TT Rationalist Light', serif;
        font-weight: 300;
        font-size: 26px;
        line-height: 30px;
        letter-spacing: -0.25px;
        transition: color 0.3s ease;
        margin-left: 5px;
    }
    
    .bio-item.is-open .bio-titulo {
        color: rgba(245, 110, 45, 1);
    }

    .bio-subtitulo {
        display: none;
    }

    .bio-texto {
        font-family: 'Source Sans Ligth', sans-serif;
        font-weight: 300;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0px;
        margin-top: 10px;
        margin-left: 5px;
        padding-bottom: 20px;
        width: calc(100% - 60px);
        margin-right: 40px;
    }

    .bio-content {
        max-width: 100%;
        margin-left: 0px;
    }
}