:root {
  --paper: #efefef;
  --ink: #111111;
  --line: #cfcfcf;
  --link: #111111;
  --rail: #ffffff;
  --night-sky: #173157;
  --night-sky-deep: #08111f;
  --night-line: #3d5d8e;
  --night-ink: #f5f0e1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: var(--link);
}

.site-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: 260px 1fr;
}

.left-rail {
  background: #f7f7f7;
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.logo-wrap {
  display: flex;
  justify-content: center;
}

.logo-dot {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  background: #000000;
  color: #ffffff;
  font-size: 20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
  display: grid;
  place-content: center;
  text-align: center;
  text-transform: uppercase;
  padding: 0 8px;
}

.search-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  font: inherit;
  background: #f8f8fb;
}

/* Mobile-only quick actions in left rail */
.mobile-action-row,
.mobile-resources {
  display: none;
}

.mobile-action-btn {
  text-decoration: none;
  color: var(--ink);
}

.mobile-action-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.mobile-action-label {
  white-space: nowrap;
}

.mobile-resources-toggle {
  font: inherit;
}

.rail-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rail-cta a {
  font-size: 14px;
  line-height: 1.35;
}

.calendar-box {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.calendar-box h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.calendar-headline-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.calendar-headline-link:hover {
  opacity: 0.8;
}

.calendar-box p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.35;
  color: #4a4a4a;
}

.map-box {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

@media (min-width: 961px) {
  .map-box {
    position: sticky;
    top: 16px;
    align-self: flex-start;
  }
}

.map-box h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.map-headline-link {
  color: #0d6e43;
  text-decoration: none;
  border-bottom: 1px solid #0d6e43;
}

.map-headline-link:hover {
  opacity: 0.8;
}

.map-box p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.35;
  color: #4a4a4a;
}

.new-feature-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #0d6e43;
  color: #ffffff;
  border-radius: 4px;
  padding: 2px 5px;
  line-height: 1.2;
  vertical-align: middle;
}

.main-pane {
  position: relative; /* establishes containing block for #word-cloud-stage */
  padding: 14px 20px 24px;
}

.top-bar {
  background: #ffffff;
  border: 1px solid var(--line);
  min-height: 52px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 12px;
}

@media (min-width: 961px) {
  .top-bar {
    margin-bottom: 14px;
  }
}

.top-bar h1 {
  flex: 1 1 520px;
  min-width: 0;
  line-height: 1.05;
}

h1 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 3.8vw, 46px);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(26px, 4.2vw, 44px);
  margin: 16px 0 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cta {
  margin-left: auto;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: #111;
  background: #efefef;
}

.cta:hover {
  background: #ffffff;
}

.cta-map {
  background: #ffffff;
  color: #0d6e43;
  border-color: #0d6e43;
  font-weight: 600;
}

.cta-map:hover {
  background: #0d6e43;
  color: #ffffff;
  border-color: #0d6e43;
}

.cta-map .new-feature-badge {
  background: #0d6e43;
  color: #ffffff;
}

.cta-map:hover .new-feature-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.feature-callout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(228px, 292px);
  align-items: center;
  gap: 24px;
  margin: 0 0 16px;
  padding: 20px 22px 18px;
  border: 1px solid rgba(143, 115, 75, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #faf4ea 100%);
  color: var(--ink);
  box-shadow:
    0 18px 32px rgba(61, 42, 17, 0.08),
    0 3px 10px rgba(61, 42, 17, 0.05);
}

.feature-callout::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 26px;
  width: 68px;
  height: 18px;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(255, 244, 196, 0.98) 0%, rgba(247, 209, 120, 0.96) 52%, rgba(232, 175, 76, 0.94) 100%);
  border: 1px solid rgba(181, 133, 60, 0.22);
  box-shadow:
    0 2px 5px rgba(107, 75, 25, 0.1),
    0 0 0 1px rgba(255, 248, 220, 0.16) inset;
  transform: rotate(-4deg);
  pointer-events: none;
  overflow: hidden;
}

.feature-callout::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 41px;
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08));
  transform: rotate(-4deg);
  opacity: 0.85;
  pointer-events: none;
}

.feature-callout__copy {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: center;
}

.feature-callout__lede {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
}

.feature-callout__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, #0f7a4c 0%, #0d6e43 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    0 12px 22px rgba(13, 110, 67, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-callout__title {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #111111;
}

.feature-callout__text {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.4;
  color: #39322a;
}

.feature-callout__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 188px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #d5ba6d;
  background: linear-gradient(180deg, #fff5c9 0%, #f4df8a 100%);
  color: #3b2b0f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow:
    0 8px 18px rgba(181, 133, 60, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.feature-callout__button:hover {
  background: #111111;
  color: #fff5d0;
  border-color: #111111;
}

@media (min-width: 741px) and (max-width: 1260px) {
  .feature-callout {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px 20px 17px;
  }

  .feature-callout__copy {
    align-content: center;
  }

  .feature-callout__lede {
    gap: 8px 12px;
  }

  .feature-callout__title {
    font-size: clamp(20px, 2.2vw, 26px);
  }

  .feature-callout__text {
    max-width: 38ch;
  }

  .feature-callout__button {
    justify-self: end;
    align-self: center;
    min-width: 152px;
    min-height: 42px;
    padding: 9px 14px;
    font-size: 12px;
  }
}

.status {
  margin: 0 0 14px;
  font-size: 14px;
}

.status:empty {
  display: none;
}

.rail-headline {
  margin: -2px 0 2px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

#site-title.counting {
  letter-spacing: 0;
}

.growth-count {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 2.2ch;
}

#site-title.counting .growth-count {
  animation: growthPop 120ms ease-out;
}

@keyframes growthPop {
  0% {
    transform: translateY(0.08em) scale(0.985);
    opacity: 0.7;
    filter: blur(0.4px);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

.clubs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 28px;
}

.day-section h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #666;
}

.day-section {
  scroll-margin-top: 18px;
}

.day-section--stacked-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: start;
}

.day-section--stacked-times > h3 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.day-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

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

.time-slot-group {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.day-section--stacked-times .time-slot-group {
  margin-bottom: 0;
}

.time-slot-group--wide {
  grid-column: 1 / -1;
}

.time-slot-group:last-child {
  margin-bottom: 0;
}

.time-slot-heading {
  margin: 0;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #2d241b;
}

.inactive-section {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(109, 104, 95, 0.35);
}

.inactive-section-copy {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #676158;
}

/* === Featured Event Strip === */

.featured-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #efe1ac;
  border: 1px solid #d6c68b;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.featured-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featured-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a6400;
}

.featured-city {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.featured-badge {
  align-self: flex-start;
}

.featured-meta {
  font-size: 13px;
  color: #4a4a4a;
  line-height: 1.4;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.featured-action-btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid #bbb;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.4;
}

.featured-action-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.featured-action-btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.featured-action-btn--primary:hover {
  background: #333;
  border-color: #333;
}

.featured-thumb {
  flex: 0 0 auto;
  width: 140px;
}

.featured-thumb-img {
  width: 100%;
  border-radius: 6px;
  display: block;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: transform 120ms;
}

.featured-thumb-img:hover {
  transform: scale(1.02);
}

@media (max-width: 960px) {
  .featured-thumb {
    width: 100px;
  }
}

/* === Flyer Lightbox === */

body.flyer-overlay-open .site-shell,
body.flyer-overlay-open .site-footer {
  filter: blur(10px) saturate(0.92);
  transition: filter 180ms ease, transform 180ms ease;
}

.flyer-lightbox {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.72), rgba(245, 240, 232, 0.92)),
    linear-gradient(180deg, #f6f2ea 0%, #f3eee4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 18px 18px 22px;
  backdrop-filter: blur(16px) saturate(0.9);
  -webkit-backdrop-filter: blur(16px) saturate(0.9);
}

.flyer-lightbox[hidden] {
  display: none;
}

.flyer-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.65), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.45), transparent 28%);
}

.flyer-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  min-height: min(92vh, 860px);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.flyer-lightbox-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.flyer-lightbox-roulette {
  min-width: 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #e0211c;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  font-family: "Marker Felt", "Bradley Hand", "Comic Sans MS", cursive;
  line-height: 1;
  cursor: pointer;
  text-transform: none;
  transition: transform 120ms, opacity 120ms;
}

.flyer-lightbox-roulette:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}

.flyer-lightbox-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.flyer-lightbox-img {
  max-width: min(100%, 540px);
  max-height: 68vh;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(40, 32, 22, 0.16);
  display: block;
  object-fit: contain;
}

.flyer-lightbox-close {
  position: absolute;
  top: 4px;
  right: 0;
  min-width: 38px;
  height: 38px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: rgba(60, 46, 31, 0.7);
  font-size: 24px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1;
  transition: color 120ms, transform 120ms;
}

.flyer-lightbox-close:hover {
  color: #2f2419;
  transform: scale(1.05);
}

.flyer-lightbox-nav {
  width: 64px;
  height: 64px;
  border: 0;
  background: transparent;
  color: #e0211c;
  font-size: 56px;
  font-weight: 700;
  font-family: "Marker Felt", "Bradley Hand", "Comic Sans MS", cursive;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms, opacity 120ms;
}

.flyer-lightbox-nav:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

.flyer-lightbox-nav[hidden] {
  visibility: hidden;
}

.flyer-lightbox-hint {
  justify-self: center;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(85, 65, 44, 0.62);
  letter-spacing: 0.02em;
}

.flyer-lightbox-gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(62px, 82px));
  justify-content: center;
  gap: 10px;
  padding: 6px 2px 2px;
  overflow-x: auto;
}

.flyer-gallery-thumb {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  border: 3px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: transform 120ms, border-color 120ms, opacity 120ms;
  opacity: 0.72;
}

.flyer-gallery-thumb:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.flyer-gallery-thumb.active {
  border-color: #e0211c;
  opacity: 1;
}

.flyer-gallery-thumb-img {
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  display: block;
}

.flyer-gallery-thumb-label {
  display: none;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(70, 52, 35, 0.8);
  text-align: left;
}

.site-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid #343434;
  color: #ececec;
  background: #111111;
}

.site-footer a {
  color: #ececec;
  text-decoration: none;
}

.club-update-modal {
  width: min(520px, calc(100vw - 32px));
  margin: auto;
  border: 1px solid #d9c48f;
  border-radius: 18px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 230, 0.985) 0%, rgba(249, 237, 204, 0.985) 100%);
  box-shadow: 0 28px 80px rgba(45, 35, 14, 0.22);
  color: var(--ink);
}

.club-update-modal::backdrop {
  background: rgba(20, 16, 10, 0.32);
  backdrop-filter: blur(10px) saturate(0.9);
  -webkit-backdrop-filter: blur(10px) saturate(0.9);
}

.club-update-form {
  display: grid;
  gap: 14px;
  padding: 22px 22px 20px;
}

.club-update-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.club-update-form-title {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #5f4b1f;
}

.club-update-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(95, 75, 31, 0.08);
  color: #5f4b1f;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.club-update-close:hover,
.club-update-close:focus-visible {
  background: rgba(95, 75, 31, 0.16);
}

.club-update-form-subhead {
  margin: -2px 0 2px;
  font-size: 14px;
  line-height: 1.45;
  color: #5d533f;
}

.club-update-label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #5d533f;
}

.club-update-label input,
.club-update-label textarea {
  width: 100%;
  border: 1px solid rgba(95, 75, 31, 0.2);
  border-radius: 10px;
  padding: 11px 12px;
  background: rgba(255, 253, 247, 0.98);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.club-update-label textarea {
  min-height: 116px;
  resize: vertical;
}

.club-update-submit {
  justify-self: start;
  border: 1px solid #876525;
  border-radius: 999px;
  padding: 10px 16px;
  background: #d4ab4d;
  color: #231909;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.club-update-submit:hover,
.club-update-submit:focus-visible {
  background: #c8992f;
  border-color: #76561d;
}

.club-update-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #245c3f;
}

.club-update-status:empty {
  display: none;
}

.club-update-status.is-error {
  color: #a12d2d;
}

body.club-update-modal-open .site-shell,
body.club-update-modal-open .site-footer,
body.club-update-modal-open #back-to-top {
  filter: blur(5px) saturate(0.92);
  transition: filter 160ms ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 960px) {
  body.flyer-overlay-open .site-shell,
  body.flyer-overlay-open .site-footer {
    filter: blur(8px) saturate(0.94);
  }

  .flyer-lightbox {
    padding: 12px 12px 18px;
  }

  .flyer-lightbox-panel {
    width: min(100%, 640px);
    min-height: 100%;
    gap: 12px;
  }

  .flyer-lightbox-topbar {
    justify-content: center;
  }

  .flyer-lightbox-stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flyer-lightbox-img {
    max-width: 100%;
    max-height: 60vh;
  }

  .flyer-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 48px;
    z-index: 1002;
  }

  .flyer-lightbox-nav--prev {
    left: 4px;
  }

  .flyer-lightbox-nav--next {
    right: 4px;
  }

  .flyer-lightbox-close {
    top: -2px;
    right: -2px;
  }

  .flyer-lightbox-gallery {
    grid-template-columns: repeat(3, minmax(54px, 70px));
    gap: 8px;
  }

  .flyer-gallery-thumb {
    padding: 3px;
  }

  .site-shell {
    grid-template-columns: 1fr;
  }

  .left-rail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }

  .clubs-grid {
    grid-template-columns: 1fr;
  }

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

  .day-section--stacked-times {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta {
    margin-left: 0;
    display: none;
  }

  .rail-headline {
    text-align: center;
    white-space: normal;
    font-size: 18px;
    line-height: 1.1;
  }

  .mobile-action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }

  .mobile-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 32px;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .mobile-action-btn--map {
    background: #0d6e43;
    border-color: #0a5534;
    color: #ffffff;
  }

  .mobile-action-btn--map .mobile-action-icon {
    stroke: #ffffff;
  }

  .mobile-resources {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
  }

  .mobile-resources-toggle {
    color: #222222;
    cursor: pointer;
    font-family: inherit;
    min-width: 0;
  }

  .mobile-resources-toggle[aria-expanded="true"] .mobile-resources-arrow {
    transform: rotate(180deg);
  }

  .mobile-resources-arrow {
    transition: transform 120ms ease;
    font-size: 10px;
  }

  .mobile-resources-body {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    z-index: 30;
    width: min(220px, calc(100vw - 20px));
    max-height: min(52vh, 320px);
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(207, 207, 207, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px) saturate(0.95);
    -webkit-backdrop-filter: blur(14px) saturate(0.95);
    overflow-y: auto;
  }

  .mobile-resources-body[hidden] {
    display: none;
  }

  .mobile-resources-section {
    display: flex;
    flex-direction: column;
  }

  .mobile-resources-heading {
    margin: 0;
    padding: 10px 12px 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a6a6a;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(207, 207, 207, 0.45);
  }

  .mobile-resources-body a,
  .mobile-resources-body button {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    color: #1f1f1f;
    text-decoration: none;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(207, 207, 207, 0.7);
    background: transparent;
    width: 100%;
    text-align: left;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    font-family: inherit;
    cursor: pointer;
  }

  .mobile-resources-section:last-child a:last-child,
  .mobile-resources-section:last-child button:last-child {
    border-bottom: none;
  }

  .mobile-resources-body a:hover,
  .mobile-resources-body button:hover {
    background: #f5f5f5;
  }

  .mobile-resource-link.is-active,
  .mobile-day-link.is-active {
    background: rgba(13, 110, 67, 0.08);
    color: #0d6e43;
    font-weight: 700;
  }

  .rail-cta,
  .calendar-box,
  .map-box {
    display: none;
  }

  .top-bar h1 {
    font-size: clamp(16px, 5.1vw, 21px);
    line-height: 1.02;
  }

  #region-headline {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0;
    text-align: left;
  }
}

@media (max-width: 740px) {
  .top-bar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .top-bar h1 {
    font-size: clamp(28px, 4.4vw, 50px);
  }

  .cta {
    margin-left: 0;
    justify-self: start;
  }

  .feature-callout {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-callout__button {
    align-self: center;
    justify-self: center;
    min-width: 0;
    width: 100%;
    max-width: 260px;
  }
}

/* ── Region filter ─────────────────────────────────────────────────────────── */

#region-headline {
  margin: 4px 0 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

.region-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}

.region-mobile-dropdown {
  position: relative;
}

.region-mobile-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1.4;
}

.region-mobile-summary::-webkit-details-marker {
  display: none;
}

.region-mobile-summary::after {
  content: "↓";
  font-size: 10px;
  line-height: 1;
}

.region-mobile-dropdown[open] .region-mobile-summary::after {
  content: "↑";
}

.region-mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 15;
  width: min(220px, calc(100vw - 32px));
  max-height: min(52vh, 320px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(207, 207, 207, 0.92);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px) saturate(0.95);
  -webkit-backdrop-filter: blur(14px) saturate(0.95);
}

.region-mobile-option {
  width: 100%;
  display: block;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(207, 207, 207, 0.7);
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 12px;
  color: #1f1f1f;
  cursor: pointer;
}

.region-mobile-option:last-child {
  border-bottom: none;
}

.region-mobile-option.is-active {
  background: rgba(13, 110, 67, 0.08);
  color: #0d6e43;
  font-weight: 700;
}

.day-toggle-nav {
  width: 112px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.day-chip {
  display: block;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.day-chip:hover {
  border-color: #0d6e43;
  color: #0d6e43;
  background: #ffffff;
}

.day-chip.is-active {
  border-color: #0d6e43;
  background: #0d6e43;
  color: #ffffff;
}

.mobile-day-link.is-active {
  background: rgba(13, 110, 67, 0.08);
  color: #0d6e43;
  font-weight: 700;
}

.region-pill {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1.4;
  transition: border-color 120ms, color 120ms, background 120ms;
}

.region-pill:hover {
  border-color: #0d6e43;
  color: #0d6e43;
}

.region-pill-new {
  border-color: #ff6f1f;
  background: linear-gradient(135deg, #fff0d9 0%, #ffe1c1 100%);
  color: #a84200;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 111, 31, 0.08);
}

.region-pill-new:hover {
  border-color: #ff6f1f;
  background: #ff6f1f;
  color: #fff7ef;
}

.region-pill.active {
  background: #0d6e43;
  border-color: #0d6e43;
  color: #ffffff;
  font-weight: 600;
}

.region-pill-new.active {
  background: #ff6f1f;
  border-color: #ff6f1f;
  color: #fff7ef;
}

.back-to-top-btn {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.back-to-top-btn:hover {
  border-color: #0d6e43;
  color: #0d6e43;
  background: #ffffff;
}

.back-to-top-btn.is-visible {
  display: inline-flex;
}

@media (max-width: 1180px) {
  .region-filter-nav {
    gap: 5px;
    margin: 0 0 14px;
  }

  .region-pill {
    padding: 4px 12px;
    font-size: 12px;
  }

  .day-toggle-nav {
    gap: 6px;
    width: 104px;
  }
}

@media (max-width: 820px) {
  .day-toggle-nav {
    position: static;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .region-pill {
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 11px;
  }

  .day-chip {
    font-size: 11px;
    padding: 6px 9px;
  }

  .back-to-top-btn {
    bottom: 14px;
    right: 12px;
  }
}

@media (min-width: 821px) and (max-width: 960px) {
  .back-to-top-btn {
    bottom: 16px;
    right: 14px;
  }
}
