.quimatic-builder-component--image-text {
    border: 0;
    background: #ffffff;
    margin-inline: -20px;
}

.quimatic-builder-component--image-text .quimatic-builder-component__inner {
    max-width: none;
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 48px 64px;
}

.quimatic-image-text {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 640px));
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.quimatic-image-text--without-media {
    grid-template-columns: minmax(0, 1fr);
}

.quimatic-image-text__media {
    position: relative;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-height: 450px;
    aspect-ratio: 640 / 449.15335;
    overflow: hidden;
}

.quimatic-image-text__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.quimatic-image-text__content {
    display: grid;
    align-content: center;
    gap: 24px;
    min-width: 0;
    min-height: 100%;
    padding: 24px;
    background: #ffffff;
}

.quimatic-image-text__title {
    margin: 0;
    color: var(--quimatic-orange);
    font-family: "Myriad Pro", "Helvetica Neue", Arial, sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.quimatic-image-text__subtitle {
    margin: 0;
    color: var(--quimatic-text);
    font-family: "Myriad Pro", "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.24px;
}

.quimatic-image-text__description {
    color: var(--quimatic-text);
    font-family: "Myriad Pro", "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.2px;
}

.quimatic-image-text__description > :first-child {
    margin-top: 0;
}

.quimatic-image-text__description > :last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .quimatic-builder-component--image-text {
        margin-inline: 0;
    }

    .quimatic-builder-component--image-text .quimatic-builder-component__inner {
        padding: 32px 24px;
    }

    .quimatic-image-text {
        grid-template-columns: minmax(0, 1fr);
    }

    .quimatic-image-text__media {
        aspect-ratio: 57 / 40;
    }
}

@media (max-width: 767px) {
    .quimatic-builder-component--image-text {
        margin-inline: -16px;
    }

    .quimatic-builder-component--image-text .quimatic-builder-component__inner {
        padding: 48px 16px;
    }

    .quimatic-image-text {
        gap: 28px;
    }

    .quimatic-image-text__media {
        order: 2;
        aspect-ratio: 640 / 449.15335;
    }

    .quimatic-image-text__image {
        object-position: center;
    }

    .quimatic-image-text__content {
        order: 1;
        gap: 16px;
        padding: 0;
    }

    .quimatic-image-text__title {
        font-size: 28px;
        line-height: 33.6px;
        letter-spacing: -0.4px;
        text-transform: uppercase;
    }

    .quimatic-image-text__subtitle {
        font-size: 20px;
        line-height: 25px;
        letter-spacing: -0.24px;
    }

    .quimatic-image-text__description {
        font-size: 16px;
        font-weight: 300;
        line-height: 24px;
        letter-spacing: 0;
    }
}
