﻿p {
    margin: 0;
}

body {
    font-family: "Geologica", sans-serif;
}

*
.table-icon-column {
    border: 0;
    padding-left: 3px;
    padding-right: 3px;
    box-sizing: border-box;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

/*remove styling from this button*/
.score-event-button {
    background-color: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: inherit;
    cursor: pointer; /* Optional: Keep the pointer cursor for accessibility */
    outline: none; /* Remove outline on focus */
}

.score-event-button {
    background-color: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: inherit;
    cursor: pointer; /* Optional: Keep the pointer cursor for accessibility */
    outline: none; /* Remove outline on focus */
}

.half-width {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    float: left;
    box-sizing: border-box; 
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 40px;
}

/* HEADER STYLINGS */

.top-border span {
    display: block;
    flex: 1;
    height: 2px;
    background-color: #de5e43;
    transform: skewX(50deg);
    margin-left: -2%;
    margin-right: -2%;
}

/* Style the header container */
.header-container {
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1px;
}

    .top-header .logo {
        flex: 1; 
    }

        .top-header .logo img {
            max-width: 250px;
        }

.search-bar {
    flex: 2; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-container {
    position: relative;
}

    .search-container input {
        padding: 10px; 
        border: 1px solid #ccc;
        border-radius: 5px 0 0 5px; 
        width: 100%; 
    }

    .search-container::after {
        content: '\f002';
        font-family: 'Font Awesome 6 Brands';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background-color: #de5e43;
        color: white;
        padding: 10px;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
    }


.utility-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .utility-nav .nav-link {
        margin-right: 10px;
    }

        .utility-nav .nav-link:hover {
            text-decoration: underline;
        }

.main-navigation {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background: #000000;
}

.main-navigation ul {
    list-style: none;
    background: #000000;
    margin: 0px;
}

.main-navigation ul li {
    display: inline-block;
    position: relative;

}

    .main-navigation ul li a,
    .main-navigation ul li ul.dropdown a {
        display: block;
        padding: 20px 25px;
        color: #fff;
        text-decoration: none;
        text-align: center;
        font-size: 15px;
        transition: all 0.5s;
    }

    .main-navigation ul li ul.dropdown li {
        display: block;
        padding: 0;
        margin: 0;
        transition: all 0.5s;
    }

    .main-navigation ul li ul.dropdown {
        width: 100%;
        background: #de5e43;
        position: absolute;
        z-index: 999;
        display: none;
        padding: 0;
        margin: 0;
        transition: all 0.5s;
    }

    .main-navigation ul li a:hover {
        background: #de5e43;
        text-decoration: underline;
    }

.main-navigation ul li a:hover,
.main-navigation ul li ul.dropdown a:hover,
.main-navigation ul li ul.sub-dropdown a:hover {
    background: #000;
    text-decoration: underline;
    color: #fff;
}

    .main-navigation ul li:hover ul.dropdown {
        display: block;
        padding: 0;
        margin: 0;
    }

    .main-navigation ul li:hover a {
        background: #de5e43;
        color: #fff;
        transition: all 0.5s;
    }

    .main-navigation ul li ul.dropdown:hover,
    .main-navigation ul li ul.dropdown li:hover {
        display: block;
    }

    /* Style for the sub-dropdown menu */
    .main-navigation ul li ul.sub-dropdown {
        background: #de5e43;
        position: absolute;
        left: 100%; 
        top: 0;
        display: none; 
        padding: 0; 
        margin: 0; 
        white-space: nowrap;
        transition: all 0.5s;
    }

    .main-navigation ul li ul.dropdown li:hover ul.sub-dropdown {
        display: block;
    }
    .main-navigation ul li ul.sub-dropdown a {
        display: block;
        padding: 10px 20px;
        margin: 0; 
        color: #fff;
        text-decoration: none;
        text-align: center;
        font-size: 15px;
        transition: all 0.5s;
    }

        .main-navigation ul li ul.sub-dropdown a:hover {
            background: #000;
            text-decoration: underline;
        }



/* FOOTER STYLINGS */

.footerContainer {
    width: 100%;
    padding: 20px 30px 5px;
}

.socialIcons {
    display: flex;
    justify-content: center;
}

.socialIcons a {
   text-decoration: none;
   padding: 10px;
   background-color: white;
   margin: 10px;
   border-radius: 50%;
}

.socialIcons a i {
    font-size: 2em;
    color: black;
    opacity: 0.9;
}

.socialIcons a:hover {
    background-color: #111;
    transition: 0.5s;
}

    .socialIcons a:hover i {
        color: #de5e43;
        transition: 0.5s;
    }

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}

    .footerNav ul li a:hover {
        opacity: 1;
        text-decoration: underline;
    }

.footerBottom {
    background-color: #000;
    padding: 10px;
    text-align: center;
}

.footerBottom p{
    color: white;
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
    color: #de5e43;
}

@media (max-width: 700px){
    .footerNav ul{
        flex-direction: column;
    }
    .footerNav ul li {
        width: 100%;
        text-align: center;
        margin: 10px;
    }
}


.main {
    display: flex;
    flex-direction: column;
}

.home-hero {
    flex: 7; 
    background-image: url('../lib/Media/backgroundGymFloor.jpg');
    padding: 80px; 
    height: 500px;
}

.cta-banner1 {
    height: 300px;
    flex: 1;
    background-color: #fff;
    padding: 20px;
    margin-top: 0px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-banner1 .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
}

    .cta-banner1 .mini-container {
        flex: 1;
        text-align: center;
        margin: 0 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
        padding-bottom: 20px;

    }

        .cta-banner1 .mini-container a {
            text-decoration: none;
        }

        .cta-banner1 .mini-container img {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
            padding: 5px;
        }

    .cta-banner1 .mini-button:hover {
        background-color: #000; 
        color: #de5e43; 
    }

.cta-banner1 .mini-text {
    margin-top: 10px; 
    text-align: center;
}

    .cta-banner1 .mini-text h2 {
        font-weight: bold;
        font-size: 16px;
        color: #000000;
        margin-bottom: 25px;
    }

    .cta-banner1 .mini-button {
        border: 2px solid black; 
        border-radius: 5px;
        background-color: transparent; 
        color: #000000;
        padding: 10px 20px;
        transition: background-color 0.5s, color 0.5s;
        font-weight: bold;
    }

    .mini-button:hover {
        background-color: transparent;
        color: white;
    }



.cta-banner2 {
    height: 300px;
    flex: 1;
    background-image: url('../lib/Media/pageHeaderBanner.jpg');
    padding: 20px;
    margin-top: 0px;
    color: white;
}

.welcome-box {
    background-color: white;
    padding: 20px; 
    text-align: center; 
    margin: 40px;
}


.divider {
    border: none;
    border-top: 1px solid #555;
    margin: 20px 0; 
}

.page-header {
    background-image: url('../lib/Media/pageHeaderBanner.jpg');
    color: #fff; 
    padding: 50px;
    text-align: center;
    margin-top: 0rem;
}

    .page-header h1 {
        color: #de5e43;
        font-weight: bold;
    }


html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    margin-top: calc(6rem);
}


/* INDEX */

.page-title {
    font-size: 3.5em;
    color: black;
}

/* Home Hero Slider */

.container {
    padding: 2rem;
    margin-top: 5rem;
}

.slider-wrapper {
    position: relative;
    max-width: 80vw;
    margin: 0 auto;
}

.slider {
    display: flex;
    aspect-ratio: 16 / 8;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 4px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

    .slider::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1;
}

    .slider-nav a.active {
        background-color: darkgray;
        opacity: 1;
    }



.section-partners {
}

.section-partners-internal {
    padding: 2rem 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-partners-internal-primary {
    text-align: center;
    font-weight: 600;
    font-size: 2em;
    color: black;
    width: 100%;
}

.section-partners-internal-secondary {
    margin-top: 3rem;
    text-align: center;
    font-weight: 400;
    font-size: 1em;
    color: white;
    width: 100%;
}

.section-partners-internal-primary img {
    width: 5rem;
    height: auto;
}

.icons-container-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); /* Default for larger screens */
    gap: 12rem; /* Space between items */
    width: 100%;
    justify-items: center; /* Center items in their grid cells */
}

    .icons-container-partners img {
        width: 10rem;
        height: auto;
        margin-top: 2rem;
    }


.articles {
    padding: 2rem 0;
    background-color: white;
}
    .articles p {
        font-size: 1.125rem;
        line-height: 1.75;
        color: #ce152a !important;
        text-align: center;
    }

    .articles .container {
        max-width: 80%; /* Use percentage for width */
        margin: 0 auto;
        padding: 0 0.5%; /* Padding with percentage for responsiveness */
    }

    .articles h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #04447f !important;
    }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 2rem;
    justify-content: center;
}

    .articles-grid > * {
        flex: 0 0 calc((100% - (2 * 2rem)) / 3); /* always 3 per row, same size */
    }

.articles-grid2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    gap: 2rem;
    justify-content: center;
}

    .articles-grid2 > * {
        flex: 0 0 calc((100% - (4 * 2rem)) / 5); /* always 6 per row, same size */
    }

.articles-grid3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 2rem;
    justify-content: center;
}

    .articles-grid3 > * {
        flex: 0 0 calc((100% - (3 * 2rem)) / 4); /* always 4 per row, same size */
    }

    .articles-grid3 a, h3 {
        text-decoration: none !important;
        color: #ce152a;
    }

.article {
    background-color: white;
    border-radius: 0.5rem; /* Border radius in rem */
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1); /* Box shadow using rem for spacing */
    overflow: hidden; /* Ensures the border radius works for all contents */
    transition: transform 0.3s ease;
    height: 19rem;
}

    .article:hover {
        transform: translateY(-0.625rem); /* Slight hover effect using rem */
    }

    .article img {
        width: 100%;
        height: 16rem; /* Height in rem */
        object-fit: cover; /* Ensures image maintains aspect ratio and covers the area */
        border-bottom: 0.0625rem solid #ddd; /* Border using rem */
    }

    .article h3 {
        font-size: 1.5rem; /* Use rem for font size */
        padding: 1rem;
        margin: 0;
        color:#04447f;
        text-align: center;
        transition: 0.3s ease;
        text-decoration: none;
    }

        .article h3:hover {
            color: #ce152a;
            transition: 0.3s ease;
        }

    .article p {
        font-size: 1rem; /* Use rem for font size */
        padding: 0 1rem 1rem;
        color: #555;
    }

.contact-block {
    background-color: white;
    border-radius: 0.5rem; /* Border radius in rem */
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1); /* Box shadow using rem for spacing */
    overflow: hidden; /* Ensures the border radius works for all contents */
    transition: transform 0.3s ease;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

    .contact-block:hover {
        transform: translateY(-0.625rem); /* Slight hover effect using rem */
    }

    .contact-block img {
        width: 100%;
        height: 12.5rem; /* Height in rem */
        object-fit: cover; /* Ensures image maintains aspect ratio and covers the area */
        border-bottom: 0.0625rem solid #ddd; /* Border using rem */
    }

    .contact-block h3 {
        font-size: 1em; /* Use rem for font size */
        padding: 1rem 0.5rem;
        margin: 0;
        color: #333;
        text-decoration: none !important;
    }

    .contact-block p {
        font-size: 1rem; /* Use rem for font size */
        padding: 0 1rem 1rem;
        color: #555;
    }

.read-more {
    display: inline-block;
    margin: 0;
    padding-bottom: 1rem;
    font-size: 1rem; /* Use rem for font size */
    font-weight: bold;
    color: #D0142C;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

    .read-more:hover {
        text-decoration: underline;
        color: #033B76;
    }

@media (max-width: 48em) { /* 768px equivalent */
    .articles-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller screens */
    }
}

@media (max-width: 30em) { /* 480px equivalent */
    .articles-grid {
        grid-template-columns: 1fr; /* 1 column for mobile screens */
    }
}

.section-block {
    background-color: #f9f9f9;
    padding: 2rem 2rem;
    text-align: center;
}

    .section-block .container {
        max-width: 60rem;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .section-block h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .section-block p {
        font-size: 1.125rem;
        line-height: 1.75;
        color: #333;
    }


.section-block2 {
    background-color: #ffffff;
    padding: 2rem 20rem;
    text-align: center;
    color: #04447f !important;
}

    .section-block2 .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .section-block2 h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .section-block2 p {
        font-size: 1.125rem;
        line-height: 1.75;
        color: #ce152a !important;
    }


/* Coaches & A.D. */

.pdf-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .pdf-list li a {
        text-decoration: none;
        font-weight: 500;
        color: #D0142C;
        transition: color 0.2s ease-in-out;
    }

        .pdf-list li a:hover {
            color: #033B76;
            text-decoration: underline;
        }

.btn-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: #D0142C;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

    .btn-link:hover {
        border-color: currentColor;
        text-decoration: none;
        color: #033B76 
    }


.article-image {
    width: 100%;
    height: 30rem;
    display: block;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.article-content {
    line-height: 1.6;
}

.article-date {
    font-style: italic;
    margin-top: 0.5rem;
}

.article-summary {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
}

.main-content {
    flex: 1 1 65%;
    margin: 0;
}

.sidebar {
    flex: 1 1 30%;
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

    .sidebar h3 {
        margin-bottom: 1rem;
    }

.recent-scores {
    list-style: none;
    padding: 0;
}

    .recent-scores li {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

/* Optional: Add some padding to push the main content down below the ticker */
.content-wrapper {
    padding-top: 1rem;
}

.score-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .score-box-link .score-box {
        border: 1px solid #ccc;
        padding: 1rem;
        transition: background-color 0.2s ease;
    }

        .score-box-link .score-box:hover {
            background-color: #f9f9f9;
            cursor: pointer;
        }



.splide a,
.splide a:link,
.splide a:visited {
    color: #006172;
    text-decoration: none;
}

.splide {
    padding: 1rem 0;
    background-color: #eef4f5;
}

.splide__slide img {
    width: 5.3rem;
    height: 5.3rem;
    border-radius: 50%;
}

.splide__slide .slide-link {
    width: 6rem;
    padding: 0.8rem 0;
    max-width: 6rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
}

    .splide__slide .slide-link img {
        display: block;
        cursor: pointer;
        background-color: #fbfbfb;
    }

    .splide__slide .slide-link span {
        padding-top: 0.3rem;
        color: #4d4d4d;
        display: block;
        text-align: center;
        white-space: normal;
    }

.custom-arrows .custom-arrow-next,
.custom-arrows .custom-arrow-previous {
    opacity: 1;
    width: 2.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.setis-carousel {
    overflow: hidden;
    padding: 2rem 0;
    white-space: nowrap;
    position: relative;
    transition: ease-out 0.4s;
    margin-bottom: 2rem;
}

    .setis-carousel:before, .setis-carousel:after {
        position: absolute;
        top: 0;
        width: 250px;
        height: 100%;
        content: "";
        z-index: 2;
    }

    .setis-carousel:before {
        left: 0;
        background: linear-gradient(to left, rgba(255,255,255,0), white);
    }

    .setis-carousel:after {
        right: 0;
        background: linear-gradient(to right, rgba(255,255,255,0), white);
    }


.setis-carousel-slide {
    display: inline-block;
    animation: 60s slide infinite linear;
}

    .setis-carousel-slide img {
        height: 80px;
        margin: 0 40px;
    }


.section-block2 li {
    list-style: none;
}

.section-block3 {
    background-color: #ffffff;
    padding: 0 10vw;
    text-align: center;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-evenly;
    gap: 0rem;
}

    .section-block3 .container {
        max-width: 95vw;
        margin: 0;
        padding: 0 1rem;
    }

    .section-block3 h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .section-block3 p {
        font-size: 0.7em;
        color: #333;
        margin-bottom: 0;
    }

.dropdown-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

select {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 10px;
}

.file-list {
    margin-top: 1.5rem;
}

.file-item {
    margin-bottom: 0.5rem;
}

    .file-item a {
        color: #04447f;
        text-decoration: none;
        font-size: 1.5em;
        transition: 0.3s ease;
    }

        .file-item a:hover {
            color: #ce152a;
            transition: 0.3s ease;
        }


.rhsaa-table{
    padding: 1rem 10.5%;
}

.standings-title{
    margin: auto;
    text-align: center;
}

.standings-table {
    width: 100%;
    table-layout: fixed; /* force equal column widths */
    text-align: center;
}

    .standings-table th,
    .standings-table td {
        word-wrap: break-word; /* ensures long text wraps instead of expanding */
        white-space: normal;
        text-wrap: nowrap;
        max-width: 100%;
    }

    .standings-table tr:hover {
        cursor: pointer;
        color: #04447f;
        background-color: #F3F2F2;
    }

.table-wrapper {
    overflow-x: auto; /* allows horizontal scroll */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    width: 100%; /* full width */
    border-radius: 10px;
    border: 1px solid black;
}

    .table-wrapper table {
        min-width: 600px; /* optional: ensures table doesn't shrink too much */
    }

.contact-options {
    display: flex;
    flex-direction: row;
}

/* Schwann standings rows */
.standings.schwann .standings-table tbody tr:nth-child(odd) {
    background-color: #e5e5ff; /* light blue */
}

/* Stewart standings rows */
.standings.stewart .standings-table tbody tr:nth-child(odd) {
    background-color: #ffe5e5; /* light red */
}

/* Schedule = light grey */
.schedule table tbody tr:nth-child(odd) {
    background-color: #e5e5e5; /* light grey */
}

.text-danger {
    text-align: center;
}

.clickable {
    text-decoration: none;
    font-weight: 600;
    color: #04447f;
    transition: 0.3s ease;
}

    .clickable:hover {
        color: #ce152a;
        transition: 0.3s ease;
        text-decoration: underline;
    }

.toggle-btn {
    width: 100%;
    background: white;
    color: black;
    font-size: 1.25rem;
    padding: 0.5rem 0;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    z-index: 10;
    border-radius: 10px;
    border: 1px solid black;
    font-weight: 600;
}

    .toggle-btn:hover {
        background: #E5E4E2;
    }


.chevron {
    display: inline-block;
    transition: transform 0.3s ease;
}

.toggle-btn[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.schedule-content[hidden] {
    display: none;
}

.schedule-content {
    padding: 0;
}

.toggle-btn.sticky {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}



/* Sticky state */
.toggle-btn.sticky {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}


.sub-toggle-btn {
    border: none;
    background-color: #111;
    color: white;
    color: white;
    font-size: 1.25rem;
    width: 100%;
    border-radius: 10px;
    padding: 0.5rem 0;
}

    .toggle-btn .chevron,
    .sub-toggle-btn .chevron {
        transition: transform 0.3s ease;
    }

    .toggle-btn[aria-expanded="true"] .chevron,
    .sub-toggle-btn[aria-expanded="true"] .chevron {
        transform: rotate(180deg);
    }

    .sub-toggle-btn.black {
        border: none;
        background-color: #111;
        color: white;
        border: #111 1px solid;
    }

    .sub-toggle-btn.red {
        border: none;
        background-color: #ce152a;
        color: white;
        border: #111 1px solid;
    }
    .sub-toggle-btn.blue {
        border: none;
        background-color: #04447f;
        color: white;
        border: #111 1px solid;
    }
    .sub-toggle-btn.white {
        border: none;
        background-color: white;
        color: black;
        border: #111 1px solid;
    }


.chevron {
    display: inline-block;
    transition: transform 200ms ease;
}

/* Rotate chevron when expanded */
.toggle-btn[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.schedule-content[hidden] {
    display: none;
}

.table {
    margin-bottom: 0;
}

.chevron {
    display: inline-block;
    transition: transform 200ms ease;
}

/* Rotate chevron when expanded */
.toggle-btn[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* Hide content when 'hidden' is present */
.schedule-content[hidden] {
    display: none;
}

.cta-container {
    padding: 1rem 1rem;
    background-color: #ce152a;
    border-radius: 10px;
    border: white solid 1px;
    width: auto;
    margin: 0 30%;
    color: white;
    transition: 0.3s ease;
}

    .cta-container:hover {
        background-color: white;
        border: #ce152a solid 1px;
        color: #ce152a;
        transition: 0.3s ease;
    }

.cta-container-text{
    margin: 0;
}


.login-section {
    margin: auto;
    width: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.login-button {
    width: 25%;
    margin: auto
}

.sub-label {
    text-align: center;
    padding: 0.5rem 0;
    margin-bottom: 0;
    font-size: 1.25rem;
    border-radius: 10px;
}

.sub-label.blue {
    background-color: #04447f;
    color: white;
}

    .sub-label.red {
        background-color: #ce152a;
        color: white;
    }

    .sub-label.white {
        background-color: white;
        color: black;
        border: black 1px solid;
    }

td {
    margin: 0;
    white-space: nowrap;
    padding: 0 1rem;
}

.playoffs-dropdown-block {
    text-align: center;
    background-color: #FFFB75;
    border-radius: 10px;
}

.playoffs-link {
    text-decoration: none;
    display: block; /* Makes sure it covers the full div */
}

.scorebox {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: white;
    font-weight: bold;
    padding: 5px;
}

    .scorebox .set {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        text-align: center;
        position: relative;
    }

        .scorebox .set:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 10%;
            bottom: 10%;
            width: 1px;
            background-color: #ccc;
        }


.set {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

    .set:first-child {
        border-left: none;
    }

.team-names {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

    .team-names div {
        margin: 2px 0;
    }

    .team-names strong {
        margin-left: 6px;
    }

/* mobile */
@media (max-width: 1325px) {
    .articles-grid, .articles-grid2, .articles-grid3{
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* 1 columns */
        gap: 2rem;
    }

    .setis-carousel:before, .setis-carousel:after {
        position: absolute;
        top: 0;
        width: 100px;
        height: 100%;
        content: "";
        z-index: 2;
    }

    .section-block2 {
        padding: 2rem 2rem;
    }

    .articles h2 {
        padding: 0 2rem;
    }

    .contact-block h3 {
        padding: 1rem 0.5rem;
    }


    .standings-table {
        width: 100%; /* table fills the container */
        table-layout: auto; /* columns grow based on content */
        text-align: center;
    }

        .standings-table th,
        .standings-table td {
            width: auto; /* Let the browser decide width */
            padding: 4px 8px; /* Make cells more compact */
            text-wrap: nowrap;
            min-width: 40px; /* Optional: give some minimum width */
            max-width: 100%; /* Optional: give some minimum width */
            font-size: 0.875rem; /* Slightly smaller font */
        }

    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
        width: 100%;
        border-radius: 10px;
        border: 1px solid black;
    }

    .cta-container {
        margin: 0 10%;
    }

    .login-button {
        width: 90%;
        margin: auto
    }

    .scorebox {
        padding: 0;
    }

    .set {
        padding: 0.25rem 0.25rem 0 0.5rem;
    }
}







/* SECTION WRAPPER */
.sports-page-main {
    margin: auto;
    display:flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
}

.recent-games-container {
    padding: 2rem;
    width: 60vw;
/*    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 12px;*/
}

.standings-container {
    padding: 2rem;
    width: 35vw;
/*    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 12px;*/
}

.recent-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* GAME CARD LAYOUT */
.game-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

/* LEFT SIDE */
.game-left {
    flex: 1;
}

.team-info-logo {
    width: 8rem;
    height: auto;
}

/* TEAM ROWS */
.team-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.team-name {
    font-size: 1.25em;
    font-weight: 600;
    text-decoration: none;
    color: black;
}

.team-name2 {
    font-size: 1em;
    font-weight: 400;
    text-decoration: none;
    color: black;
}

.team-name3 {
    font-size: 1em;
    font-weight: 400;
    text-decoration: none;
    color: black;
    width: 5rem;
    text-align: center;
}

.team-record {
    font-size: 14px;
    color: #777;
}

.team-record3 {
    text-align: right;
}

.score-breakdown {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quarters {
    margin-right: 1.5rem;
}

.quarters span {
    font-size: 1em;
    margin-right: 8px;
    color: #444;
}

.final-score {
    font-size: 24px;
    font-weight: 700;
}

    .final-score.lost {
        opacity: 0.45;
    }

.final-score2 {
    font-size: 4em;
    font-weight: 900;
}

    .final-score2.lost {
        opacity: 0.45;
    }

.game-meta {
    margin-top: 14px;
    font-size: 14px;
    color: #777;
}

/* RIGHT SIDE: TOP PERFORMERS (ESPN style) */
.game-right {
    margin-top: 1rem;
}

.top-performers-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #444;
}

.performer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.player-photo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.player-name {
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
    color: black;
    white-space: nowrap;
}

.player-stats-container{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.player-stats-container2 {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
    gap: 1rem;
}

.player-stats {
    font-size: 1em;
    color: black;
    font-weight: 600;
}

/* BUTTONS */
.button-stack {
    margin-top: 10px;
}

.boxscore-btn {
    padding: 8px 14px;
    background: #04447f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    transition: 0.2s ease;
}

    .boxscore-btn:hover {
        background: #043A6D;
    }


    /* MOBILE HIDING RULES */
@media (max-width: 1325px) {
    .hide-mobile {
        display: none !important;
    }

    /* Prevent giant empty gap where right side was */
    .game-card {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.25rem 1.5rem 1rem 1.5rem;
    }

    .recent-games-container {
        padding: 0 2rem;
        margin: 0;
    }

    .game-meta {
        margin-top: 14px;
        font-size: 14px;
        text-align: center;
        color: #777;
    }

    .game-right {
        padding-left: 0;
        margin-top: 1rem;
    }

    .performer {
        margin-bottom: 1rem;
    }

    .recent-title, .league-header {
        text-align: center;
    }

    .team-info-logo {
        width: 15vw;
        height: auto;
    }

    .team-name3 {
        font-size: 1em;
        font-weight: 400;
        text-decoration: none;
        color: black;
        width: 5rem;
    }

}


/* BASKETBALL GAMEPAGE */

.basketball-gamepage-header-container {
    padding: 2rem 10vw;
    margin: auto;
    width: 100%;
}

.basketball-gamepage-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1rem 2rem;
}

.team-logo2-left {
    width: 6rem;
    height: auto;
    object-fit: contain;
    margin-right: 2vw;
}

.team-logo2-right {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    margin-left: 2vw;
}

.basketball-gamepage-header-team1 {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.basketball-gamepage-header-breakdown {
    padding: 0 1rem;
}

.basketball-gamepage-header-team2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row-reverse;
    gap: 2rem;
}


.standings-title {
    font-size: 26px;
    font-weight: 500;
    border-radius: 10px;
}

.league-block {
    background: #ffffff;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.league-header {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.standings-table {
    width: 100%;
}

.standing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 6px;
    border-bottom: 1px solid #eee;
}

    .standing-row:last-child {
        border-bottom: none;
    }

.rank {
    width: 30px;
    font-weight: bold;
    text-align: center;
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .team-cell img {
        width: 28px;
        height: 28px;
        border-radius: 4px;
    }

.record {
    font-weight: bold;
}

.hidden-rows {
    display: none;
}

.show-more-btn {
    padding: 8px 14px;
    background: #04447f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    transition: 0.2s ease;
}

    .show-more-btn:hover {
        background: #043A6D;
    }


.team-link {
    text-decoration: none; 
    color: inherit; 
    cursor: pointer; 
}

    .team-link:hover {
        text-decoration: underline; 
        color: inherit; 
    }


/* Tablet & Mobile View (Everything below 800px) */
@media (max-width: 800px) {
    .basketball-gamepage-header {
        display: flex;
        flex-direction: column; /* Stacks the three main blocks */
        align-items: center;
        gap: 2rem;
        padding: 1rem;
    }

    /* 1. Home Team at the top */
    .basketball-gamepage-header-team1 {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        /* Remove gap: 15vw; as flex: 1 handles the spacing now */
    }

    /* 2. Away Team in the middle */
    .basketball-gamepage-header-team2 {
        order: 2;
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: center;
        /* Remove gap: 15vw; */
    }

        /* Target all 3 children (Logo, Info, Score) for both teams */
        .basketball-gamepage-header-team1 > *,
        .basketball-gamepage-header-team2 > * {
            flex: 1; /* This forces all three parts to be exactly equal in width */
            text-align: center; /* Centers the content within that 1/3 space */
            display: flex;
            justify-content: center;
            align-items: center;
            min-width: 0; /* Prevents overflow from long names */
        }

    /* 3. Score Breakdown at the very bottom */
    .basketball-gamepage-header-breakdown {
        order: 3;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-top: 1.5rem;
    }

    /* Ensure the breakdown table doesn't stretch weirdly */
    .basketball-gamepage-header-breakdown-table-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}


.box-score-table-container {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    background-color: #fff;
    /* Variable height fix */
    height: auto;
    /* Horizontal scroll fix */
    width: 100%; /* Force container to fill screen width */
    overflow-x: auto; /* Enable the horizontal scrollbar */
    overflow-y: hidden; /* Prevent vertical scroll within the container */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iPhones */
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smoother on iOS */
}

.box-score-table {
    width: 100%;
    min-width: 600px; /* Force the table to be wide enough to need a scroll on mobile */
    border-collapse: collapse;
}


    .box-score-table tbody tr:nth-child(odd) {
        background-color: #f2f2f2; /* light grey */
    }



.basketball-gamepage-header-breakdown-date {
    font-weight: 600;
    font-size: 1em;
    text-align: center;
    margin-bottom: 1rem;
}

.basketball-gamepage-header-breakdown-location {
    font-weight: 600;
    font-size: 1em;
    text-align: center;
    margin-top: 1rem;
}

.basketball-gamepage-header-breakdown-table th {
    padding: 0 1rem;
    text-align: center;
    font-weight: 400;
}

.basketball-gamepage-header-breakdown-table thead {
    border-bottom: 1px black solid;
}

.team-logo3 {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
}

.box-score-table td:first-child,
.box-score-table th:first-child {
    text-align: left;
    padding-left: 8px; /* optional for nicer spacing */
    max-width: 10rem;
}

.box-score-table-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 1325px) {
    .box-score-table-main {
        padding: 1rem 0;
        margin: 0;
        width: 100%;
    }

    .box-score-table th {
        padding-top: 0.5rem;
    }

    .basketball-gamepage-header-container {
        margin: 0;
        width: 100%;
        padding: 1rem 
    }

    .section-block3 {
        flex-direction: column;
        padding: 0 1rem;
    }

    .game-summary-headtohead {
        padding: 1rem !important;
        width: 100% !important;
        margin: auto;
    }
}

.table-player-name {
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    color: black;
    text-wrap: auto;
}

    .table-player-name a {
        text-decoration: none;
        color: black;
    }


        .table-player-name a:hover {
            color: #0d6efd;
        }

.table-player-number {
    font-size: 0.75em;
    color: dimgrey;
}

.game-summary-headtohead {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    height: 100%;
    width: 13vw;
}

.headtohead-title {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    padding-bottom: 0.5rem;
}

.headtohead-title-name {
    text-align: left;
}

.headtohead-title-leads {
    text-align: left;
    font-weight: 600;
    font-size: 0.75em;
}

.headtohead-info-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    border-top: #D3D3D3 1px dotted;
    border-bottom: #D3D3D3 1px dotted;
}

.headtohead-info-details {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0.5rem;
}

.headtohead-team-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;

}

.headtohead-team-name-details {
    font-weight: 700;
    font-size: 1em;
    display: flex;
    flex-direction: row;
}

    .headtohead-team-name-details.lost {
        opacity: 0.45;
    }

.headtohead-team-name-details a {
    text-decoration: none;
}

    .headtohead-team-name-details a:hover {
        text-decoration: underline;
        text-decoration-color: black;
    }

.headtohead-team-name-details-name {
    font-weight: 700;
    font-size: 1.10em;
    color: black;
}

    .headtohead-logo {
        width: 2rem;
        height: 2rem;
    }

.headtohead-team-score {
    align-self: center;
    font-weight: 700;
    font-size: 1.10em;
}

    .headtohead-team-score.lost {
        opacity: 0.45;
    }

.headtohead-game-dates {
    display: flex;
    flex-direction: column;
    align-self: center;
    font-size: 0.75em;
    border-inline: 1px dotted #D3D3D3;
    padding: 0.5rem 1rem;
}



.headtohead-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: 0.3s ease;
}

    .headtohead-link-wrapper:hover .headtohead-info-container {
        cursor: pointer;
        opacity: 0.9;
        background-color: #e5ecf2;
        transition: 0.3s ease;
    }


.basketball-teampage-header {
    display: flex;
    justify-content: center;
}

.league-block2 {
    background: #ffffff;
    padding: 0;
    border-radius: 10px;
}

.team-summary-block {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    height: 100%;
    width: 100%;
}

.team-stats-table tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.section-block4 {
    background-color: #ffffff;
    padding: 0 22vw 3rem 22vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-evenly;
    gap: 0rem;
}

.basketball-teampage-header-container {
    padding: 2rem 0;
    margin: auto;
    width: 100%;
}

.basketball-teampage-header {
    display: flex;
    flex-direction: row;
    padding: 2rem 12vw;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

}

.teampage-logo {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    margin-right: 1.5rem;
}

.teampage-header-info {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.teampage-header-info-teamname {
    font-size: 2em;
}

.teampage-header-info-details {
    display: flex;
    flex-direction: row;
}

.teampage-header-info-details-record {
    margin-right: 1rem;
    font-size: 0.8em;
}

.teampage-header-info-details-league {
    font-size: 1em;
    font-size: 0.8em;
}

.basketball-teampage-header-team {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 1325px) {
    .section-block4 {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
    }

    .team-summary-block {
        width: 100%;
        padding: 2rem;
    }
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
}

    .schedule-grid .headtohead-link-wrapper {
        display: block;
    }

@media (max-width: 900px) {
    .schedule-grid {
        grid-template-columns: 1fr;
    }
}





/* LIT CSS */

/* HOMEPAGE */

/* Mobile-First Bracket Styles */

/* 1. CONTAINER & WRAPPER (Matches Stat Leaders) */
.bracket-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 5vw;
}

/* 2. DAY HEADERS */
.bracket-day-header {
    background: #f1c40f; /* Luther Red */
    color: black;
    padding: 12px 15px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    margin-top: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* 3. MATCH CARDS */
.match-card {
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

    .match-card:last-of-type {
        border-radius: 0 0 8px 8px;
        border-bottom: 2px solid #ccc;
        margin-bottom: 10px;
    }

    .match-card:hover {
        background-color: #f9f9f9;
    }
    
    .match-card span, .match-card div {
        pointer-events: none;
    }

.team-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
}

.team-logo-small {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.team-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

/* 4. CARD INTERNALS */
.match-label {
    font-size: 0.75rem;
    color: #f1c40f;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: -5px;
}

.match-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.team-line {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1rem;
}

/* 5. HELPER CLASSES */
.bracket-tag {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #444;
}

/* Highlight for the Championship Game */
.championship-highlight {
    border: 2px solid #b30000 !important;
    border-top: none !important;
    background: #fffafa !important;
}

/* STAT LEADERS */

/* Stat Leaders Section */

.stat-leaders-container {
    padding: 0 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-leaders-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    font-weight: 600;
    color: black;
    letter-spacing: 1px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 20px;
    border-top: 6px solid #ccc; /* Default border */
}

    .stat-card h3 {
        margin-top: 0;
        color: #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.stat-abbr {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.stat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

    .stat-item:last-child {
        border-bottom: none;
    }

.stat-pill {
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: bold;
    background: #f7f7f7;
}

/* Category Colors */
.border-pts {
    border-top-color: #f1c40f;
}

.border-3pm {
    border-top-color: #e74c3c;
}

.border-reb {
    border-top-color: #e67e22;
}

.border-ast {
    border-top-color: #3498db;
}

.border-stl {
    border-top-color: #2ecc71;
}

.border-blk {
    border-top-color: #9b59b6;
}

/* Highlight the #1 spot pill */
.bg-pts {
    background-color: #f1c40f;
}

.bg-3pm {
    background-color: #e74c3c;
    color: white;
}

.bg-reb {
    background-color: #e67e22;
    color: white;
}

.bg-ast {
    background-color: #3498db;
    color: white;
}

.bg-stl {
    background-color: #2ecc71;
    color: white;
}

.bg-blk {
    background-color: #9b59b6;
    color: white;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .stat-leaders-title {
        font-size: 2em;
        font-weight: 600;
    }

    .stat-grid {
        gap: 15px;
    }
}

.bracket-content-wrapper-male, .bracket-content-wrapper-female {
    max-height: 100% !important;
}

.gender-switch-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px; /* Limits width on desktop so buttons aren't huge */
    margin: 0 auto; /* Centers the whole container */
    gap: 0; /* Keeps buttons touching like a single unit */
    padding: 0 20px;
}

.gender-btn {
    flex: 1; /* Makes both buttons the exact same width */
    padding: 12px 0;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #f1c40f; /* Use your primary LIT blue */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: white;
    color: black;
}

.tournament-bracket-container-title {
    font-size: 2em;
    font-weight: 600;
}

/* Rounds the far left corner of the Male button */
#btn-male {
    border-radius: 25px 0 0 25px;
    border-right: none;
}

/* Rounds the far right corner of the Female button */
#btn-female {
    border-radius: 0 25px 25px 0;
}

/* Styling for the active button */
.gender-btn.active {
    background-color: #f1c40f;
    color: black;
}

/* Subtle hover effect */
.gender-btn:hover:not(.active) {
    background-color: #f1c40f;
}

.gender-section {
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: translateY(0);
    margin-top: 3rem;
}

/* Used when the section is hidden */
.section-hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px); /* Slight slide down effect */
}

/* Animation class to trigger when switching */
.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
