/* Shared Simpless process presentation, following the existing Zlín service page. */
#smpls-editor-content .smpls-process-section {
    --smpls-process-surface: color-mix(in srgb, hsl(var(--smplsColorPrimary-hsl)) 9%, #fff);
    background-color: var(--smpls-process-surface);
    background-image: linear-gradient(color-mix(in srgb, var(--smpls-process-surface) 96%, transparent), color-mix(in srgb, var(--smpls-process-surface) 96%, transparent)), url('/artwork/process-mark-gray.svg');
    background-blend-mode: normal;
    background-position: center;
    background-size: cover;
    padding-block: clamp(64px, 7vw, 112px);
}

.dark #smpls-editor-content .smpls-process-section,
#smpls-editor-content .-dark.smpls-process-section {
    --smpls-process-surface: color-mix(in srgb, hsl(var(--smplsColorPrimary-hsl)) 14%, hsl(var(--smplsColorGray800-hsl)));
}

#smpls-editor-content .smpls-process-section :is(.sc-section-heading, .industry-section-heading, .wnm-heading-center) {
    max-width: 1050px;
    margin: 0 auto 56px;
    text-align: center;
}

#smpls-editor-content .smpls-process-section :is(.sc-section-heading, .industry-section-heading) p {
    margin-inline: auto;
}

#smpls-editor-content .smpls-process:not(.smpls-box),
#smpls-editor-content .smpls-process > .smpls-box-content {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 48px !important;
    align-items: start !important;
}

#smpls-editor-content .smpls-process-step {
    position: relative;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    text-align: center;
}

#smpls-editor-content .smpls-process-step > .smpls-box-content {
    display: block !important;
    height: auto !important;
}

#smpls-editor-content .smpls-process-obsolete {
    display: none !important;
}

#smpls-editor-content .smpls-process-icon {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    margin: 0 auto 32px;
    border-radius: 16px;
    background: hsl(var(--smplsColorPrimary-hsl));
    color: #fff;
    font-size: 46px;
    line-height: 1;
    box-shadow: 0 12px 24px #0002;
}

#smpls-editor-content .smpls-process-icon i {
    color: inherit;
    font-weight: 200;
    line-height: 1;
}

#smpls-editor-content .smpls-process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 53px;
    left: calc(100% + 24px);
    width: min(192px, calc(100% - 128px));
    transform: translateX(-50%);
    height: 9px;
    background: radial-gradient(circle, hsl(var(--smplsColorGray400-hsl)) 2.5px, transparent 3.5px) left center / 24px 9px repeat-x;
    mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
    pointer-events: none;
}

#smpls-editor-content .smpls-process-step h3 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 650;
    line-height: 1.4;
}

#smpls-editor-content .smpls-process-step [data-widget_type="heading"] {
    text-align: center;
    justify-content: center;
}

#smpls-editor-content .smpls-process-step p {
    max-width: 520px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.75;
}

#smpls-editor-content .smpls-process-section :is(.industry-caption, .wnm-fineprint) {
    margin-top: 32px;
    text-align: center;
}

#smpls-editor-content .smpls-process-step .wnm-step-detail {
    align-self: center;
    margin: 18px auto 0;
}

@media (max-width: 767px) {
    #smpls-editor-content .smpls-process:not(.smpls-box),
    #smpls-editor-content .smpls-process > .smpls-box-content {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 44px !important;
    }

    #smpls-editor-content .smpls-process-step:not(:last-child)::after {
        display: none;
    }

    #smpls-editor-content .smpls-process-icon {
        width: 88px;
        height: 88px;
        font-size: 38px;
        margin-bottom: 24px;
    }

    #smpls-editor-content .smpls-process-step h3 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    #smpls-editor-content .smpls-process-icon i {
        transition: transform .3s ease;
    }

    #smpls-editor-content .smpls-process-step:is(:hover, :focus-within) .smpls-process-icon i {
        transform: rotate(-8deg) scale(1.06);
    }
}
