/**
 * Widget: block-html|hsemanager-v2
 * Intestazione + card (icona/titolo/divisore/testo), 3 per riga uguali.
 */

.block-html-hsemanager-v2.bhhm2 {
    padding: var(--website-padding-top-bottom) 0;
    background-color: var(--icotea-bkg-uni);
}

/* Intestazione */
.block-html-hsemanager-v2 .bhhm2-head { margin: 0 0 32px; }
.block-html-hsemanager-v2 .bhhm2-head--center { text-align: center; }
.block-html-hsemanager-v2 .bhhm2-head--left   { text-align: left; }

.block-html-hsemanager-v2 .bhhm2-title {
    margin: 0;
    color: var(--icotea-second-title);
    font-family: var(--icotea-font-heading);
    font-size: 2.625rem;   /* 42px */
    line-height: 1.143;
    font-weight: 700;
}
.block-html-hsemanager-v2 .bhhm2-subtitle {
    margin: 8px 0 0;
    color: #62748E;
    font-family: var(--icotea-font-body);
    font-size: 1rem;
    line-height: 1.625;
}
.block-html-hsemanager-v2 .bhhm2-content {
    margin-top: 8px;
    color: #62748E;
    font-family: var(--icotea-font-body);
    font-size: 1rem;
    line-height: 1.625;
}
.block-html-hsemanager-v2 .bhhm2-content :last-child { margin-bottom: 0; }

/* Griglia 3/riga, card tutte uguali */
.block-html-hsemanager-v2 .bhhm2-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* Card */
.block-html-hsemanager-v2 .bhhm2-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
    height: 100%;
    min-width: 0;
    background: #fff;
    border-radius: 14px;
    outline: 1px solid #F1F5F9;
    outline-offset: -1px;
    padding: 28px;
    box-sizing: border-box;
}

/* Box icona */
.block-html-hsemanager-v2 .bhhm2-card-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: none;
    background: #EBEBF3;
    border-radius: 14px;
}
.block-html-hsemanager-v2 .bhhm2-card-ico img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.block-html-hsemanager-v2 .bhhm2-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: stretch;
}

.block-html-hsemanager-v2 .bhhm2-card-title {
    margin: 0;
    color: #696996;
    font-family: var(--icotea-font-heading);
    font-size: 1.125rem;   /* 18px */
    line-height: 1.222;    /* 22px */
    font-weight: 600;
}

.block-html-hsemanager-v2 .bhhm2-card-divider {
    display: block;
    height: 1px;
    width: 100%;
    background: #E2E8F0;
}

.block-html-hsemanager-v2 .bhhm2-card-text {
    color: #62748E;
    font-family: var(--icotea-font-body);
    font-size: 1rem;       /* 16px */
    line-height: 1.422;    /* ~22.75px */
}
.block-html-hsemanager-v2 .bhhm2-card-text :last-child { margin-bottom: 0; }

/* Desktop: contenuto al 70% (a sinistra), 30% libero a destra per l'indice */
@media (min-width: 1200px) {
    .block-html-hsemanager-v2 .bhhm2-head,
    .block-html-hsemanager-v2 .bhhm2-grid {
        width: 70%;
        margin-right: auto;
    }
}

@media (max-width: 991px) {
    .block-html-hsemanager-v2 .bhhm2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .block-html-hsemanager-v2 .bhhm2-title { font-size: 2rem; line-height: 1.15; }
}
@media (max-width: 575px) {
    .block-html-hsemanager-v2.bhhm2 { padding: var(--website-padding-top-bottom-mini) 0; }
    .block-html-hsemanager-v2 .bhhm2-grid { grid-template-columns: 1fr; }
}
