/* 1.0.54: Yeowol mobile type rhythm; preserve Chungju artwork and interactions. */
@media (max-width: 991px) {
  :root {
    --header-height: 68px;
    --mobile-hero54: 700 30px/1.2 var(--body-font);
    --mobile-section54: 400 28px/1.35 Georgia, 'Times New Roman', serif;
    --mobile-heading54: 500 27px/1.16 var(--body-font);
    --mobile-title54: 600 18px/1.3 var(--body-font);
    --mobile-body54: 400 16px/1.75 var(--body-font);
    --mobile-small54: 400 14px/1.75 var(--body-font);
    --mobile-label54: 500 14px/1.5 var(--body-font);
    --mobile-link54: 600 12px/1.45 var(--body-font);
    --mobile-detail54: 500 10.5px/1.6 var(--body-font);
    --mobile-caption54: 500 10px/1.7 var(--body-font);
    --mobile-brand54: 650 21px/1.2 var(--body-font);
    --mobile-tight54: -.05em;
    --mobile-copy-ls54: -.015em;
    --mobile-edge54: clamp(18px, 5vw, 36px);
    --sub-banner-type: var(--mobile-hero54);
    --sub-section-type: var(--mobile-section54);
    --sub-copy: var(--mobile-body54);
    --sub-small: var(--mobile-small54);
    --sub-label: var(--mobile-label54);
    --sub-heading: var(--mobile-title54);
    --registration-title36: var(--mobile-section54);
    --registration-heading36: var(--mobile-title54);
    --registration-body36: var(--mobile-body54);
    --registration-small36: var(--mobile-small54);
    --registration-label36: var(--mobile-label54);
    --registration-caption36: var(--mobile-caption54);
  }
  body.home {
    --fp-display: var(--mobile-heading54);
    --fp-page: var(--mobile-heading54);
    --fp-section: var(--mobile-heading54);
    --fp-sub: var(--mobile-title54);
    --fp-body: var(--mobile-body54);
    --fp-small: var(--mobile-small54);
    --fp-label: var(--mobile-link54);
    --fp-caption: var(--mobile-caption54);
  }
  body .header, body.home .header { height: var(--header-height); padding-inline: 22px; }
  body .header .brand.cj-confirmed-brand { gap: 4px; min-height: 44px; }
  body .header .brand.cj-confirmed-brand img { width: 56px !important; max-height: 44px; }
  body .header .brand.cj-confirmed-brand .cj-brand-name35 { font: var(--mobile-brand54); letter-spacing: -.045em; }

  /* 68px transparent header + 176px centered mobile subhero, as in Yeowol. */
  .gap-sub26 .gap-cover26,
  .gap-sub26[data-page=contact] .gap-cover26 {
    height: 244px; min-height: 244px; padding: 68px var(--mobile-edge54) 0;
    align-items: center; justify-content: center;
  }
  .gap-sub26 .gap-cover26 > div,
  .gap-sub26[data-page=contact] .gap-cover26 > div {
    display: flex; flex-direction: column; align-items: center; text-align: center;
  }
  .gap-sub26 .gap-cover26 p {
    order: -1; font: var(--mobile-hero54); letter-spacing: var(--mobile-tight54); margin: 0;
  }
  .gap-sub26 .gap-cover26 h1 {
    font: var(--mobile-link54) !important; letter-spacing: .08em !important;
    margin: 8px 0 0; max-width: 100%;
  }
  .gap-sub26 .gap-cover26 h1.is-repeated54 {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .gap-sub26 .sub113-tabs a { font: var(--mobile-label54); padding: 14px 18px; min-height: 49px; }
  .gap-sub26 .sub113-body { padding: 40px 0 56px !important; }
  .gap-sub26 .gap-section-title26 { margin-bottom: 32px; }
  .gap-sub26 .gap-section-title26 h2 { margin-bottom: 10px !important; letter-spacing: var(--mobile-tight54); }
  .gap-sub26 .gap-section-title26 p { font: var(--mobile-small54); }
  .gap-sub26 .sub113-body p { letter-spacing: var(--mobile-copy-ls54); }
  .gap-sub26 .ref113-facts th { font: var(--mobile-label54); padding: 14px 0 10px; }
  .gap-sub26 .ref113-facts td { font: var(--mobile-small54); padding: 14px 0; }
  .gap-sub26 .sub113-body :is(.caption, figcaption),
  .gap-sub26 .ref113-notice { font: var(--mobile-caption54) !important; letter-spacing: 0; }
  .gap-sub26 .ref113-feature { margin-bottom: 48px; }
  .gap-sub26 .ref113-alternating { margin-bottom: 48px; }
  .gap-sub26 .ref113-media { margin-bottom: 22px; }
  .gap-sub26 .registration-intro36 { margin-bottom: 32px; }
  .gap-sub26 .registration-intro36 .cj-reg-eyebrow36 { font: var(--mobile-caption54); letter-spacing: .12em; margin-bottom: 12px; }
  .gap-sub26 .registration-intro36 h2 { font: var(--mobile-section54); letter-spacing: var(--mobile-tight54); margin-bottom: 14px; }
  .gap-sub26 .registration-section36 { padding: 28px 20px; }
  .gap-sub26 .registration-section36 h3 { font: var(--mobile-title54); letter-spacing: var(--mobile-tight54); }
  .registration-fields36 :is(input, select) { font: var(--mobile-body54); }
  .registration-fields36 { gap: 22px; }
  .registration-submit36 { padding: 26px 20px; }

  .cjgp33 .gp-facts33 { padding: 92px 0 56px; }
  .cjgp33 .gp-facts-layout33 { gap: 28px; }
  .cjgp33 .gp-facts-copy33 h2 { line-height: 1.16; }
  .cjgp33 .gp-fact33 h3 { font: var(--mobile-title54); letter-spacing: var(--mobile-tight54); margin-bottom: 6px; }
  .cjgp33 .gp-fact33 p { font: var(--mobile-detail54); letter-spacing: var(--mobile-copy-ls54); }
  .cjgp33 .gp-english-display33 { font: var(--mobile-section54); }
  .cjgp33 .gp-intro-copy33 > .gp-english-display33 { margin-bottom: 18px; }
  .cjgp33 .gp-intro-copy33 > .cjfp-lead { font: var(--mobile-small54); margin-bottom: 14px; }
  .cjgp33 .gp-signatures33 { padding: 52px 0 56px; }
  .cjgp33 .gp-core-track33 { gap: 36px; }
  .cjgp33 .gp-core-card33 h3 { font: var(--mobile-title54); letter-spacing: var(--mobile-tight54); margin: 18px 0 6px; }
  .cjgp33 .gp-core-card33 p { font: var(--mobile-detail54); letter-spacing: var(--mobile-copy-ls54); }
  .cjgp33 .gp-cover-heading33 { padding: 52px 20px 32px; }
  .cjgp33 .gp-cover-heading33 h2 { margin-bottom: 18px; }
  .cjgp33 .gp-cover-mobile-copy33 { padding: 20px 0 8px; }
  .cjgp33 .gp-cover-mobile-copy33 h3 { font: var(--mobile-title54); letter-spacing: var(--mobile-tight54); margin: 10px 0 6px; }
  .cjgp33 .gp-cover-mobile-copy33 .cjfp-small33 { font: var(--mobile-detail54); letter-spacing: var(--mobile-copy-ls54); }
  .cjgp33 .cjfp-link { font: var(--mobile-link54); min-height: 44px; letter-spacing: 0; }
  .cjgp33 .gp-location33 { padding: 54px 0 56px; }
  .cjgp33 .gp-location-heading33 { margin-bottom: 22px; }
  .cjgp33 .gp-map-grid33 { gap: 18px; }
  .cjgp33 .gp-address33 { gap: 10px; }
  .cjgp33 .gp-address33 p { font: var(--mobile-small54); }
  .cjgp33 .visit-credit32 { font: var(--mobile-caption54); }

  .gap-footer26 .gap-footer-info26,
  .gap-footer26 .gap-footer-info26 p,
  .gap-footer26 .gap-footer-legal26,
  .gap-footer26 .gap-footer-legal26 p,
  .gap-footer26 .gap-footer-bottom26 small { font: var(--mobile-caption54); letter-spacing: 0; }
  .gap-footer26 .gap-footer-info26 p { margin-bottom: 5px; }
  .gap-footer26 .gap-footer-links26 { font: var(--mobile-link54); }
  .gap-footer26 .gap-footer-links26 a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 390px) {
  :root { --mobile-heading54: 500 25px/1.16 var(--body-font); }
}
@media (max-width: 360px) {
  body .header, body.home .header { padding-inline: 18px; }
}
