/**
 * Wyświetlaj koty — domyślne style
 * Nadpisywalne przez kontrolki Elementora (wyższa specyficzność via {{WRAPPER}})
 */

/* === Siatka kafelków === */
.ba-cat-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

/* === Kafelek === */
.ba-cat-tile {
    display: block;
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-cat-tile:hover {
    transform: translateY(-3px);
}

/* === Zdjęcie — kadrowanie do kwadratu === */
.ba-cat-tile-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* === Placeholder gdy brak miniaturki === */
.ba-cat-tile-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.85em;
}

/* === Tytuł === */
.ba-cat-tile-title {
    padding: 12px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1em;
    color: #2c3e50;
    line-height: 1.3;
}

/* === Responsywność === */
@media (max-width: 767px) {
    .ba-cat-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}
