/* put our new custom CSS here for the marketing site */

.user-grid {
    display: grid;
    gap: 24px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 480px) {
    .user-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .user-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .user-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.user-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
    border: .5px solid #000;
}

.user-card a {
    text-decoration: none;
    color: inherit;
}

.user-card-info {
    padding: 16px;
}

.user-card-info h3 {
    font-size: 27px;
    color: #000;
    margin: 0;
    text-transform: initial !important;
}

.user-card-info h6 {
    margin: 4px 0 0;
    font-size: 1.1rem;
    font-weight: normal;
    color: #555;
}

.user-photo-wrapper {
    aspect-ratio: 1 / 1;
    height: 400px;
    width: 100%;
    overflow: hidden;
}

.user-photo {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.user-photo.top {
    background-position: center top;
}

.user-card a:hover .user-photo {
    transform: scale(1.08);
}

/* below used by staff.php and dancer.php pages */
.hero-trainer {
    height: 100vh;
    position: absolute;
    inset: 0%;
    top: 90px !important;
}

.hero-trainer.full {
    z-index: 10;
    width: 100%;
    height: 100%;
    inset: auto;
}

.hero-trainer-photo {
    background-image: url("../images/background-image.svg");
    background-position: 50% 0;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}
