/* Phase 2 (CNT-04 / D-08): Coach card grid — scoped .qort-coach-card-* classes.
   Loaded conditionally on is_front_page() || is_post_type_archive('coach') per D-09.
   Depends on: coaches-placeholder.css (provides .qort-coaches-placeholder fallback).
*/

.qort-coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.qort-coach-card {
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.qort-coach-card__avatar {
    position: relative;
    border-top: 4px solid #0062FF; /* brand bar */
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.qort-coach-card__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qort-coach-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.qort-coach-card__specialization {
    display: inline-block;
    background: #0062FF;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
}

.qort-coach-card__name {
    font-family: 'Futura', 'Barlow Condensed Bold', 'Arial Black', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #111111;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.qort-coach-card__excerpt {
    font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #BABABA;
    margin: 0;
    line-height: 1.5;
}

.qort-coach-card__pending-tag {
    display: inline-block;
    font-size: 12px;
    color: #BABABA;
    border: 1px solid #E3E3E3;
    border-radius: 4px;
    padding: 2px 8px;
    font-family: Helvetica, Arial, sans-serif;
}

.qort-coach-card__price {
    font-weight: 700;
    font-size: 15px;
    color: #111111;
    font-family: Helvetica, Arial, sans-serif;
}

/* Responsive: single column on small screens */
@media (max-width: 480px) {
    .qort-coach-grid {
        grid-template-columns: 1fr;
    }
}
