/*
Theme Name: Taekwondo Marchfeld
Description: Vereinswebsite mit Trainingsplan, Vereinsbeiträgen und durchgängigem Design für Seiten und Archive.
Version: 1.5.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: taekwondo-marchfeld
*/
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --white: #fff;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Manrope, Arial, sans-serif;
  --edge: clamp(20px, 5.55vw, 86px);
  --section-space: clamp(66px, 8vw, 112px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent-on-light); outline-offset: 4px; }
::selection { color: var(--on-accent); background: var(--accent); }

.container {
  width: min(calc(100% - var(--edge) * 2), 1280px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 30;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  min-height: 49px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.25;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button-accent { background: var(--accent); color: var(--on-accent); }
.button-accent:hover { background: var(--accent-hover); }
.button-outline { border-color: #ffffff4d; color: var(--white); background: rgba(var(--dark-rgb), .3); }
.button-outline:hover { border-color: var(--accent-on-dark); background: var(--dark-hover); }
.button-dark { background: var(--dark); color: #fff; }
.button-dark:hover { background: var(--dark-hover); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--white);
  background: var(--dark);
  border-bottom: 1px solid #ffffff16;
}
.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  align-self: center;
  text-align: left;
}
.brand img { width: 49px; height: 49px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; }
.brand b { font-family: var(--display); font-size: 1.51rem; line-height: 1; letter-spacing: .055em; }
.brand small { margin-top: 5px; font-size: .58rem; line-height: 1.15; font-weight: 800; letter-spacing: .17em; color: var(--light-muted); }
.nav-shop { display: inline-flex; align-items: center; gap: 5px; }
.nav-shop svg { color: var(--accent-on-dark); }
.header-cta { min-height: 41px; padding: 9px 14px 9px 17px; font-size: .8rem; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(545px, 44vw, 680px);
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
.hero-visual {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 26%;
}
.hero-visual picture, .hero-visual img { width: 100%; height: 100%; }
.hero-visual img {
  object-fit: cover;
  object-position: 53% 46%;
  filter: saturate(.84) brightness(.92);
}
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(var(--dark-rgb), .82) 0%, transparent 25%),
    linear-gradient(90deg, var(--dark) 3%, var(--dark) 23%, rgba(var(--dark-rgb), .93) 31%, rgba(var(--dark-rgb), .68) 43%, rgba(var(--dark-rgb), .14) 65%, rgba(var(--dark-rgb), 0) 83%);
}
.hero-content { padding-block: 70px 84px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(var(--highlight-rgb), .3);
  border-radius: 40px;
  padding: 6px 13px 6px 10px;
  font-size: .66rem;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--light-muted);
  background: rgba(var(--dark-rgb), .78);
}
.hero-kicker span {
  width: 7px;
  height: 7px;
  background: var(--accent-on-dark);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(var(--highlight-rgb), .52);
}
.hero h1, .section h2, .club h2, .trial h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  margin-top: 20px;
  max-width: max-content;
  font-size: clamp(79px, 8.05vw, 132px);
  line-height: .81;
  letter-spacing: -.022em;
}
.hero h1 span { display: block; color: var(--accent-on-dark); }
.hero-copy {
  max-width: 390px;
  margin-top: 26px;
  color: var(--light-muted);
  font-size: clamp(.93rem, 1.18vw, 1.08rem);
  font-weight: 550;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 27px; }
.hero-caption {
  position: absolute;
  bottom: 25px;
  right: var(--edge);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .17em;
  color: var(--light-muted);
}
.hero-caption span { width: 26px; height: 1px; background: var(--accent-on-dark); }

.facts {
  border-block: 1px solid #ffffff19;
  background: var(--dark-surface);
  color: var(--white);
}
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 91px; }
.fact { display: flex; gap: 14px; align-items: center; padding: 16px 23px; }
.fact:first-child { padding-left: 0; }
.fact + .fact { border-left: 1px solid #ffffff1a; }
.fact svg { color: var(--accent-on-dark); }
.fact div { display: flex; flex-direction: column; line-height: 1.35; }
.fact strong { font-size: .96rem; font-weight: 800; }
.fact span { margin-top: 5px; font-size: .74rem; color: var(--light-muted); font-weight: 600; }

.section { padding-block: var(--section-space); }
.programs, .news { background: var(--paper); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-on-light);
  font-weight: 800;
  font-size: .69rem;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: .16em;
}
.section-heading .eyebrow::before, .club-content .eyebrow::before, .trial .eyebrow::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 2px;
  background: currentColor;
}
.section h2 {
  margin-top: 8px;
  font-size: clamp(49px, 5.5vw, 78px);
  letter-spacing: -.018em;
  line-height: .93;
}
.section-heading > p {
  max-width: 350px;
  margin-bottom: 3px;
  color: var(--muted);
  font-weight: 600;
  font-size: .96rem;
}
.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: .84rem;
  color: var(--accent-on-light);
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.program-grid, .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.program-card, .news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.program-image, .news-image { position: relative; aspect-ratio: 1.68; overflow: hidden; background: var(--line); }
.program-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--dark-rgb), .24), transparent 45%, rgba(var(--dark-rgb), .11));
}
.program-image img, .news-image img { width: 100%; height: 100%; object-fit: cover; }
.program-taekwondo .program-image img { object-position: 50% 32%; }
.program-wettkampf .program-image img { object-position: 50% 51%; }
.program-kickboxen .program-image img { object-position: 50% 48%; }
.program-image > span {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 13px;
  background: rgba(var(--dark-rgb), .9);
  border: 1px solid #ffffff26;
  color: var(--accent-on-dark);
  border-radius: 5px;
  padding: 5px 8px;
  font-weight: 800;
  font-size: .7rem;
  line-height: 1.3;
  letter-spacing: .11em;
}
.program-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(19px, 2vw, 29px);
}
.program-body .program-category {
  min-height: 1.3em;
  color: var(--accent-on-light);
  font-size: .66rem;
  line-height: 1.45;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 800;
}
.program-body h3 {
  margin-top: 5px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(30px, 3.1vw, 44px);
  letter-spacing: -.008em;
  line-height: .99;
}
.program-body > p:not(.program-category) {
  margin: 13px 0 23px;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.65;
}
.program-body .text-link { margin-top: auto; }

.schedule { background: #fff; border-top: 1px solid var(--line); }
.location-switch {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 4px;
  margin-bottom: 19px;
  background: var(--soft);
  padding: 4px;
  border-radius: 9px;
  border: 1px solid var(--line);
}
.location-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  min-height: 44px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 800;
  font-size: .86rem;
  color: var(--ink);
  background: transparent;
}
.location-switch button:hover { background: var(--accent-wash); }
.location-switch button[aria-pressed="true"] { color: #fff; background: var(--dark-surface); border-color: var(--dark-surface); }
.location-switch button[aria-pressed="true"] svg { color: var(--accent-on-dark); }
.schedule-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.schedule-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.schedule-table table { width: 100%; border-collapse: collapse; text-align: left; }
.schedule-table thead { background: var(--soft); color: var(--ink); }
.schedule-table th, .schedule-table td { padding: 15px 18px; }
.schedule-table thead th { font-size: .71rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.schedule-table tbody tr { border-top: 1px solid var(--line); }
.schedule-table tbody th { font-size: .94rem; font-weight: 800; line-height: 1.4; }
.schedule-table tbody td { font-size: .88rem; font-weight: 700; white-space: nowrap; }
.schedule-table small { display: block; margin-top: 4px; font-size: .77rem; font-weight: 600; color: var(--muted); }
.schedule-table td:last-child { color: var(--accent-on-light); font-variant-numeric: tabular-nums; }
.venue {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  overflow: hidden;
}
.venue > img { width: 100%; height: 164px; object-fit: cover; object-position: 50% 53%; }
.venue-body { padding: 20px 21px 22px; }
.venue-body .eyebrow { gap: 6px; font-size: .64rem; letter-spacing: .12em; }
.venue h3 { margin-top: 8px; font-size: 1.13rem; line-height: 1.35; font-weight: 800; }
.venue address, .venue .entrance { font-style: normal; color: var(--muted); font-size: .83rem; }
.venue address { margin-top: 7px; }
.venue .entrance { margin-top: 2px; font-size: .74rem; }
.venue .text-link { margin-top: 13px; }
.schedule-note { margin-top: 19px; color: var(--muted); font-size: .8rem; }
.schedule-note a { display: inline-flex; align-items: center; gap: 3px; color: var(--accent-on-light); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Event cards use the list rendered by the existing WordPress calendar. */
.events { background: var(--paper); border-top: 1px solid var(--line); }
.events .section-heading .text-link { flex-shrink: 0; }
.events-list #vsel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr));
  gap: 16px;
}
.events-list #vsel .vsel-content {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 29px);
  margin: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--white);
  overflow-wrap: anywhere;
}
.events-list #vsel :is(.vsel-meta, .vsel-info) {
  float: none;
  width: 100%;
  margin: 0;
}
.events-list #vsel .vsel-meta-title {
  margin: 0 0 10px;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.28;
}
.events-list #vsel .vsel-meta-title a:hover { color: var(--accent-on-light); }
.events-list #vsel :is(.vsel-meta-date, .vsel-meta-time, .vsel-meta-location, .vsel-meta-cats, .vsel-info) {
  font-size: .86rem;
  line-height: 1.55;
}
.events-list #vsel .vsel-meta-date { color: var(--accent-on-light); font-weight: 800; }
.events-list #vsel .vsel-meta-location { color: var(--muted); }
.events-list #vsel .vsel-info { padding-top: 10px; border-top: 1px solid var(--line); }
.events-list #vsel .vsel-no-events, .events-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 21px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--muted);
}

.club {
  background: var(--dark);
  color: var(--white);
  padding-block: clamp(52px, 7vw, 96px);
}
.club-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(28px, 6vw, 90px); }
.club-image {
  position: relative;
  border-radius: 9px;
  border: 1px solid #ffffff1c;
  overflow: hidden;
  aspect-ratio: 1.27;
  background: var(--dark-hover);
}
.club-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.club-image::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(0deg, rgba(var(--dark-rgb), .65), transparent); }
.club-image > span {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  left: 16px;
  color: var(--accent-on-dark);
  background: var(--dark);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.club .eyebrow { color: var(--accent-on-dark); }
.club h2, .trial h2 { margin-top: 10px; font-size: clamp(56px, 6.5vw, 94px); line-height: .83; letter-spacing: -.014em; }
.club-content > p:not(.eyebrow) {
  margin-top: 21px;
  color: var(--light-muted);
  font-size: .94rem;
  line-height: 1.7;
  max-width: 460px;
}
.club-highlight {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 15px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #ffffff2b;
}
.club-highlight strong { color: var(--accent-on-dark); font-family: var(--display); font-size: 2.5rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.club-highlight span { font-size: .73rem; line-height: 1.35; color: var(--light-muted); font-weight: 700; }
.club-content .button { margin-top: 24px; }

.news .section-heading { align-items: end; }
.news .section-heading .text-link { margin-bottom: 4px; flex-shrink: 0; }
.news-card > a { display: flex; flex: 1; flex-direction: column; height: 100%; }
.news-card > a:focus-visible { outline-offset: -4px; }
.news-card img { transition: transform 220ms ease; }
.news-card a:hover img { transform: scale(1.04); }
.news-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 20px 22px 19px; }
.news-body time { color: var(--accent-on-light); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.news-body h3 { margin-top: 7px; font-size: 1.17rem; font-weight: 800; line-height: 1.28; }
.news-body p { margin: 8px 0 13px; font-size: .85rem; color: var(--muted); line-height: 1.65; }
.news-arrow { display: inline-flex; margin-top: auto; color: var(--accent-on-light); }

.trial {
  background: linear-gradient(120deg, var(--accent-hover), var(--accent));
  color: var(--on-accent);
  padding-block: clamp(55px, 6.1vw, 88px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.trial::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(121deg, transparent 0 69%, rgba(var(--on-accent-rgb), .07) 69% 76%, transparent 76% 79%, rgba(var(--on-accent-rgb), .07) 79% 90%, transparent 90%);
}
.trial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 34px;
}
.trial .eyebrow { color: var(--on-accent); }
.trial .button-dark { border-color: var(--on-accent); }
.trial-copy p { max-width: 440px; font-weight: 750; line-height: 1.65; }
.trial-actions { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; margin-top: 20px; }
.phone-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .86rem; white-space: nowrap; }
.phone-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.trial-form-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 15px; font-size: .8rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.trial :focus-visible { outline-color: var(--on-accent); }

.partners { background: #fff; border-bottom: 1px solid var(--line); }
.partners-row { min-height: 133px; display: flex; align-items: center; gap: clamp(30px, 8vw, 130px); padding-block: 22px; }
.partners h2 { flex: 0 0 auto; }
.partner-logos { display: flex; align-items: center; gap: clamp(24px, 5vw, 74px); }
.partner-logos img { object-fit: contain; }
.partner-dolce { width: 65px; height: 65px; border-radius: 4px; }
.partner-bank { width: 178px; height: auto; }
.partner-zhs { width: 76px; height: 62px; }

.footer { background: var(--dark); color: var(--light-muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 26px; padding-block: 48px 40px; }
.footer-brand p { margin-top: 11px; color: var(--light-muted); font-size: .84rem; }
.footer h2 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--light-muted); font-weight: 800; margin-bottom: 11px; }
.footer-grid > nav, .footer-contact { display: flex; flex-direction: column; align-items: start; gap: 5px; }
.footer-grid a:not(.brand) { display: inline-flex; align-items: center; gap: 5px; color: var(--light-muted); font-size: .82rem; font-weight: 650; }
.footer-grid a:not(.brand):hover, .footer-bottom a:hover { color: var(--accent-on-dark); }
.socials { display: flex; gap: 8px; margin-top: 8px; }
.footer .socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff32; border-radius: 6px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding-block: 15px 20px;
  border-top: 1px solid #ffffff1c;
  color: var(--light-muted);
  font-size: .73rem;
  font-weight: 650;
}
.footer-bottom a { display: inline-flex; align-items: center; gap: 5px; }
.site-header :focus-visible, .hero :focus-visible, .club :focus-visible, .footer :focus-visible { outline-color: var(--accent-on-dark); }

@media (max-width: 1040px) {
  .header-row { gap: 12px; min-height: 69px; }
  .header-cta { display: none; }
  .brand img { width: 43px; height: 43px; }
  .brand b { font-size: 1.32rem; }
  .brand small { font-size: .53rem; }
  .menu-toggle {
    display: grid;
    place-items: center;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border: 1px solid #ffffff35;
    border-radius: 6px;
    color: var(--white);
    background: var(--dark-surface);
  }
}

@media (max-width: 780px) {
  .section-heading { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 25px; }
  .section-heading > p { max-width: 500px; }
  .news .section-heading { align-items: start; }
  .club-layout { gap: 25px; }
  .schedule-layout { grid-template-columns: 1fr; }
  .venue { display: grid; grid-template-columns: .9fr 1.1fr; }
  .venue > img { height: 100%; min-height: 180px; }
  .program-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial-layout { gap: 22px; }
  .partners-row { gap: 22px; justify-content: space-between; }
  .partner-logos { gap: 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}

@media (max-width: 650px) {
  :root { --section-space: clamp(46px, 10vw, 64px); }
  html { scroll-padding-top: 77px; }
  .hero { min-height: 0; }
  .hero-visual { inset: 0 0 auto; height: clamp(218px, 62vw, 340px); }
  .hero-visual img { object-position: 51% 39%; }
  .hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--dark) 0%, rgba(var(--dark-rgb), .81) 18%, rgba(var(--dark-rgb), .2) 50%, transparent 78%);
  }
  .hero-shade { background: none; }
  .hero-content { padding-block: clamp(148px, 43vw, 244px) 29px; }
  .hero h1 { font-size: clamp(54px, 16.7vw, 91px); margin-top: 16px; }
  .hero-copy { margin-top: 17px; max-width: 420px; }
  .hero-actions { margin-top: 18px; }
  .program-grid, .news-grid { grid-template-columns: 1fr; }
  .program-image, .news-image { aspect-ratio: 1.8; }
  .hero-caption { display: none; }
  .fact { gap: 7px; padding: 14px 8px; align-items: flex-start; }
  .fact svg { width: 16px; height: 16px; margin-top: 1px; }
  .fact strong { font-size: .73rem; }
  .fact span { font-size: .62rem; margin-top: 3px; }
  .facts-row { min-height: 0; }
  .club-layout { grid-template-columns: 1fr; }
  .club-image { aspect-ratio: 1.5; }
  .club-content > p:not(.eyebrow) { margin-top: 16px; }
  .trial-layout { grid-template-columns: 1fr; }
  .trial h2 br { display: none; }
  .trial h2 { line-height: .88; }
  .partners-row { flex-direction: column; align-items: start; gap: 12px; }
  .partner-logos { gap: clamp(12px, 5vw, 32px); width: 100%; }
  .partner-dolce { width: 56px; height: 56px; }
  .partner-bank { width: min(43%, 170px); }
  .partner-zhs { width: 63px; height: 51px; }
}

@media (max-width: 480px) {
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr); gap: 8px; }
  .hero-actions .button { min-height: 48px; padding: 10px 8px; font-size: .77rem; gap: 6px; }
  .hero-actions svg { width: 15px; height: 15px; }
  .fact, .fact:first-child { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5px; padding: 12px 6px; }
  .fact span { display: none; }
  .location-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-switch button { min-height: 46px; padding-inline: 6px; font-size: .8rem; }
  .location-switch button svg { width: 14px; height: 14px; }
  .schedule-table table, .schedule-table tbody { display: block; }
  .schedule-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .schedule-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 11px 14px;
  }
  .schedule-table tbody tr:first-child { border-top: 0; }
  .schedule-table tbody :is(th, td) { padding: 0; }
  .schedule-table tbody th { grid-column: 1 / -1; font-size: .87rem; }
  .schedule-table tbody td { font-size: .8rem; }
  .schedule-table tbody td:last-child { text-align: right; }
  .schedule-table small { font-size: .72rem; }
  .venue > img { min-height: 160px; }
  .venue-body { padding: 15px 14px; }
  .venue h3 { font-size: .96rem; overflow-wrap: anywhere; }
  .venue address { font-size: .8rem; }
  .venue .text-link { margin-top: 9px; }
  .footer-grid { gap: 22px 13px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-grid > nav a { min-height: 32px; }
}

@media (max-width: 420px) {
  .venue { grid-template-columns: 1fr; }
  .venue > img { height: 138px; min-height: 0; }
}

@media (max-width: 365px) {
  .hero-actions, .location-switch { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Shared navigation, including existing WordPress menus. */
body.tkdm-site { min-height: 100vh; }
body.admin-bar .site-header { top: 32px; }
body.admin-bar main [id] { scroll-margin-top: 32px; }
.site-navigation { align-self: center; }
.site-navigation ul, .footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list {
  display: flex;
  align-items: stretch;
  gap: clamp(9px, 1.9vw, 31px);
}
.nav-list li { position: relative; }
.nav-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  color: var(--light-muted);
  font-size: .79rem;
  font-weight: 750;
  line-height: 1.35;
}
.nav-list > li > a { white-space: nowrap; }
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a { color: var(--accent-on-dark); }
.nav-list > .menu-item-has-children > a::after {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg) translateY(-2px);
}
.nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -11px;
  min-width: 230px;
  max-height: 66vh;
  overflow-y: auto;
  border: 1px solid #ffffff2b;
  border-radius: 7px;
  background: var(--dark-surface);
  box-shadow: 0 8px 24px #0004;
  padding: 6px;
}
.nav-list > li:nth-last-child(-n + 2) > .sub-menu { right: -8px; left: auto; }
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { display: block; }
.nav-list .sub-menu a {
  padding: 8px 11px;
  border-radius: 4px;
  min-height: 37px;
}
.nav-list .sub-menu a:hover { background: var(--dark-hover); }
.nav-list .sub-menu .sub-menu {
  position: static;
  min-width: 0;
  max-height: none;
  overflow: visible;
  padding: 1px 0 1px 6px;
  border-width: 0 0 0 1px;
  border-radius: 0;
  margin-inline: 11px 0;
  box-shadow: none;
  background: transparent;
}
.nav-submenu-toggle, .mobile-cta { display: none; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 19px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-bottom: 14px; }
.social-menu { padding-bottom: 0; }
.footer > .container > nav a { color: var(--light-muted); font-size: .82rem; }
.footer > .container > nav a:hover { color: var(--accent-on-dark); }

.location-heading { font-weight: 800; font-size: 1.15rem; margin-bottom: 13px; }
.location-plan + .location-plan:not([hidden]) { margin-top: 22px; }
.location-plan[hidden] + .location-plan { margin-top: 0; }

.internal-page { background: var(--paper); }
.page-banner {
  padding-block: clamp(44px, 6.4vw, 90px);
  color: #fff;
  background: linear-gradient(115deg, var(--dark) 15%, var(--dark-hover) 100%);
  border-bottom: 3px solid var(--accent);
}
.page-banner .eyebrow { color: var(--accent-on-dark); }
.page-banner .eyebrow::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 2px;
  background: currentColor;
}
.page-banner .eyebrow:is(a):hover { text-decoration: underline; text-underline-offset: 4px; }
.page-banner h1 {
  max-width: 980px;
  margin-top: 11px;
  font-family: var(--display);
  font-size: clamp(45px, 6vw, 86px);
  line-height: .96;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.012em;
  overflow-wrap: anywhere;
}
.page-description { color: var(--light-muted); max-width: 710px; margin-top: 14px; }
.entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 21px;
  color: var(--light-muted);
  font-size: .83rem;
  font-weight: 750;
}
.entry-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border: 1px solid rgba(var(--highlight-rgb), .27);
  border-radius: 5px;
  color: var(--light-muted);
}
.entry-meta a:hover { border-color: var(--accent-on-dark); }
.reading-container, .archive-content { padding-block: clamp(32px, 5.3vw, 76px); }
.reading-container { width: min(calc(100% - var(--edge) * 2), 1000px); }
.entry-featured {
  margin-bottom: 27px;
  background: var(--soft);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.entry-featured img { width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.wp-content, .entry-comments {
  overflow-wrap: anywhere;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(20px, 4vw, 54px);
}
.wp-content > * + *, .entry-comments > * + * { margin-block-start: 1.05em; }
.wp-content :is(h2, h3, h4), .entry-comments h2 {
  font-weight: 800;
  line-height: 1.18;
}
.wp-content h2, .entry-comments h2 {
  font-family: var(--display);
  font-size: clamp(31px, 4.1vw, 47px);
  text-transform: uppercase;
}
.wp-content h3 { font-size: clamp(21px, 2.7vw, 29px); }
.wp-content a:not(.wp-block-button__link), .entry-comments a {
  color: var(--accent-on-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 750;
}
.wp-content :is(ul, ol) { padding-inline-start: 1.5em; }
.wp-content blockquote {
  margin-inline: 0;
  padding: .6em 1em;
  border-inline-start: 3px solid var(--accent-on-light);
  background: var(--soft);
}
.wp-content img { height: auto; }
.wp-content figure { max-width: 100%; }
.wp-content .wp-block-embed iframe { max-width: 100%; }
.wp-content .wp-block-table { overflow-x: auto; }
.wp-content table { width: 100%; border-collapse: collapse; text-align: left; }
.wp-content > table { display: block; overflow-x: auto; }
/* Keep the legacy fee tables in native table layout so their rows can grow. */
.wp-content.tkdm-prices > table { display: table; overflow: visible; }
.wp-content th, .wp-content td {
  border: 1px solid var(--line);
  padding: .65em .75em;
  vertical-align: top;
}
.wp-content th { color: var(--ink); background: var(--soft); }
.wp-content :is(.wp-block-button__link, .wp-block-search__button),
.site-search input[type="submit"], .post-password-form input[type="submit"], .entry-comments input[type="submit"] {
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 5px;
  border: 1px solid transparent;
  background: var(--dark-surface);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.wp-content figcaption { color: var(--muted); font-size: .81rem; margin-top: 7px; }
.site-search { margin-bottom: 24px; }
.site-search .search-form { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.site-search .search-form label { flex: 1 1 220px; max-width: 410px; }
.site-search input[type="search"],
.wp-content .post-password-form input[type="password"],
.entry-comments input:not([type="submit"], [type="checkbox"]), .entry-comments textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--field-line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.entry-comments, .post-navigation { margin-top: 25px; }
.entry-comments .comment-list { padding-inline-start: 1.5em; }
.entry-comments .comment-body { padding-block: .6em; }
.entry-comments .comment-form p { margin-block: .55em; }
.entry-comments .comment-form label { display: inline-block; margin-bottom: 3px; }
.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}
.post-navigation .nav-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  line-height: 1.4;
}
.post-navigation .nav-links span { display: block; margin-bottom: 4px; font-size: .73rem; color: var(--accent-on-light); }
.post-navigation a:hover { color: var(--accent-on-light); }
.entry-pagination { color: var(--muted); }
.empty-state { padding: 20px 23px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.news-image-placeholder { display: grid; place-items: center; background: linear-gradient(120deg, var(--dark), var(--dark-hover)); }
.news-image-placeholder img { width: 76px; height: 76px; object-fit: contain; }
.news-body .news-card-title { margin-top: 7px; font: 800 1.17rem/1.28 var(--body); text-transform: none; }
.pagination { margin-top: 25px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  min-width: 39px;
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-weight: 750;
}
.pagination .current { border-color: var(--dark-surface); background: var(--dark-surface); color: #fff; }
.pagination a:hover { border-color: var(--accent-on-light); color: var(--accent-on-light); }
.screen-reader-text:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .header-row { flex-wrap: wrap; }
  .header-cta { display: none; }
  .site-navigation { order: 3; flex-basis: 100%; padding-bottom: 13px; }
  .site-navigation[data-enhanced] {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    max-height: min(75vh, 620px);
    max-height: min(75dvh, 620px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: 0 var(--edge) 15px;
    background: var(--dark);
    border-bottom: 1px solid #ffffff24;
  }
  .site-navigation[data-collapsed="true"] { display: none; }
  .nav-list { display: block; }
  .nav-list > li { border-top: 1px solid #ffffff1a; }
  .nav-list a { min-height: 46px; }
  .nav-list > li > a { white-space: normal; }
  .nav-list li.menu-item-has-children > a { padding-right: 49px; }
  .nav-list > .menu-item-has-children > a::after { display: none; }
  .nav-list .sub-menu {
    display: block;
    position: static;
    max-height: none;
    min-width: 0;
    overflow: visible;
    margin: 0 0 5px 8px;
    padding: 1px 0 2px 7px;
    border-width: 0 0 0 1px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-list .menu-item-has-children[data-tkdm-expanded="false"] > .sub-menu { display: none; }
  .nav-submenu-toggle {
    position: absolute;
    top: 1px;
    right: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: var(--light-muted);
    cursor: pointer;
  }
  .nav-submenu-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(45deg) translate(-2px,-2px);
  }
  .nav-submenu-toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-1px,-1px); }
  .mobile-cta { display: inline-flex; margin-top: 7px; }
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar main [id] { scroll-margin-top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
  body.admin-bar main [id] { scroll-margin-top: 0; }
}

@media (max-width: 700px) {
  .wp-content :is(.wp-block-table, .dt-layout-table, .dataTables_scrollBody, table) {
    max-width: 100%;
    overscroll-behavior-inline: contain;
  }
  .wp-content .dt-layout-table:has(tr > :nth-child(4)) {
    display: block;
    overflow-x: auto;
  }
  .wp-content .dt-layout-table:has(tr > :nth-child(4)) > .dt-layout-cell { display: block; }
  .wp-content :is(.wp-block-table, .dt-layout-table):has(tr > :nth-child(4)) table { min-width: 36rem; }
  .wp-content table:has(tr > :nth-child(4)):not(:is(.wp-block-table, .dt-container, .dataTables_wrapper) table) {
    display: block;
    overflow-x: auto;
  }
  .wp-content table:has(tr > :nth-child(4)) :is(th, td) {
    min-width: 7.6rem;
    overflow-wrap: break-word;
  }
  .wp-content :is(iframe, video, embed, object) { max-width: 100%; }
}

@media (max-width: 650px) {
  .page-banner { padding-block: 34px; }
  .page-banner h1 { font-size: clamp(34px, 9.5vw, 52px); }
  .entry-meta { margin-top: 15px; }
  .wp-content :is(.alignleft, .alignright) { float: none; margin-inline: 0; max-width: 100%; }
}
