/**
 * Widget: job-vacancy|block-html-work-references
 * Titolo + content + griglia di card cream (icona in cerchio outline in alto + testo
 * grande Erode in basso). Tutte le regole scopate sotto .job-vacancy-block-html-work-references.
 */

.job-vacancy-block-html-work-references {
    display: block;
    background: var(--website-color-light, #FFFAF0);
    padding: clamp(40px, 7vw, 96px) 0;
}
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-inner {
    max-width: var(--website-container-max-width, 1440px);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 56px);
}

/* Titolo / intro */
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-title {
    margin: 0;
    color: var(--website-color-txt-title, #3D3D3D);
    text-transform: uppercase;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.05;
}
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-intro {
    color: var(--website-color-txt-title, #3D3D3D);
    text-transform: uppercase;
    font-size: clamp(1.4rem, 2.4vw, 1.875rem);
    line-height: 1.2;
}
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-intro p { margin: 0; }

/* Griglia: 3 per riga */
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

/* Card cream con bordo */
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(48px, 8vw, 112px);
    min-height: clamp(300px, 24vw, 380px);
    padding: 24px;
    border-radius: 8px;
    background: var(--website-third, #FFF5E2);
    border: 1px solid rgba(61, 61, 61, 0.4);
}

/* Icona in cerchio outline */
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-icon {
    align-self: flex-start;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 1px solid rgba(61, 61, 61, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    /* Icone SVG con stroke bianco: ricolorate in scuro (#3D3D3D) per lo sfondo chiaro */
    filter: brightness(0) invert(0.24);
}

/* Testo */
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-text {
    margin: 0;
    color: var(--website-color-txt-title, #3D3D3D);
    font-size: clamp(1.4rem, 2.2vw, 1.875rem);
    line-height: 1.2;
}
.job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-sub {
    margin: 0;
    color: rgba(61, 61, 61, 0.8);
    font-size: 1rem;
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .job-vacancy-block-html-work-references .job-vacancy-block-html-work-references-grid { grid-template-columns: 1fr; }
}
