/**
 * Widget: job-vacancy|block-html-n-cards-small
 * Card scure (icona frosted in alto + titolo in basso) centrate; numero variabile
 * (figli del Blocco HTML). Tutte le regole scopate sotto .job-vacancy-block-html-n-cards-small.
 */

.job-vacancy-block-html-n-cards-small {
    display: block;
    background: var(--website-third, #FFF5E2);
    padding: clamp(32px, 5vw, 56px) 28px;
}
.job-vacancy-block-html-n-cards-small .job-vacancy-block-html-n-cards-small-grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: var(--website-container-max-width, 1440px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Card scura */
.job-vacancy-block-html-n-cards-small .job-vacancy-block-html-n-cards-small-card {
    flex: 1 1 300px;
    max-width: 384px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(40px, 7vw, 110px);
    min-height: clamp(280px, 24vw, 360px);
    padding: 24px;
    border-radius: 8px;
    background: var(--website-color-dark, #4E4B4A);
    color: var(--website-color-white, #fff);
}

/* Icona frosted */
.job-vacancy-block-html-n-cards-small .job-vacancy-block-html-n-cards-small-icon {
    align-self: flex-start;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.job-vacancy-block-html-n-cards-small .job-vacancy-block-html-n-cards-small-icon-img { width: 24px; height: 24px; object-fit: contain; display: block; }

/* Titolo */
.job-vacancy-block-html-n-cards-small .job-vacancy-block-html-n-cards-small-title {
    margin: 0;
    color: var(--website-color-white, #fff);
    text-transform: uppercase;
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
    min-height: 4ch;
}

@media (max-width: 575.98px) {
    .job-vacancy-block-html-n-cards-small .job-vacancy-block-html-n-cards-small-card { flex-basis: 100%; max-width: none; }
}
