/**
 * Commercial Gym Solutions — independent layout (cmg-*)
 * Industrial club aesthetic: diagonal hero, tier ladder, VS split
 */

@import url('aoxiang-solutions-brand.css');

/* Typography tokens — aligned with hotel-gym / gym-solutions */
:root {
  --ax-fs-eyebrow: 0.78rem;
  --ax-fs-title: clamp(1.75rem, 4vw, 2.5rem);
  --ax-fs-title-sub: clamp(1.35rem, 2.5vw, 1.75rem);
  --ax-fs-lead: clamp(1rem, 2vw, 1.125rem);
  --ax-fs-hero-title: clamp(1.85rem, 4.2vw, 2.75rem);
  --ax-fs-hero-title-mobile: clamp(1.75rem, 7vw, 2.35rem);
  --ax-fs-hero-desc: 0.95rem;
  --ax-fs-body: 1rem;
  --ax-fs-body-sm: 0.9375rem;
  --ax-fs-card-title: 1.15rem;
  --ax-fs-step-title: 1.05rem;
  --ax-fs-step-body: 0.95rem;
  --ax-fs-faq: 1.05rem;
  --ax-fs-faq-answer: 0.98rem;
  --ax-fs-metric: clamp(1.6rem, 2.8vw, 2.1rem);
  --ax-fs-metric-label: 0.78rem;
  --ax-fs-tag: 0.78rem;
  --ax-fs-btn: 0.95rem;
  --ax-fs-contact-intro: 1rem;
  --cmg-font: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/**
 * Commercial Gym Solutions ? independent layout (cmg-*)
 * Industrial club aesthetic: diagonal hero, tier ladder, VS split
 * Brand tokens: --ax-brand, Oswald (AoXiang site)
 */

:root {
  --ax-brand: #fb5b21;
  --ax-brand-dark: #e04a15;
  --ax-brand-soft: rgba(251, 91, 33, 0.14);
  --cmg-ink: #111;
  --cmg-muted: #5c5c5c;
  --cmg-line: #e4e4e4;
  --cmg-cream: #f6f4f1;
  --cmg-white: #fff;
  --cmg-dark: #0d0d0d;
  --cmg-radius: 2px;
  --cmg-wrap: 1280px;
  --cmg-header-offset: 148px;
  --cmg-scroll-offset: 160px;
  --cmg-font: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html:has(body.page-commercial-gym-solutions) {
  scroll-behavior: smooth;
}

body.page-commercial-gym-solutions {
  min-height: 100%;
}

.commercial-gym {
  font-family: var(--cmg-font);
  color: var(--cmg-ink);
  line-height: 1.55;
  padding-top: var(--cmg-header-offset);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.commercial-gym *,
.commercial-gym *::before,
.commercial-gym *::after {
  box-sizing: border-box;
}

.commercial-gym main > [id] {
  scroll-margin-top: var(--cmg-scroll-offset);
}

.commercial-gym h1,
.commercial-gym h2,
.commercial-gym h3,
.commercial-gym h4,
.commercial-gym p,
.commercial-gym li,
.commercial-gym button,
.commercial-gym summary {
  font-family: inherit;
}

.cmg-wrap {
  max-width: var(--cmg-wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.cmg-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ax-brand);
  color: #fff;
  padding: 12px 20px;
  z-index: 9999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cmg-skip:focus {
  left: 16px;
  top: calc(var(--cmg-header-offset) + 8px);
}



.cmg-title {
  font-size: var(--ax-fs-title);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  text-transform: none;
}

.cmg-lead {
  font-size: var(--ax-fs-lead);
  color: var(--cmg-muted);
  margin: 0;
  max-width: 56ch;
  line-height: 1.65;
}

.cmg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: var(--ax-fs-btn);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--cmg-radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.cmg-btn--primary {
  background: var(--ax-brand);
  color: #fff;
}
.cmg-btn--primary:hover {
  background: var(--ax-brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.cmg-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}
.cmg-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.cmg-btn--dark {
  background: var(--cmg-ink);
  color: #fff;
}
.cmg-btn--dark:hover {
  background: #000;
  color: #fff;
}

/* ?? Hero: cinematic diagonal clip ?? */
.cmg-hero {
  position: relative;
  margin-top: calc(-1 * var(--cmg-header-offset));
  min-height: clamp(520px, 72vh, 680px);
  display: grid;
  grid-template-columns: 1fr;
  background: var(--cmg-dark);
  overflow: hidden;
}

.cmg-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cmg-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  display: block;
}

.cmg-hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(13, 13, 13, 0.94) 0%, rgba(13, 13, 13, 0.78) 36%, rgba(13, 13, 13, 0.32) 60%, rgba(13, 13, 13, 0.12) 100%);
}

@media (max-width: 768px) {
  .cmg-hero__visual::after {
    background:
      linear-gradient(180deg, rgba(13, 13, 13, 0.88) 0%, rgba(13, 13, 13, 0.78) 45%, rgba(13, 13, 13, 0.72) 100%);
  }

  .cmg-hero__slash {
    display: none;
  }

  .cmg-hero__title {
    max-width: 12ch;
  }

  .cmg-hero__desc {
    max-width: none;
  }
}

.cmg-hero__slash {
  position: absolute;
  right: -5%;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(165deg, var(--ax-brand) 0%, var(--ax-brand-dark) 100%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.92;
  z-index: 1;
  pointer-events: none;
}

.cmg-hero__panel {
  position: relative;
  z-index: 2;
  padding: calc(var(--cmg-header-offset) + 48px) clamp(20px, 4vw, 40px) 48px;
  max-width: var(--cmg-wrap);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  min-width: 0;
  box-sizing: border-box;
}

.cmg-hero__tag {
  font-size: var(--ax-fs-tag);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 12px;
  max-width: 100%;
}

.cmg-metrics__intro {
  margin: 0 auto;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 4vw, 40px) 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  max-width: 54ch;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.cmg-metrics__intro strong {
  font-weight: 600;
  color: #fff;
}

.cmg-hero__title {
  font-size: var(--ax-fs-hero-title);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 8px;
  text-transform: uppercase;
  max-width: 12ch;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.cmg-hero__title em {
  display: block;
  font-style: normal;
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ax-brand);
  margin-top: 10px;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 28ch;
}

.cmg-hero__desc {
  font-size: var(--ax-fs-hero-desc);
  color: rgba(255, 255, 255, 0.72);
  max-width: min(42ch, 100%);
  margin: 14px 0 20px;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: normal;
  text-transform: none;
  letter-spacing: normal;
}

.cmg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cmg-hero__badge {
  position: absolute;
  right: clamp(20px, 4vw, 40px);
  bottom: clamp(24px, 4vw, 48px);
  z-index: 3;
  background: rgba(13, 13, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--ax-brand);
  padding: 20px 24px;
  max-width: 240px;
}

.cmg-hero__badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.cmg-hero__badge span {
  display: block;
  font-size: var(--ax-fs-tag);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  line-height: 1.4;
}

/* ?? Orange metrics strip ?? */
.cmg-metrics {
  background: var(--ax-brand);
  color: #fff;
  position: relative;
  z-index: 2;
}

.cmg-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--cmg-wrap);
  margin: 0 auto;
}

.cmg-metrics__item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cmg-metrics__item:last-child {
  border-right: none;
}

.cmg-metrics__num {
  font-size: var(--ax-fs-metric);
  font-weight: 700;
  line-height: 1;
}

.cmg-metrics__label {
  font-size: var(--ax-fs-metric-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 8px;
  line-height: 1.35;
  max-width: 16ch;
}

/* ?? Sections ?? */
.cmg-section {
  padding: clamp(64px, 10vw, 96px) 0;
}

.cmg-section--cream {
  background: var(--cmg-cream);
}

.cmg-section--dark {
  background: var(--cmg-dark);
  color: #fff;
}

.cmg-section--dark .cmg-title {
  color: #fff;
}

.cmg-section--dark .cmg-lead {
  color: rgba(255, 255, 255, 0.65);
}

.cmg-section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.cmg-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cmg-section-head--center .cmg-lead {
  margin-left: auto;
  margin-right: auto;
}

.cmg-audience {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: var(--cmg-cream);
  border-left: 3px solid var(--ax-brand);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 62ch;
}

.cmg-section--cream .cmg-audience {
  background: var(--cmg-white);
}

.cmg-audience strong {
  color: var(--ax-brand);
  font-weight: 600;
}

/* ?? Capability matrix (4-col industrial) ?? */
.cmg-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--cmg-line);
  background: var(--cmg-white);
}

.cmg-matrix__cell {
  padding: 32px 24px;
  border-right: 1px solid var(--cmg-line);
  position: relative;
  transition: background 0.2s;
}

.cmg-matrix__cell:last-child {
  border-right: none;
}

.cmg-matrix__cell:hover {
  background: var(--cmg-cream);
}

.cmg-matrix__cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ax-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.cmg-matrix__cell:hover::before {
  transform: scaleX(1);
}

.cmg-matrix__num {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(251, 91, 33, 0.25);
  line-height: 1;
  margin: 0 0 12px;
}

.cmg-matrix__cell h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.cmg-matrix__cell p {
  font-size: 1rem;
  color: var(--cmg-muted);
  margin: 0;
  line-height: 1.55;
}

/* Pain: club seam strip — 4 image tiles, text on photo (mid height) */
.cmg-pain-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: transparent;
}

.cmg-pain-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #141414;
  min-height: 200px;
  max-height: 220px;
}

.cmg-pain-item > img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cmg-pain-item:hover > img {
  transform: scale(1.04);
}

.cmg-pain-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 14px 14px;
  background: linear-gradient(rgba(10, 10, 10, 0) 35%, rgba(10, 10, 10, 0.9));
  pointer-events: none;
}

.cmg-pain-item__idx {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ax-brand);
  margin: 0 0 6px;
  line-height: 1;
}

.cmg-pain-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
}

.cmg-pain-item__overlay > p:not(.cmg-pain-item__idx) {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cmg-quote {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 500;
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 48px);
  line-height: 1.5;
  padding: 0 16px;
}

.cmg-quote em {
  color: var(--ax-brand);
  font-style: normal;
  font-weight: 600;
}

/* ?? Editorial split (solutions) ?? */
.cmg-editorial {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: stretch;
}

.cmg-editorial__visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--cmg-radius);
  background: var(--cmg-dark);
  min-height: 0;
  height: 100%;
}

.cmg-editorial__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
}

.cmg-editorial__visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(rgba(13, 13, 13, 0), rgba(13, 13, 13, 0.85));
}

.cmg-editorial__stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cmg-editorial__block {
  padding: 32px 0;
  border-bottom: 1px solid var(--cmg-line);
}

.cmg-editorial__block:first-child {
  padding-top: 0;
}

.cmg-editorial__block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cmg-editorial__tag {
  font-size: var(--ax-fs-tag);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ax-brand);
  margin-bottom: 8px;
}

.cmg-editorial__block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.cmg-editorial__block p {
  font-size: 1rem;
  color: var(--cmg-muted);
  margin: 0;
  line-height: 1.65;
}

/* ?? VS split compare ?? */
.cmg-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: clamp(32px, 5vw, 48px);
}

.cmg-vs__col {
  padding: clamp(32px, 4vw, 44px);
  border: 1px solid var(--cmg-line);
}

.cmg-vs__col--lose {
  background: var(--cmg-cream);
}

.cmg-vs__col--win {
  background: var(--cmg-dark);
  color: #fff;
  border-color: var(--cmg-dark);
}

.cmg-vs__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  background: var(--ax-brand);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  flex-shrink: 0;
}

.cmg-vs__col h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cmg-line);
  letter-spacing: -0.01em;
}

.cmg-vs__col--win h3 {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cmg-vs__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmg-vs__col li {
  font-size: 1rem;
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.5;
}

.cmg-vs__col--lose li {
  color: var(--cmg-muted);
}

.cmg-vs__col--win li {
  color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.cmg-vs__col li:last-child {
  border-bottom: none;
}

.cmg-vs__col--lose li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #c0392b;
  font-weight: 700;
}

.cmg-vs__col--win li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ax-brand);
  font-weight: 700;
}

/* Club vs boutique dual panel */
.cmg-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cmg-dual__panel {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--cmg-line);
  background: var(--cmg-white);
}

.cmg-dual__panel--highlight {
  border-color: var(--ax-brand);
  border-width: 2px;
  background: var(--cmg-white);
  position: relative;
}

.cmg-dual__panel--highlight::before {
  content: 'Your Brief';
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--ax-brand);
  color: #fff;
  font-size: var(--ax-fs-tag);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
}

.cmg-dual__panel dl {
  margin: 0;
}

.cmg-dual__panel h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.cmg-dual__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cmg-line);
  font-size: 1rem;
}

.cmg-dual__row:last-child {
  border-bottom: none;
}

.cmg-dual__row dt {
  font-weight: 600;
  color: var(--cmg-ink);
  flex-shrink: 0;
  min-width: 100px;
}

.cmg-dual__row dd {
  margin: 0;
  color: var(--cmg-muted);
  text-align: right;
  line-height: 1.45;
}

/* ?? Tier ladder (space guide) ?? */
.cmg-tiers {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 48px;
}

.cmg-tiers::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--ax-brand), var(--ax-brand-dark));
}

.cmg-tier {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
  padding: clamp(24px, 4vw, 36px) 0;
  border-bottom: 1px solid var(--cmg-line);
  position: relative;
}

.cmg-tier:last-child {
  border-bottom: none;
}

.cmg-tier__dot {
  position: absolute;
  left: -48px;
  width: 32px;
  height: 32px;
  background: var(--ax-brand);
  border: 4px solid var(--cmg-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ax-fs-tag);
  font-weight: 700;
  color: #fff;
}

.cmg-section--cream .cmg-tier__dot {
  border-color: var(--cmg-cream);
}

.cmg-tier__size {
  min-width: 140px;
}

.cmg-tier__size strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ax-brand);
  line-height: 1.1;
}

.cmg-tier__size span {
  font-size: 0.9375rem;
  color: var(--cmg-muted);
}

.cmg-tier__body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.cmg-tier__body p {
  font-size: 1rem;
  color: var(--cmg-muted);
  margin: 0 0 12px;
  line-height: 1.55;
}

.cmg-tier__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cmg-tag {
  font-size: var(--ax-fs-tag);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--cmg-white);
  border: 1px solid var(--cmg-line);
}

.cmg-tier__img {
  width: clamp(220px, 30vw, 360px);
  height: 180px;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: var(--cmg-radius);
  flex-shrink: 0;
}

.cmg-tier__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ?? Zone gallery (3 equal panels) ?? */
.cmg-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: transparent;
  padding: 0 clamp(20px, 4vw, 40px);
  max-width: var(--cmg-wrap);
  margin: 0 auto;
}

.cmg-gallery__item {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.cmg-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.cmg-gallery__item:hover img {
  transform: scale(1.04);
}

.cmg-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0) 50%, rgba(13, 13, 13, 0.78) 100%);
  pointer-events: none;
}

.cmg-gallery__label {
  font-size: var(--ax-fs-tag);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ax-brand);
  margin-bottom: 6px;
}

.cmg-gallery__overlay h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.cmg-gallery__overlay p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.5;
}

/* ?? ROI gradient band ?? */
.cmg-roi {
  background: linear-gradient(135deg, var(--cmg-dark) 0%, #1a1a1a 50%, var(--ax-brand-dark) 100%);
  padding: clamp(48px, 8vw, 72px) 0;
  color: #fff;
}

.cmg-roi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.cmg-roi__item strong {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--ax-brand);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.cmg-roi__item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.cmg-roi .cmg-lead {
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin: 0 auto 36px;
}

/* ?? Process: horizontal arrow steps ?? */
.cmg-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: cmg-step;
}

.cmg-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.cmg-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 28px;
  font-size: 1.25rem;
  color: var(--ax-brand);
  font-weight: 700;
}

.cmg-step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--ax-brand);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.cmg-section--dark .cmg-step__num {
  background: var(--ax-brand);
}

.cmg-step h3 {
  font-size: var(--ax-fs-step-title);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.cmg-step p {
  font-size: var(--ax-fs-step-body);
  color: var(--cmg-muted);
  margin: 0;
  line-height: 1.5;
}

.cmg-section--dark .cmg-step p {
  color: rgba(255, 255, 255, 0.6);
}

.cmg-certs-block {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cmg-certs__title {
  text-align: center;
  font-size: var(--ax-fs-tag);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 32px;
}

.cmg-certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
}

.cmg-certs__item {
  text-align: center;
}

.cmg-certs__item img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  min-height: 150px;
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.cmg-certs__item span {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ?? FAQ single column ?? */
.cmg-faq-list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cmg-faq {
  border-bottom: 1px solid var(--cmg-line);
  background: transparent;
}

.cmg-faq:first-child {
  border-top: 1px solid var(--cmg-line);
}

.cmg-faq summary {
  padding: 22px 0;
  font-weight: 600;
  font-size: var(--ax-fs-faq);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cmg-faq summary::-webkit-details-marker {
  display: none;
}

.cmg-faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--ax-brand);
  flex-shrink: 0;
  font-weight: 400;
  line-height: 1;
}

.cmg-faq[open] summary::after {
  content: '−';
}

.cmg-faq__answer {
  padding: 0 0 22px;

  font-size: var(--ax-fs-faq-answer);
  line-height: 1.65;
}

.cmg-faq__answer p {
  font-size: 1rem;
  color: var(--cmg-muted);
  margin: 0;
  line-height: 1.65;
}

/* Contact form extras */
.cmg-contact-intro {
  text-align: center;
  color: var(--cmg-muted);
  max-width: 560px;
  margin: -16px auto 32px;
  font-size: var(--ax-fs-contact-intro);
}

.cmg-form-privacy {
  font-size: 0.9375rem;
  color: var(--cmg-muted);
  margin-top: 12px;
}

.cmg-form-privacy a {
  color: var(--ax-brand);
}

.cmg-form-email {
  text-align: center;
  margin-top: 12px;
}

.cmg-form-email a {
  color: var(--ax-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ?? Section nav: underline tabs ?? */
.cmg-section-nav {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 850;
  top: var(--cmg-header-offset, 148px);
  background: var(--cmg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  max-width: 100vw;
  overflow: hidden;
}

.cmg-section-nav.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cmg-section-nav__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: var(--cmg-wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.cmg-section-nav__track::-webkit-scrollbar {
  display: none;
}

.cmg-section-nav__track a {
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 14px 18px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.cmg-section-nav__track a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.cmg-section-nav__track a.is-active {
  color: #fff;
  border-bottom-color: var(--ax-brand);
}

.cmg-section-nav__track a.cmg-section-nav__cta {
  margin-left: auto;
  color: var(--ax-brand);
  border-bottom-color: transparent;
}

.cmg-section-nav__track a.cmg-section-nav__cta:hover,
.cmg-section-nav__track a.cmg-section-nav__cta.is-active {
  color: #fff;
  background: var(--ax-brand);
  border-bottom-color: var(--ax-brand);
}

/* Sticky CTA — removed on all viewports */
.cmg-sticky-cta {
  display: none !important;
}

.cmg-sticky-cta[hidden] {
  display: none !important;
}

.cmg-float-cta {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 900;
  padding: 16px 22px;
  background: var(--ax-brand);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--cmg-radius);
  box-shadow: 0 8px 32px rgba(251, 91, 33, 0.35);
  transition: background 0.2s, transform 0.15s;
}

.cmg-float-cta[hidden] {
  display: none !important;
}

.cmg-float-cta:hover {
  color: #fff;
  background: var(--ax-brand-dark);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .cmg-float-cta {
    display: none !important;
  }

  /* Sticky section tabs: cramped / clipped on small screens — desktop only */
  .cmg-section-nav {
    display: none !important;
  }
}

/* Contact form mobile */
@media (max-width: 768px) {
  .page-commercial-gym-solutions .contact-form .form-layout {
    flex-direction: column;
  }
  .page-commercial-gym-solutions .contact-form .form-left,
  .page-commercial-gym-solutions .contact-form .form-right {
    width: 100%;
    max-width: none;
  }
  .page-commercial-gym-solutions .contact-form .row-flex {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 10px;
  }

  .page-commercial-gym-solutions .contact-form .row-flex > .form-group {
    float: none !important;
    width: auto !important;
    margin-bottom: 16px;
  }

  .page-commercial-gym-solutions .contact-form .row-flex > .form-group:first-child {
    flex: 0 0 32% !important;
    max-width: 120px !important;
    min-width: 84px;
  }

  .page-commercial-gym-solutions .contact-form .row-flex > .form-group:last-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .page-commercial-gym-solutions .contact-form .row-flex input[type="text"],
  .page-commercial-gym-solutions .contact-form .row-flex input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
  }
  .page-commercial-gym-solutions .contact-form .form-group input,
  .page-commercial-gym-solutions .contact-form .form-group select,
  .page-commercial-gym-solutions .contact-form .form-group textarea {
    font-size: 16px;
  }
  .page-commercial-gym-solutions .contact-form button[type="submit"] {
    width: 100%;
  }
}

/* ?? Responsive ?? */
@media (max-width: 1024px) {
  .cmg-hero__slash {
    width: 35%;
    opacity: 0.75;
  }

  .cmg-hero__panel {
    padding-top: calc(var(--cmg-header-offset, 148px) + clamp(28px, 4vw, 40px));
    padding-bottom: 40px;
  }

  .cmg-hero__badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 32px;
    max-width: none;
  }

  .cmg-metrics__intro {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cmg-metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cmg-metrics__item:nth-child(2) {
    border-right: none;
  }

  .cmg-metrics__item:nth-child(1),
  .cmg-metrics__item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .cmg-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .cmg-matrix__cell:nth-child(2) {
    border-right: none;
  }

  .cmg-matrix__cell:nth-child(1),
  .cmg-matrix__cell:nth-child(2) {
    border-bottom: 1px solid var(--cmg-line);
  }

  .cmg-pain-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .cmg-pain-item,
  .cmg-pain-item > img {
    min-height: 168px;
    max-height: 180px;
  }

  .cmg-editorial {
    grid-template-columns: 1fr;
  }

  .cmg-editorial__visual {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .cmg-editorial__visual img {
    position: absolute;
    inset: 0;
  }

  .cmg-vs {
    grid-template-columns: 1fr;
  }

  .cmg-vs__divider {
    writing-mode: horizontal-tb;
    transform: none;
    width: 100%;
    height: 48px;
    padding: 12px;
  }

  .cmg-dual {
    grid-template-columns: 1fr;
  }

  .cmg-gallery {
    grid-template-columns: 1fr;
  }

  .cmg-roi__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cmg-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .cmg-step:not(:last-child)::after {
    display: none;
  }

  .cmg-certs {
    grid-template-columns: repeat(2, 1fr);
  }

  .cmg-tier {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .cmg-tiers {
    padding-left: 0;
  }

  .cmg-tiers::before {
    display: none;
  }

  .cmg-tier__dot {
    position: static;
    margin-bottom: 12px;
  }

  .cmg-tier__img {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .cmg-section-nav__track a.cmg-section-nav__cta {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .cmg-hero__title {
    font-size: var(--ax-fs-hero-title-mobile);
    max-width: none;
  }

  .cmg-hero__slash {
    display: none;
  }

  .cmg-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cmg-hero__panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cmg-metrics__intro {
    max-width: 100%;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .cmg-metrics__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cmg-metrics__item {
    padding: 20px 12px;
    min-width: 0;
  }

  .cmg-metrics__label {
    max-width: none;
    letter-spacing: 0.04em;
  }

  .cmg-matrix,
  .cmg-roi__grid,
  .cmg-steps {
    grid-template-columns: 1fr;
  }

  .cmg-pain-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cmg-pain-item,
  .cmg-pain-item > img {
    min-height: 148px;
    max-height: 160px;
  }

  .cmg-pain-item__overlay {
    padding: 12px 10px 10px;
  }

  .cmg-pain-item h3 {
    font-size: 0.9rem;
  }

  .cmg-pain-item__overlay > p:not(.cmg-pain-item__idx) {
    font-size: 0.8125rem;
  }

  .cmg-matrix__cell {
    border-right: none;
    border-bottom: 1px solid var(--cmg-line);
  }

  .cmg-matrix__cell:last-child {
    border-bottom: none;
  }

  .cmg-certs {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  .cmg-certs__item img {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    padding: 8px;
  }

  .cmg-certs__item span {
    font-size: var(--ax-fs-tag);
  }

  .cmg-metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cmg-metrics__item {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .cmg-metrics__item:nth-child(2n) {
    border-right: none;
  }

  .cmg-metrics__item:nth-child(n + 3) {
    border-bottom: none;
  }

  .cmg-hero__actions {
    flex-direction: column;
  }

  .cmg-hero__actions .cmg-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.page-commercial-gym-solutions) {
    scroll-behavior: auto;
  }
  .cmg-gallery__item:hover img,
  .cmg-pain-item:hover > img {
    transform: none;
  }
}


/* ========================================
   Theme override layer (loads last)
   Fixes style.css / aoxiang-base conflicts
   ======================================== */
body.page-commercial-gym-solutions .commercial-gym,
body.page-commercial-gym-solutions .commercial-gym :where(h1, h2, h3, h4, p, li, span, a, button, summary, label) {
  font-family: var(--cmg-font);
}

body.page-commercial-gym-solutions .commercial-gym a {
  display: revert;
}

body.page-commercial-gym-solutions .commercial-gym .cmg-title {
  color: var(--cmg-ink);
}

/* Hero: force light text (do NOT inherit .commercial-gym ink) */
body.page-commercial-gym-solutions .commercial-gym .cmg-hero__title {
  color: #fff;
}

body.page-commercial-gym-solutions .commercial-gym .cmg-hero__title em {
  color: var(--ax-brand);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-hero__tag {
  color: rgba(255, 255, 255, 0.55);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-hero__desc {
  color: rgba(255, 255, 255, 0.78);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-hero__badge strong {
  color: #fff;
}

body.page-commercial-gym-solutions .commercial-gym .cmg-hero__badge span {
  color: rgba(255, 255, 255, 0.65);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-section--dark .cmg-title {
  color: #fff;
}

body.page-commercial-gym-solutions .commercial-gym .cmg-section--dark .cmg-lead {
  color: rgba(255, 255, 255, 0.68);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-gallery__overlay h3,
body.page-commercial-gym-solutions .commercial-gym .cmg-gallery__overlay p,
body.page-commercial-gym-solutions .commercial-gym .cmg-pain-item__overlay h3,
body.page-commercial-gym-solutions .commercial-gym .cmg-pain-item__overlay p {
  color: #fff;
}

body.page-commercial-gym-solutions .commercial-gym .cmg-pain-item__overlay > p:not(.cmg-pain-item__idx) {
  color: rgba(255, 255, 255, 0.82);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-metrics__intro {
  color: rgba(255, 255, 255, 0.88);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-metrics__intro strong,
body.page-commercial-gym-solutions .commercial-gym .cmg-metrics__num,
body.page-commercial-gym-solutions .commercial-gym .cmg-metrics__label {
  color: #fff;
}

body.page-commercial-gym-solutions .commercial-gym .cmg-metrics__label {
  color: rgba(255, 255, 255, 0.78);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-roi__item strong {
  color: var(--ax-brand);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-roi__item span,
body.page-commercial-gym-solutions .commercial-gym .cmg-step h3,
body.page-commercial-gym-solutions .commercial-gym .cmg-certs__title {
  color: #fff;
}

body.page-commercial-gym-solutions .commercial-gym .cmg-step p,
body.page-commercial-gym-solutions .commercial-gym .cmg-certs__item span {
  color: rgba(255, 255, 255, 0.78);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-vs__col--win,
body.page-commercial-gym-solutions .commercial-gym .cmg-vs__col--win h3 {
  color: #fff;
}

body.page-commercial-gym-solutions .commercial-gym .cmg-vs__col--win li {
  color: rgba(255, 255, 255, 0.78);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-btn--primary,
body.page-commercial-gym-solutions .commercial-gym .cmg-btn--primary:hover,
body.page-commercial-gym-solutions .commercial-gym .cmg-btn--ghost,
body.page-commercial-gym-solutions .commercial-gym .cmg-btn--ghost:hover,
body.page-commercial-gym-solutions .commercial-gym .cmg-float-cta,
body.page-commercial-gym-solutions .commercial-gym .cmg-float-cta:hover {
  color: #fff;
}

/* Contact focus → brand (override shared purple) */
body.page-commercial-gym-solutions .contact-form input[type="text"]:focus,
body.page-commercial-gym-solutions .contact-form input[type="email"]:focus,
body.page-commercial-gym-solutions .contact-form input[type="tel"]:focus,
body.page-commercial-gym-solutions .contact-form select:focus,
body.page-commercial-gym-solutions .contact-form textarea:focus {
  border-color: var(--ax-brand);
  box-shadow: 0 0 0 2px rgba(251, 91, 33, 0.15);
}

/* Mobile type — closer to gym-solutions / hotel-gym (those pages shrink titles below 768px) */
@media (max-width: 768px) {
  body.page-commercial-gym-solutions .commercial-gym {
    --ax-fs-title: 1.5rem;
    --ax-fs-lead: 0.9375rem;
    --ax-fs-hero-title-mobile: clamp(1.55rem, 6vw, 1.9rem);
    --ax-fs-hero-desc: 0.9rem;
    --ax-fs-metric: 1.35rem;
    --ax-fs-metric-label: 0.7rem;
    --ax-fs-faq: 0.98rem;
    --ax-fs-faq-answer: 0.9rem;
    --ax-fs-btn: 0.875rem;
    --ax-fs-contact-intro: 0.9375rem;
    --ax-fs-step-title: 1rem;
    --ax-fs-step-body: 0.875rem;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-hero__title {
    font-size: var(--ax-fs-hero-title-mobile);
    line-height: 1.08;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-hero__desc,
  body.page-commercial-gym-solutions .commercial-gym .cmg-metrics__intro,
  body.page-commercial-gym-solutions .commercial-gym .cmg-lead,
  body.page-commercial-gym-solutions .commercial-gym .cmg-matrix__cell p,
  body.page-commercial-gym-solutions .commercial-gym .cmg-editorial__block p,
  body.page-commercial-gym-solutions .commercial-gym .cmg-vs__col li,
  body.page-commercial-gym-solutions .commercial-gym .cmg-tier__body p,
  body.page-commercial-gym-solutions .commercial-gym .cmg-dual__row,
  body.page-commercial-gym-solutions .commercial-gym .cmg-gallery__overlay p {
    font-size: 0.9rem;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-editorial__block h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-vs__col h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-dual__panel h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-tier__body h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-gallery__overlay h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-matrix__cell h3,
  body.page-commercial-gym-solutions .contact-title {
    font-size: 1.15rem;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-tier__size strong,
  body.page-commercial-gym-solutions .commercial-gym .cmg-roi__item strong,
  body.page-commercial-gym-solutions .commercial-gym .cmg-hero__badge strong {
    font-size: 1.25rem;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-section {
    padding: 28px 0 12px;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-section-head {
    margin-bottom: 20px;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-editorial__block {
    padding: 20px 0;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-title,
  body.page-commercial-gym-solutions .commercial-gym .cmg-editorial__block h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-matrix__cell h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-vs__col h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-dual__panel h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-tier__body h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-gallery__overlay h3,
  body.page-commercial-gym-solutions .commercial-gym .cmg-step h3 {
    line-height: 1.2;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-hero__title {
    line-height: 1.02;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-hero__title em {
    line-height: 1.25;
    margin-top: 8px;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-lead,
  body.page-commercial-gym-solutions .commercial-gym .cmg-hero__desc,
  body.page-commercial-gym-solutions .commercial-gym .cmg-metrics__intro,
  body.page-commercial-gym-solutions .commercial-gym .cmg-editorial__block p,
  body.page-commercial-gym-solutions .commercial-gym .cmg-matrix__cell p,
  body.page-commercial-gym-solutions .commercial-gym .cmg-vs__col li,
  body.page-commercial-gym-solutions .commercial-gym .cmg-tier__body p,
  body.page-commercial-gym-solutions .commercial-gym .cmg-dual__row,
  body.page-commercial-gym-solutions .commercial-gym .cmg-gallery__overlay p,
  body.page-commercial-gym-solutions .commercial-gym .cmg-step p,
  body.page-commercial-gym-solutions .commercial-gym .cmg-faq summary,
  body.page-commercial-gym-solutions .commercial-gym .cmg-faq__answer,
  body.page-commercial-gym-solutions .commercial-gym .cmg-faq__answer p {
    line-height: 1.45;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-hero {
    min-height: 0;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-hero__panel {
    min-height: 0;
    padding-top: calc(var(--cmg-header-offset, 120px) + 16px);
    padding-bottom: 20px;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-pain-item,
  body.page-commercial-gym-solutions .commercial-gym .cmg-pain-item > img {
    min-height: 0;
    height: 128px;
    max-height: 128px;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-editorial__visual {
    aspect-ratio: 16 / 9;
    max-height: 190px;
    height: 190px;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-tier__img {
    width: 100%;
    height: 132px;
    max-height: 132px;
    aspect-ratio: auto;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-gallery__item,
  body.page-commercial-gym-solutions .commercial-gym .cmg-gallery__item img {
    min-height: 0;
    height: 200px;
    max-height: 200px;
  }

  body.page-commercial-gym-solutions .commercial-gym .cmg-certs__item img {
    aspect-ratio: auto;
    width: auto;
    max-width: 120px;
    min-height: 0;
    max-height: 150px;
    height: auto;
  }
}

body.page-commercial-gym-solutions .commercial-gym .cmg-faq summary {
  color: var(--cmg-ink);
}

body.page-commercial-gym-solutions .commercial-gym .cmg-form-privacy a,
body.page-commercial-gym-solutions .commercial-gym .cmg-form-email a {
  color: var(--ax-brand);
}

