/* Roster styles */
.Roster {
    margin: 20px 0;
}

.Roster h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: var(--primary-color);
}

.player-list {
    display: flex;
    flex-direction: column;
}

.player-row {
    display: grid;
    grid-template-columns: 80px 200px 50px 50px 50px 50px 100px 120px 120px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    gap: 10px;
}

.player-row img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.player-info h4 {
    margin: 0;
    font-size: 18px;
}

.player-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Staff Section Styling */
.Content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px; /* Ensures space around the entire content block */
}

.Staff {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px; /* Ensures spacing on both left and right */
}

.card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 2px 6px #394d6d;
}

.cms-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
}

.cms-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cms-text {
    flex-grow: 1;
}

.cms-text h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cms-text p {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

/* Responsive breakpoints */

/* Medium screens (tablets, 768px and below) */
@media (max-width: 768px) {
    .player-row {
        grid-template-columns: 60px 1fr; /* Scale down image and info layout */
        padding: 5px;
    }

    .player-row img {
        width: 60px;
        height: 60px;
    }

    .player-info h4 {
        font-size: 16px;
    }

    .player-info p {
        font-size: 12px;
    }

    .card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cms-text {
        text-align: center;
    }

    .Staff {
        padding: 0 10px; /* Reduce side padding on smaller screens */
    }
}

/* Small screens (mobile, 480px and below) */
@media (max-width: 480px) {
    .player-row {
        grid-template-columns: 50px 1fr;
        padding: 5px;
    }

    .player-row img {
        width: 50px;
        height: 50px;
    }

    .player-info h4 {
        font-size: 14px;
    }

    .player-info p {
        font-size: 10px;
    }

    .popup {
        width: 200px;
    }
}
