/* 쓸모 외국어 공통 틀 2026 v1 (en·ja·zh·zh-tw·vi·th 여행·안내 페이지)
   - 형광펜 밑줄 없앰(제목 강조는 색만)
   - 히어로 안 글·안내 상자·그림의 왼쪽·오른쪽 선을 맞춤
   - 넓은 화면(1100px~): 머리줄·칩·본문을 같은 1160px 틀로 가운데, 히어로는 글 | 그림 2단, 카드는 2~3열 */
h1 em{background:none!important;padding:0!important;font-style:normal;color:var(--primary-ink,var(--accent-1-ink,inherit))}
.hero>.ad-note,.hero>.lead,.hero>p{max-width:640px}
.hero>.ad-note{margin-left:0;margin-right:0;box-sizing:border-box}
@media (min-width:1100px){
  .wrap{max-width:1160px!important}
  :is(.hero:has(>svg),.hero:has(>.hero-svg),.hero:has(>figure),.hero:has(>img),.hero:has(>picture)){display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);column-gap:40px;align-items:center;padding:40px 40px 24px!important}
  :is(.hero:has(>svg),.hero:has(>.hero-svg),.hero:has(>figure),.hero:has(>img),.hero:has(>picture))>*{grid-column:1}
  .hero>svg,.hero>.hero-svg,.hero>figure,.hero>.hero-art,.hero>picture,.hero>img{grid-column:2;grid-row:1/span 12;align-self:center;width:100%!important;max-width:520px;height:auto;justify-self:end}
  :is(.hero:has(>svg),.hero:has(>.hero-svg),.hero:has(>figure),.hero:has(>img),.hero:has(>picture))>:is(.ad-note,.lead,p){max-width:none}
  /* 본문: 글 단락은 읽기 좋은 폭, 카드·그림 묶음은 넓게 */
  main .sec>p,main .sec>.sum,main section>p{max-width:820px}
  main .grid2,main .cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (min-width:1600px){.wrap{max-width:1200px!important}}
@media (min-width:1100px){
  :is(.hero:has(>svg),.hero:has(>.hero-svg),.hero:has(>figure),.hero:has(>img),.hero:has(>picture))>:is(span,.eyebrow,.trust,.chk,.pill){justify-self:start}
  main figure>svg,main .card>svg,main .vk-fig>svg{max-width:820px;margin-left:auto;margin-right:auto;display:block}
}
/* AG 2026-11-15 — shared hero patch for ALL foreign inner pages (en/ja/zh/zh-tw/vi/th).
   Put at the END of /wide.css (or into the page generator's shared CSS). Pure CSS, no HTML change.
   Bug: in /wide.css, ":is(.hero:has(>svg),...)>*{grid-column:1}" is stronger than ".hero>svg{grid-column:2}",
   so the hero picture (<svg class="art">, figure, img ...) stays in the LEFT column -> right ~45% of the hero card is empty
   (owner screenshots: /en/ 1650px, /ja/ 1600px). Live check 2026-11-15 @1600px, 156 foreign pages: 33 of 117 hero pages had
   >60px dead space; with this patch 0. Text, quick-answer box (.af) and ad box (.ad-note) stay left, picture goes right.
   2 columns from 1024px (was 1100px); below 1024px nothing changes (one column, mobile first). */
@media (min-width:1024px){
  :is(.hero:has(>svg),.hero:has(>.hero-svg),.hero:has(>figure),.hero:has(>img),.hero:has(>picture)){
    display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);column-gap:40px;align-items:center}
  :is(.hero:has(>svg),.hero:has(>.hero-svg),.hero:has(>figure),.hero:has(>img),.hero:has(>picture))>*{grid-column:1;max-width:none}
  :is(.hero:has(>svg),.hero:has(>.hero-svg),.hero:has(>figure),.hero:has(>img),.hero:has(>picture))>:is(svg,.hero-svg,figure,.hero-art,picture,img){
    grid-column:2!important;grid-row:1/span 12;align-self:center;justify-self:end;width:100%;max-width:520px;height:auto;margin-top:0}
}
