/**
 * weekly-stay.css — 이번 주 스테이 · Luxury Editorial Magazine
 * SSOT: wooseok.md · craft.md · travel.md
 * 레퍼런스 톤: Kinfolk / Cereal — 큰 표지 · 넓은 여백 · 절제된 CTA · 타이포 계층
 */
@import url('../wh-tokens.css');
@import url('../wh-fonts.css');

#wehome-no-history-logo { display: none !important; }
#body footer:not(.sp-dt-footer) { display: none !important; }
.nav.clean { display: none !important; }

/* 공통 GNB 유지 · 모바일 하단바만 숨김 */
#r26StickyBar,
nav#bottom_nav {
  display: none !important;
}

/* 편집 툴바 — sticky page-nav 바로 아래 */
.ws-edit-bar {
  position: sticky;
  top: var(--wh-page-nav-h, 76px);
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  padding: 8px 16px;
}

.ws-edit-bar-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ws-edit-bar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ws-faint, #9a9a9a);
}

.ws-edit-bar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.ws-edit-btn {
  border: 0;
  background: transparent;
  color: var(--ws-mute, #6b6b6b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.ws-edit-btn:hover {
  color: var(--ws-ink, #1a1a1a);
  background: rgba(26, 26, 26, 0.04);
}

.ws-edit-btn--save {
  color: #fff;
  background: var(--ws-ink, #1a1a1a);
  margin-left: 4px;
  padding: 8px 14px;
}

.ws-edit-btn--save:hover {
  background: #000;
  color: #fff;
}

/* wh-page-nav-wrap margin-bottom:-76px 보정 — sticky nav 아래 issue strip 가림 방지 */
#content.ws-page {
  --ws-ink: #1a1a1a;
  --ws-mute: #6b6b6b;
  --ws-faint: #9a9a9a;
  --ws-line: rgba(26, 26, 26, 0.12);
  /* 감성 파일럿 2026-08-21 — 웜 오프화이트 캔버스 (wooseok.md §2 Canvas Editorial) */
  --ws-paper: var(--wh-bg-editorial, #F5F5F5);
  font-family: var(--wh-ff, 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  background: var(--ws-paper) !important;
  padding: var(--wh-page-nav-h, 76px) 0 calc(96px + env(safe-area-inset-bottom)) !important;
  min-height: 100vh;
  color: var(--ws-ink);
}

#content.ws-page a,
#content.ws-page a:hover,
#content.ws-page a:focus,
#content.ws-page a:active {
  text-decoration: none !important;
}

.ws-article {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 0 48px;
  background: #fff;
}

.ws-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ws-faint);
}

/* ── Issue strip ── */
.ws-issue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 24px 20px;
}

.ws-issue-series {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wh-brand, #681DC7);
}

.ws-issue-rule {
  width: 28px;
  height: 1px;
  background: var(--ws-line);
}

.ws-issue-week {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ws-faint);
}

/* ── Cover: full-bleed magazine plate ── */
.ws-cover {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e8e8e8;
}

.ws-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ── 표지 위 마스트헤드 + 가독용 scrim (2026-08-21 파일럿) ──────────────
   SSOT: wooseok.md §7 「가독용 scrim 경계 스펙」
   면: Editorial 풀블리드 표지 한 곳 (큐레이션 이미지) · 방향: to top 하단만
   범위: 33% (≤1/3) · 알파 하한: 텍스트 밴드에서 0.58 이상
   대비 실측(흰 글자): 순백 사진 최악 가정 0.58 → 5.33:1 · 0.66 → 7.23:1 (AA 통과)
   색 스톱은 2026-08-21에 `wehome.tokens.json`으로 승격 (`--wh-scrim-strong/soft/faint`).
   합성 그라디언트는 소비자가 이 페이지 하나뿐이라 여기에 둔다 — 두 번째 면이
   생기면 공용 컴포넌트로 올린다 (`governance.md` §6 recipe→core).            */
#content.ws-page {
  --wh-scrim-bottom: linear-gradient(
    to top,
    var(--wh-scrim-strong) 0%,
    var(--wh-scrim-soft) 78%,
    var(--wh-scrim-faint) 92%,
    transparent 100%
  );
}

/* `:has()`에 의존하지 않는다 — 미지원 브라우저에서 scrim이 빠지면 흰 제목이 사라진다.
   표지 사진이 없으면 img 높이가 0이라 이 ::after도 0이 되어 무해하다. */
.ws-cover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 33%;
  background: var(--wh-scrim-bottom);
  pointer-events: none;
  z-index: 1;
}

/* 편집 모드 빈 표지(회색 박스)에는 필요 없음 — 미지원 시 그라디언트만 남고 기능 영향 없음 */
.ws-cover:has(.ws-cover-empty)::after {
  display: none;
}

.ws-cover .ws-hero-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  /* 하단 32px — 26px은 표지 아래 끝에 붙어 보였다. 실측: 제목 밴드가
     scrim(160px)의 20~69% 구간에 들어와 알파 0.60~0.63 (AA 유지) */
  padding: 0 28px 32px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.32);
}

/* 편집 모드 배지 — 표지 위 제목과 겹치지 않게 상단으로 */
.ws-cover:has(.ws-hero-title) .ws-edit-badge {
  top: 14px;
  bottom: auto;
  z-index: 3;
}

/* 감성 파일럿 — 표지 느린 등장 + 마스트헤드 한 박자 (motion.md §1a: Frequency 드묾 · Purpose Delight/Editorial, 일회성 keyframes) */
@media (prefers-reduced-motion: no-preference) {
  .ws-cover img {
    animation: wsCoverIn var(--wh-motion-linger, 1200ms) var(--wh-ease-out-smooth, cubic-bezier(0.16, 1, 0.3, 1)) both;
  }

  .ws-masthead,
  .ws-cover .ws-hero-title {
    animation: wsMastIn 900ms var(--wh-ease-out-smooth, cubic-bezier(0.16, 1, 0.3, 1)) 150ms both;
  }
}

html.wh-reduce-motion .ws-cover img,
html.wh-reduce-motion .ws-masthead,
html.wh-reduce-motion .ws-cover .ws-hero-title {
  animation: none;
}

@keyframes wsCoverIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wsMastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Masthead under cover ── */
.ws-masthead {
  padding: 36px 28px 8px;
  text-align: center;
}

.ws-hero-title {
  /* 감성 파일럿 — 명조 디스플레이 (Editorial 한정, 본문은 Pretendard 유지) */
  font-family: var(--wh-ff-editorial, 'Maru Buri', serif);
  font-size: clamp(1.875rem, 6.2vw, 2.5rem);
  font-weight: 600;
  color: var(--ws-ink);
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0 0 20px;
  word-break: keep-all;
}

.ws-hero-dek {
  font-size: 15px;
  font-weight: 400;
  color: var(--ws-mute);
  line-height: 1.75;
  margin: 0 auto 28px;
  max-width: 28em;
  word-break: keep-all;
}

.ws-byline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  margin: 0;
  border-top: 1px solid var(--ws-line);
}

.ws-byline-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ws-faint);
}

.ws-byline-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ws-ink) !important;
  line-height: 1.45;
  word-break: keep-all;
  max-width: 22em;
  transition: color 180ms var(--wh-ease-out, ease);
}

.ws-byline-link:hover {
  color: var(--wh-brand, #681DC7) !important;
}

/* ── Body ── */
.ws-body {
  padding: 28px 28px 8px;
}

.ws-block {
  margin: 0 0 32px;
}

.ws-block-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ws-ink);
  letter-spacing: -0.01em;
  word-break: keep-all;
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

.ws-block-text p {
  margin: 0 0 1.2em;
}

.ws-block-text p:last-child {
  margin-bottom: 0;
}

.ws-block-text strong {
  font-weight: 700;
}

.ws-block-photo {
  margin: 48px -28px;
}

.ws-photo-frame {
  overflow: hidden;
  background: #ececec;
}

.ws-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ws-block-photo figcaption {
  padding: 14px 28px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ws-faint);
  line-height: 1.5;
  text-align: center;
}

/* ── Places ── */
.ws-places {
  margin: 56px 0 40px;
  padding: 0;
}

.ws-places-head {
  margin-bottom: 32px;
  text-align: center;
  padding: 0 8px;
}

.ws-places-title {
  font-family: var(--wh-ff-editorial, 'Maru Buri', serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ws-ink);
}

.ws-places-desc {
  margin: 0 auto;
  max-width: 22em;
  font-size: 14px;
  color: var(--ws-mute);
  line-height: 1.65;
  word-break: keep-all;
}

.ws-places-list {
  border-top: 1px solid var(--ws-line);
}

.ws-place {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 16px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--ws-line);
}

.ws-place-num {
  font-family: var(--wh-ff-display, 'SUIT', 'Pretendard', sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ws-faint);
  padding-top: 3px;
}

.ws-place-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wh-brand, #681DC7);
  margin-bottom: 6px;
}

.ws-place-name {
  font-family: var(--wh-ff-display, 'SUIT', 'Pretendard', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ws-ink);
  margin: 0 0 6px;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.ws-place-addr {
  font-size: 13px;
  color: var(--ws-faint);
  line-height: 1.5;
  margin: 0 0 10px;
  word-break: keep-all;
}

.ws-place-desc {
  font-size: 14px;
  color: var(--ws-mute);
  line-height: 1.7;
  margin: 0 0 12px;
  word-break: keep-all;
}

.ws-place-menus {
  margin: 0 0 12px;
  padding: 12px 0 0;
  border-top: 1px solid var(--ws-line);
}

.ws-place-menus-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ws-faint);
  margin-bottom: 8px;
}

.ws-place-menu {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.45;
}

.ws-place-menu-name {
  color: var(--ws-ink);
  font-weight: 600;
  word-break: keep-all;
  flex: 1;
}

.ws-place-menu-price {
  color: var(--ws-mute);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ws-place-tip {
  margin: 0;
  font-size: 13px;
  color: var(--ws-faint);
  line-height: 1.55;
  word-break: keep-all;
  font-style: italic;
}

/* ── Buttons ── */
.ws-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  background: var(--wh-brand, #681DC7);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--wh-radius-btn, 18px);
  border: 0;
  transition: background 160ms var(--wh-ease-out, ease);
}

.ws-btn-primary:hover {
  background: var(--wh-brand-hover, #5416A3);
  color: #fff !important;
}

.ws-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  background: transparent;
  color: var(--ws-ink) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--wh-radius-btn, 18px);
  border: 1px solid var(--ws-line);
  transition: border-color 160ms var(--wh-ease-out, ease), color 160ms var(--wh-ease-out, ease);
}

.ws-btn-ghost:hover {
  border-color: rgba(26, 26, 26, 0.28);
  color: var(--wh-brand, #681DC7) !important;
}

/* ── Closing ── */
.ws-cta-band {
  margin: 24px 28px 0;
  padding: 48px 0 16px;
  text-align: center;
}

.ws-cta-rule {
  width: 40px;
  height: 1px;
  background: var(--ws-line);
  margin: 0 auto 28px;
}

.ws-cta-title {
  font-family: var(--wh-ff-editorial, 'Maru Buri', serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ws-ink);
  word-break: keep-all;
}

.ws-cta-desc {
  font-size: 14px;
  color: var(--ws-mute);
  margin: 0 auto 28px;
  line-height: 1.6;
  max-width: 24em;
  word-break: keep-all;
}

.ws-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 300px;
  margin: 0 auto;
}

.ws-cta-actions .ws-btn-primary,
.ws-cta-actions .ws-btn-ghost {
  width: 100%;
}

/* ── Sticky save (모바일) — 하단바 숨김이므로 bottom:0, 불투명 배경으로 본문 비침 차단 ── */
.ws-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  pointer-events: none;
}

.ws-sticky-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--ws-ink);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 0;
  text-decoration: none !important;
  border-radius: var(--wh-radius-btn, 18px);
  box-shadow: none;
  transition: background 160ms var(--wh-ease-out, ease), transform 160ms var(--wh-ease-spring, ease);
}
a.ws-sticky-btn:hover {
  text-decoration: none !important;
}

.ws-sticky-btn:hover {
  background: #000;
  color: #fff !important;
}

.ws-empty {
  padding: 120px 28px 48px;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

.ws-empty-title {
  font-family: var(--wh-ff-editorial, 'Maru Buri', serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.ws-empty-body {
  color: var(--ws-mute);
  margin: 0 0 28px;
  line-height: 1.65;
}

/* ── Inline edit (admin page) — nav 높이 padding 유지 ── */
.ws-page--editable {
  padding-top: var(--wh-page-nav-h, 76px) !important;
}

[contenteditable="true"] {
  outline: none;
  border-radius: 6px;
  transition: box-shadow 120ms ease, background 120ms ease;
}

[contenteditable="true"]:hover {
  background: rgba(26, 26, 26, 0.03);
}

[contenteditable="true"]:focus {
  box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.16);
  background: rgba(26, 26, 26, 0.025);
}

.ws-cover--editable,
.ws-photo-pick {
  position: relative;
  cursor: pointer;
}

.ws-edit-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ws-ink, #1a1a1a);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  pointer-events: none;
}

.ws-cover-empty,
.ws-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: #ececec;
  color: var(--wh-tx3, #6B6B6B);
  font-weight: 700;
}

.ws-block-photo.is-hero-dup {
  display: none;
}

.ws-block-del {
  display: inline-block;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
}

.ws-gallery {
  position: fixed;
  inset: 0;
  z-index: 200;
  /* Stay: 갤러리 딤만 — 히어로/마케팅 사진 위 어두운 overlay와 구분 */
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ws-gallery[hidden] {
  display: none !important;
}

.ws-gallery-panel {
  width: min(720px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
}

.ws-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ws-gallery-head button {
  border: 0;
  background: var(--wh-bg, #F5F5F5);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.ws-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ws-gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

.ws-toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%) translateY(12px);
  z-index: 300;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ws-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ws-toast.is-err {
  background: #b91c1c;
}

.ws-admin-edit {
  display: none !important;
}

@media (min-width: 1024px) {
  html.sp-force-desktop-ui .ws-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  html.sp-force-desktop-ui .ws-sticky-cta {
    display: none !important;
  }

  html.sp-force-desktop-ui #content.ws-page {
    max-width: min(1120px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: calc(var(--r26-dt-base-header-h, 108px) + 16px) 24px 96px !important;
    background: var(--ws-paper) !important;
  }

  html.sp-force-desktop-ui .ws-edit-bar {
    top: var(--r26-dt-base-header-h, 108px);
    margin: 0 auto 8px;
    max-width: 780px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 12px;
  }

  html.sp-force-desktop-ui .ws-article {
    max-width: 780px;
    margin: 0 auto;
    padding-bottom: 72px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 64px rgba(26, 26, 26, 0.04);
  }

  html.sp-force-desktop-ui .ws-issue {
    padding: 48px 48px 24px;
  }

  html.sp-force-desktop-ui .ws-cover img {
    aspect-ratio: 3 / 2;
  }

  html.sp-force-desktop-ui .ws-masthead {
    padding: 52px 64px 12px;
  }

  html.sp-force-desktop-ui .ws-hero-title {
    font-size: 44px;
    letter-spacing: -0.015em;
    line-height: 1.24;
    max-width: 14em;
    margin-left: auto;
    margin-right: auto;
  }

  /* 표지 위 마스트헤드 — PC 표지는 3:2라 하단 여백을 키운다 */
  html.sp-force-desktop-ui .ws-cover .ws-hero-title {
    margin: 0 auto;
    padding: 0 64px 40px;
  }

  html.sp-force-desktop-ui .ws-hero-dek {
    font-size: 17px;
    line-height: 1.8;
    max-width: 30em;
  }

  html.sp-force-desktop-ui .ws-body {
    padding: 40px 72px 16px;
  }

  html.sp-force-desktop-ui .ws-block-text {
    font-size: 17px;
    line-height: 1.95;
  }

  html.sp-force-desktop-ui .ws-block-photo {
    margin: 56px -72px;
  }

  html.sp-force-desktop-ui .ws-photo-frame {
    border-radius: 0;
  }

  html.sp-force-desktop-ui .ws-block-photo figcaption {
    padding-left: 72px;
    padding-right: 72px;
  }

  html.sp-force-desktop-ui .ws-places {
    margin-top: 72px;
  }

  html.sp-force-desktop-ui .ws-places-title {
    font-size: 32px;
  }

  html.sp-force-desktop-ui .ws-place {
    padding: 32px 8px;
  }

  html.sp-force-desktop-ui .ws-cta-band {
    margin: 40px 72px 0;
    padding-top: 56px;
  }

  html.sp-force-desktop-ui .ws-cta-title {
    font-size: 28px;
  }

  html.sp-force-desktop-ui .ws-cta-actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    gap: 12px;
  }

  html.sp-force-desktop-ui .ws-cta-actions .ws-btn-primary,
  html.sp-force-desktop-ui .ws-cta-actions .ws-btn-ghost {
    width: auto;
    min-width: 168px;
  }
}

/* ── 다국어 가로 넘침 방지 (2026-08-22) ──────────────────────────────────
   `word-break: keep-all`은 CJK에서 문자 사이 줄바꿈을 금지해 텍스트의
   min-content가 문장 전체 폭이 된다. 그리드 `1fr`(= `minmax(auto, 1fr)`)
   트랙이 그 min-content에 밀려 컨테이너를 넘는다.
   실측 사례: /ja/about_detail PC 1024px에서 223px 넘침 (트랙 324/365/462).
   한국어 어절 보존은 유지하고, 그 외 언어에서만 해제한다.
   위 그리드는 같은 날 `minmax(0, 1fr)`로 교체했다.
   SSOT: docs/design-md/wooseok.md §3 「다국어 줄바꿈·그리드」 */
html:not(:lang(ko)) #content.ws-page * {
  word-break: normal;
}

html:not(:lang(ko)) #content.ws-page :is(h1, h2, h3, h4, p, li, span, a, div, button) {
  overflow-wrap: break-word;
}
