.image_section_block {
    position: relative;
}

.image_section_block_inner {
    display: flex;
    justify-content: center;
}

.image_section_block_frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.image_section_block_media {
    display: block;
    width: 100%;
    height: clamp(320px, 46vw, 560px);
    object-fit: cover;
    object-position: center;
}

.image_section_block_tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 20, 33, 0.36) 0%, rgba(6, 20, 33, 0.34) 100%);
}

.image_section_block_overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(20px, 4vw, 40px);
}

.image_section_block_overlay--enabled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 20, 33, 0.1) 0%, rgba(6, 20, 33, 0.5) 100%);
    z-index: 0;
    pointer-events: none;
}

.image_section_block_content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    color: var(--white);
    & .btn_icon_after span {
        font-size: 18px;
    }
}

.image_section_block_heading {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
    font-weight: 400;
    color: inherit;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    & strong {
        font-weight: 700;
    }
}

.image_section_block_copy {
    & p {
        margin: 0;
        font-size: clamp(16px, 2vw, 18px);
        line-height: 1.5;
        color: inherit;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
    }
}

.image_section_block_cta {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .image_section_block {
        & .image_section_block_overlay {
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-end;
        }
        & .image_section_block_cta {
            white-space: normal;
        }
    }
    .image_section_block_media{
        height: 400px!important;
    }
}

@media (max-width: 767px) {
    .image_section_block {
        & .image_section_block_overlay {
            padding: 20px;
            align-items: center;
        }
        & .image_section_block_cta {
            align-self: center;
        }
        & .image_section_block_content {
            max-width: 100%;
            text-align: center;
        }
    }
}