/* Match front-page gradient for sport archives */
body.tax-sport {
    background: linear-gradient(180deg, #040b2f 0%, #071344 50%, #0a1f5c 100%);
    min-height: 100vh;
}

.sport-page {
    background: transparent;
    padding-bottom: 4rem;
}

.sport-container {
    margin-top: 1.5rem;
}

.sport-layout {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 1.25rem;
}

.sport-main,
.sport-sidebar {
    min-width: 0;
}

.sport-sidebar .panel + .panel {
    margin-top: 1.5rem;
}

@media (min-width: 960px) {
    .sport-layout {
        grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    }
}

/* Keep sport news cards stacked vertically while reusing home card styling */
.sport-page .oms-two-col-grid {
    grid-template-columns: 1fr;
}

/* Sport sub-navigation */
.oms-sport-subnav {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0.75rem;
    margin-top: 0.75rem;
    box-shadow: 0 12px 24px rgba(2, 6, 24, 0.35);
}

.oms-sport-subnav__row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.oms-sport-subnav__list {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
}

.oms-sport-subnav__list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    color: #e9edff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 13, 45, 0.9);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.oms-sport-subnav__controls {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.oms-subnav-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 2rem 0.5rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(6, 13, 45, 0.9);
    color: #e9edff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
    line-height: 1.1;
    cursor: pointer;
    width: auto;
    max-width: 100%;
    background-image:
        linear-gradient(45deg, transparent 50%, #e9edff 50%),
        linear-gradient(135deg, #e9edff 50%, transparent 50%);
    background-position: calc(100% - 0.9rem) 55%, calc(100% - 0.65rem) 55%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.oms-subnav-select:focus {
    outline: 2px solid rgba(54, 210, 255, 0.8);
    outline-offset: 2px;
    border-color: rgba(54, 210, 255, 0.8);
}

.oms-sport-subnav__list > li > a:hover,
.oms-sport-subnav__list > li.active > a,
.oms-sport-subnav__list > li.current-menu-item > a {
    transform: translateY(-1px);
    border-color: var(--accent-cyan, #36d2ff);
    color: #fff;
}

@media (max-width: 640px) {
    .oms-sport-subnav__list {
        gap: 0.4rem;
    }

    .oms-sport-subnav__list > li > a {
        padding: 0.45rem 0.75rem;
        font-size: 0.9rem;
    }

    .oms-subnav-select {
        padding: 0.45rem 1.8rem 0.45rem 0.75rem;
        font-size: 0.85rem;
    }
}

.sport-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.sport-nav-container {
    background: #cf1430a2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sport-nav-header {
    padding: 1rem 0 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.sport-nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.sport-nav-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sport-nav-menu::-webkit-scrollbar {
    display: none;
}

.sport-nav-item {
    flex-shrink: 0;
}

.sport-nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: all 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.sport-nav-link:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.15);
}

.sport-nav-link.active {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 10px 22px rgba(29, 78, 216, 0.18);
}

@media (max-width: 768px) {
    .sport-nav-title {
        font-size: 1.25rem;
    }

    .sport-nav-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

.sport-news-feed {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .sport-news-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sport-news-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.sport-news-card__thumb {
    position: relative;
    padding-top: 56%;
    overflow: hidden;
    border-radius: 12px;
}

.sport-news-card__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sport-news-card__title {
    margin: 0;
    font-size: 1.25rem;
}

.sport-news-card__title a {
    color: var(--ink);
    text-decoration: none;
}

.sport-news-card__title a:hover {
    text-decoration: underline;
}

.sport-news-card__meta {
    font-size: 0.9rem;
    color: var(--muted);
}

.sport-news-pagination {
    margin-top: 2rem;
}

.sport-standings {
    display: grid;
    gap: 1.5rem;
}

.sport-standings__group {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.sport-standings__title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
}

.sport-standings table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.sport-standings thead {
    background: #f1f5f9;
}

.sport-standings th,
.sport-standings td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    white-space: nowrap;
}

.sport-standings tbody tr:hover {
    background: #f8fafc;
}

.sport-standings__team {
    font-weight: 600;
    color: var(--ink);
}

.sport-roster {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .sport-roster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .sport-roster {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .sport-roster {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.sport-roster .oms-card {
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.sport-roster .oms-card-thumb {
    aspect-ratio: 4 / 5;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, rgba(207, 20, 43, 0.08), rgba(15, 23, 42, 0.05));
}

.sport-roster .recruit-card .oms-card-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
    padding: 0.6rem;
    box-sizing: border-box;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
}

.sport-roster .recruit-card .oms-card-thumb img {
    object-fit: contain;
    object-position: center;
}

@media (min-width: 640px) {
    .sport-roster .oms-card {
        flex-direction: column;
    }

    .sport-roster .oms-card-thumb {
        width: 100%;
    }
}

.roster-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.roster-card__thumb {
    position: relative;
}

.roster-card__number {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #0f172a;
    color: #fff;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.roster-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1rem;
}

.roster-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    flex-wrap: wrap;
}

.roster-card__name {
    margin: 0;
    font-size: 1.05rem;
}

.roster-card__position {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #eff6ff;
    color: #0f172a;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.roster-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.roster-card__meta li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--muted);
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 0.35rem;
    align-items: center;
}

.roster-card__meta li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.roster-card__meta .label {
    font-weight: 600;
    color: #0f172a;
}

.roster-card__meta .value {
    font-weight: 600;
    color: #0f172a;
}

.sport-roster .recruit-popcorns {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1;
    justify-content: flex-end;
}

.sport-roster .recruit-popcorns--small {
    gap: 0.2rem;
}

.sport-roster .recruit-popcorns--small .recruit-popcorn,
.sport-roster .recruit-popcorn--small {
    height: 18px;
    width: auto;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.sport-roster .recruit-popcorns--small .recruit-popcorn.is-muted {
    opacity: 0.25;
    filter: grayscale(1);
}

@media (max-width: 640px) {
    .sport-roster .recruit-popcorns--small .recruit-popcorn,
    .sport-roster .recruit-popcorn--small {
        height: 16px;
    }
}

.sport-schedule .oms-scoreboard {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    background: #fff;
}

.sport-schedule .oms-scoreboard__link {
    border-radius: 16px;
}

.sport-schedule .oms-scoreboard--link {
    border-radius: 16px;
}

.sport-sidebar-schedule__linkwrap {
    display: grid;
    gap: 0.3rem;
    text-decoration: none;
    color: inherit;
}

.sport-sidebar-schedule__item:hover .sport-sidebar-schedule__linkwrap,
.sport-sidebar-schedule__item:focus-within .sport-sidebar-schedule__linkwrap {
    color: var(--ink);
}

.sport-schedule {
    display: grid;
    gap: 2rem;
}

.sport-schedule__group {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.sport-schedule__title {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
}

.sport-schedule__list {
    display: grid;
    gap: 1rem;
}

.sport-schedule__empty {
    margin: 0;
    color: var(--muted);
}

.sport-staff {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 820px) {
    .sport-staff {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sport-staff__card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.sport-staff__headshot {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.sport-staff__body {
    flex: 1;
    min-width: 0;
}

.sport-staff__name {
    margin: 0;
    font-size: 1.1rem;
}

.sport-staff__title {
    margin: 0.25rem 0 0.5rem;
    color: var(--muted);
    font-weight: 500;
}

.sport-staff__meta {
    margin: 0;
    font-size: 0.92rem;
}

.sport-staff__meta a {
    color: var(--brand);
    text-decoration: none;
}

.sport-staff__bio {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.sport-class {
    display: grid;
    gap: 1.75rem;
}

.sport-class__group {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.sport-class__title {
    margin: 0;
    font-size: 1.2rem;
}

.sport-class__description {
    margin: 0.5rem 0 1.25rem;
    color: var(--muted);
}

.sport-class__list {
    display: grid;
    gap: 0.75rem;
}

.sport-class__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.sport-class__label {
    font-weight: 600;
    color: var(--ink);
}

.sport-class__value {
    font-size: 1.05rem;
}

.sport-class__note {
    grid-column: 1 / -1;
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.sport-sidebar-schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sport-sidebar-schedule__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.sport-sidebar-schedule__title {
    margin: 0;
    font-size: 1.05rem;
}

.sport-sidebar-schedule__link {
    text-decoration: none;
    font-weight: 600;
    color: var(--brand);
}

.sport-sidebar-schedule__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.sport-sidebar-schedule__item {
    display: grid;
    gap: 0.3rem;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 0.65rem;
}

.sport-sidebar-schedule__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sport-sidebar-schedule__opponent {
    font-weight: 700;
    color: var(--ink);
}

.sport-sidebar-schedule__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.sport-sidebar-schedule__meta .result {
    font-weight: 700;
    color: #0f172a;
}

.sport-sidebar-schedule__empty {
    margin: 0;
    color: var(--muted);
}
