.pss-slider {
    --pss-height: 520px;
    position: relative;
    width: 100%;
    height: var(--pss-height);
    min-height: 220px;
    overflow: hidden;
    border-radius: 22px;
    background: #111827;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
    isolation: isolate;
}

.pss-track {
    position: relative;
    height: 100%;
    width: 100%;
}

.pss-slide {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.pss-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.pss-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(2, 6, 23, .72) 0%, rgba(2, 6, 23, .36) 48%, rgba(2, 6, 23, .10) 100%);
}

.pss-content {
    position: absolute;
    z-index: 3;
    left: clamp(22px, 6vw, 76px);
    right: clamp(22px, 14vw, 140px);
    bottom: clamp(42px, 10vw, 96px);
    max-width: 720px;
    color: #fff;
}

.pss-content h2 {
    margin: 0 0 12px;
    padding: 0;
    font-size: clamp(28px, 4.4vw, 58px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.035em;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}

.pss-content p {
    margin: 0 0 22px;
    max-width: 620px;
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.65;
    color: rgba(255, 255, 255, .92);
}

.pss-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pss-button:hover,
.pss-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .26);
}

.pss-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,.20);
    transition: background .2s ease, transform .2s ease;
}

.pss-arrow:hover,
.pss-arrow:focus {
    background: #fff;
    transform: translateY(-50%) scale(1.04);
}

.pss-prev {
    left: 18px;
}

.pss-next {
    right: 18px;
}

.pss-arrow span {
    font-size: 24px;
    line-height: 1;
}

.pss-dots {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .25);
    backdrop-filter: blur(7px);
}

.pss-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.pss-dot.is-active {
    width: 28px;
    background: #fff;
}

.pss-slider[data-animation="fade"] .pss-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .72s ease, visibility .72s ease;
}

.pss-slider[data-animation="fade"] .pss-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.pss-slider[data-animation="fade"] .pss-slide.is-active .pss-slide-image {
    animation: pssZoom 6s ease forwards;
}

.pss-slider[data-animation="fade"] .pss-slide.is-active .pss-content {
    animation: pssTextUp .72s ease both;
}

.pss-slider[data-animation="slide"] .pss-track {
    display: flex;
    transition: transform .68s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.pss-slider[data-animation="slide"] .pss-slide {
    position: relative;
    flex: 0 0 100%;
}

@keyframes pssZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

@keyframes pssTextUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.pss-empty-notice {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 10px;
    color: #334155;
}

@media (max-width: 782px) {
    .pss-slider {
        height: min(var(--pss-height), 420px);
        border-radius: 16px;
    }

    .pss-overlay {
        background: linear-gradient(180deg, rgba(2, 6, 23, .18) 0%, rgba(2, 6, 23, .72) 100%);
    }

    .pss-content {
        left: 20px;
        right: 20px;
        bottom: 62px;
        max-width: none;
    }

    .pss-content h2 {
        font-size: clamp(24px, 8vw, 38px);
        line-height: 1.1;
    }

    .pss-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .pss-arrow {
        width: 38px;
        height: 38px;
    }

    .pss-prev {
        left: 10px;
    }

    .pss-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .pss-slider {
        height: 360px;
    }

    .pss-content p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pss-button {
        min-height: 40px;
        padding: 0 16px;
        font-size: 14px;
    }
}
