.trainers-card {
    margin-top: 24px;
    background: #ffffff;
    border: 1px solid rgba(11, 18, 32, .10);
    border-radius: 24px;
    box-shadow: 0 10px 26px rgba(11, 18, 32, .08);
    padding: 20px;
}

.trainers-card__head {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.trainers-card__title {
    margin: 0;
    font-weight: 900;
    font-size: 18px;
    color: #0b2a4a;
}

.tmCertTitle {
    margin: 18px 0 8px;
    font-weight: 900;
    color: #0b2a4a;
}

.tmCertList {
    margin: 0;
    padding-right: 18px;
    font-weight: 700;
    color: #334155;
    line-height: 2;
}

.tmCertList li {
    margin-bottom: 4px;
}

.trainers-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 4px 12px;
    scroll-behavior: smooth;
}

.trainers-track::-webkit-scrollbar {
    height: 6px;
}

.trainers-track::-webkit-scrollbar-thumb {
    background: rgba(11, 18, 32, .25);
    border-radius: 20px;
}

.trainer-card {
    flex: 0 0 auto;
    width: 240px;
    border-radius: 20px;
    border: 1px solid rgba(11, 18, 32, .10);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(11, 18, 32, .07);
    text-decoration: none;
    color: inherit;
    transition: .2s ease;
    cursor: pointer;
}

.trainer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(11, 18, 32, .15);
    border-color: rgba(21, 94, 154, .35);
}



.trainer-card__img {
    height: 190px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: rgba(21, 94, 154, .08);
    padding: 10px;
}

.trainer-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;

    object-position: 50% 0%;

    display: block;
}

.trainer-card__body {
    padding: 14px;
    text-align: center;
}

.trainer-card__name {
    font-weight: 900;
    font-size: 15px;
    color: #0b1220;
}

.trainer-card__role {
    margin-top: 6px;
    font-weight: 800;
    font-size: 13px;
    color: #64748b;
}

.trainer-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;

    justify-content: center;

    padding: 20px;
}

.trainer-modal.is-open {
    display: flex;
}

.trainer-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, 0.75);
    backdrop-filter: blur(4px);
}

.trainer-modal__panel {
    position: relative;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(11, 18, 32, 0.25);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;

    overflow-y: auto;

    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.trainer-modal__close {
    position: absolute;
    top: 14px;
    left: 14px;
    border: 0;
    background: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    border: 1px solid rgba(11, 18, 32, .12);
}

.trainer-modal__content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px;
}

.trainer-modal__img {
    width: 260px;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(21, 94, 154, .08);
}

.trainer-modal__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    display: block;
}

.trainer-modal__info {
    flex: 1;
    min-width: 240px;
    padding: 0 16px;
}

.trainer-modal__info h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 900;
    color: #0b2a4a;
}

.tmRole {
    font-weight: 900;
    color: #155e9a;
    margin-bottom: 12px;
}

.tmBio {
    font-weight: 700;
    color: #334155;
    line-height: 2;
}

.trainers-track {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.trainer-card {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.trainer-card__img {
    padding: 0;

    height: 190px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: rgba(21, 94, 154, .08);
}

.trainer-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    object-position: 50% 15%;

    display: block;
}

@media(max-width:576px) {
    .trainer-card {
        width: 170px;
    }

    .trainer-card__img {
        height: 140px;
    }

    .trainer-modal {
        padding: 15px;

        align-items: center;

        justify-content: center;

    }

    .trainer-modal__panel {
        max-height: 80vh;

        max-width: 95%;

        margin: 0;

    }

    .trainer-modal__panel::-webkit-scrollbar {
        width: 4px;
    }

    .trainer-modal__panel::-webkit-scrollbar-thumb {
        background: rgba(11, 18, 32, 0.2);
        border-radius: 999px;
    }
}