.text-media .boxed {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.text-media .boxed .heading {
    margin-bottom: 35px;
}

.text-media .boxed .info > .content {
    margin-bottom: 40px;
}


.text-media.bg-none .boxed .info .content *,
.text-media.bg-light-blue .boxed .info .items .item .content * {
    color: var(--light-grey);
}

.text-media .boxed .image {
    display: flex;
}

.text-media .boxed .image .container {
    display: flex;
    gap: 50px;

}

.text-media .boxed .image img {
    object-fit: contain;
    flex: 1;
    min-width: 0;
    border-radius: 20px;
}

.text-media .boxed > div {
    flex: 1;
}

.text-media.has-background-video {
    position: relative;
    overflow: hidden;
    max-width: 1950px;
    -webkit-mask-image: url('images/mask.png');
    mask-image: url('images/mask.png');
    mask-repeat: no-repeat;
    mask-size: contain;
    background-size: cover;
    background-position: center;
    aspect-ratio: 1950 / 535;
    background-repeat: no-repeat;
}

.text-media.has-background-video > .background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    display: block;
}

.text-media.has-background-video > .boxed {
    position: relative;
    z-index: 1;
}

.text-media.has-background-image {
    max-width: 1950px;
    mask-repeat: no-repeat;
    mask-size: contain;
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-mask-image: url('images/mask.png');
    mask-image: url('images/mask.png');
    background-size: cover;
    background-position: center;
    aspect-ratio: 1950 /535;
    background-repeat: no-repeat;

}

.text-media.has-background-image .boxed .info .items {
    max-width: 450px;
}

.text-media.has-background-image .boxed .info .items .item .heading *, .text-media.has-background-image .boxed .info .items .item .content *,
.text-media.has-background-video .boxed .info .items .item .heading *, .text-media.has-background-video .boxed .info .items .item .content * {
    color: var(--white);
}

.text-media .boxed.image-right {
    flex-direction: row;
}

.text-media .boxed.image-left {
    flex-direction: row-reverse;
}

.text-media .boxed .info {
    display: flex;
    align-items: center;
}

.text-media .boxed .info > .items .item:not(:last-child) {
    margin-bottom: 45px;
}

.text-media .boxed .info > .items .item .content-columns {
    display: grid;
    gap: 40px;
    margin-bottom: 42px;
}

.text-media .boxed .info > .items .item .content-columns .content-column {
    border-radius: 12px;
    background: var(--white);
    padding: 32px;
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.text-media .boxed .info > .items .item .content-columns .content-column .content-number {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--blue);
    max-height: fit-content;
    aspect-ratio: 1/1;
    min-width: 52px;
    min-height: 52px;
}

.text-media .boxed .info > .items .item .content-columns .content-column .content-number * {
    color: var(--white);
    font-size: 34px;
    font-weight: 600;
    line-height: 52px;
    letter-spacing: -3px;
}

.text-media .boxed .info > .items .item .content-columns .content-column .content-info .heading {
    font-size: 24px;
    line-height: 32px;
    color: #060626;
    margin-bottom: 16px;
}

.text-media .boxed .info > .items .item .content-columns .content-column .content-info .content * {
    color: var(--light-grey);
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 0;
}

@media (max-width: 1730px) {
    .text-media.has-background-image .boxed, .text-media.has-background-video .boxed {
        padding: 20px 80px 20px 120px;
    }

    .text-media.has-background-image .boxed .info, .text-media.has-background-video .boxed .info {
        flex: auto;
    }
}

@media (max-width: 1400px) {
    .text-media.has-background-image {
        background-size: cover !important;
    }

    .text-media.has-background-image .boxed .info .items {
        max-width: 535px;
    }

    .text-media.has-background-image .boxed .heading {
        margin-bottom: 10px;
    }

    .text-media.has-background-image .boxed .heading h2, .text-media.has-background-video .boxed .heading h2 {
        font-size: 48px;
        line-height: 52px;
        letter-spacing: -1px;
    }

    .text-media.has-background-image .boxed .heading h2 br, .text-media.has-background-video .boxed .heading h2 br {
        display: none;
    }
}

@media (max-width: 1100px) {
    .text-media.has-background-image .boxed {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .text-media .boxed .heading {
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .text-media.has-background-image,
    .text-media.has-background-video {
        position: relative;
        overflow: hidden;
        max-width: 1950px;
        -webkit-mask-image: url('images/mobile-mask.png');
        mask-image: url('images/mobile-mask.png');
        mask-repeat: no-repeat;
        mask-size: contain;
        background-size: cover;
        background-position: center;
        aspect-ratio: 1 / 1.8;
        background-repeat: no-repeat;
    }

    .text-media.has-background-image::after,
    .text-media.has-background-video::after {
        content: "";
        position: absolute;
        inset: 0;
        background: #00000085;
        z-index: 1;
        pointer-events: none;
    }

    .text-media.has-background-video > .background-video {
        z-index: 0;
    }

    .text-media.has-background-image .boxed,
    .text-media.has-background-video .boxed {
        position: relative;
        z-index: 2;
        background: transparent;
        gap: 0;
        top: 80px;
        padding: 40px 30px !important;
    }
}


@media (max-width: 900px) {
    .text-media .boxed.image-right {
        flex-direction: column-reverse;
    }

    .text-media .boxed.image-left {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .text-media.has-background-image .boxed {
        padding: 40px;
    }
}

@media (max-width: 600px) {
    .text-media .boxed.bg-gradient {
        padding: 40px 20px;
    }
	.wave {
		margin-top: -65px !important;
	}
}

@media (max-width: 450px) {
	.text-media .boxed .info > .items .item .content-columns .content-column {
		padding: 24px;
	}
}