.offset-section {
    margin: -120px auto 0;
}

/* Borders Info Grid Section */
.info-item-left,
.info-item-right {
    width: 100%;
    overflow: hidden;
    min-height: 571px;
    max-height: 583px;
    box-sizing: border-box;
}

/* Info Cards */
.info-card {
    background: #F8F8F8;
    border-radius: 30px;
    overflow: hidden;
    padding: 50px 50px 30px;
}

.info-section p {
    font-size: 14px;
    line-height: 22px;
    margin: 20px auto;
}

.info-card.card-right p:first-of-type {
    margin: 20px auto 0;
}

.info-card.card-right p:nth-of-type(2) {
    margin: 0 auto;
}



@media screen and (max-width: 1300px) {
    div#gestion-container {
        margin-bottom: 200px;
    }

    .info-grid h3 {
        font-size: 32px;
    }
}

@media screen and (max-width: 1000px) {


    /* Info Grid */
    .info-grid {
        width: 90%;
        border-radius: 30px;
    }

    .info-grid h3 {
        margin-bottom: 3%;
    }

    .info-grid figure:nth-of-type(1),
    .info-grid .info-item-left:nth-child(1),
    .info-grid figure:nth-of-type(4),
    .info-grid figure:nth-of-type(5) {
        order: 1;
        border-radius: 30px 30px 0 0;
        min-height: min-content;
    }

    .info-grid .info-item-left:nth-child(1) figcaption,
    .info-grid figure:nth-of-type(4) figcaption,
    .info-grid figure:nth-of-type(5) figcaption {
        padding-top: 40px;
        padding-inline: 40px;
        padding-bottom: 90px;
    }

    .info-grid .info-item-right:nth-child(2),
    .info-grid figure:nth-of-type(2) {
        order: 2;
        margin-top: -40px;
        max-height: unset;
        aspect-ratio: 3/2;
    }

    .info-grid figure:nth-of-type(3) {
        order: 4;
        margin-top: -40px;
        max-height: unset;
        aspect-ratio: 3/2;
    }

    .info-grid figure:nth-of-type(4),
    .info-grid figure:nth-of-type(5) {
        order: 3;
        margin-top: -40px;
        z-index: 2;
    }

    .info-grid figure:nth-of-type(5) {
        order: 5;
    }

    .info-grid figure:nth-of-type(6),
    .info-grid .info-item-right:nth-child(6) {
        order: 6;
        border-radius: 30px;
        aspect-ratio: 348/416;
        margin-top: -50px;
    }
}


@media screen and (max-width: 768px) {
    div#gestion-container {
        margin-bottom: 150px;
    }

    /* Info Grid */
    .info-grid h3 {
        font-size: 35px;
    }

    .info-grid h3 {
        margin-bottom: 6%;
    }

    .info-grid .info-item-right:nth-child(2),
    .info-grid figure:nth-of-type(2) {
        aspect-ratio: 348/380;
    }

    .info-grid figure:nth-of-type(3) {
        aspect-ratio: 348/380;
    }

    .info-grid .info-item-left:nth-child(1) figcaption,
    .info-grid figure:nth-of-type(4) figcaption,
    .info-grid figure:nth-of-type(5) figcaption {
        padding-top: 30px;
        padding-inline: 30px;
        padding-bottom: 80px;
    }

    /* Simple Cards */
    .info-section.cards-section .info-card p.text,
    p.text:not(.quote) {
        padding-top: 0;
    }
}


@media screen and (max-width: 490px) {
    div#gestion-container {
        margin-bottom: 100px;
    }

}