/* 데모(site.css)에 없는 것만 둔다: 언어 선택 목록, 추가 언어(중국어, 베트남어, 러시아어, 힌디어)의 글꼴과 줄바꿈.
   site.css 는 자동 생성 파일이라 고치지 않고, 여기서 덧붙인다. */

/* ───────── 언어 선택 목록 (데모의 KO, EN 버튼 자리) ───────── */
.lsel{position:relative;flex:none}
.lsel-btn{position:relative;display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 11px 0 12px;border-radius:999px;background:var(--soft);color:var(--cwnu-deep);font-size:13px;font-weight:700;line-height:1;white-space:nowrap;transition:background-color .2s,color .2s}
/* 눌리는 영역은 44px 을 채운다 */
.lsel-btn::after{content:"";position:absolute;left:0;right:0;top:-3px;bottom:-3px}
.lsel-btn:hover,.lsel-btn[aria-expanded="true"]{background:var(--eb-tint);color:var(--event-blue)}
.lsel-globe{width:17px;height:17px;flex:none}
.lsel-chev{width:12px;height:12px;flex:none;transition:transform .2s var(--ease)}
.lsel-btn[aria-expanded="true"] .lsel-chev{transform:rotate(180deg)}
.lsel-list{position:absolute;right:0;top:calc(100% + 10px);z-index:50;min-width:176px;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:var(--r2);box-shadow:var(--sh-2);animation:lsel-in .18s var(--ease)}
@keyframes lsel-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* 목록에는 여섯 언어의 이름이 함께 보이므로, 어느 언어 화면에서든 Inter 를 앞세워 한 낱말 안에서 글꼴이 섞이지 않게 한다 */
.lsel-list a{font-family:"Inter Variable",var(--font);display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:0 12px;border-radius:var(--r1);font-size:15px;font-weight:600;line-height:1.3;color:var(--text);white-space:nowrap;transition:background-color .15s,color .15s}
.lsel-list a:hover{background:var(--soft);color:var(--cwnu-deep)}
.lsel-list a:focus-visible{outline-offset:-3px;border-radius:var(--r1)}
.lsel-list a[aria-current]{color:var(--event-blue);font-weight:800}
.lsel-check{width:16px;height:16px;flex:none;visibility:hidden}
.lsel-list a[aria-current] .lsel-check{visibility:visible}
@media (max-width:960px){.hdr .lsel{margin-left:auto}}
@media (max-width:640px){
  .lsel-btn{height:34px;padding:0 9px 0 10px;gap:5px;font-size:12.5px}
  .lsel-btn::after{top:-5px;bottom:-5px}
  .lsel-globe{width:16px;height:16px}
}
@media (max-width:340px){.lsel-chev{display:none}.lsel-btn{padding:0 9px}}
@media (prefers-reduced-motion:reduce){.lsel-list{animation:none}.lsel-chev{transition:none}}

/* ───────── 추가 언어의 글꼴 ─────────
   Pretendard 에는 키릴 문자, 베트남어 성조 글자, 데바나가리, 간체자가 없거나 일부만 있다.
   일부만 있으면 한 낱말 안에서 글꼴이 섞여 보이므로, 추가 언어는 로마자와 숫자를 Inter(Pretendard 의 로마자 원형)로 그리고
   나머지 문자는 기기에 깔린 그 문자용 글꼴에 맡긴다. 글꼴 파일은 그 글자가 화면에 있을 때만 내려받는다. */
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5.3.0/files/inter-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5.3.0/files/inter-cyrillic-wght-normal.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5.3.0/files/inter-vietnamese-wght-normal.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
html[lang="vi"],html[lang="ru"]{--font:"Inter Variable",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
html[lang="zh-Hans"]{--font:"Inter Variable","PingFang SC","Microsoft YaHei","Noto Sans SC","Noto Sans CJK SC","Source Han Sans SC",sans-serif}
html[lang="hi"]{--font:"Inter Variable","Noto Sans Devanagari","Nirmala UI","Kohinoor Devanagari","Devanagari Sangam MN",sans-serif}

/* ───────── 추가 언어의 줄바꿈과 글자 크기 ───────── */
/* 국문용 keep-all 은 중국어에서 문장 부호가 나올 때까지 줄을 바꾸지 못하게 만든다 */
html[lang="zh-Hans"] body,html[lang="zh-Hans"] .fp .b{word-break:normal;line-break:strict}
/* 데모가 영문 제목에 준 크기를 낱말이 긴 언어에도 준다 */
html[lang="vi"] .hero h1 .l2,html[lang="ru"] .hero h1 .l2,html[lang="hi"] .hero h1 .l2{font-size:clamp(34px,4.1vw,60px)}
/* 데바나가리는 글자 위아래에 붙는 부호가 있어 제목 줄 간격이 더 필요하다 */
html[lang="hi"] .hero h1 .l2,html[lang="hi"] .page-top h1{line-height:1.3}

/* 베트남어는 메뉴 글귀가 길어 주 메뉴가 한 줄에 들어가지 않는 폭이 넓다. 그 폭에서는 접는 메뉴로 바꾼다(데모의 960px 이하 규칙과 같다) */
@media (min-width:961px) and (max-width:1100px){
  html[lang="vi"] .gnb{display:none}
  html[lang="vi"] .hdr .lsel{margin-left:auto}
  html[lang="vi"] .burger{display:flex;margin-left:6px}
}
/* 기업 상세의 두 버튼(목록, 참여 안내)은 글귀가 길면 칸을 밀어내므로 두 줄로 접히게 한다 */
html:not([lang="ko"]):not([lang="en"]) .sidecard .btns{grid-template-columns:repeat(2,minmax(0,1fr))}
html:not([lang="ko"]):not([lang="en"]) .sidecard .btn{height:auto;min-height:52px;padding:8px 10px;white-space:normal;text-align:center;line-height:1.25}
@media (max-width:960px){html:not([lang="ko"]):not([lang="en"]) .nav-card .btns{grid-template-columns:repeat(2,minmax(0,180px))}}

/* 배치도의 좁은 칸에서 러시아어 낱말이 잘릴 때 붙임표를 넣는다 */
html[lang="ru"] .fp .b{hyphens:auto;-webkit-hyphens:auto}
/* 행사 개요 표: 낱말이 긴 언어는 좁은 화면에서 칸이 밀리지 않게 낱말 안에서도 줄을 바꾼다 */
html:not([lang="ko"]):not([lang="en"]) .otable td{overflow-wrap:anywhere}

/* 자동 번역 안내(꼬리) */
.ftr-info .ftr-mt{margin-top:10px;font-size:13px;line-height:1.6;color:#C3CAD0}
