/* Sports club: Ashford Rovers, an invented community football club. Club claret and sky blue on white, condensed heavy headings. Fixtures and results by team, a league table, teams by age and how to join. */

.sk-page {
  --sk-canvas: #f8f9fb;
  --sk-surface: #ffffff;
  --sk-band: #eef1f6;
  --sk-ink: #1a1420;
  --sk-muted: #55505c;
  --sk-line: #dcdde4;
  --sk-line-strong: #7d7a86;
  --sk-accent: #7a1530;
  --sk-accent-hover: #5e1025;
  --sk-on-accent: #ffffff;
  --sk-tint: #e4eef9;
  --sk-success: #1d6b3a;
  --sk-danger: #b3261e;
  --sk-focus: #7a1530;
  --sk-sky: #8ec5ff;
  --sk-head: "Arial Narrow", "Segoe UI Semibold", system-ui, sans-serif;
  --sk-body: "Segoe UI", system-ui, sans-serif;
  --sk-r: 8px;

  background: var(--sk-canvas);
  color: var(--sk-ink);
  font-family: var(--sk-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* Dark mode, the default (PRD section 13.10): floodlit night with sky blue. Only this template's
   tokens change. */
@media screen {
  :root[data-theme="dark"] .sk-page {
    --sk-canvas: #0f0d14;
    --sk-surface: #18151f;
    --sk-band: #14111a;
    --sk-ink: #efecf4;
    --sk-muted: #b5afbf;
    --sk-line: #2e2a38;
    --sk-line-strong: #7b7488;
    --sk-accent: #8ec5ff;
    --sk-accent-hover: #b3d8ff;
    --sk-on-accent: #0a2440;
    --sk-tint: #1f2a3c;
    --sk-success: #82d9a2;
    --sk-danger: #ff8a80;
    --sk-focus: #8ec5ff;
    --sk-sky: #2a4a70;
    color-scheme: dark;
  }
}

.sk-page [hidden] { display: none !important; }
:where(.sk-page) :is(p, h1, h2, h3, h4, ul, ol, dl, dd, fieldset, figure, blockquote) { margin: 0; }
:where(.sk-page) :is(ul, ol) { padding: 0; list-style: none; }
:where(.sk-page) fieldset { padding: 0; border: 0; min-width: 0; }
:where(.sk-page) a { color: var(--sk-accent); }
:where(.sk-page) :is(h1, h2, h3, h4) { color: inherit; }
.sk-page :focus-visible { outline: 3px solid var(--sk-focus); outline-offset: 2px; }
.sk-page :is(input[type="range"], input[type="checkbox"], input[type="radio"]) { accent-color: var(--sk-accent); }
html:has(.sk-page) { scroll-behavior: smooth; }
.sk-page section[id] { scroll-margin-top: 72px; }
.sk-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.sk-header { position: sticky; top: 0; z-index: 20; background: var(--sk-canvas); border-bottom: 1px solid var(--sk-line); }
.sk-header-in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.sk-logo { display: flex; align-items: center; gap: 10px; font: 700 1.2rem/1.1 var(--sk-head); color: var(--sk-ink) !important; text-decoration: none; }
.sk-logo-mark { width: 30px; height: 30px; flex: none; fill: var(--sk-tint); stroke: var(--sk-accent); stroke-width: 2; stroke-linejoin: round; }
.sk-nav { margin-left: auto; }
.sk-nav ul { display: flex; gap: 22px; }
.sk-nav a { color: var(--sk-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sk-nav a:hover { color: var(--sk-accent); text-decoration: underline; text-underline-offset: 4px; }
.sk-menu-btn { display: none; }
.sk-theme-btn {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--sk-line-strong); border-radius: var(--sk-r); background: transparent; color: inherit; font-size: 1.15rem; cursor: pointer;
}
.sk-theme-btn:hover { background: var(--sk-tint); }

.sk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border: 2px solid var(--sk-accent); border-radius: var(--sk-r); font: 700 1rem/1.2 var(--sk-head); text-decoration: none; cursor: pointer; text-align: center;
}
.sk-btn--fill { background: var(--sk-accent); color: var(--sk-on-accent) !important; }
.sk-btn--fill:hover { background: var(--sk-accent-hover); border-color: var(--sk-accent-hover); }
.sk-btn--line { background: transparent; color: var(--sk-accent) !important; }
.sk-btn--line:hover { background: var(--sk-tint); }
.sk-btn--big { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.sk-btn:disabled { background: var(--sk-band); border-color: var(--sk-line-strong); color: var(--sk-muted) !important; cursor: not-allowed; }

.sk-eyebrow { font-weight: 700; color: var(--sk-accent); font-size: .92rem; letter-spacing: .02em; }
.sk-title { font: 700 clamp(1.7rem, 3.4vw, 2.4rem)/1.15 var(--sk-head); }
.sk-sub { color: var(--sk-muted); margin-top: 8px; max-width: 64ch; }
.sk-head { margin-bottom: 26px; }
.sk-sec { padding: 72px 0; }
.sk-band { background: var(--sk-band); }
.sk-muted { color: var(--sk-muted); }
.sk-small { font-size: .9rem; color: var(--sk-muted); }

.sk-hero { padding: 64px 0 56px; }
.sk-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.sk-hero-title { font: 700 clamp(2.2rem, 5vw, 3.5rem)/1.06 var(--sk-head); margin-top: 10px; }
.sk-lede { font-size: 1.15rem; color: var(--sk-muted); margin-top: 16px; max-width: 54ch; }
.sk-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sk-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; color: var(--sk-muted); font-size: .95rem; }
.sk-facts strong { color: var(--sk-ink); }
.sk-panel { padding: 24px; background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: calc(var(--sk-r) + 4px); box-shadow: 0 24px 40px -30px var(--color-shadow); }
.sk-panel-title { font: 700 1.1rem var(--sk-head); margin-bottom: 12px; }

.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.sk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sk-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: var(--sk-r); }
.sk-card h3 { font: 700 1.15rem/1.25 var(--sk-head); }
.sk-card p { color: var(--sk-muted); font-size: .96rem; }
.sk-card .sk-btn { margin-top: auto; align-self: flex-start; }
.sk-card.is-on { border: 2px solid var(--sk-accent); }
.sk-art { height: 120px; margin: -22px -22px 6px; border-radius: var(--sk-r) var(--sk-r) 0 0; background: var(--sk-tint); position: relative; overflow: hidden; }
.sk-art::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: 18%; top: 22%; background: var(--sk-canvas); opacity: .7; }
.sk-price { font: 700 1.5rem var(--sk-head); color: var(--sk-ink); }
.sk-badge { display: inline-block; align-self: flex-start; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--sk-line-strong); font-size: .82rem; font-weight: 600; color: var(--sk-ink); }
.sk-badge--on { background: var(--sk-tint); border-color: var(--sk-accent); }
.sk-badge--bad { border-color: var(--sk-danger); color: var(--sk-danger); }
.sk-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--sk-muted); }

.sk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sk-chip { min-height: 42px; padding: 0 16px; border: 1px solid var(--sk-line-strong); border-radius: 999px; background: var(--sk-surface); color: var(--sk-ink); font: 600 .95rem var(--sk-body); cursor: pointer; }
.sk-chip:hover { border-color: var(--sk-accent); }
.sk-chip[aria-pressed="true"] { background: var(--sk-accent); border-color: var(--sk-accent); color: var(--sk-on-accent); }
.sk-count { font-weight: 600; margin-bottom: 14px; }
.sk-empty { padding: 28px; text-align: center; border: 1px dashed var(--sk-line-strong); border-radius: var(--sk-r); }

.sk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 18px; counter-reset: st; }
.sk-steps li { padding: 22px; background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: var(--sk-r); counter-increment: st; }
.sk-steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--sk-accent); color: var(--sk-on-accent); font-weight: 700; }
.sk-steps h3 { font: 700 1.1rem var(--sk-head); }
.sk-steps p { color: var(--sk-muted); font-size: .95rem; margin-top: 4px; }

.sk-table { width: 100%; border-collapse: collapse; background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: var(--sk-r); overflow: hidden; }
.sk-table th, .sk-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--sk-line); vertical-align: top; }
.sk-table th { font-size: .88rem; color: var(--sk-muted); background: var(--sk-band); }
.sk-table td.sk-num, .sk-table th.sk-num { text-align: right; font-variant-numeric: tabular-nums; }

.sk-meter { height: 10px; border-radius: 999px; background: var(--sk-line); overflow: hidden; }
.sk-meter span { display: block; height: 100%; background: var(--sk-accent); border-radius: inherit; }
.sk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 16px; }
.sk-stat strong { display: block; font: 700 2rem/1.1 var(--sk-head); }
.sk-stat span { color: var(--sk-muted); font-size: .92rem; }

.sk-faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.sk-qs details { border-bottom: 1px solid var(--sk-line); }
.sk-qs summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.sk-qs p { padding: 0 0 16px; color: var(--sk-muted); }

.sk-form { max-width: 760px; margin-inline: auto; padding: 32px; background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: calc(var(--sk-r) + 4px); display: flex; flex-direction: column; gap: 18px; }
.sk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sk-field--full { grid-column: 1 / -1; }
.sk-field label, .sk-field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.sk-field :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--sk-line-strong); border-radius: calc(var(--sk-r) - 2px); background: var(--sk-canvas); color: var(--sk-ink); font: 1rem var(--sk-body); }
.sk-field textarea { min-height: 110px; resize: vertical; }
.sk-field :is(input, select, textarea)[aria-invalid="true"] { border: 2px solid var(--sk-danger); }
.sk-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.sk-check input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; accent-color: var(--sk-accent); }
.sk-hint { font-size: .88rem; color: var(--sk-muted); margin-top: 6px; }
.sk-error { color: var(--sk-danger); font-weight: 600; font-size: .92rem; margin-top: 6px; }
.sk-error::before { content: "! "; }
.sk-status { font-weight: 600; }
.sk-status.is-ok { padding: 14px 16px; border-radius: calc(var(--sk-r) - 2px); background: var(--sk-tint); border-left: 4px solid var(--sk-success); }

.sk-footer { padding: 28px 0; border-top: 1px solid var(--sk-line); color: var(--sk-muted); font-size: .92rem; }
.sk-footer-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .sk-header-in { flex-wrap: wrap; gap: 10px; }
  .sk-theme-btn { margin-left: auto; }
  .sk-menu-btn {
    display: inline-flex; align-items: center; order: 3; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--sk-line-strong); border-radius: var(--sk-r); background: transparent; color: var(--sk-ink); font: 600 .95rem var(--sk-body); cursor: pointer;
  }
  .sk-nav { display: none; order: 5; width: 100%; margin: 0; }
  .sk-nav.is-open { display: block; padding-bottom: 12px; }
  .sk-nav ul { flex-direction: column; gap: 0; }
  .sk-nav a { display: block; padding: 12px 0; border-top: 1px solid var(--sk-line); }
  .sk-header-cta { display: none; }
  .sk-hero-in, .sk-faq-in, .sk-grid--2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 640px) {
  .sk-sec { padding: 52px 0; }
  .sk-fields { grid-template-columns: minmax(0, 1fr); }
  .sk-form { padding: 20px; }
  .sk-table thead { display: none; }
  .sk-table, .sk-table tbody, .sk-table tr, .sk-table td { display: block; width: 100%; }
  .sk-table tr { border-bottom: 1px solid var(--sk-line-strong); padding: 6px 0; }
  .sk-table td { border: 0; padding: 6px 14px; text-align: left !important; }
  .sk-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--sk-muted); }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.sk-page) { scroll-behavior: auto; }
}

@media print {
  .sk-header, .sk-theme-btn, .sk-form { display: none; }
}

/* This template's own sections */
.sk-page h1, .sk-title, .sk-card h3 { text-transform: uppercase; letter-spacing: .02em; }
.sk-next { border-top: 6px solid var(--sk-sky); }
.sk-vs { font: 700 1.3rem var(--sk-head); margin: 4px 0 8px; }
.sk-lab { display: block; font-weight: 700; margin-bottom: 6px; }
#sk-team { font: inherit; padding: 10px 12px; border: 1px solid var(--sk-line-strong); border-radius: var(--sk-radius); background: var(--sk-surface); color: var(--sk-ink); }
.sk-games { margin-top: 12px; }
.sk-games li { display: grid; grid-template-columns: 1fr; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--sk-line); }
@media (min-width: 700px) { .sk-games li { grid-template-columns: 170px 130px 1fr auto; align-items: center; } }
.sk-games time, .sk-tag { color: var(--sk-muted); font-size: .92rem; }
.sk-games b { font-weight: 700; }
.sk-res { font: 700 1rem var(--sk-head); padding: 4px 10px; border-radius: 6px; border: 2px solid currentColor; text-align: center; white-space: nowrap; }
.sk-res.is-w { color: var(--sk-success); } .sk-res.is-l { color: var(--sk-danger); } .sk-res.is-d, .sk-res.is-n { color: var(--sk-muted); }
.sk-scroll { overflow-x: auto; }
.sk-league { width: 100%; min-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sk-league th, .sk-league td { padding: 10px 8px; border-bottom: 1px solid var(--sk-line); text-align: right; }
.sk-league th:nth-child(2), .sk-league td:nth-child(2) { text-align: left; }
.sk-league tr.is-us td, .sk-league tr.is-us th { background: var(--sk-tint); color: var(--sk-ink); font-weight: 700; }
.sk-league abbr { text-decoration: none; }
