/* ── VS Zone Filter ─────────────────────────────────────────────────────────── */

/* Bootstrap utility usata dal filtro JS */
.d-none {
    display: none !important;
}

/* Wrapper */
.vs-zone-filter-wrap {
    width: 100%;
}

/* ── Barra filtro ──────────────────────────────────────────────────────────── */

.vs-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

/* Pulsanti filtro — stile btn-cta del sito produzione */
.vs-category-filter .btn-cta {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid currentColor;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--e-global-color-primary, #335575);
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.vs-category-filter .btn-cta:hover,
.vs-category-filter .btn-cta.active {
    background-color: var(--e-global-color-primary, #335575);
    color: #fff;
    text-decoration: none;
}

/* ── Griglia risultati ─────────────────────────────────────────────────────── */

.vs-zone-results {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

.vs-zone-results > [class*="col"] {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

/* Colonne Bootstrap-like */
.vs-zone-results > .col-sm-6 {
    width: 50%;
}

@media (min-width: 768px) {
    .vs-zone-results > .col-sm-6.col-md-4 {
        width: 33.3333%;
    }
}

@media (max-width: 599px) {
    .vs-zone-results > [class*="col"] {
        width: 100%;
    }
}

/* ── Card esperienza ────────────────────────────────────────────────────────── */

article.esperienza {
    display: block;
    height: 100%;
}

.esperienza__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    background: #fff;
}

.esperienza__link:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.esperienza__fig {
    margin: 0;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.esperienza__fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.esperienza__link:hover .esperienza__fig img {
    transform: scale(1.04);
}

.esperienza__title {
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    flex-grow: 1;
    color: var(--e-global-color-primary, #335575);
}
