/* ================================================================
   PSS Slider — slider.css
   Desktop: 3 card visibili | Mobile (≤768px): 1 card visibile
   ================================================================ */

.slider-wrapper {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    overflow: clip;
    overflow-clip-margin: 30px;
}

.slider-track-container {
    overflow: visible;
    width: 100%;
    max-width: 100%;
    position: relative;
    padding: 0px;
    margin: 0px;
    width: 100%;
    box-sizing: border-box;
}

.slider-track {
    display: flex;
    gap: 20px;
    align-items: stretch;
    padding: 0 0px;
}

/* ── Card group (wrapper card + button) ─────────────────────── */
.pss-card-group {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 16px;
}

/* ── Card content (è un <a>, reset decorazioni link) ────────── */
.pss-card-content {
 background: #c9d8ea;
    border-radius: 20px;
    padding: 30px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    text-decoration: none;
    color: inherit;
    border: 3px solid transparent;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pss-card-content:hover {

    transform: scale(105%);
    z-index: 10;
   
}



.pss-card-content:hover,
.pss-card-content:focus,
.pss-card-content:visited {
    text-decoration: none;
    color: inherit;
}

/* ── Label fase ─────────────────────────────────────────────── */
.pss-fase-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4a7ab5;
    margin-bottom: 10px;
}

/* ── Titolo ─────────────────────────────────────────────────── */
.pss-card-content h2 {
    color: #002659;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 16px;
    word-break: break-word;
    hyphens: auto;
    font-family: "Urbanist", Helvetica, Arial, Lucida, sans-serif;
    text-decoration: none;
}

/* ── Testo ──────────────────────────────────────────────────── */
.pss-card-content p {
    font-family: "Inter", Helvetica, Arial, Lucida, sans-serif;
    font-size: 15.4px;
    font-weight: 400;
    line-height: 23.1px;
    color: #002659;
    margin: 0;
    text-decoration: none;
}

/* ── Bottone ────────────────────────────────────────────────── */
.pss-card-btn {
    background: #99bee2;
    border-radius: 50px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #02275a;
    font-family: "Inter", Helvetica, Arial, Lucida, sans-serif;
    font-size: 15.4px;
    font-weight: 500;
    line-height: 26.18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.pss-card-btn:hover {
    background: #fff;
    color: #02275a;
    border-color: #02275a;
    text-decoration: none;
}

.pss-card-btn img {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ── Controls / Dots ────────────────────────────────────────── */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

#slider-pss-dots {
    display: flex;
    gap: 8px;
}

.pss-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b0bcd0;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
}

.pss-dot.pss-dot-active {
    background: #4a7ab5;
    transform: scale(1.3);
}

/* ================================================================
   RESPONSIVE — Mobile (≤ 768px): 1 sola card visibile
   ================================================================ */
@media (max-width: 768px) {

    .slider-track-container {
        padding: 20px;
        margin: -20px;
        width: calc(100% + 40px);
    }

 

    .pss-card-content {
        padding: 24px 20px;
    }

    .pss-card-content h2 {
        font-size: 1.7em;
        line-height: 1.2em;
    }

    .pss-card-content p {
        font-size: 14.5px;
        line-height: 22px;
    }

    .pss-card-btn {
        font-size: 13.5px;
        padding: 15px 20px;
    }
    .pss-card-group{
        padding: 0 16px !important; 
    }
}