@font-face {
    font-family: DM Sans;
    src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
    font-weight: 100 1000;
    font-style: normal;
    font-display: optional;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: DM Sans;
    src: url('../fonts/dm-sans-latin-ext-wght-normal.woff2') format('woff2');
    font-weight: 100 1000;
    font-style: normal;
    font-display: optional;
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: Barlow Condensed;
    src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: optional;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: Barlow Condensed;
    src: url('../fonts/barlow-condensed-latin-ext-800-normal.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: optional;
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root {
    --ink: #0c1933;
    --navy: #0a1834;
    --navy-rich: #0b2454;
    --club-blue: #1848b3;
    --blue-text: #173d94;
    --gold: #f5dc82;
    --paper: #f3f5fa;
    --line: #dce2ed;
    --muted: #4a5870;
    --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --body: "DM Sans", system-ui, sans-serif;
    --gutter: clamp(18px, 5vw, 72px);
    --site: 1232px;
    --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { color: var(--ink); background: white; }
body { margin: 0; font: 400 1rem/1.6 var(--body); }
main, nav, ul { min-width: 0; }
a { color: var(--blue-text); }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, ul, dl { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: var(--display); font-weight: 800; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3475f5; outline-offset: 4px; }
.wrap { width: min(var(--site), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed; inset: 12px auto auto 12px; z-index: 1000; width: auto; height: auto;
    margin: 0; padding: 12px 18px; clip: auto; background: white; color: var(--navy);
}
.topbar { background: var(--navy); color: #e2eafe; font-size: .79rem; font-weight: 550; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.social-links { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; }
.social-links a { color: inherit; text-decoration: none; }
.social-links a:hover { text-decoration: underline; }
.header-inner { min-height: 76px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; min-width: 0; }
.brand-logo { width: 49px; height: 52px; object-fit: contain; flex: 0 0 49px; }
.brand-name { font: 800 2rem/.95 var(--display); text-transform: uppercase; letter-spacing: .015em; overflow-wrap: anywhere; }
.site-nav .menu { display: flex; align-items: center; list-style: none; padding: 0; gap: clamp(2px, .7vw, 12px); }
.site-nav .menu li { position: relative; }
.site-nav a { position: relative; display: block; padding: 14px 12px; color: var(--ink); font-size: .91rem; font-weight: 760; text-decoration: none; white-space: nowrap; }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--blue-text); }
.site-nav .menu > .current-menu-item > a::after {
    content: ""; height: 3px; border-radius: 2px; background: var(--club-blue); position: absolute;
    bottom: 5px; inset-inline: 12px;
}
.site-nav a:hover, .submenu-toggle:hover { background: var(--paper); border-radius: 5px; }
.site-nav .sub-menu {
    list-style: none; padding: 7px; background: white; border: 1px solid var(--line); border-radius: 9px;
    position: absolute; z-index: 5; min-width: 195px; max-width: min(320px, 90vw);
    left: 0; top: 100%; box-shadow: 0 14px 35px #0a183426; display: none;
}
.site-nav .menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
.site-nav .sub-menu .sub-menu { top: 0; left: auto; right: 100%; }
.site-nav .sub-menu a { padding: 10px 12px; white-space: normal; }
.site-nav .submenu-open > .sub-menu,
html:not(.has-menu-js) .site-nav li:hover > .sub-menu,
html:not(.has-menu-js) .site-nav li:focus-within > .sub-menu { display: block; }
.site-nav li:has(> .submenu-toggle) > a { padding-right: 38px; }
.submenu-toggle {
    position: absolute; inset: 3px 1px auto auto; width: 33px; height: 43px; padding: 0;
    color: var(--ink); background: transparent; border: 0; display: grid; place-items: center;
}
.submenu-toggle::after { content: ""; border: solid currentColor; border-width: 0 2px 2px 0; width: 7px; height: 7px; margin-top: -3px; transform: rotate(45deg); }
.submenu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 3px; }
.menu-toggle {
    display: none; align-items: center; gap: 9px; border: 1px solid var(--line);
    background: white; border-radius: 7px; min-height: 44px; padding: 6px 12px; font-size: .9rem; font-weight: 760; color: var(--ink);
}
.menu-bars { width: 16px; height: 12px; position: relative; display: block; border-block: 2px solid currentColor; }
.menu-bars::after { position: absolute; content: ""; inset: 3px 0 auto; border-top: 2px solid currentColor; }
.hero { position: relative; display: grid; isolation: isolate; align-items: stretch; background: var(--navy); color: white; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: linear-gradient(130deg,var(--navy),var(--club-blue)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 49%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, #081630 0%, #081630f5 15%, #081630dc 32%, #08163066 56%, #08163008 88%),
        linear-gradient(0deg,#07152d69,transparent 58%);
}
.hero-inner { padding-block: clamp(60px, 7.5vw, 112px) clamp(67px, 8vw, 118px); }
.kicker { font-size: .79rem; font-weight: 760; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.hero-kicker { color: var(--gold); display: flex; align-items: center; gap: 11px; }
.hero-kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; flex: none; }
.hero h1 {
    font-size: clamp(4.5rem, 8.6vw, 8.5rem); max-width: min(7.5em, 61%); margin: 11px 0 18px;
    text-transform: uppercase; line-height: .87; letter-spacing: -.025em; overflow-wrap: break-word;
}
.hero-intro { max-width: 31rem; color: #f0f3ff; font-size: clamp(.97rem, 1.5vw, 1.13rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.button, .wp-block-button__link {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px;
    background: var(--navy-rich); border: 1px solid transparent; border-radius: 7px;
    color: white; padding: 9px 16px; font-size: .92rem; font-weight: 780; line-height: 1.3; text-decoration: none;
    text-align: center;
}
.button:hover, .wp-block-button__link:hover { box-shadow: 0 0 0 2px currentColor inset; }
.button span { font-size: 1.12em; }
.button--gold { background: var(--gold); color: var(--navy); }
.button--dark { background: var(--navy); }
.button--outline { background: #0b1b38c7; color: white; border-color: #bdc9e6; }
.line-link { display: inline-flex; align-items: center; gap: .55em; min-height: 42px; text-decoration: none; font-weight: 790; line-height: 1.35; }
.line-link:hover { text-decoration: underline; }
.line-link span { font-size: 1.15em; }
.home-content { padding-block: 28px 8px; }
.section { padding-block: clamp(43px, 6vw, 83px); }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.section-head h2, .section-school h2 { font-size: clamp(2.75rem, 5.2vw, 4.7rem); text-transform: uppercase; letter-spacing: -.012em; }
.section-intro { max-width: 640px; color: var(--muted); margin: -7px 0 22px; }
.section-matches { background: var(--paper); border-top: 4px solid var(--gold); padding-block: clamp(30px, 4.6vw, 61px); }
.match-grid, .news-grid, .team-grid, .people-grid, .sponsor-grid {
    display: grid; gap: clamp(14px, 2vw, 24px); margin-block: 0; max-width: none;
}
.match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.match-card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    background: white; border: 1px solid #d5deef; border-radius: var(--radius);
}
.match-card--result { background: white; }
.match-card-head {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 12px;
    border-bottom: 1px solid var(--line); padding: 11px 16px; min-height: 43px;
    font-size: .76rem; font-weight: 800; background: #e8effe; color: var(--navy-rich);
}
.match-card--result .match-card-head { background: var(--navy-rich); color: #fff; }
.match-label { display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: .07em; }
.match-label > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.match-card--result .match-label > span { background: var(--gold); }
.match-league { font-weight: 650; }
.match-sides { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 9px; padding: 19px 14px 18px; flex: 1; }
.match-side { display: grid; justify-items: center; gap: 9px; text-align: center; font-size: clamp(.85rem, 1.55vw, 1.14rem); line-height: 1.24; overflow-wrap: anywhere; }
.team-monogram, .match-crest {
    width: 49px; height: 50px; display: grid; place-items: center; border-radius: 10px; object-fit: contain;
}
.team-monogram { background: #eff3fb; color: var(--blue-text); border: 1px solid #dfe8fb; font-weight: 800; letter-spacing: -.02em; }
.match-score { color: var(--navy); font: 800 clamp(1.95rem, 4vw, 3.1rem)/1 var(--display); white-space: nowrap; }
.match-card-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line);
    padding: 8px 11px 8px 15px; color: var(--muted); min-height: 60px; font-size: .86rem; font-weight: 600; line-height: 1.3;
}
.match-venue { display: block; margin-top: 3px; }
.icon-link {
    display: inline-grid; flex: 0 0 43px; place-items: center; width: 43px; height: 43px;
    border-radius: 7px; background: var(--paper); color: var(--blue-text); text-decoration: none; font-size: 1.25rem;
}
.icon-link:hover { background: var(--navy-rich); color: white; }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.news-link { color: var(--ink); text-decoration: none; display: flex; height: 100%; flex-direction: column; }
.news-card:focus-within, .team-card:focus-within, .person-card:focus-within, .sponsor-card:focus-within { outline: 3px solid #3475f5; outline-offset: 3px; }
.news-image { overflow: hidden; aspect-ratio: 18/11; background: var(--paper); }
.news-image img, .team-image img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: clamp(16px, 2.4vw, 25px); flex-grow: 1; display: flex; flex-direction: column; align-items: flex-start; }
.news-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .79rem; font-weight: 620; }
.news-meta span { color: var(--blue-text); font-weight: 800; }
.news-card :is(h2,h3) { margin: 9px 0; font-size: clamp(1.18rem, 2.3vw, 1.65rem); line-height: 1.16; }
.news-card p { color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.card-action { color: var(--blue-text); font-weight: 800; margin-top: auto; }
.card-action span { margin-inline-start: 4px; }
.news-link:hover :is(h2,h3), .person-card a:hover strong { text-decoration: underline; }
.section-teams { background: #eef2fa; }
.team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-card { min-width: 0; background: var(--navy-rich); color: white; overflow: hidden; border-radius: var(--radius); }
.team-card a { color: inherit; display: block; text-decoration: none; }
.team-image { aspect-ratio: 4/3; overflow: hidden; background: #133260; }
.team-name { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 13px 15px; min-height: 54px; }
.team-name h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.65rem, 2.8vw, 2.3rem); overflow-wrap: anywhere; }
.team-name span { color: var(--gold); }
.team-card a:hover .team-name { background: var(--navy); }
.school-panel { display: grid; grid-template-columns: 1fr 1.12fr; background: var(--navy-rich); color: white; border-radius: var(--radius); overflow: hidden; }
.school-copy { padding: clamp(24px, 4.2vw, 62px); align-self: center; }
.school-copy h2 { margin: 8px 0 12px; line-height: .93; }
.school-copy > p:not(.kicker) { color: #e9efff; margin-bottom: 19px; }
.school-image { min-height: 250px; height: 100%; position: relative; }
.school-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section-sponsors { background: var(--paper); }
.sponsor-grid { list-style: none; padding: 0; grid-template-columns: repeat(6,minmax(0,1fr)); }
.sponsor-card { border: 1px solid var(--line); border-radius: 10px; background: white; text-align: center; min-width: 0; padding: 10px; color: var(--ink); }
.sponsor-card > a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.sponsor-card:hover { border-color: var(--club-blue); }
.sponsor-logo { display: grid; place-items: center; height: 78px; }
.sponsor-logo img { width: 100%; height: 100%; object-fit: contain; }
.sponsor-name { display: block; font-size: .8rem; font-weight: 720; line-height: 1.25; padding: 8px 3px 4px; overflow-wrap: anywhere; }
.sponsor-controls { display: flex; justify-content: flex-end; gap: 7px; margin-bottom: 5px; }
.sponsor-controls button {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--blue-text);
    font-weight: 800; line-height: 1;
}
.sponsor-controls button:hover { border-color: var(--club-blue); }
.sponsor-viewport {
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 5px;
    scrollbar-width: thin; scrollbar-color: #8395b6 transparent;
}
.sponsor-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(132px, 16vw, 198px);
    gap: clamp(10px, 1.65vw, 20px); width: max-content; max-width: none; padding: 5px 5px 10px; list-style: none;
}
.sponsor-track .sponsor-card {
    min-height: clamp(88px, 10vw, 116px); display: grid; padding: 0; scroll-snap-align: start;
}
.sponsor-track .sponsor-logo { height: 100%; padding: 12px; }
.sponsor-track .sponsor-logo img { width: 100%; height: auto; max-height: clamp(62px, 7.6vw, 88px); }
.announcement { background: #f9edc3; }
.announcement-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.announcement h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-block: 2px 4px; overflow-wrap: anywhere; }
.announcement .button { flex-shrink: 0; }
.page-hero {
    position: relative; isolation: isolate; overflow: hidden; border-bottom: 4px solid var(--gold);
    background: linear-gradient(110deg, var(--navy) 15%, var(--navy-rich) 72%, color-mix(in srgb, var(--club-blue) 56%, var(--navy))); color: white;
    padding-block: clamp(37px, 6vw, 80px);
}
.page-hero::after {
    content: ""; position: absolute; inset: -65px -8% -80px 62%; pointer-events: none; z-index: -1;
    transform: skewX(-17deg); border-inline: 1px solid #ffffff37;
    background: repeating-linear-gradient(90deg, transparent 0 41px, #ffffff12 42px 44px);
}
.page-hero h1 { font-size: clamp(2.8rem, 7.8vw, 6.05rem); line-height: .98; text-transform: uppercase; letter-spacing: -.015em; overflow-wrap: anywhere; }
.page-hero p:not(.kicker) { max-width: 48rem; color: #f1f5ff; margin-top: 12px; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.page-hero .kicker { margin-bottom: 10px; }
.page-body { padding-block: clamp(29px, 5.3vw, 65px); }
.page-body > .line-link { margin: -8px 0 14px; }
.page-body > .match-card { max-width: 720px; margin-bottom: 1.5rem; }
.page-cover {
    margin: 0 0 27px; overflow: hidden; border-radius: var(--radius);
    background: var(--paper); max-height: 530px;
}
.page-cover img { width: 100%; max-height: 530px; object-fit: cover; }
.single-post .page-cover { max-width: 900px; }
.single-post .page-cover img { object-fit: contain; }
.page-cover--portrait { width: min(340px,100%); background: linear-gradient(120deg,#0b255b,#0b1730); }
.page-cover--portrait img { height: min(400px,100%); object-fit: contain; }
.prose > :where(p, h2, h3, h4, ul, ol, blockquote, pre, .wp-block-buttons) { max-width: 760px; }
.prose > :where(p, ul, ol, blockquote, figure, pre, div, table):not(:empty) { margin-block: 0 1.05rem; }
.prose :is(h2,h3,h4) { margin-block: 1.4em .45em; overflow-wrap: anywhere; }
.prose h2, .roster-section h2, .contact-grid h2, .club-listing h2 { font-size: clamp(2rem,4vw,3rem); }
.prose h3 { font-size: 1.32rem; }
.prose > :first-child { margin-top: 0; }
.prose > .club-listing, .prose > .team-grid, .prose > .people-grid, .prose > .sponsor-grid { max-width: none; }
.prose :where(.news-card, .team-card, .person-card) h3 { margin-block: 0; }
.prose ul:not([class]), .prose ol { padding-inline-start: 24px; }
.prose a:not([class]) { overflow-wrap: anywhere; }
.prose .wp-block-image { margin-block: 1.1rem; }
.prose .wp-block-image img { border-radius: 9px; }
.prose figcaption { color: var(--muted); font-size: .86rem; }
.gallery-pair { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 16px; }
.gallery-pair .wp-block-image { margin: 0; }
.gallery-pair img { width: 100%; height: auto; }
.gallery-pair .wp-block-image img { aspect-ratio: 4/3; object-fit: cover; }
.club-figures { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,143px),1fr)); gap: 10px; max-width: 850px; }
.club-figures p { padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.club-figures strong { display: block; color: var(--blue-text); font: 800 2.6rem/1.05 var(--display); }
.people-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.person-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.person-card a { color: inherit; text-decoration: none; display: block; }
.person-image { aspect-ratio: 4/4.15; position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(ellipse at 63% 28%,#2c54a0,var(--navy) 77%); }
.person-image > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; object-position: center bottom; }
.person-image > .person-placeholder { inset: 25%; width: 50%; height: 50%; object-position: center; }
.shirt-number {
    position: absolute; z-index: 1; inset: auto auto 10px 10px; background: var(--gold); color: var(--navy);
    border-radius: 5px; font: 800 clamp(1.45rem,3vw,2.4rem)/1 var(--display); padding: 3px 8px 5px;
}
.person-body { display: grid; padding: 12px; overflow-wrap: anywhere; line-height: 1.28; }
.person-body strong { font-size: clamp(.91rem,1.8vw,1.2rem); }
.person-body > span { color: var(--muted); margin-top: 3px; font-size: .86rem; }
.roster-section { margin: 24px 0 33px; }
.roster-section h2 { margin-bottom: 15px; }
.team-coach { background: var(--paper); padding: 11px 15px; margin-bottom: 15px; border-left: 4px solid var(--club-blue); }
.team-coach strong { margin-inline-end: 9px; }
.profile-data { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.profile-data > div { background: var(--paper); border: 1px solid var(--line); padding: 10px 13px; border-radius: 7px; }
.profile-data dt { color: var(--muted); font-size: .8rem; }
.profile-data dd { margin: 0; font-weight: 760; }
.contact-grid { display: grid; gap: clamp(18px,4vw,50px); grid-template-columns: 1.35fr .85fr; align-items: start; }
.contact-grid h2 { line-height: 1; margin: 0 0 16px; }
.contact-form, .contact-aside { min-width: 0; padding: clamp(15px,3vw,33px); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-aside { background: var(--paper); }
.contact-form .contact-privacy { color: var(--muted); font-size: .9rem; }
:where(.match-filter) label { display: grid; gap: 4px; font-weight: 720; color: var(--ink); }
:where(.match-filter,.search-form) :is(input:not([type=hidden]),select,textarea) {
    padding: 8px 11px; min-height: 42px; border: 1px solid #8090ad; border-radius: 6px; min-width: 0; color: var(--ink); background: white;
}
.empty-note { padding: 11px 15px; color: var(--ink); background: var(--paper); border-radius: 7px; margin-bottom: 10px; }
.tabs { display: flex; gap: 7px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 0 0 9px; margin-bottom: 16px; }
.tabs a { padding: 8px 13px; border-radius: 6px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 740; text-decoration: none; }
.tabs a[aria-current="page"] { color: white; background: var(--navy-rich); }
.tabs a:hover { text-decoration: underline; }
.match-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 9px 12px; margin-bottom: 22px; }
.match-filter input { width: 150px; }
.match-filter .button { min-height: 42px; }
.club-listing > h2 { margin: 1rem 0 12px; }
.club-listing > .line-link { margin-top: 14px; }
.table-wrap { overflow: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 15px; }
.standings { border-collapse: collapse; width: 100%; min-width: 590px; font-variant-numeric: tabular-nums; }
.standings caption { text-align: left; padding: 12px 14px; font-weight: 800; }
.standings :is(th,td) { padding: 8px 10px; border-top: 1px solid var(--line); text-align: center; }
.standings :is(thead,tbody) :is(th,td):nth-child(2) { text-align: left; }
.standings thead { background: var(--navy-rich); color: white; font-size: .83rem; }
.standings tbody tr:nth-child(even) { background: #f7f9fd; }
.standings tbody .is-club { background: #dde8fe !important; color: #142f70; font-weight: 800; }
.pagination { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 17px; }
.page-numbers { display: inline-block; padding: 7px 12px; min-width: 38px; text-decoration: none; border: 1px solid var(--line); border-radius: 5px; }
.page-numbers.current { color: white; background: var(--navy-rich); }
.search-form { margin-block: 12px 20px; }
.search-submit { padding: 8px 12px; min-height: 42px; }
.edit-link { margin-block: 24px 0; font-size: .86rem; }
.site-footer { background: var(--navy); color: #e4edff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 20px 34px; padding-block: 43px; }
.site-footer a { color: inherit; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { color: white; margin-bottom: 14px; }
.footer-grid h2 { font-size: 1.55rem; margin-bottom: 10px; color: white; }
.footer-grid .menu { display: grid; padding: 0; gap: 5px; list-style: none; }
.footer-grid .menu a { text-decoration: none; }
.club-address { font-style: normal; display: grid; gap: 4px; }
.club-address a { width: fit-content; overflow-wrap: anywhere; }
.footer-base { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; border-top: 1px solid #3b4b68; padding-block: 13px; color: #c4d2ec; font-size: .83rem; }

@media (min-width: 900px) {
    .site-nav .sub-menu .sub-menu { max-width: 220px; }
}
@media (max-width: 899px) {
    .header-inner { min-height: 66px; flex-wrap: wrap; gap: 4px 10px; padding-block: 7px; }
    .brand-logo { width: 42px; height: 44px; flex-basis: 42px; }
    .brand-name { font-size: clamp(1.4rem,4vw,1.9rem); }
    .menu-toggle:not([hidden]) { display: inline-flex; flex: none; }
    .site-nav { width: 100%; }
    .has-menu-js .site-nav:not(.is-open) { display: none; }
    .site-nav .menu { display: block; border-top: 1px solid var(--line); margin-block: 5px 3px; padding-top: 4px; }
    .site-nav .menu a { padding: 11px 9px; white-space: normal; }
    .site-nav .sub-menu { position: static; max-width: none; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; padding: 0 0 0 11px; margin-left: 12px; }
    .site-nav .sub-menu a { padding: 9px; }
    .site-nav .menu > .current-menu-item > a::after { display: none; }
    html:not(.has-menu-js) .site-nav .sub-menu { display: block; }
    .sponsor-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 699px) {
    .hero h1 { font-size: clamp(3.35rem,11.9vw,5.25rem); max-width: 100%; }
    .hero-inner { padding-block: 57px 49px; min-height: 420px; display: flex; flex-direction: column; justify-content: end; }
    .hero-media img { object-position: 60% 43%; }
    .hero::before { background: linear-gradient(90deg,#081630b5,#0816303d),linear-gradient(0deg,#081630 3%,#081630dd 41%,#08163042 100%); }
    .hero-intro { max-width: 27rem; }
    .match-grid, .contact-grid { grid-template-columns: minmax(0,1fr); }
    .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .people-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .sponsor-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .announcement-inner { align-items: flex-start; flex-direction: column; gap: 11px; }
    .school-panel { grid-template-columns: minmax(0,1fr); }
    .school-image { aspect-ratio: 16/9; min-height: unset; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 480px) {
    .topbar-inner { font-size: .71rem; gap: 8px; }
    .social-links { gap: 8px; }
    .topbar .social-links { justify-content: end; }
    .site-header .brand { gap: 7px; }
    .news-grid { grid-template-columns: minmax(0,1fr); }
    .people-grid, .sponsor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-grid { grid-template-columns: minmax(0,1fr); }
    .match-filter > label { flex: 1; min-width: 108px; }
    .match-filter input { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
    .nkd-motion .news-image img, .nkd-motion .team-image img { transition: transform .24s ease; }
    .nkd-motion :is(.news-link, .team-card a):hover img { transform: scale(1.035); }
    .nkd-motion .hero-kicker, .nkd-motion .hero h1, .nkd-motion .hero-intro, .nkd-motion .hero-actions { animation: nkd-arrive .42s ease-out both; }
    .nkd-motion .hero h1 { animation-delay: .06s; }
    .nkd-motion .hero-intro { animation-delay: .12s; }
    @keyframes nkd-arrive { from { opacity: .7; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
}

.news-card h2 { font-family: var(--body); }
.page-links { display: flex; flex-wrap: wrap; gap: 9px; }

.school-panel:not(:has(.school-image)) { grid-template-columns: minmax(0,1fr); }

.arrow-icon { font-variant-emoji: text; }

.league-source {
    margin: .65rem 0 0;
    color: var(--muted);
    font-size: .89rem;
}
.player-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(125deg, #09172f 20%, #102c66 67%, #164293 100%);
    color: #fff;
    border-bottom: 4px solid var(--gold);
    padding-block: 18px clamp(36px, 6vw, 80px);
}
.player-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 0 42%;
    opacity: .46;
    background: repeating-linear-gradient(123deg, transparent 0 27px, #b8cfff25 27px 28px, transparent 28px 56px);
    mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.player-back .line-link { color: #e9f1ff; }
.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 35%);
    align-items: center;
    gap: clamp(24px, 5vw, 85px);
    padding-top: clamp(17px, 3vw, 37px);
}
.player-identity { min-width: 0; }
.player-identity h1 {
    margin: .13em 0 .30em;
    font-size: clamp(3.9rem, 8.7vw, 8.25rem);
    line-height: .87;
    letter-spacing: -.025em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.player-facts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    gap: 12px clamp(14px, 3.2vw, 39px);
    border-top: 1px solid #8da7d172;
    padding-top: clamp(13px, 2.4vw, 27px);
}
.player-facts > div { min-width: 105px; }
.player-facts dt {
    color: #c6d6f4;
    font-size: .72rem;
    font-weight: 720;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.player-facts dd { margin: .25em 0 0; font-size: clamp(.95rem, 2vw, 1.26rem); font-weight: 840; }
.player-facts a { color: inherit; }
.player-facts dd.player-dorsal { color: var(--gold); font: 800 2.3rem/.9 var(--display); }
.player-dorsal span { font-size: .7em; margin-right: .12em; }
.player-summary { margin: 1.5rem 0 0; color: #e3ecff; max-width: 56ch; }
.player-portrait {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 4.65;
    width: 100%;
    max-width: 425px;
    justify-self: center;
    border-radius: var(--radius);
    background: radial-gradient(ellipse at 48% 32%, #fff, #dce8fc);
    border: 1px solid #dfeaff;
    box-shadow: 0 22px 48px #020a20a1;
}
.player-portrait > img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.player-portrait--crest { display: grid; place-items: center; }
.player-portrait--crest .player-crest { width: 54%; height: 54%; object-fit: contain; }
.player-squad { background: var(--paper); }
.player-squad .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; }
.player-squad .person-image { aspect-ratio: 4 / 3.7; }
.player-profile .edit-link { margin-block: 18px; }

@media (max-width: 740px) {
    .player-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
    .player-identity h1 { font-size: clamp(3.25rem, 12vw, 5rem); }
    .player-portrait { max-width: min(390px, 100%); justify-self: start; }
}
@media (max-width: 540px) {
    .player-squad .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
