.MarketCastSolutionsShowcase {
    --solutions-panel-height: 430px;
    --solutions-content-width: 460px;
    --solutions-edge-padding: clamp(24px, 8vw, 120px);
    --solutions-vertical-padding: 50px;
    --solutions-frame-offset: clamp(18px, 2.4vw, 44px);
    --solutions-frame-radius: 56px;
    --solutions-content-pad-block: clamp(24px, 2.8vw, 38px);
    --solutions-content-pad-inline: clamp(24px, 3vw, 44px);
    --solutions-frame-color: rgba(80, 219, 255, 0.42);
    --solutions-top-line-color: rgba(80, 219, 255, 0.34);
}

.MarketCastSolutionsShowcase .solutions-showcase__panel {
    position: relative;
    min-height: var(--solutions-panel-height);
    padding: 100px 0;
    overflow: hidden;
    isolation: isolate;
    background: unset;
}

.MarketCastSolutionsShowcase .solutions-showcase__panel::before {
    position: absolute;
    inset: 0;
    background-image: var(--solutions-panel-image);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    content: "";
    z-index: 0;
}

.MarketCastSolutionsShowcase .solutions-showcase__panel--right::before {
    background-position: left center;
}

.MarketCastSolutionsShowcase .solutions-showcase__panel::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--solutions-top-line-color);
    content: "";
    z-index: 2;
}

.MarketCastSolutionsShowcase .solutions-showcase__overlay {
    position: absolute;
    inset: 0;
    background: var(--solutions-overlay-gradient);
    z-index: 1;
}

.MarketCastSolutionsShowcase .solutions-showcase__inner {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: var(--solutions-panel-height);
    align-items: center;
    padding: 0 var(--solutions-edge-padding);
}

.MarketCastSolutionsShowcase .solutions-showcase__panel--right .solutions-showcase__inner {
    justify-content: flex-end;
}

.MarketCastSolutionsShowcase .solutions-showcase__content {
    position: relative;
    width: min(100%, max(var(--solutions-content-width), 45%));
    padding: var(--solutions-content-pad-block) var(--solutions-content-pad-inline);
    color: #fff;
}

.MarketCastSolutionsShowcase .solutions-showcase__content::before {
    position: absolute;
    top: calc(var(--solutions-frame-offset) * -1);
    right: calc(var(--solutions-frame-offset) * -1);
    bottom: calc(var(--solutions-frame-offset) * -1);
    left: calc(var(--solutions-edge-padding) * -1);
    border-top: 1px solid var(--solutions-frame-color);
    border-bottom: 1px solid var(--solutions-frame-color);
    border-right: 1px solid var(--solutions-frame-color);
    border-top-right-radius: var(--solutions-frame-radius);
    border-bottom-right-radius: 0;
    content: "";
    pointer-events: none;
}

.MarketCastSolutionsShowcase .solutions-showcase__panel--right .solutions-showcase__content::before {
    right: calc(var(--solutions-edge-padding) * -1);
    left: calc(var(--solutions-frame-offset) * -1);
    border-right: 0;
    border-left: 1px solid var(--solutions-frame-color);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: var(--solutions-frame-radius);
}

.MarketCastSolutionsShowcase .solutions-showcase__eyebrow {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.34em;
    line-height: 1;
    text-transform: uppercase;
}

.MarketCastSolutionsShowcase .solutions-showcase__title {
    margin: 0 0 16px;
    color: #fff;
    font-family: "Sanomat Medium", sans-serif;
    font-size: clamp(40px, 4vw, 62px);
    font-weight: 500;
    line-height: 0.93;
}

.MarketCastSolutionsShowcase .solutions-showcase__description {
    max-width: 36rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.42;
}

.MarketCastSolutionsShowcase .solutions-showcase__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 24px;
    padding: 10px 22px;
    background: var(--solutions-button-bg);
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel::before {
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.9s ease, transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__overlay,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel--right .solutions-showcase__overlay {
    opacity: 0;
    transform-origin: left center;
    transform: scaleX(0.92);
    transition: opacity 0.7s ease, transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel--right .solutions-showcase__overlay {
    transform-origin: right center;
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__content::before {
    opacity: 0;
    transform: translate3d(-34px, 0, 0);
    transition: opacity 0.6s ease 0.12s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel--right .solutions-showcase__content::before {
    transform: translate3d(34px, 0, 0);
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__eyebrow,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__title,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__description,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__button {
    opacity: 0;
    transform: translate3d(-52px, 0, 0);
    transition-property: opacity, transform;
    transition-duration: 0.58s, 1s;
    transition-timing-function: ease, cubic-bezier(0.22, 1, 0.36, 1);
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel--right .solutions-showcase__eyebrow,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel--right .solutions-showcase__title,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel--right .solutions-showcase__description,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel--right .solutions-showcase__button {
    transform: translate3d(52px, 0, 0);
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__eyebrow {
    transition-delay: 0.18s;
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__title {
    transition-delay: 0.28s;
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__description {
    transition-delay: 0.38s;
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__button {
    transition-delay: 0.5s;
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible::before,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__overlay,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__content::before,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__eyebrow,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__title,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__description,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__button {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__button {
    transition-delay: 0s;
}

.MarketCastSolutionsShowcase .solutions-showcase__button:hover,
.MarketCastSolutionsShowcase .solutions-showcase__button:focus,
.MarketCastSolutionsShowcase .solutions-showcase__button:focus-visible,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__button:hover,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__button:focus,
.MarketCastSolutionsShowcase.has-motion .solutions-showcase__panel.is-visible .solutions-showcase__button:focus-visible {
    color: #fff;
    opacity: 0.75;
    filter: brightness(0.94);
    transform: translate3d(0, -1px, 0) scale(1);
}

@media (max-width: 1024px) {
    .MarketCastSolutionsShowcase {
        --solutions-edge-padding: 40px;
        --solutions-frame-offset: 24px;
        --solutions-frame-radius: 44px;
        --solutions-content-pad-block: 24px;
        --solutions-content-pad-inline: 28px;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__panel {
        padding: 72px 0;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__content {
        width: min(100%, 460px);
    }

    .MarketCastSolutionsShowcase .solutions-showcase__title {
        font-size: clamp(34px, 4.2vw, 48px);
    }

    .MarketCastSolutionsShowcase .solutions-showcase__description {
        font-size: 15px;
        line-height: 1.46;
    }
}

@media (max-width: 900px) {
    .MarketCastSolutionsShowcase {
        --solutions-edge-padding: 24px;
        --solutions-frame-offset: 18px;
        --solutions-frame-radius: 34px;
        --solutions-content-pad-block: 22px;
        --solutions-content-pad-inline: 22px;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__panel {
        min-height: 0;
        padding: 48px 0;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__panel::before,
    .MarketCastSolutionsShowcase .solutions-showcase__panel--right::before {
        background-position: center center;
        background-size: cover;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__overlay,
    .MarketCastSolutionsShowcase .solutions-showcase__panel--right .solutions-showcase__overlay {
        background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--solutions-overlay-start) 84%, transparent) 0%,
            color-mix(in srgb, var(--solutions-overlay-start) 74%, transparent) 38%,
            color-mix(in srgb, var(--solutions-overlay-end) 66%, transparent) 100%
        );
    }

    .MarketCastSolutionsShowcase .solutions-showcase__inner,
    .MarketCastSolutionsShowcase .solutions-showcase__panel--right .solutions-showcase__inner {
        justify-content: stretch;
        min-height: 0;
        padding: 0 var(--solutions-edge-padding);
    }

    .MarketCastSolutionsShowcase .solutions-showcase__content {
        width: 100%;
        max-width: 100%;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__content::before,
    .MarketCastSolutionsShowcase .solutions-showcase__panel--right .solutions-showcase__content::before {
        right: calc(var(--solutions-frame-offset) * -1);
        left: calc(var(--solutions-edge-padding) * -1);
        border-right: 1px solid var(--solutions-frame-color);
        border-left: 0;
        border-top-right-radius: var(--solutions-frame-radius);
        border-bottom-right-radius: var(--solutions-frame-radius);
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__eyebrow {
        font-size: 13px;
        letter-spacing: 0.28em;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__title {
        font-size: clamp(32px, 6vw, 42px);
        line-height: 0.96;
    }
}

@media (max-width: 767px) {
    .MarketCastSolutionsShowcase {
        --solutions-edge-padding: 20px;
        --solutions-frame-offset: 18px;
        --solutions-frame-radius: 36px;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__panel {
        min-height: auto;
        background: #3f3dac;
        padding: 32px 0;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__panel::before {
        opacity: 1;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__overlay,
    .MarketCastSolutionsShowcase .solutions-showcase__panel--right .solutions-showcase__overlay {
        width: 100%;
        background: var(--solutions-overlay-gradient-mobile, var(--solutions-overlay-gradient));
    }

    .MarketCastSolutionsShowcase .solutions-showcase__inner,
    .MarketCastSolutionsShowcase .solutions-showcase__panel--right .solutions-showcase__inner {
        justify-content: stretch;
        min-height: auto;
        padding: 28px var(--solutions-edge-padding);
    }

    .MarketCastSolutionsShowcase .solutions-showcase__content {
        width: 100%;
        padding: 20px 18px 16px;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__content::before,
    .MarketCastSolutionsShowcase .solutions-showcase__panel--right .solutions-showcase__content::before {
        right: calc(var(--solutions-frame-offset) * -0.55);
        left: calc(var(--solutions-edge-padding) * -1);
        border-right: 1px solid var(--solutions-frame-color);
        border-left: 0;
        border-top-right-radius: var(--solutions-frame-radius);
        border-bottom-left-radius: 0;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__title {
        font-size: clamp(30px, 9vw, 40px);
    }

    .MarketCastSolutionsShowcase .solutions-showcase__description {
        font-size: 14px;
        line-height: 1.48;
    }

    .MarketCastSolutionsShowcase .solutions-showcase__button {
        min-height: 38px;
        margin-top: 20px;
        padding: 9px 18px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .MarketCastSolutionsShowcase .solutions-showcase__panel::before,
    .MarketCastSolutionsShowcase .solutions-showcase__overlay,
    .MarketCastSolutionsShowcase .solutions-showcase__content::before,
    .MarketCastSolutionsShowcase .solutions-showcase__eyebrow,
    .MarketCastSolutionsShowcase .solutions-showcase__title,
    .MarketCastSolutionsShowcase .solutions-showcase__description,
    .MarketCastSolutionsShowcase .solutions-showcase__button {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
