/**
 * Widget: block-html|simple-cards — intestazione + card immagine/titolo (3/riga).
 */

.block-html-simple-cards.bhsc {
    padding: var(--website-padding-top-bottom) 0;
}

.block-html-simple-cards .bhsc-inner {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

/* Intestazione */
.block-html-simple-cards .bhsc-head {
    max-width: 760px;
    margin-bottom: 32px;
}
.block-html-simple-cards.bhsc--align-center .bhsc-head {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.block-html-simple-cards .bhsc-subtitle {
    color: var(--icotea-brand-blue);
    font-family: var(--icotea-font-body);
    font-size: .875rem;   /* 14px — eyebrow */
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 8px;
}
.block-html-simple-cards .bhsc-title {
    margin: 0;
    color: var(--icotea-dark-blue, #002B56);
    font-family: var(--icotea-font-heading);
    font-size: 2.25rem;   /* 36px */
    line-height: 1.15;
    font-weight: 700;
}
.block-html-simple-cards .bhsc-content {
    margin-top: 16px;
    color: #45556C;
    font-family: var(--icotea-font-body);
    font-size: 1rem;
    line-height: 1.6;
}
.block-html-simple-cards .bhsc-content :last-child {
    margin-bottom: 0;
}

/* Griglia card */
.block-html-simple-cards .bhsc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Card */
.block-html-simple-cards .bhsc-card {
    min-width: 0;
    padding: 9px 10px;
    background: #fff;
    border-radius: 20px;
}
.block-html-simple-cards .bhsc-card-media {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 408 / 326;
    background: var(--icotea-jolly-2, #F4F6F9);
}
.block-html-simple-cards .bhsc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.block-html-simple-cards .bhsc-card-title {
    margin: 20px 0 12px;
    padding: 0 6px;
    color: var(--icotea-dark-blue, #002B56);
    font-family: var(--icotea-font-body);
    font-size: 1.75rem;   /* 28px */
    line-height: 1.07;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991px) {
    .block-html-simple-cards .bhsc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .block-html-simple-cards.bhsc {
        padding: var(--website-padding-top-bottom-mini) 0;
    }
    .block-html-simple-cards .bhsc-title {
        font-size: 1.75rem;
    }
}
@media (max-width: 575px) {
    .block-html-simple-cards .bhsc-grid {
        grid-template-columns: 1fr;
    }
}
