*, *::before, *::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6fb;
    color: #222;
}

header {
    background: #1f4f8b;
    color: white;
    padding: 24px 32px 0;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
}

.header-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.header-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-left: 0;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

.site-title {
    color: white;
    text-decoration: none;
}

.site-title:hover {
    text-decoration: none;
}

.top-nav {
    background: #163b63;
    padding: 0 12px;
    border-radius: 0;
    margin: 0 -32px;
    position: relative;
    box-shadow: 0 5px 14px rgba(11, 38, 67, 0.18);
}

@media (min-width: 601px) {
    .top-nav::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 2px;
        background: #ffffff;
    }
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #2a6ab3;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 1320px;
    min-height: 48px;
    margin-right: auto;
    margin-left: auto;
}

.top-nav > ul > li {
    position: relative;
    display: flex;
    align-self: stretch;
}

.top-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
    padding: 12px 20px 9px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 7px 7px 0 0;
    display: inline-block;
    line-height: 1.25;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.top-nav > ul > li > a {
    display: flex;
    align-items: center;
}

.top-nav a:hover {
    text-decoration: none;
    color: #ffffff;
    background: #2a6ab3;
    border-color: #ffffff;
}

.top-nav > ul > li > a.is-active,
.top-nav > ul > li.is-active > a {
    background: #2a6ab3;
    border-color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.top-nav a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.top-nav a:active {
    background: #2a6ab3;
}

.dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.dropdown > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}

.dropdown:hover > a::after,
.dropdown:focus-within > a::after,
.dropdown.is-open > a::after {
    transform: translateY(2px) rotate(225deg);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 190px;
    padding: 0;
    background: #163b63;
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 24px rgba(11, 38, 67, 0.22);
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 20;
    overflow: hidden;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown.is-open > .dropdown-menu,
.dropdown-menu:hover,
.dropdown-menu:focus-within {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.dropdown-menu li {
    padding: 0;
    border-right: none;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    text-align: left;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    white-space: nowrap;
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.dropdown-menu a.is-active {
    background: #2a6ab3;
    color: #ffffff;
}

.top-nav .dropdown-menu a:hover,
.top-nav .dropdown-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: none;
}

main {
    min-height: 72vh;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background:
        linear-gradient(135deg, rgba(15, 42, 77, 0.86), rgba(28, 72, 125, 0.72)),
        url("717790343_999370549491652_5805680382345614248_n.jpg") center/cover no-repeat;
}

.schedule-page {
    background-size: auto, 100% auto;
    background-position: center, center top;
}

.hero-card {
    max-width: 900px;
    width: 100%;
    padding: 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    color: white;
    text-align: left;
}

.hero-card h2 {
    margin: 0 0 12px;
    font-size: 2.2rem;
    text-align: center;
}

.team-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.team-intro {
    text-align: center;
}

.team-section {
    scroll-margin-top: 24px;
    padding: 22px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.team-section:hover,
.team-section:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-3px);
}

.team-section h3 {
    margin: 0 0 8px;
    color: white;
    font-size: 1.45rem;
}

.team-section p {
    margin: 0;
}

.hero-card p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #f5f7fb;
}

.homepage-card {
    max-width: 760px;
    padding: 48px 56px;
    text-align: center;
}

.homepage-card h2 {
    margin-bottom: 22px;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: 0.02em;
}

.homepage-card p {
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
}

.homepage-lead {
    font-size: 1.2rem;
    font-weight: 600;
}

.homepage-description {
    margin-top: 16px !important;
    color: #dcecff !important;
}

.homepage-logo {
    width: min(100%, 250px);
    margin-top: 52px;
    border: 4px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.articles-grid {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.article-card {
    background: #ffffff;
    color: #1f2d3d;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-meta {
    margin: 0;
    color: #1f4f8b;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-card h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.articles-grid .article-card h3,
.articles-grid .article-card p:not(.article-meta),
.news-articles .article-card .article-meta {
    color: #1f2d3d;
}

.schedule-round {
    max-width: 1100px;
    width: 100%;
    padding: 28px 24px;
    background: rgba(9, 28, 54, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.schedule-round > h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 1.9rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.round-label {
    display: block;
    width: fit-content;
    margin: 18px auto 14px;
    padding: 8px 18px;
    border: 1px solid rgba(158, 208, 255, 0.9);
    border-radius: 14px;
    background: rgba(13, 39, 72, 0.75);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.round-label h3 {
    margin: 0;
    color: #9ed0ff;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.3;
}

#ask-results-title {
    color: #ffffff !important;
}

.schedule-round .articles-grid {
    gap: 18px;
}

.schedule-round .article-card {
    min-height: 142px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.schedule-round .article-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-3px);
}

.schedule-round .article-meta {
    color: #9ed0ff;
    margin: 0;
}

.schedule-round .article-card h3 {
    color: #ffffff;
}

.schedule-round .article-card:not(.match-highlight) .article-meta {
    color: #9ed0ff;
}

.schedule-round .article-card:not(.match-highlight) h3,
.schedule-round .article-card:not(.match-highlight) p:not(.venue-inline) {
    color: #ffffff;
}

.match-highlight {
    background: linear-gradient(135deg, rgba(35, 102, 179, 0.9), rgba(12, 41, 77, 0.9));
    border: 1px solid rgba(177, 220, 255, 0.7);
}

.match-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
}

.match-top-row .article-meta {
    flex-shrink: 0;
}

.venue-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #dceeff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.04em;
    min-width: 0;
}

.schedule-round .match-highlight .venue-inline {
    color: #ffffff;
}

.articles-grid .article-card.match-highlight .venue-inline {
    color: #dff3ff;
}

@media (min-width: 901px) {
    .match-top-row {
        align-items: center;
    }

    .venue-inline {
        white-space: nowrap;
    }
}

.match-note {
    color: #ffffff;
    line-height: 1.7;
}

.article-card p {
    margin: 0;
    line-height: 1.7;
    color: #ffffff;
}

.article-link {
    margin-top: auto;
    color: #1f4f8b;
    font-weight: 700;
    text-decoration: none;
}

.article-link:hover {
    text-decoration: underline;
}

.article-page {
    max-width: 900px;
}

.article-page h2 {
    overflow-wrap: anywhere;
}

.standings-section {
    max-width: 1100px;
    width: 100%;
    padding: 28px 24px;
    background: rgba(9, 28, 54, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.standings-section h2,
.standings-section h3 {
    margin: 0;
    color: #ffffff;
    text-align: center;
}

.standings-section h2 {
    font-size: 1.9rem;
}

.standings-section h3 {
    margin: 8px 0 20px;
    color: #9ed0ff;
    font-size: 1.25rem;
}

.standings-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
}

.standings-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.standings-table th,
.standings-table td {
    padding: 11px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    white-space: nowrap;
}

.standings-table thead th {
    background: rgba(31, 79, 139, 0.9);
    color: #ffffff;
    font-size: 0.9rem;
}

.standings-table tbody th {
    min-width: 245px;
    background: rgba(255, 255, 255, 0.08);
    text-align: left;
    font-size: 0.9rem;
}

.standings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.12);
}

.article-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-body p {
    margin: 0;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.article-emoji {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.15em;
}

.article-logo {
    display: block;
    width: min(100%, 360px);
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.season-gallery {
    display: flex;
    justify-content: center;
}

.article-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.season-image {
    width: min(100%, 480px) !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2d3d;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    align-self: flex-start;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    background: #1f4f8b;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-form button:hover {
    background: #163b63;
}

.form-status {
    margin-top: 16px;
    min-height: 24px;
    color: #fef3c7;
    font-weight: 600;
}

footer {
    background: #1f4f8b;
    color: white;
    padding: 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.footer-column h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.footer-column p,
.footer-column ul {
    margin: 0;
    line-height: 1.6;
    color: #e8eef8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column a {
    color: #e8eef8;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    main {
        padding: 32px 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    header {
        padding: 20px 20px 0;
    }

    .header-content {
        align-items: center;
        gap: 16px;
    }

    .header-title-wrap {
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .top-nav {
        margin: 0 -20px;
        padding: 0 8px;
    }

    .top-nav > ul {
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .top-nav > ul > li {
        padding-right: 0;
        border-right: none;
        flex-shrink: 0;
    }

    .top-nav a {
        width: auto;
        padding: 11px 10px 8px;
        font-size: 0.88rem;
    }

    .dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 100%;
    }

    main {
        padding: 36px 18px;
        min-height: auto;
    }

    .hero-card {
        padding: 30px;
        border-radius: 20px;
    }

    footer {
        padding: 24px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    header {
        padding: 16px 16px;
    }

    .header-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .header-title-wrap {
        flex: 1 1 auto;
        min-width: 0;
        gap: 8px;
        margin-left: 0;
    }

    .header-logo {
        width: 44px;
        height: 44px;
    }

    header h1 {
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .site-title {
        display: block;
        white-space: nowrap;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 0;
        position: relative;
        z-index: 1101;
    }

    .top-nav {
        padding: 0;
        margin: 0;
        width: auto;
        flex-shrink: 0;
        background: transparent;
        position: relative;
        z-index: 1100;
    }

    .top-nav > ul {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 0;
        position: fixed;
        inset: 0;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: auto;
        height: 100vh;
        background: #163b63;
        padding: 84px 20px 24px;
        border-radius: 0;
        z-index: 1000;
        overflow-y: auto;
        max-width: none;
        min-height: 0;
        margin: 0;
        box-shadow: none;
    }

    .top-nav.is-open > ul {
        display: flex;
    }

    .top-nav > ul > li {
        padding-right: 0;
        border-right: none;
        border-left: none;
    }

    .top-nav > ul > li.dropdown {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .top-nav > ul > li > a,
    .dropdown > a {
        width: 100%;
        display: inline-flex;
        align-items: center;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 6px;
        white-space: normal;
    }

    .dropdown > a {
        gap: 12px;
    }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        width: calc(100% - 12px);
        left: auto;
        top: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        margin: 8px 0 0 12px;
        margin-right: 0;
        background: rgba(255, 255, 255, 0.1);
        border: 0;
        border-left: 3px solid rgba(255, 255, 255, 0.55);
        border-radius: 0 8px 8px 0;
        box-shadow: none;
        padding: 0;
        gap: 0;
        max-width: none;
        min-height: 0;
        align-self: stretch;
        overflow: hidden;
    }

    .dropdown.is-open .dropdown-menu,
    .dropdown-menu:hover,
    .dropdown-menu:focus-within {
        transform: none !important;
    }

    .dropdown.is-open .dropdown-menu {
        display: flex;
    }

    .dropdown-menu a {
        background: transparent;
        border: none;
        color: #ffffff;
        padding: 10px 16px;
        font-size: 0.95rem;
        white-space: normal;
    }

    .top-nav .dropdown-menu a:hover,
    .top-nav .dropdown-menu a:focus-visible {
        background: rgba(255, 255, 255, 0.18);
        color: #ffffff;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .hero-card {
        padding: 24px;
    }

    .hero-card h2 {
        font-size: 1.8rem;
    }

    .hero-card p {
        font-size: 1rem;
    }

    .schedule-round .match-highlight {
        padding: 16px;
    }

    .schedule-round .match-top-row {
        gap: 4px;
    }

    .schedule-round .match-top-row .article-meta,
    .schedule-round .match-top-row .venue-inline {
        font-size: 0.7rem;
        letter-spacing: 0;
    }

    .article-page h2 {
        font-size: 1.55rem;
        line-height: 1.3;
    }

    .article-body {
        gap: 18px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .footer-column h3 {
        font-size: 0.95rem;
    }

    .footer-column p,
    .footer-column ul {
        font-size: 0.9rem;
    }
}

/* Green and white club palette */
:root {
    --club-green-950: #073b2a;
    --club-green-900: #085436;
    --club-green-700: #117346;
    --club-green-500: #2b965d;
    --club-green-100: #e8f4ec;
    --club-green-050: #f5faf6;
    --club-ink: #173128;
}

body {
    background: var(--club-green-050);
    color: var(--club-ink);
}

header,
footer {
    background: var(--club-green-900);
}

.top-nav,
.dropdown-menu,
.top-nav > ul {
    background: var(--club-green-950);
}

.menu-toggle,
.top-nav a:hover,
.top-nav > ul > li > a.is-active,
.top-nav > ul > li.is-active > a,
.top-nav a:active,
.dropdown-menu a.is-active,
.contact-form button {
    background: var(--club-green-700);
}

.top-nav a:hover,
.top-nav > ul > li > a.is-active,
.top-nav > ul > li.is-active > a {
    border-color: #d7efdf;
}

main {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(7, 59, 42, 0.9), rgba(17, 115, 70, 0.76)),
        url("717790343_999370549491652_5805680382345614248_n.jpg") center/cover no-repeat;
}

main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(18px);
    opacity: 0.7;
    transform: scale(1.04);
}

main > * {
    position: relative;
    z-index: 1;
}

.hero-card {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    color: #f7fff9;
}

.hero-card h2,
.hero-card p,
.team-section,
.team-section h3 {
    color: #f7fff9;
}

.homepage-description {
    color: #315d47 !important;
}

.team-section:hover,
.team-section:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(215, 239, 223, 0.8);
}

.article-card {
    color: var(--club-ink);
    border: 1px solid #d7e9dc;
    background: #ffffff;
}

.article-meta,
.article-link {
    color: var(--club-green-700);
}

.articles-grid .article-card h3,
.articles-grid .article-card p:not(.article-meta),
.news-articles .article-card .article-meta {
    color: var(--club-ink);
}

.schedule-round,
.standings-section {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.38);
}

.round-label {
    border-color: rgba(183, 216, 168, 0.9);
    background: rgba(8, 84, 54, 0.85);
}

.round-label h3,
.standings-section h3,
.schedule-round .article-meta,
.schedule-round .article-card:not(.match-highlight) .article-meta {
    color: #c9e8d0;
}

.schedule-round .article-card {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.92);
    color: var(--club-ink);
}

.match-highlight {
    background: linear-gradient(135deg, rgba(43, 150, 93, 0.94), rgba(8, 84, 54, 0.96));
    border-color: rgba(215, 239, 223, 0.72);
}

.standings-table thead th {
    background: rgba(17, 115, 70, 0.94);
}

.contact-form input,
.contact-form textarea {
    border-color: #c6dfce;
    background: rgba(255, 255, 255, 0.96);
}

.contact-form button:hover {
    background: var(--club-green-950);
}

.form-status {
    color: #e5f4bd;
}

.footer-column p,
.footer-column ul,
.footer-column a {
    color: #d9eee0;
}

body,
.hero-card,
.hero-card h2,
.hero-card p,
.team-section,
.team-section h3,
.article-card,
.article-card h3,
.article-card p,
.article-meta,
.article-link,
.schedule-round,
.schedule-round > h2,
.schedule-round .article-card,
.schedule-round .article-card h3,
.schedule-round .article-card p,
.schedule-round .article-meta,
.standings-section,
.standings-section h2,
.standings-section h3,
.standings-table,
.contact-form label,
.form-status,
footer,
.footer-column p,
.footer-column ul,
.footer-column a {
    color: #ffffff;
}

.article-card,
.schedule-round .article-card {
    background: rgba(8, 84, 54, 0.78);
    border-color: rgba(255, 255, 255, 0.38);
}

.contact-form input,
.contact-form textarea {
    background: rgba(8, 84, 54, 0.78);
    color: #ffffff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.homepage-description,
.articles-grid .article-card h3,
.articles-grid .article-card p:not(.article-meta):not(.venue-inline),
.news-articles .article-card .article-meta,
.schedule-round .article-card:not(.match-highlight) h3,
.schedule-round .article-card:not(.match-highlight) p:not(.venue-inline) {
    color: #ffffff !important;
}

.schedule-round > .articles-grid > .match-highlight {
    grid-column: 1 / -1;
    width: min(100%, 680px);
    justify-self: center;
    text-align: center;
}

.match-highlight .match-top-row {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.match-highlight .venue-inline {
    justify-content: center;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
}

.match-highlight > h3 {
    text-align: center;
    overflow-wrap: anywhere;
}

.schedule-round .article-card .venue-inline {
    color: #dceeff !important;
}

.roster-section {
    width: 100%;
    max-width: 1100px;
}

.roster-section > h2 {
    margin: 0 0 16px;
    color: #ffffff;
    text-align: center;
}

.roster-grid {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.roster-card {
    min-height: 120px;
    justify-content: center;
    transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.roster-card .article-meta {
    font-size: 0.8rem;
    transition: color 0.22s ease;
}

.roster-card h3 {
    transition: color 0.22s ease;
}

.roster-card .match-result-score,
.roster-card .result-score {
    transition: color 0.22s ease;
}

@media (hover: hover) {
    .roster-card:hover {
        background: #ffffff;
        border-color: #d7e9dc;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
        transform: translateY(-3px);
    }

    .roster-card:hover h3 {
        color: var(--club-ink) !important;
    }

    .roster-card:hover .article-meta {
        color: var(--club-green-700) !important;
    }

    .roster-card:hover .match-result-score,
    .roster-card:hover .result-score {
        color: var(--club-ink) !important;
    }

    .results-grid .result-card.roster-card:hover .match-result-score,
    .results-grid .result-card.roster-card:hover p.result-score {
        color: var(--club-ink) !important;
    }
}

@media (max-width: 900px) {
    .roster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .roster-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.roster-grid-single {
    grid-template-columns: minmax(0, 354px);
    justify-content: center;
}

.roster-grid-single .roster-card {
    align-items: center;
    text-align: center;
}

.result-card {
    padding: 16px 24px;
    justify-content: space-between;
}

@media (min-width: 901px) {
    .results-grid {
        grid-auto-rows: 195px;
    }
}

.result-card .result-score {
    font-size: 1.05rem;
    font-weight: 700;
}

.match-result-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.match-side:first-child {
    text-align: right;
}

.match-side:last-child {
    text-align: left;
}

.match-side h3 {
    margin: 0;
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.match-result-score {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    white-space: nowrap;
}

.result-card .result-score {
    align-self: center;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.articles-grid .article-card p.result-score.result-win {
    color: #b9f1ca !important;
}

.articles-grid .article-card p.result-score.result-loss {
    color: #ffd4d4 !important;
}
