﻿
.tp-br {
    padding: 0 0 26px 0;
}

.tp-br__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0 12px 0;
}

.tp-br__h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
    color: #111827;
}

.tp-br__meta {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    white-space: nowrap;
}

.tp-br__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    padding-top: 6px;
}

.tp-br__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(17,24,39,.06);
    transition: transform .12s ease, box-shadow .14s ease;
}

    .tp-br__card:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 34px rgba(17,24,39,.10);
    }

.tp-br__media {
    background: #f3f4f6;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .tp-br__media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        padding: 14px;
    }

        .tp-br__media img.is-fallback {
            opacity: .55;
            max-width: 70%;
        }

.tp-br__name {
    padding: 10px 10px 12px 10px;
    font-weight: 700;
    font-size: 13px;
    color: #111827;
    text-align: center;
    letter-spacing: -.01em;
}

.tp-br__empty {
    margin-top: 14px;
    border: 1px dashed rgba(17,24,39,.18);
    border-radius: 14px;
    background: rgba(17,24,39,.02);
    padding: 26px 16px;
    text-align: center;
    color: #6b7280;
    font-weight: 650;
}

@media (max-width: 1400px) {
    .tp-br__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .tp-br__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    .tp-br__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .tp-br__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tp-br__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
.tp-br {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    font-synthesis: none;
}

.tp-br__h1 {
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -.015em;
    font-weight: 700;
}

.tp-br__meta {
    font-size: 12px;
    font-weight: 400;
}

.tp-br__name {
    font-size: 13px;
    font-weight: 700;
}