.text-media-v2 > .boxed {
    padding: 192px 64px 0 64px !important;
}

.text-media-v2 .heading-container {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.text-media-v2 .heading-container > img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.text-media-v2 .heading-container > .heading {
    position: relative;
    margin-bottom: 0;
    background: linear-gradient(180deg, #20375F 0%, #162032 100%);
    background-clip: text;
    font-family: 'Panton', sans-serif;
    font-size: 44px;
    font-weight: 370;
    line-height: 48px;
    -webkit-text-fill-color: transparent;
}

.text-media-v2 .heading-container > .heading::after {
    position: absolute;
    top: -192px;
    left: -256px;
    z-index: -1;
    width: 512px;
    height: 512px;
    content: '';
    background-size: cover;
    background-repeat: no-repeat;
}

.text-media-v2 .heading-container.bg-yellow > .heading::after {
    background-image: url('/wp-content/themes/strevon/assets/images/elements/yellow-ellipse.svg');
}

.text-media-v2 .heading-container.bg-blue > .heading::after {
    background-image: url('/wp-content/themes/strevon/assets/images/elements/blue-ellipse.svg');
}

.text-media-v2 .content {
    max-width: 624px;
    padding-bottom: 24px;
    font-size: 18px;
    color: #1A2233;
    line-height: 28px;
}

.text-media-v2 .media {
    margin-top: 24px;
}

.text-media-v2 .media > img {
    width: 100%;
    height: 512px;
    border-radius: 24px;
    object-fit: cover;
}

.text-media-v2 .content p {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .text-media-v2 > .boxed {
        padding: 64px 16px 0 16px !important;
    }

    .text-media-v2 .heading-container {
        margin-bottom: 16px;
        gap: 8px;
    }

    .text-media-v2 .heading-container > img {
        width: 24px;
        height: 24px;
    }

    .text-media-v2 .heading-container > .heading {
        font-size: 24px;
        line-height: 32px;
    }

    .text-media-v2 .content {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 16px;
    }

    .text-media-v2 .media {
        margin-top: 8px;
    }

    .text-media-v2 .media > img {
        height: 256px;
    }
}

@media (max-width: 576px) {
    .text-media-v2 .media > img {
        height: 192px;
    }
}

@media (max-width: 450px) {
    .text-media-v2 .media > img {
        height: 128px;
    }
}