/* ===== Houses ===== */

.bc-houses {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: var(--pad-big);
    box-shadow: var(--shadow);
}

.bc-houses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

/* карточка дома */
.bc-house-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: 44px auto;   /* ✅ первый ряд всегда 44px */
    gap: 10px;

    align-items: stretch;            /* ✅ не центрируем по высоте */
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--black-100);
    transition: transform 120ms ease, background 120ms ease, opacity 120ms ease;
}

.bc-house-num,
.bc-house-body{
    align-self: center;              /* ✅ центрируем только элементы, не весь grid */
}

.bc-house-card:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.06);
}

.bc-house-num {
    width: 44px;
    height: 44px;
    border-radius: 14px;

    display: grid;
    place-items: center;

    font-family: var(--mono);
    font-weight: 800;
    font-size: 14px;
    color: var(--black-1000);

    background: rgba(0, 0, 0, 0.06);
}

.bc-house-body {
    min-width: 0;
}

.bc-house-sign {
    font-weight: 800;
    font-size: 14px;
    color: var(--black-1000);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bc-house-deg {
    margin-top: 2px;
    font-family: var(--mono);
    font-size: 12px;
    white-space: nowrap;
}

.bc-house-card .bc-house-explain{
    grid-column: 1 / -1;

    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--black-300);
    font-size: 13px;
    line-height: 1.45;
}

