/* ===== 공통 프렐류드 (테마 6~12 공유 규칙) ===== */
:root{--bs-dark:#333;--t-bg:#fff;--t-ink:#1d1d1d;--t-muted:#777;--t-line:#e5e5e5;--hdr-h:80px;--t-font:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,system-ui,Roboto,sans-serif;--t-serif:'Noto Serif KR',serif}
html{scroll-behavior:smooth}
html body.theme-9{font-family:var(--t-font);color:var(--t-ink);background:var(--t-bg);min-height:100vh;display:flex;flex-direction:column;font-size:16px;letter-spacing:-.01em;word-break:keep-all;overflow-x:hidden}
html body.theme-9 main{flex:1 0 auto;width:100%;background:var(--t-bg);padding:0}
html body.theme-9 a{color:inherit}
html body.theme-9 a:hover{color:inherit}
html body.theme-9 img{max-width:100%}
html body.theme-9 .logo-container{display:flex;align-items:center;}
html body.theme-9 #logoArea img{max-height:44px;width:auto;display:block}
html body.theme-9 .navbar-brand{margin:0;font-weight:700}
html body.theme-9 .navbar-toggler{border:0;color:inherit;font-size:30px;line-height:1;padding:.25rem .5rem}
html body.theme-9 .navbar-toggler:focus{box-shadow:none}
html body.theme-9 .navbar-nav .dropdown-menu{border-radius:0;font-size:15px;min-width:180px}
html body.theme-9 .navbar-nav .dropdown-menu .dropdown-item{padding:.55rem 1.1rem;white-space:normal}
@media (min-width:992px){html body.theme-9 .navbar-nav .dropdown:hover>.dropdown-menu{display:block;margin-top:0}}
html body.theme-9 .link-list ul,
html body.theme-9 .navbar-top ul{list-style:none}
html body.theme-9 .link-list ul{display:flex;align-items:center;gap:14px;margin:0;padding:0}
html body.theme-9 .link-list ul li a{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:13px;line-height:1.2}
html body.theme-9 .link-list ul li a br{display:none}
html body.theme-9 .link-list ul li a img{width:20px!important;height:20px!important}
html body.theme-9 .footer-side-links{position:fixed;right:18px;bottom:22px;z-index:40}
html body.theme-9 .footer-side-links ul{list-style:none;margin:0;padding:0}
html body.theme-9 .btn-scroll-top{width:44px;height:44px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff}
html body.theme-9 .wani-link-list-bg-block .bg-wrapper{position:relative}
html body.theme-9 .wani-link-list-bg-block .overlay{position:absolute;inset:0;background:#000;opacity:.5}
html body.theme-9 .wani-link-list-bg-block .container{position:relative;z-index:3}
html body.theme-9 .wani-link-list-bg-block .button-list{display:flex;gap:16px}
html body.theme-9 .slide-item .cover-slide-img{width:100%}
html body.theme-9 .wani-latest-list-section{padding:90px 0}
html body.theme-9 .wani-latest-list-section .list-group-item{display:flex;align-items:center;justify-content:space-between;background:transparent}
html body.theme-9 .board-container .container,
html body.theme-9 .page-container.sub .container{max-width:1200px}
html body.theme-9 .page-body h1{font-size:2.2rem;font-weight:700;word-break:auto-phrase}
html body.theme-9 .page-body h2{font-size:1.7rem;font-weight:700;word-break:auto-phrase}
html body.theme-9 .page-body h3{font-size:1.4rem;font-weight:600;word-break:auto-phrase}
html body.theme-9 .page-body h4,
html body.theme-9 .page-body h5,
html body.theme-9 .page-body h6{font-weight:600;word-break:auto-phrase}
html body.theme-9 .page-body .lead{font-weight:500}
@media (max-width:991.98px){html body.theme-9 .footer-side-links{right:12px;bottom:14px}}

/* 커버 슬라이드(제목·부제·버튼이 사진 위에 얹힌 형태) — 각 테마가 블록 크기를 정하고 글자 크기는 여기서 맞춘다 */
html body.theme-9 .wani-cover-slide-block .slide-item .cover-overlay{height:100%;opacity:.38}
html body.theme-9 .wani-cover-slide-block .slide-item .cover-slide-img{position:relative;display:flex;align-items:center}
html body.theme-9 .wani-cover-slide-block .slide-item .cover-text{padding:0 9%}
html body.theme-9 .wani-cover-slide-block .slide-item .cover-text .card-title{font-size:clamp(28px,4.4vw,68px);letter-spacing:-.035em;opacity:1;line-height:1.2;text-shadow:0 2px 18px rgba(0,0,0,.35)}
html body.theme-9 .wani-cover-slide-block .slide-item .cover-text .card-text{font-size:clamp(15px,1.7vw,24px);letter-spacing:-.01em;font-weight:400;line-height:1.55;text-shadow:0 1px 10px rgba(0,0,0,.35)}
html body.theme-9 .wani-cover-slide-block .slide-item .card-buttons .btn{font-size:clamp(13px,1.1vw,16px);padding:.55rem 1.4rem}
@media (max-width:767.98px){html body.theme-9 .wani-cover-slide-block .slide-item .cover-text{padding:0 7%}html body.theme-9 .wani-cover-slide-block .slide-item .card-buttons{margin-top:.6rem!important}}
html body.theme-9 .wani-cover-slide-block .slide-item .card-buttons .btn{color:#fff!important;border-color:rgba(255,255,255,.85)!important;background:rgba(255,255,255,.08)}
html body.theme-9 .wani-cover-slide-block .slide-item .card-buttons .btn:hover{background:#fff;color:#222!important}

/* ===== 테마 9 — 명조 에디토리얼형 =====
 * 안개 같은 옅은 바탕 + 가운데 정렬 큰 명조(Noto Serif KR) 제목. 헤더 오른쪽 햄버거는 전체 메뉴(큰 명조 글씨).
 * 본문 글은 Pretendard, 제목·강조는 Noto Serif KR. */
:root{--t-bg:#fff;--t-ink:#2a2a2a;--t-muted:#8c8c8c;--t-line:#e6e6e6;--hdr-h:88px;--t9-fog:#eef2ef}
html body.theme-9 header{position:fixed;top:0;left:0;right:0;z-index:60;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);box-shadow:0 1px 0 rgba(0,0,0,.04)}
html body.theme-9 header .navbar{position:static;height:var(--hdr-h);padding:0 3vw;display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:28px;width:100%}
html body.theme-9 header .navbar-collapse{justify-content:center}
html body.theme-9 header .navbar-nav .dropdown-toggle::after{display:none}
html body.theme-9 header .navbar-nav .nav-item{padding:0 4px}
html body.theme-9 header .navbar-nav .nav-link{color:var(--t-ink)!important;font-size:17px!important;font-weight:400;padding:.5rem 1rem}
html body.theme-9 header .navbar-nav .nav-link:hover{color:var(--bs-primary)!important}
html body.theme-9 header .navbar-brand,
html body.theme-9 header .navbar-toggler,
html body.theme-9 header .link-list ul li a{color:var(--t-ink)!important}
html body.theme-9 header .navbar-nav .dropdown-menu{border:0;box-shadow:0 14px 30px rgba(0,0,0,.08)}
html body.theme-9 .t9-right{display:flex;align-items:center;gap:20px}
html body.theme-9 header .link-list ul li a{font-size:13px!important; display: flex}
html body.theme-9 .t9-burger{width:34px;height:34px;border:0;background:transparent;flex-direction:column;justify-content:center;gap:7px;padding:4px 2px;cursor:pointer}
html body.theme-9 .t9-burger span{display:block;height:2px;background:var(--t-ink);transition:.25s}
@media (max-width:991.98px){html body.theme-9 header .navbar{grid-template-columns:1fr auto;height:64px;padding:0 18px}:root{--hdr-h:64px}html body.theme-9 .t9-right{display:none}}

/* 전체 메뉴 오버레이 */
html body.theme-9 .t9-all{position:fixed;inset:0;z-index:2000;background:#fff;overflow:auto;padding:calc(var(--hdr-h) + 30px) 6vw 80px}
html body.theme-9 .t9-all[hidden]{display:none}
html body.theme-9 .t9-all-close{position:fixed;top:26px;right:3vw;width:44px;height:44px;border:0;background:transparent;font-size:40px;line-height:1;font-weight:100;color:var(--t-ink)}
html body.theme-9 .t9-all-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:56px 40px}
html body.theme-9 .t9-all-grid .t9-top{display:block;font-family:var(--t-serif);font-size:30px;font-weight:300;color:var(--t-ink);text-decoration:none;padding-bottom:16px;border-bottom:1px solid var(--t-ink);margin-bottom:16px}
html body.theme-9 .t9-all-grid ul{list-style:none;margin:0;padding:0}
html body.theme-9 .t9-all-grid li a{display:block;padding:7px 0;font-size:16px;color:#777;text-decoration:none}
html body.theme-9 .t9-all-grid li a:hover{color:var(--bs-primary)}
html body.theme-9.t9-lock{overflow:hidden}

/* --- 히어로 --- */
html body.theme-9 .t9-hero{position:relative;margin-top:var(--hdr-h);min-height:calc(100vh - var(--hdr-h));min-height:max(560px,calc(100vh - var(--hdr-h)));display:flex;align-items:center;justify-content:center;text-align:center;background:var(--t9-fog) url(../images/fog.jpg) center/cover no-repeat;overflow:hidden}
html body.theme-9 .t9-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,255,255,.55) 45%,rgba(255,255,255,.9))}
html body.theme-9 .page-container>section:not(:first-child) .t9-hero{margin-top:0}
html body.theme-9 .t9-hero.wani-youtube-slide-block{padding:0;max-width:none;width:100%}
html body.theme-9 .t9-title a{color:inherit;text-decoration:none}
html body.theme-9 .t9-hero-in{position:relative;z-index:2;padding:0 6vw;max-width:1200px}
html body.theme-9 .t9-kicker{font-family:var(--t-serif);font-size:19px;font-weight:400;color:#555;margin:0}
html body.theme-9 .t9-kicker::after{content:'';display:block;width:108px;height:1px;background:#555;margin:18px auto 0}
html body.theme-9 .t9-title{font-family:var(--t-serif);font-size:clamp(44px,8vw,118px);font-weight:300;line-height:1.28;letter-spacing:-.04em;color:#595959;margin:6vh 0 5vh}
html body.theme-9 .t9-meta{font-family:var(--t-serif);font-size:18px;color:#444;margin:0}
html body.theme-9 .t9-meta small{font-size:14px;color:#888;margin-left:8px}

/* --- 본문 블록 --- */
html body.theme-9 :is(.wani-design-slide-block,.wani-cover-slide-block){max-width:1200px;margin:90px auto 0;padding:0 4vw}
html body.theme-9 :is(.wani-design-slide-block,.wani-cover-slide-block) .cover-slide-img{height:min(42vw,540px)!important}
html body.theme-9 :is(.wani-design-slide-block,.wani-cover-slide-block) .slick-prev,
html body.theme-9 :is(.wani-design-slide-block,.wani-cover-slide-block) .slick-next{background:rgba(255,255,255,.85);color:#333;width:42px;height:42px;border-radius:50%;z-index:5;box-shadow:0 4px 14px rgba(0,0,0,.15)}
html body.theme-9 :is(.wani-design-slide-block,.wani-cover-slide-block) .slick-prev{left:calc(4vw + 12px)}html body.theme-9 :is(.wani-design-slide-block,.wani-cover-slide-block) .slick-next{right:calc(4vw + 12px)}
html body.theme-9 .wani-link-list-block{background:#fff;padding:140px 4vw 120px;text-align:center}
html body.theme-9 .wani-link-list-block h4{font-family:var(--t-serif);font-size:clamp(22px,2.4vw,30px);font-weight:400;color:#444;display:inline-block;padding-bottom:20px;position:relative}
html body.theme-9 .wani-link-list-block h4::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:#444}
html body.theme-9 .wani-link-list-block h6{font-size:16px;color:var(--t-muted)!important;font-weight:400}



html body.theme-9 .wani-link-list-block .box-list a .box{display:flex;width:auto;height:auto;max-width:none;box-shadow:none;background:transparent;margin-top:26px}
/*html body.theme-9 .wani-link-list-block .box-list .box img{height:38px!important;width:38px;opacity:.3;transition:opacity .25s}*/
/*html body.theme-9 .wani-link-list-block .box-list a:hover .box img{opacity:.9}*/
html body.theme-9 .wani-link-list-block .box-list a div.mt-2{margin:0!important;font-family:var(--t-serif);font-weight:300!important;line-height:1.55;text-align:center}
html body.theme-9 .wani-link-list-block .box-list a:hover div.mt-2{color:var(--t-ink)!important}

html body.theme-9 .wani-intro-link-block{background:var(--t9-fog);padding:120px 4vw}
html body.theme-9 .wani-intro-link-block .container{max-width:1200px}
html body.theme-9 .wani-intro-link-block h4{font-family:var(--t-serif);font-size:clamp(30px,3.6vw,48px);font-weight:300;letter-spacing:-.03em}
html body.theme-9 .wani-intro-link-block h6{font-size:16px;color:var(--t-muted);font-weight:400}
html body.theme-9 .wani-intro-link-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding:0!important}
html body.theme-9 .wani-intro-link-list .wani-intro-link-slide-item{padding:0!important}
html body.theme-9 .wani-intro-link-list .card{background:transparent;border:0!important;box-shadow:none!important;border-radius:0;text-align:center}
html body.theme-9 .wani-intro-link-list .card-img-top{height:auto!important;aspect-ratio:3/4;border-radius:0;filter:grayscale(.85);transition:filter .4s}
html body.theme-9 .wani-intro-link-list .card:hover .card-img-top{filter:none}
html body.theme-9 .wani-intro-link-list .card-body{padding:22px 0 0}
html body.theme-9 .wani-intro-link-list .card-title{font-family:var(--t-serif);font-size:24px;font-weight:400}
html body.theme-9 .wani-intro-link-list .card-text{font-size:14px;color:var(--t-muted)!important}
html body.theme-9 .wani-intro-link-list .btn-group{justify-content:center;width:auto!important;gap:14px}
html body.theme-9 .wani-intro-link-list .btn-group .btn{border:0;background:transparent;color:#555;font-size:13px;border-bottom:1px solid #555;border-radius:0!important;padding:0 0 2px;flex:none}
@media (max-width:991.98px){html body.theme-9 .wani-intro-link-list{grid-template-columns:repeat(2,1fr)}}
html body.theme-9 .wani-intro-link-block .btn-danger{border-radius:0}

html body.theme-9 .wani-link-list-bg-block .bg-wrapper{padding:150px 5vw!important}
html body.theme-9 .wani-link-list-bg-block .overlay{background:#fff;opacity:.72}
html body.theme-9 .wani-link-list-bg-block .container{text-align:center;max-width:900px}
html body.theme-9 .wani-link-list-bg-block h4{font-family:var(--t-serif);font-size:clamp(30px,4vw,56px);font-weight:300;color:#444;letter-spacing:-.03em}
html body.theme-9 .wani-link-list-bg-block h6{color:#666}
html body.theme-9 .wani-link-list-bg-block .button-list{justify-content:center;flex-wrap:wrap;gap:28px}
html body.theme-9 .wani-link-list-bg-block .button-list a,
html body.theme-9 .wani-link-list-bg-block .button-list button{background:transparent!important;border:0!important;border-bottom:1px solid #444!important;border-radius:0;color:#333!important;padding:.4rem .2rem!important;font-family:var(--t-serif);font-size:20px!important;font-weight:400!important;width:auto!important}
html body.theme-9 .wani-link-list-bg-block .button-list a i{display:none}

html body.theme-9 .wani-latest-list-section{padding:130px 4vw 110px;background:#fff}
/*html body.theme-9 .wani-latest-list-section .container{max-width:900px}*/
html body.theme-9 .wani-latest-list-section .row{row-gap:100px}
html body.theme-9 .wani-latest-list-section .row>.col-md-6{width:100%;flex:0 0 100%}
html body.theme-9 .wani-latest-list-section .board-header{display:flex;justify-content:center;position:relative;margin-bottom:24px}
html body.theme-9 .wani-latest-list-section .board-header h5{font-family:var(--t-serif);font-size:26px;font-weight:400;padding:0 0 18px!important;border-bottom:1px solid #444;min-width:150px;text-align:center}
html body.theme-9 .wani-latest-list-section .board-header a{position:absolute;right:0;top:6px;font-size:13px;color:var(--t-muted)!important}
html body.theme-9 .wani-latest-list-section .list-group-item{display:flex;text-align:center;padding:34px 0;border:0;border-bottom:1px dashed #cfcfcf}
html body.theme-9 .wani-latest-list-section .list-group-item a{display:block;font-family:var(--t-serif);font-size:clamp(22px,2.4vw,30px);font-weight:400;color:#9a9a9a!important}
html body.theme-9 .wani-latest-list-section .list-group-item a:hover{color:var(--t-ink)!important}
html body.theme-9 .wani-latest-list-section .list-group-item small{display:block;margin:12px 0 0!important;width:auto!important;text-align:center!important;font-size:13px;color:#222!important}
html body.theme-9 .wani-latest-list-section .ratio-1x1{--bs-aspect-ratio:75%;border-radius:0}

/* 서브 페이지 */
html body.theme-9 .page-container.sub{padding:calc(var(--hdr-h) + 80px) 4vw 120px;background:#fff}
html body.theme-9 .page-container.sub .page-body{background:transparent;padding:0}
html body.theme-9 .page-container.sub .page-header{text-align:center;margin-bottom:60px!important}
html body.theme-9 .page-container.sub .page-header h4{font-family:var(--t-serif);font-size:clamp(34px,4.6vw,60px);font-weight:300;letter-spacing:-.04em;text-align:center}
html body.theme-9 .page-container.sub .breadcrumb{justify-content:center}
html body.theme-9 .board-container{padding-top:calc(var(--hdr-h) + 40px)}
html body.theme-9 .board-container h4{font-family:var(--t-serif);font-size:clamp(30px,4vw,52px);font-weight:300;letter-spacing:-.04em;text-align:center}
html body.theme-9 .board-container .breadcrumb{justify-content:center}
html body.theme-9 .card{border-radius:0}
html body.theme-9 .page-body h1,
html body.theme-9 .page-body h2,
html body.theme-9 .page-body h3{font-family:var(--t-serif);font-weight:400}

html body.theme-9 footer{background:#fff;color:#777;padding:60px 4vw;border-top:1px solid var(--t-line);margin-top:0}
html body.theme-9 footer .container{max-width:1200px;padding:0}
html body.theme-9 footer h5{font-size:15px;font-weight:600;color:#333}
html body.theme-9 footer p,
html body.theme-9 footer small{font-size:13px;color:#888}
html body.theme-9 footer a{color:#777;text-decoration:none}
html body.theme-9 footer .text-warning{color:var(--bs-primary)!important}

/* 모바일: header 의 backdrop-filter 는 안쪽 position:fixed(#offcanvasNavbar)의 기준 박스를 header(높이 64px)로 바꿔
   메뉴 패널이 헤더 높이로 쪼그라들어 깨진다. 좁은 화면에서는 블러를 끄고 불투명 흰 배경을 쓴다. */
@media (max-width:991.98px){
html body.theme-9 header{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}
}
