/* ------------------------------------------------------------
   Content Image
------------------------------------------------------------ */

.ls-content-image {
    padding-block: 80px;
    background:
            radial-gradient(
                    circle at 100% 0%,
                    rgba(56, 214, 232, .28) 0,
                    rgba(56, 214, 232, .14) 18%,
                    rgba(56, 214, 232, .05) 36%,
                    transparent 58%
            ),
            linear-gradient(
                    110deg,
                    var(--wp--preset--color--custom-longside-bg) 0%,
                    var(--wp--preset--color--custom-longside-bg) 60%,
                    var(--wp--preset--color--custom-longside-bg-light) 100%
            );
}

/* Optional: ohne Hintergrundverlauf */
.ls-content-image.ls-content-image--transparent {
    background: transparent;
}
.ls-content-image.ls-content-image--no-gradient {
    background: var(--wp--preset--color--custom-longside-bg-light);
}


.ls-content-image-layout {
    display: flex;
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
    width: 100%;
}

.ls-content-image-media {
    flex: 0 0 27%;
    min-width: 0;
    max-width: 320px;
}

.ls-content-image-content {
    flex: 1 1 73%;
    min-width: 0;
}

.ls-content-image-image {
    margin: 0;
}

.ls-content-image-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(6, 16, 24, .12);
}

.ls-content-image-heading {
    margin: 0 0 24px;
    max-width: 760px;

    background: linear-gradient(
            90deg,
            var(--wp--preset--color--custom-longside-dark) 0%,
            var(--wp--preset--color--custom-longside-primary) 65%,
            var(--wp--preset--color--custom-longside-cyan) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ls-content-image-text {
    margin: 0;
    max-width: 760px;
    font-family: inherit;
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
    color: #4b5660;
}


/* Dark variant
------------------------------------------------------------ */

.ls-content-image.ls-section--dark {
    color: #f7f9fb;
}

.ls-content-image.ls-section--dark .ls-content-image-text {
    color: rgba(247, 249, 251, .68);
}

.ls-content-image.ls-section--dark .ls-content-image-image img {
    border-color: rgba(255, 255, 255, .16);
}


/* Responsive
------------------------------------------------------------ */

@media (max-width: 767px) {

    .ls-content-image {
        padding-block: 48px;
    }

    .ls-content-image-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .ls-content-image-media,
    .ls-content-image-content {
        flex: 0 0 100%;
        width: 100%;
    }

    .ls-content-image-media {
        max-width: 280px;
    }
}