/* Mellor Sports Club — shared styles. Identity from mellorsportsclub.com: navy, steel blue, club red, Barlow. */
@font-face { font-family: Barlow; src: url(fonts/barlow-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/barlow-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/barlow-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy: #001D4B; --navy-2: #0A2B5E; --steel: #2B5672; --steel-soft: #E6EDF2;
  --red: #C41E2A; --red-on-navy: #FF6B66;
  --ink: #142033; --ink-soft: #4A5668; --rule: #D9DFE6; --paper: #FFFFFF; --wash: #F5F7FA;
  --lacrosse: #8C1D2F; --cricket: #2E6B3F; --tennis: #8A6D00; --badminton: #5B3F8C; --club: #2B5672;
  --radius: 10px; --wrap: 1120px;
  --head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: Barlow, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--steel); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(38px, 6.4vw, 68px); }
h2 { font-size: clamp(28px, 3.8vw, 40px); }
h3 { font-size: 23px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { font: 600 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 0 0 10px; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 60ch; }
.small { font-size: 14px; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-on-navy); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* draft notice */
.draft { background: #FFF6D6; color: #4A3B00; font-size: 14px; padding: 7px 0; text-align: center; border-bottom: 1px solid #EBD98F; }

/* header */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 30; }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; font: 700 22px/1 var(--head); letter-spacing: .02em; }
.brand:hover { color: #fff; }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { color: #DCE4F0; text-decoration: none; padding: 9px 12px; border-radius: 6px; font-weight: 500; font-size: 16px; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--red-on-navy); border-radius: 0; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid rgba(255,255,255,.4); color: #fff; border-radius: 6px; padding: 8px 12px; font: 600 15px var(--body); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 8px 12px 16px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 18px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red-on-navy); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; border: 0; cursor: pointer; background: var(--red); color: #fff; }
.btn:hover { background: #A51823; color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.on-navy .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.on-navy .btn.ghost:hover { background: #fff; color: var(--navy); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { padding-block: 64px 72px; position: relative; z-index: 1; }
.hero p { color: #DCE4F0; }
.hero .accent { color: var(--red-on-navy); }
.hero:after { content: ""; position: absolute; inset: auto -10% -40% 30%; height: 120%; background:
  radial-gradient(closest-side, rgba(43,86,114,.55), transparent 70%); pointer-events: none; }
.hero .ground { position: absolute; right: 0; bottom: 0; width: min(560px, 60%); opacity: .5; }
@media (max-width: 700px) { .hero .ground { display: none; } .hero .wrap { padding-block: 44px 52px; } }

/* sections */
.band { padding-block: 64px; }
.band.wash { background: var(--wash); }
.band.navy { background: var(--navy-2); color: #fff; }
.band.navy p { color: #DCE4F0; }
.band.navy .eyebrow { color: var(--red-on-navy); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.grid { display: grid; gap: 18px; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 6px; }

/* sport cards */
.sport { display: flex; flex-direction: column; border-top: 5px solid var(--c, var(--club)); }
.sport .since { font: 600 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.sport p { color: var(--ink-soft); flex: 1; }
.sport .links { display: flex; flex-direction: column; gap: 8px; }
.sport .links a { font-weight: 600; }
.c-lacrosse { --c: var(--lacrosse); } .c-cricket { --c: var(--cricket); } .c-tennis { --c: var(--tennis); }
.c-badminton { --c: var(--badminton); } .c-club { --c: var(--club); }

/* tags */
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--c, var(--club)); }
.tag:before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--club)); }
.pill { display: inline-block; font: 600 12px/1 var(--body); padding: 5px 8px; border-radius: 999px; background: var(--steel-soft); color: var(--navy); }
.pill.warn { background: #FFF1D6; color: #6B4B00; }

/* agenda (used on home and What's On) */
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda .day { font: 700 20px var(--head); margin: 26px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.agenda .day:first-child { margin-top: 0; }
.agenda .day small { font: 500 14px var(--body); color: var(--ink-soft); margin-left: 8px; }
.ev { display: grid; grid-template-columns: 92px 1fr; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ev .time { font-weight: 600; color: var(--navy); }
.ev .time small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 13px; }
.ev .what { font-weight: 600; }
.ev .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.ev .note { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 520px) { .ev { grid-template-columns: 70px 1fr; } }

/* What's On */
.wo { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 34px; align-items: start; }
.wo > * { min-width: 0; }
@media (max-width: 900px) { .wo { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 84px; }
@media (max-width: 900px) { .filters { position: static; } }
.filters > summary { display: none; }
@media (max-width: 900px) {
  .filters > summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--navy); border-radius: 999px; font: 600 16px var(--body); color: var(--navy); cursor: pointer; list-style: none; }
  .filters > summary::-webkit-details-marker { display: none; }
  .filters > summary:after { content: "\25BE"; }
  .filters[open] > summary { margin-bottom: 16px; }
  .filters[open] > summary:after { content: "\25B4"; }
}
.filters fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.filters legend { font: 600 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1.5px solid var(--rule); background: #fff; font-size: 15px; font-weight: 500; }
.chip span:before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--steel)); }
.chip.plain span:before { display: none; }
.chip input:checked + span { border-color: var(--c, var(--navy)); background: var(--navy); color: #fff; }
.chip input:checked + span:before { background: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.search { width: 100%; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--rule); border-radius: 8px; font: 400 16px var(--body); }
.search:focus { border-color: var(--navy); outline: none; }
.link-btn { background: none; border: 0; color: var(--steel); font: 600 15px var(--body); text-decoration: underline; cursor: pointer; padding: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.seg { display: inline-flex; border: 1.5px solid var(--navy); border-radius: 999px; overflow: hidden; }
.seg button { background: #fff; border: 0; padding: 9px 16px; font: 600 15px var(--body); color: var(--navy); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.count { font-size: 15px; color: var(--ink-soft); }
.status { font-size: 13px; color: var(--ink-soft); margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--rule); }
.empty { padding: 30px; text-align: center; background: var(--wash); border-radius: var(--radius); color: var(--ink-soft); }

/* month grid */
.month-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.month-head h2 { margin: 0; font-size: 28px; flex: 1; }
.month-head button { background: #fff; border: 1.5px solid var(--rule); border-radius: 8px; width: 40px; height: 40px; font-size: 18px; cursor: pointer; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.month .dow { font: 600 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 8px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--wash); }
.month .cell { min-height: 104px; padding: 6px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 13px; }
.month .cell.out { background: #FAFBFC; color: #9AA4B2; }
.month .cell.today { box-shadow: inset 0 0 0 2px var(--red); }
.month .n { font-weight: 600; margin-bottom: 4px; }
.month .dot { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 2px 5px; margin-bottom: 2px; border-radius: 4px; background: color-mix(in srgb, var(--c) 12%, #fff); border-left: 3px solid var(--c); color: var(--ink); text-decoration: none; }
.month .more { color: var(--steel); font-weight: 600; background: none; border: 0; padding: 2px 5px; cursor: pointer; font: 600 13px var(--body); }
@media (max-width: 640px) {
  .month .cell { min-height: 64px; padding: 4px; }
  .month .dot { font-size: 0; height: 8px; padding: 0; border-left-width: 0; background: var(--c); width: 8px; border-radius: 50%; display: inline-block; margin-right: 2px; }
  .month .more { font-size: 11px; }
}

/* steps (Mellor 2035) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; position: relative; }
.steps li:before { content: counter(s); font: 700 30px var(--head); color: var(--red); display: block; margin-bottom: 6px; }
.steps li.now { border: 2px solid var(--red); }
.steps .when { font: 600 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }

/* facility list */
.facts { list-style: none; padding: 0; margin: 12px 0 0; }
.facts li { padding: 7px 0 7px 24px; position: relative; border-bottom: 1px solid var(--rule); }
.facts li:before { content: "✓"; position: absolute; left: 0; color: var(--cricket); font-weight: 700; }
.embed { width: 100%; min-height: 720px; border: 1px solid var(--rule); border-radius: var(--radius); }

/* footer */
.foot { background: var(--navy); color: #B9C6DA; padding-block: 44px 30px; font-size: 15px; }
.foot a { color: #fff; }
.foot .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot h3 { color: #fff; font-size: 20px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot .legal { margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .top, .foot, .filters, .draft { display: none; } }

/* sport pages */
.sport-hero { border-bottom: 6px solid var(--c, var(--club)); }
.sport-hero.c-lacrosse { --c: #D0465C; } .sport-hero.c-cricket { --c: #4FA866; }
.sport-hero.c-tennis { --c: #E2B93B; } .sport-hero.c-badminton { --c: #9B7FD1; }
.action { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); border-left: 5px solid var(--rule); }
.action .go { font-weight: 600; font-size: 18px; color: var(--navy); }
.action:hover { border-left-color: var(--red); color: var(--ink); }
.action.primary { border-left-color: var(--red); }
.also { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.also a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--rule); border-radius: 999px; text-decoration: none; background: #fff; }
.also a:hover { border-color: var(--navy); }
.also .tag { font-size: 13px; }

/* the month ahead (assets/month-ahead.js) */
.ma-chips { margin-bottom: 14px; }
.ma-range { font-size: 15px; color: var(--ink-soft); margin: 0 0 10px; }
.ma-grid .cell { display: block; text-align: left; font: inherit; font-size: 13px; color: inherit; background: #fff; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 0; cursor: pointer; min-height: 96px; }
.ma-grid .cell:hover { background: var(--wash); }
.ma-grid .cell.past { background: #FAFBFC; color: #9AA4B2; }
.ma-grid .cell.past .dot { opacity: .55; }
.ma-grid .cell.sel { box-shadow: inset 0 0 0 3px var(--navy); }
.ma-grid .cell.today .n { color: var(--red); }
.ma-grid .n small { font-weight: 500; color: var(--ink-soft); margin-left: 2px; }
.ma-grid .more-n { display: block; color: var(--steel); font-weight: 600; padding: 2px 5px; }
.ma-day { margin-top: 18px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 20px 6px; }
.ma-day h3 { margin-bottom: 4px; }
@media (max-width: 640px) {
  .ma-grid .cell { min-height: 58px; padding: 4px; }
  .ma-grid .more-n { font-size: 0; }
  .ma-grid .more-n:after { content: "+"; font-size: 12px; }
}

/* "Every week at Mellor" timetable */
.tt { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: #fff; }
.tt-day { padding: 12px 10px; border-right: 1px solid var(--rule); min-width: 0; }
.tt-day:last-child { border-right: 0; }
.tt-day.today { background: #FFF7F6; }
.tt-day h3 { font-size: 18px; margin-bottom: 8px; }
.tt-day h3 small { font: 600 11px var(--body); color: var(--red); text-transform: uppercase; letter-spacing: .08em; }
.tt-day ul { list-style: none; padding: 0; margin: 0; }
.tt-day li { border-left: 3px solid var(--c, var(--club)); padding: 2px 0 2px 8px; margin-bottom: 10px; }
.tt-time { display: block; font-weight: 600; font-size: 14px; color: var(--navy); }
.tt-what { display: block; font-size: 14px; line-height: 1.3; }
.tt-day .tag { font-size: 10px; margin-top: 3px; }
.tt-day .small { font-size: 13px; color: #9AA4B2; }
@media (max-width: 900px) {
  .tt { grid-template-columns: 1fr; }
  .tt-day { border-right: 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
  .tt-day:last-child { border-bottom: 0; }
  .tt-day h3 { margin: 0; }
}
.ma-also { font-size: 14px; color: var(--ink-soft); margin: 8px 0 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.ma-also .tag { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; color: var(--ink); }

/* Keep the club at its best */
.project { display: flex; flex-direction: column; }
.project .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.project .needs { display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; margin: 6px 0 4px; font-size: 15px; }
.project .needs dt { font-weight: 600; color: var(--navy); }
.project .needs dd { margin: 0; }
.project .btns { margin-top: auto; padding-top: 10px; }
.raise { height: 10px; background: var(--steel-soft); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.raise span { display: block; height: 100%; background: var(--cricket); }
.keep-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--red-on-navy); }
.keep-card:hover { color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.keep-card h3 { margin: 0; }
@media (max-width: 860px) { .nav a { font-size: 17px; } }
@media (min-width: 861px) and (max-width: 1100px) { .nav a { padding: 9px 8px; font-size: 15px; } }

/* Mellor 100 Club */
.lotto-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .lotto-hero { grid-template-columns: 1fr; } }
.ball-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 24px; }
.balls { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.balls span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 700 24px var(--head); color: var(--navy);
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, #FFD9D7 19% 100%); box-shadow: inset -4px -6px 10px rgba(0,0,0,.15); }
.balls span:nth-child(2) { background: radial-gradient(circle at 35% 30%, #fff 0 18%, #F5E7B5 19% 100%); }
.balls span:nth-child(3) { background: radial-gradient(circle at 35% 30%, #fff 0 18%, #CFE6D6 19% 100%); }
.balls span:nth-child(4) { background: radial-gradient(circle at 35% 30%, #fff 0 18%, #DCD3EE 19% 100%); }
.ball-card .big { font: 700 46px/1 var(--head); color: #fff; margin: 0; }
.ball-card .big span { font: 500 16px var(--body); color: #DCE4F0; }
@media (prefers-reduced-motion: no-preference) { .balls span { animation: bob 3.2s ease-in-out infinite; } .balls span:nth-child(2) { animation-delay: .4s; } .balls span:nth-child(3) { animation-delay: .8s; } .balls span:nth-child(4) { animation-delay: 1.2s; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
.lotto-band { background: #FFF6F5; padding-block: 36px; }
.lotto-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.lotto-strip h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.lotto-strip .balls { margin: 0; }
@media (max-width: 760px) { .lotto-strip { grid-template-columns: 1fr; gap: 14px; } }

/* Club and section logos (taken from the club's own websites) */
.brand img { display: block; height: 58px; width: auto; border-radius: 4px; }
.foot-logo { display: block; width: 200px; height: auto; border-radius: 4px; margin-bottom: 12px; }
.sport-badge { display: block; height: 72px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 12px; }
.sport-head { display: flex; align-items: center; gap: 20px; }
.sport-logo { flex: none; width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; }
@media (max-width: 560px) { .sport-logo { width: 72px; height: 72px; } .sport-head { gap: 14px; } }

/* Recruiting notices */
.notice { margin: 18px 0 0; max-width: 640px; padding: 12px 16px; border-left: 4px solid var(--c, var(--red-on-navy)); background: rgba(255,255,255,.08); color: #fff; border-radius: 0 8px 8px 0; }
.notice a { color: #fff; font-weight: 600; white-space: nowrap; }
.card-notice { margin: 10px 0 0; padding: 6px 10px; background: #EAF5EC; color: #1E5A2E; font-weight: 600; font-size: 15px; border-radius: 6px; }

/* ---------- Usability pass ---------- */
/* Task shortcuts under the home hero */
.quick { background: #fff; border-bottom: 1px solid var(--rule); padding: 26px 0 30px; }
.quick-h { font-size: 22px; margin: 0 0 14px; }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.task { display: flex; flex-direction: column; gap: 3px; height: 100%; box-sizing: border-box; padding: 14px 16px 14px 18px; border: 1px solid var(--rule); border-left: 4px solid var(--navy); border-radius: 10px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.task strong { font-size: 17px; }
.task strong::after { content: ' \2192'; }
.task span { font-size: 14px; color: var(--ink-soft); }
.task:hover, .task:focus-visible { box-shadow: 0 4px 14px rgba(14,40,80,.12); border-color: var(--navy); }
.task.hot { border-left-color: var(--red); background: #FFF6F6; }
/* Whole sport card is one tap target */
.sport { position: relative; }
.sport h3 a.stretch { color: inherit; text-decoration: none; }
.sport h3 a.stretch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.sport h3 a.stretch:focus-visible { outline: none; }
.sport:focus-within { box-shadow: 0 0 0 3px var(--steel); }
.sport:hover { box-shadow: 0 6px 18px rgba(14,40,80,.12); }
.sport .links a:not(.sport-more) { position: relative; z-index: 1; }
/* Event rows: home games */
.pill.home { background: #E7F3EA; color: #1E5A2E; }
.ma-more { margin: 12px 0 0; font-weight: 600; }
@media (max-width: 640px) {
  .quick { padding: 20px 0 22px; }
  .tasks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .task { padding: 12px 12px 12px 14px; }
  .task strong { font-size: 15px; line-height: 1.25; }
  .task span { display: none; }
  .task.hot span { display: block; font-size: 13px; }
  .tasks li:has(.hot):not([hidden]) { grid-column: 1 / -1; }
  /* sports as a compact 2 x 2 of badges */
  #sport-cards.grid.four { grid-template-columns: 1fr 1fr; gap: 10px; }
  #sport-cards .sport { padding: 14px; text-align: center; align-items: center; }
  #sport-cards .sport-badge { height: 56px; margin: 0 auto 8px; }
  #sport-cards .sport .since { font-size: 11px; margin-bottom: 2px; }
  #sport-cards .sport h3 { margin: 0; font-size: 20px; }
  #sport-cards .sport-line, #sport-cards .sport .links { display: none; }
  #sport-cards .card-notice { font-size: 12px; padding: 4px 6px; margin-top: 8px; }
}
@media (min-width: 900px) { .tasks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .tasks li:last-child { grid-column: 1 / -1; } }

/* ---------- Events and socials ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero-grid:has(.coming:not([hidden])) { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); } }
.coming { position: relative; z-index: 1; background: rgba(255,255,255,.97); color: var(--ink); border-radius: 14px; padding: 18px 18px 14px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.coming-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.coming-head h2 { font-size: 22px; margin: 0; color: var(--navy); }
.coming-head a { font-weight: 600; font-size: 15px; white-space: nowrap; }
.coming-note { margin: 8px 0 0; }
.social { display: flex; gap: 14px; align-items: center; padding: 10px 6px; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; border-radius: 8px; }
.coming .social:first-child { border-top: 0; }
a.social:hover, a.social:focus-visible { background: var(--wash); }
.social h3 { font-size: 18px; margin: 0 0 2px; line-height: 1.2; }
.social-meta { margin: 0; font-size: 14px; color: var(--ink-soft); }
.cal-leaf { flex: none; width: 56px; text-align: center; border-radius: 8px; overflow: hidden; border: 1px solid var(--rule); background: #fff; line-height: 1.05; font-family: var(--head); }
.cal-leaf span:first-child { display: block; background: var(--red); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 0; }
.cal-leaf strong { display: block; font-size: 26px; color: var(--navy); padding-top: 3px; }
.cal-leaf span:last-child { display: block; font-size: 12px; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 4px; }
.pill.example { background: #FFF1C9; color: #6B5100; }
/* the Events page */
.ev-month { font-size: 24px; margin: 28px 0 12px; }
.ev-month:first-child { margin-top: 0; }
.ev-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.social.full { align-items: flex-start; border: 1px solid var(--rule); border-left: 4px solid var(--red); padding: 16px; background: #fff; }
.social.full .cal-leaf { width: 64px; }
.social.full h3 { font-size: 21px; }
.social.full h3 a { color: inherit; }
.social-blurb { margin: 8px 0 10px; color: var(--ink-soft); }
.small-btn { min-height: 38px; padding: 0 16px; font-size: 15px; }
.social.target { box-shadow: 0 0 0 3px var(--steel); }
.on-navy .coming, .on-navy .coming h3 { color: var(--ink); }
.on-navy .coming .social-meta, .on-navy .coming .coming-note { color: var(--ink-soft); }
.on-navy .coming a:not(.social) { color: var(--steel); }
.on-navy .coming .coming-head h2 { color: var(--navy); }
