﻿/* PAGE */
.tr-list {
    padding: 70px 0;
    background: linear-gradient(180deg,#f7f9ff,#ffffff);
}

.container {
    max-width: 1180px;
}

/* HEADER */
.tr-head {
    text-align: center;
    margin-bottom: 40px;
}

    .tr-head h1 {
        margin: 0 0 6px;
        font-size: 32px;
        font-weight: 900;
    }

    .tr-head p {
        color: #6c7280;
    }

/* GRID */
.tr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(310px,1fr));
    gap: 26px;
}

/* CARD */
.tr-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 22px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 20px 50px rgba(0,0,0,.06);
    transition: .25s ease;
    display: flex;
    flex-direction: column;
}

    .tr-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 70px rgba(0,0,0,.12);
    }

/* BADGES */
.tr-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.b {
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef1ff;
    color: #3c47c8;
    font-size: 12px;
    font-weight: 600;
}

    .b.hot {
        background: #fff2ee;
        color: #e24d2e;
    }

/* TITLE */
.tr-card h3 {
    margin: 4px 0 10px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

/* TRAINER */
.tr-trainer {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 8px 0 12px;
}

    .tr-trainer img {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 10px 20px rgba(0,0,0,.12);
    }

    .tr-trainer span {
        font-weight: 600;
    }

/* INFO */
.tr-info {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    gap: 6px;
    color: #6f6f6f;
    font-size: 13px;
}

/* FOOTER */
.tr-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.btn-main {
    background: #2d47ff;
    color: #fff;
    padding: 9px 16px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}

    .btn-main:hover {
        background: #1a30e5;
    }

/* EMPTY STATE */
.tr-empty {
    text-align: center;
    color: #777;
    margin-top: 30px;
}
