/* 인사이트(블로그·숏츠) 공용 스타일 (2026-11-28) */
:root {
    --ins-ink: #0f172a;
    --ins-txt: #334155;
    --ins-sub: #64748b;
    --ins-line: #e2e8f0;
    --ins-soft: #f8fafc;
    --ins-accent: #2563eb;
    --ins-accent-soft: #eff6ff;
}

/* 머리말 + 탭 */
.ws-ins-head { text-align: center; padding: 1rem 0 3.4rem; }
.ws-ins-eyebrow { margin: 0 0 1rem; font-family: "Montserrat", "Noto Sans KR", sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: .22em; color: var(--ins-accent); }
.ws-ins-desc { margin: 0 auto 2.4rem; max-width: 620px; font-size: 1.6rem; line-height: 1.7; color: var(--ins-sub); word-break: keep-all; }
.ws-ins-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #f1f5f9; }
.ws-ins-tabs a { display: inline-flex; align-items: center; gap: 7px; min-width: 118px; justify-content: center; padding: 11px 22px; border-radius: 999px; font-size: 1.5rem; font-weight: 600; color: var(--ins-sub); text-decoration: none; transition: background .2s, color .2s; }
.ws-ins-tabs a:hover { color: var(--ins-ink); text-decoration: none; }
.ws-ins-tabs a.is-on { background: #fff; color: var(--ins-ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
.ws-ins-tabs a .fa-youtube-play { color: #ef4444; }
.ws-ins-head.is-compact { padding: 0 0 2.6rem; }

/* 상담 박스 */
.ws-ins-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 5rem 0 2rem; padding: 3rem 3.4rem; border-radius: 16px; background: var(--ins-ink); color: #fff; }
.ws-ins-cta-title { margin: 0 0 .8rem; font-size: 2.1rem; font-weight: 700; color: #fff; word-break: keep-all; }
.ws-ins-cta-desc { margin: 0; font-size: 1.5rem; line-height: 1.6; color: #cbd5e1; word-break: keep-all; }
.ws-ins-cta-btns { display: flex; gap: 10px; flex-shrink: 0; }
.ws-ins-btn { display: inline-flex; align-items: center; gap: 7px; padding: 13px 22px; border-radius: 10px; font-size: 1.5rem; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: transform .2s, background .2s; }
.ws-ins-btn:hover { transform: translateY(-2px); }
.ws-ins-btn-fill { background: #facc15; color: #111 !important; }
.ws-ins-btn-fill:hover { background: #fde047; }
.ws-ins-btn-line { border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; }
.ws-ins-btn-line:hover { background: rgba(255, 255, 255, .08); }

/* 섹션 제목 */
.ws-ins-sec { margin: 6rem 0 0; }
.ws-ins-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 2rem; }
.ws-ins-sec-title { margin: 0; font-size: 2.2rem; font-weight: 700; color: var(--ins-ink); }
.ws-ins-sec-more { font-size: 1.4rem; font-weight: 600; color: var(--ins-sub); text-decoration: none; }
.ws-ins-sec-more:hover { color: var(--ins-accent); text-decoration: none; }

/* 관련 글 카드 */
.ws-ins-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ws-ins-post a { display: flex; flex-direction: column; height: 100%; padding: 2.2rem 2.2rem 2rem; border: 1px solid var(--ins-line); border-radius: 12px; background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ws-ins-post a:hover { border-color: #bfdbfe; box-shadow: 0 8px 24px rgba(15, 23, 42, .07); transform: translateY(-2px); text-decoration: none; }
.ws-ins-post-cate { align-self: flex-start; margin: 0 0 1rem; padding: 3px 9px; border-radius: 5px; background: var(--ins-accent-soft); font-size: 1.25rem; font-weight: 600; color: var(--ins-accent); }
.ws-ins-post-title { margin: 0 0 1rem; font-size: 1.65rem; font-weight: 700; line-height: 1.45; color: var(--ins-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-ins-post-desc { margin: 0 0 1.4rem; font-size: 1.4rem; line-height: 1.6; color: var(--ins-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-ins-post-date { margin-top: auto; font-size: 1.3rem; color: #94a3b8; }

/* 숏츠 카드 그리드 */
.ws-sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; margin: 0; padding: 0; list-style: none; }
.ws-scard { position: relative; min-width: 0; }
.ws-scard-img { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px; background: #0f172a; }
.ws-scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ws-scard-img:hover img { transform: scale(1.04); }
.ws-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-weight: 700; letter-spacing: .2em; color: #64748b; }
.ws-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(0, 0, 0, .45); backdrop-filter: blur(2px); transition: background .2s; }
.ws-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.ws-scard-img:hover .ws-play { background: #ef4444; }
.ws-dur { position: absolute; right: 9px; bottom: 9px; padding: 3px 7px; border-radius: 5px; background: rgba(0, 0, 0, .7); font-size: 1.2rem; font-weight: 600; color: #fff; }
.ws-scard-title { margin: 1.2rem 0 0; font-size: 1.55rem; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-scard-title a { color: var(--ins-ink); text-decoration: none; }
.ws-scard-title a:hover { color: var(--ins-accent); }
.ws-scard-date { margin: .5rem 0 0; font-size: 1.3rem; color: #94a3b8; }
.ws-scard .ws-chk { position: absolute; left: 10px; top: 10px; z-index: 2; width: 18px; height: 18px; }

/* 숏츠 상세 */
.ws-sview { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 5rem; align-items: start; }
.ws-sview-player { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; background: #000; box-shadow: 0 16px 40px rgba(15, 23, 42, .18); }
.ws-yt { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.ws-yt img { width: 100%; height: 100%; object-fit: cover; }
.ws-play-lg { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: #ef4444; }
.ws-play-lg::after { left: 29px; top: 22px; border-width: 16px 0 16px 24px; }
.ws-yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-sview-info { padding-top: .6rem; }
.ws-sview-label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 1.4rem; padding: 5px 11px; border-radius: 6px; background: #fef2f2; font-size: 1.35rem; font-weight: 700; color: #dc2626; }
.ws-sview-title { margin: 0 0 1.4rem; font-size: 2.8rem; font-weight: 800; line-height: 1.4; color: var(--ins-ink); word-break: keep-all; }
.ws-sview-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 2.6rem; padding: 0 0 2.2rem; border-bottom: 1px solid var(--ins-line); font-size: 1.4rem; color: var(--ins-sub); }
.ws-sview-body { font-size: 1.6rem; line-height: 1.85; color: var(--ins-txt); word-break: keep-all; }
.ws-sview-body p { margin: 0 0 1.2rem; }
.ws-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.ws-tags li { padding: 5px 11px; border-radius: 999px; background: #f1f5f9; font-size: 1.3rem; color: var(--ins-sub); }
.ws-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 2.8rem 0 0; }
.ws-tool { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--ins-line); border-radius: 9px; background: #fff; font-size: 1.4rem; font-weight: 600; color: var(--ins-txt) !important; text-decoration: none !important; cursor: pointer; transition: border-color .2s, color .2s; }
.ws-tool:hover { border-color: #94a3b8; color: var(--ins-ink) !important; }
.ws-tool-yt { border-color: #fecaca; color: #dc2626 !important; }
.ws-tool-yt:hover { border-color: #ef4444; color: #b91c1c !important; }

/* 숏츠 목록 관리자 줄 */
.ws-admin { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin: 0 0 2rem; }
.ws-admin label { margin-right: auto; font-size: 1.4rem; color: var(--ins-sub); }
.ws-empty { padding: 8rem 0; text-align: center; font-size: 1.6rem; color: #94a3b8; }
.ws-pages { margin: 4rem 0 0; text-align: center; }

/* 다크모드 */
body[data-darkmode=on] .ws-ins-tabs { background: #1e293b; }
body[data-darkmode=on] .ws-ins-tabs a.is-on { background: #334155; color: #fff; }
body[data-darkmode=on] .ws-ins-sec-title,
body[data-darkmode=on] .ws-scard-title a,
body[data-darkmode=on] .ws-sview-title { color: #f1f5f9; }
body[data-darkmode=on] .ws-ins-post a { background: #1e293b; border-color: #334155; }
body[data-darkmode=on] .ws-ins-post-title { color: #f1f5f9; }
body[data-darkmode=on] .ws-sview-body { color: #cbd5e1; }
body[data-darkmode=on] .ws-ins-cta { background: #1e293b; }

/* 반응형 */
@media (max-width: 1024px) {
    .ws-sgrid { grid-template-columns: repeat(3, 1fr); }
    .ws-ins-posts { grid-template-columns: repeat(2, 1fr); }
    .ws-sview { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 3rem; }
}
@media (max-width: 767px) {
    .ws-ins-head { padding: 0 0 2.6rem; }
    .ws-ins-desc { font-size: 1.45rem; }
    .ws-ins-tabs a { min-width: 0; padding: 10px 18px; font-size: 1.45rem; }
    .ws-ins-cta { flex-direction: column; align-items: stretch; padding: 2.6rem 2.2rem; }
    .ws-ins-cta-title { font-size: 1.85rem; }
    .ws-ins-cta-btns { flex-direction: column; }
    .ws-ins-btn { justify-content: center; }
    .ws-ins-posts { grid-template-columns: 1fr; }
    .ws-sgrid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
    .ws-scard-title { font-size: 1.45rem; }
    .ws-sview { grid-template-columns: 1fr; gap: 2.6rem; }
    .ws-sview-player { max-width: 360px; width: 100%; margin: 0 auto; }
    .ws-sview-title { font-size: 2.2rem; }
    .ws-ins-sec { margin-top: 4.6rem; }
}

/* ==========================================================================
   블로그 목록 개편 (2026-11-28): 대표 글 + 많이 읽은 글 + 카드 3열
   ========================================================================== */
.ws-blog .containers { max-width: 1240px !important; }
.ws-tool-dark { background: var(--ins-ink); border-color: var(--ins-ink); color: #fff !important; }
.ws-tool-dark:hover { background: #1e293b; color: #fff !important; }

.ws-blog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 2.4rem; padding: 0 0 1.8rem; border-bottom: 1px solid var(--ins-line); }
.ws-blog-count { margin: 0; font-size: 1.5rem; color: var(--ins-sub); }
.ws-blog-count strong { color: var(--ins-ink); }
.ws-blog-count a { margin-left: 4px; color: var(--ins-accent); }
.ws-blog-search { position: relative; width: 320px; max-width: 100%; }
.ws-blog-search input { width: 100%; height: 44px; padding: 0 46px 0 18px; border: 1px solid var(--ins-line); border-radius: 999px; background: var(--ins-soft); font-size: 1.45rem; color: var(--ins-ink); outline: none; transition: border-color .2s, background .2s; -webkit-appearance: none; }
.ws-blog-search input:focus { border-color: var(--ins-accent); background: #fff; }
.ws-blog-search button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ins-ink); color: #fff; font-size: 1.4rem; cursor: pointer; }

.ws-topic { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ins-accent-soft); font-size: 1.25rem; font-weight: 700; color: var(--ins-accent); line-height: 1.3; }
.ws-meta { display: flex; gap: 14px; margin: 0; font-size: 1.3rem; color: #94a3b8; }
.ws-meta i { margin-right: 3px; }
.ws-thumb-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #1e293b, #2563eb); font-size: 2rem; font-weight: 800; color: rgba(255, 255, 255, .9); letter-spacing: -.02em; }
.ws-feat-flag { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 6px; background: #facc15; font-size: 1.25rem; font-weight: 800; color: #111; }
.ws-chk { position: absolute; left: 10px; top: 10px; z-index: 3; width: 18px; height: 18px; }

/* 대표 글 + 많이 읽은 글 */
.ws-blog-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin: 0 0 4.4rem; }
.ws-blog-top.is-solo { grid-template-columns: 1fr; }
.ws-feat { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--ins-line); border-radius: 18px; background: #fff; }
.ws-feat-img { position: relative; display: block; min-height: 100%; overflow: hidden; background: var(--ins-soft); }
.ws-feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ws-feat:hover .ws-feat-img img { transform: scale(1.03); }
.ws-feat-body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; padding: 3.2rem 3rem; }
.ws-feat-title { margin: 0; font-size: 2.5rem; font-weight: 800; line-height: 1.38; letter-spacing: -.02em; word-break: keep-all; }
.ws-feat-title a { color: var(--ins-ink); text-decoration: none; }
.ws-feat-title a:hover { color: var(--ins-accent); }
.ws-feat-desc { margin: 0; font-size: 1.5rem; line-height: 1.7; color: var(--ins-sub); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ws-feat-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 700; color: var(--ins-ink); text-decoration: none; }
.ws-feat-more:hover { color: var(--ins-accent); text-decoration: none; }
.ws-feat-more i { transition: transform .2s; }
.ws-feat-more:hover i { transform: translateX(4px); }

.ws-pop { padding: 2.6rem 2.4rem; border-radius: 18px; background: var(--ins-soft); border: 1px solid var(--ins-line); }
.ws-pop-title { display: flex; align-items: center; gap: 8px; margin: 0 0 1.4rem; font-size: 1.7rem; font-weight: 800; color: var(--ins-ink); }
.ws-pop-title i { color: #ef4444; }
.ws-pop-list { margin: 0; padding: 0; list-style: none; }
.ws-pop-list li + li { border-top: 1px dashed #dbe2ea; }
.ws-pop-list a { display: flex; gap: 12px; align-items: flex-start; padding: 1.3rem 0; text-decoration: none; }
.ws-pop-num { flex-shrink: 0; width: 24px; font-family: "Montserrat", sans-serif; font-size: 1.8rem; font-weight: 800; line-height: 1.3; color: var(--ins-accent); }
.ws-pop-list li:nth-child(n+4) .ws-pop-num { color: #94a3b8; }
.ws-pop-sub { font-size: 1.45rem; font-weight: 600; line-height: 1.5; color: var(--ins-txt); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-pop-list a:hover .ws-pop-sub { color: var(--ins-accent); }

/* 카드 3열 */
.ws-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; margin: 0; padding: 0; list-style: none; }
.ws-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.ws-card-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; border: 1px solid var(--ins-line); background: var(--ins-soft); }
.ws-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ws-card:hover .ws-card-img img { transform: scale(1.04); }
.ws-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; flex: 1; padding: 1.8rem .2rem 0; }
.ws-card-title { margin: 0; font-size: 1.8rem; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-card-title a { color: var(--ins-ink); text-decoration: none; }
.ws-card:hover .ws-card-title a { color: var(--ins-accent); }
.ws-card-desc { margin: 0; font-size: 1.42rem; line-height: 1.65; color: var(--ins-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-card .ws-meta { margin-top: auto; padding-top: .4rem; }

body[data-darkmode=on] .ws-feat, body[data-darkmode=on] .ws-pop { background: #1e293b; border-color: #334155; }
body[data-darkmode=on] .ws-feat-title a, body[data-darkmode=on] .ws-card-title a, body[data-darkmode=on] .ws-pop-title, body[data-darkmode=on] .ws-feat-more { color: #f1f5f9; }
body[data-darkmode=on] .ws-pop-sub { color: #cbd5e1; }

@media (max-width: 1100px) {
    .ws-blog-top { grid-template-columns: 1fr; }
    .ws-pop-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
    .ws-pop-list li + li { border-top: 0; }
    .ws-pop-list li { border-bottom: 1px dashed #dbe2ea; }
}
@media (max-width: 1024px) {
    .ws-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .ws-blog-bar { flex-direction: column; align-items: stretch; }
    .ws-blog-search { width: 100%; }
    .ws-feat { grid-template-columns: 1fr; }
    .ws-feat-img { aspect-ratio: 16 / 9; min-height: 0; }
    .ws-feat-body { padding: 2.2rem 2rem 2.4rem; }
    .ws-feat-title { font-size: 2.1rem; }
    .ws-pop-list { display: block; }
    .ws-cards { grid-template-columns: 1fr; gap: 28px; }
    .ws-card-title { font-size: 1.7rem; }
}

/* 대표 글 이미지: 잘리지 않게 원본 비율 + 흐린 배경 (2026-11-28) */
.ws-feat { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.ws-feat-img .ws-feat-bg { object-fit: cover; filter: blur(22px) saturate(1.1); transform: scale(1.2); opacity: .55; }
.ws-feat-img .ws-feat-main { object-fit: contain; }
.ws-feat:hover .ws-feat-img .ws-feat-main { transform: scale(1.02); }
.ws-feat:hover .ws-feat-img .ws-feat-bg { transform: scale(1.2); }
.ws-thumb-ph { flex-direction: column; gap: 8px; background: radial-gradient(circle at 80% 20%, rgba(250, 204, 21, .35), transparent 45%), linear-gradient(135deg, #0f172a, #1d4ed8); }
.ws-thumb-ph small { font-family: "Montserrat", sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: .25em; color: rgba(255, 255, 255, .6); }
.ws-feat .ws-thumb-ph { position: absolute; inset: 0; font-size: 3rem; }
@media (max-width: 767px) {
    .ws-feat { grid-template-columns: 1fr; }
}

/* ==========================================================================
   블로그 목록: 오비즈몰 가이드형 (2026-11-28)
   ========================================================================== */
.wsg-blog { --ink:#16181d; --sub:#5b6270; --mute:#8a909c; --line:#e7e9ee; --soft:#f6f7f9; --navy:#1f2a44; --acc:#2563eb;
  max-width: 1160px; margin: 0 auto; padding: 0 20px 72px; color: var(--ink); word-break: keep-all; overflow-wrap: break-word; }
.wsg-blog a { color: inherit; text-decoration: none; }
.wsg-blog img { max-width: 100%; height: auto; }
.wsg-empty { padding: 80px 0; text-align: center; font-size: 16px; color: var(--mute); }

.wsg-admin { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 18px; }
.wsg-btn-sm { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 13px; color: var(--sub); cursor: pointer; }
.wsg-btn-dark { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.wsg-chkall { margin-right: auto; font-size: 13px; color: var(--sub); }
.wsg-chk { position: absolute; z-index: 2; top: 12px; left: 12px; width: 18px; height: 18px; }

.wsg-eyebrow { margin: 0 0 10px; font-family: "Montserrat", "Noto Sans KR", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--acc); }
.wsg-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 14px; color: var(--mute); }
.wsg-meta > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #c3c7cf; vertical-align: middle; margin: -2px 14px 0 -8px; }

/* 머리말 */
.wsg-hero { text-align: center; padding: 8px 0 36px; }
.wsg-hero-title { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.wsg-hero-desc { max-width: 620px; margin: 14px auto 0; font-size: 17px; line-height: 1.7; color: var(--sub); }
.wsg-tabs { display: inline-flex; gap: 4px; margin: 26px 0 0; padding: 5px; border-radius: 999px; background: #f1f3f6; }
.wsg-tabs a { min-width: 120px; padding: 10px 22px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--sub); transition: background .2s, color .2s; }
.wsg-tabs a:hover { color: var(--ink); }
.wsg-tabs a.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(22, 24, 29, .1); }
.wsg-search { position: relative; max-width: 520px; margin: 26px auto 0; }
.wsg-search input[type=text] { width: 100%; height: 52px; padding: 0 56px 0 22px; border: 1px solid var(--line); border-radius: 26px; background: var(--soft); font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s, background .2s; }
.wsg-search input[type=text]:focus { border-color: var(--navy); background: #fff; }
.wsg-search button { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; cursor: pointer; }
.wsg-result { margin: 0 0 20px; font-size: 15px; color: var(--sub); }
.wsg-result a { text-decoration: underline !important; }

/* 대표 글 */
.wsg-featured { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 0 0 48px; margin: 0 0 48px; border-bottom: 1px solid var(--line); }
.wsg-featured-img { display: block; overflow: hidden; border-radius: 14px; background: var(--soft); aspect-ratio: 16 / 9; }
.wsg-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wsg-featured:hover .wsg-featured-img img { transform: scale(1.03); }
.wsg-badge { display: inline-block; margin: 0 0 14px; padding: 5px 11px; border-radius: 999px; background: #eff6ff; color: var(--acc); font-size: 12px; font-weight: 700; }
.wsg-featured-title { margin: 0 0 14px; font-size: 30px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.wsg-featured-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wsg-featured .wsg-excerpt { margin: 0 0 18px; font-size: 16px; line-height: 1.75; color: var(--sub); }
.wsg-more { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--navy) !important; }
.wsg-more i { transition: transform .2s; }
.wsg-more:hover i { transform: translateX(3px); }

/* 카드 */
.wsg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; margin: 0; padding: 0; list-style: none; }
.wsg-card { position: relative; display: flex; flex-direction: column; }
.wsg-card-img { display: block; overflow: hidden; border-radius: 12px; background: var(--soft); aspect-ratio: 16 / 9; }
.wsg-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wsg-card:hover .wsg-card-img img { transform: scale(1.04); }
.wsg-card-body { padding: 18px 2px 0; }
.wsg-card-title { margin: 0 0 10px; font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; }
.wsg-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wsg-card .wsg-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: var(--sub); }
.wsg-new { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 4px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 3px; }
.wsg-card-title .wsg-new:first-child { margin: 0 4px 0 0; }
.wsg-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: "Montserrat", sans-serif; font-weight: 800; letter-spacing: .2em; color: #c3c7cf; }
.wsg-pages { margin: 48px 0 0; }

/* 상담 박스 */
.wsg-cta { margin: 64px 0 0; padding: 34px 28px; border-radius: 16px; background: var(--navy); color: #fff; text-align: center; }
.wsg-cta-title { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: #fff; }
.wsg-cta-desc { margin: 0 0 20px; font-size: 15px; color: #c9cfdc; }
.wsg-cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wsg-cta-links a { display: inline-block; min-width: 110px; padding: 12px 20px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; color: #fff !important; font-size: 15px; font-weight: 700; transition: background .2s, color .2s; }
.wsg-cta-links a:hover { background: #fff; color: var(--navy) !important; }

/* 다크모드 */
body[data-darkmode=on] .wsg-blog { --ink:#f1f5f9; --sub:#cbd5e1; --line:#334155; --soft:#1e293b; }
body[data-darkmode=on] .wsg-tabs { background: #1e293b; }
body[data-darkmode=on] .wsg-tabs a.is-on { background: #334155; }
body[data-darkmode=on] .wsg-more { color: #f1f5f9 !important; }

@media (max-width: 1024px) {
  .wsg-grid { grid-template-columns: repeat(2, 1fr); }
  .wsg-featured { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .wsg-blog { padding: 0 16px 56px; }
  .wsg-hero-title { font-size: 30px; }
  .wsg-hero-desc { font-size: 15px; }
  .wsg-tabs a { min-width: 0; padding: 10px 18px; }
  .wsg-featured-title { font-size: 23px; }
  .wsg-grid { grid-template-columns: 1fr; gap: 34px; }
  .wsg-cta { padding: 28px 18px; }
}

/* ==========================================================================
   블로그 상세: 본문 맞춤 (2026-11-28) - 읽기 폭, 위 경로줄, 목차, 진행바
   ========================================================================== */
.wsv-progress { position: fixed; left: 0; top: 0; z-index: 10001; width: 100%; height: 3px; pointer-events: none; }
.wsv-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #2563eb, #facc15); transition: width .1s linear; }

#bo_v.wsv { padding-top: 3rem; }
#bo_v.wsv .containers { max-width: 1140px; }
.wsv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1076px; margin: 0 auto 3.2rem; padding: 0 0 1.6rem; border-bottom: 1px solid #e7e9ee; font-size: 14px; color: #8a909c; }
.wsv-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wsv-crumb a { color: #5b6270; text-decoration: none; }
.wsv-crumb a:hover { color: #2563eb; }
.wsv-crumb strong { font-weight: 700; color: #2563eb; }
.wsv-top-meta { display: flex; gap: 14px; margin: 0; white-space: nowrap; }

.wsv-layout { display: grid; grid-template-columns: minmax(0, 780px); justify-content: center; gap: 56px; }
.wsv-layout.has-toc { grid-template-columns: minmax(0, 780px) 240px; }
.wsv-main { min-width: 0; }

/* 예전 글: 스킨이 제목을 그림 */
.wsv-head { margin: 0 0 4rem; padding: 0 0 2.6rem; border-bottom: 1px solid #e7e9ee; }
.wsv-head .ws-topic { margin: 0 0 1.4rem; }
.wsv-head #bo_v_title { margin: 0 0 1.2rem; font-size: 32px; font-weight: 800; line-height: 1.38; letter-spacing: -.02em; color: #0f172a; word-break: keep-all; }
.wsv-head-meta { margin: 0; font-size: 14px; color: #8a909c; }

/* 본문 */
.wsv #bo_v_con { font-size: 16.5px; line-height: 1.85; color: #2d3748; word-break: keep-all; overflow-wrap: break-word; }
.wsv #bo_v_con img { max-width: 100% !important; height: auto !important; }
.wsv #bo_v_con iframe { max-width: 100%; }
.wsv.is-inline #bo_v_con > div:first-child { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; }
.wsv #bo_v_con h2[id^="sec-"] { scroll-margin-top: 110px; }
.wsv #bo_v_con table { display: block; max-width: 100%; overflow-x: auto; }

/* 목차 */
.wsv-toc { position: relative; }
.wsv-toc-in { position: sticky; top: 110px; padding: 2.2rem 2rem; border: 1px solid #e7e9ee; border-radius: 14px; background: #f8fafc; }
.wsv-toc-title { margin: 0 0 1.2rem; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #0f172a; }
.wsv-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.wsv-toc li + li { margin-top: 2px; }
.wsv-toc a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid #e2e8f0; font-size: 14px; line-height: 1.5; color: #64748b; text-decoration: none; transition: color .2s, border-color .2s; }
.wsv-toc a:hover { color: #0f172a; }
.wsv-toc a.is-on { border-left-color: #2563eb; color: #2563eb; font-weight: 700; }
.wsv-toc-top { margin-top: 1.4rem; border-left: 0 !important; padding-left: 0 !important; font-size: 13px !important; font-weight: 600; color: #94a3b8 !important; }

/* 아래쪽 섹션도 읽기 폭에 맞춤 */
.wsv .bo_v_nb_wrap, .wsv .ws-ins-cta, .wsv .ws-ins-sec, .wsv #bo_v_bot, .wsv #bo_vc, .wsv .cmt_btn, .wsv #bo_vc_w { max-width: 1076px; margin-left: auto; margin-right: auto; }

body[data-darkmode=on] .wsv-head #bo_v_title { color: #f1f5f9; }
body[data-darkmode=on] .wsv-toc-in { background: #1e293b; border-color: #334155; }
body[data-darkmode=on] .wsv-toc-title { color: #f1f5f9; }

@media (max-width: 1100px) {
    .wsv-layout.has-toc { grid-template-columns: minmax(0, 780px); }
    .wsv-toc { display: none; }
}
@media (max-width: 767px) {
    #bo_v.wsv { padding-top: 1.6rem; }
    .wsv-top { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 2.2rem; font-size: 13px; }
    .wsv-head #bo_v_title { font-size: 24px; }
    .wsv #bo_v_con { font-size: 16px; }
}
/* 본문 맨 위 분류 배지를 둥근 배지로 */
.wsv.has-badge #bo_v_con > div:first-child > div:first-child { display: inline-block !important; width: auto !important; margin: 0 0 16px !important; padding: 6px 14px !important; border-radius: 999px !important; background: #e0f2fe !important; color: #0369a1 !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1.5 !important; }
/* 블로그 목록 머리말: 숏츠와 같은 공용 머리말 + 검색창 (2026-11-28) */
.wsg-hero .ws-ins-head { padding-bottom: 0; }
.wsg-hero { padding-bottom: 40px; }

/* 상세: 목차 없이 한 칸으로 넓게, 글자 키움 (2026-11-28) */
.wsv-layout, .wsv-layout.has-toc { grid-template-columns: minmax(0, 900px); }
.wsv-top, .wsv .bo_v_nb_wrap, .wsv .ws-ins-cta, .wsv .ws-ins-sec, .wsv #bo_v_bot, .wsv #bo_vc, .wsv .cmt_btn, .wsv #bo_vc_w { max-width: 900px; }
.wsv #bo_v_con, .wsv.is-inline #bo_v_con > div:first-child { font-size: 17.5px !important; line-height: 1.9 !important; color: #1f2937 !important; }
.wsv #bo_v_con p { margin-bottom: 1.1em; }
.wsv #bo_v_con h2 { margin-top: 2.4em !important; }
.wsv #bo_v_con img { display: block; margin-left: auto; margin-right: auto; border-radius: 12px; }
.wsv-head #bo_v_title { font-size: 34px; }
@media (max-width: 767px) {
    .wsv #bo_v_con, .wsv.is-inline #bo_v_con > div:first-child { font-size: 16.5px !important; line-height: 1.85 !important; }
    .wsv-head #bo_v_title { font-size: 25px; }
}
