/* Image Text */
.image-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    position: relative;
    max-width: var(--container-medium);
    margin-inline: auto;
    padding-inline: calc(var(--gap) * 2);

    @media (min-width: 1000px) {
        flex-direction: row;
        align-items: center;
        gap: calc(var(--gap) * 10);
    }
}

.image-text__image {
    max-width: min(440px, 50%);
    height: auto;
    object-fit: cover;

    @media (min-width: 1000px) {
        max-width: 100%;
    }
}

.image-text__title {
    font-size: var(--text-md);
    font-weight: 700;
    line-height: 1.25;
}

.image-text__title::after {
    content: ".";
    color: var(--color-blue);
    display: inline-block;
}

.image-text__subtitle {
    font-size: var(--text-xxs);
    font-weight: 700;
    line-height: 1.25;
    color: hsl(from var(--color-gray) h s l / 0.8);
}

.section--blue-navy .image-text__subtitle,
.section--blue-navy-dark .image-text__subtitle {
    color: hsl(from var(--color-white) h s l / 0.8);
}

.image-text__content {
    display: flex;
    flex-direction: column;
    gap: calc(var(--gap) * 2);

    @media (min-width: 1000px) {
        flex: 1;
    }
}

.image-text:nth-child(odd) {
    @media (min-width: 1000px) {
        flex-direction: row-reverse;
    }
}