html, body { background-color: #fff !important; }
body main { background-color: transparent !important; }
body .home-content > :is(.intro, .classes, .first, .education, .press-desktop, .mobile-shortcuts, .quick-text-links) { background-color: transparent !important; }
html[data-page-kind="interior"] :is(footer.site-contact-footer, .mapwrap) { display: none !important; }
html[data-page-kind="interior"] iframe[src*="maps.google."] { display: none !important; }
.seller-info {
  box-sizing: border-box;
  width: min(880px, calc(100% - 44px));
  margin: 24px auto 64px;
  padding: 12px 0 0;
  border-top: 1px solid #dce3e6;
  color: #43515a;
  text-align: left;
}
.seller-info p { color: inherit; margin: 4px 0; }
.seller-info a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.page-map-link {
  box-sizing: border-box;
  width: min(880px, calc(100% - 44px));
  margin: 18px auto 60px;
  text-align: left;
}
.page-map-link a,
html body .home-content #visit a.visit-map-pin {
  color: #344f60;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html body .home-content #visit a.visit-map-pin {
  display: inline;
  font-size: inherit !important;
  white-space: nowrap;
}

.seller-address-break {display:none}
@media(max-width:760px) {
  .page-map-link,
  body:has(.machine-map) .class-bottom-actions {display:none !important}
  .seller-address-separator {display:none}
  .seller-address-break {display:initial}
  .seller-info {margin-top:44px}
  .lagree-reading-body {margin-top:8px}
  details[name="lagree-reading"][open] > summary,
  .visitor-faq details[open] > summary {
    background:#f2f5f6;
  }
}
@layer club-page-top {
  @media(max-width:760px) {
    html[lang] body main .seller-info :is(p,a,strong) {
      font-size: calc(var(--club-type-body) - 1px) !important;
    }
    html[lang] body main .machine-map text.front-platform-label {
      font-size:14px !important;
    }
  }
}

@media (min-width: 761px) {
  body:has(.club-aligned-detail) {
    --club-detail-content-width: min(1120px, calc(100% - 64px));
  }

  html body .club-aligned-detail > :is(section, .private-content, .private-hero, .private-photo, .private-english-consult),
  html body .club-aligned-detail ~ .seller-info,
  html body .club-aligned-detail > .seller-info {
    box-sizing: border-box;
    width: var(--club-detail-content-width);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
  }
}

@layer club-page-top {
  @media (max-width: 760px) {
    html[lang] body main .machine-map text.club-machine-front {
      font-size: var(--mobile-machine-font) !important;
    }
  }
  @media (min-width: 761px) {
    html[lang] body main .machine-map text { font-size: 13px !important; }
  }
}

@media (min-width: 761px) {
  html body main.club-aligned-detail > :is(section, .private-content, .private-hero, .director-editorial) {
    margin-block-start: 200px;
  }
  html body main.home-content > section + section,
  html body main.home-content > .photo + section {
    margin-block-start: 200px;
  }
  html body main.club-aligned-detail > .detail-intro,
  html body main.club-aligned-detail > :is(.private-hero, .director-hero) .detail-intro {
    display: block;
    text-align: left;
    padding-inline: 0;
  }
  html body main.club-aligned-detail .detail-intro > p {
    max-width: 65ch;
    margin: 20px 0 0;
    text-align: left;
  }
  html body main.club-aligned-detail .detail-intro > a.btn,
  html body main.club-aligned-detail .class-visit-panel,
  html body main.club-aligned-detail ~ nav.class-bottom-actions {
    display: none !important;
  }
  html body main.club-aligned-detail .seller-info {
    display: none !important;
  }
  html body main.club-aligned-detail {
    padding-block-end: 200px;
  }
}
