.hlb-contact-cards-wrap {
    width: 100%;
    box-sizing: border-box;
    background: #f7f2ea;
}

.hlb-contact-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    box-sizing: border-box;
}

.hlb-contact-card {
    position: relative;
    min-width: 0;
    box-sizing: border-box;
    background: transparent;
}

.hlb-contact-card-inner {
    display: flex;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.hlb-contact-card:nth-child(n) .hlb-contact-card-inner {
    flex-direction: row;
}

.hlb-contact-card:last-child::after {
    display: none;
}

.hlb-contact-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-end: 0;
    width: 1px;
    height: 96px;
    transform: translateY(-50%);
    background: #d8cec0;
}

.hlb-contact-cards-wrap.hlb-no-dividers .hlb-contact-card::after,
.hlb-contact-cards-wrap.hlb-no-dividers .hlb-contact-card {
    border-bottom-color: transparent !important;
}

.hlb-contact-cards-wrap.hlb-no-dividers .hlb-contact-card::after {
    display: none !important;
}

.hlb-contact-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #633617;
    text-decoration: none;
    line-height: 1;
}

.hlb-contact-icon--svg svg {
    display: block;
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.hlb-contact-icon--image img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.hlb-contact-content {
    min-width: 0;
    flex: 1 1 auto;
}

.hlb-contact-title {
    margin: 0 0 12px;
    padding: 0;
    color: #17120f;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
}

.hlb-contact-text {
    margin: 0;
    padding: 0;
    color: #17120f;
    font-size: 16px;
    line-height: 1.65;
}

.hlb-contact-text p {
    margin: 0 0 .5em;
}

.hlb-contact-text p:last-child {
    margin-bottom: 0;
}

.hlb-contact-text a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .hlb-contact-card:not(:last-child)::after {
        display: none;
    }

    .hlb-contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hlb-contact-card {
        border-bottom: 1px solid #d8cec0;
    }

    .hlb-contact-card:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 767px) {
    .hlb-contact-cards {
        grid-template-columns: 1fr;
    }

    .hlb-contact-card {
        border-bottom: 1px solid #d8cec0;
    }

    .hlb-contact-card:last-child {
        border-bottom: 0;
    }
}

/* HLB v2.0 - individual card icon/image sizing */
.hlb-contact-icon { box-sizing:border-box; flex:0 0 auto; }
.hlb-contact-icon--image img { display:block; width:100% !important; height:100% !important; max-width:none !important; object-fit:contain; }
.hlb-contact-icon--svg svg { display:block; width:100% !important; height:100% !important; }
.hlb-contact-card.hlb-no-separator::after { display:none !important; }

/* HLB v2.1 - height only: width remains automatic and preserves aspect ratio */
.hlb-contact-icon--image img {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
}
.hlb-contact-icon--svg svg {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    aspect-ratio: auto;
}

/* HLB v2.2 - authoritative height-only sizing */
.hlb-contact-icon {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
}
.hlb-contact-icon--image {
    height: var(--hlb-unused, auto);
}
.hlb-contact-icon--image img {
    width: auto !important;
    max-width: none !important;
    height: 100% !important;
    display: block !important;
}
.hlb-contact-icon--svg {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
}
.hlb-contact-icon--svg svg {
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    display: block !important;
}
.hlb-contact-card.hlb-no-separator::after {
    display: none !important;
}

/* v2.3 - the slider controls the actual rendered asset */
.hlb-contact-icon--image img {
    width: auto !important;
    max-width: none !important;
}
.hlb-inline-svg {
    display: block !important;
    width: auto !important;
}
.hlb-inline-svg svg {
    display: block !important;
    width: auto !important;
    height: 100% !important;
    max-height: none !important;
}
