@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");

@layer club-desktop-standard {
  @media (min-width: 761px) {
    :root {
      container-type: inline-size;
      --club-font: "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif !important;
      --club-type-small: 11px;
      --club-type-body: 14px;
      --club-type-heading: 25px;
      --club-type-display: 39px;
      --club-pc-width: min(1200px, calc(100% - 96px));
      --club-pc-gutter: max(48px, calc((100% - 1200px) / 2));
    }

    body { font: 400 14px/24px var(--club-font) !important; }
    body :where(*) { font-family: var(--club-font) !important; }
    body :is(p, li, table, th, td, .class-row, .club-calendar, .class-row small, .schedule small) {
      font-size: var(--club-type-text) !important;
      line-height: 24px !important;
      font-weight: 400 !important;
    }
    body :is(h1, .club-page-title) {
      font-size: var(--club-type-hero) !important;
      line-height: 48px !important;
      font-weight: 700 !important;
    }
    body :is(h2, .section-title) {
      font-size: var(--club-type-section) !important;
      line-height: 34px !important;
      font-weight: 600 !important;
    }
    body :is(h3, .card-title, .class-row strong) {
      font-size: 19px !important;
      line-height: 26px !important;
      font-weight: 600 !important;
    }
    body :is(figcaption, .eyebrow, small, .caption, .pack-vat):not(.class-row small, .schedule small) {
      font-size: 12px !important;
      line-height: 17px !important;
      font-weight: 400 !important;
    }

    body > :is(header, .club-global-header[role="banner"]) {
      box-sizing: border-box !important;
      width: 100% !important;
      max-width: none !important;
      min-height: 72px !important;
      height: 72px !important;
      padding-block: 0 !important;
      padding-inline: var(--club-pc-gutter) !important;
    }
    body > :is(header, .club-global-header[role="banner"]) > nav.subpage-actions {
      padding-inline-end: 0 !important;
    }
    body > nav.club-desktop-nav,
    body > nav.class-nav,
    body main:not(.home-content),
    body > .seller-info,
    body footer#contact > .legal {
      box-sizing: border-box !important;
      width: var(--club-pc-width) !important;
      max-width: none !important;
      margin-inline: auto !important;
      padding-inline: 0 !important;
    }

    body main.home-content { width: 100% !important; max-width: none !important; }
    body main.home-content > :is(section, nav.quick-text-links) {
      box-sizing: border-box !important;
      width: 100% !important;
      max-width: none !important;
      padding-inline: var(--club-pc-gutter) !important;
      margin-inline: auto !important;
    }
    body main.home-content > .photo {
      width: 100% !important;
      max-width: none !important;
      margin-inline: 0 !important;
    }
    body main.home-content > .photo > .overlay {
      box-sizing: border-box !important;
      width: var(--club-pc-width) !important;
      max-width: 1200px !important;
      margin-inline: auto !important;
      padding-inline: 0 !important;
    }
    body main.home-content .home-hero-title {
      white-space: nowrap !important;
    }
    body main.club-aligned-detail > img.detail-image {
      display: block;
      width: 100cqw !important;
      max-width: none !important;
      margin-inline: calc((100% - 100cqw) / 2) !important;
    }

    body main > section,
    body main.club-aligned-detail > :is(.private-hero, .private-content, .director-hero, .director-editorial) {
      box-sizing: border-box !important;
      margin-block: 0 !important;
      padding-block: 80px !important;
    }
    body main.club-aligned-detail { padding-block-end: 0 !important; }
    body main.club-aligned-detail > :is(section, .private-hero, .private-content, .director-hero, .director-editorial) {
      width: 100% !important;
      max-width: none !important;
    }
    body :is(section, .private-content, .director-editorial) > h2 { margin-block: 0 32px !important; }
    body :is(.private-hero, .private-feature, .director-hero, .director-feature, .official-feature) {
      gap: 48px !important;
    }
    body :is(.cards, .press-strip, .pack-studios, .education-options) { gap: 24px !important; }
    body .press-strip { grid-auto-columns: calc((100% - 48px) / 3) !important; }
    body :is(.card, .press-card, .education-card) > :is(h3, .card-title) + :is(p, .card-description) {
      margin-block-start: 12px !important;
    }
    body :is(.detail-intro, .intro, .pack-header, .membership-hero) > p {
      max-width: 560px !important;
    }
    body main :is(section, article, table, figure, img) { min-width: 0; }
    body main :is(table, img, iframe) { max-width: 100%; }
  }
}

.club-header-desktop-links { display: none; }

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body > :is(header, .club-global-header[role="banner"]) {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      gap: 16px !important;
    }
    body > :is(header, .club-global-header[role="banner"]) > nav {
      display: flex !important;
      align-items: center !important;
      justify-content: flex-end !important;
      gap: clamp(10px, 2vw, 28px) !important;
    }
    body:has(main.home-content) > header > nav > a {
      display: none !important;
    }
    body > :is(header, .club-global-header[role="banner"]) > nav :is(.language, .languages, .club-language) {
      display: inline-flex !important;
      flex: none;
    }
    body .club-header-desktop-links {
      display: flex !important;
      align-items: center !important;
      gap: clamp(12px, 3vw, 48px) !important;
    }
    body .club-header-desktop-links > a {
      color: #fff !important;
      white-space: nowrap !important;
      font-size: var(--club-type-text) !important;
      line-height: 24px !important;
      font-weight: 400 !important;
    }
    body .club-header-desktop-links > a:is(:hover, :focus-visible) {
      text-decoration: underline;
      text-underline-offset: 4px;
    }
  }
}

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body main.club-aligned-detail > .official-feature {
      padding-block: 0 !important;
      align-items: stretch !important;
    }
    body .official-feature > figure {
      margin: 0 !important;
      position: relative;
      min-height: 300px;
    }
    body .official-feature > figure > img {
      position: absolute;
      inset: 0;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
    }
    body .official-feature > .official-copy { align-self: center; }

    body .pricing-guide .pack-header > h1 {
      font-size: var(--club-type-section) !important;
      line-height: 34px !important;
      font-weight: 600 !important;
    }
    body main.pricing-guide > :is(#packs-private, #packs-director) {
      padding-block: 0 16px !important;
      margin-block-start: 100px !important;
    }
    body .pricing-guide > .pack-studios,
    body .pricing-guide > .seller-info {
      box-sizing: border-box !important;
      width: 100% !important;
      max-width: none !important;
      margin-inline: 0 !important;
      padding-inline: 0 !important;
    }
    body .pricing-guide > .pack-studios { row-gap: 100px !important; }
    body .pricing-guide .pack-studios > .pack-studio + .pack-studio {
      padding-block-start: 0 !important;
      margin-block-start: 0 !important;
    }
    body .pricing-guide .pack-group + .pack-group {
      margin-block-start: 100px !important;
    }
  }
}

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body { padding-block-end: 200px !important; }
    body main.club-aligned-detail:has(.method-ten) > :is(section, figure.movement-chart) {
      margin-block: 0 !important;
      padding-block: 100px !important;
    }
    body main.club-aligned-detail:has(.method-ten) > .official-feature {
      margin-block: 100px !important;
      padding-block: 0 !important;
    }
    body main.club-aligned-detail > section.method-ten {
      width: min(760px, 100%) !important;
      margin-inline: auto !important;
      text-align: center !important;
    }
    body .method-ten .principle-grid { text-align: left; }
    body .method-ten .principle h3 {
      font-size: var(--club-type-text) !important;
      line-height: 24px !important;
    }
    body .machine-image {
      width: 70% !important;
      margin-inline: auto !important;
    }
    body .machine-image > .machine-map {
      display: block;
      width: 100%;
      height: auto;
    }
    body .club-aligned-detail > .pack-inline { display: none !important; }
  }
}

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body main.club-aligned-detail:has(> .private-hero) > :is(.private-hero, .private-content) {
      padding-block: 50px !important;
    }
    body main.club-aligned-detail > .private-content {
      width: min(880px, 100%) !important;
      margin-inline: auto !important;
      padding-block: 0 !important;
      row-gap: 0 !important;
    }
    body .private-content > :is(section, .private-feature) {
      padding-block: 50px !important;
    }
    body .private-content .private-feature > section {
      padding-block: 0 !important;
    }
    body .private-content section > p {
      max-width: 560px;
      margin-inline: auto;
    }
    body .private-content .private-compare {
      width: 100%;
      margin-inline: auto;
    }
    body .private-content .private-steps {
      box-sizing: border-box;
      width: fit-content;
      max-width: 100%;
      margin-inline: auto;
      padding-inline-start: 28px;
      text-align: left;
    }
    body .private-content .private-steps > li {
      padding-inline-start: 8px;
    }
    body .private-content details {
      max-width: 640px;
      margin-inline: auto;
    }
  }
}

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body main.club-aligned-detail:has(.method-ten) > .official-feature {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 0 !important;
      margin-block-end: 100px !important;
    }
    body main.club-aligned-detail > .official-feature > figure {
      align-self: stretch !important;
      display: block !important;
      padding: 0 !important;
      min-height: clamp(320px, 37vw, 500px);
    }
    body main.club-aligned-detail > .official-feature > figure > img {
      display: block !important;
      max-height: none !important;
      aspect-ratio: auto !important;
      object-position: center !important;
    }
    body main.club-aligned-detail:has(.method-ten) > section.method-ten {
      width: min(880px, 100%) !important;
      padding: 0 0 100px !important;
      border: 0 !important;
    }
    body .method-ten > h2 {
      font-family: Georgia, "Times New Roman", serif !important;
      font-size: 36px !important;
      line-height: 44px !important;
      letter-spacing: .025em !important;
      margin-block-end: 28px !important;
    }
    body .method-ten .principle-grid {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 0 !important;
      width: min(640px, 100%);
      margin-inline: auto;
    }
    body .method-ten .principle-number::after { content: "."; }
    body main.club-aligned-detail:has(.method-ten) > .official-feature {
      background: transparent !important;
    }
    body main.club-aligned-detail > .official-feature > figure {
      overflow: hidden;
      background: transparent !important;
    }
    body .method-ten .principle {
      position: relative;
      padding: 18px 0 20px 40px !important;
      border-color: #d8dedb;
    }
    body .method-ten .principle h3 {
      font-family: Georgia, "Times New Roman", serif !important;
      font-size: 16px !important;
      line-height: 23px !important;
      margin: 0 0 6px !important;
      letter-spacing: 0 !important;
    }
    body .method-ten .principle-number {
      position: absolute;
      inset: 18px auto auto 0;
      font-family: Georgia, "Times New Roman", serif !important;
      font-size: 17px !important;
      line-height: 23px !important;
      color: #526d77 !important;
    }
    body .method-ten .principle p {
      margin: 0 !important;
      padding: 0 !important;
      max-width: none !important;
      text-align: left;
      word-break: keep-all;
    }
    body .method-ten .official-links { margin-block-start: 20px !important; }
  }
}

.club-class-hero { display: contents; }

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body > nav.class-nav > a {
      font-size: var(--club-type-text) !important;
      line-height: 24px !important;
    }
    body main.club-aligned-detail > :is(.club-class-hero, .private-hero, .director-hero) {
      box-sizing: border-box;
      display: grid !important;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
      align-items: center;
      width: 100% !important;
      max-width: none !important;
      margin: 0 auto !important;
      padding: 50px 0 !important;
      gap: 48px !important;
    }
    body main.club-aligned-detail :is(.club-class-hero, .private-hero, .director-hero) > .detail-intro {
      display: block !important;
      width: 100% !important;
      min-width: 0;
      margin: 0 !important;
      padding: 0 !important;
      text-align: left !important;
    }
    body main.club-aligned-detail :is(.club-class-hero, .private-hero, .director-hero) > :is(figure, img) {
      display: block !important;
      width: 100% !important;
      height: auto;
      aspect-ratio: 4 / 5 !important;
      max-height: 540px !important;
      margin: 0 !important;
      overflow: hidden;
      object-fit: cover;
    }
    body .club-class-hero > figure > img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    body .private-content .private-feature > section,
    body .private-content .private-feature > section > p,
    body .official-feature > .official-copy,
    body .director-feature:not(.director-feature-reverse) > figure + section {
      text-align: right !important;
    }
    body .private-content .private-feature > section > p { margin-inline: auto 0 !important; }
    body .director-feature-reverse > section,
    body .private-content .private-feature > section:first-child { text-align: left !important; }
    body .private-content > section:has(details) > p {
      margin-inline: auto !important;
      text-align: center !important;
    }
  }
}

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body main.club-hotclub-page > section :is(.detail-features, .depth-row) {
      box-sizing: border-box;
      width: 100% !important;
      max-width: none !important;
      margin-inline: 0 !important;
      padding-inline: 0 !important;
    }
    body main.club-hotclub-page > section.class-depth {
      padding-inline: 0 !important;
    }

    body main.club-private-page > .private-hero {
      position: relative;
      isolation: isolate;
      min-height: clamp(360px, 39vw, 510px);
      grid-template-columns: minmax(0, 1fr) !important;
      padding-inline: clamp(28px, 6vw, 96px) !important;
      background: #182a30;
      color: #fff;
    }
    body main.club-private-page > .private-hero > figure {
      position: absolute;
      inset: 0;
      height: 100% !important;
      max-height: none !important;
      aspect-ratio: auto !important;
      z-index: -2;
    }
    body main.club-private-page > .private-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(90deg, #111d25ee, #111d25b8 42%, #111d2514 84%);
    }
    body main.club-private-page .private-hero .detail-intro :is(h1, p, .eyebrow) {
      color: #fff !important;
    }
    body main.club-private-page .private-hero .detail-intro > p { max-width: 490px !important; }
    body main.club-private-page > .private-content { width: min(1040px, 100%) !important; }
    body .club-private-page .private-feature { align-items: center; }
    body .club-private-page .private-feature > section,
    body .club-private-page .private-feature > section > p {
      text-align: left !important;
      margin-inline: 0 !important;
    }
    body .private-coaching {
      background: #f0f4f1;
      border-image: linear-gradient(#f0f4f1, #f0f4f1) fill 0 / / 0 100vw;
    }
    body .private-coaching-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }
    body .private-coaching-card {
      padding: 22px;
      background: #fff;
      border: 1px solid #dae3dd;
      border-radius: 8px;
      text-align: left;
    }
    body .private-coaching-card > h3 { margin: 0 0 12px; }
    body .private-coaching-card > p { margin: 0; }
    body .private-program .private-compare { max-width: 880px; }
    body .club-private-page .private-content > figure.private-photo { display: none; }
    body .club-private-page .private-content > .private-reservation {
      border-top: 1px solid #d8e0dc;
      padding-inline-end: 52% !important;
      text-align: left !important;
      background: url("/assets/lagree-studio.jpg") right center / 46% auto no-repeat;
    }
    body .club-private-page .private-content > .private-reservation > p {
      margin-inline: 0 !important;
      text-align: left !important;
    }
    body .private-reservation details { margin-inline: 0 !important; }
  }
}

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body main.club-class-editorial {
      --editorial-paper: #f7f5f0;
      --editorial-accent: #edf1ef;
      --editorial-rule: #cfd8d3;
    }
    body main.club-class-editorial > :is(.club-class-hero, .director-hero) {
      grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) !important;
      gap: clamp(36px, 6vw, 84px) !important;
      padding-block: 60px 80px !important;
    }
    body main.club-class-editorial > :is(.club-class-hero, .director-hero) > .detail-intro {
      grid-column: 2;
      grid-row: 1;
    }
    body main.club-class-editorial > :is(.club-class-hero, .director-hero) > :is(figure, img) {
      grid-column: 1;
      grid-row: 1;
      aspect-ratio: 5 / 4 !important;
      border-radius: 8px;
    }
    body main.club-class-editorial .detail-intro > p:first-of-type {
      border-top: 1px solid var(--editorial-rule);
      padding-top: 22px;
    }
    body main.club-class-editorial > :is(.official-feature, .class-depth),
    body main.club-class-editorial:has(.detail-features) > section:has(> .detail-features) {
      --editorial-band: var(--editorial-accent);
    }
    body main.club-class-editorial > .official-feature {
      grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) !important;
      padding-block: 56px !important;
      margin-block: 0 100px !important;
      gap: clamp(32px, 5vw, 64px) !important;
      box-sizing: border-box;
    }
    body main.club-class-editorial > .official-feature > figure {
      grid-column: 2;
      grid-row: 1;
      border-radius: 8px;
    }
    body main.club-class-editorial > .official-feature > .official-copy {
      grid-column: 1;
      grid-row: 1;
      text-align: left !important;
      padding: 0 !important;
    }
    body main.club-class-editorial .detail-features {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }
    body main.club-class-editorial .detail-features > * {
      padding: 24px;
      background: #fff;
      border: 1px solid var(--editorial-rule);
      border-radius: 8px;
    }
    body main.club-class-editorial .director-editorial > section:not(.director-feature) {
      padding: 48px clamp(24px, 6vw, 84px);
      --editorial-band: var(--editorial-paper);
      border-color: var(--editorial-rule);
    }
    body main.club-class-editorial > :is(.official-feature, .class-depth),
    body main.club-class-editorial > section:has(> .detail-features),
    body main.club-class-editorial .director-editorial > section:not(.director-feature) {
      background-color: var(--editorial-band) !important;
      border-image: linear-gradient(var(--editorial-band), var(--editorial-band)) fill 0 / / 0 100vw;
    }
    body main.club-class-editorial .director-editorial > .director-feature {
      gap: clamp(32px, 5vw, 64px) !important;
    }
    body main.club-class-editorial .director-feature > figure { border-radius: 8px; }
  }
}

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body main.mega-editorial {
      --mega-paper: #f1f2ec;
      --mega-ink: #213136;
      --mega-rule: #cbd3cc;
    }
    body main.club-aligned-detail.mega-editorial > .club-class-hero {
      display: block !important;
      padding: 0 !important;
    }
    body main.mega-editorial .club-class-hero > section.detail-intro {
      box-sizing: border-box;
      display: grid !important;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
      gap: 36px 68px;
      align-items: center;
      padding: 72px 0 !important;
      background: var(--mega-paper);
      border-image: linear-gradient(var(--mega-paper), var(--mega-paper)) fill 0 / / 0 100vw;
    }
    body main.mega-editorial .club-class-hero .detail-intro > h1 {
      margin: 0 !important;
      font-size: clamp(36px, 4.8vw, 66px) !important;
      line-height: 1.08 !important;
      color: var(--mega-ink);
    }
    body main.mega-editorial .club-class-hero .detail-intro > p:first-of-type {
      margin: 0 !important;
      border: 0;
      padding: 0;
    }
    body main.club-aligned-detail.mega-editorial > .club-class-hero > figure {
      width: 100% !important;
      height: clamp(280px, 34vw, 480px) !important;
      max-height: none !important;
      aspect-ratio: auto !important;
      border-radius: 0;
    }
    body main.mega-editorial > :is(.mega-guide, .mega-first-visit) {
      padding-block: 80px !important;
    }
    body .mega-section-heading {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      align-items: end;
      gap: 24px;
      margin-bottom: 36px;
      text-align: left;
    }
    body .mega-section-heading h2,
    body .mega-section-heading p { margin: 0; }
    body main.mega-editorial .mega-guide-steps {
      list-style: none;
      padding: 0;
      margin: 0;
      counter-reset: mega-guide;
      text-align: left;
    }
    body .mega-guide-steps > li {
      display: grid;
      grid-template-columns: 52px minmax(0, .8fr) minmax(0, 1.2fr);
      align-items: start;
      gap: 18px;
      counter-increment: mega-guide;
      border-top: 1px solid var(--mega-rule);
      padding: 22px 0;
    }
    body .mega-guide-steps > li::before {
      content: counter(mega-guide, decimal-leading-zero);
      color: #3e615c;
      font: 30px/1 Georgia, serif;
    }
    body .mega-guide-steps :is(h3, p) { margin: 0; }
    body main.mega-editorial > .mega-first-visit {
      color: #fff;
      background: var(--mega-ink);
      border-image: linear-gradient(var(--mega-ink), var(--mega-ink)) fill 0 / / 0 100vw;
    }
    body main.mega-editorial .mega-first-visit :is(h2, h3, p, a) { color: #fff !important; }
    body .mega-visit-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }
    body .mega-visit-grid > article {
      padding: 20px 0;
      border-top: 1px solid #a9bcb5;
      text-align: left;
    }
    body .mega-visit-grid h3 { margin: 0 0 10px; }
    body .mega-visit-link { display: inline-block; margin-top: 20px; text-decoration: underline; }
  }
}

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body main:is(.account-form-width, .account-dashboard-width) {
      margin-inline: auto !important;
      padding-inline: 0 !important;
    }
    body main.account-form-width { width: min(480px, calc(100% - 96px)) !important; }
    body main.account-dashboard-width { width: min(880px, calc(100% - 96px)) !important; }
    body main.mega-editorial .mega-intro-copy > p { margin: 0 0 12px; }
    body main.mega-editorial .mega-intro-copy .mega-lead { font-size: 19px !important; line-height: 28px !important; }
  }
}
.mega-intro-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-block-start: 20px; }
.mega-intro-links a, .official-copy a { text-decoration: underline; text-underline-offset: 3px; }
.mega-magic-intro { max-width: 560px; margin: 0 auto 24px; }
.mega-principle-en { color: #536a71; }
.mega-parts { width: min(860px, 100%); margin: 24px auto; border-collapse: collapse; text-align: left; overflow-wrap: anywhere; }
.mega-parts :is(th, td) { border-bottom: 1px solid #d8dedb; padding: 10px 8px; }
.mega-parts th { width: 35%; }

.mega-editorial .mega-overview,
.mega-editorial .mega-method-story {
  display: grid;
  min-width: 0;
  align-items: center;
  text-align: left;
}
.mega-editorial :is(.mega-overview, .mega-method-story, .mega-first-visit) > figure {
  margin: 0;
  min-width: 0;
}
.mega-editorial :is(.mega-overview, .mega-method-story, .mega-first-visit) > figure img {
  display: block;
  width: 100%;
  height: auto;
}
.mega-editorial .mega-story-copy p + p { margin-top: 16px; }
.mega-editorial .mega-story-copy a { text-decoration: underline; }
.mega-editorial .mega-overview-copy > h1 { margin: 0 0 24px; }
.mega-editorial .mega-overview-copy .mega-lead { margin: 0 0 12px; }
.mega-editorial .mega-equipment .machine-image { margin-block: 28px; }
.mega-editorial .mega-first-visit > figure { margin-bottom: 30px; }

@media (max-width: 760px) {
  .mega-editorial > :is(.mega-overview, .mega-method-story, .mega-guide, .mega-first-visit) {
    margin-inline: auto;
    width: calc(100% - 40px);
    padding-block: 32px;
    gap: 24px;
  }
  .mega-editorial .mega-overview > figure img { max-height: 390px; object-fit: cover; }
  .mega-editorial .mega-guide-steps { padding-inline-start: 22px; }
  .mega-editorial .mega-guide-steps > li { padding-block: 10px; }
}

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body main.mega-editorial > .mega-overview {
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
      gap: clamp(32px, 6vw, 92px);
      background: var(--mega-paper);
      border-image: linear-gradient(var(--mega-paper), var(--mega-paper)) fill 0 / / 0 100vw;
      padding: 72px 0 !important;
    }
    body main.mega-editorial .mega-overview-copy h1 {
      font-size: clamp(42px, 5.5vw, 74px) !important;
      line-height: 1.08 !important;
    }
    body main.mega-editorial :is(.mega-overview, .mega-method-story) > figure img {
      aspect-ratio: 5 / 4;
      object-fit: cover;
    }
    body main.mega-editorial > .mega-method-story {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: clamp(32px, 5vw, 72px);
      padding-block: 100px !important;
    }
    body main.mega-editorial .mega-story-copy h2 { margin-block-end: 24px; }
    body main.mega-editorial .mega-equipment {
      background: var(--mega-paper);
      border-image: linear-gradient(var(--mega-paper), var(--mega-paper)) fill 0 / / 0 100vw;
    }
    body main.mega-editorial .mega-equipment > p {
      max-width: 760px;
      margin-inline: auto;
    }
    body main.mega-editorial > .mega-reference-figure {
      width: min(560px, 100%) !important;
      margin-inline: auto;
    }
    body main.mega-editorial > .mega-reading {
      width: min(880px, 100%) !important;
      margin-inline: auto;
    }

  }
}


.mega-editorial .mega-first-visit > .mega-visit-photo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1.2vw, 16px);
  width: min(100%, 1040px);
  margin-inline: auto;
}
.mega-editorial .mega-first-visit > .mega-visit-photo img {
  width: 100%;
  height: clamp(70px, 12vw, 150px);
  object-fit: cover;
  border-radius: 4px;
}
.mega-editorial .mega-first-visit > .mega-visit-photo img:last-child {
  object-fit: contain;
  background: #f7f7f7;
}

.mega-editorial .mega-magic-spread {
  box-sizing: border-box;
  display: grid;
  gap: 32px;
  width: 100%;
  padding: clamp(20px, 4vw, 48px);
  background: #f3eddf;
}
.mega-editorial .mega-magic-spread > :is(.method-ten, .mega-reference-figure) {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.mega-editorial .mega-magic-spread .method-ten { text-align: left; }
.mega-editorial .mega-magic-spread .mega-magic-intro { margin-inline: 0; }
.mega-editorial .mega-magic-spread .principle { border-color: #d8cebc; }

@layer club-desktop-standard {
  @media (min-width: 761px) {
    body main.mega-editorial > .mega-magic-spread {
      grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
      align-items: start;
      gap: clamp(24px, 4vw, 56px);
    }
    body .mega-magic-spread .method-ten :is(h2, h3, .principle-number) {
      font-family: var(--club-font) !important;
    }
    body .mega-magic-spread .method-ten > h2 {
      font-size: var(--club-type-section) !important;
      line-height: 34px !important;
      letter-spacing: 0 !important;
    }
  }
}

@media (max-width: 760px) {
  html body[data-class-detail] {
    padding-block-end: 70px !important;
  }

  html body[data-class-detail] main a[href],
  html body[data-class-detail] main .seller-info,
  html body[data-class-detail] main .official-links,
  html body[data-class-detail] main .mega-intro-links,
  html body[data-class-detail] > :is(.class-bottom-actions, .page-map-link, .site-contact-footer, .club-legal-footer, .seller-info) {
    display: none !important;
  }
}

@layer club-desktop-standard {
  html body main.club-private-page {
    text-align: left !important;
    padding-block: 0 !important;
  }

  html body main.club-private-page :where(section, article, h1, h2, h3, p, ol, li, .eyebrow, details, summary) {
    text-align: left !important;
    font-family: var(--club-font) !important;
  }

  html body main.club-private-page > :is(.private-hero, .class-depth, .private-english-consult),
  html body main.club-private-page > .private-content > :is(section, .private-feature),
  html body main.club-private-page > .class-depth > .depth-row {
    padding-block: 150px !important;
    margin-block: 0 !important;
  }

  html body main.club-private-page > .private-content,
  html body main.club-private-page > .class-depth {
    padding-block: 0 !important;
    row-gap: 0 !important;
  }

  html body main.club-private-page .private-feature > section {
    padding-block: 0 !important;
  }

  html body main.club-private-page :is(.private-content, .private-english-consult) :is(p, details, ol.private-steps) {
    margin-inline-start: 0 !important;
  }

  html body main.club-private-page .private-compare {
    text-align: left;
  }
}

.private-mobile-program,
.private-process-photo > .private-mobile-photo { display: none; }

@layer club-desktop-standard {
  @media (max-width: 760px) {
    html body main.club-private-page .private-content > .private-feature > figure,
    html body main.club-private-page .private-program > .private-compare,
    html body main.club-private-page .private-process-photo > img:first-child {
      display: none !important;
    }
    html body main.club-private-page .private-mobile-program,
    html body main.club-private-page .private-process-photo > .private-mobile-photo {
      display: block;
    }
    .private-mobile-program > section + section { margin-top: 24px; }
    .private-mobile-program ul { padding-inline-start: 20px; }
    .private-mobile-program li + li { margin-top: 8px; }
    html body main.club-private-page > .private-content > :is(.private-feature, section) {
      border-block: 0 !important;
      padding-block: 50px !important;
    }
    html body main.club-private-page .private-feature > section {
      border-block: 0 !important;
    }
    html body main.club-private-page > .private-content > .private-process-photo {
      margin: 0 !important;
    }
    html body main.club-private-page > .private-content > .private-process {
      padding-block: 20px 0 !important;
    }
    html body main.club-private-page > .private-content > .private-reservation {
      padding-block-start: 24px !important;
    }
  }
}

.hotclub-mobile-heat-photo { display: none; }

@layer club-desktop-standard {
  @media (max-width: 760px) {
    html body main.club-private-page > .private-hero {
      padding-block-start: 50px !important;
    }
    html body main.club-private-page > .private-content > .private-program {
      padding-block-end: 20px !important;
    }
    html body main.club-private-page > .private-content > .private-process-photo {
      width: 100%;
      aspect-ratio: auto !important;
      background: none !important;
    }
    html body main.club-private-page .private-process-photo > .private-mobile-photo {
      display: block !important;
      height: auto !important;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }
    html body main.club-private-page > .private-content > .private-process {
      padding-block: 50px 0 !important;
    }
    html body main.club-private-page .private-process > .private-steps {
      margin-block-end: 0 !important;
    }
    html body main.club-private-page > .private-content > .private-reservation {
      border-block: 0 !important;
      padding-block-start: 100px !important;
    }
    html body .director-editorial > .director-feature-reverse,
    html body .director-editorial > .director-feature-reverse > figure,
    html body .director-editorial > .director-feature-reverse > figure > img,
    html body .director-editorial > #director-waiting-list {
      border-block: 0 !important;
    }
    html body .hotclub-mobile-heat-photo {
      display: block;
      margin: 20px 0;
    }
    html body .hotclub-mobile-heat-photo > img {
      display: block;
      width: 100%;
      height: auto;
      max-height: 440px;
      object-fit: cover;
      border-radius: 6px;
    }
    html body main.mega-editorial .method-ten :is(h2, h3, .principle-number, p) {
      font-family: var(--club-font) !important;
      text-align: left !important;
    }
    html body main.mega-editorial .method-ten .principle {
      border: 0 !important;
      padding: 8px 0 !important;
      text-align: left !important;
    }
    html body main.mega-editorial .method-ten .principle > h3 {
      display: flex !important;
      align-items: baseline;
      gap: 7px;
      font-size: 12px !important;
      line-height: 1.35 !important;
      margin: 0 0 4px !important;
    }
    html body main.mega-editorial .method-ten .principle-number {
      display: inline !important;
      margin: 0 !important;
      flex: 0 0 1.5em;
      font-size: inherit !important;
    }
    html body main.mega-editorial .method-ten .principle-number::after { content: "."; }
    html body main.mega-editorial .method-ten .principle p {
      padding: 0 0 0 23px !important;
      margin: 0 !important;
    }
    html body main.mega-editorial .method-ten .principle-grid { gap: 0 !important; }
  }
}

@layer club-desktop-standard {
  @media (max-width: 760px) {
    html body[data-class-detail] main.club-aligned-detail {
      padding-block: 50px 0 !important;
      margin-block: 0 !important;
    }

    html body[data-class-detail] main.club-aligned-detail > :is(.club-class-hero, .private-hero, .director-hero, .mega-overview),
    html body[data-class-detail] main.club-aligned-detail > :is(.club-class-hero, .private-hero, .director-hero) > .detail-intro {
      padding-block-start: 0 !important;
      margin-block-start: 0 !important;
    }

    html body[data-class-detail] main.club-aligned-detail .detail-intro > :first-child {
      margin-block-start: 0 !important;
    }

    html body[data-class-detail] main.club-private-page .private-content > .private-program {
      display: none !important;
    }
  }
}

@layer club-desktop-standard {
  @media (max-width: 760px) {
    html body main.mega-editorial .machine-map text.machine-mobile-label {
      font-family: var(--club-font) !important;
      font-size: 21px !important;
      font-weight: 700 !important;
      fill: #fff;
    }


    html body main.mega-editorial > .official-feature {
      background: transparent !important;
      box-sizing: border-box;
      width: calc(100% - 2 * var(--detail-gutter)) !important;
      margin-inline: auto !important;
      padding-inline: 0 !important;
      padding-block-start: 0 !important;
    }
    html body main.mega-editorial > .official-feature > figure {
      margin: 0 !important;
      padding: 0 !important;
      min-height: 0 !important;
      aspect-ratio: auto !important;
      background: transparent !important;
    }
    html body main.mega-editorial > .official-feature > figure > img {
      display: block;
      width: 100%;
      height: auto !important;
      aspect-ratio: 4 / 3 !important;
      object-fit: cover !important;
      max-height: none !important;
      margin: 0 !important;
    }

    html body main.mega-editorial > .official-feature > .official-copy {
      padding-inline: 0 !important;
    }
  }
}

.hotclub-photo-flow { display: none; }

@media (max-width: 760px) {
  .hotclub-photo-flow { display: block; margin: 0 0 22px; }
  .hotclub-flow-window { overflow: hidden; border-radius: 6px; }
  .hotclub-flow-track { display: flex; width: max-content; }
  .hotclub-photo-flow .hotclub-flow-track { animation: hotclub-photo-scroll 24s linear infinite; }
  .hotclub-flow-set { display: flex; gap: 10px; padding-inline-end: 10px; }
  .hotclub-flow-set > img {
    display: block;
    flex: none;
    width: clamp(130px, 45vw, 220px);
    height: clamp(173px, 60vw, 293px);
    object-fit: cover;
    border-radius: 6px;
  }
  @keyframes hotclub-photo-scroll { to { transform: translateX(-50%); } }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .hotclub-photo-flow .hotclub-flow-window { overflow-x: auto; }
  .hotclub-photo-flow .hotclub-flow-track { animation: none; }
  .hotclub-flow-set[aria-hidden] { display: none; }
}

@media (hover: hover) {
  .hotclub-photo-flow:hover .hotclub-flow-track { animation-play-state: paused; }
}

@layer club-desktop-standard {
  @media (max-width:760px) {
    html[lang] body main {
      --club-font:"Pretendard Variable",Pretendard,"Noto Sans KR",sans-serif !important;
      min-inline-size:0;
    }

    html[lang] body main,
    html[lang] body main:is(main) :where(*):not(:is(header,footer,header *,footer *)) {
      font-family:var(--club-font) !important;
      line-height:1.5 !important;
    }

    html[lang][data-page-kind="interior"] body main {
      --mobile-body-section-gap:70px;
      box-sizing:border-box;
      padding-block-start:40px !important;
    }

    html[lang][data-page-kind="interior"] body main > :first-child:not([hidden]),
    html[lang][data-page-kind="interior"] body main > :first-child:not([hidden]) > :first-child:is(section,article) {
      margin-block-start:0 !important;
      padding-block-start:0 !important;
    }

    html[lang][data-page-kind="interior"] body main > :last-child:not(script,template,[hidden]) {
      margin-block-end:0 !important;
    }

    html[lang][data-page-kind="interior"] body main > section:not([hidden],.club-desktop-only)
      ~ section:not([hidden],.club-desktop-only),
    html[lang][data-page-kind="interior"] body main > :is(.club-class-hero,.private-hero,.director-hero)
      ~ :is(.private-content,.director-editorial,section:not([hidden],.club-desktop-only)),
    html[lang] body main.pricing-guide > :is(#packs-private,#packs-director) {
      margin-block-start:var(--mobile-body-section-gap) !important;
    }

    html[lang] body main.mega-editorial.mega-captured-mobile > :is(
      .official-feature,.method-ten,.mega-class-flow,.movement-chart,.mega-captured-study-photo,
      section[aria-labelledby="mega-pro"],section[aria-labelledby="lagree-study"]
    ) {
      margin-block-start:0 !important;
      margin-block-end:var(--mobile-body-section-gap) !important;
      padding-block-end:0 !important;
    }

    html[lang] body main.mega-captured-mobile > .club-class-hero {
      margin-block-end:var(--mobile-body-section-gap) !important;
    }

    html[lang] body main.mega-captured-mobile > section[aria-labelledby="lagree-study"] {
      margin-block-end:0 !important;
    }

    html[lang] body main.club-private-page > .private-content,
    html[lang] body main.pricing-guide > .pack-studios {
      row-gap:var(--mobile-body-section-gap) !important;
    }

    html[lang] body main.club-private-page > .private-content > :is(section,figure,.private-feature) {
      margin-block:0 !important;
      padding-block:0 !important;
    }

    html[lang][data-page-kind="interior"] body main > section:not(.pack-studio),
    html[lang][data-page-kind="interior"] body main :is(
      .class-depth > .depth-row,
      .detail-features > article,
      .director-editorial > section,
      .private-feature > section,
      .private-content > section
    ) {
      border-block-width:0 !important;
    }

    html[lang] body main .director-editorial > section + section {
      margin-block-start:var(--mobile-body-section-gap) !important;
    }
  }
}

@layer club-desktop-standard {
  @media (max-width:760px) {
    html[lang] body main.mega-editorial.mega-captured-mobile > .mega-captured-study-photo {
      padding-block-start:20px !important;
      margin-block-end:10px !important;
    }

    html[lang] body main.mega-editorial.mega-captured-mobile > section[aria-labelledby="lagree-study"] {
      padding-block-start:0 !important;
    }

    html[lang][data-page-kind="interior"] body main.club-hotclub-page > .club-class-hero {
      margin-block-end:0 !important;
      padding-block-end:0 !important;
    }

    html[lang][data-page-kind="interior"] body main.club-hotclub-page > .club-class-hero + section:has(> .detail-features) {
      margin-block-start:10px !important;
      padding-block-start:0 !important;
    }

    html[lang] body main.club-hotclub-page .detail-features,
    html[lang] body main.club-hotclub-page .detail-features > article:first-child {
      margin-block-start:0 !important;
      padding-block-start:0 !important;
    }

    html[lang] body main .director-editorial .director-pillars {
      grid-template-columns:minmax(0,1fr);
      gap:var(--mobile-body-section-gap,70px);
    }

    html[lang] body main .director-editorial .director-pillars > article {
      border:0 !important;
      padding:0 !important;
    }

    html[lang] body main .director-editorial .director-pillars > article h3 {
      margin:0 0 16px !important;
    }

    html[lang] body main .director-editorial .director-pillar-number {
      display:block;
      margin-block-end:18px;
      font-size:var(--club-type-small) !important;
      font-weight:400;
    }

    html[lang] body main .director-editorial .director-pillar-dot { display:none; }
    html[lang] body main .director-editorial .director-pillars > article p { margin:0; }
  }
}

@layer club-desktop-standard {
  @media (max-width:760px) {
    html[lang] body > main {
      padding-block-end:50px !important;
    }

    html[lang][data-page-kind="interior"] body[data-class-detail]
      main.mega-editorial.mega-captured-mobile > .mega-captured-study-photo + section[aria-labelledby="lagree-study"] {
      margin-block-start:0 !important;
      padding-block-start:0 !important;
    }
    html[lang] body main.mega-editorial.mega-captured-mobile #lagree-study {
      margin-block-start:0 !important;
    }

    html[lang][data-page-kind="interior"] body[data-class-detail]
      main > .director-hero:has(+ .director-editorial) {
      margin-block-end:0 !important;
      padding-block-end:0 !important;
    }
    html[lang][data-page-kind="interior"] body[data-class-detail]
      main > .director-hero + .director-editorial {
      margin-block-start:0 !important;
      padding-block-start:0 !important;
    }
    html[lang] body main .director-editorial > section:has(> .director-pillars) {
      margin-block-start:0 !important;
      padding-block-start:10px !important;
    }
    html[lang] body main .director-editorial > section:has(> .director-pillars) > h2 {
      display:none;
    }
    html[lang] body main .director-editorial .director-pillars {
      margin-block-start:0 !important;
    }

    html[lang] body main.club-hotclub-page .detail-features > article + article,
    html[lang] body main.club-hotclub-page > .class-visit-panel {
      position:relative;
    }
    html[lang] body main.club-hotclub-page .detail-features > article + article::before,
    html[lang] body main.club-hotclub-page > .class-visit-panel::before {
      content:"";
      position:absolute;
      inset-inline:0;
      inset-block-start:-14px;
      border-block-start:1px solid #d3d8d6;
      pointer-events:none;
    }
    html[lang] body main.club-hotclub-page > .class-visit-panel::before {
      inset-block-start:-35px;
    }
  }
}
