.image-text {
    overflow: hidden;
}

.image-text.wrapped {
    padding-inline: 35px;
}

.image-text.blue {
    background-color: #C2E4FC;
}

.image-text.wrapped .image-text__wrapper {
    background-color: #FFFAF4;
    border-radius: 30px;
    padding-bottom: 20px;
}

.image-text__info {
    width: 55rem;
    max-width: 100%;
    padding: 4rem;
}

.image-text.regular .image-text__info,
.image-text.blue .image-text__info {
    width: 100%;
    padding: 0;
}

.image-text.regular,
.image-text.blue {
    padding-block: calc(var(--section-padding) * 1.5) !important;
}

.image-text__info.padded {
    padding-right: 4rem !important;
}

.image-text__info.padded-alt {
    padding-left: 4rem !important;
}

.image-text__title {
    color: #1A3258;
    margin-bottom: -15px;
}

.image-text__text {
    color: var(--color-primary);
}

.image-text__btns {
    justify-content: flex-start;
}

.image-text__image {
    width: 100%;
    aspect-ratio: 610 / 575;
    min-height: 100%;
    filter: grayscale(1);
    transition: filter 0.4s ease-in-out;
}

.image-text__image:hover {
    filter: grayscale(0);
}

.image-text.regular .image-text__image,
.image-text.blue .image-text__image {
    aspect-ratio: 610 / 435;
    min-height: 0;
    border-radius: 30px;
}

@media screen and (max-width: 1024.9px) {
    .image-text.wrapped {
        padding-inline: 20px;
    }

    .image-text__info.padded {
        padding-right: 2rem !important;
    }

    .image-text__info.padded-alt {
        padding-left: 2rem !important;
    }
}

@media screen and (max-width: 767.9px) {
    .image-text.wrapped .image-text__wrapper {
        border-radius: 16px;
    }

    .image-text__info {
        gap: 2rem;
        width: 100%;
        padding: 0;
    }

    .image-text__image {
        aspect-ratio: 335/300;
        width: 100%;
        height: auto;
        min-height: unset;
        margin-bottom: 1rem;
    }

    .image-text__title {
        margin: 15px 0 10px;
    }

    .image-text__info.padded,
    .image-text__info.padded-alt {
        padding-inline: 0 !important;
    }

    .image-text.regular,
    .image-text.blue {
        padding-block: var(--section-padding) !important;
    }
}