/* ===== Pretendard (SIL Open Font License 1.1) ===== */
@font-face{font-family:"Pretendard";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/Pretendard-Regular-subset.woff2") format("woff2")}
@font-face{font-family:"Pretendard";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/Pretendard-Bold-subset.woff2") format("woff2")}
:root{--font-sans:"Pretendard","Apple SD Gothic Neo","Malgun Gothic","Hiragino Sans","Yu Gothic","Noto Sans JP","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;--font-base:var(--font-sans)}
body{font-family:var(--font-sans)}
/* ===== 상단 메뉴 (언어별, 하위 메뉴) ===== */
.minish-nav{display:none;list-style:none;margin:0;padding:0;gap:clamp(20px,2.4vw,36px);align-items:center;white-space:nowrap}
html:not([data-lang]) .minish-nav[data-menu="ko"],html[data-lang="ko"] .minish-nav[data-menu="ko"],html[data-lang="en"] .minish-nav[data-menu="en"],html[data-lang="ja"] .minish-nav[data-menu="ja"]{display:flex}
.minish-nav a{color:inherit;text-decoration:none}
.minish-nav>li{position:relative}
.minish-nav>li>a{display:inline-block;padding:18px 0}
.minish-sub{display:none;position:absolute;top:100%;left:-18px;min-width:190px;margin:0;padding:10px 0;list-style:none;background:#fff;color:#15171a;box-shadow:0 8px 28px rgba(0,0,0,.12);border-radius:6px;z-index:100;font-weight:500}
.minish-sub a{display:block;padding:9px 20px}
.minish-sub a:hover{background:#f4f4f4}
.minish-nav>li:hover .minish-sub,.minish-nav>li:focus-within .minish-sub{display:block}
@media (max-width:991px){
 .is-head-open #gh-head .minish-nav{flex-direction:column;align-items:center;gap:22px}
 .is-head-open #gh-head .minish-nav>li>a{padding:0;font-size:2.4rem;font-weight:700}
 .is-head-open #gh-head .minish-sub{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 16px;position:static;box-shadow:none;background:none;padding:8px 0 0;min-width:0}
 .is-head-open #gh-head .minish-sub a{padding:4px 0;font-size:1.6rem;opacity:.75}
 .is-head-open #gh-head }

/* ===== 바탕, 폭 ===== */
body,.site,.site-content{background:#f4f5f7}
.home-wide{width:100%;max-width:1240px;margin-left:auto;margin-right:auto;padding-left:4vw;padding-right:4vw;box-sizing:border-box}

/* ===== 구획 제목 ===== */
.home-section{margin-top:clamp(32px,6vw,64px)}
.home-section-head{display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid #15171a;padding-bottom:10px}
.home-section-title{font-size:2.4rem;font-weight:700;letter-spacing:-.01em;margin:0}
.home-section-more{font-size:1.4rem;font-weight:600;text-decoration:none;opacity:.7}
.home-section-more:hover{opacity:1}
.feed-header.home-wide{margin-bottom:0}

/* ===== 카드 (모바일 기본: 한 줄에 1개, 사진이 위) ===== */
.feed-tag{font-size:1.4rem;font-weight:600;color:var(--ghost-accent-color,#1ba3cc);margin-bottom:8px;line-height:1.3}
.post-feed.news-list{margin-top:16px}
.post-feed.news-list .feed{flex-direction:column;align-items:stretch;padding:0;margin:0 0 16px;background:#fff;border-radius:14px;overflow:hidden;border-top:0;line-height:1.3}
.post-feed.news-list .feed-image{width:100%;margin:0;border-radius:0}
.post-feed.news-list .feed-wrapper{width:100%;box-sizing:border-box;padding:20px 22px 24px;flex-direction:column;margin-top:0;min-width:0}
.post-feed.news-list .feed-title{font-size:2rem;font-weight:700;line-height:1.35;padding:0;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all}
.post-feed.news-list .feed-excerpt{display:none!important}
.post-feed.news-list .feed-right{margin-top:14px;color:#222;font-size:1.5rem}
.post-feed.news-list .feed-icon{display:none}

/* ===== PC: 3열 ===== */
@media (min-width:992px){
 .home-section-title{font-size:3rem;letter-spacing:-.02em}
 .home-section-head{padding-bottom:14px}
 .post-feed.news-list.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:24px}
 .post-feed.news-list.news-grid .feed{margin:0}
 .post-feed.news-list.news-grid .feed-wrapper{padding:24px 26px 26px}
 .post-feed.news-list.news-grid .feed-title{font-size:2.1rem}
}

/* ===== 대표 기사 카드 ===== */
.home-lead{margin-top:20px}
.lead-card{display:block;background:#fff;border-radius:14px;overflow:hidden;text-decoration:none;color:inherit}
.lead-image img{display:block;width:100%;height:auto;max-height:420px;object-fit:cover}
.lead-body{padding:22px 24px 26px}
.lead-title{font-size:2.4rem;line-height:1.3;margin:0 0 12px;font-weight:700;word-break:keep-all}
.lead-excerpt{font-size:1.6rem;line-height:1.5;margin:0 0 14px;color:#444;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lead-date{font-size:1.5rem;color:#222}
@media (min-width:992px){
 .lead-card{display:grid;grid-template-columns:1.2fr 1fr;align-items:stretch}
 .lead-image img{height:100%;max-height:none;min-height:340px}
 .lead-body{align-self:center;padding:40px}
 .lead-title{font-size:3.2rem}
}

/* 테마 기본 규칙(위아래 여백)을 이기도록 우선순위를 높임: 사진이 카드 맨 위에 꽉 차게 */
.post-feed.expanded.news-list:not(.text-only) .feed{padding:0;border-top:0}
.post-feed.expanded.news-list:not(.text-only) .feed-wrapper{margin-top:0}

/* 구독 버튼 문구: 언어별 */
.gh-head-btn .t-en,.gh-head-btn .t-ja{display:none}
html[data-lang="en"] .gh-head-btn .t-ko,html[data-lang="ja"] .gh-head-btn .t-ko{display:none}
html[data-lang="en"] .gh-head-btn .t-en{display:inline}
html[data-lang="ja"] .gh-head-btn .t-ja{display:inline}

/* ===== 언어 선택: 현재 언어 박스 + 드롭다운 ===== */
.minish-lang-item{margin-left:8px}
.minish-lang{position:relative;font-size:1.4rem;font-weight:500}
.minish-lang summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:96px;padding:7px 12px;border:1px solid #c9ccd1;border-radius:4px;background:#fff;color:#15171a;line-height:1.2}
.minish-lang summary::-webkit-details-marker{display:none}
.minish-lang summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:auto}
.minish-lang[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.minish-lang .l-en,.minish-lang .l-ja{display:none}
html[data-lang="en"] .minish-lang .l-ko,html[data-lang="ja"] .minish-lang .l-ko{display:none}
html[data-lang="en"] .minish-lang .l-en{display:inline}
html[data-lang="ja"] .minish-lang .l-ja{display:inline}
.minish-lang-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #c9ccd1;border-radius:4px;box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:200;overflow:hidden}
.minish-lang-menu a{display:block;padding:9px 12px;color:#15171a!important;text-decoration:none}
.minish-lang-menu a:hover{background:#f4f4f4}
html[data-lang="ko"] .minish-lang-menu a[data-l="ko"],html[data-lang="en"] .minish-lang-menu a[data-l="en"],html[data-lang="ja"] .minish-lang-menu a[data-l="ja"],html:not([data-lang]) .minish-lang-menu a[data-l="ko"]{display:none}
@media (max-width:991px){.is-head-open #gh-head .minish-lang-item{margin:8px 0 0}.is-head-open #gh-head .minish-lang{font-size:1.6rem}}

/* 상단 메뉴 글자 크기: 옛 뉴스룸처럼 크고 굵게 */
.minish-nav{font-size:1.8rem;font-weight:700;gap:clamp(24px,3vw,44px)}
.minish-sub{font-size:1.5rem}

/* 헤더·하단 폭을 본문 카드 영역과 같게 맞춤 */
.gh-head.gh-outer,.gh-foot.gh-outer{padding-left:0;padding-right:0}
.gh-head-inner,.gh-foot-inner{width:100%;max-width:1240px;margin-left:auto;margin-right:auto;padding-left:4vw;padding-right:4vw;box-sizing:border-box}


/* ===== 기사 화면 ===== */
.i18n .t-en,.i18n .t-ja{display:none}
html[data-lang="en"] .i18n .t-ko,html[data-lang="ja"] .i18n .t-ko{display:none}
html[data-lang="en"] .i18n .t-en{display:inline}
html[data-lang="ja"] .i18n .t-ja{display:inline}
.post-template .single,.page-template .single{width:min(calc(100% - 8vw),calc(1240px - 8vw));margin:40px auto 0;padding:56px 0 64px;background:#fff;border-radius:14px;box-sizing:border-box}
.post-template .single .gh-canvas,.page-template .single .gh-canvas{display:block;width:100%;max-width:820px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px;box-sizing:border-box}
.post-template .single .gh-content>*{max-width:100%}
.post-template .single-media,.page-template .single-media{margin-left:0;margin-right:0}
.post-template .single img,.page-template .single img{max-width:100%;height:auto}
@media (max-width:640px){.post-template .single,.page-template .single{width:calc(100% - 24px);margin-top:16px;padding:28px 0 36px;border-radius:12px}.post-template .single .gh-canvas,.page-template .single .gh-canvas{padding-left:16px;padding-right:16px}}
.single-header .post-cat{display:inline-block;margin-bottom:14px;font-size:1.6rem;text-decoration:none}
.single-title{font-size:clamp(2.8rem,5vw,4.2rem);line-height:1.25;letter-spacing:-.02em;word-break:keep-all}
.single-excerpt{font-size:1.9rem;line-height:1.55;color:#444}
.post-meta-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:22px 0 28px;padding-bottom:18px;border-bottom:1px solid #e6e6e6}
.post-date{font-size:1.5rem;color:#777}
.post-share{display:flex;align-items:center;gap:8px}
.share-copy{font:inherit;font-size:1.3rem;font-weight:600;padding:7px 14px;border:1px solid #c9ccd1;border-radius:999px;background:#fff;color:#15171a;cursor:pointer}
.share-icon{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border:1px solid #c9ccd1;border-radius:50%;color:#15171a}
.share-icon svg{width:16px;height:16px;fill:currentColor}
.single-media img{border-radius:10px}
.single-content{font-size:1.8rem;line-height:1.8}
.single-content p{word-break:keep-all}
.related-band{margin-top:40px;padding:8px 0 48px;background:#f4f5f7}
.post-template .single-header,.page-template .single-header{text-align:left}
.post-template .single-header .post-cat{display:inline-block}
.post-template .single-title,.post-template .single-excerpt,.page-template .single-title,.page-template .single-excerpt{text-align:left;margin-left:0;margin-right:0;max-width:none}
.sub-wrap{max-width:820px;margin:48px auto 0;padding:0 24px;box-sizing:border-box}
.sub-box{background:#eef8fb;border-radius:12px;padding:32px 28px;text-align:left}
.sub-title{margin:0 0 6px;font-size:2.2rem;letter-spacing:-.01em}
.sub-desc{margin:0 0 18px;font-size:1.6rem;color:#444}
.sub-form{display:flex;gap:10px;flex-wrap:wrap}
.sub-input{flex:1 1 240px;min-width:0;height:48px;padding:0 16px;font:inherit;font-size:1.6rem;border:1px solid #c9ccd1;border-radius:999px;background:#fff}
.sub-btn{height:48px;padding:0 26px;border:0;border-radius:999px;background:var(--ghost-accent-color,#1ba3cc);color:#fff;font:inherit;font-size:1.6rem;font-weight:700;cursor:pointer}
.sub-msg{display:none;margin:12px 0 0;font-size:1.5rem}
.sub-form.success~.sub-ok{display:block;color:#117a3e}
.sub-form.error~.sub-err{display:block;color:#c0392b}
.sub-form.loading .sub-btn{opacity:.6}
@media (max-width:640px){.sub-wrap{padding:0 16px}.sub-box{padding:24px 20px}.sub-btn{width:100%}}
@media (max-width:991px){
 .is-head-open #gh-head .gh-head-menu{align-items:flex-start;padding:8px 28px 24px;margin:0;justify-content:flex-start}
 .is-head-open #gh-head .minish-nav{flex-direction:column;align-items:flex-start;gap:26px;width:100%;white-space:normal}
 .is-head-open #gh-head .minish-nav>li{width:100%;text-align:left}
 .is-head-open #gh-head .minish-nav>li>a{font-size:2.1rem;font-weight:700;padding:0;display:block}
 .is-head-open #gh-head .minish-sub{display:flex!important;position:static;flex-wrap:wrap;gap:6px 18px;margin:8px 0 0;padding:0;border:0;box-shadow:none;background:transparent;min-width:0;opacity:1;visibility:visible;transform:none}
 .is-head-open #gh-head .minish-sub li{padding:0}
 .is-head-open #gh-head .minish-sub a{font-size:1.6rem;font-weight:500;color:#666;padding:0;display:inline}
 .is-head-open #gh-head .minish-lang-item{margin:6px 0 0;width:100%;text-align:left}
 .is-head-open #gh-head .minish-lang{display:block;width:180px}
 .is-head-open #gh-head .minish-lang-menu{position:static;margin-top:6px;box-shadow:none}
}
@media (max-width:991px){
 .is-head-open #gh-head .minish-sub{justify-content:flex-start!important;align-items:flex-start;padding:0!important;margin:6px 0 0!important;text-align:left;width:100%}
 .is-head-open #gh-head .minish-sub li{margin:0}
 .is-head-open #gh-head .minish-nav{gap:20px}
 .is-head-open #gh-head .minish-lang-item{margin-top:14px}
}
.minish-lang-mobile{display:none}
@media (max-width:991px){
 .minish-lang-mobile{display:block;margin-left:auto;margin-right:14px;position:relative;z-index:5}
 .minish-lang-mobile .minish-lang{font-size:1.4rem}
 .minish-lang-mobile .minish-lang summary{min-width:92px;padding:6px 10px}
 .minish-lang-mobile .minish-lang-menu{left:auto;right:0;min-width:120px;position:absolute}
 .minish-lang-item{display:none!important}
 .is-head-open .minish-lang-mobile{display:none}
}
@media (max-width:991px){
 .gh-head-brand{display:flex!important;flex-wrap:nowrap!important;align-items:center;width:100%;min-height:64px}
 .gh-head-brand-wrapper{margin-right:auto;min-width:0;flex:1 1 auto}
 .gh-head-logo{font-size:2.2rem;white-space:nowrap}
 .gh-head-brand .gh-search{margin-right:4px;flex:0 0 auto}
 .minish-lang-mobile{margin:0 10px 0 0;flex:0 0 auto}
 .minish-lang-mobile .minish-lang summary{min-width:0;width:88px;padding:5px 8px;font-size:1.3rem}
 .gh-burger{flex:0 0 30px}
}
.gh-burger{background-image:linear-gradient(#15171a,#15171a);background-repeat:no-repeat;background-size:20px 2px;background-position:5px 14px}
.gh-burger:before,.gh-burger:after{left:5px!important;width:20px!important;height:2px!important;border-radius:1px;background-color:#15171a!important}
.gh-burger:before{top:8px!important}
.gh-burger:after{bottom:8px!important}
.is-head-open .gh-burger{background-image:none}
.is-head-open .gh-burger:before{top:14px!important;transform:rotate(45deg)}
.is-head-open .gh-burger:after{bottom:14px!important;transform:rotate(-45deg)}
.sub-title,.sub-desc,.lead-title,.lead-excerpt,.feed-title,.home-section-title,.feed-tag,.related-band .feed-title{word-break:keep-all;overflow-wrap:break-word}
.sub-title{font-size:clamp(1.9rem,5.2vw,2.2rem);line-height:1.35}
.sub-desc{font-size:1.7rem;font-weight:600;color:#15171a;margin-bottom:16px}
.sec-chips{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 28px}
.sec-chip{display:inline-block;padding:10px 20px;border:1px solid #e3e5e8;border-radius:999px;background:#fff;color:#15171a;font-size:1.5rem;font-weight:700;line-height:1.2;text-decoration:none;word-break:keep-all}
.sec-chip:hover{border-color:#15171a}
.sec-chip.is-active{background:#9a9ea5;border-color:#9a9ea5;color:#fff}
@media (min-width:992px){
 #gh-head{position:sticky!important;top:0;z-index:100;background:#fff!important;border-bottom:1px solid #e6e8eb}
}
/* 일본어: keep-all 해제(글자 단위 줄바꿈) */
html[data-lang="ja"] .site,html[data-lang="ja"] .site *,body.tag-hash-ja .site *{word-break:normal!important;line-break:strict;overflow-wrap:anywhere}
/* 모바일 가로 넘침 방지(전 언어 공통) */
.site,.site-main,.gh-canvas,.single,.single-content,.feed,.feed-wrapper,.lead-card,.lead-body,.post-feed{min-width:0}
.feed,.feed-wrapper,.lead-card,.lead-body{max-width:100%}
.single-title,.single-content,.single-content *,.lead-title,.lead-excerpt,.feed-title,.feed-excerpt,.sub-desc{overflow-wrap:anywhere}
.single-content img,.single-content video,.single-content figure,.single-content .kg-card{max-width:100%;height:auto}
.single-content iframe{display:block;max-width:100%!important;border:0}
.single-content iframe[src*="youtube"],.single-content iframe[src*="youtu.be"],.single-content iframe[src*="vimeo"]{width:100%!important;height:auto!important;aspect-ratio:16/9}
.single-content .minish-ig{max-width:540px;margin:28px auto}
.single-content iframe.instagram-media{margin:0 auto!important}
.single-content .kg-embed-card{margin:28px 0}
.single-content a{overflow-wrap:anywhere;word-break:break-all}
.single-content table{display:block;max-width:100%;overflow-x:auto}
.single-content pre{max-width:100%;overflow-x:auto}
html,body{overflow-x:clip}
/* 일본어: keep-all 해제(글자 단위 줄바꿈) */
html[data-lang="ja"] .site,html[data-lang="ja"] .site *,body.tag-hash-ja .site *{word-break:normal!important;line-break:strict}
/* 기사 제목: 홈 제목과 같은 굵기/크기 */
.post-template .single-title,.page-template .single-title{font-size:clamp(2.6rem,2.6vw,3.2rem);font-weight:700;line-height:1.3;letter-spacing:-.02em}
/* 본문 소제목 크기 축소 */
.post-template .single-content h2{font-size:2.2rem;font-weight:700;line-height:1.45;letter-spacing:-.01em;margin:1.6em 0 .6em}
.post-template .single-content h3{font-size:2rem;font-weight:700;line-height:1.45;margin:1.5em 0 .5em}
.post-template .single-content h4{font-size:1.8rem;font-weight:700;line-height:1.5;margin:1.4em 0 .5em}
@media (max-width:767px){.post-template .single-content h2{font-size:2rem}.post-template .single-content h3{font-size:1.8rem}}
/* 소제목: 본문보다 조금 크게 + 볼드 */
.post-template .single-content h2{font-size:2rem;font-weight:700;line-height:1.5;margin:1.5em 0 .5em}
.post-template .single-content h3{font-size:1.9rem;font-weight:700;line-height:1.5}
.post-template .single-content h4{font-size:1.8rem;font-weight:700;line-height:1.5}
@media (max-width:767px){.post-template .single-content h2{font-size:1.9rem}.post-template .single-content h3{font-size:1.8rem}.post-template .single-content h4{font-size:1.7rem}}
/* 로고 이미지 크기 */
.gh-head-logo img{height:36px;width:auto;max-height:none;display:block}
@media (max-width:991px){.gh-head-logo img{height:22px}}
/* PC 헤더: 로고 칸은 로고 폭, 메뉴는 남는 칸 안에서 (일본어 등 긴 메뉴가 로고를 침범하지 않게) */
@media (min-width:992px){
 .is-head-left-logo .gh-head-inner{grid-template-columns:auto minmax(0,1fr) auto;column-gap:clamp(28px,3.4vw,64px)}
 .is-head-left-logo .gh-head-menu{justify-content:center;margin:0;min-width:0}
 .minish-nav{gap:clamp(14px,1.9vw,34px)}
 .gh-head-logo img{height:32px}
}
/* 모바일에서도 상단 메뉴 고정 (메뉴 열림 상태는 기존 규칙이 우선) */
@media (max-width:991px){
 #gh-head{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e6e8eb}
}
/* 푸터 */
.minish-foot{margin-top:64px;padding:0!important;border-top:1px solid #e3e5e8;background:#fff}
.minish-foot .gh-foot-inner{display:block;padding-top:28px;padding-bottom:32px}
.minish-copy{margin:0;font-size:1.3rem;line-height:1.5;color:#6b7280;letter-spacing:.01em}
.minish-foot .gh-foot-inner{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap}
.minish-foot-right{display:flex;align-items:center;gap:20px}
.minish-foot .gh-social-links{display:flex;align-items:center;gap:18px}
.minish-foot .gh-social-links a{display:inline-flex;color:#6b7280}
.minish-foot .gh-social-links a:hover{color:#15171a}
.minish-foot .gh-social-links svg{width:20px;height:20px;fill:currentColor}
@media (max-width:767px){.minish-foot .gh-foot-inner{flex-direction:column;align-items:flex-start}}
/* PC: 카드 이미지 마우스 오버 시 천천히 확대 */
@media (min-width:992px) and (hover:hover){
 .post-feed.news-list .feed-image,.lead-image{overflow:hidden}
 .post-feed.news-list .feed-image img,.lead-image img{transition:transform .6s cubic-bezier(.2,.6,.2,1);will-change:transform}
 .post-feed.news-list .feed:hover .feed-image img,.lead-card:hover .lead-image img{transform:scale(1.07)}
}
@media (prefers-reduced-motion:reduce){.feed-image img,.lead-image img{transition:none!important;transform:none!important}}
/* 본문 영상 카드 */
.single-content .minish-video{margin:28px 0}
.single-content .minish-video video{display:block;width:100%;height:auto;max-height:80vh;border-radius:10px;background:#000}
.single-content .minish-video figcaption{margin-top:10px;font-size:1.4rem;line-height:1.5;color:#6b7280;text-align:center}
