.team-page {
    min-height: 100vh;
    position: relative;
}

.team-hero-image {
    position: absolute;
    top: 0;
    height: 100vh;
    width: 100%;
}

.team-section {
    padding: 8rem 0.5rem;
    position: relative;
}



@media (min-width: 768px) {
    .team-section {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.team-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1536px) {
    .team-container {
        max-width: 1536px;
    }
}


.team-tab-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 0;
}

.team-tab-bar {
    background-color: #E1EEFF;
    border-radius: 9999px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: fit-content;
    align-items: center;
    font-family: Ninetea, sans-serif;
}

.team-tab-btn {
    padding: 0.5rem 0.5rem;
    border-radius: 9999px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

@media (min-width: 768px) {
    .team-tab-btn {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.team-tab-btn--active {
    background-color: #192A54;
    color: #fff;
}

.team-tab-btn--nowrap {
    white-space: nowrap;
}


.team-filter-row {
    align-items: center;
    width: 100%;
}

.team-filter-end {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.team-desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .team-desktop-only {
        display: block;
    }
}

.team-dropdown-btn {
    background-color: #04AEF8;
    border-radius: 0.5rem;
    width: 11rem;
    padding: 0.5rem 0.75rem;
    justify-content: space-between;
    align-items: center;
    border: none;
    cursor: pointer;
    text-align: left;
}

.team-dropdown-btn--desktop {
    display: none;
}

@media (min-width: 768px) {
    .team-dropdown-btn--desktop {
        display: flex;
    }
}

.team-dropdown-btn--mobile {
    display: flex;
}

.team-dropdown-label {
    display: flex;
    flex-direction: column;
}

.team-dropdown-tab-text {
    color: #fff;
    font-size: 0.75rem;
    line-height: 1rem;
    font-family: Ninetea, sans-serif;
}

.team-dropdown-season-text {
    color: #000C3A;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-family: Ninetea, sans-serif;
    font-weight: 700;
}

.team-dropdown-arrow-wrap {
    margin-left: 1.25rem;
}

.team-dropdown-icon {
    font-size: 0.875rem;
}


.team-dropdown-menu {
    z-index: 10;
    background-color: #fff;
    position: absolute;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    width: 11rem;
    font-family: Ninetea, sans-serif;
}

.team-dropdown-menu--mobile {
    z-index: 20;
    background-color: #fff;
    position: absolute;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    width: 100%;
    margin-top: 0.5rem;
    left: 0;
    overflow: hidden;
    font-family: Ninetea, sans-serif;
}

.team-dropdown-list {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #374151;
    list-style: none;
    margin: 0;
}

.team-dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.team-dropdown-item:hover {
    background-color: #f3f4f6;
}


.team-mobile-only {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .team-mobile-only {
        display: none;
    }
}

.team-mobile-dropdown-wrap {
    position: relative;
    width: 100%;
    max-width: 20rem;
}


.team-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.team-spinner {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border-top: 2px solid #192A54;
    border-bottom: 2px solid #192A54;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    animation: team-spin 1s linear infinite;
}

@keyframes team-spin {
    to {
        transform: rotate(360deg);
    }
}


.team-category {
    margin-top: 2.5rem;
}

.team-section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: GamarasaRound;
}

.team-role-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: GamarasaRound;
}

.team-role-title--sm {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: GamarasaRound;
}


.team-player-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

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

@media (min-width: 1025px) {
    .team-player-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-staff-grid {
    display: grid;
    gap: 1.25rem;
}


.team-card-border {
    padding: 1px;
    width: 100%;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom, #40CCFF, #E5EBFF);
}

.team-card-inner {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #C3EDF8, #FFFFFF, #fffaed);
    width: 100%;
    border-radius: 10px;
    gap: 0.75rem;
    position: relative;
}

@media (min-width: 768px) {
    .team-card-inner {
        background: transparent;
    }
}

.team-card-media {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
}

.team-card-badge {
    position: absolute;
    background-color: rgba(54, 211, 255, 0.8);
    width: 35px;
    height: 35px;
    color: #000C3A;
    border-radius: 9999px;
    top: 0;
    left: 0;
    font-family: GamarasaRound;
    padding: 0.5rem;
    margin: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    border: 1px solid #fff;
    z-index: 1;
}

@media (min-width: 768px) {
    .team-card-badge {
        width: 50px;
        height: 50px;
        font-size: 1.875rem;
    }
}

.team-card-badge--hidden {
    display: none;
}

.team-card-bg {
    border-radius: 0.75rem;
    width: 100%;
    height: 100%;
}

.team-card-logo {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 33.333%;
}

.team-card-player-wrap {
    position: absolute;
    bottom: 0.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.team-card-player-img {
    width: 70%;
}

.team-card-player-img--lg {
    width: 80%;
}

.team-card-info-wrap {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.5rem;
}

.team-card-info {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 0.25rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-card-name {
    font-family: GamarasaRound;
    font-size: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.75rem;
}

@media (min-width: 768px) {
    .team-card-name {
        font-size: 1rem;
        line-height: 1.25rem;
    }
}

@media (min-width: 1025px) {
    .team-card-name {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
}

.team-card-name--base {
    font-family: GamarasaRound;
    font-size: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.75rem;
}

@media (min-width: 768px) {
    .team-card-name--base {
        font-size: 1rem;
        line-height: 1.25rem;
    }
}

.team-card-name--lg {
    font-family: GamarasaRound;
    font-size: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.75rem;
}

@media (min-width: 768px) {
    .team-card-name--lg {
        font-size: 1rem;
        line-height: 1.25rem;
    }
}

.team-card-link {
    font-size: 0.75rem;
    background-color: #FCAB28;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    color: #192A54;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: none;
}

@media (min-width: 768px) {
    .team-card-link {
        font-size: 1.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

.team-card-link--fixed {
    font-size: 1.25rem;
    background-color: #FCAB28;
    border-radius: 0.5rem;
    padding: 0.25rem 0.25rem;
    color: #192A54;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: none;
}


.team-icon-arrow {
    transform: rotate(134deg);
    display: inline-block;
}

.team-icon-rotate {
    transform: rotate(180deg);
}


.team-empty-message {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
    font-family: GamarasaRound;
    text-align: center;
}

.team-empty-message--my {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: GamarasaRound;
    text-align: center;
}
