/**
 * Widget: block-html|white-card — block-html su sfondo bianco esteso.
 */

.block-html-white-card.bhwc {
    padding: var(--website-padding-top-bottom) 0;
    background: #fff;
}

main#primary.bkgWhite .block-html-white-card.bhwc {
    background: var(--icotea-body-bg);
}

.block-html-white-card .bhwc-inner {
    box-sizing: border-box;
}

.block-html-white-card .bhwc-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    /* align-items: center; */
}

/* Testo */
.block-html-white-card .bhwc-title {
    margin: 0;
    color: var(--icotea-dark-blue, #002B56);
    font-family: var(--icotea-font-heading);
    font-size: 1.875rem;   /* 30px */
    line-height: 1.25;
    font-weight: 700;
}
.block-html-white-card .bhwc-content {
    margin-top: 12px;
    color: #45556C;
    font-family: var(--icotea-font-body);
    font-size: 1rem;
    line-height: 1.625;
}
.block-html-white-card .bhwc-content :last-child {
    margin-bottom: 0;
}
.block-html-white-card .bhwc-content p {
    margin: 0 0 .75em;
}

/* Elenco con check */
.block-html-white-card .bhwc-content ul {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.block-html-white-card .bhwc-content li {
    position: relative;
    padding-left: 26px;
    color: #314158;
}
/*
.block-html-white-card .bhwc-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='.7' y='.7' width='14.6' height='14.6' rx='4' fill='%231F4FD1'/%3E%3Cpath d='M4.7 8.2l2.1 2.1 4.3-4.4' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
*/
/* Immagine */
.block-html-white-card .bhwc-media {
    border-radius: 16px;
    overflow: hidden;
}
.block-html-white-card .bhwc-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .block-html-white-card .bhwc-row {
        grid-template-columns: 1fr;
    }
    .block-html-white-card .bhwc-media {
        order: -1;
    }
}
@media (max-width: 767px) {
    .block-html-white-card.bhwc {
        padding: var(--website-padding-top-bottom-mini) 0;
    }
    .block-html-white-card .bhwc-title {
        font-size: 1.625rem;
    }
}
