/* ==========================================================================
   Home page: promises section
   Mobile: stacked white cards. Desktop: a single dashed-border table —
   title row on top, a 2-then-3 asymmetric item grid below, cells divided
   by thin lines.
   ========================================================================== */

.home-promises {
    padding: 80px 0;
    background: var(--hpb-color-blue-light);
}

.home-promises__title {
    text-align: center;
}

.home-promises__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.home-promises__item {
    background: var(--hpb-color-white);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 12px;
}

.home-promises__icon {
    display: block;
    width: 32px;
    height: 32px;
}

.wrapper .home-promises__icon img,
.wrapper .home-promises__icon svg
.home-promises__icon img,
.home-promises__icon svg {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    vertical-align: top;
}

.home-promises__item-title {
    color: var(--hpb-color-dark);
}

@media (min-width: 992px) {
    .home-promises {
        padding: 128px 0;
    }

    .home-promises__items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 16px;
        grid-row-gap: 16px;
        margin-top: 32px;
    }

    .home-promises__item:nth-child(5n + 1) {
        grid-area: 1 / 1 / 2 / 2;
    }

    .home-promises__item:nth-child(5n + 2) {
        grid-area: 1 / 2 / 2 / 4;
    }

    .home-promises__item:nth-child(5n + 3) {
        grid-area: 2 / 1 / 3 / 2;
    }

    .home-promises__item:nth-child(5n + 4) {
        grid-area: 2 / 2 / 3 / 3;
    }

    .home-promises__item:nth-child(5n + 5) {
        grid-area: 2 / 3 / 3 / 4;
    }
}


@media (max-width: 750px) {
    .home-promises__title br {
        display: none;
    }
}
