/* Teams Grid & Carousel Cards */
.mso-team-card {
    background: #1b3a52; /* Dark blue */
    color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.mso-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Team Logo - Big like Player Grid */
.mso-team-logo img {
    width: 100%;
    height: auto;
    max-height: 100%; /* matches Player Grid size */
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    border-radius: 12px; /* match card */
}

/* Team Name */
.mso-team-name {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    margin: 0;
    color: #ffffff;
}

/* Grid Layout */
.mso-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 991px) {
    .mso-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .mso-team-grid {
        grid-template-columns: 1fr;
    }
}

/* Carousel Layout */
.mso-team-carousel .swiper-slide {
    display: flex;
    justify-content: center;
}

.mso-team-carousel .swiper-button-next,
.mso-team-carousel .swiper-button-prev {
    color: #ffffff;
    background: #1b3a52;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.3s ease;
}

.mso-team-carousel .swiper-button-next:hover,
.mso-team-carousel .swiper-button-prev:hover {
    background: #14314a;
}

/* Pagination styling */
.mso-pagination {
    text-align: center;
    margin-top: 20px;
}
.mso-pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background: #1b3a52;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}
.mso-pagination .page-numbers:hover,
.mso-pagination .current {
    background: #000000;
}