/* Korean edition only (linked from /ko/ pages; removed from dist when ko_enabled=false).
   Site chrome is English; editorial Hangul uses:
     display — Hahmlet (SIL OFL 1.1, via Google Fonts, unicode-range subset)
     body    — Maru Buri (SIL OFL 1.1, self-hosted from NAVER's official webfont)
   Hangul breaks at word (eojeol) boundaries: word-break:keep-all everywhere, with
   overflow-wrap:anywhere only as a last resort for very long Latin tokens. */
@font-face{font-family:"Maru Buri";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/maruburi/MaruBuri-Regular.woff2") format("woff2")}
@font-face{font-family:"Maru Buri";font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/maruburi/MaruBuri-SemiBold.woff2") format("woff2")}
:root{--display:"Hahmlet","Playfair Display",serif;--text:"Maru Buri","Source Serif",serif;--ui:"Inter",system-ui,sans-serif}
html:lang(ko){overflow-x:clip;word-break:keep-all;overflow-wrap:break-word;line-break:strict}
html:lang(ko) body{font-size:18px;line-height:1.85;max-width:100%;min-width:0;word-break:keep-all}
html:lang(ko) h1,html:lang(ko) h2,html:lang(ko) h3,html:lang(ko) .dek,html:lang(ko) .issue-bar,html:lang(ko) .bento-body,html:lang(ko) .prose,html:lang(ko) p,html:lang(ko) li,html:lang(ko) figcaption,html:lang(ko) blockquote{
  word-break:keep-all;overflow-wrap:anywhere;min-width:0
}
html:lang(ko) h1,html:lang(ko) h2,html:lang(ko) h3{letter-spacing:-.015em}
html:lang(ko) .kicker,html:lang(ko) .label,html:lang(ko) .read,html:lang(ko) .masthead-top{letter-spacing:.06em}
html:lang(ko) .lead,html:lang(ko) .story-sub,html:lang(ko) em,html:lang(ko) .prose em{font-style:normal}
html:lang(ko) .prose em{font-weight:600}
html:lang(ko) .masthead,html:lang(ko) .bento-grid,html:lang(ko) .bento,html:lang(ko) .art-link,html:lang(ko) figure.art{
  min-width:0;max-width:100%
}
/* main, .masthead-top and .sections keep site.css max-width:var(--wide) and auto margins. */
html:lang(ko) main,html:lang(ko) .masthead-top,html:lang(ko) .sections{min-width:0}
html:lang(ko) .issue-bar{flex-wrap:wrap;gap:8px 24px;letter-spacing:.08em;min-width:0;max-width:100%}
html:lang(ko) .issue-bar span{min-width:0}
/* Hero typography only — the 16:9 uncropped cover is in site.css for every edition. */
html:lang(ko) .bento--hero{min-width:0}
html:lang(ko) .bento--hero > *{min-width:0;max-width:100%}
html:lang(ko) .bento--hero .bento-body{min-width:0}
html:lang(ko) .bento--hero h2{font-size:clamp(22px,2.4vw,36px);line-height:1.32;letter-spacing:-.01em;max-width:100%}
html:lang(ko) .bento--hero .dek{max-width:100%;line-height:1.6}
html:lang(ko) article h1,html:lang(ko) .cover-story h2,html:lang(ko) .cs-current h2{
  max-width:100%;font-size:clamp(28px,4vw,52px);line-height:1.3
}

/* Card alignment (KO home): side-by-side cards reserve the same number of title and
   dek lines so deks, bylines and link rows start on one baseline. Titles are never
   truncated (they only reserve space); deks clamp with an ellipsis. */
@media (min-width:601px){
  html:lang(ko) .home-d .bento.m-card .m-body{display:flex;flex-direction:column}
  html:lang(ko) .home-d .bento.m-card h3{min-height:4lh}
  html:lang(ko) .home-d .bento.m-card .dek{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:4lh}
}
html:lang(ko) .home-d .m-card--sig h3{min-height:3lh}
html:lang(ko) .home-d .m-card--sig .dek{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3lh}
@media (min-width:1001px) and (max-width:1279px){
  html:lang(ko) .home-d .bento.m-card h3{font-size:19px;min-height:6lh}
  html:lang(ko) .home-d .m-card--sig h3{min-height:4lh}
}
@media (min-width:601px) and (max-width:1000px){
  html:lang(ko) .home-d .bento.m-card h3{min-height:5lh}
  html:lang(ko) .home-d .m-card--sig h3{min-height:4lh}
}
@media (min-width:1001px) and (max-width:1279px){
  html:lang(ko) .home-d .bento.m-card .kicker{flex-wrap:nowrap;white-space:nowrap;overflow:hidden}
  html:lang(ko) .home-d .bento.m-card .kicker a{min-width:0;overflow:hidden;text-overflow:ellipsis;flex-shrink:1}
}
/* Hangul has no true italic: drop synthetic slant on Korean running text (Latin series titles keep theirs). */
html:lang(ko) .sig-dek,html:lang(ko) .section-sub,html:lang(ko) .prose blockquote,html:lang(ko) .teaser-text,html:lang(ko) .nf-text,html:lang(ko) .cw-dek,html:lang(ko) .manifesto-text,html:lang(ko) .foot-invite,html:lang(ko) .hb-tagline,html:lang(ko) .hb-x-preview,html:lang(ko) .empty,html:lang(ko) .art-note,html:lang(ko) .cura-quote,html:lang(ko) .cura-quote p{font-style:normal}
html:lang(ko) .cura-quote p{font-weight:600;font-family:var(--display)}
