.bbd-branches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 100%;
}

.bbd-branches__card {
    background: #fff;
    border: 1px solid var(--ps-green-border, rgba(147, 178, 25, 0.28));
    border-radius: 8px;
    padding: 22px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bbd-branches__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.bbd-branches__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ps-green-soft, #f4f8e6);
    color: var(--brand-primary, var(--ps-green, #93b219));
    margin-bottom: 12px;
    font-size: 16px;
}

.bbd-branches__name {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.bbd-branches__address {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.bbd-branches__phones {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.bbd-branches__phones a {
    color: var(--brand-primary, var(--ps-green, #93b219));
}

.bbd-branches__phones a:hover {
    color: var(--brand-secondary, #6f8a12);
    text-decoration: underline;
}

.bbd-branches__map {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.bbd-branches__map:hover {
    color: var(--brand-primary, var(--ps-green, #93b219));
}

.bbd-branches__map i {
    font-size: 11px;
    margin-left: 4px;
}

.bbd-branches__empty {
    grid-column: 1 / -1;
    margin: 0;
    color: #666;
}

@media (max-width: 991px) {
    .bbd-branches {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .bbd-branches {
        grid-template-columns: 1fr;
    }
}
