/* MUTGYM home: one responsive layout from phones to wide screens. */
.main-page-container { width: min(1200px, calc(100% - 48px)); margin: 32px auto 72px; }
.main-content-area { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.search-section { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); min-height: 460px; overflow: hidden; border-radius: 24px; background: #f3eeea; color: #341e25; }
.hero-copy { padding: clamp(28px, 4vw, 56px); position: relative; z-index: 1; }
.hero-eyebrow { margin: 0 0 24px; color: #8f2637; font: 700 11px/1.5 ns-b, sans-serif; letter-spacing: .15em; }
.hero-copy h1 { margin: 0; color: #341e25; font: 800 clamp(30px, 3.7vw, 48px)/1.25 ns-b, sans-serif; letter-spacing: -.065em; word-break: keep-all; }
.hero-description { margin: 20px 0 26px; color: #68595d; font-size: 15px; }
.mobile-break { display: none; }
.search-form { width: 100%; }
.search-label { display: block; margin-bottom: 9px; font-size: 12px; }
.search-input-group { display: flex; gap: 6px; padding: 6px; border: 1px solid #e0d4d5; border-radius: 12px; background: #fff; }
.search-input-group .location-input { width: 100%; min-width: 0; flex: 1; border: 0 !important; background: transparent; }
.search-input-group .search-button { flex: none; min-height: 48px; padding: 10px 16px; background: #8f2637; color: white; white-space: nowrap; }
.search-button span { margin-left: 10px; }
.hero-browse { display: inline-flex; min-height: 44px; align-items: center; gap: 18px; margin-top: 12px; font-size: 12px; color: #68595d; }
.hero-art { position: relative; overflow: hidden; min-height: 100%; background: #582030; color: #f6ece7; }
.hero-art::after { content: ''; position: absolute; width: 450px; height: 450px; border: 1px solid #a06b77; border-radius: 50%; left: -70px; top: 190px; }
.hero-art-label { position: absolute; top: 38px; left: 34px; font: 800 28px/1.1 ns-black, sans-serif; letter-spacing: -.04em; }
.hero-art-caption { position: absolute; bottom: 24px; left: 34px; font-size: 9px; letter-spacing: .16em; }
.weight { position: absolute; width: 260px; height: 260px; border: 24px solid #d7bba7; border-radius: 50%; box-shadow: inset 0 0 0 4px #9f7c69, 14px 18px 0 #35111e; transform: rotate(-28deg) skew(-6deg); }
.weight-back { top: 110px; left: 24%; border-color: #a36b68; }
.weight-front { top: 178px; left: 4%; display: grid; place-items: center; background: #4b1a2b; }
.weight-front span { font: 900 78px/1 ns-black, sans-serif; color: #d7bba7; }
.home-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding: 0 0 28px; gap: 24px; }
.home-shortcuts > a { display: flex; align-items: center; gap: 16px; padding: 10px 4px; font-family: ns-b, sans-serif; }
.home-shortcuts > a > span:last-child { margin-left: auto; color: var(--brand-700); }
.shortcut-index { display: grid; place-items: center; flex: none; width: 42px; height: 42px; background: #f3eeea; border-radius: 12px; color: var(--brand-700); font-size: 12px; }
.home-shortcuts small { display: block; color: #737078; font: 12px/1.7 ns-r, sans-serif; }
.gym-listings-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.hot-posts-section, .new-gyms-section { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.04em; color: #341e25; }
.section-heading > a { flex: none; display: inline-flex; align-items: center; min-height: 44px; color: #726169; font-size: 12px; }
.section-eyebrow { margin: 0 0 5px; color: #8f2637; font-size: 10px; letter-spacing: .12em; }
.gym-listings-overview ul { list-style: none; padding: 0; margin: 0; }
.gym-listings-overview li { border-top: 1px solid #f0ecee; }
.gym-listings-overview li a { display: block; padding: 14px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.gym-listings-overview li small { color: #7b7478; }
.list-number { display: inline-block; width: 32px; color: #9a6c76; font-size: 12px; }
.home-empty { padding: 32px 12px; color: #726169; font-size: 14px; line-height: 1.9; }
.gym-empty { width: 100%; text-align: center; border: 1px dashed #d9c8cc; border-radius: 14px; }
.gym-empty a { display: inline-block; padding: 12px; color: #8f2637; }
.nearby-gyms-section { min-width: 0; }
.gym-carousel-wrapper { display: flex; align-items: center; gap: 12px; }
.gym-cards-outer-container { flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px 2px 16px; }
.gym-cards-inner-container { display: flex; gap: 20px; }
.nearby-gyms-section .gym-card { display: block; flex: 0 0 calc((100% - 40px)/3); min-width: 0; overflow: hidden; scroll-snap-align: start; color: inherit; }
.gym-card-image { aspect-ratio: 4/3; overflow: hidden; background: #eee8e3; }
.gym-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gym-card-info { padding: 18px; }
.gym-card-info h3 { margin: 0 0 7px; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gym-card-info p { margin: 0; color: #737078; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carousel-arrow { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid #dfd5d7; border-radius: 50%; background: white; color: #582030; }
.carousel-arrow:hover { color: white; }
@media (max-width: 1000px) {
  .hero-copy { padding: 32px; }
  .search-section { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .weight { width: 210px; height: 210px; }
  .weight-front { left: 0; }
  .hero-art-label { left: 22px; font-size: 22px; }
  .gym-listings-overview { gap: 20px; }
  .nearby-gyms-section .gym-card { flex-basis: calc((100% - 20px)/2); }
}
@media (max-width: 640px) {
  .main-page-container { width: calc(100% - 32px); margin: 16px auto 40px; }
  .main-content-area { gap: 24px; }
  .search-section { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 18px; }
  .hero-copy { padding: 30px 22px 22px; }
  .hero-copy h1 { font-size: clamp(29px, 7.4vw, 40px); }
  .hero-eyebrow { margin-bottom: 18px; font-size: 9px; }
  .hero-description { font-size: 14px; margin: 18px 0 22px; }
  .mobile-break { display: initial; }
  .search-input-group { flex-wrap: wrap; }
  .search-input-group .location-input { flex-basis: 100%; min-height: 48px; padding: 10px; }
  .search-input-group .search-button { width: 100%; }
  .hero-art { display: none; }
  .home-shortcuts { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 18px; }
  .home-shortcuts > a { padding: 10px 0; }
  .gym-listings-overview { grid-template-columns: minmax(0, 1fr); }
  .hot-posts-section, .new-gyms-section { padding: 18px; }
  .section-heading h2 { font-size: 18px; }
  .gym-carousel-wrapper { flex-wrap: wrap; justify-content: flex-end; }
  .gym-cards-outer-container { order: 0; flex: 0 0 100%; }
  .carousel-arrow { order: 1; }
  .nearby-gyms-section .gym-card { flex-basis: 85%; }
}
