/* Mobile-only client trust and website showcase presentation. */

.website-showcase-mobile {
    display: none;
}

@media (max-width: 639px) {
    #kepercayaan-klien.mobile-showcase-ready .website-showcase-marquee {
        display: none;
    }

    #kepercayaan-klien.mobile-showcase-ready .website-showcase-mobile {
        display: block;
    }

    .website-showcase-mobile {
        width: 100%;
        overflow: hidden;
        padding: 4px 8px 0;
    }

    .website-showcase-mobile__stack {
        position: relative;
        width: 100%;
        max-width: 430px;
        height: min(82vw, 330px);
        margin: 0 auto;
        overflow: hidden;
    }

    .website-showcase-mobile .website-stack-card {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: calc(100% - 24px);
        max-width: 390px;
        flex: none;
        margin: 0;
        transform-origin: center bottom;
        will-change: transform, opacity;
        backface-visibility: hidden;
    }

    .website-showcase-mobile .website-stack-card:hover {
        border-color: rgba(226, 232, 240, 0.95);
        box-shadow: 0 10px 28px -8px rgba(15, 23, 42, 0.16);
    }

    .website-showcase-mobile .website-stack-card:hover .browser-body img {
        transform: none;
    }

    .website-showcase-mobile .browser-topbar {
        padding: 7px 9px;
    }

    .website-showcase-mobile .browser-body {
        aspect-ratio: 16 / 10;
    }

    .website-showcase-mobile .browser-caption {
        padding: 7px 10px;
    }

    .website-showcase-mobile .browser-caption-title {
        max-width: calc(100% - 62px);
        font-size: 10.5px;
    }

    .website-stack-card__lock {
        flex: none;
        color: #10b981;
        font-size: 5px;
        line-height: 1;
    }

    .website-stack-card__preview {
        display: inline-flex;
        flex: none;
        align-items: center;
        color: #03306e;
        font-size: 9px;
        font-weight: 700;
    }

    .client-trust-container {
        padding-right: 0;
        padding-left: 0;
    }

    .client-trust-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 8px;
        padding: 10px 0 0;
        overflow: visible;
        border-top: 0;
        border-bottom: 0;
        background: transparent;
    }

    .client-trust-label {
        justify-content: center;
        padding-right: 0;
        font-size: 10px;
        letter-spacing: 0.13em;
        text-align: center;
    }

    .client-trust-divider {
        display: none;
    }

    .client-trust-marquee-wrapper {
        width: 100%;
        flex: none;
        padding: 10px 0;
        border-top: 1px solid #eef2f7;
        border-bottom: 1px solid #eef2f7;
        background: #ffffff;
    }

    .client-trust-marquee-wrapper::before,
    .client-trust-marquee-wrapper::after {
        position: absolute;
        z-index: 2;
        top: 0;
        bottom: 0;
        width: 32px;
        content: '';
        pointer-events: none;
    }

    .client-trust-marquee-wrapper::before {
        left: 0;
        background: linear-gradient(to right, #ffffff 18%, rgba(255, 255, 255, 0));
    }

    .client-trust-marquee-wrapper::after {
        right: 0;
        background: linear-gradient(to left, #ffffff 18%, rgba(255, 255, 255, 0));
    }

    .client-logo-clean-item {
        width: 124px;
        height: 58px;
        padding: 0 15px;
    }

    .client-logo-clean-item img {
        width: auto;
        height: 44px;
        max-width: 94px;
    }
}
