/* English review: preserve phrases, punctuation, and comfortable line lengths. */
html[lang="en"] main :is(p,li,dd){text-wrap:pretty}
html[lang="en"] main :is(h1,h2,h3){word-break:normal;overflow-wrap:normal;text-wrap:balance}
html[lang="en"] .en-keep{white-space:nowrap}
/* Narrow station cards must fit a whole phrase before keeping it together. */
@media(max-width:380px){
 html[lang="en"] #sinsa-home .sinsa-cards .en-keep{white-space:normal}
}
html[lang="en"] .en-clause{display:inline-block;max-width:100%;text-wrap:pretty;white-space:normal}
html[lang="en"] .en-copy-line{display:block;text-wrap:pretty}
html[lang="en"] p.en-measured-copy{max-width:62ch!important;text-wrap:pretty!important}
/* The original x-lead flex row must not turn sentence spans into columns. */
html[lang="en"] .x-lead.en-measured-copy{display:block}
/* English captions need the full illustration width; controls sit on the clear lower edge. */
html[lang="en"] #room .x-hook{right:clamp(14px,2.4vw,26px);font-size:clamp(19px,2vw,28px);text-wrap:pretty!important}
html[lang="en"] #room #rm0 .x-seg{top:auto;bottom:16px;right:16px;max-width:calc(100% - 32px)}
html[lang="en"] #room .x-seg{display:inline-flex;align-items:center;gap:3px}
html[lang="en"] #room .x-seg button{width:auto;flex:none;padding:6px 10px;font-size:14px;line-height:1.4}
html[lang="en"] #room .x-seg::after{position:static;transform:none;top:auto;left:auto;font-size:11.5px;margin-left:4px;padding-right:3px}
html[lang="en"] #room .x-stage #rm2 svg.road{width:calc(100% - 40px);height:calc(100% - 32px);max-width:none;max-height:none;aspect-ratio:auto;overflow:hidden}
html[lang="en"] .en-hook-intro .en-copy-line:nth-child(3){margin-top:.45em}
html[lang="en"] .en-wide-intro{max-width:none!important;width:100%;text-wrap:balance!important}
html[lang="en"] .sh:has(.en-wide-intro)>div{width:100%;max-width:none}
html[lang="en"] .sh:has(.en-wide-intro){width:100%}
html[lang="en"] .en-wide-intro .en-clause{display:inline}
html[lang="en"] .hero-copy .lead .en-copy-line{white-space:normal}
@media(min-width:1600px){
 html[lang="en"] .en-doctors-intro{max-width:100%!important}
 html[lang="en"] .en-house-intro,html[lang="en"] .en-stations-intro{max-width:80em!important}
}
@media(max-width:600px){
 html[lang="en"] p.en-wide-intro{text-wrap:pretty!important}
 html[lang="en"] .en-hook-intro .en-copy-line{display:inline}
 html[lang="en"] .en-hook-intro .en-copy-line::after{content:" "}
 html[lang="en"] .en-hook-intro .en-copy-line:nth-child(3){display:block;margin-top:.6em}
 html[lang="en"] .en-keep{font-size:inherit}
}

/* Nested phrase spans retain the existing single highlight behind article summaries. */
html[lang="en"] .ph .lead.lead-hl .en-keep{padding:0;background:none}

html[lang="en"] .ph .lead.lead-hl{padding-inline:4px}

/* English category labels exceed the original 52px Korean badge column. */
@media(min-width:861px){
 html[lang="en"] .aca li{grid-template-columns:104px max-content minmax(0,1fr)}
}

/* Preserve the reviewed search prompt without cutting its last word. */
html[lang="en"] :is(#filter,.filter) input[type="search"]{flex:0 1 420px;width:min(100%,420px);min-width:min(100%,360px);max-width:100%;text-overflow:ellipsis}
@media(max-width:600px){
 html[lang="en"] .filter input[type="search"],html[lang="en"] input.fq[type="search"]{font-size:16px;padding-inline-end:16px}
}

/* Balance each approved heading clause independently, including its last word. */
html[lang="en"] .en-heading-line{display:block;text-wrap:balance}
