/* fighters.lt - build 11. Nike retail world with an Airbnb-pattern club search. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal-Wa7z_Iw.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal-iEdfVTB.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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;
}
/* Archivo has no Cyrillic. Russian headings take these glyphs from Oswald,
   the nearest condensed face that has them. */
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-cyrillic-wght-HNphQ_6.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ink: #111111;
  --canvas: #ffffff;
  --cloud: #f5f5f5;
  --charcoal: #39393b;
  --mute: #6a6a6c;
  --stone: #a3a3a5;
  --hairline: #cacacb;
  --hairline-soft: #e5e5e5;
  --red: #d30005;
  --red-deep: #780700;

  /* The stage: the dark room of the home hero and the sports band. */
  --night: #0b0b0b;
  --night-line: #2b2b2d;
  --on-night-2: #b6b6b8;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display-stretch: 62%;

  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 72px;
  --s9: 112px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --header-h: 72px;

  --lift: 0 2px 6px rgba(17, 17, 17, 0.06), 0 8px 24px rgba(17, 17, 17, 0.12);
  --lift-night: 0 2px 8px rgba(0, 0, 0, 0.35), 0 18px 48px rgba(0, 0, 0, 0.45);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
  accent-color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s4));
  scrollbar-color: var(--ink) var(--cloud);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  text-rendering: optimizeLegibility;
  /* On short pages (not found, empty states) the content grows, so the
     footer reaches the bottom of the window with no white band under it.
     svh, so the page never scrolls just for this on phones. */
  display: flex; flex-direction: column; min-height: 100svh;
}
body > main { flex-grow: 1; }

::selection { background: var(--ink); color: var(--canvas); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--canvas); }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  padding: var(--s3) var(--s5);
  background: var(--ink); color: var(--canvas);
  border-radius: 30px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: var(--s3); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Display type: condensed, uppercase, set like a campaign lockup. */
.display {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
/* Oswald runs wider and taller than condensed Archivo: long Russian words get a
   smaller minimum size and may hyphenate on narrow phones, and lines open
   up so accents on Cyrillic capitals clear the line above. */
:lang(ru) :is(.display, .sport-name, .plate-word, .section-head h2, .empty p:first-child, .story.is-lead h2, .city-rows .city-name) {
  font-family: "Oswald", var(--font);
  line-height: 1; hyphens: auto; overflow-wrap: break-word;
}

/* Header ------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas);
  box-shadow: inset 0 -1px 0 var(--hairline-soft);
  transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
/* Over a dark section (.on-dark) the header joins it, so a dark room does
   not sit under a white bar: set by lang.js as the page scrolls, and from
   the first paint on pages that open dark (dark_top in the layout). The
   logo's black letters and fist turn white; its red stays red. */
/* Everything that changes tone fades together, so no text passes over a
   background of its own color on the way. */
.site-header .nav a, .site-header .nav .icon, .site-header .lang summary, .site-header .brand img {
  transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out), box-shadow 320ms var(--ease-out), filter 320ms var(--ease-out);
}
.site-header.is-dark { background: var(--night); color: var(--canvas); box-shadow: inset 0 -1px 0 var(--night-line); }
.site-header.is-dark .brand img { filter: invert(1) hue-rotate(180deg); }
.site-header.is-dark .nav a:hover, .site-header.is-dark .lang summary:hover { background: rgba(255,255,255,0.08); }
.site-header.is-dark .nav a[aria-current="page"] { background: var(--canvas); color: var(--ink); }
.site-header.is-dark .nav .icon { color: var(--on-night-2); }
.site-header.is-dark .nav a[aria-current="page"] .icon { color: var(--mute); }
.site-header.is-dark .lang summary { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32); }
.site-header.is-dark .lang[open] summary { box-shadow: inset 0 0 0 1.5px var(--canvas); }
.site-header.is-dark :focus-visible { outline-color: var(--canvas); }
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .nav a, .site-header .nav .icon, .site-header .lang summary, .site-header .brand img { transition: none; }
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; }
.header-start { display: flex; align-items: center; gap: var(--s4); }

/* Language menu: code in a pill, opens a list of language names. */
.lang { position: relative; }
.lang summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 60px; height: 36px; padding: 0 10px;
  border-radius: 9999px; box-shadow: inset 0 0 0 1px var(--hairline);
  font: 600 13px/1 var(--font); cursor: pointer; list-style: none;
  transition: background-color 200ms var(--ease-out);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--cloud); }
.lang[open] summary { box-shadow: inset 0 0 0 1.5px var(--ink); }
.lang summary .icon { font-size: 14px; transition: transform 200ms var(--ease-out); }
.lang[open] summary .icon { transform: rotate(180deg); }
.lang-code { width: 20px; flex: none; font-size: 12px; font-weight: 600; color: var(--mute); }
.lang-menu {
  position: absolute; left: 0; top: calc(100% + var(--s2)); z-index: 60;
  list-style: none; min-width: 168px; padding: var(--s1);
  background: var(--canvas); color: var(--ink);
  box-shadow: 0 0 0 1px var(--hairline-soft), var(--lift);
}
.lang-menu a {
  display: flex; align-items: center; gap: var(--s3);
  padding: 10px var(--s3);
  font-weight: 500; text-decoration: none;
}
.lang-menu a:hover { background: var(--cloud); }
.lang-menu a[aria-current="true"] { font-weight: 700; }
/* A language the page lacks says so under its name (an untranslated article). */
.lang-menu:has(.lang-note) { min-width: 224px; }
.lang-menu a:has(.lang-note) { flex-wrap: wrap; row-gap: 2px; }
.lang-note { flex-basis: 100%; padding-left: calc(20px + var(--s3)); font-size: 13px; font-weight: 400; color: var(--mute); }
.brand img { width: 84px; height: auto; }

.nav ul { list-style: none; display: flex; gap: var(--s1); }
.nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: var(--s2) var(--s3);
  border-radius: 30px;
  font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms var(--ease-out);
}
.nav a:hover { background: var(--cloud); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--canvas); }
.nav .icon { font-size: 13px; color: var(--mute); }
.nav a[aria-current="page"] .icon { color: var(--stone); }

@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0; height: auto; padding-top: var(--s3); }
  .brand img { width: 72px; }
  /* position: relative keeps the hidden "other site" labels inside the
     scrolling row, so a long menu does not widen the page. */
  .nav { position: relative; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { padding: var(--s1) var(--gutter) var(--s2); }
  .nav ul { gap: 0; }
  .nav a { font-size: 15px; padding: 6px 9px; }
  .nav .icon { display: none; }
  :root { --header-h: 100px; }
}

/* Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  border: 0; border-radius: 30px;
  font: 500 16px/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.btn-primary { background: var(--ink); color: var(--canvas); }
.btn-primary:hover { background: var(--charcoal); }
.btn-secondary { background: var(--cloud); color: var(--ink); }
.btn-secondary:hover { background: var(--hairline-soft); }
/* On the stage: an outline, quieter than the red button beside it. */
.btn-ghost { background: transparent; color: var(--canvas); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8); }

/* The home page's one call: to the club search, in the search's red. Once
   the bag has picked a sport it names it ("Rasti kikbokso klubą"). */
.btn-find {
  gap: var(--s3); min-height: 64px; padding: 0 var(--s6);
  border-radius: 9999px; background: var(--red); color: var(--canvas);
  font-size: 19px; font-weight: 600; box-shadow: var(--lift-night);
}
.btn-find:hover { background: var(--red-deep); }
.btn-find .icon { font-size: 22px; transition: transform 240ms var(--ease-out); }
.btn-find:hover .icon { transform: translateX(4px); }
.btn-find.is-picked #find-label { display: inline-block; animation: find-picked 500ms var(--ease-out); }
@keyframes find-picked { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 640px) { .btn-find { min-height: 58px; font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .btn-find.is-picked #find-label { animation: none; } }

/* Hero ------------------------------------------------------------ */

.hero { position: relative; color: var(--canvas); }
.hero-photo {
  position: relative;
  background: var(--ink);
  height: clamp(480px, calc(100svh - var(--header-h) - 64px), 860px);
  overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 38% 30%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0) 35%, rgba(17,17,17,0.55) 72%, rgba(17,17,17,0.85) 100%);
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 88px; z-index: 1;
}
.hero h1 { font-size: clamp(4rem, 19vw, 6rem); }
.hero-lede {
  margin-top: var(--s4); max-width: 34ch; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.4; color: var(--hairline-soft);
  /* The photo can be busy behind the copy (a logo, a glove): keep it readable. */
  text-shadow: 0 0 8px rgba(17,17,17,0.9), 0 0 16px rgba(17,17,17,0.7);
}
.hero .btn-find { margin-top: var(--s5); }
/* Phones stack the copy over the middle of the photo: a deeper scrim. */
@media (max-width: 640px) {
  .hero-photo::after { background: linear-gradient(180deg, rgba(17,17,17,0) 25%, rgba(17,17,17,0.72) 55%, rgba(17,17,17,0.92) 100%); }
}
.hero-credit {
  position: absolute; right: var(--gutter); top: var(--s4); z-index: 1;
  font-size: 12px; color: var(--hairline-soft);
}
.hero-credit a { color: inherit; }

/* Search pill: Airbnb's segmented bar in Nike's pill vocabulary. */
.search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  max-width: 760px;
  min-height: 80px;
  padding: var(--s2);
  background: var(--canvas); color: var(--ink);
  border-radius: 9999px;
  box-shadow: 0 0 0 1px var(--hairline-soft), var(--lift);
}
/* The select fills its whole segment, under the label, so the segment is
   one click target, the chevron sits on the segment's middle and the list
   opens from the segment's edge. The focus ring is drawn inside the
   segment, never over the bar's edge or the button. */
.search-field {
  --field-x: var(--s6);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  position: relative;
  display: grid; align-self: stretch;
  border-radius: 9999px;
  transition: background-color 200ms var(--ease-out);
}
.search-field + .search-field::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--hairline);
}
/* Shaded while hovered, opened, or reached by keyboard; not while a mouse
   has merely left it focused after picking. */
.search-field:hover, .search-field:has(select:focus-visible) { background: var(--cloud); }
.search-field:hover::before, .search-field:has(select:focus-visible)::before { opacity: 0; }
/* Its own rules: a browser without :open drops only these. */
.search-field:has(select:open) { background: var(--cloud); }
.search-field:has(select:open)::before { opacity: 0; }
.search-field label {
  position: absolute; z-index: 1; top: 12px; left: var(--field-x);
  font: 600 13px/18px var(--font);
  pointer-events: none;
}
.search-field select {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-width: 0; margin: 0;
  padding: 30px calc(var(--field-x) + 24px) 12px var(--field-x);
  border: 0; border-radius: inherit;
  font: 400 16px/22px var(--font); color: var(--charcoal);
  white-space: nowrap; text-overflow: ellipsis;
  background: var(--chevron) no-repeat right max(var(--field-x) - 8px, 8px) center / 16px;
  cursor: pointer;
}
.search-field select:focus { outline: none; }
.search-field select:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

/* Where the browser lets the list be styled (appearance: base-select), it
   opens as a white card in the bar's pill vocabulary; elsewhere the
   browser's own list shows. */
@supports (appearance: base-select) {
  .search-field select, .search-field ::picker(select) { appearance: base-select; }
  .search-field select { display: flex; align-items: center; background: none; }
  .search-field select:open { outline: none; }
  .search-field select::picker-icon {
    content: ""; position: absolute; top: 50%; right: max(var(--field-x) - 8px, 8px);
    width: 16px; height: 16px; margin-top: -8px;
    background: var(--ink); mask: var(--chevron) center / contain no-repeat;
    transition: rotate 200ms var(--ease-out);
  }
  .search-field select:open::picker-icon { rotate: 180deg; }

  .search-field ::picker(select) {
    min-inline-size: anchor-size(self-inline);
    max-block-size: min(420px, 60svh);
    margin-block: var(--s2);
    padding: 6px;
    border: 1px solid transparent; border-radius: 24px;
    background: var(--canvas); color: var(--ink);
    box-shadow: 0 0 0 1px var(--hairline-soft), var(--lift);
    overflow-y: auto; scrollbar-width: thin;
    opacity: 0; translate: 0 -6px;
    transition: opacity 160ms var(--ease-out), translate 200ms var(--ease-out),
      overlay 200ms allow-discrete, display 200ms allow-discrete;
  }
  .search-field ::picker(select):popover-open { opacity: 1; translate: 0 0; }
  @starting-style {
    .search-field ::picker(select):popover-open { opacity: 0; translate: 0 -6px; }
  }

  .search-field option {
    position: relative;
    display: flex; align-items: center; gap: var(--s3);
    min-block-size: 44px; padding: 10px calc(var(--field-x) - 6px);
    border-radius: 9999px;
    font: 400 16px/22px var(--font); color: var(--charcoal);
    white-space: nowrap; cursor: pointer;
  }
  /* "All cities" and "All sports" stand apart from the choices. */
  .search-field option:first-child { margin-bottom: 7px; }
  .search-field option:first-child::after {
    content: ""; position: absolute; left: calc(var(--field-x) - 6px); right: calc(var(--field-x) - 6px); bottom: -4px;
    height: 1px; background: var(--hairline-soft);
  }
  .search-field option:hover, .search-field option:focus-visible { background: var(--cloud); color: var(--ink); outline: 2px solid transparent; outline-offset: -2px; }
  .search-field option:checked { font-weight: 600; color: var(--ink); }
  .search-field option::checkmark {
    content: ""; order: 1; flex-shrink: 0; width: 16px; height: 16px; margin-left: auto;
    background: var(--red);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .search-field option:not(:checked)::checkmark { visibility: hidden; }
  @media (prefers-reduced-motion: reduce) {
    .search-field ::picker(select), .search-field select::picker-icon { transition: none; }
  }
}
.search-orb {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: 64px; min-width: 64px; margin-left: var(--s1); padding: 0 var(--s5);
  border: 0; border-radius: 9999px;
  background: var(--red); color: var(--canvas);
  font: 600 16px/1 var(--font); cursor: pointer;
  transition: background-color 200ms var(--ease-out);
}
.search-orb:hover { background: var(--red-deep); }
.search-orb:focus-visible { outline-color: var(--canvas); outline-offset: -4px; }
.search-orb .icon { font-size: 20px; stroke-width: 2.5; }

@media (max-width: 640px) {
  .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; min-height: 64px; padding: 6px; }
  .search-field { --field-x: var(--s4); }
  .search-field label { top: 7px; font-size: 12px; line-height: 16px; }
  .search-field select { padding-top: 23px; padding-bottom: 7px; font-size: 15px; line-height: 21px; }
  .search-orb { height: 52px; min-width: 52px; padding: 0; }
  .search-orb span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero-photo { height: clamp(440px, calc(100svh - var(--header-h) - 48px), 760px); }
  .hero-copy { bottom: 56px; }
}
@media (max-width: 380px) {
  .nav a { padding: 6px 6px; font-size: 14px; font-stretch: 88%; }
  .search-field { --field-x: 10px; }
  .search-field select { font-size: 14px; }
}

/* Discipline marquee ------------------------------------------------- */

/* One strip below the stage, in the same dark, so the two read as one room. */
.disciplines { background: var(--night); color: var(--canvas); overflow: hidden; box-shadow: inset 0 1px 0 var(--night-line); }
.marquee-head { display: flex; align-items: center; justify-content: flex-end; gap: var(--s4); padding-top: var(--s4); }
.marquee { position: relative; padding: var(--s3) 0 var(--s5); user-select: none; -webkit-user-select: none; }
.marquee-track { display: flex; width: max-content; }
.marquee-list { display: flex; list-style: none; padding-right: 0; }
.marquee-list li { display: flex; align-items: center; }
.marquee-list li::after {
  content: ""; width: 14px; height: 14px; margin: 0 clamp(20px, 3vw, 40px);
  background: #4a4a4d;
  transform: rotate(45deg);
}
.sport-name {
  font-size: clamp(56px, 9vw, 120px);
  font-stretch: var(--display-stretch); font-weight: 800;
  text-transform: uppercase; line-height: 0.9;
}
/* Every second name in outline: the rhythm of a fight poster. */
.marquee-list li:nth-child(even) .sport-name, .marquee-list.is-shifted li:nth-child(odd) .sport-name { color: transparent; -webkit-text-stroke: 1.5px var(--canvas); }
.marquee-list.is-shifted li:nth-child(even) .sport-name { color: inherit; -webkit-text-stroke: 0; }
@media (forced-colors: active) {
  .marquee-list li:nth-child(n) .sport-name, .marquee-list.is-shifted li:nth-child(n) .sport-name { color: CanvasText; -webkit-text-stroke: 0; }
}

.js .marquee-track { animation: marquee 46s linear infinite; }
.js .marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee-toggle {
  display: none; align-items: center; gap: 6px;
  height: 32px; padding: 0 var(--s3);
  border: 0; border-radius: 30px;
  background: rgba(255,255,255,0.12); color: var(--canvas);
  font: 500 13px/1 var(--font); cursor: pointer;
}
.js .marquee-toggle { display: inline-flex; }
.marquee-toggle:hover { background: rgba(255,255,255,0.2); }

.no-js .marquee-list[aria-hidden="true"] { display: none; }
.no-js .marquee-track, .no-js .marquee-list { flex-wrap: wrap; width: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .marquee-track { animation: none; }
  .marquee-track { width: auto; }
  .marquee-list { flex-wrap: wrap; row-gap: var(--s3); padding: 0 var(--gutter); }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-toggle, .js .marquee-toggle { display: none; }
}

/* Club results ------------------------------------------------------- */

.clubs { padding-top: var(--s8); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--s4); margin-bottom: var(--s5);
}
.section-head h2 { font-size: clamp(32px, 4vw, 48px); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; line-height: 0.95; }
.result-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.result-count { font-weight: 500; font-variant-numeric: tabular-nums; margin-right: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 var(--s3) 0 var(--s4);
  border: 0; border-radius: 30px;
  background: var(--cloud); color: var(--ink);
  font: 500 14px/1 var(--font); cursor: pointer;
}
.chip:hover { background: var(--hairline-soft); }
.chip .icon { font-size: 14px; }
.chip[hidden] { display: none; }

.results {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--s6);
  align-items: start;
}
.club-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px var(--s4); }

.club {
  position: relative;
  display: grid; grid-row: span 6; grid-template-rows: subgrid;
}
.club-body { display: contents; }
.club .plate { margin-bottom: var(--s3); }
.club[hidden] { display: none; }
.plate {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  container-type: inline-size;
  background: var(--cloud);
}
/* Hover zooms with scale, not transform: the photo's own zoom (crop_style)
   is an inline transform, and the two multiply. */
.plate img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: scale 600ms var(--ease-out); }
.club:hover .plate img { scale: 1.03; }
.plate .plate-word {
  position: absolute; left: var(--s4); right: var(--s4); bottom: var(--s3);
  font-size: min(17cqi, 80px);
  font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase;
  line-height: 0.85; color: var(--ink);
}
.plate.is-photo { background: var(--ink); }
.plate.is-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0) 45%, rgba(17,17,17,0.6) 100%);
}
.plate.is-photo .plate-word { color: var(--canvas); z-index: 1; }
.tag {
  position: absolute; right: var(--s3); top: var(--s3); z-index: 1;
  display: inline-flex; align-items: center; height: 28px; padding: 0 var(--s3);
  border-radius: 30px; background: var(--canvas); color: var(--ink);
  font-size: 13px; font-weight: 600;
}
.club h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.club h3 a { text-decoration: none; }
.club h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.club h3 a:focus-visible { outline: none; }
.club:has(h3 a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.club-meta { font-size: 15px; color: var(--mute); }
.club-note { font-size: 15px; color: var(--charcoal); }
/* Club highlights: labels, not controls, so they are outlined and smaller
   than the filter chips, with no hover. */
.highlights { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; }
.highlights li {
  display: inline-flex; align-items: center; min-height: 26px; padding: 2px var(--s3);
  border: 1px solid var(--hairline); border-radius: 30px;
  font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink);
}
.club .highlights:not(:empty) { margin-top: var(--s2); }
.club-facts .highlights { padding-top: 1px; }
.club-link { display: inline-flex; align-items: center; align-self: end; gap: 6px; margin-top: var(--s2); margin-bottom: var(--s6); font-size: 15px; font-weight: 500; text-decoration: underline; }
.club-link .icon { font-size: 13px; }
.club.is-active .plate { box-shadow: 0 0 0 3px var(--ink); }

.empty {
  grid-column: 1 / -1;
  display: grid; justify-items: start; gap: var(--s4);
  padding: var(--s7) var(--s6);
  background: var(--cloud);
}
.empty[hidden] { display: none; }
.empty.is-framed { background: transparent; box-shadow: inset 0 0 0 1px var(--hairline); }
.empty p:first-child { font-size: clamp(32px, 4vw, 44px); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; line-height: 0.95; }
.empty p { max-width: 46ch; color: var(--charcoal); }

.map-panel {
  position: sticky; top: calc(var(--header-h) + var(--s4));
  height: calc(100svh - var(--header-h) - var(--s7));
  min-height: 420px; max-height: 820px;
  background: var(--cloud);
}
.no-js .map-panel, .no-map .map-panel { display: none; }
.no-js .results, .no-map .results { grid-template-columns: 1fr; }
.no-js .club-list, .no-map .club-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
#club-map { width: 100%; height: 100%; }
:is(.map-panel, .map-pick, .city-map, .club-map) .leaflet-tile-pane { filter: grayscale(1) contrast(0.95) brightness(1.04); }
:is(.map-panel, .map-pick, .city-map, .club-map) .leaflet-container { font-family: var(--font); background: var(--cloud); }
:is(.map-panel, .map-pick, .city-map, .club-map) .leaflet-control-attribution { font-size: 11px; background: rgba(255,255,255,0.9); }
:is(.map-panel, .map-pick, .club-map) .leaflet-bar { border: 0; box-shadow: none; display: grid; gap: var(--s2); }
:is(.map-panel, .map-pick, .club-map) .leaflet-bar a,
:is(.map-panel, .map-pick, .club-map) .leaflet-bar a:first-child,
:is(.map-panel, .map-pick, .club-map) .leaflet-bar a:last-child {
  width: 40px; height: 40px; border: 0; border-radius: 9999px;
  background: var(--canvas) center / 18px no-repeat;
  box-shadow: 0 0 0 1px var(--hairline), 0 2px 6px rgba(17,17,17,0.12);
  font-size: 0; color: transparent;
}
:is(.map-panel, .map-pick, .club-map) .leaflet-bar a:hover { background-color: var(--cloud); }
:is(.map-panel, .map-pick, .club-map) .leaflet-bar a.leaflet-control-zoom-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
:is(.map-panel, .map-pick, .club-map) .leaflet-bar a.leaflet-control-zoom-out { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
:is(.map-panel, .map-pick, .club-map) .leaflet-bar a.leaflet-disabled { opacity: 0.4; }
/* Contrast themes drop the shadow ring and can paint the button dark under
   the black icon: show Leaflet's own + and - in the theme's colours, with a
   border. */
@media (forced-colors: active) {
  :is(.map-panel, .map-pick, .club-map) .leaflet-bar a:is(.leaflet-control-zoom-in, .leaflet-control-zoom-out) {
    border: 1px solid ButtonText; background-image: none;
    font-size: 22px; line-height: 38px; color: ButtonText;
  }
}

.pin {
  display: inline-flex; align-items: center; white-space: nowrap;
  height: 30px; padding: 0 var(--s3);
  border-radius: 30px; background: var(--canvas); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(17,17,17,0.12), 0 2px 6px rgba(17,17,17,0.18);
  font: 600 13px/1 var(--font);
  transform: translate(-50%, -50%);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.pin-wrap { width: 0 !important; height: 0 !important; background: none; border: 0; }
.pin-wrap:hover .pin, .pin-wrap:focus-within .pin, .pin-wrap.is-active .pin { background: var(--ink); color: var(--canvas); }
.pin-wrap:hover, .pin-wrap:focus-within, .pin-wrap.is-active { z-index: 1000 !important; }
.pin-wrap:focus-visible { outline: none; }
.pin-wrap:focus-visible .pin, a.pin:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.pin-wrap a.pin { pointer-events: auto; text-decoration: none; color: var(--ink); }
@media (max-width: 560px) {
  .city-map .pin { height: 24px; padding: 0 var(--s2); font-size: 12px; }
}

.map-toggle {
  display: none;
  position: sticky; bottom: var(--s5); z-index: 20;
  margin: var(--s6) auto 0;
  box-shadow: var(--lift);
}

@media (max-width: 960px) {
  .results { grid-template-columns: 1fr; }
  .js:not(.no-map) .map-toggle { display: flex; width: max-content; }
  /* Keyboard focus stops above the floating pill, not under it. */
  .js:not(.no-map):has(.map-toggle) { scroll-padding-bottom: calc(48px + var(--s5) + var(--s4)); }
  .map-panel { position: relative; top: 0; height: 70svh; min-height: 380px; }
  .map-panel:not(.is-open) { display: none; }
  .results.show-map .club-list { display: none; }
}
@media (max-width: 560px) {
  .club-list { grid-template-columns: 1fr; }
  .plate { aspect-ratio: 16 / 9; }
  .plate .plate-word { font-size: min(15cqi, 64px); }
}

/* Home city map: it stays still and shows all of Lithuania; each city pin
   and city row links to the club search with that city picked. */

.home-clubs { padding: clamp(64px, 8vw, var(--s9)) 0 0; }
.home-clubs .section-head h2 { font-size: clamp(40px, 5vw, 64px); }
.home-clubs-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: start; }
.home-clubs .city-map { height: 440px; }
.city-list.city-rows, .js:not(.no-map) .city-list.city-rows { display: block; box-shadow: inset 0 1px 0 var(--ink); }
.city-list.city-rows a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--s4);
  height: auto; padding: 18px var(--s3) 16px; border-radius: 0; box-shadow: inset 0 -1px 0 var(--hairline);
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), padding 240ms var(--ease-out);
}
.city-list.city-rows a:hover { background: var(--ink); color: var(--canvas); padding-left: var(--s5); }
.city-rows .city-name {
  font-size: clamp(40px, 4vw, 56px); font-stretch: var(--display-stretch); font-weight: 800;
  text-transform: uppercase; line-height: 0.9;
}
.city-rows .city-count { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--mute); }
.city-rows a:hover .city-count { color: var(--stone); }
.city-rows .icon { font-size: 22px; }
.home-clubs-aside .btn { margin-top: var(--s5); }
/* The count on a city pin. */
.pin b {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px;
  border-radius: 10px; background: var(--red); color: var(--canvas);
  font-size: 12px; font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .home-clubs-grid { grid-template-columns: minmax(0, 1fr); }
  .home-clubs-aside { order: -1; }
  .home-clubs .city-map { height: 320px; }
}


.section-lede { margin-top: var(--s3); max-width: 46ch; color: var(--charcoal); }
.city-map { height: clamp(320px, 50vw, 600px); background: var(--cloud); }
.no-js .city-map, .no-map .city-map { display: none; }
.js:not(.no-map) .city-list { display: none; }
.city-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.city-list a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s4);
  border-radius: 9999px; box-shadow: inset 0 0 0 1px var(--hairline);
  font-weight: 500; text-decoration: none;
}
.city-list a:hover { background: var(--cloud); }

/* Promo banners on the home page: a cloud card with photo and call. */

.promos { padding-top: var(--s8); }
/* Without articles the news block is left out: the last block keeps the
   space above the footer. */
:is(.promos, .home-clubs):last-child { padding-bottom: var(--s9); }
.promo-list { list-style: none; display: grid; gap: var(--s4); }
.promo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--cloud); }
.promo:not(:has(.promo-media)) { grid-template-columns: minmax(0, 1fr); }
.promo-media { aspect-ratio: 4 / 3; overflow: hidden; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.promo-media img.is-cutout { object-fit: contain; filter: none; mix-blend-mode: multiply; }
.promo-body { display: grid; align-content: center; justify-items: start; gap: var(--s4); padding: var(--s6) var(--s7); }
.promo-body h2 { font-size: clamp(40px, 5vw, 72px); }
.promo-body p { max-width: 44ch; font-size: 18px; color: var(--charcoal); }
@media (max-width: 760px) {
  .promo { grid-template-columns: minmax(0, 1fr); }
  .promo-media { aspect-ratio: 16 / 9; }
  .promo-body { padding: var(--s5) var(--s4) var(--s6); }
}

/* Page banner: a photo strip behind the page heading, when the page has
   one; without it the plain page head shows. */

.page-banner {
  position: relative; display: flex; align-items: flex-end;
  height: clamp(240px, 25vw, 400px); overflow: hidden;
  background: var(--ink); color: var(--canvas);
}
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.1) 20%, rgba(17,17,17,0.75) 100%);
}
.page-banner-copy { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3) var(--s7); padding-bottom: var(--s6); }
.page-banner h1 { font-size: clamp(64px, 11vw, 6rem); }
.page-banner-copy p { max-width: 52ch; font-size: 18px; color: var(--hairline-soft); }
/* The club search pill docks onto the banner's lower edge. */
.page-banner.has-dock .page-banner-copy { padding-bottom: 72px; }
.page-banner.has-dock + .wrap > .search { position: relative; z-index: 2; margin-top: -40px; }
@media (max-width: 640px) {
  .page-banner.has-dock .page-banner-copy { padding-bottom: 56px; }
  .page-banner.has-dock + .wrap > .search { margin-top: -32px; }
}

/* Club search page ---------------------------------------------------- */

.finder-results { padding: var(--s7) 0 var(--s8); }

/* Blog ------------------------------------------------------------ */

.blog { padding: var(--s9) 0 var(--s8); }
.post-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s1) var(--s4); }
.post {
  position: relative;
  display: grid; grid-row: span 3; grid-template-rows: subgrid;
}
.post-head { display: grid; align-content: start; gap: var(--s1); }
.post-grid > .post .post-media { margin-bottom: var(--s2); }
.post-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--cloud); }
.post-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: scale 600ms var(--ease-out); }
.post-media img.is-cutout, .article-figure img.is-cutout { object-fit: contain; filter: none; mix-blend-mode: multiply; }
.post:hover .post-media img { scale: 1.03; }
.post-meta { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.post h3 { font-size: 20px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post:has(h3 a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.post h3 a:focus-visible { outline: none; }
.post p { color: var(--charcoal); max-width: 52ch; }
.post > p:last-child { margin: var(--s2) 0 var(--s6); }
.more { display: flex; justify-content: center; margin-top: var(--s4); }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-media { aspect-ratio: 4 / 3; }
}

/* Blog list page ------------------------------------------------------ */

.page-head { padding: var(--s8) 0 var(--s7); }
.page-head h1 { font-size: clamp(64px, 11vw, 6rem); }
.page-head p { margin-top: var(--s4); max-width: 52ch; font-size: 18px; color: var(--charcoal); }

.news-head, .finder-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s7); padding-bottom: var(--s6); }
.news-head p, .finder-head p { margin-top: 0; }

.news-bar {
  position: sticky; top: var(--header-h); z-index: 30;
  background: var(--canvas);
  box-shadow: inset 0 1px 0 var(--hairline-soft), inset 0 -1px 0 var(--hairline-soft);
}
.news-bar-inner { display: flex; align-items: center; gap: var(--s4); padding-top: var(--s3); padding-bottom: var(--s3); }
.segmented { display: inline-flex; flex: none; padding: var(--s1); border-radius: 9999px; background: var(--cloud); }
.segment, .toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 var(--s4);
  border: 0; border-radius: 9999px; background: transparent; color: var(--ink);
  font: 500 15px/1 var(--font); white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.segment .icon { font-size: 15px; }
.segment:hover { background: var(--hairline-soft); }
.segment[aria-current="true"] { background: var(--ink); color: var(--canvas); }
.cats { display: flex; gap: var(--s2); flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.toggle { box-shadow: inset 0 0 0 1px var(--hairline); }
.toggle:hover { background: var(--cloud); }
.toggle[aria-current="true"] { background: var(--ink); color: var(--canvas); box-shadow: none; }
.cats .toggle:focus-visible { outline-offset: -2px; }
.news-count { flex: none; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 720px) {
  .news-bar { position: static; }
}
@media (max-width: 900px) {
  .news-bar-inner { flex-wrap: wrap; row-gap: var(--s3); }
  .news-count { margin-left: auto; }
  .cats { order: 3; flex: 1 0 100%; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
}

.news-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s1) var(--s4);
  padding: var(--s7) 0 var(--s8);
}
/* With the competitions category picked, a line above the grid links the
   competitions page. */
.news-link { padding-top: var(--s6); }
.news-link a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 500; }
.news-link:not([hidden]) + .news-grid { padding-top: var(--s5); }
/* Links to the languages that have the news or the article. */
.lang-links { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.page-head .lang-links { margin-top: var(--s5); }
.story {
  position: relative;
  display: grid; grid-row: span 3; grid-template-rows: subgrid;
}
.story-head { display: grid; align-content: start; gap: var(--s1); }
.news-grid.is-hot .tag { display: none; }
.story[hidden] { display: none; }
.story-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: var(--s3); background: var(--cloud); }
.story-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: scale 600ms var(--ease-out); }
.story-media img.is-cutout { object-fit: contain; filter: none; mix-blend-mode: multiply; }
.story:hover .story-media img { scale: 1.03; }
.story h2 { font-size: 22px; font-weight: 600; line-height: 1.2; text-wrap: balance; }
.story h2 a { text-decoration: none; }
.story h2 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.story h2 a:focus-visible { outline: none; }
.story:has(h2 a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.story-excerpt { margin: var(--s2) 0 var(--s7); color: var(--charcoal); max-width: 52ch; }
.tag .icon { font-size: 14px; margin-right: 4px; }

.story.is-lead {
  grid-column: 1 / -1; grid-row: auto;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 1fr auto auto;
  column-gap: var(--s6);
  margin-bottom: var(--s7);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--hairline);
}
.story.is-lead .story-media { grid-column: 1; grid-row: 1 / -1; aspect-ratio: 16 / 10; margin: 0; }
.story.is-lead .story-head,
.story.is-lead .story-excerpt { grid-column: 2; }
.story.is-lead .story-head { grid-row: 2; gap: var(--s3); }
.story.is-lead h2 { font-size: clamp(40px, 4.6vw, 72px); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; line-height: 0.92; }
:lang(ru) .story.is-lead h2 { font-size: clamp(38px, 4.6vw, 72px); }
.story.is-lead .story-excerpt { grid-row: 3; margin-bottom: 0; font-size: 18px; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .story.is-lead { grid-template-columns: 1fr; grid-template-rows: auto; }
  .story.is-lead .story-media,
  .story.is-lead .story-head,
  .story.is-lead .story-excerpt { grid-column: 1; grid-row: auto; }
  .story.is-lead .story-media { aspect-ratio: 4 / 3; margin-bottom: var(--s2); }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .segment { padding: 0 var(--s3); }
  .news-count { font-size: 14px; }
}

.cta-band { padding: var(--s8) 0; background: var(--cloud); color: var(--ink); }
.cta-band h2 { font-size: clamp(48px, 8vw, 6rem); }
.cta-band p { margin: var(--s4) 0 var(--s5); max-width: 44ch; font-size: 18px; color: var(--charcoal); }
.cta-band.is-photo { position: relative; overflow: hidden; background: var(--ink); color: var(--canvas); }
.cta-band.is-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.cta-band.is-photo::after { content: ""; position: absolute; inset: 0; background: rgba(17, 17, 17, 0.6); }
.cta-band.is-photo .wrap { position: relative; z-index: 1; }
.cta-band.is-photo p { color: var(--hairline-soft); }
.cta-band .hero-credit { margin: 0; font-size: 12px; }
.cta-band.is-photo .btn-primary { background: var(--canvas); color: var(--ink); }
.cta-band.is-photo .btn-primary:hover { background: var(--hairline-soft); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; animation-timing-function: var(--ease-out); }

/* Article page ------------------------------------------------------- */

.article-head { padding: var(--s8) 0 var(--s6); }
.back .icon { transform: scaleX(-1); }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--s6); font-weight: 500; text-decoration: none; }
.back:hover { text-decoration: underline; }
.article-head h1 { font-size: clamp(48px, 8vw, 6rem); max-width: 14ch; }
:lang(ru) .article-head h1 { font-size: clamp(38px, 8vw, 6rem); max-width: none; }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); color: var(--charcoal); font-variant-numeric: tabular-nums; }
.article-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; padding-bottom: var(--s8); }
.article-layout.is-text { grid-template-columns: minmax(0, 1fr); }
.article-figure { position: sticky; top: calc(var(--header-h) + var(--s5)); background: var(--cloud); }
.article-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; filter: grayscale(1) contrast(1.05); }
.prose { max-width: 68ch; font-size: 19px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: 26px; font-weight: 700; line-height: 1.2; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--ink); }
/* Tables from the Markdown renderer sit in a focusable box that scrolls
   sideways when a table is wider than the text. */
.prose .table-scroll { overflow-x: auto; }
/* The legal pages' texts: subsections, long addresses and tables. */
.legal-text h3 { margin-top: 1.6em; font-size: 20px; font-weight: 700; line-height: 1.3; }
.legal-text a { overflow-wrap: anywhere; }
.legal-text table { border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.legal-text th, .legal-text td { min-width: 7.5em; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.legal-text th { font-weight: 600; border-bottom-color: var(--ink); }
.legal-text th:first-child, .legal-text td:first-child { padding-left: 0; }
.legal-text code { font-size: 0.9em; }
.video-link {
  display: flex; align-items: center; gap: var(--s4);
  margin-top: var(--s7) !important; padding: var(--s5);
  background: var(--ink); color: var(--canvas); text-decoration: none;
}
.video-link .play { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 9999px; background: var(--red); }
.video-link .play .icon { font-size: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
.video-link strong { display: block; font-size: 18px; font-weight: 600; }
.video-link span span { font-size: 15px; color: var(--stone); }
.video-link:hover .play { background: var(--red-deep); }
@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .article-figure { position: relative; top: 0; max-width: 480px; }
  .prose { font-size: 18px; }
}
.related { padding: var(--s8) 0; border-top: 1px solid var(--hairline); }

/* Footer ------------------------------------------------------------ */

.site-footer { background: var(--ink); color: var(--canvas); padding: var(--s8) 0 var(--s5); }
.footer-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
.footer-col h2 { font-size: 15px; font-weight: 600; margin-bottom: var(--s3); }
.footer-col ul { list-style: none; display: grid; gap: var(--s2); }
.footer-col a { color: var(--stone); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--canvas); text-decoration: underline; }
.footer-col .icon { font-size: 12px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3);
  margin-top: var(--s8); padding-top: var(--s5);
  border-top: 1px solid var(--charcoal);
  font-size: 13px; color: var(--stone);
}
.footer-bottom a { color: inherit; }
.site-footer :focus-visible { outline-color: var(--canvas); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Club search without JavaScript ------------------------------------------
   The server filters the list; the chips only work with clubs.js. */

.no-js .finder-results .chip { display: none; }

/* Club page ---------------------------------------------------------------
   The article layout for one club: its photo plate (or city plate) beside
   the facts, the website pill and the club's text, then a small map in the
   same column; the competitions it organises follow as cards. */

.club-head h1 { overflow-wrap: break-word; }
.club-head-meta { margin-top: var(--s5); font-size: 18px; color: var(--mute); }
.club-figure { position: sticky; top: calc(var(--header-h) + var(--s5)); }
.club-info { display: grid; justify-items: start; gap: var(--s5); max-width: 68ch; }
/* One grid for all rows, so the values line up; each row is ruled. */
.club-facts {
  display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  width: 100%; margin: 0; border-bottom: 1px solid var(--hairline);
}
.club-facts div { display: contents; }
.club-facts :is(dt, dd) { padding: var(--s3) 0; border-top: 1px solid var(--hairline); line-height: 27px; }
.club-facts dt { padding-right: var(--s5); font-size: 15px; font-weight: 600; }
.club-facts dd { margin: 0; font-size: 18px; }
.club-section { width: 100%; margin-top: var(--s6); }
.club-section h2 { margin-bottom: var(--s4); font-size: 26px; font-weight: 700; line-height: 1.2; }
.club-map { height: clamp(260px, 28vw, 380px); background: var(--cloud); }
#club-location-map { height: 100%; }
.club-map .pin-wrap { cursor: default; }
@media (max-width: 860px) {
  .club-figure { position: relative; top: 0; max-width: 560px; }
}
