.app-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; padding-inline: 12px; background: #e5ebe3; color: #283735; }
html body .app-bar a { display: flex; align-items: center; min-height: 36px; font-size: 13px !important; text-decoration: underline; text-underline-offset: 3px; }
html body #visit .visitor-intro { margin: 0 auto 22px; max-width: 44ch; font-size: 15px !important; }
.visitor-grid, .visitor-app, .visitor-faq { max-width: 850px; margin-inline: auto; text-align: left; }
.visitor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 28px; }
.visitor-grid article { border-top: 1px solid #cad2ca; padding: 16px 0; }
.visitor-app, .visitor-faq { margin-top: 26px; padding-top: 16px; border-top: 1px solid #cad2ca; }
html body #visit :is(p, summary, a) { font-size: 14px !important; }
html body .visitor a { text-decoration: underline; text-underline-offset: 3px; }
.visitor details { border-bottom: 1px solid #cad2ca; }
.visitor summary { padding: 12px 0; cursor: pointer; font-weight: 600; }
.visitor details p { margin-top: 0; }
.invite { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.invite code { font-size: 17px; letter-spacing: .07em; }
html body .invite button { background: #e5ebe3; border: 1px solid #9aada0; color: #283735; padding: 8px 12px; cursor: pointer; font-size: 13px !important; border-radius: 4px; }

html body #visit .visitor-faq details :is(p,li,strong) {
  font-size: 14px !important;
  font-family: inherit;
  line-height: 1.65;
}
.visitor-faq details ul { padding-inline-start: 1.25em; }

.app-setup-steps {
  margin: 12px 0;
  padding-inline-start: 1.5em;
}
.app-setup-steps li + li { margin-top: 4px; }

.fit-app-icon { vertical-align: middle; margin-inline-end: 4px; border-radius: 5px; }

.app-screen-guide { margin-top: 16px; }
.app-screen-guide ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}
.app-screen-guide figure { margin: 0; }
.app-screen-guide img { display: block; width: 100%; height: auto; border-radius: 8px; }
.app-screen-guide figcaption { margin-top: 6px; }

#club-app .app-setup-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, .9fr);
  gap: clamp(14px, 4vw, 30px);
  margin: 10px 0 14px;
  padding: 0;
  list-style: none;
}
html body main #club-app .app-setup-steps li {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 2px 4px;
  padding: 8px 4px;
  position: relative;
  min-height: 38px;
  border: 1px solid #d4dbd2;
  border-radius: 999px;
  background: #e6ebe4;
  color: #384e43;
  font-size: .75rem !important;
  line-height: 1.35 !important;
  text-align: center;
}
html body #visit #club-app .app-setup-steps a {
  font-size: inherit !important;
  line-height: inherit !important;
}
#club-app .app-setup-steps li:nth-child(2) {
  border-color: #dedacd;
  background: #f1eee5;
}
#club-app .app-setup-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  inset-inline-start: 100%;
  top: 50%;
  width: clamp(14px, 4vw, 30px);
  transform: translateY(-50%);
  color: #61716a;
}
#club-app .app-setup-steps strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#club-app .app-setup-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
}
#club-app .app-setup-heading h3 { margin: 0; }
#club-app .app-setup-heading .invite { gap: 6px; }
#club-app .app-setup-heading .invite code { font-size: .875rem; }

#club-app .app-setup-heading #invite-code { font-weight: 750; }
html body #club-app .app-setup-heading #copy-invite {
  min-height: 28px;
  padding: 3px 7px;
  font-size: .6875rem !important;
  line-height: 1.2 !important;
}

#club-app .app-setup-copy {
  margin-inline-start: auto;
  padding: 0;
  background: transparent;
}
#club-app .app-setup-copy > .app-invite-copy { min-height: 28px; }

html body main.home-content > section:not(.press-desktop) {
  padding-block-start: max(52px, 6vw);
  padding-block-end: max(52px, 6vw);
}
html body main.home-content :is(.intro, #classes, #visit, #education) p {
  line-height: 1.65 !important;
}
html body .home-content #visit :is(.visitor-app, .visitor-faq) { margin-top: 36px; }
html body .home-content #visit .visitor-grid article { padding-block: 22px; }

html body .home-content {
  --home-section-break: clamp(76px, 10vw, 144px);
}
html body main.home-content > #classes {
  padding-block: var(--home-section-break);
}
html body .home-content #visit :is(.visitor-app, .visitor-faq) {
  margin-block-start: var(--home-section-break);
  padding-block-start: 20px;
}
html body .home-content #visit a.visit-map-pin {
  display: inline-block;
  margin-inline-start: .2em;
  text-decoration: none;
}

html body #visit #parking-info a {
  text-decoration: none;
}

html[lang] body .home-content #visit .visitor-grid a.visit-map-pin {
  color: #215979 !important;
  text-decoration: underline !important;
  text-underline-offset: .23em;
  font-weight: 700;
}
html[lang] body .home-content #visit button.visit-address-copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  background: transparent !important;
  color: #263b45 !important;
  border: 0 !important;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.visit-address-copy > span:first-child { font-weight: 700; }
.visit-copy-label { color: #215979; text-decoration: underline; text-underline-offset: .23em; }
.visit-copy-status:not(:empty) { display:block; color:#52616a; }
html[lang] body .home-content .visit-entry-photos > button,
html[lang] body .home-content .visit-entry-photos .visit-photo-dots > button {
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
  background: transparent !important;
}
html[lang] body .home-content .visit-entry-photos > button {
  color: #fff !important;
  font-size: 32px !important;
}
html[lang] body .home-content .visit-entry-photos button:focus-visible {
  outline: 2px solid #59788c;
  outline-offset: 2px;
}

html[lang] body .home-content .visit-entry-photos .visit-photo-dots {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  z-index: 2;
  margin-bottom: 30px;
  gap: 0;
}
html[lang] body .home-content .visit-entry-photos .visit-photo-dots > button {
  width: 17px;
  height: 25px;
  margin: 0;
}
html[lang] body .home-content .visit-entry-photos .visit-photo-dots > button::after {
  width: 6px;
  height: 6px;
  box-sizing: border-box;
  border: 1px solid #fff;
  background: transparent;
  box-shadow: 0 0 3px #0009;
}
html[lang] body .home-content .visit-entry-photos .visit-photo-dots > button[aria-current="true"]::after {
  background: #fff;
}

@layer club-page-top {
  html[lang] body .home-content #visit :is(p, li, blockquote) {
    line-height: 1.5 !important;
  }
  html[lang] body .home-content #visit .visitor-grid article :is(a.visit-map-pin, .visit-copy-label) {
    font-size: 12px !important;
    font-weight: 500 !important;
  }
  html[lang] body .home-content #visit .visit-address-copy > span:first-child {
    font-size: 12px !important;
    font-weight: 600 !important;
  }
}
html[lang] body .home-content #visit .visitor-grid article:has(.visit-address-copy) > p,
html[lang] body .home-content #visit #parking-info > p {
  margin-block: 0 6px;
}
html[lang] body .home-content #visit button.visit-address-copy {
  min-height: 0;
  margin: 0;
  box-shadow: none !important;
}
html[lang] body .home-content #visit .visit-copy-status:not(:empty) {
  display: inline;
  margin-inline-start: 6px;
  font-size: 12px;
}

html[lang] body .home-content #visit #parking-info > .parking-building-note {
  margin-block: 0 9px;
}
@layer club-page-top {
  @media (max-width: 760px) {
    html[lang] body .home-content #visit .visitor-grid article > h3 {
      font-size: 15px !important;
    }
    html[lang] body .home-content :is(#education,#parking-info):target {
      scroll-margin-top: 8px !important;
    }
  }
}
@media (max-width: 760px) {
  html[lang] body .home-content #visit .visitor-grid article {
    padding-block: 15px;
  }
  html[lang] body .home-content #visit .visitor-grid article > h3 {
    margin-block: 0 7px;
  }
}

/* Section separation belongs to the preceding block, outside each anchor. */
@layer club-page-top {
  html[lang] body main.home-content > :has(+ :is(#visit, #classes)) {
    margin-block-end: clamp(40px, 7vw, 88px);
  }
  html[lang] body main.home-content > :is(#visit, #classes) {
    padding-block-start: clamp(16px, 4vw, 28px) !important;
    scroll-margin-block-start: 0 !important;
  }
  html[lang] body main.home-content #parking-info .parking-heading > .parking-building-note {
    font-size: var(--club-type-body, 11px) !important;
    font-weight: 400 !important;
    color: inherit;
    white-space: nowrap;
  }
  @media (max-width: 760px) {
    html[lang] body main.home-content #parking-info .parking-heading > h3 {
      font-size: 15px !important;
    }
  }
}
html[lang] body main.home-content #parking-info .parking-heading {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  margin-block-end: 7px;
}
html[lang] body main.home-content #parking-info .parking-heading > h3 {
  margin: 0;
}

html[lang] body .home-content #visit #parking-info button.parking-address-copy {
  margin-inline-start: 9px;
}
@layer club-page-top {
  html[lang] body .home-content #visit #parking-info button.parking-address-copy > .visit-copy-label {
    font-size: 12px !important;
    font-weight: 500 !important;
  }
}

@layer club-page-top {
  html[lang] body .home-content #visit .visit-copy-status:not(:empty) {
    display: inline-block;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: #596f7e;
    background: #eff3f5;
    border-radius: 4px;
    padding: 1px 4px;
    margin-inline-start: 4px;
  }
}

@media (max-width: 760px) {
  .visitor-faq details[open] > summary { text-decoration: none; }
  .visitor-faq details[open] > summary::before { content: "▼"; }
}
