.container-pensi-section-ensinos .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
}

.container-pensi-section-ensinos .col-left .sobtitle {
    display: flex;
    gap: 8px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 16px;
}

.container-pensi-section-ensinos .col-left .sobtitle svg {
    display: block;
}

.container-pensi-section-ensinos .col-left .sobtitle .text {
    font-family: Gotham;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: -0.2px;
    color: #F26522;
}

.container-pensi-section-ensinos .col-left .title {
    font-family: Gotham;
    font-weight: 700;
    font-style: normal;
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -1.45px;
    color: #33303E;
}

.container-pensi-section-ensinos .col-left .description {
    font-family: Gotham;
    font-weight: 400;
    font-style: normal;
    font-size: 14.53px;
    line-height: 14.53px;
    letter-spacing: 0;
    color: #33303E;
    width: 530px;
    margin-top: 24px;
}

.container-pensi-section-ensinos .col-left .description p {
    margin-bottom: 16px;
}

.container-pensi-section-ensinos .col-left .line {
    width: 56px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, #FEBE10 0%, #FDD050 100%);
    margin-bottom: 32px;
}

.container-pensi-section-ensinos .col-left .buttons {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.container-pensi-section-ensinos .col-left .buttons .button {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 215px;
    height: 160px;
    justify-content: space-between;
    padding-top: 24px;
    padding-right: 32px;
    padding-bottom: 24px;
    padding-left: 32px;
    flex-shrink: 0;
    border-radius: 8px;
}

.container-pensi-section-ensinos .col-left .buttons .button .btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    height: 100%;
}

.container-pensi-section-ensinos .col-left .buttons .button .text {
    font-family: Gotham;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 20px;
    color: #FFFFFF;
}

.container-pensi-section-ensinos .col-left .buttons .button:nth-child(1) {
    background: #FCBF00;
}

.container-pensi-section-ensinos .col-left .buttons .button:nth-child(2) {
    background: #F29E03;
}

.container-pensi-section-ensinos .col-left .buttons .button:nth-child(3) {
    background: #F26522;
}

.container-pensi-section-ensinos .col-right {
    width: 485px;
    height: 435px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    margin-top: -65px;
    justify-content: flex-end;
    position: relative;
    align-items: flex-end;
}

.container-pensi-section-ensinos .col-right .bg {
    width: 384px;
    flex-shrink: 0;
    background-color: #FCBF00;
    display: flex;
    height: 396px;
    border-radius: 8px;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.container-pensi-section-ensinos .col-right .bg-image {
    width: 384px;
    height: 435px;
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 0;
}

.container-pensi-section-ensinos .col-right .bg .bg-layer {
    background-image: linear-gradient(107.14deg, #FFFFFF -7.11%, rgba(255, 255, 255, 0) 109.13%);
    transform: rotateY(180deg);
    background-repeat: no-repeat;
    opacity: 0.3;
    height: 364px;
    border-radius: 16px 0 0 0;
    right: 33px;
    position: absolute;
    width: 352px;
    z-index: 1;
}

.container-pensi-section-ensinos .col-right .btn {
    width: 280px;
    height: 114px;
    justify-content: space-between;
    border-width: 1px;
    border-radius: 8px;
    padding: 32px;
    gap: 26px;
    display: flex;
    background: #FCBF00;
    flex-direction: column;
    box-shadow: -4px 4px 0px 0px #302B24;
    position: absolute;
    bottom: 27px;
    left: 0;
    z-index: 3;
}

.container-pensi-section-ensinos .col-right svg {
    display: block;
}

.container-pensi-section-ensinos .col-right .text {
    font-family: Gotham Black;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0;
    color: #33303E;
}

@media(max-width: 1215px) {
    .container-pensi-section-ensinos .col-left {
        width: 45%;
    }

    .container-pensi-section-ensinos .col-left .buttons {
        flex-wrap: wrap;
    }

    .container-pensi-section-ensinos .col-left .description {
        width: 100%;
    }
}


@media(max-width: 1024px) {
    .container-pensi-section-ensinos .row {
        flex-direction: column;
        gap: 80px;
    }

    .container-pensi-section-ensinos .col-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .container-pensi-section-ensinos .col-right {
        width: 100%;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }

    .container-pensi-section-ensinos .col-right .bg {
        bottom: 45px;
        right: 0;
        left: 0;
        margin: 0 auto;
    }

    .container-pensi-section-ensinos .col-right .bg-image {
        right: 0;
        bottom: 45px;
        left: 0;
        margin: 0 auto;
        background-size: auto 100%;
        background-position: bottom center !important;
    }

    .container-pensi-section-ensinos .col-right .btn {
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 3;
        margin: 0 auto;
    }
}

@media(max-width: 767px) {
    .container-pensi-section-ensinos .row {
        gap: 20px;
    }

    .container-pensi-section-ensinos .col-left .buttons {
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
        height: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .container-pensi-section-ensinos .col-left .buttons::-webkit-scrollbar {
        display: none;
    }

    .container-pensi-section-ensinos .col-right {
        height: 262px;
    }

    .container-pensi-section-ensinos .col-right .bg {
        width: 336px;
        height: 184px;
    }

    .container-pensi-section-ensinos .col-right .bg .bg-layer {
        top: 30px;
    }

    .container-pensi-section-ensinos .col-right .bg-image {
        width: 336px;
        height: 217px;
    }

    .container-pensi-section-ensinos .col-right .btn {
        width: 280px;
        height: 114px;
    }
}

@media(max-width: 420px) {
    .container-pensi-section-ensinos .col-right .bg {
        width: 100%;
    }

    .container-pensi-section-ensinos .col-right .bg-image {
        width: 100%;
    }

    .container-pensi-section-ensinos .col-right .btn {
        width: 80%;
        height: 114px;
    }
}