.related-visible {
    --visible-colors-green: #0d9488;
    --visible-colors-green-dark: #0a7269;
    --visible-colors-green-darker: #064d47;
    --visible-colors-bg: #fff7f3;

    background-color: var(--visible-colors-bg);
    position: relative;
}

.related-visible__container {
    display: grid;
    grid-gap: var(--spacing-v2);
}

.related-visible__container svg {
    max-width: 136px;
}

.related-visible__button {
    background-color: var(--visible-colors-green);
    color: #fff;
}

.related-visible__button:hover {
    background-color: var(--visible-colors-green-dark);
}

.related-visible__button:active {
    background-color: var(--visible-colors-green-darker);
}

.related-visible .se-image {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .related-visible {
        position: relative;
        overflow: hidden;
    }

    .related-visible__container {
        position: relative;
        z-index: 1;
        justify-items: center;
    }

    .related-visible:after {
        --aspect-ratio: calc(1920 / 536);
        --height: 336px;
        position: absolute;
        content: '';
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        height: var(--height);
        width: calc(var(--height) * var(--aspect-ratio));
        background: url('/wp-content/themes/se_theme/uikit/components/extra-blocks/related-visible/images/bg.svg') no-repeat center center;
        background-size: 100% auto;
        pointer-events: none;
        z-index: 0;
    }

    .related-visible .se-image img {
        border-radius: 0;
        margin-bottom: calc(var(--spacing-half-of-v1) * -1);
    }

    [has-mobile-img] .se-image_desktop {
        display: block;
    }

    [has-mobile-img] .se-image_mobile {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .related-visible:after {
        --height: 386px;
    }
}

@media screen and (min-width: 1280px) {
    .related-visible:after {
        --height: 451px;
    }

    .related-visible .se-image {
        max-width: var(--spacing-grid-10);
        margin: 0 auto;
    }
}

@media screen and (min-width: 1536px) {
    .related-visible:after {
        --height: 510px;
    }

    .related-visible__container svg {
        max-width: none;
    }

    .related-visible .se-image {
        max-width: var(--spacing-grid-8);
    }
}

@media screen and (min-width: 1920px) {
    .related-visible:after {
        --height: 536px;
    }
}