/**
 * Widget: block-html|step-v02
 * Sezione full-width con immagine di sfondo + overlay; titolo e 3 card (figli del
 * Blocco HTML) sovraesposti, allineati a sinistra nel container.
 * Tutte le regole scopate sotto .block-html-step-v02.
 */

.block-html-step-v02 {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: clamp(620px, 80vh, 813px);
    padding: clamp(48px, 8vh, 96px) 0;
    overflow: hidden;
    background: #1C1917;
}

/* Sfondo */
.block-html-step-v02 .block-html-step-v02-bg { position: absolute; inset: 0; z-index: 0; }
.block-html-step-v02 .block-html-step-v02-bg picture { display: block; width: 100%; height: 100%; }
.block-html-step-v02 .block-html-step-v02-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.block-html-step-v02 .block-html-step-v02-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: rgba(12, 10, 9, 0.60);
}

/* Contenuto */
.block-html-step-v02 .block-html-step-v02-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--website-container-max-width, 1440px);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 56px);
}
.block-html-step-v02 .block-html-step-v02-head {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 20px);
    max-width: 720px;
}
.block-html-step-v02 .block-html-step-v02-title {
    margin: 0;
    color: var(--website-color-white, #fff);
    text-transform: uppercase;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.05;
}
.block-html-step-v02 .block-html-step-v02-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

/* Card (cream) */
.block-html-step-v02 .block-html-step-v02-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.block-html-step-v02 .block-html-step-v02-card {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 96px);
    padding: 24px;
    border-radius: 8px;
    background: var(--website-third, #FFF5E2);
    color: var(--website-color-txt-title, #3D3D3D);
}
.block-html-step-v02 .block-html-step-v02-card-title {
    margin: 0;
    color: var(--website-color-txt-title, #3D3D3D);
    text-transform: uppercase;
    font-weight: 400;
    font-size: clamp(1.4rem, 2vw, 1.875rem);
    line-height: 1.1;
}
.block-html-step-v02 .block-html-step-v02-card-text {
    color: rgba(61, 61, 61, 0.8);
    font-size: 0.95rem;
    line-height: 1.45;
}
.block-html-step-v02 .block-html-step-v02-card-text p { margin: 0 0 0.6rem; }
.block-html-step-v02 .block-html-step-v02-card-text p:last-child { margin-bottom: 0; }

@media (max-width: 767.98px) {
    .block-html-step-v02 .block-html-step-v02-grid { grid-template-columns: 1fr; }
}
