/* Override hero background for CMS */
.ec-hero::after {
    display: none !important;
}

.ec-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.ec-hero__copy {
    flex: 1;
    max-width: 50%;
    position: relative;
    z-index: 2;
}

.ec-hero__visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.ec-hero__visual img {
    width: 100%;
    max-width: 650px;
    height: auto;
    transform: scale(1.1);
}

.ec-hero__wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 280px;
    background: url('../../images/hero-section/wave-bg.png') center bottom / cover no-repeat;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1024px) {
    .ec-hero__inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .ec-hero__copy {
        max-width: 100%;
        align-items: center;
    }

    .ec-hero__desc {
        margin-inline: auto;
    }

    .ec-hero__visual img {
        transform: scale(1);
        max-width: 90%;
    }
}