/**
 * Widget: block-html|hsemanager-v1
 * Card dai figli, 2 per riga: dispari 2/3 (grigia) + pari 1/3 (bianca).
 */

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

/* Griglia 2/3 + 1/3, stessa altezza per riga */
.block-html-hsemanager-v1 .bhhm-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 24px;
    align-items: stretch;
}

.block-html-hsemanager-v1 .bhhm-card {
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* ---------------- Card larga (grigia) ---------------- */
.block-html-hsemanager-v1 .bhhm-card--wide {
    background: #E1E1EA;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.block-html-hsemanager-v1 .bhhm-card--wide .bhhm-card-title {
    margin: 0;
    color: var(--icotea-second-title);
    font-family: var(--icotea-font-heading);
    font-size: 2.625rem;   /* 42px */
    line-height: 1.143;    /* 48px */
    font-weight: 700;
}
.block-html-hsemanager-v1 .bhhm-card--wide .bhhm-card-content {
    color: #000;
    font-family: var(--icotea-font-body);
    font-size: 1.125rem;   /* 18px */
    line-height: 1.4;
}
.block-html-hsemanager-v1 .bhhm-card--wide .bhhm-card-content p { margin: 0 0 1em; }
.block-html-hsemanager-v1 .bhhm-card--wide .bhhm-card-content :last-child { margin-bottom: 0; }

/* Elenchi con spunta (cerchio bianco + check brand-blue) */
.block-html-hsemanager-v1 .bhhm-card--wide .bhhm-card-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.block-html-hsemanager-v1 .bhhm-card--wide .bhhm-card-content li {
    position: relative;
    padding-left: 36px;
    line-height: 1.4;
}
.block-html-hsemanager-v1 .bhhm-card--wide .bhhm-card-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.33 8.33l3 3 6.34-6.33' fill='none' stroke='%230148E2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

/* ---------------- Card stretta (bianca) ---------------- */
.block-html-hsemanager-v1 .bhhm-card--narrow {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    outline: 1px solid #E2E8F0;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}
.block-html-hsemanager-v1 .bhhm-card--narrow .bhhm-card-title {
    margin: 0;
    color: #3D3D6B;
    font-family: var(--icotea-font-heading);
    font-size: 1.5rem;     /* 24px */
    line-height: 1.25;     /* 30px */
    font-weight: 700;
}
.block-html-hsemanager-v1 .bhhm-card--narrow .bhhm-card-content {
    color: #62748E;
    font-family: var(--icotea-font-body);
    font-size: 1rem;
    line-height: 1.625;    /* ~22.75px */
}
.block-html-hsemanager-v1 .bhhm-card--narrow .bhhm-card-content p { margin: 0 0 1em; }
.block-html-hsemanager-v1 .bhhm-card--narrow .bhhm-card-content :last-child { margin-bottom: 0; }

.block-html-hsemanager-v1 .bhhm-card-content .badge {
    color: #000;
    text-align: left;
    font-weight: inherit;
    font-size: 1rem;
    line-height: 1.5;
    display: block;
    background-color: var(--icotea-jolly);
    padding: 1rem;
    white-space: normal;
}
.block-html-hsemanager-v1 .bhhm-card-content .badge strong{
    font-size: 1.125rem;
}

.block-html-hsemanager-v1 .bhhm-cta-helper{
    font-size: 0.875rem;
}

.block-html-hsemanager-v1 .bhhm-card-btn-container .btnStyle6,
.block-html-hsemanager-v1 .bhhm-card-btn-container .btnStyle7{
    text-transform: none;
    width: 100%;
    text-align:center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.block-html-hsemanager-v1 .bhhm-card-btn-container .btnStyle6{
    text-transform: uppercase;
}
/* Responsive: una colonna, card in ordine */
@media (max-width: 991px) {
    .block-html-hsemanager-v1 .bhhm-grid { grid-template-columns: 1fr; }
    .block-html-hsemanager-v1 .bhhm-card--wide .bhhm-card-title { font-size: 2rem; line-height: 1.15; }
}
@media (max-width: 767px) {
    .block-html-hsemanager-v1.bhhm { padding: var(--website-padding-top-bottom-mini) 0; }
    .block-html-hsemanager-v1 .bhhm-card--wide { padding: 28px; }
}
