
:root {
  --a-green: #3a7a4a;
  --a-green-dark: #1e4d2b;
  --a-green-light: #e8f4ec;
  --a-cream: #faf8f3;
  --a-border: #eee2d2;
  --a-text: #2a2a2a;
  --a-muted: #5f6b62;

  --color-primary: var(--a-green);
  --color-secondary: #d4a017;
  --color-accent: var(--a-green-dark);
  --color-bg: var(--a-cream);
  --color-text: var(--a-text);
  --color-text-light: #555;
  --color-border: #e6e6e6;
  --color-bg-light: #f5f0e6;

  --layout-max-width: 1280px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Nunito", "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: var(--a-text);
  background: var(--a-cream);
  min-height: 100vh;
}

img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input { font: inherit; }
address { font-style: normal; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--a-green);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.25rem 0.25rem;
  z-index: 3000;
  font-size: 0.875rem;
}
.skip-link:focus { top: 0; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--a-border);
}
.site-header__inner,
.quick-links__inner,
.site-footer__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__logo {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: var(--a-green-light);
  border-radius: 50%;
  color: var(--a-green);
  overflow: hidden;
}
.brand__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 16px; font-weight: 700; color: var(--a-green-dark); }
.brand__tagline { font-size: 12px; color: var(--a-muted); }

.utility-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
  font-size: 14px;
  flex-wrap: wrap;
}
.utility-nav__link {
  padding: 6px 12px;
  border-radius: 999px;
  color: #555;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.utility-nav__link:hover { background: var(--a-green-light); color: var(--a-green-dark); }
.utility-nav__link.is-highlight { color: var(--a-green); font-weight: 700; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search {
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #f5f0e6;
  padding: 4px 6px 4px 14px;
}
.search__input {
  border: none; background: transparent; outline: none;
  font-size: 14px; width: 140px;
}
.search__submit {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  color: var(--a-green);
}

.social { display: flex; gap: 6px; }
.social__link {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  background: #f5f0e6;
  color: var(--a-muted);
  transition: background 0.15s, color 0.15s;
}
.social__link:hover { background: var(--a-green-light); color: var(--a-green-dark); }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hero {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}
.hero__media,
.hero__overlay,
.hero__content { grid-area: 1 / 1; }

.hero__media {
  width: 100%;
  min-height: 380px;
  background:
    repeating-linear-gradient(45deg, #d8d8d8, #d8d8d8 6px, #e2e2e2 6px, #e2e2e2 14px);
  display: flex; align-items: center; justify-content: center;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__placeholder { color: #444; font-size: 18px; font-style: italic; }
.hero__overlay {
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.hero__content {
  align-self: end;
  padding: 72px max(48px, calc((100% - var(--layout-max-width)) / 2 + 48px)) 32px;
  color: #fff;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,0.62) 40px,
    rgba(0,0,0,0.72) 100%);
}
.hero__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero__subtitle { font-size: 16px; margin-top: 8px; }
.hero__cta { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--a-green); color: #fff; }
.btn--primary:hover { background: var(--a-green-dark); }
.btn--secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
}
.btn--secondary:hover { background: rgba(255,255,255,0.25); }

.quick-links__inner { padding-top: 24px; padding-bottom: 24px; }
.quick-links__heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--a-muted);
  margin-bottom: 12px;
  font-weight: 600;
}
.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  border-radius: 14px;
  text-align: center;
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 2px 6px rgba(58, 122, 74, 0.06);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.quick-link:hover { transform: translateY(-2px); }
.quick-link__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--a-green-light);
  font-size: 24px;
  line-height: 1;
}
.quick-link__label { font-size: 14px; font-weight: 600; }

.quick-link--rozvrh   .quick-link__icon { background: #e8f4ec; }
.quick-link--strava   .quick-link__icon { background: #fdf0e6; }
.quick-link--bakalari .quick-link__icon { background: #eaeff8; }
.quick-link--office   .quick-link__icon { background: #f4eef8; }
.quick-link--galerie  .quick-link__icon { background: #fdecea; }
.quick-link--rozvrh:hover   { border-color: #3a7a4a; }
.quick-link--strava:hover   { border-color: #e07a30; }
.quick-link--bakalari:hover { border-color: #5a7ab4; }
.quick-link--office:hover   { border-color: #9b59b6; }
.quick-link--galerie:hover  { border-color: #c0392b; }

.layout {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 24px;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 24px;
}

.sidebar {
  background: #fff;
  border-radius: 18px;
  padding: 16px 10px;
  height: fit-content;
  box-shadow: 0 2px 8px rgba(58, 122, 74, 0.05);
}
.sidenav__list { display: flex; flex-direction: column; gap: 2px; }
.sidenav__group { padding: 12px 12px 4px; }
.sidenav__group:first-child { padding-top: 0; }
.sidenav__group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--a-green);
  font-weight: 600;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.sidenav__item { position: relative; }
.sidenav__row { position: relative; }
.sidenav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: #333;
  transition: background 0.15s, color 0.15s;
}
.sidenav__link:hover { background: var(--a-green-light); }
.sidenav__link--toggle {
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sidenav__link--toggle:disabled { cursor: default; color: #333; opacity: 1; }
.sidenav__link--toggle:disabled:hover { background: none; }
.sidenav__item.has-children .sidenav__row > .sidenav__link { padding-right: 40px; }
.sidenav__toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 0 999px 999px 0;
}
.sidenav__toggle:hover .sidenav__chev { color: var(--a-green-dark); }
.sidenav__icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--a-green);
}
.sidenav__chev {
  margin-left: auto;
  font-size: 18px;
  line-height: 1;
  color: var(--a-muted);
  transition: transform 0.2s;
}
.sidenav__item.is-active > .sidenav__row > .sidenav__link {
  background: var(--a-green);
  color: #fff;
}
.sidenav__item.is-active > .sidenav__row > .sidenav__link .sidenav__icon,
.sidenav__item.is-active > .sidenav__row > .sidenav__link .sidenav__chev,
.sidenav__item.is-active > .sidenav__row > .sidenav__toggle .sidenav__chev { color: rgba(255,255,255,0.85); }
.sidenav__item.is-open > .sidenav__row > .sidenav__link .sidenav__chev,
.sidenav__item.is-open > .sidenav__row > .sidenav__toggle .sidenav__chev { transform: rotate(180deg); }

.sidenav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding-left: 38px;
}
.sidenav__item.is-open .sidenav__sub { max-height: 1000px; }
.sidenav__sub a {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  color: #666;
  border-radius: 6px;
}
.sidenav__sub a:hover { color: var(--a-green-dark); background: var(--a-green-light); }
.sidenav__sub a.is-active {
  color: var(--a-green-dark);
  background: var(--a-green-light);
  font-weight: 600;
}

.content { min-width: 0; }

.welcome { margin-bottom: 32px; }
.welcome__heading { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: var(--a-green-dark); }
.welcome__lead { font-size: 15px; color: #555; line-height: 1.7; max-width: 65ch; }

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.section-header__title { font-size: 20px; font-weight: 700; color: var(--a-green-dark); }
.section-header::before {
  content: "";
  flex: 1;
  order: 2;
  height: 1px;
  background: #e6e6e6;
}
.section-header__link {
  order: 3;
  font-size: 14px;
  color: var(--a-green);
  font-weight: 600;
  white-space: nowrap;
}

.news__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.news__list .news-item {
  background: #fff;
  border: 1px solid var(--a-border);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.news__list .news-item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.news-item__link { display: block; height: 100%; }
.news-item__media {
  width: 100%;
  height: 140px;
  background:
    repeating-linear-gradient(45deg, #e0e0e0, #e0e0e0 5px, #ececec 5px, #ececec 12px);
  display: flex; align-items: center; justify-content: center;
}
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item__placeholder { font-size: 28px; opacity: 0.4; }
.news-item__body { padding: 14px 16px 16px; }
.news-item__badge {
  display: inline-block;
  background: var(--a-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.news-item__date { font-size: 12px; color: var(--a-muted); }
.news-item__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 4px 0 6px;
  color: var(--a-green-dark);
}
.news-item__excerpt { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 8px; }
.news-item__more { font-size: 13px; font-weight: 600; color: var(--a-green); }

.rail { display: flex; flex-direction: column; gap: 12px; }
.widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--a-border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.widget:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.widget__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  background: var(--a-green-light);
  color: var(--a-green);
  overflow: hidden;
}
.widget__icon img { width: 100%; height: 100%; object-fit: contain; }
.widget__label { font-size: 14px; font-weight: 700; }
.widget__sub { font-size: 12px; color: var(--a-muted); }

.contact-card {
  background: #fff;
  border: 1px solid var(--a-border);
  border-radius: 18px;
  padding: 16px;
}
.contact-card__title { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--a-green-dark); }
.contact-card__body { font-size: 13px; color: #666; line-height: 1.6; }
.contact-card__link { color: var(--a-green); font-weight: 600; }
.contact-card__meta { font-size: 12px; color: var(--a-muted); }

.site-footer {
  margin-top: 48px;
  padding: 24px 0 80px;
  background: #fff;
  border-top: 1px solid var(--a-border);
  font-size: 13px;
  color: var(--a-muted);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__contact strong { color: var(--a-green-dark); }
.site-footer__contact a { color: var(--a-green); }
.site-footer__nav { display: flex; gap: 18px; }
.site-footer__nav a:hover { color: var(--a-green); }

.bottom-bar { display: none; }

.content h1,
.page-content h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--a-green-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.content h2,
.page-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--a-green-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.content h3,
.page-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--a-text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.page-content p { margin-bottom: 1rem; line-height: 1.7; }
.page-content ul,
.page-content ol { margin-bottom: 1rem; padding-left: 1.5rem; list-style: revert; }
.page-content li { margin-bottom: 0.25rem; }
.page-content strong { font-weight: 700; }
.page-content a {
  color: var(--a-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content a:hover { color: var(--a-green-dark); }

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}
.page-content th,
.page-content td {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-border);
  text-align: left;
}
.page-content th { background: var(--a-green-light); font-weight: 700; }
.page-content tr:nth-child(even) { background: #faf8f3; }

.page-content .table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.page-content .table-wrap table { margin-bottom: 0; }
@media (max-width: 480px) {
  .page-content table { font-size: 0.875rem; }
  .page-content th, .page-content td { padding: 0.5rem; }
}

.page-content blockquote {
  margin: 0 0 1.5rem;
  padding: 0.5rem 1rem;
  border-left: 4px solid var(--a-green);
  background: var(--a-cream);
  color: var(--a-text);
  font-style: italic;
}
.page-content blockquote p:last-child { margin-bottom: 0; }

.page-content hr {
  border: none;
  border-top: 2px solid var(--a-border);
  margin: 2rem 0;
}

.page-content del { color: var(--a-muted); }

.page-content .markdown-alert {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid;
  border-radius: 0.25rem;
}
.page-content .markdown-alert > :last-child { margin-bottom: 0; }
.page-content .markdown-alert-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.page-content .markdown-alert-note,
.page-content .markdown-alert-tip {
  background: #eaf2fb;
  border-left-color: #1a4971;
}
.page-content .markdown-alert-note .markdown-alert-title,
.page-content .markdown-alert-tip .markdown-alert-title {
  color: #1a4971;
}
.page-content .markdown-alert-important {
  background: var(--a-green-light);
  border-left-color: var(--a-green-dark);
}
.page-content .markdown-alert-important .markdown-alert-title {
  color: var(--a-green-dark);
}
.page-content .markdown-alert-warning,
.page-content .markdown-alert-caution {
  background: #fdf3d9;
  border-left-color: #6b4a00;
}
.page-content .markdown-alert-warning .markdown-alert-title,
.page-content .markdown-alert-caution .markdown-alert-title {
  color: #6b4a00;
}

.news-listing { margin-top: 1.5rem; }
.news-listing .news-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}
.news-listing .news-item:last-child { border-bottom: none; }
.news-listing .news-item.news-pinned {
  background: var(--a-green-light);
  padding: 1.25rem;
  border-radius: 14px;
  margin-bottom: 0.5rem;
  border-bottom: none;
}
.news-pin-badge {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--a-text);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.news-listing .news-item h2 { font-size: 1.25rem; margin: 0.25rem 0 0.375rem; }
.news-listing .news-item h2 a { color: var(--a-green-dark); }
.news-listing .news-item h2 a:hover { text-decoration: underline; }
.news-meta { font-size: 0.8125rem; color: var(--color-text-light); margin-bottom: 0.5rem; }
.news-excerpt { font-size: 0.9375rem; color: var(--a-text); margin-bottom: 0.5rem; }
.news-read-more { font-size: 0.875rem; color: var(--a-green); font-weight: 600; }
.news-read-more:hover { text-decoration: underline; }

.news-article .news-meta {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.news-back { margin-bottom: 1rem; }
.news-back a { font-size: 0.875rem; color: var(--a-green); }
.news-back a:hover { text-decoration: underline; }
.news-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2rem;
}
.news-gallery__item {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  line-height: 0;
}
.news-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}
.news-gallery__item:hover img { transform: scale(1.03); }
.news-gallery__item--thumb { width: 150px; }
.news-gallery__item--medium { width: 100%; max-width: 360px; }
.news-gallery__item--full { width: 100%; }

.lightbox {
  max-width: 92vw;
  max-height: 92vh;
  padding: 0;
  border: none;
  border-radius: 14px;
  background: #000;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 180px;
}
.lightbox__stage #lb-img {
  max-width: 92vw;
  max-height: 84vh;
  display: block;
}
.lightbox__btn {
  position: absolute;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  border-radius: 50%;
}
.lightbox__close {
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.5rem;
}
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.75rem;
}
.lightbox__prev { left: 0.5rem; }
.lightbox__next { right: 0.5rem; }
.lightbox__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  text-align: center;
}
.news-attachments {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--a-green-light);
  border-radius: 14px;
}
.news-attachments h2 { font-size: 1rem; margin: 0 0 0.5rem; }
.news-attachments ul { list-style: none; padding-left: 0; }
.news-attachments li { margin-bottom: 0.375rem; }
.news-attachments a { color: var(--a-green); font-size: 0.875rem; }
.news-attachments a:hover { text-decoration: underline; }

.pagination {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.pagination ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: center;
  list-style: none;
  padding: 0;
}
.pagination a,
.pagination-current {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
}
.pagination a { color: var(--a-green); border: 1px solid var(--color-border); }
.pagination a:hover { background: var(--a-green-light); }
.pagination-current { background: var(--a-green); color: #fff; font-weight: 700; }

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.club-card {
  border: 1px solid var(--a-border);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  background: #fff;
}
.club-card h3 { font-size: 1.1rem; margin: 0 0 0.5rem; line-height: 1.3; color: var(--a-green-dark); }
.club-card h3 a { color: var(--a-green-dark); }
.club-poster-link { display: block; margin: 0 0 0.75rem; }
.club-poster {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
}
.club-schedule { color: #555; font-size: 0.9rem; margin: 0 0 0.5rem; }
.club-availability { margin: 0.5rem 0; }
.club-availability.is-loading { visibility: hidden; }
.slots-free { color: var(--a-green); font-weight: 700; }
.slots-full { color: #b45309; font-weight: 700; }
.slots-filler { color: #b45309; font-weight: 700; }
.club-link { font-weight: 700; color: var(--a-green); }
.club-meta { list-style: none; padding: 0; margin: 1rem 0; }
.club-meta li { padding: 0.2rem 0; }

.club-form { max-width: 520px; margin-top: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font: inherit;
}
.btn-submit {
  background: var(--a-green);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn-submit:hover { background: var(--a-green-dark); }
.form-note { color: #555; font-size: 0.85rem; margin-top: 0.75rem; }
.form-privacy {
  margin-top: 1.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--a-border);
  border-radius: 18px;
  background: #fff;
}
.form-privacy > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0;
}
.form-privacy[open] > summary { margin-bottom: 0.5rem; }
.form-privacy p { color: #555; font-size: 0.85rem; margin: 0 0 0.5rem; }
.form-privacy p:last-child { margin-bottom: 0; }

.gallery-thumb img { transition: transform 0.2s; }
.gallery-thumb img:hover { transform: scale(1.05); }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .layout { grid-template-columns: 220px 1fr; }
  .rail { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .widget, .contact-card { flex: 1 1 240px; }
  .quick-links__grid { grid-template-columns: repeat(3, 1fr); }
  .hero__media { min-height: 320px; }
  .utility-nav { display: none; }

  .brand { flex-shrink: 1; min-width: 0; }
  .brand__text { min-width: 0; }
}

@media (max-width: 720px) {
  .utility-nav, .social, .search { display: none; }
  .brand__tagline { display: none; }
  .mobile-menu-toggle { display: flex; }

  .site-header__inner { padding-top: 10px; padding-bottom: 10px; gap: 12px; }

  .brand { gap: 10px; }
  .brand__name { font-size: 15px; overflow-wrap: anywhere; }
  .site-header__actions { margin-left: auto; }

  .layout { grid-template-columns: 1fr; padding: 16px; gap: 24px; }

  .sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 80%; max-width: 320px;
    border-radius: 0;
    z-index: 1500;
    overflow-y: auto;
    padding: 70px 16px 90px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 30px rgba(0,0,0,0.12);
  }
  body.menu-open .sidebar { transform: translateX(0); }
  body.menu-open::after {
    content: "";
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1400;
  }

  .hero { border-radius: 0; }
  .hero__media { min-height: 260px; }
  .hero__content { padding: 56px 16px 20px; }
  .hero__title { font-size: 22px; }
  .hero__subtitle { font-size: 13px; }
  .btn { padding: 8px 16px; font-size: 14px; }

  .quick-links__inner { padding-top: 16px; padding-bottom: 16px; }
  .quick-links__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 0 16px;
    gap: 10px;
    scrollbar-width: none;
  }
  .quick-links__grid::-webkit-scrollbar { display: none; }
  .quick-link { flex: 0 0 auto; min-width: 100px; scroll-snap-align: start; padding: 14px 16px; }

  .news__list { grid-template-columns: 1fr; }
  .news-item__media { height: 160px; }
  .rail { flex-direction: column; }

  .bottom-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--a-border);
    padding: 6px 4px max(8px, env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -2px 18px rgba(0,0,0,0.06);
  }
  .bottom-bar__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    color: var(--a-muted);
    transition: color 0.15s;
  }
  .bottom-bar__icon { font-size: 18px; }
  .bottom-bar__label { font-size: 11px; font-weight: 600; }
  .bottom-bar__tab.is-active { color: var(--a-green); }

  .site-footer { margin-bottom: 60px; }
}
