.basic_2cols {
    overflow: hidden;

    .basic_2cols__content {
        display: flex;
        position: relative;
        gap: 60px;
        flex-direction: column;
        align-items: stretch;

        &.reverse {
            flex-direction: column-reverse;
        }

        &+.basic_2cols__content {
            margin-top: 80px;
        }

        @media (min-width: 992px) {
            flex-direction: row;

            &.reverse {
                flex-direction: row-reverse;
            }
        }

        .basic_2cols__para {
            position: relative;
            z-index: 3;
            flex: 1;
            height: fit-content;

            >*:first-child {
                margin-top: 0;
            }

            h2,
            h3,
            h4 {
                margin: 16px 0 30px 0;
            }

            p:last-child {
                margin-bottom: 0;
            }

            .section__btn {
                margin: 0px;
            }

            .cta {
                margin-top: 10px !important;
            }
        }

        .basic_2cols__media {
            position: relative;
            margin-top: 16px;
            flex: 1;
            display: flex;

            @media (min-width: 768px) {
                margin-top: 0;
            }

            &.cover {
                img {
                    -o-object-fit: cover;
                    object-fit: cover;
                }
            }

            &:not(.cover) {
                height: 100%;

                &:has(.basic_2cols__media_multiple) {
                    min-height: 335px;
                }
            }

            img {
                display: block;
                height: 100%;
                -o-object-fit: contain;
                object-fit: contain;
                -o-object-position: center;
                object-position: center;
                width: 100%;
                border-radius: var(--border-radius);

                @media (max-width: 991px) {
                    max-height: 400px;
                }
            }

            p {
                position: absolute;
                bottom: 0;
                background: var(--grey);
                left: 50%;
                transform: translate(-50%);
                font-family: var(--title-font);
                color: var(--light-blue);
                min-width: 80%;
                border-radius: var(--border-radius) var(--border-radius) 0 0;
                margin: 0;
                font-size: 16px;
                line-height: normal;
                padding: 20px 20px 0 20px;

                @media (min-width: 992px) {
                    font-size: 24px;
                    line-height: 32px;
                    padding: 40px 40px 0 40px;
                }
            }

            @media (min-width: 992px) {
                &:has(.basic_2cols__media_multiple) {
                    width: 65%;
                }
            }

            .basic_2cols__media_multiple {
                display: flex;
                flex-direction: column-reverse;
                align-items: center;
                gap: 12px;

                @media (max-width: 991px) {
                    width: 100%;
                }

                @media (min-width: 992px) {
                    flex-direction: row;
                }

                .basic_2cols__media_multiple__stack {
                    display: flex;
                    gap: 12px;
                    flex-shrink: 0;
                    flex-direction: row;
                    width: 100%;
                    align-items: center;
                    justify-content: center;

                    @media (min-width: 992px) {
                        align-items: end;
                        flex-direction: column;
                        width: 50%;
                    }

                    @media (min-width: 1200px) {
                        width: 38%;
                    }

                    img {
                        width: 120px;
                        height: 120px;
                        border-radius: var(--border-radius-full);
                        object-fit: cover;

                        @media (min-width: 992px) {
                            width: 200px;
                            height: 200px;

                            &:not(.basic_2cols__media_multiple__item_0) {
                                width: 135px !important;
                                height: 135px !important;
                            }
                        }
                    }
                }

                /* Grande image */
                >img:last-child {
                    width: 200px;
                    height: 200px;
                    border-radius: var(--border-radius-full);
                    object-fit: cover;
                    min-width: 0;

                    @media (min-width: 1200px) {
                        flex: 1;
                        width: 100%;
                        height: 100%;
                        max-width: 300px;
                        max-height: 300px;
                    }
                }
            }
        }
    }
}