/* ============================================================
   The Way Events JP — conversion + visual overrides
   Primary goal: LINE consultation click
   ============================================================ */

:root {
  --tw-line: #06C755;
  --tw-line-dark: #05a849;
  --tw-ink: #1a1f2e;
  --tw-muted: #6b7280;
  --tw-bg: #f4f6f8;
  --tw-card: #ffffff;
  --tw-accent: #1D9E8C;
  --tw-radius: 14px;
  --sticky-cta-height: 72px;
  --tw-content-max: 480px;
  --color-primary: #2BBFBF;
  --color-accent: #1D9E8C;
}

/* Kill Avada chrome on events views */
body.theway-events-view .fusion-header,
body.theway-events-view .fusion-tb-header,
body.theway-events-view .fusion-footer,
body.theway-events-view .fusion-tb-footer,
body.theway-events-view #side-header,
body.theway-events-view .avada-page-titlebar-wrapper,
body.theway-events-view .fusion-page-title-bar,
body.theway-events-view .to-top-container,
body.theway-events-view #toTop,
body.theway-events-view .fusion-sliding-bar-position-bottom {
  display: none !important;
}

body.theway-events-view,
body.theway-events-view #wrapper,
body.theway-events-view #main,
body.theway-events-view .fusion-row {
  background: var(--tw-bg) !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.theway-events-view {
  /* Kill main.css fixed-header clearance — header is sticky/in-flow here */
  --header-height: 0px;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif !important;
  color: var(--tw-ink);
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: calc(var(--sticky-cta-height) + env(safe-area-inset-bottom)) !important;
}

body.theway-events-view #wrapper,
body.theway-events-view #main,
body.theway-events-view .site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Single content column — header/main/footer share #page.site width */
body.theway-events-view #page.site {
  max-width: var(--tw-content-max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: var(--tw-card);
  min-height: 60vh;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}

body.theway-events-view .site-main {
  max-width: 100%;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

/* Header — clean, logo + LINE only (inside .site column) */
body.theway-events-view .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eef1f4;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  max-width: 100%;
  width: 100%;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
}

body.theway-events-view .header-inner {
  height: 56px;
  padding: 0 14px;
  justify-content: space-between;
}

body.theway-events-view .header-logo {
  position: static;
  transform: none;
  left: auto;
}

body.theway-events-view .header-logo img.custom-logo {
  height: 32px !important;
  width: auto !important;
  max-width: 160px;
}

body.theway-events-view .category-nav { display: none !important; }

body.theway-events-view .header-actions {
  margin-left: auto;
}

/* LINE buttons */
.tw-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tw-line);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 10px 16px;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.tw-line-btn:hover,
.tw-line-btn:focus {
  background: var(--tw-line-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.4);
  color: #fff !important;
}
.tw-line-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.tw-line-btn__label { font-size: 14px; letter-spacing: 0.02em; }
.tw-line-btn__sub { font-size: 10px; font-weight: 500; opacity: 0.92; }

.tw-line-btn--header {
  padding: 8px 12px;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(6, 199, 85, 0.28);
}
.tw-line-btn--header .tw-line-btn__label { font-size: 13px; }

.tw-line-btn--block {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  gap: 12px;
}
.tw-line-btn--block .tw-line-btn__label { font-size: 16px; }
.tw-line-btn--block .tw-line-btn__sub { font-size: 11px; }

.tw-line-btn--sticky {
  width: 100%;
  height: 100%;
  border-radius: 0;
  padding: 12px 16px;
  gap: 10px;
  box-shadow: none;
}
.tw-line-btn--sticky .tw-line-btn__label { font-size: 16px; }
.tw-line-btn--sticky .tw-line-btn__sub { font-size: 11px; font-weight: 500; }

/* Sticky conversion bar — single dominant LINE CTA */
body.theway-events-view .sticky-cta {
  display: flex !important;
  background: var(--tw-line);
  border-top: none;
  box-shadow: 0 -8px 28px rgba(0,0,0,0.12);
  /* Override main.css left+right:0 fixed bar — that shrinks width to ~50vw and mis-centers on PC */
  right: auto;
  width: 100%;
  max-width: var(--tw-content-max);
  left: 50%;
  transform: translateX(-50%);
  height: calc(var(--sticky-cta-height) + env(safe-area-inset-bottom));
  padding: 0 12px env(safe-area-inset-bottom);
  box-sizing: border-box;
  z-index: 300;
}
body.theway-events-view .sticky-cta .tw-line-btn--sticky {
  width: 100%;
  max-width: none;
  border-radius: 12px 12px 0 0;
}
body.theway-events-view .sticky-cta__btn--call,
body.theway-events-view .sticky-cta__btn--kakao,
body.theway-events-view .sticky-cta__btn--form {
  display: none !important;
}

/* Legacy KR top-search-bar — not used on JP archive (site-header only) */
body.theway-events-view .top-search-bar {
  display: none !important;
}

/* LINE reservation coupon — fills header → category gap (archive only) */
body.theway-events-view .tw-line-coupon {
  --tw-coupon-edge: #d7e8df;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 10px 14px 10px 12px;
  box-sizing: border-box;
  text-decoration: none !important;
  color: var(--tw-ink) !important;
  background:
    linear-gradient(90deg, rgba(6, 199, 85, 0.07) 0%, rgba(29, 158, 140, 0.05) 48%, rgba(6, 199, 85, 0.08) 100%),
    #fff;
  border-top: 1px dashed var(--tw-coupon-edge);
  border-bottom: 1px dashed var(--tw-coupon-edge);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}
body.theway-events-view .tw-line-coupon:hover,
body.theway-events-view .tw-line-coupon:focus-visible {
  background:
    linear-gradient(90deg, rgba(6, 199, 85, 0.12) 0%, rgba(29, 158, 140, 0.08) 48%, rgba(6, 199, 85, 0.13) 100%),
    #fff;
  outline: none;
}
body.theway-events-view .tw-line-coupon:active {
  transform: scale(0.997);
}
body.theway-events-view .tw-line-coupon__notch {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tw-card);
  transform: translateY(-50%);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
body.theway-events-view .tw-line-coupon__notch--left {
  left: -6px;
}
body.theway-events-view .tw-line-coupon__notch--right {
  right: -6px;
}
body.theway-events-view .tw-line-coupon__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--tw-line);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}
body.theway-events-view .tw-line-coupon__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.theway-events-view .tw-line-coupon__msg {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--tw-ink);
}
body.theway-events-view .tw-line-coupon__price {
  font-style: normal;
  color: var(--tw-accent);
  font-weight: 800;
  white-space: nowrap;
}
body.theway-events-view .tw-line-coupon__sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--tw-muted);
  line-height: 1.2;
}
body.theway-events-view .tw-line-coupon__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tw-line);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.28);
  white-space: nowrap;
}
body.theway-events-view .tw-line-coupon__cta .line-icon {
  flex-shrink: 0;
}
body.theway-events-view .tw-line-coupon__cta-label {
  line-height: 1;
}

@media (max-width: 379px) {
  body.theway-events-view .tw-line-coupon {
    gap: 8px;
    padding: 9px 12px 9px 10px;
  }
  body.theway-events-view .tw-line-coupon__msg {
    font-size: 11.5px;
  }
  body.theway-events-view .tw-line-coupon__cta-label {
    display: none;
  }
  body.theway-events-view .tw-line-coupon__cta {
    padding: 7px;
  }
}

@media (min-width: 768px) {
  body.theway-events-view .tw-line-coupon {
    gap: 14px;
    padding: 12px 20px 12px 18px;
  }
  body.theway-events-view .tw-line-coupon__badge {
    padding: 5px 9px;
    font-size: 11px;
  }
  body.theway-events-view .tw-line-coupon__msg {
    font-size: 14px;
  }
  body.theway-events-view .tw-line-coupon__sub {
    font-size: 11px;
  }
  body.theway-events-view .tw-line-coupon__cta {
    padding: 8px 14px;
    font-size: 12px;
    gap: 6px;
  }
}

/* Tabs polish */
body.theway-events-view .main-category-tabs {
  position: sticky;
  top: 56px;
  z-index: 90;
  background: #fff;
  max-width: 100%;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid #e8edf2;
}
body.theway-events-view .main-cat-btn {
  font-size: 14px;
  padding: 12px 0;
}
body.theway-events-view .main-cat-btn--active {
  color: var(--tw-accent);
  border-bottom-color: var(--tw-accent);
}

body.theway-events-view .category-tabs {
  top: 104px;
  background: #fff;
  max-width: 100%;
  width: 100%;
  margin: 0;
}

/* Hero + cards */
body.theway-events-view .hero-banner {
  max-width: 100%;
  margin: 0;
  background: #fff;
}

/*
 * main.css sets .hero-banner__img-wrap and .hero-banner .swiper-slide img to 1:1.
 * A 1:1 img in flow expands the Swiper slide (fade) far below the visible crop — huge white gap.
 * JP: ratio on the wrap only; img is absolute so slide height = wrap height.
 */
body.theway-events-view .hero-banner .hero-banner__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  min-height: 0;
  background: #f0f0f0;
}
body.theway-events-view .hero-banner .hero-banner__img-wrap img,
body.theway-events-view .hero-banner .swiper-slide img {
  aspect-ratio: unset !important;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* Admin promo hero: landscape 16:9 (design spec 1120×630), full column width */
body.theway-events-view .hero-banner--promo .hero-banner__slide-link {
  display: block;
  width: 100%;
}
body.theway-events-view .hero-banner--promo .hero-banner__img-wrap {
  aspect-ratio: 16 / 9 !important;
}
body.theway-events-view .hero-banner.swiper,
body.theway-events-view .hero-banner .swiper-wrapper,
body.theway-events-view .hero-banner .swiper-slide {
  height: auto !important;
  min-height: 0 !important;
}
body.theway-events-view .hero-banner .swiper-slide {
  display: block;
}
body.theway-events-view .hero-banner .hero-banner__slide-link {
  display: block;
}
body.theway-events-view .hero-banner__info {
  padding: 14px 16px 18px;
}
body.theway-events-view .hero-banner__rate {
  color: #e11d48;
  font-size: 18px;
}
body.theway-events-view .hero-banner__price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.theway-events-view .hero-banner__badge {
  background: #e11d48;
}

body.theway-events-view .events-section {
  max-width: 100%;
  width: 100%;
  margin: 0;
}

body.theway-events-view #events-grid,
body.theway-events-view .events-grid.events-grid--2col,
body.theway-events-view .events-grid--2col {
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  gap: 1px;
  background: #e8edf2;
  box-sizing: border-box;
}
body.theway-events-view .event-card__info {
  padding: 10px 10px 14px;
}
body.theway-events-view .event-card__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
  min-height: 2.9em;
}
body.theway-events-view .event-card__price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  margin-top: 8px;
}
body.theway-events-view .event-card__rate,
body.theway-events-view .event-card__discount-rate {
  color: #e11d48;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  order: 1;
}
body.theway-events-view .event-card__price,
body.theway-events-view .event-card__discount-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--tw-ink);
  letter-spacing: -0.4px;
  order: 2;
}
body.theway-events-view .event-card__original,
body.theway-events-view .event-card__original-price {
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
  order: 3;
  margin-left: 2px;
}
body.theway-events-view .event-card__tags {
  margin-top: 6px;
}
body.theway-events-view .event-card__tag {
  font-size: 10px;
  color: #7b8794;
  background: #f3f5f7;
  padding: 2px 6px;
  border-radius: 4px;
}
/* Per-card LINE CTA with event-name prefill */
body.theway-events-view .event-card__line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  box-sizing: border-box;
  background: var(--tw-line);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  border-radius: 0 0 var(--tw-radius) var(--tw-radius);
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}
body.theway-events-view .event-card__line-btn:hover,
body.theway-events-view .event-card__line-btn:focus-visible {
  background: var(--tw-line-dark);
  color: #fff !important;
}
body.theway-events-view .event-card__line-btn .line-icon {
  flex-shrink: 0;
}
body.theway-events-view .event-card-wrap.event-card,
body.theway-events-view article.event-card {
  overflow: hidden;
  border-radius: var(--tw-radius);
}
body.theway-events-view .event-card__link {
  display: block;
}

body.theway-events-view .event-card__kakao-btn,
body.theway-events-view .header-btn--kakao,
body.theway-events-view .header-btn--call,
body.theway-events-view .top-action-btn--call,
body.theway-events-view .top-action-btn--kakao,
body.theway-events-view .sticky-cta__btn--call,
body.theway-events-view .sticky-cta__btn--kakao,
body.theway-events-view .sticky-cta__btn--form,
body.theway-events-view .clinic-cta-btn--kakao,
body.theway-events-view .clinic-cta-btn--call,
body.theway-events-view .clinic-cta-btn--naver,
body.theway-events-view .clinic-btn--kakao,
body.theway-events-view .clinic-btn--call {
  display: none !important;
}

/* Kill site-wide popups / sliding bars / MBM banner on /events */
body.theway-events-view .pum-overlay,
body.theway-events-view .pum-container,
body.theway-events-view .popmake,
body.theway-events-view [class*="popmake"],
body.theway-events-view .fusion-sliding-bar,
body.theway-events-view .fusion-sliding-bar-position-bottom,
body.theway-events-view .fusion-sliding-bar-position-right,
body.theway-events-view .to-top-container,
body.theway-events-view #toTop,
body.theway-events-view .mbm-line-banner-wrap,
body.theway-events-view #mbm-line-banner-wrap,
body.theway-events-view .mbm-mo-open-btn,
body.theway-events-view #mbm-mo-open-btn,
body.theway-events-view .mbm-view-pc,
body.theway-events-view .mbm-view-mo,
body.theway-events-view .mbm-mo-img-box,
body.theway-events-view .mbm-mo-btn-box,
body.theway-events-view .mbm-mo-close-btn,
body.theway-events-view a.mbm-view-pc,
body.theway-events-view [id*="mbm-line"],
body.theway-events-view [class*="mbm-line-banner"],
body.theway-events-view [class*="mbm-mo-open"],
body.theway-events-view [class*="mbm-view-"],
body.theway-events-view [class*="mbm-mo-"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  z-index: -1 !important;
}

/* Slogan banner */
body.theway-events-view .slogan-banner--image {
  max-width: 100%;
  margin: 0;
  background: #fff;
  border-top: 8px solid #f4f6f8;
  border-bottom: 8px solid #f4f6f8;
}
body.theway-events-view .slogan-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Reviews polish */
body.theway-events-view .event-card__rating-badge {
  background: rgba(0, 0, 0, 0.72);
}
body.theway-events-view .ba-swiper-prev,
body.theway-events-view .ba-swiper-next {
  background: rgba(255, 255, 255, 0.96);
  color: #1a1a1a;
}

body.theway-events-view .reviews-section {
  padding: 24px 16px 32px;
  background: #fff;
  border-top: 8px solid #f4f6f8;
}
body.theway-events-view .reviews-write-btn,
body.theway-events-view .review-form__submit {
  background: var(--tw-line);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
}

body.theway-events-view .reviews-header {
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
body.theway-events-view .reviews-title {
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--tw-ink);
  margin-bottom: 6px;
}
body.theway-events-view .reviews-rating-num {
  color: var(--tw-ink);
}
body.theway-events-view .reviews-rating-total {
  color: var(--tw-muted);
  font-size: 13px;
}
body.theway-events-view .stars--lg .star {
  font-size: 22px;
}
body.theway-events-view .stars--sm .star {
  font-size: 14px;
}

body.theway-events-view .reviews-empty {
  margin: 8px 12px 0;
  padding: 36px 20px 32px;
  background: #f8fafb;
  border: 1px dashed #d8dee6;
  border-radius: 16px;
}
body.theway-events-view .reviews-empty__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tw-ink);
  line-height: 1.65;
  margin: 0 0 10px;
}
body.theway-events-view .reviews-empty__hint {
  font-size: 13px;
  line-height: 1.7;
  color: var(--tw-muted);
  margin: 0;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

body.theway-events-view .review-form-wrap {
  margin: 0 12px 20px;
  border: 1px solid #eef1f4;
}
body.theway-events-view .review-form__input:focus,
body.theway-events-view .review-form__textarea:focus {
  border-color: var(--tw-accent);
  box-shadow: 0 0 0 3px rgba(29, 158, 140, 0.14);
}
body.theway-events-view .review-item__service,
body.theway-events-view .ba-card__service {
  color: var(--tw-accent);
  background: rgba(29, 158, 140, 0.1);
}
body.theway-events-view .review-item__content {
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.75;
  color: #374151;
}
body.theway-events-view .review-item {
  overflow: hidden;
}
body.theway-events-view .review-item__header {
  min-width: 0;
}
body.theway-events-view .review-item__meta {
  min-width: 0;
  flex: 1 1 auto;
}
body.theway-events-view .review-item__name {
  overflow-wrap: anywhere;
}
body.theway-events-view .ba-card__info {
  min-width: 0;
}
body.theway-events-view .ba-card__name,
body.theway-events-view .ba-card__service {
  overflow-wrap: anywhere;
}
body.theway-events-view .reviews-header {
  flex-wrap: wrap;
}
body.theway-events-view .reviews-header__left {
  min-width: 0;
  flex: 1 1 180px;
}
@media (max-width: 480px) {
  body.theway-events-view .review-item__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  body.theway-events-view .reviews-write-btn {
    width: 100%;
    text-align: center;
  }
  body.theway-events-view .ba-swiper-prev,
  body.theway-events-view .ba-swiper-next {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}
body.theway-events-view .review-form__row {
  grid-template-columns: 1fr;
}
@media (min-width: 400px) {
  body.theway-events-view .review-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

body.theway-events-view .ba-gallery-wrap {
  padding-bottom: 36px;
}
body.theway-events-view .ba-swiper-pagination {
  bottom: 4px !important;
}
body.theway-events-view .ba-swiper-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: #c5cdd6;
  opacity: 1;
}
body.theway-events-view .ba-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--tw-accent);
  transform: scale(1.15);
}
body.theway-events-view .ba-card__label--after {
  background: var(--tw-accent);
}

body.theway-events-view .event-card__rating-badge {
  padding: 5px 9px;
  font-size: 11px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Scroll-area LINE blocks removed — sticky bar handles conversion */
body.theway-events-view .tw-line-strip,
body.theway-events-view .tw-detail-line,
body.theway-events-view .clinic-intro__cta-row,
body.theway-events-view .clinic-info-box__btns {
  display: none !important;
}

/* Clinic intro — info only (no in-page LINE CTA) */
body.theway-events-view .clinic-intro-section {
  max-width: 100%;
  margin: 0;
  padding: 32px 20px 40px;
  border-top: 8px solid #f4f6f8;
  background: #fff;
}
body.theway-events-view .clinic-intro__header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef1f4;
}
body.theway-events-view .clinic-intro__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--tw-ink);
}
body.theway-events-view .clinic-intro__slogan {
  font-size: 14px;
  line-height: 1.65;
  color: var(--tw-muted);
  margin: 0;
}
body.theway-events-view .clinic-intro__info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.theway-events-view .clinic-intro__info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  padding: 0;
  border-bottom: none;
}
body.theway-events-view .clinic-intro__info-icon {
  flex-shrink: 0;
  font-size: 17px;
  line-height: 1.4;
}
body.theway-events-view .clinic-cta-btn--kakao,
body.theway-events-view .clinic-cta-btn--call,
body.theway-events-view .clinic-cta-btn--naver {
  display: none !important;
}

/* Detail page — seamless stacked landing (no gaps between images) */
body.theway-events-view .event-detail__landing {
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}
body.theway-events-view .event-detail__landing figure,
body.theway-events-view .event-detail__landing .wp-block-image {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
  font-size: 0;
}
body.theway-events-view .event-detail__landing img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
  border: 0;
}
body.theway-events-view .clinic-info-box {
  margin: 20px 16px 24px;
  padding: 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef1f4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
body.theway-events-view .clinic-info-box__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--tw-ink);
}
body.theway-events-view .clinic-info-box__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 10px;
}
body.theway-events-view .clinic-info-box__row:last-of-type {
  margin-bottom: 0;
}
body.theway-events-view .clinic-info-box__row svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--tw-accent);
}
body.theway-events-view .clinic-btn--kakao,
body.theway-events-view .clinic-btn--call,
body.theway-events-view .clinic-btn--naver {
  display: none !important;
}
/* Footer simplify */
body.theway-events-view .site-footer {
  max-width: 100%;
  margin: 0;
  background: #1a1f2e;
  color: rgba(255,255,255,0.78);
  padding: 28px 18px 24px;
}
body.theway-events-view .footer-clinic-name {
  color: #fff;
  font-weight: 800;
}
body.theway-events-view .footer-detail {
  color: rgba(255,255,255,0.65);
  font-size: 12px;
}
body.theway-events-view .footer-legal {
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  line-height: 1.55;
}
body.theway-events-view .footer-social__link--line,
body.theway-events-view .footer-social__link--kakao {
  background: var(--tw-line) !important;
  color: #fff !important;
}

/* Hide consultation modal path on JP (LINE is primary) */
body.theway-events-view .consultation-modal {
  display: none !important;
}

/* Sort bar */
body.theway-events-view .sort-bar {
  max-width: 100%;
  margin: 0;
  background: #fff;
}

@media (min-width: 481px) {
  body.theway-events-view {
    background: #e8ebef !important;
  }

  /* main.css pins KR chrome to 480px — JP column width comes from #page.site only */
  body.theway-events-view .top-search-bar__inner,
  body.theway-events-view .sort-bar,
  body.theway-events-view .events-section,
  body.theway-events-view #events-grid,
  body.theway-events-view .events-grid,
  body.theway-events-view .events-grid--2col,
  body.theway-events-view .clinic-intro-section,
  body.theway-events-view .hero-banner,
  body.theway-events-view .slogan-banner__inner,
  body.theway-events-view .slogan-banner--image {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Desktop: wider content column; sticky bar matches column width */
@media (min-width: 768px) {
  body.theway-events-view {
    --tw-content-max: 1040px;
  }

  body.theway-events-view #page.site {
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.08);
  }

  /* Cancel main.css fixed-header column borders (yellow/grey corner bars when misaligned) */
  body.theway-events-view .site-header {
    left: auto !important;
    transform: none !important;
    max-width: 100% !important;
    width: 100% !important;
    border-left: none !important;
    border-right: none !important;
  }

  body.theway-events-view .site-footer {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }

  body.theway-events-view #events-grid,
  body.theway-events-view .events-grid--2col {
    gap: 16px;
    background: transparent;
    padding: 8px 20px 28px;
    grid-template-columns: repeat(3, 1fr);
  }

  body.theway-events-view .events-empty {
    grid-column: 1 / -1;
  }

  body.theway-events-view .events-grid--2col .event-card {
    border-radius: var(--tw-radius);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  }

  body.theway-events-view .event-card__info {
    padding: 12px 12px 16px;
  }

  body.theway-events-view .event-card__title {
    font-size: 14px;
  }

  body.theway-events-view .hero-banner .hero-banner__img-wrap {
    aspect-ratio: 16 / 9;
  }
  body.theway-events-view .hero-banner--promo .hero-banner__img-wrap {
    aspect-ratio: 16 / 9 !important;
  }
}

@media (min-width: 1200px) {
  body.theway-events-view {
    --tw-content-max: min(92vw, 1120px);
  }

  body.theway-events-view #events-grid,
  body.theway-events-view .events-grid--2col {
    gap: 18px;
    padding: 8px 24px 32px;
  }
}
