/* BHC Kafelki salonów – wszystkie reguły ograniczone do własnego bloku. */
.bhcsg-block,
.bhcsg-block * { box-sizing: border-box; }

.bhcsg-block .bhcsg-list {
    display: grid;
    grid-template-columns: repeat(var(--bhcsg-cols, 4), minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bhcsg-block .bhcsg-card {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bhcsg-block .bhcsg-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 390px;
    padding: 10px 15px 20px 15px;
    background: #fff;
    color: #0f1210;
    border-radius: 14px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .02);
    transition: transform .18s ease, box-shadow .18s ease;
}

.bhcsg-block .bhcsg-card__link:hover,
.bhcsg-block .bhcsg-card__link:focus-visible {
    color: #0f1210;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(0, 0, 0, .1);
}

.bhcsg-block .bhcsg-card__link,
.bhcsg-block .bhcsg-card__link *,
.bhcsg-block .bhcsg-card__link:hover *,
.bhcsg-block .bhcsg-card__link:focus-visible * {
    text-decoration: none !important;
}

.bhcsg-block .bhcsg-card__link:focus-visible {
    outline: 3px solid #476146;
    outline-offset: 3px;
}

.bhcsg-block .bhcsg-card__logo {
    flex: 0 0 127px;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.bhcsg-block .bhcsg-card__logo-img {
    display: block;
    max-width: 100%;
    max-height: 122px;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.bhcsg-block .bhcsg-card__title {
    margin: 5px 0 12px;
    padding: 0;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    color: #101510;
    overflow-wrap: anywhere;
}

.bhcsg-block .bhcsg-card__pavilion {
    margin: 0 0 14px;
    padding: 0;
    color: #111;
    font-size: 16px;
    line-height: 1.4;
}


.bhcsg-block .bhcsg-empty { margin: 0; padding: 14px 0; }

@media (max-width: 1024px) {
    .bhcsg-block .bhcsg-list {
        grid-template-columns: repeat(var(--bhcsg-tablet-cols, 2), minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .bhcsg-block .bhcsg-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .bhcsg-block .bhcsg-card__link { min-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
    .bhcsg-block .bhcsg-card__link { transition: none; }
    .bhcsg-block .bhcsg-card__link:hover { transform: none; }
}
