/* 조선교류 KOREA EXCHANGE — 외부 글꼴·외부 리소스 없음, 기기에 있는 고딕 글꼴 사용 */
:root{
  --navy:#0e3283; --navy2:#123a8c; --red:#c8102e; --green:#0f7a4a; --ink:#1b1f29; --mute:#5b6576;
  --line:#dfe4ec; --soft:#f3f5f9; --bg:#fff;
  --font:"Malgun Gothic","맑은 고딕","Apple SD Gothic Neo","Noto Sans KR","Noto Sans CJK KR","Nanum Gothic",sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.wrap{max-width:1460px;margin:0 auto;padding-left:max(16px,2.4%,env(safe-area-inset-left,0px));padding-right:max(16px,2.4%,env(safe-area-inset-right,0px))}
.skip{position:absolute;left:-9999px}.skip:focus{left:8px;top:8px;background:#fff;padding:8px;z-index:9}
:focus-visible{outline:3px solid #f2b400;outline-offset:2px}

/* ---------- 상단 브랜드 영역 ---------- */
.top{background:linear-gradient(180deg,#fbfcff 0%,#edf3fd 100%)}
.top-in{display:flex;align-items:center;gap:28px;min-height:116px;padding-top:10px;padding-bottom:10px}
.brand img{width:330px;height:auto}
.tagline{position:relative;flex:1;padding-left:28px;border-left:2px solid var(--navy2);min-width:0;padding-bottom:16px}
.tagline p{margin:0;color:var(--navy);line-height:1.3}
.t-ko{font-size:28px;font-weight:800;letter-spacing:-.5px}
.t-en{font-size:19px;font-weight:700;letter-spacing:-.6px;white-space:nowrap}
.swoosh{position:absolute;left:300px;right:-140px;bottom:-14px;height:18px;width:auto}
.tools{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.langs{font-size:19px;color:var(--navy);font-weight:600}
.langs a{padding:0 12px}.langs span{color:#9aa6c4}
.langs a[aria-current]{text-decoration:underline;text-underline-offset:4px}
.sbox{display:flex;border:1.5px solid #8ea0c9;border-radius:7px;overflow:hidden;background:#fff;width:318px}
.sbox input{flex:1;border:0;padding:9px 14px;font-size:17px;min-width:0;outline:none;background:transparent}
.sbox button{width:48px;border:0;background:var(--navy);color:#fff;cursor:pointer;display:grid;place-items:center}
.sbox button svg{width:24px;height:24px}

/* ---------- 주 메뉴 ---------- */
.gnb{background:var(--navy)}
.gnb-in{display:flex;padding-left:0;padding-right:0}
.gnb a{flex:1;display:flex;align-items:center;justify-content:center;gap:14px;color:#fff;font-size:22px;font-weight:700;height:60px;position:relative;letter-spacing:-.3px}
.gnb a+a:not(:nth-child(2))::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:1px;background:rgba(255,255,255,.35)}
.gnb a.home{flex:.72;background:var(--red)}
.gnb a.on:not(.home){background:#0a2766}
.gnb a:hover{text-decoration:none;background:#0b2a6e}.gnb a.home:hover{background:#b10e28}
.gnb svg{width:28px;height:28px;flex:none}

/* ---------- 대표 배너 ---------- */
.hero img{width:100%;height:auto;aspect-ratio:1920/288;object-fit:cover}
.hero.low img{aspect-ratio:1920/240}

/* ---------- 오늘의 소식 · 공지사항 ---------- */
.home-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:24px;margin-top:28px}
.box{background:#fff}
.bhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bhead h2{margin:0;font-size:27px;font-weight:800;padding-left:16px;border-left:5px solid var(--red);line-height:1.15;letter-spacing:-.5px}
.bhead .more{font-size:14px;color:#444;white-space:nowrap}
.bhead .note{font-size:14px;color:var(--mute)}
.today{border-right:1px solid var(--line);padding-right:22px;padding-bottom:10px;box-shadow:inset 0 -1px 0 var(--line)}
.today-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.17fr);gap:24px}
.slider{position:relative;border-radius:4px;overflow:hidden;background:#dfe7f3;min-height:210px}
.slide{display:none;position:absolute;inset:0}.slide.on{display:block}
.slide img{width:100%;height:100%;object-fit:cover}
.slide .cap{position:absolute;left:0;right:0;bottom:0;padding:10px 20px;background:linear-gradient(0deg,rgba(0,0,0,.75),rgba(0,0,0,.45));color:#fff;font-size:17px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.slider .nav{position:absolute;top:50%;transform:translateY(-60%);width:34px;height:34px;border-radius:50%;border:0;background:rgba(80,80,80,.55);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.slider .nav svg{width:20px;height:20px}.slider .prev{left:10px}.slider .next{right:10px}
.news{list-style:none;margin:0;padding:0}
.news li{border-top:1px solid var(--line)}.news li:last-child{border-bottom:1px solid var(--line)}
.news a{display:flex;align-items:center;gap:12px;padding:10px 4px;font-size:18px;font-weight:500}
.news .dot{width:7px;height:7px;border-radius:50%;background:var(--red);flex:none}
.news .tt,.nlist .tt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news time,.nlist time{color:#555;font-size:15px;flex:none}
.side{display:flex;flex-direction:column;gap:12px}
.notice{background:#eef1f6;border-radius:6px;padding:14px 16px 8px}
.nlist{list-style:none;margin:0;padding:0}
.nlist li{border-top:1px solid #dde2ea}
.nlist a{display:flex;align-items:center;gap:12px;padding:7px 2px;font-size:18px;font-weight:500}
.nlist .sq{width:7px;height:7px;background:var(--navy);flex:none}
.where img{width:100%;border-radius:6px}
.empty{color:var(--mute);padding:12px 4px;list-style:none}

/* ---------- 4개 핵심 메뉴 카드 ---------- */
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:22px;margin-bottom:22px}
.card{display:flex;flex-direction:column;border-radius:4px;overflow:hidden;background:#eceff4;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.card:hover{text-decoration:none;box-shadow:0 3px 10px rgba(0,0,0,.2)}
.ch{display:flex;align-items:center;justify-content:space-between;padding:6px 14px 6px 18px;color:#fff}
.ch b{font-size:27px;letter-spacing:-.5px}.ch svg{width:27px;height:27px}
.c-red .ch{background:var(--red);color:var(--red)}.c-red .ch b{color:#fff}
.c-navy .ch{background:var(--navy);color:var(--navy)}.c-navy .ch b{color:#fff}
.c-green .ch{background:var(--green);color:var(--green)}.c-green .ch b{color:#fff}
.card img{width:100%;aspect-ratio:365/105;object-fit:cover}
.cf{display:block;text-align:center;padding:9px;font-size:18px;color:#222;font-weight:500}

/* ---------- 함께 살펴보기 · 추천 자료 ---------- */
.compare,.reco{margin-top:30px;margin-bottom:10px}
.cmp{border:1px solid var(--line);border-radius:8px;padding:16px 18px;margin-bottom:16px;background:#fbfcfe}
.cmp-key{font-size:16px;margin-bottom:10px;color:var(--mute)}.cmp-key b{color:var(--ink);margin-right:6px}
.kind{display:inline-block;font-size:13px;padding:1px 8px;border-radius:10px;margin-left:6px}
.k-same{background:#fde8eb;color:var(--red)}.k-similar{background:#e7edf9;color:var(--navy)}
.cmp-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cmp-item{background:#fff;border-radius:6px;padding:14px 16px;border-top:4px solid var(--red)}
.cmp-item.cw{border-top-color:var(--navy)}
.cmp-item .lab{margin:0 0 4px;font-size:14px;font-weight:700;color:var(--red)}.cw .lab{color:var(--navy)}
.cmp-item h3{margin:0 0 6px;font-size:19px;line-height:1.4}
.cmp-item .sum{margin:0 0 8px;font-size:16px;color:#333}
.meta{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin:0;font-size:14px;color:var(--mute)}
.meta dt{font-weight:700}.meta dd{margin:0}
.orig{display:inline-block;margin-top:8px;font-size:14px;color:var(--navy);text-decoration:underline}
.rlist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rlist a{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:#fff}
.rlist .tt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fmt{display:inline-block;font-size:12.5px;font-weight:700;padding:1px 7px;border-radius:4px;background:#e7edf9;color:var(--navy);margin-right:6px;vertical-align:2px;white-space:nowrap}
.f-video{background:#fde8eb;color:var(--red)}.f-checklist,.f-faq{background:#e3f3ea;color:var(--green)}
.dur{font-size:13px;color:var(--mute)}

/* ---------- 목록 · 상세 ---------- */
.page{padding-top:22px;padding-bottom:40px;max-width:1100px}
.crumb{font-size:14px;color:var(--mute)}
.ph{font-size:30px;margin:6px 0 14px;letter-spacing:-.6px}
.subs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.subs a{padding:6px 14px;border:1px solid var(--line);border-radius:20px;font-size:15px;background:#fff}
.subs a.on{background:var(--navy);border-color:var(--navy);color:#fff}
.items{list-style:none;margin:0;padding:0}
.item{border-bottom:1px solid var(--line)}
.item a{display:flex;gap:16px;padding:14px 2px}
.item a:hover{text-decoration:none;background:#fafbfd}
.item .th{width:160px;height:90px;object-fit:cover;border-radius:4px;flex:none;background:#e8edf5}
.ib{display:flex;flex-direction:column;gap:3px;min-width:0}
.it{font-size:19px;font-weight:700;line-height:1.4}
.is{font-size:16px;color:#3c4350;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.im{font-size:14px;color:var(--mute)}
.pager{display:flex;gap:6px;justify-content:center;margin-top:22px}
.pager a,.pager span{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px}
.pager .on{background:var(--navy);color:#fff;border-color:var(--navy)}
.dh h1{font-size:30px;line-height:1.35;margin:6px 0 10px;letter-spacing:-.6px}
.lead{font-size:19px;color:#2f3540;margin:0 0 12px}
.info{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0 0 18px;padding:10px 14px;background:var(--soft);border-radius:6px;font-size:15px}
.info div{display:flex;gap:6px}.info dt{color:var(--mute)}.info dd{margin:0;font-weight:600}
.sample-note{background:#fff7e0;border:1px solid #f0d58a;padding:8px 12px;border-radius:6px;font-size:15px}
.body{font-size:18px;line-height:1.85}
.body h2{font-size:22px;margin:28px 0 10px}
.body p{margin:0 0 16px}
.body ul,.body ol{padding-left:24px;margin:0 0 16px}
.body a{color:var(--navy);text-decoration:underline}
.body.original{font-family:var(--font);background:#fff;border-left:4px solid #e5e9f0;padding-left:16px}
.tbl{overflow-x:auto;margin:0 0 16px}
.tbl table{border-collapse:collapse;width:100%;font-size:16px}
.tbl th,.tbl td{border:1px solid var(--line);padding:8px 10px;text-align:left}
.tbl th{background:var(--soft)}
.dimg{margin:0 0 18px}.dimg img{border-radius:6px}
.vbox{margin:22px 0}
.player{position:relative;background:#000;border-radius:8px;overflow:hidden}
.poster{display:block;width:100%;padding:0;border:0;background:#0b1630;cursor:pointer;position:relative;aspect-ratio:16/9}
.poster img{width:100%;height:100%;object-fit:cover;opacity:.8}
.pbtn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;background:rgba(200,16,46,.92);display:grid;place-items:center}
.pbtn svg{width:40px;height:40px}
.pinfo{position:absolute;left:0;right:0;bottom:0;padding:8px 14px;background:rgba(0,0,0,.6);color:#fff;font-size:14px;text-align:left}
.player video{width:100%;display:block;aspect-ratio:16/9;background:#000}
.qsel{background:#0b1630;color:#fff;padding:6px 12px;font-size:15px}
.qsel select{margin-left:8px;padding:2px 6px}
.vwait{background:var(--soft);padding:20px;border-radius:8px}
.transcript{margin-top:12px;border:1px solid var(--line);border-radius:6px;padding:10px 14px}
.transcript summary{cursor:pointer;font-weight:700}
.transcript div{margin-top:10px;font-size:16px;max-height:420px;overflow:auto}
.downloads,.source,.correct,.related{margin-top:26px}
.downloads h2,.source h2,.correct h2,.related h2,.sh{font-size:21px;margin:0 0 10px}
.downloads ul,.dlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.downloads a,.dlist a:first-child{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #c9d3e6;border-radius:6px;background:#f6f8fc;min-height:48px}
.dic{width:28px;height:28px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;flex:none}
.sz{margin-left:auto;font-size:14px;color:var(--mute)}
.dlist .tt{flex:1}.dlist .from{display:block;font-size:13px;color:var(--mute);padding:2px 4px 6px}
.hint{font-size:14px;color:var(--mute)}
.lead2{color:#333}
.correct{background:var(--soft);border-radius:8px;padding:14px 18px}
.correct p{margin:0 0 6px}
.safe-box{background:#fff8f0;border:1px solid #f1d1a8;border-radius:8px;padding:14px 20px;margin-bottom:20px}
.safe-box h2{margin:0 0 8px;font-size:19px;color:#9a3d00}
.safe-box ul{margin:0 0 10px;padding-left:20px}
.contact{margin-top:8px}.contact p{margin:2px 0 0}
.sform input[type=search]{width:100%;padding:12px 14px;border:1.5px solid #8ea0c9;border-radius:8px;font-size:18px}
.filters{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:12px 0}
.filters label{display:flex;flex-direction:column;font-size:14px;color:var(--mute)}
.filters select{padding:7px 8px;border:1px solid var(--line);border-radius:6px;min-width:110px;font-size:16px}
.filters button{padding:9px 22px;background:var(--navy);color:#fff;border:0;border-radius:6px;cursor:pointer;font-size:16px}
.count{font-weight:700}

/* ---------- 하단 정보 ---------- */
.foot{background:var(--navy);color:#fff;margin-top:12px}
.foot-in{display:flex;align-items:center;gap:40px;min-height:72px;padding-top:12px;padding-bottom:12px}
.fbrand{display:flex;align-items:center;gap:10px}.fbrand svg{width:40px;height:40px}
.fbrand b{font-size:21px}.fbrand span{font-size:15px;letter-spacing:1.6px;margin-left:8px}
.flinks{display:flex;gap:12px;font-size:15px;flex-wrap:wrap;margin-left:40px}.flinks span{opacity:.5}
.copy{margin:0 0 0 auto;font-size:15px}

/* ---------- 모바일 ---------- */
@media (max-width:1420px){
  .brand img{width:280px}.t-ko{font-size:24px}.t-en{font-size:16px;white-space:normal}.sbox{width:270px}
}
@media (max-width:1100px){
  .swoosh{display:none}
  .gnb a{font-size:18px;gap:8px}.gnb svg{width:22px;height:22px}
}
@media (max-width:860px){
  body{font-size:16px}
  .top-in{flex-wrap:wrap;gap:8px 16px;min-height:0}
  .brand img{width:190px}
  .tagline{flex:1 1 200px;padding-left:14px;padding-bottom:0}
  .t-ko{font-size:18px}.t-en{font-size:13px}
  .tools{flex-direction:row-reverse;width:100%;align-items:center;justify-content:space-between}
  .sbox{flex:1;width:auto}.langs{font-size:15px;white-space:nowrap}
  .gnb-in{display:grid;grid-template-columns:repeat(3,1fr)}
  .gnb a{height:52px;font-size:16px;flex-direction:column;gap:2px;border-bottom:1px solid rgba(255,255,255,.15)}
  .gnb a::before{display:none}.gnb svg{width:20px;height:20px}
  .home-grid{grid-template-columns:minmax(0,1fr)}
  .hero img{aspect-ratio:3.1/1;object-position:0 50%}
  .hero.low img{aspect-ratio:3.72/1}
  .ch b{font-size:16px}
  .today{border-right:0;padding-right:0}
  .today-in{grid-template-columns:minmax(0,1fr)}
  .slider{min-height:0;aspect-ratio:427/227}
  .t-en{white-space:normal}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ch svg{width:22px;height:22px}.cf{font-size:14px}
  .cmp-row,.rlist{grid-template-columns:minmax(0,1fr)}
  .item .th{width:110px;height:62px}
  .it{font-size:17px}
  .foot-in{flex-direction:column;align-items:flex-start;gap:8px}
  .flinks{margin-left:0}.copy{margin:0}
}

/* ================= 편의 기능 (v2) ================= */
/* 글자 크기 가 / 가+ */
.fsz{display:flex;border:1.5px solid #8ea0c9;border-radius:7px;overflow:hidden;background:#fff}
.fsz button{border:0;background:#fff;color:var(--navy);font-weight:800;padding:3px 12px;cursor:pointer;font-size:16px;line-height:1.5}
.fsz button+button{border-left:1px solid #c9d3e6;font-size:19px}
.fsz button[aria-pressed=true]{background:var(--navy);color:#fff}
.tools{flex-direction:column}
html.big body{font-size:19px}
html.big .body{font-size:21px}html.big .lead{font-size:21px}
html.big .news a,html.big .nlist a{font-size:20px}html.big .it{font-size:21px}html.big .is{font-size:18px}
html.big .im,html.big .crumb,html.big .hint{font-size:16px}
html.big .clist a{font-size:17.5px}html.big .transcript div{font-size:18.5px}
html.big .cmp-item h3{font-size:21px}html.big .cmp-item .sum{font-size:18px}
html.big .info{font-size:17px}html.big .subs a{font-size:17px}

/* 새 글 표시 */
.new{display:inline-block;flex:none;font-size:12px;font-weight:800;line-height:1;color:#fff;background:var(--red);border-radius:9px;padding:3px 6px;margin-left:6px;vertical-align:2px}

/* 메뉴 카드 — 대표 콘텐츠 (최신 두 건) */
.card .ch:hover,.card .ci:hover{text-decoration:none}
.card .ci{display:block}
.card .cf{padding:7px 9px 4px}
.clist{list-style:none;margin:0;padding:2px 12px 10px;background:#eceff4}
.clist li{border-top:1px solid #d7dce5}
.clist a{display:flex;align-items:center;gap:6px;padding:6px 2px;font-size:15.5px;color:#1f2633}
.clist a::before{content:"";width:5px;height:5px;border-radius:50%;background:#7d8aa3;flex:none}
.clist .tt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clist .empty{padding:6px 2px;font-size:14px}

/* 사진 넘기기 번호 */
.scount{position:absolute;right:10px;top:10px;background:rgba(0,0,0,.55);color:#fff;font-size:13px;font-weight:700;padding:2px 10px;border-radius:12px;z-index:2}

/* 검색 결과 찾은 대목 */
.snip mark{background:#fff0a8;color:inherit;padding:0 1px;border-radius:2px}
.insub{display:inline-block;font-size:12.5px;font-weight:700;color:var(--red);background:#fde8eb;border-radius:4px;padding:0 6px;margin-right:6px}

/* 영상 자료 사용량 */
.pinfo b{font-weight:800}
.pinfo{line-height:1.5}

/* 목록으로 · 단추 */
.backlist{margin-top:18px}.backlist a{display:inline-block;padding:9px 18px;border:1px solid var(--line);border-radius:6px;background:#fff}
.btn-main{display:inline-block;padding:12px 22px;background:var(--green);color:#fff;border:0;border-radius:8px;font-weight:700;font-size:17px;cursor:pointer;text-decoration:none}
.btn-main:hover{text-decoration:none;background:#0b6640}
.btn-line{display:inline-block;padding:8px 16px;border:1.5px solid var(--navy);color:var(--navy);border-radius:7px;font-weight:600;background:#fff;margin:2px 4px 2px 0}
.btn-line:hover{text-decoration:none;background:#eef3fd}
.contact.send{margin:12px 0 4px}
.notice.inpage{margin:0 0 20px}

/* 비공개 상담·제보 */
.cform{display:flex;flex-direction:column;gap:14px;max-width:760px}
.cform .fl{display:flex;flex-direction:column;gap:4px;font-weight:700}
.cform textarea,.cform input:not([type=radio]){width:100%;padding:10px 12px;border:1.5px solid #8ea0c9;border-radius:8px;font-size:17px;font-weight:400}
.cform .kinds{border:1px solid var(--line);border-radius:8px;padding:8px 14px;display:flex;flex-wrap:wrap;gap:6px 18px}
.cform .kinds legend{font-weight:700;padding:0 6px}
.cform .kinds label{display:flex;align-items:center;gap:6px;min-height:40px}
.cform .btn-main{align-self:flex-start;min-width:160px}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-err{background:#fdecee;border:1px solid #f0b4bd;border-radius:6px;padding:10px 14px;font-weight:700}
.done-box{background:#e9f6ef;border:1px solid #a9d7b9;border-radius:8px;padding:18px 22px}
.big-msg{font-size:21px;font-weight:800;color:var(--green);margin:0 0 8px}

/* 맨 위로 · 빨리 닫기 (오른쪽 아래 고정) */
.fixed-tools{position:fixed;right:max(14px,env(safe-area-inset-right,0px));bottom:max(14px,env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:flex-end;gap:8px;z-index:50}
.qexit,.totop{display:flex;align-items:center;gap:6px;border-radius:22px;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.25);cursor:pointer}
.qexit{background:#3b3f47;color:#fff;padding:9px 16px;font-size:15px}
.qexit:hover{text-decoration:none;background:#1f2228}
.qexit svg,.totop svg{width:18px;height:18px}
.totop{background:#fff;color:var(--navy);border:1px solid #c9d3e6;padding:7px 14px;font-size:14px}
body{padding-bottom:0}
@media (max-width:860px){.foot{padding-bottom:58px}}

/* 손전화 화면 — 주 메뉴 한 줄 (홈은 그림만, 짧은 이름) */
.ls{display:none}
@media (max-width:860px){
  .tools{flex-direction:row-reverse;flex-wrap:wrap}
  .fsz button{padding:3px 9px}
  .gnb-in{display:flex}
  .gnb a{flex:1 1 0;height:56px;font-size:14px;gap:3px;border-bottom:0;padding:0 2px;letter-spacing:-.6px}
  .gnb a.home{flex:0 0 52px}
  .gnb a .lf{display:none}.gnb a .ls{display:block;white-space:nowrap}
  .gnb svg{width:21px;height:21px}
  .gnb a+a:not(:nth-child(2))::before{display:block;top:12px;bottom:12px}
  .clist a{font-size:14.5px}
  .qexit{padding:8px 13px;font-size:14px}
  .totop span{display:none}.totop{padding:8px 10px}
}
@media (max-width:420px){
  .gnb a{font-size:13px}
  .sbox{flex-basis:100%;order:3}
}
@media print{.fixed-tools,.gnb,.sbox,.fsz{display:none!important}}
@media (max-width:860px){
  .bhead{flex-wrap:wrap}.bhead h2{white-space:nowrap}.bhead .note{flex-basis:100%;order:3;margin-top:-4px}
  .clist{padding:2px 8px 8px}
  .clist a{align-items:flex-start}.clist a::before{margin-top:9px}
  .clist .tt{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4}
  .clist .new{margin-top:3px}
}
.downloads li{display:flex;flex-direction:column;gap:2px}
.downloads a.alt{display:inline;align-self:flex-end;border:0;background:none;min-height:0;padding:0 4px;font-size:13px;color:var(--navy);text-decoration:underline}
.vnote{margin:0;background:#fff7e0;color:#5a4300;font-size:14px;padding:6px 12px}

/* ================= 첫 화면·메뉴 개편 (v7) — 단순하고 단정하게 ================= */
:root{
  --red:#bc0305; --navy:#055398; --navy2:#0a4a86;
  --font:"Nanum Gothic","나눔고딕","Malgun Gothic","맑은 고딕","Apple SD Gothic Neo","Noto Sans KR",sans-serif;
}
body{font-size:16px;line-height:1.65}
.ldr{font-weight:800;font-size:1.12em;letter-spacing:.01em}
.ic{display:inline-block;width:15px;height:15px;color:#4a5260;vertical-align:-2px;margin-left:4px;flex:none}

/* 머리 부분 */
.top{background:linear-gradient(180deg,#ffffff 0%,#eef5fc 100%);border-bottom:0}
.top-in{min-height:88px;gap:20px;padding-top:8px;padding-bottom:8px}
.brand img{width:250px}
.tagline{border-left:1px solid #b9c7da;padding-left:18px;padding-bottom:0}
.t-ko{font-size:19px;font-weight:700;letter-spacing:-.2px;color:var(--navy)}
.sbox{width:260px;border:1px solid #9fb2cc;border-radius:3px}
.sbox input{padding:6px 10px;font-size:15px}
.sbox button{width:40px;background:var(--navy)}
.sbox button svg{width:19px;height:19px}
.fsz{border:1px solid #9fb2cc;border-radius:3px}
.fsz button{font-size:14px;padding:2px 10px}.fsz button+button{font-size:16px}
.tools{gap:6px}

/* 주 메뉴 막대 */
.gnb{background:var(--navy);border-bottom:3px solid var(--red)}
.gnb-in{display:flex}
.gnb a{flex:1 1 auto;height:46px;font-size:17px;font-weight:800;letter-spacing:0;gap:0;padding:0 10px}
.gnb a+a:not(:nth-child(2))::before{display:none}
.gnb a+a::after{content:"";position:absolute;left:0;top:14px;bottom:14px;width:1px;background:rgba(255,255,255,.28)}
.gnb a.on{background:#043f75}
.gnb a:hover{background:#04467f;text-decoration:none}

/* 대표 배너 높이 4종 */
.hero.h-low img{aspect-ratio:1920/240}
.hero.h-lower img{aspect-ratio:1920/200}
.hero.h-lowest img{aspect-ratio:1920/166}

/* 맨 위 — 혁명활동소식 큰 사진 칸 */
.lead{position:relative;margin-top:30px;border:1px solid var(--red);padding:26px 16px 14px;background:#fff}
.ltab{position:absolute;top:-17px;left:50%;transform:translateX(-50%);margin:0;background:var(--red);color:#fff;font-size:19px;font-weight:800;letter-spacing:.12em;padding:4px 30px;white-space:nowrap;max-width:94%;overflow:hidden;text-overflow:ellipsis}
.ltab a:hover{text-decoration:none}
.lead-in{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:start}
.lfig{margin:0}
.lfig img{width:100%;aspect-ratio:16/10;object-fit:cover;background:#e9edf3}
.lfig figcaption{background:var(--red);color:#fff;text-align:center;padding:7px 12px;font-size:17px;font-weight:700}
.lfig figcaption time{font-weight:400;font-size:14px;opacity:.9}
.lead-in{align-items:stretch}
.llist{list-style:none;margin:0;padding:0 4px 0 0;contain:size;overflow:auto}
.llist li{border-bottom:1px dashed #e3c2c2}
.llist a{display:block;padding:10px 2px 10px 16px;position:relative;font-size:16.5px;line-height:1.55;color:#1d1d1d}
.llist a::before{content:"";position:absolute;left:2px;top:17px;border:5px solid transparent;border-left:7px solid var(--red);border-right:0}
.llist time{color:#666;font-size:13.5px;white-space:nowrap}

/* 중요소식 · 혁명일화 */
.home-grid{margin-top:28px;gap:26px}
.bhead{background:#f2f5f9;border-top:2px solid var(--navy);padding:6px 12px;margin-bottom:6px}
.bhead h2{border-left:0;padding-left:0;font-size:19px;font-weight:800;color:var(--navy);letter-spacing:0}
.notice .bhead{border-top-color:var(--red);background:#fbf0f0}.notice .bhead h2{color:var(--red)}
.today{border-right:0;padding-right:0;box-shadow:none}
.news li{border-top:0;border-bottom:1px solid #e4e8ee}.news li:last-child{border-bottom:1px solid #e4e8ee}
.news a{display:flex;align-items:center;gap:8px;padding:9px 4px;font-size:16.5px;font-weight:400}
.news .tt{flex:0 1 auto}.news time{margin-left:auto;font-size:13.5px;color:#666}
.nth{width:120px;height:68px;object-fit:cover;flex:none;margin-right:4px}
.notice{background:#fff;border:1px solid #ecd3d3;border-radius:0;padding:0 0 4px}
.notice .bhead{margin:0}
.nlist li{border-top:0;border-bottom:1px solid #f0e2e2;padding:0 10px}
.nlist a{display:block;padding:8px 0;font-size:16px;font-weight:400}
.nlist .tt{white-space:normal}.nlist time{font-size:13.5px;color:#666;white-space:nowrap}
.where img{border-radius:0}

/* 메뉴 카드 */
.cards{margin-top:28px;gap:14px}
.card{border-radius:0;box-shadow:none;border:1px solid #d9dfe8;background:#fff}
.ch{padding:5px 12px}
.ch b{font-size:18px;letter-spacing:0}.ch svg{width:20px;height:20px;color:#fff}
.c-red .ch,.c-navy .ch,.c-green .ch{color:#fff}
.c-navy .ch{background:var(--navy)}.c-green .ch{background:#0f7a4a}.c-red .ch{background:var(--red)}
.card .cf{font-size:14.5px;color:#444;padding:6px 8px 2px}
.clist{background:#fff;padding:2px 10px 8px}
.clist li{border-top:1px solid #e8ebf0}
.clist a{font-size:15px}

/* 목록 화면 */
.page.wide{max-width:1460px}
.ph{font-size:24px;border-bottom:2px solid var(--navy);padding-bottom:6px;color:var(--navy)}
.subs a{border-radius:2px;font-size:14.5px;padding:4px 12px}
.it{font-size:17.5px}
.item .th{border-radius:0}
.dh h1{font-size:26px}
.body{font-size:17px}

/* OTT 형식 — 국제소식·국제생활 */
.shelf{margin:16px 0 28px}
.shead{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.shead h2{margin:0;font-size:19px;font-weight:800;border-left:4px solid var(--red);padding-left:10px;line-height:1.2}
.shead .more{font-size:14px;color:#444}
.row,.grid{list-style:none;margin:0;padding:0}
.row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 3*14px)/4);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
.row.books{grid-auto-columns:calc((100% - 5*14px)/6)}
.row>li{scroll-snap-align:start}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px 14px}
.grid.books{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.tile a{display:block}.tile a:hover{text-decoration:none}.tile a:hover .tt{text-decoration:underline}
.tp{position:relative;display:block;aspect-ratio:16/9;background:#1d2533;overflow:hidden;border-radius:4px}
.tile.book .tp{aspect-ratio:3/4;border-radius:2px;box-shadow:2px 3px 8px rgba(0,0,0,.25)}
.tp img{width:100%;height:100%;object-fit:cover}
.noimg{position:absolute;inset:0;display:grid;place-items:center;color:#fff;padding:12px;text-align:center;font-weight:800;font-size:15px;background:linear-gradient(135deg,#055398,#0a2a55)}
.tile.book .noimg{background:linear-gradient(160deg,#7a1215,#3d0a0b)}
.play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;background:rgba(188,3,5,.88);display:grid;place-items:center}
.play svg{width:26px;height:26px}
.tp .dur{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:1px 6px;border-radius:3px}
.tile .tt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:7px;font-size:15.5px;font-weight:700;line-height:1.45;white-space:normal}
.tile .td{display:block;font-size:13px;color:#666;margin-top:2px}

/* 글 화면 — 음악·도서 */
.audiobox,.bookbox{margin-top:22px}
.audiobox h2{font-size:19px;margin:0 0 8px}
.audiobox figure{margin:0 0 10px;padding:10px 12px;border:1px solid #d9dfe8;background:#f7f9fc}
.audiobox figcaption{font-weight:700;margin-bottom:6px}
.audiobox audio{width:100%}
.bookbox .btn-main{background:var(--navy)}
.expert{margin-top:22px}

/* 바닥 */
.foot{background:#0a2a55}

@media (max-width:1100px){.gnb a{font-size:15.5px;padding:0 6px}}
@media (max-width:860px){
  .brand img{width:170px}.t-ko{font-size:15px}
  .gnb-in{overflow-x:auto;scrollbar-width:none}
  .gnb a,.gnb a.home{flex:0 0 auto;height:44px;padding:0 13px;font-size:15px}
  .gnb a .lf{display:none}.gnb a .ls{display:block}
  .gnb a+a::after{top:13px;bottom:13px}
  .hero.h-low img{aspect-ratio:3.72/1}.hero.h-lower img{aspect-ratio:4.46/1}.hero.h-lowest img{aspect-ratio:5.38/1}
  .lead{padding:24px 10px 10px}.ltab{font-size:16px;padding:3px 16px;letter-spacing:.04em}
  .lead-in{grid-template-columns:minmax(0,1fr)}
  .lfig figcaption{font-size:15px}
  .llist{contain:none;max-height:none}
  .nth{width:90px;height:51px}
  .news a{flex-wrap:wrap}.news time{margin-left:0}
  .row{grid-auto-columns:72%}.row.books{grid-auto-columns:40%}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.books{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.clist time,.rlist time{flex:none;color:#666;font-size:12.5px;white-space:nowrap}
.news .tt{white-space:normal}
@media (max-width:860px){.news a{align-items:flex-start}.news .tt{flex:1 1 100%}.nth{flex-basis:100%;width:100%;height:auto;aspect-ratio:16/9}}

/* ===== v7.1 — 혁명활동소식 칸 연한 바탕, 사진 그대로, 가로로 넓은 메뉴 글꼴 ===== */
:root{--sq:"NanumSquare","Nanum Gothic","Malgun Gothic",sans-serif;--pink:#fbf0f0;--pinkline:#ecd3d3}
.gnb a{font-family:var(--sq);font-weight:700;font-size:17.5px;letter-spacing:.02em}
.bhead h2,.ch b,.shead h2,.ph{font-family:var(--sq);font-weight:700;letter-spacing:.01em}
.lead{border:1px solid var(--pinkline);background:#fdf7f7;padding:0 16px 16px;margin-top:24px}
.ltab{position:static;transform:none;max-width:none;margin:0 -16px 16px;background:var(--pink);border-bottom:1px solid var(--pinkline);color:var(--red);
  font-family:var(--sq);font-weight:700;font-size:21px;letter-spacing:.04em;text-align:center;padding:8px 16px;white-space:normal}
.ltab .ldr{font-weight:800;font-size:1.18em}
.lfig img{aspect-ratio:auto;height:auto;max-height:620px;object-fit:contain;background:transparent;margin:0 auto}
.lfig figcaption{background:none;color:#1d1d1d;text-align:center;padding:9px 6px 0;font-size:16.5px;font-weight:400}
.lfig figcaption time{color:#666;font-size:13.5px}
.llist li{border-bottom-color:#ead0d0}
.notice .bhead{background:var(--pink)}
@media (max-width:860px){.ltab{font-size:17px;padding:7px 10px;letter-spacing:.01em}.gnb a{font-size:15.5px}}
/* 메뉴 띠 — 빨간 줄 대신 남색 그러데이션과 그림자로 입체감 */
.gnb{background:linear-gradient(180deg,#2a78bf 0%,#0a5ca6 45%,#055398 55%,#04427c 100%);border-bottom:2px solid #032f59;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 2px 5px rgba(0,0,0,.28);position:relative;z-index:2}
.gnb a.on{background:linear-gradient(180deg,#04427c 0%,#03335f 100%);box-shadow:inset 0 2px 4px rgba(0,0,0,.35)}
.gnb a:hover{background:linear-gradient(180deg,#1a6db8 0%,#04498a 100%)}
.gnb a{text-shadow:0 1px 1px rgba(0,0,0,.35)}

/* ===== 기사 제목·본문 글꼴 (관리 → 설정에서 고름, /site-fonts.css 가 --ftitle·--fbody 를 정한다) ===== */
body{font-family:var(--fbody,var(--font))}
.body,.body.original,.lead,.is{font-family:var(--fbody,var(--font))}
.dh h1,.it,.tt,.lfig figcaption,.llist a,.cmp-item h3,.tile .tt{font-family:var(--ftitle,var(--font))}
/* 본문 양쪽 맞춤 */
.body p,.body li,.lead{text-align:justify}
.body.original{text-align:justify}
/* 주 메뉴 글꼴 — 가로로 조금 늘리고 자간을 조금 넓힘 */
.gnb a .lf{display:inline-block;transform:scaleX(1.08);letter-spacing:.08em}
.gnb a .ls{display:none}
@media (max-width:860px){.gnb a .lf{display:none}.gnb a .ls{display:inline-block;transform:scaleX(1.05);letter-spacing:.04em}}
/* 빨리 닫기 — 글자 대신 전원 아이콘 둥근 단추 */
.qexit{width:48px;height:48px;padding:0;border-radius:50%;justify-content:center;background:#fff;color:#2f3540;border:2px solid #8a93a3;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.qexit svg{width:26px;height:26px}
.qexit span{display:none}
.qexit:hover{background:#f1f3f6;color:#000;border-color:#5b6576}
@media (max-width:860px){.qexit{width:44px;height:44px;padding:0}.qexit svg{width:24px;height:24px}}
