/*
Theme Name: New Names Lite
Theme URI: https://test.newname24.ru/
Author: Codex
Description: Lightweight public site theme for the youth center.
Version: 0.9.10
Requires at least: 6.0
Text Domain: newnames-lite
*/

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #0b0b0f;
  --muted: #595b66;
  --line: #d8d8df;
  --brand: #e30613;
  --brand-dark: #93000a;
  --accent: #e30613;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(17, 35, 70, 0.12);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--brand-dark);
}

img,
iframe {
  max-width: 100%;
}

iframe {
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.7rem 1rem;
  background: #000;
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(11, 11, 15, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.site-main,
.site-footer__inner {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(1.2rem, 2.2vw, 2.2rem);
  width: 100%;
  padding: 0.18rem clamp(1.5rem, 5vw, 4.5rem) 0.28rem;
}

.admin-bar .site-header {
  top: 32px;
}

.site-brand {
  display: grid;
  flex: 0 0 auto;
  gap: 0.05rem;
  padding-top: 0.16rem;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.site-brand span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.08;
}

.site-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  border: 2px solid #000;
  border-radius: var(--radius);
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.site-menu-toggle__icon,
.site-menu-toggle__icon::before,
.site-menu-toggle__icon::after {
  display: block;
  width: 1.3rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.site-menu-toggle__icon {
  position: relative;
}

.site-menu-toggle__icon::before,
.site-menu-toggle__icon::after {
  position: absolute;
  left: 0;
}

.site-menu-toggle__icon::before {
  top: -0.42rem;
}

.site-menu-toggle__icon::after {
  top: 0.42rem;
}

.site-menu-toggle[aria-expanded="true"] {
  background: #000;
  color: #fff;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.08rem 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.16;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus,
.current-menu-item > a {
  background: rgba(13, 76, 211, 0.1);
  color: var(--brand-dark);
}

.accessibility-tools {
  position: fixed !important;
  left: 1rem !important;
  right: auto !important;
  top: auto !important;
  bottom: 1rem !important;
  z-index: 1000;
  display: block;
  width: auto;
  height: auto;
  pointer-events: none;
}

.site-header .accessibility-tools {
  display: none !important;
}

.accessibility-tools--floating {
  position: fixed !important;
  left: 1rem !important;
  right: auto !important;
  top: auto !important;
  bottom: 1rem !important;
}

.button,
.accessibility-tools button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button--ghost,
.accessibility-tools button {
  background: #fff;
  color: var(--brand);
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.button--ghost:hover,
.button--ghost:focus,
.accessibility-tools button:hover,
.accessibility-tools button:focus {
  background: var(--brand);
  color: #fff;
}

.accessibility-tools .bvi-shortcode {
  margin: 0;
  width: auto;
  max-width: 100%;
  padding: 0;
  border-radius: 999px;
  background: #5f6368;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  pointer-events: auto;
}

.accessibility-tools .bvi-shortcode a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  max-width: none;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #5f6368;
  color: #fff;
  font-size: 0;
  font-weight: 750;
  line-height: 1;
  text-indent: -999px;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.accessibility-tools .bvi-shortcode a:hover,
.accessibility-tools .bvi-shortcode a:focus {
  background: #3f4147;
  border-color: #fff;
  color: #fff;
  outline: 3px solid rgba(191, 15, 35, 0.35);
  outline-offset: 3px;
}

.accessibility-tools .bvi-shortcode .bvi-svg-eye {
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  font-size: 1.45rem;
  text-indent: 0;
  flex: 0 0 auto;
}

.site-main {
  padding: 1rem 0 4rem;
}

.home .site-main {
  width: 100%;
  margin-top: 0;
  padding-top: 0 !important;
}

.home .site-header {
  border-bottom: 0;
}

.home .content-card {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home .entry-content {
  margin-top: 0;
}

.home .entry-content > *:first-child {
  margin-top: 0;
}

.home .entry-content > p:first-child {
  display: none;
}

.home .entry-content > .section {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.home .entry-content > .home-atmosphere {
  width: 100%;
  margin-top: 0;
  margin-inline: 0;
}

.page-id-29 .site-main {
  width: min(1400px, calc(100% - 1rem));
}

.page-id-29 .content-card > h1 {
  display: none;
}

.page-header,
.hero,
.content-card,
.section-card,
.entry-content > .wp-block-group,
.entry-content > .wp-block-columns {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.page-header,
.hero,
.content-card,
.section-card {
  padding: clamp(1.3rem, 4vw, 3rem);
}

.page-id-8,
.page-id-29,
.page-id-31,
.page-id-32 {
  --shadow: none;
}

.page-id-8 .page-header,
.page-id-8 .hero,
.page-id-8 .content-card,
.page-id-8 .section-card,
.page-id-8 .entry-content > .wp-block-group,
.page-id-8 .entry-content > .wp-block-columns,
.page-id-29 .page-header,
.page-id-29 .hero,
.page-id-29 .content-card,
.page-id-29 .section-card,
.page-id-29 .entry-content > .wp-block-group,
.page-id-29 .entry-content > .wp-block-columns,
.page-id-31 .page-header,
.page-id-31 .hero,
.page-id-31 .content-card,
.page-id-31 .section-card,
.page-id-31 .entry-content > .wp-block-group,
.page-id-31 .entry-content > .wp-block-columns,
.page-id-32 .page-header,
.page-id-32 .hero,
.page-id-32 .content-card,
.page-id-32 .section-card,
.page-id-32 .entry-content > .wp-block-group,
.page-id-32 .entry-content > .wp-block-columns {
  border: 0;
  box-shadow: none;
}

.hero {
  display: grid;
  gap: 1.5rem;
  overflow: hidden;
}

.home-hero {
  position: relative;
  display: grid;
  align-items: end;
  margin-top: 0 !important;
  min-height: min(660px, calc(100vh - 7rem));
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.6) 44%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 45%),
    url("/wp-content/uploads/2026/07/home-hero-team-2026-07.webp") center top / cover;
  color: #fff;
}

.home-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 0.42rem;
  background: var(--brand);
  content: "";
  display: none;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.home-hero__eyebrow {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 9ch;
  margin: 0;
  color: #fff;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.home-hero__lead {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 3rem);
  font-weight: 850;
  line-height: 1.05;
}

.home-hero__text {
  max-width: 660px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.home-hero .button {
  border-color: #fff;
}

.home-hero .button:not(.button--ghost) {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.home-hero .button--ghost {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.home-hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.home-hero__stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-weight: 800;
}

.home-hero__stats strong {
  color: #fff;
  font-size: 1.5rem;
}

.home-atmosphere {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 0;
  padding-block: 0 clamp(2.5rem, 6vw, 5rem);
}

.home-atmosphere__media {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  min-height: min(56vw, 720px);
  background: #111 url("https://test.newname24.ru/wp-content/uploads/2026/04/Teatralnyj-zal-v-NTM.webp") center / cover;
}

.home-atmosphere__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 0.42rem;
  background: var(--brand);
  content: "";
}

.home-atmosphere__video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.home-atmosphere__caption {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(16rem, 0.45fr);
  gap: clamp(1rem, 5vw, 4rem);
  align-items: end;
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.home-atmosphere__caption h2,
.home-atmosphere__caption p {
  margin: 0;
}

.home-atmosphere__caption h2 {
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.home-atmosphere__caption p:not(.eyebrow) {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
}

.home-choice {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #000;
}

.home-choice.section,
.home-venues.section,
.home-steps.section {
  margin-top: 2rem;
}

.home-choice a {
  display: grid;
  gap: 0.45rem;
  min-height: 11rem;
  padding: 1.15rem;
  background: #fff;
  color: #000;
  text-decoration: none;
}

.home-choice a:hover,
.home-choice a:focus {
  background: #000;
  color: #fff;
}

.home-choice span {
  color: var(--brand);
  font-weight: 900;
}

.home-choice strong {
  align-self: end;
  font-size: 1.35rem;
  line-height: 1.1;
}

.home-choice small {
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.25;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin-bottom: 1.2rem;
}

.home-venue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-venue-card {
  overflow: hidden;
  padding: 1rem;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
  font-weight: 700;
  line-height: 1.35;
}

.home-venue-card a {
  position: relative;
  display: block;
  min-height: 260px;
  margin: -1rem -1rem 1rem;
  overflow: hidden;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.home-venue-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  transition: transform 0.25s ease;
}

.home-venue-card a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 58%);
  content: "";
}

.home-venue-card span {
  position: absolute;
  inset: auto 1rem 1rem;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.08;
}

.home-venue-card a:hover img,
.home-venue-card a:focus img {
  transform: scale(1.05);
}

.home-venue-card p {
  margin: 0;
  padding: 1rem;
}

.home-venues--mosaic {
  display: grid;
  gap: clamp(1rem, 3vw, 1.6rem);
}

.home .entry-content > .home-venues--mosaic {
  width: 100%;
  margin-inline: 0;
}

.home-venues__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(1rem, 5vw, 4rem);
  align-items: end;
  padding-inline: clamp(1.5rem, 5vw, 4.5rem);
}

.home-venues__intro h2,
.home-venues__intro p {
  margin: 0;
}

.home-venues__intro h2 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.home-venues__intro p:not(.eyebrow) {
  max-width: 360px;
  justify-self: end;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 750;
  line-height: 1.28;
}

.home-venue-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-auto-rows: minmax(310px, auto);
  gap: 1px;
  overflow: hidden;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  background: #000;
}

.venue-mosaic-cell {
  position: relative;
  display: grid;
  min-height: 310px;
  align-content: end;
  gap: 0.75rem;
  overflow: hidden;
  padding: clamp(1.1rem, 2.4vw, 2rem);
  background: #fff;
  color: #000;
  text-decoration: none;
}

.venue-mosaic-cell:hover,
.venue-mosaic-cell:focus {
  color: inherit;
}

.venue-mosaic-cell--photo {
  color: #fff !important;
  background: #000;
}

.venue-mosaic-cell--photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.12) 68%),
    linear-gradient(90deg, rgba(227, 6, 19, 0.42), transparent 48%);
  content: "";
}

.venue-mosaic-cell--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.06);
  transition: transform 0.35s ease;
}

.venue-mosaic-cell--photo:hover img,
.venue-mosaic-cell--photo:focus img {
  transform: scale(1.04);
}

.venue-mosaic-cell--photo small {
  display: none;
}

.venue-mosaic-cell--photo .venue-mosaic-cell__num,
.venue-mosaic-cell--photo strong {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.venue-mosaic-cell--pilot {
  grid-row: span 2;
  min-height: 620px;
}

.venue-mosaic-cell--accent {
  background: var(--brand);
  color: #fff;
}

.venue-mosaic-cell--dark {
  background: #000;
  color: #fff;
}

.venue-mosaic-cell > :not(img) {
  position: relative;
  z-index: 2;
}

.venue-mosaic-cell__num {
  width: max-content;
  border-bottom: 3px solid currentColor;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.venue-mosaic-cell strong {
  max-width: 11ch;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
}

.venue-mosaic-cell small {
  max-width: 460px;
  color: inherit;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
}

.venue-mosaic-cell__link {
  justify-self: start;
  margin-top: 0.4rem;
  padding: 0.55rem 0.8rem;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  font-weight: 900;
  text-decoration: none;
}

.venue-mosaic-cell__link:hover,
.venue-mosaic-cell__link:focus {
  background: #000;
  color: #fff;
}

.venue-mosaic-cell--dark .venue-mosaic-cell__link:hover,
.venue-mosaic-cell--dark .venue-mosaic-cell__link:focus {
  background: #fff;
  color: #000;
}

.home-venue-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #000;
}

.home-venue-notes br {
  display: none;
}

.home-venue-notes a {
  display: grid;
  gap: 0.35rem;
  min-height: 8rem;
  padding: clamp(1rem, 2vw, 1.45rem);
  background: #fff;
  color: #000;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.home-venue-notes strong {
  color: var(--brand);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-venue-notes span {
  max-width: 26ch;
}

.home-venue-notes a:hover,
.home-venue-notes a:focus {
  background: #000;
  color: #fff;
}

.home-venue-notes a:hover strong,
.home-venue-notes a:focus strong {
  color: #fff;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-step-grid article {
  padding: 1.25rem;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
}

.home-step-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.hero__eyebrow,
.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

.hero__actions,
.card-grid,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.stats-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid {
  margin-top: 1rem;
}

.stat,
.info-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--brand-dark);
  font-size: 2rem;
  line-height: 1.1;
}

.section {
  margin-top: 1.5rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.location-card {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.location-card h3,
.location-card p {
  margin: 0;
}

.entry-content > * + * {
  margin-top: 1.5rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35rem;
}

.entry-content li + li {
  margin-top: 0.45rem;
}

.entry-content div:empty,
.entry-content p:empty {
  display: none;
}

.entry-content img {
  height: auto;
  border-radius: var(--radius);
}

.form-frame {
  width: 100%;
  height: 2800px;
  min-height: 2800px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.application-page {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.application-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.application-hero h1,
.application-hero p {
  margin: 0;
}

.application-hero h1 {
  max-width: 9ch;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
}

.application-hero__lead {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.application-hero__lead p {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 760;
  line-height: 1.35;
}

.application-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.application-links a {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid #000;
  border-radius: var(--radius);
  color: #000;
  font-weight: 900;
  text-decoration: none;
}

.application-links a:hover,
.application-links a:focus {
  background: #000;
  color: #fff;
}

.application-process {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 3px solid #000;
  border-left: 1px solid #000;
}

.application-step {
  display: grid;
  gap: 1rem;
  min-height: 14.5rem;
  align-content: space-between;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  background: #fff;
}

.application-step:nth-child(1),
.application-step:nth-child(2),
.application-step:nth-child(3),
.application-step:nth-child(4) {
  grid-column: span 3;
}

.application-step--wait {
  grid-column: span 3;
  background: var(--brand);
  color: #fff;
}

.application-step--note {
  grid-column: span 3;
  background: #000;
  color: #fff;
}

.application-step__number {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.application-step__header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
}

.application-step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  max-width: min(100%, 18rem);
}

.application-step__actions a {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.35rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.application-step__actions a:hover,
.application-step__actions a:focus {
  background: #000;
  color: #fff;
}

.application-step--wait .application-step__number,
.application-step--note .application-step__number {
  color: #fff;
}

.application-step h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(1.45rem, 2.55vw, 2.25rem);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
}

.application-step p {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  font-weight: 750;
  line-height: 1.35;
}

.application-step a {
  color: inherit;
  font-weight: 900;
}

.application-step--wait h2 {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1;
}

.application-form {
  position: relative;
  z-index: 0;
  display: grid;
  gap: 1rem;
  margin-top: clamp(0.5rem, 2vw, 1rem);
}

.application-form__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(260px, 0.35fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
}

.application-form h2,
.application-form p {
  margin: 0;
}

.application-form h2 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
}

.application-form p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 760;
  line-height: 1.35;
}

.club-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.club-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.calendar-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.calendar-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

.calendar-tabs br {
  display: none;
}

.calendar-tabs a:hover,
.calendar-tabs a:focus {
  background: var(--brand);
  color: #fff;
}

.calendar-section .calendar-meta {
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 650;
}

.calendar-section .ics-calendar {
  margin-top: 1rem;
}

.calendar-frame {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  height: 1060px;
  border: 1px solid rgba(20, 33, 61, 0.16);
  border-radius: var(--radius);
  background: #fff;
}

.calendar-frame iframe {
  display: block;
  width: 100%;
  height: 1160px;
  min-height: 1160px;
  border: 0;
}

.calendar-frame::before {
  position: absolute;
  top: 14px;
  right: 132px;
  z-index: 2;
  width: 36px;
  height: 32px;
  border-radius: 4px;
  background: #eef2f7;
  content: "";
}

.schedule-board {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
}

.schedule-board__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.6fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.schedule-board__intro h2,
.schedule-board__intro p {
  margin: 0;
}

.schedule-board__intro h2 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 6vw, 5.7rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.schedule-board__intro p:not(.eyebrow) {
  max-width: 460px;
  justify-self: start;
  padding-top: 0.35rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
}

.schedule-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.schedule-range {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.schedule-range a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.schedule-range a[aria-current="page"],
.schedule-range a:hover,
.schedule-range a:focus {
  background: #000;
  color: #fff;
}

.schedule-venue-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #000;
  background: #000;
}

.schedule-venue-nav button {
  display: grid;
  gap: 0.3rem;
  min-height: 7rem;
  padding: 1rem;
  border: 0;
  background: #fff;
  color: #000;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.schedule-venue-nav strong {
  align-self: end;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 950;
  line-height: 1;
}

.schedule-venue-nav span {
  color: var(--brand);
  font-weight: 850;
}

.schedule-venue-nav button:hover,
.schedule-venue-nav button:focus,
.schedule-venue-nav button[aria-pressed="true"] {
  background: #000;
  color: #fff;
}

.schedule-venue-nav button:hover span,
.schedule-venue-nav button:focus span,
.schedule-venue-nav button[aria-pressed="true"] span {
  color: #fff;
}

.schedule-filter-empty,
.schedule-empty {
  padding: 1.5rem;
  border: 2px solid #000;
  font-weight: 850;
}

.schedule-filter-empty {
  margin: 0;
  background: #fff;
}

.schedule-board [hidden],
.schedule-day.is-hidden,
.schedule-event.is-hidden {
  display: none !important;
}

.schedule-days {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.schedule-day {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: start;
  padding-top: 1.2rem;
  border-top: 3px solid #000;
}

.schedule-day > time {
  position: sticky;
  top: 5.2rem;
  color: var(--brand);
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
}

.schedule-day__events {
  display: grid;
  gap: 0.65rem;
}

.schedule-event {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid #000;
  background: #fff;
}

.schedule-event__time {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.45rem;
  border-radius: var(--radius);
  background: #000;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.schedule-event h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.schedule-event p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.25;
}

.schedule-event--pilot {
  border-left: 8px solid #000;
}

.schedule-event--ntm {
  border-left: 8px solid var(--brand);
}

.schedule-event--volna {
  border-left: 8px solid #555;
}

.schedule-event--glavofis {
  border-left: 8px solid #b0000b;
}

.schedule-year {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.schedule-year__month {
  overflow: hidden;
  border: 2px solid #000;
  background: #fff;
}

.schedule-year__month h3 {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border-bottom: 2px solid #000;
  background: #000;
  color: #fff;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.schedule-year__weekdays,
.schedule-year__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.schedule-year__weekdays {
  border-bottom: 1px solid #000;
  background: #f0f0f0;
}

.schedule-year__weekdays span {
  padding: 0.4rem 0;
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.schedule-year__days {
  gap: 1px;
  background: #000;
}

.schedule-year__day {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 3.15rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.35rem;
  border: 0;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 850;
  text-align: left;
}

button.schedule-year__day {
  cursor: pointer;
}

.schedule-year__day--outside {
  background: #f4f4f4;
}

.schedule-year__day--past,
.schedule-year__day.is-empty {
  background: #f0f0f0;
  color: #8a8a8a;
}

button.schedule-year__day.is-empty {
  cursor: default;
}

.schedule-year__day.has-events {
  background: #fff4f4;
}

.schedule-year__day.has-events:hover,
.schedule-year__day.has-events:focus-visible,
.schedule-year__day.is-selected {
  z-index: 1;
  background: #000;
  color: #fff;
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}

.schedule-year__day-number {
  line-height: 1;
}

.schedule-year__day-count {
  position: absolute;
  right: 0.28rem;
  bottom: 0.28rem;
  display: inline-flex;
  min-width: 1.25rem;
  min-height: 1.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.12rem 0.3rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
}

.schedule-year-details {
  grid-column: 1 / -1;
  scroll-margin-top: 5rem;
  padding: clamp(1rem, 2.5vw, 1.7rem);
  border: 3px solid #000;
  background: #fff;
}

.schedule-year-details__heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.schedule-year-details__heading p,
.schedule-year-details__heading h3,
.schedule-year-details__status {
  margin: 0;
}

.schedule-year-details__heading h3 {
  color: var(--brand);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.schedule-year-details .schedule-day {
  grid-template-columns: 1fr;
  padding-top: 0;
  border-top: 0;
}

.schedule-year-details .schedule-day > time {
  display: none;
}

.schedule-year-details__status {
  padding: 1rem;
  border: 1px solid #000;
  font-weight: 800;
}

.methodical-library {
  max-width: 1180px;
  margin: 0 auto;
}

.methodical-library__intro {
  max-width: 48rem;
  margin-bottom: 0.45rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 750;
  line-height: 1.3;
}

.methodical-library__note {
  color: var(--muted);
  font-weight: 700;
}

.methodical-library__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.methodical-library__nav a {
  border: 1px solid #000;
  padding: 0.55rem 0.75rem;
  color: #000;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.methodical-library__nav a:hover,
.methodical-library__nav a:focus-visible {
  background: #000;
  color: #fff;
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.methodical-library__section {
  scroll-margin-top: 6rem;
  margin-top: clamp(3rem, 8vw, 6rem);
}

.methodical-library__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 3px solid #000;
}

.methodical-library__heading > span {
  color: var(--brand);
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.methodical-library__heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.8vw, 3.3rem);
  text-transform: uppercase;
}

.methodical-library__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.methodical-library__card {
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  padding: 1.25rem;
  border: 1px solid #000;
  background: #fff;
}

.methodical-library__card h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.methodical-library__card p {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.methodical-library__card > span {
  margin-top: auto;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.methodical-library__card a {
  width: max-content;
  max-width: 100%;
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.methodical-library__card a:hover,
.methodical-library__card a:focus-visible {
  color: var(--brand);
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .methodical-library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .methodical-library__heading {
    gap: 0.75rem;
  }

  .methodical-library__grid {
    grid-template-columns: 1fr;
  }

  .methodical-library__card {
    min-height: 0;
  }
}

.docs-accordion {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.docs-accordion__item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.docs-accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.1rem;
  color: var(--brand-dark);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.docs-accordion__item summary::-webkit-details-marker {
  display: none;
}

.docs-accordion__item summary::after {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.docs-accordion__item[open] summary {
  border-bottom: 1px solid var(--line);
  background: rgba(13, 76, 211, 0.06);
}

.docs-accordion__item[open] summary::after {
  content: "-";
}

.docs-list,
.docs-note {
  margin: 0;
  padding: 1rem 1.1rem 1.1rem 2rem;
}

.docs-note {
  padding-left: 1.1rem;
}

.docs-note + .docs-list,
.docs-list + .docs-note {
  padding-top: 0;
}

.docs-list li + li,
.docs-note li + li {
  margin-top: 0.55rem;
}

.docs-list a,
.docs-note a {
  font-weight: 650;
}

.service-accordion {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-accordion__item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-accordion__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.6rem;
  padding: 1rem 1.15rem;
  color: var(--brand-dark);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.service-accordion__item > summary::-webkit-details-marker {
  display: none;
}

.service-accordion__item > summary::after {
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.service-accordion__item[open] > summary {
  border-bottom: 1px solid var(--line);
  background: rgba(13, 76, 211, 0.06);
}

.service-accordion__item[open] > summary::after {
  content: "-";
}

.service-grid {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.service-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0;
}

.service-card__meta {
  color: var(--muted);
  font-weight: 750;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.7rem;
}

.service-gallery a {
  display: block;
  overflow: hidden;
  min-height: 150px;
  border-radius: var(--radius);
  background: #eef2f7;
}

.service-gallery img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
}

@media (min-width: 900px) {
  .service-grid {
    gap: 1.15rem;
    padding: 1.25rem;
  }

  .service-card {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 38%);
    align-items: stretch;
    gap: 0.55rem 1.6rem;
    padding: 1.25rem;
  }

  .service-card h2,
  .service-card .service-card__meta,
  .service-card p {
    grid-column: 1;
  }

  .service-card h2 {
    font-size: clamp(1.45rem, 1.8vw, 2rem);
    line-height: 1.05;
  }

  .service-card__meta {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    border: 1px solid var(--brand);
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
    color: var(--brand-dark);
    background: rgba(227, 6, 19, 0.06);
    line-height: 1.2;
  }

  .service-gallery {
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: stretch;
    display: block;
    min-height: 260px;
  }

  .service-gallery br,
  .service-gallery a:not(:first-of-type) {
    display: none;
  }

  .service-gallery a {
    height: 100%;
    min-height: 260px;
    border-radius: 0;
  }

  .service-gallery img {
    height: 100%;
    min-height: 260px;
  }
}

.service-cta {
  margin-top: 1.5rem;
}

.payment-card {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.payment-card h2 {
  margin-top: 0;
}

.venue-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.venue-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

.venue-links a:hover,
.venue-links a:focus {
  background: var(--brand);
  color: #fff;
}

.venue-section {
  margin-top: 1.5rem;
  scroll-margin-top: 7rem;
}

.venue-section__header {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.venue-section__header h2,
.venue-section__header p {
  margin: 0;
}

.venue-section__header p + p {
  margin-top: 0.6rem;
}

.club-accordion {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.club-accordion__item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.club-accordion__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  color: var(--brand-dark);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.club-accordion__item > summary::-webkit-details-marker {
  display: none;
}

.club-accordion__item > summary::after {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.club-accordion__item[open] > summary {
  border-bottom: 1px solid var(--line);
  background: rgba(13, 76, 211, 0.06);
}

.club-accordion__item[open] > summary::after {
  content: "-";
}

.club-accordion__body {
  padding: 1rem;
}

.club-accordion__body p {
  margin: 0;
}

.club-accordion__body p + p {
  margin-top: 0.5rem;
}

.page-id-27 .site-main {
  width: min(1280px, calc(100% - 2rem));
}

.page-id-27 .content-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.clubs-page {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.clubs-intro {
  display: grid;
  gap: 0.9rem;
  max-width: 940px;
}

.clubs-intro h1,
.clubs-intro p {
  margin: 0;
}

.clubs-intro h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7.4vw, 6.6rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.clubs-intro p:not(.eyebrow) {
  max-width: 780px;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
}

.venue-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #000;
}

.venue-tile {
  position: relative;
  display: grid;
  min-height: clamp(260px, 25vw, 380px);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.venue-tile img,
.club-venue__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: grayscale(0.2) contrast(1.08);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.venue-tile__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.05) 64%),
    linear-gradient(90deg, rgba(227, 6, 19, 0.52), transparent 48%);
}

.venue-tile__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 0.55rem;
  padding: 1rem;
}

.venue-tile__number {
  color: #ff2633;
  font-weight: 950;
}

.venue-tile strong {
  max-width: 8ch;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.venue-tile small {
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.25;
}

.venue-tile:hover img,
.venue-tile:focus img {
  filter: grayscale(0) contrast(1.12);
  transform: scale(1.05);
}

.club-venue {
  display: grid;
  gap: 1rem;
  scroll-margin-top: 7rem;
}

.club-venue__cover {
  position: relative;
  display: grid;
  min-height: clamp(320px, 42vw, 560px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  color: #fff;
}

.club-venue__cover::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 42%);
  content: "";
}

.club-venue__cover > div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 1rem;
  max-width: 780px;
  padding: clamp(1.3rem, 5vw, 4rem);
}

.club-venue__cover .eyebrow,
.club-venue__cover h2,
.club-venue__cover p {
  margin: 0;
  color: #fff;
}

.club-venue__cover h2 {
  max-width: 11ch;
  font-size: clamp(3rem, 7.2vw, 7rem);
  line-height: 0.84;
  text-transform: uppercase;
}

.club-venue__cover p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 750;
  line-height: 1.3;
}

.club-venue__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.club-venue__meta span,
.club-venue__meta a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.club-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #000;
}

.club-card-modern {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-height: 18rem;
  padding: 1rem;
  background: #fff;
}

.club-card-modern__top {
  display: grid;
  min-height: 4.6rem;
  align-content: start;
}

.club-card-modern h3 {
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  font-size: clamp(1.15rem, 1.55vw, 1.62rem);
  line-height: 1.06;
  text-transform: uppercase;
}

.club-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.club-schedule span,
.club-schedule__item {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin: 0;
  padding: 0.32rem 0.55rem;
  border: 2px solid var(--brand);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.15;
}

.club-schedule--empty span,
.club-schedule--empty .club-schedule__item {
  border-color: #000;
  color: #000;
}

.club-card-modern__preview {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.club-card-modern__description {
  display: grid;
  gap: 0.55rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.club-card-modern__description p {
  margin: 0;
}

.club-card-modern__details {
  margin-top: auto;
}

.club-card-modern__details summary {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border: 2px solid #000;
  border-radius: var(--radius);
  color: #000;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.club-card-modern__details summary::-webkit-details-marker {
  display: none;
}

.club-card-modern__details[open] summary {
  margin-bottom: 0.75rem;
  background: #000;
  color: #fff;
}

.club-card-modern__details p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.club-card-modern__details p + p {
  margin-top: 0.55rem;
}

.page-id-22 .site-main,
.page-id-23 .site-main,
.page-id-24 .site-main,
.page-id-25 .site-main,
.page-id-26 .site-main {
  width: min(1280px, calc(100% - 2rem));
  padding-top: 0;
}

.page-id-22 .content-card,
.page-id-23 .content-card,
.page-id-24 .content-card,
.page-id-25 .content-card,
.page-id-26 .content-card {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.designed-page {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
}

.page-id-22 .designed-page,
.page-id-23 .designed-page,
.page-id-24 .designed-page,
.page-id-25 .designed-page,
.page-id-26 .designed-page {
  margin-top: 0;
}

.page-id-22 .designed-page > *:first-child,
.page-id-23 .designed-page > *:first-child,
.page-id-24 .designed-page > *:first-child,
.page-id-25 .designed-page > *:first-child,
.page-id-26 .designed-page > *:first-child {
  margin-top: 0;
}

.designed-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  overflow: hidden;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #000;
  color: #fff;
}

.page-id-22 .designed-page > .designed-hero,
.page-id-23 .designed-page > .designed-hero,
.page-id-24 .designed-page > .designed-hero,
.page-id-25 .designed-page > .designed-hero,
.page-id-26 .designed-page > .designed-hero {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.designed-hero__copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.35rem, 4vw, 4rem);
}

.designed-hero__copy .eyebrow {
  color: #fff;
}

.designed-hero h1 {
  max-width: 9.5ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 7.4vw, 6.8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.about-page .designed-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.space-page .designed-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 4vw, 4.7rem);
}

.designed-hero__lead {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 750;
  line-height: 1.25;
}

.designed-hero__actions,
.space-meta,
.space-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.space-meta {
  padding-top: 0.3rem;
  color: #fff;
  font-weight: 850;
}

.space-meta span,
.space-meta a {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.designed-hero__media {
  position: relative;
  min-height: 520px;
  margin: 0;
}

.designed-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.44), transparent 42%);
  content: "";
}

.designed-hero__media img,
.project-card img,
.space-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.space-jump {
  justify-content: center;
}

.space-jump a {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 2px solid #000;
  border-radius: var(--radius);
  color: #000;
  font-weight: 850;
  text-decoration: none;
}

.space-jump a:hover,
.space-jump a:focus {
  background: #000;
  color: #fff;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  padding-block: clamp(0.5rem, 2vw, 1.5rem);
}

.editorial-split h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.4rem, 4.25vw, 4.05rem);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.editorial-split p {
  max-width: 48ch;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.fact-strip,
.space-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #000;
}

.fact-strip div,
.space-feature-grid article {
  display: grid;
  gap: 0.55rem;
  min-height: 12rem;
  padding: 1.1rem;
  background: #fff;
}

.fact-strip strong {
  color: var(--brand);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.9;
}

.fact-strip span,
.space-feature-grid p {
  align-self: end;
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}

.space-feature-grid article span,
.project-card span {
  color: var(--brand);
  font-weight: 950;
  text-transform: uppercase;
}

.space-feature-grid h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.space-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.space-gallery img {
  min-height: 230px;
  border-radius: var(--radius);
  border: 1px solid #000;
}

.space-gallery img:nth-child(1),
.space-gallery img:nth-child(4) {
  grid-column: span 3;
  min-height: 360px;
}

.space-gallery img:nth-child(2),
.space-gallery img:nth-child(3),
.space-gallery img:nth-child(5) {
  grid-column: span 2;
}

.space-cta {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: #000;
  color: #fff;
}

.space-cta h2,
.space-cta p {
  max-width: 820px;
  margin: 0;
  color: #fff;
}

.space-cta h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.project-showcase {
  display: grid;
  gap: 1.25rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  display: grid;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
}

.project-card img {
  aspect-ratio: 4 / 3;
}

.project-card div {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.project-card h3,
.project-card p {
  margin: 0;
}

.project-card h3 {
  font-size: 1.3rem;
  line-height: 1.1;
}

.site-footer {
  border-top: 1px solid rgba(20, 33, 61, 0.12);
  background: #111827;
  color: #fff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
}

.site-footer a {
  color: #fff;
}

.site-footer__about,
.site-footer__nav {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.site-footer__about p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__contacts {
  display: grid;
  gap: 0.25rem;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
}

.site-footer__contacts a {
  font-weight: 700;
}

.site-footer__nav h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.site-footer__nav ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav a {
  font-weight: 700;
}

.site-footer__banner {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@font-face {
  font-family: LatoWeb;
  src:
    url("https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Regular.woff2") format("woff2"),
    url("https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: LatoWeb;
  src:
    url("https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Bold.woff2") format("woff2"),
    url("https://pos.gosuslugi.ru/bin/fonts/Lato/fonts/Lato-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

#js-show-iframe-wrapper {
  --pos-banner-fluid-104__background: transparent;
  --pos-banner-fluid-104__content-bgc: #fff;
  --pos-banner-fluid-104__grid-template-columns: 100%;
  --pos-banner-fluid-104__grid-template-rows: 264px auto;
  --pos-banner-fluid-104__max-width: 1440px;
  --pos-banner-fluid-104__text-font-size: 18px;
  --pos-banner-fluid-104__text-small-font-size: 14px;
  --pos-banner-fluid-104__text-margin: 0 0 12px;
  --pos-banner-fluid-104__description-margin: 0 0 16px;
  --pos-banner-fluid-104__button-wrap-max-width: 245px;
  --pos-banner-fluid-104__bg-url: url("https://pos.gosuslugi.ru/bin/banner-fluid/100/banner-fluid-100-405.svg");
  --pos-banner-fluid-104__bg-url-position: center center;
  --pos-banner-fluid-104__content-padding: 36px 24px;
  --pos-banner-fluid-104__logo-wrap-padding: 16px 12px 12px;
  --pos-banner-fluid-104__logo-width: 65px;
  --pos-banner-fluid-104__logo-wrap-top: 0;
  --pos-banner-fluid-104__slogan-font-size: 12px;
  --pos-banner-fluid-104__logo-box-shadow: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: min(293px, 100%);
  max-width: 100%;
  overflow: hidden;
  background: var(--pos-banner-fluid-104__background);
  color: #fff;
  cursor: pointer;
}

#js-show-iframe-wrapper .pos-banner-fluid,
#js-show-iframe-wrapper .pos-banner-fluid * {
  box-sizing: border-box;
}

#js-show-iframe-wrapper .bf-104 {
  position: relative;
  display: grid;
  grid-template-columns: var(--pos-banner-fluid-104__grid-template-columns);
  grid-template-rows: var(--pos-banner-fluid-104__grid-template-rows);
  grid-auto-flow: row dense;
  width: 100%;
  max-width: var(--pos-banner-fluid-104__max-width);
}

#js-show-iframe-wrapper .bf-104__decor {
  position: relative;
  background:
    var(--pos-banner-fluid-104__bg-url)
    var(--pos-banner-fluid-104__bg-url-position)
    / cover no-repeat #f8efec;
}

#js-show-iframe-wrapper .bf-104__content {
  display: flex;
  flex-direction: column;
  grid-row: var(--pos-banner-fluid-104__content-grid-row);
  padding: var(--pos-banner-fluid-104__content-padding);
  background: var(--pos-banner-fluid-104__content-bgc);
}

#js-show-iframe-wrapper .bf-104__description {
  display: flex;
  flex-direction: column;
  margin: var(--pos-banner-fluid-104__description-margin);
}

#js-show-iframe-wrapper .bf-104__text {
  margin: var(--pos-banner-fluid-104__text-margin);
  color: #0b1f33;
  font: 700 var(--pos-banner-fluid-104__text-font-size) / 1.3 LatoWeb, sans-serif;
}

#js-show-iframe-wrapper .bf-104__text_small {
  margin: 0;
  font-size: var(--pos-banner-fluid-104__text-small-font-size);
  font-weight: 400;
}

#js-show-iframe-wrapper .bf-104__bottom-wrap {
  display: flex;
  align-items: center;
}

#js-show-iframe-wrapper .bf-104__logo-wrap {
  position: absolute;
  top: var(--pos-banner-fluid-104__logo-wrap-top);
  left: 0;
  padding: var(--pos-banner-fluid-104__logo-wrap-padding);
  border-radius: 0 0 8px;
  background: #fff;
  box-shadow: var(--pos-banner-fluid-104__logo-box-shadow);
}

#js-show-iframe-wrapper .bf-104__logo {
  width: var(--pos-banner-fluid-104__logo-width);
  margin-left: 1px;
}

#js-show-iframe-wrapper .bf-104__slogan {
  color: #005ca9;
  font: 700 var(--pos-banner-fluid-104__slogan-font-size) / 1 LatoWeb, sans-serif;
}

#js-show-iframe-wrapper .bf-104__btn-wrap {
  width: 100%;
  max-width: var(--pos-banner-fluid-104__button-wrap-max-width);
}

#js-show-iframe-wrapper .pos-banner-btn_2 {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: #0d4cd3;
  color: #fff;
  font: 400 16px / 1.2 LatoWeb, sans-serif;
  cursor: pointer;
}

#js-show-iframe-wrapper .pos-banner-btn_2:hover {
  background: #1d5deb;
}

#js-show-iframe-wrapper .pos-banner-btn_2:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

#js-show-iframe-wrapper .pos-banner-btn_2:active {
  background: #2a63ad;
}

body.is-accessible .site-footer__banner {
  border-top-color: #000;
}

body.is-accessible #js-show-iframe-wrapper {
  border: 2px solid #000;
}

body.is-accessible {
  --bg: #fff;
  --surface: #fff;
  --text: #000;
  --muted: #000;
  --line: #000;
  --brand: #000;
  --brand-dark: #000;
  --accent: #fff;
  --shadow: none;
  background: #fff;
  color: #000;
  font-size: 22px;
}

body.is-accessible a {
  color: #000;
  text-decoration: underline;
}

body.is-accessible .site-header,
body.is-accessible .page-header,
body.is-accessible .hero,
body.is-accessible .content-card,
body.is-accessible .section-card,
body.is-accessible .stat,
body.is-accessible .info-card,
body.is-accessible .club-card,
  body.is-accessible .site-footer {
  background: #fff;
  border: 2px solid #000;
  box-shadow: none;
}

body.is-accessible .docs-accordion__item {
  border: 2px solid #000;
  background: #fff;
}

body.is-accessible .docs-accordion__item summary,
body.is-accessible .docs-accordion__item[open] summary {
  background: #fff;
  border-bottom: 2px solid #000;
  color: #000;
}

body.is-accessible .service-accordion__item,
body.is-accessible .service-card,
body.is-accessible .payment-card {
  border: 2px solid #000;
  background: #fff;
}

body.is-accessible .service-accordion__item > summary,
body.is-accessible .service-accordion__item[open] > summary {
  background: #fff;
  border-bottom: 2px solid #000;
  color: #000;
}

body.is-accessible .service-card__meta {
  color: #000;
}

body.is-accessible .venue-links a,
body.is-accessible .venue-section__header,
body.is-accessible .club-accordion__item,
body.is-accessible .clubs-intro,
body.is-accessible .venue-tile,
body.is-accessible .club-venue__cover,
body.is-accessible .club-card-modern,
body.is-accessible .home-choice,
body.is-accessible .home-choice a,
body.is-accessible .home-venue-card,
body.is-accessible .home-step-grid article {
  border: 2px solid #000;
  background: #fff;
  color: #000;
}

body.is-accessible .home-hero {
  background: #fff;
  color: #000;
}

body.is-accessible .home-hero h1,
body.is-accessible .home-hero__eyebrow,
body.is-accessible .home-hero__lead,
body.is-accessible .home-hero__text,
body.is-accessible .home-hero__stats span,
body.is-accessible .home-hero__stats strong {
  color: #000;
}

body.is-accessible .home-hero__stats span {
  border: 2px solid #000;
  background: #fff;
}

body.is-accessible .designed-hero,
body.is-accessible .designed-hero__copy,
body.is-accessible .space-cta {
  border: 2px solid #000;
  background: #fff;
  color: #000;
}

body.is-accessible .designed-hero h1,
body.is-accessible .designed-hero__lead,
body.is-accessible .designed-hero__copy .eyebrow,
body.is-accessible .space-meta,
body.is-accessible .space-meta a,
body.is-accessible .space-meta span,
body.is-accessible .space-cta h2,
body.is-accessible .space-cta p,
body.is-accessible .clubs-intro h1,
body.is-accessible .clubs-intro p,
body.is-accessible .venue-tile strong,
body.is-accessible .venue-tile small,
body.is-accessible .venue-tile__number,
body.is-accessible .club-venue__cover h2,
body.is-accessible .club-venue__cover p,
body.is-accessible .club-venue__meta,
body.is-accessible .club-venue__meta a,
body.is-accessible .club-venue__meta span {
  color: #000;
}

body.is-accessible .designed-hero__media,
body.is-accessible .venue-tile img,
body.is-accessible .venue-tile__shade,
body.is-accessible .club-venue__cover img,
body.is-accessible .club-venue__cover::after,
body.is-accessible .designed-hero__media::after {
  display: none;
}

body.is-accessible .fact-strip div,
body.is-accessible .space-feature-grid article,
body.is-accessible .project-card,
body.is-accessible .space-jump a,
body.is-accessible .space-gallery img {
  border: 2px solid #000;
  background: #fff;
  color: #000;
}

body.is-accessible .home-atmosphere__video {
  display: none;
}

body.is-accessible .home-atmosphere__media {
  min-height: 260px;
  border: 2px solid #000;
}

body.is-accessible .club-accordion__item > summary,
body.is-accessible .club-accordion__item[open] > summary,
body.is-accessible .club-card-modern__details summary,
body.is-accessible .club-card-modern__details[open] summary,
body.is-accessible .club-card-modern__description,
body.is-accessible .club-schedule span,
body.is-accessible .club-schedule__item {
  background: #fff;
  border: 2px solid #000;
  color: #000;
}

body.is-accessible .site-footer,
body.is-accessible .site-footer a,
body.is-accessible .site-footer__about p,
body.is-accessible .site-footer__nav h2 {
  color: #000;
}

body.is-accessible .button,
body.is-accessible .accessibility-tools button,
body.is-accessible .wp-block-button__link {
  background: #000;
  border-color: #000;
  color: #fff;
}

body.is-accessible .button--ghost {
  background: #fff;
  color: #000;
}

@media (max-width: 1100px) {
  .schedule-year {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header__inner {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  body.site-menu-open {
    overflow: hidden;
  }

  body.site-menu-open .site-header {
    position: fixed;
    inset: 0 0 auto;
    max-height: 100dvh;
    overflow-y: auto;
  }

  body.site-menu-open .site-nav {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0.35rem;
    padding: 0.35rem 0 0;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    background: #fff;
  }
}

@media (max-width: 900px) {
  .schedule-year {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  body.site-menu-open .site-nav {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0.35rem;
    padding: 0.35rem 0 0;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    background: #fff;
  }

  .stats-grid,
  .card-grid,
  .location-grid,
  .site-footer__inner,
  .application-hero,
  .application-form__intro,
  .home-choice,
  .home-venue-grid,
  .home-venue-notes,
  .home-step-grid,
  .schedule-board__intro,
  .schedule-venue-nav,
  .designed-hero,
  .editorial-split,
  .fact-strip,
  .space-feature-grid,
  .project-grid,
  .venue-tile-grid,
  .club-card-grid {
    grid-template-columns: 1fr;
  }

  .designed-hero__media {
    min-height: min(70vw, 420px);
    order: -1;
  }

  .designed-hero__media::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 52%);
  }

  .space-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .space-gallery img,
  .space-gallery img:nth-child(1),
  .space-gallery img:nth-child(2),
  .space-gallery img:nth-child(3),
  .space-gallery img:nth-child(4),
  .space-gallery img:nth-child(5) {
    grid-column: auto;
    min-height: 220px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .clubs-intro h1 {
    font-size: clamp(2.7rem, 12vw, 4.6rem);
  }

  .club-venue__cover h2 {
    font-size: clamp(2.6rem, 11vw, 4.8rem);
  }

  .club-card-modern {
    min-height: 0;
  }

  .application-process {
    grid-template-columns: 1fr 1fr;
  }

  .application-step,
  .application-step:nth-child(1),
  .application-step:nth-child(2),
  .application-step:nth-child(3),
  .application-step:nth-child(4),
  .application-step--wait,
  .application-step--note {
    grid-column: span 1;
  }

  .schedule-day {
    grid-template-columns: 1fr;
  }

  .schedule-day > time {
    position: static;
  }
}

@media (max-width: 560px) {
  .schedule-year {
    grid-template-columns: 1fr;
  }

  .schedule-year__day {
    min-height: 3.6rem;
  }

  body {
    font-size: 17px;
  }

  .site-main {
    padding-top: 1.5rem;
  }

  .home .site-main {
    padding-top: 0;
  }

  .site-nav ul,
  .hero__actions,
  .home-hero__actions,
  .calendar-tabs,
  .venue-links {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .site-nav a,
  .accessibility-tools button,
  .calendar-tabs a,
  .venue-links a,
  .home-hero__actions .button,
  .button {
    width: 100%;
  }

  .home-hero {
    min-height: 620px;
  }

  .home-hero h1 {
    font-size: 3.5rem;
  }

  .home-atmosphere__caption {
    grid-template-columns: 1fr;
  }

  .home-venues__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.85rem;
  }

  .home-venues__intro p:not(.eyebrow) {
    justify-self: start;
    max-width: 34rem;
  }

  .home-atmosphere__video {
    display: none;
  }

  .home-atmosphere__media {
    min-height: min(62vw, 320px);
  }

  .application-page {
    gap: 2rem;
  }

  .application-hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .application-process {
    grid-template-columns: 1fr;
  }

  .application-step {
    min-height: 0;
  }

  .application-step__header {
    display: grid;
  }

  .application-step__actions {
    justify-content: flex-start;
  }

  .application-step--wait h2 {
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 3.4rem);
    line-height: 0.98;
  }

  .designed-hero h1,
  .about-page .designed-hero h1,
  .editorial-split h2,
  .space-cta h2 {
    font-size: 2.45rem;
  }

  .space-gallery {
    grid-template-columns: 1fr;
  }

  .accessibility-tools {
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .accessibility-tools .bvi-shortcode a {
    width: 3rem;
    height: 3rem;
  }

  .form-frame {
    height: 3600px;
    min-height: 3600px;
  }

  .calendar-frame {
    height: 880px;
  }

  .calendar-frame iframe {
    height: 980px;
    min-height: 980px;
  }

  .calendar-frame::before {
    display: none;
  }

  .schedule-board__intro h2 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .schedule-board__intro p:not(.eyebrow) {
    justify-self: start;
  }

  .schedule-event {
    grid-template-columns: 1fr;
  }

  .schedule-event__time {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
  .home-atmosphere__video {
    display: none;
  }

  .home-atmosphere__media {
    min-height: min(48vw, 430px);
  }
}

/* Pilot gallery: two full rows */
@media (min-width: 901px) {
  .page-id-25 .space-gallery img {
    grid-column: span 2;
    height: 260px;
    min-height: 0;
  }
  .page-id-25 .space-gallery img:nth-child(-n+2) {
    grid-column: span 3;
    height: 360px;
  }
}
