.flex-content.text-with-media {
	padding: 80px 0;
    overflow: clip;
}

.flex-content.text-with-media + .flex-content.text-with-media:not(:has(.has-background)) {
    padding-top: 0;
}

.flex-content.text-with-media .eyebrow {
    color: var(--medium-blue);
    margin-bottom: 1rem;
}

.flex-content.text-with-media .subtitle {
    color: var(--dark-gray);
}

.flex-content.text-with-media .text h5 {
	color: var(--dark-gray);
	font-weight: 700;
	text-transform: uppercase;
}

.flex-content.text-with-media .text > *:last-child {
    margin-bottom: 0;
}

.flex-content.text-with-media .cta {
    padding-top: 30px;
}

.flex-content.text-with-media .media-col img {
    position: relative;
    width: 100%;
}

.flex-content.text-with-media .media-col.masked img {
    border-radius: 40px 0 40px 0;
    overflow: clip;
}

.flex-content.text-with-media .full-width-image .media-col img {
    left: calc(-1 * ((100dvw - (1320px - var(--bs-gutter-x))) / 2));
    width: calc(100% + ((100dvw - (1320px - var(--bs-gutter-x))) / 2));
    max-width: unset;
}

.flex-content.text-with-media .full-width-image.flip .media-col img {
    left: auto;
}

@media only screen and (max-width: 1399px) {
    .flex-content.text-with-media .full-width-image .media-col img {
        left: calc(-1 * ((100dvw - (1140px - var(--bs-gutter-x))) / 2));
        width: calc(100% + ((100dvw - (1140px - var(--bs-gutter-x))) / 2));
    }
}

@media only screen and (max-width: 1199px) {
    .flex-content.text-with-media .full-width-image .media-col img {
        left: calc(-1 * ((100dvw - (960px - var(--bs-gutter-x))) / 2));
        width: calc(100% + ((100dvw - (960px - var(--bs-gutter-x))) / 2));
    }
}

@media only screen and (max-width: 991px) {
	.flex-content.text-with-media .media-col {
        margin-bottom: 1.5rem;
		text-align: center;
    }
    .flex-content.text-with-media .full-width-image .media-col img {
        left: auto;
        width: 100%;
        margin: 0 0 30px;
    }
	.flex-content.text-with-media .row:not(.full-width-image) .media-col img {
        max-width: 500px;
    }

	.page-id-461 .flex-content.text-with-media .media-col {
        margin-bottom: calc(1.5rem + 10px);
    }
}

@media (max-width: 767px) {
    .flex-content.text-with-media .media-col {
        margin-bottom: 1.5rem;
    }
	.flex-content.text-with-media {
		padding: 60px 0;
	}
	.page-id-585 .flex-content.text-with-media.flex-content-2 {
		padding-top: 60px;
	}
}



.page-id-585 .flex-content.text-with-media.flex-content-2 {
	padding-bottom: 50px;
}
.page-id-585 .flex-content.text-with-media.flex-content-3 {
	padding-bottom: 0;
}