/* 홈페이지 공통(머리 메뉴, 푸터)과 하위 화면(매거진, 보도자료, 공지사항, 자주 묻는 질문, 1:1 문의, 약관, 오류).
   10/4 대표: «메인만 새로 바뀌었다, 옛 템플릿 전면 개편». 새 홈(home-v2.css)과 같은 말투로 맞춘다.
   색은 로고 파랑 한 계열, 선 대신 여백과 옅은 파랑 면으로 나눈다. 검색 정보(head)는 base.html 그대로 둔다. */
:root {
  --sv-brand: #2b7aff;
  --sv-brand-deep: #1b5fd6;
  --sv-surface: #edf3ff;
  --sv-surface-2: #dce8ff;
  --sv-ink: #15181d;
  --sv-ink-2: #2f3846;
  --sv-muted: #5a6575;
  --sv-white: #ffffff;
  --sv-up: #e03131;
  --sv-shadow: 0 18px 50px rgba(13, 52, 128, 0.16);
  --sv-shadow-soft: 0 10px 30px rgba(13, 52, 128, 0.09);
  --sv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sv-spring: cubic-bezier(0.3, 1.5, 0.5, 1);
}

/* ───────── 머리 메뉴 ─────────
   새 홈은 첫 화면 위에서 투명했다가 내리면 파랑(home-v2.css). 다른 화면은 처음부터 파랑. */
.header.sv2-header { border-bottom: 0; }
.header.specialHeader.sv2-solid { background-color: var(--sv-brand); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 6px 24px rgba(13, 52, 128, 0.16); }
.sv2-header .menuItem { color: rgba(255, 255, 255, 0.86); opacity: 1; font-weight: 600; position: relative; transition: color 0.2s ease; }
.sv2-header .menuItem:hover { color: var(--sv-white); }
.sv2-header .menuItem.active { color: var(--sv-white); font-weight: 800; }
.sv2-header .menuItem.active::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--sv-white); }
.sv2-header #navToggle { color: var(--sv-white); }
.sv2-mobile-menu { background: var(--sv-white); padding: 18px 16px 32px; }
.sv2-mobile-menu nav { display: grid; gap: 8px; }
.sv2-mobile-menu a.sv2-mobile-link { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 20px; border-radius: 18px; background: var(--sv-surface); color: var(--sv-ink); font-size: 18px; font-weight: 700; text-decoration: none; }
.sv2-mobile-menu a.sv2-mobile-link.active { background: var(--sv-brand); color: var(--sv-white); }
.sv2-mobile-menu a.sv2-mobile-link svg { width: 20px; height: 20px; opacity: 0.6; }
.sv2-mobile-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.sv2-mobile-stores a { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 16px; background: var(--sv-brand); color: var(--sv-white); font-weight: 800; text-decoration: none; }

/* ───────── 하위 화면 공통 ───────── */
.sv2 { color: var(--sv-ink); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
.sv2 *, .sv2 *::before, .sv2 *::after { box-sizing: border-box; }
.sv2-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.sv2-narrow { max-width: 820px; }
.sv2-sec { padding-block: 56px 112px; }
.sv2-h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; font-weight: 800; letter-spacing: -0.025em; }
.sv2-sub { margin: 10px 0 0; font-size: 16px; line-height: 1.7; color: var(--sv-muted); }
.num { font-variant-numeric: tabular-nums; }
/* 제목의 짧은 괄호 묶음·가운뎃점 낱말을 한 덩어리로(text_tags.keep_together) */
.sv2-nw { white-space: nowrap; }

/* 첫 띠(파랑): 목록 화면 */
.sv2-hero { position: relative; overflow: hidden; color: var(--sv-white); padding: 132px 0 64px;
  background: radial-gradient(900px 600px at 88% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 62%), linear-gradient(166deg, #1b56e4 0%, #2b7aff 55%, #3f8cff 100%); }
.sv2-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px; align-items: end; }
.sv2-h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.15; font-weight: 900; letter-spacing: -0.035em; color: inherit; }
.sv2-hero .sv2-h1 { color: var(--sv-white); }
.sv2-hero--light .sv2-h1 { color: var(--sv-ink); }
.sv2-lede { margin: 18px 0 0; max-width: 32em; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, 0.92); }
.sv2-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sv2-stat { display: inline-block; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.16); font-size: 15px; font-weight: 700; line-height: 1.4; }
.sv2-stat b { margin-left: 4px; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.sv2-hero .sv2-h1, .sv2-hero .sv2-lede, .sv2-hero .sv2-hero-stats, .sv2-hero-side { animation: sv2-up-in 0.7s var(--sv-ease) var(--d, 0ms) both; }
@keyframes sv2-up-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sv2-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* 첫 띠 오른쪽: 살아 있는 카드(최신 글, 최근 공지 등). 몇 초마다 다음 것으로 넘어간다 */
.sv2-hero-side { position: relative; min-height: 196px; --d: 160ms; }
.sv2-live { position: relative; display: block; min-height: 196px; }
.sv2-live-card { position: absolute; inset: 0; display: grid; align-content: space-between; gap: 14px; padding: 22px 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.95); color: var(--sv-ink); text-decoration: none; box-shadow: 0 24px 50px rgba(4, 20, 58, 0.26);
  opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.55s ease, transform 0.7s var(--sv-ease); pointer-events: none; }
.sv2-live-card.is-on { opacity: 1; transform: none; pointer-events: auto; animation: sv2-bob 7s ease-in-out 1s infinite; }
.sv2-live-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sv2-live-title { font-size: 19px; line-height: 1.45; font-weight: 800; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv2-live-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 800; color: var(--sv-brand-deep); }
.sv2-live-go svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--sv-spring); }
.sv2-live-card:hover .sv2-live-go svg { transform: translateX(4px); }
.sv2-live-dots { position: absolute; right: 18px; bottom: -22px; display: flex; gap: 6px; }
.sv2-live-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: background-color 0.3s ease, width 0.3s ease; }
.sv2-live-dots i.is-on { width: 20px; border-radius: 4px; background: var(--sv-white); }

/* 첫 띠(옅은 파랑): 읽는 화면(글, 공지, 약관) */
.sv2-hero--light { color: var(--sv-ink); padding: 128px 0 40px; background: var(--sv-surface); }
.sv2-hero--light .sv2-h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.38; letter-spacing: -0.025em; }
.sv2-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.sv2-crumbs a, .sv2-crumbs span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--sv-white); color: var(--sv-brand-deep); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.sv2-crumbs a:hover { background: var(--sv-surface-2); }
.sv2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }

/* 꼬리표 */
.sv2-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--sv-surface); color: var(--sv-brand-deep); font-size: 13px; font-weight: 700; white-space: nowrap; }
.sv2-chip--solid { background: var(--sv-brand); color: var(--sv-white); }
.sv2-chip--white { background: var(--sv-white); color: var(--sv-ink-2); }
.sv2-chip--plain { background: var(--sv-white); color: var(--sv-muted); font-weight: 600; }
.sv2-chip svg { width: 14px; height: 14px; }

/* 고르기 탭(htmx 로 목록만 바뀐다) */
.sv2-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: -28px; position: relative; z-index: 2; }
.sv2-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px; border-radius: 999px; background: var(--sv-white); box-shadow: var(--sv-shadow-soft); scrollbar-width: none; max-width: 100%; }
.sv2-tabs::-webkit-scrollbar { display: none; }
.sv2-tab { appearance: none; border: 0; flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: transparent; color: var(--sv-ink-2); font: inherit; font-size: 15.5px; font-weight: 700; white-space: nowrap; cursor: pointer; text-decoration: none; transition: background-color 0.25s ease, color 0.25s ease; }
.sv2-tab:hover { background: var(--sv-surface); }
.sv2-tab.is-on { background: var(--sv-brand); color: var(--sv-white); box-shadow: 0 6px 16px rgba(43, 122, 255, 0.32); }
.sv2-tool-right { display: flex; align-items: center; gap: 8px; }
.sv2-search { position: relative; display: flex; align-items: center; }
.sv2-search input { width: 240px; max-width: 100%; height: 52px; padding: 0 16px 0 44px; border: 0; border-radius: 999px; background: var(--sv-white); box-shadow: var(--sv-shadow-soft); font: inherit; font-size: 15px; color: var(--sv-ink); outline: none; }
.sv2-search input:focus { box-shadow: 0 0 0 3px rgba(43, 122, 255, 0.35); }
.sv2-search svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--sv-muted); pointer-events: none; }
.sv2-sort { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--sv-white); box-shadow: var(--sv-shadow-soft); }
.sv2-sort button { appearance: none; border: 0; min-height: 42px; padding: 0 14px; border-radius: 999px; background: transparent; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--sv-muted); cursor: pointer; }
.sv2-sort button.is-on { background: var(--sv-surface); color: var(--sv-brand-deep); }

/* 목록 줄(매거진, 공지, 보도자료). 같은 카드를 격자로 깔지 않고, 날짜 칸과 제목 줄로 */
.sv2-rows { display: grid; gap: 10px; margin-top: 28px; }
.sv2-row { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 26px; border-radius: 24px; background: var(--sv-white); color: var(--sv-ink); text-decoration: none; box-shadow: 0 1px 0 rgba(13, 52, 128, 0.04); transition: transform 0.35s var(--sv-ease), box-shadow 0.35s ease, background-color 0.35s ease; }
.sv2-row:hover { transform: translateY(-3px); box-shadow: var(--sv-shadow); }
.sv2-row-date { display: grid; justify-items: start; gap: 2px; color: var(--sv-brand-deep); }
.sv2-row-date b { font-size: 26px; line-height: 1; font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sv2-row-date span { font-size: 13px; font-weight: 700; color: var(--sv-muted); font-variant-numeric: tabular-nums; }
.sv2-row-body { display: grid; gap: 8px; min-width: 0; }
.sv2-row-top { display: flex; flex-wrap: wrap; gap: 6px; }
.sv2-row-title { margin: 0; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.45; font-weight: 800; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv2-row-text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--sv-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv2-row-go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sv-surface); color: var(--sv-brand-deep); transition: transform 0.35s var(--sv-spring), background-color 0.3s ease, color 0.3s ease; }
.sv2-row-go svg { width: 18px; height: 18px; }
.sv2-row:hover .sv2-row-go { transform: translateX(4px); background: var(--sv-brand); color: var(--sv-white); }
.sv2-row.is-pinned { background: var(--sv-surface); }
.sv2-empty { display: grid; justify-items: center; gap: 10px; padding: 80px 20px; border-radius: 28px; background: var(--sv-white); text-align: center; color: var(--sv-muted); }
.sv2-empty b { font-size: 19px; color: var(--sv-ink); }

/* 쪽 넘김 */
.sv2-pager { display: flex; justify-content: center; margin-top: 36px; }
.sv2-pager ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sv2-pager a, .sv2-pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px; background: var(--sv-white); color: var(--sv-ink-2); font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
.sv2-pager a:hover { background: var(--sv-surface-2); }
.sv2-pager [aria-current="page"] { background: var(--sv-brand); color: var(--sv-white); }
.sv2-pager [aria-disabled="true"] { opacity: 0.35; }

/* 화면 바탕(목록 화면은 옅은 파랑 면 위에 흰 줄) */
.sv2-page { background: var(--sv-surface); }

/* ───────── 읽는 화면(글 본문) ───────── */
.sv2-article { padding: 40px 0 96px; background: var(--sv-white); }
.sv2-article-grid { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 56px; justify-content: center; }
.sv2-article-main { min-width: 0; }
.sv2-article .proseCustom, .sv2-article .prose { color: var(--sv-ink-2); font-size: 17.5px; line-height: 1.85; }
/* modules.css 의 옛 본문 규칙이 !important 라 같은 힘으로 덮는다 */
.sv2-article .proseCustom h2 { margin: 2.2em 0 0.7em !important; padding: 0; font-size: clamp(22px, 2.2vw, 27px) !important; line-height: 1.45 !important; font-weight: 800 !important; color: var(--sv-ink) !important; letter-spacing: -0.02em; scroll-margin-top: 110px; }
.sv2-article .proseCustom h3 { margin: 1.8em 0 0.5em !important; font-size: clamp(19px, 1.8vw, 21px) !important; line-height: 1.5 !important; font-weight: 800 !important; color: var(--sv-ink) !important; scroll-margin-top: 110px; }
.sv2-article .proseCustom h4 { margin: 1.5em 0 0.4em !important; color: var(--sv-ink) !important; }
.sv2-article .proseCustom :is(h1, h2, h3, h4, h5, h6) a { color: inherit !important; background: none !important; font-weight: inherit !important; margin: 0 !important; }
.sv2-article .proseCustom p { font-size: 17.5px !important; font-weight: 400 !important; line-height: 1.85 !important; color: var(--sv-ink-2) !important; margin: 0 0 1.1em !important; }
.sv2-article .proseCustom li { color: var(--sv-ink-2) !important; margin-bottom: 0.5em !important; }
.sv2-article .proseCustom ul, .sv2-article .proseCustom ol { margin-bottom: 1.2em !important; }
.sv2-article .proseCustom a { color: var(--sv-brand-deep) !important; font-weight: 700; margin-bottom: 0 !important; text-decoration: none !important; background: linear-gradient(transparent 62%, var(--sv-surface-2) 62%); }
.sv2-article .proseCustom strong { color: var(--sv-ink); }
.sv2-article .proseCustom blockquote { margin: 1.6em 0; padding: 18px 22px; border: 0; border-radius: 18px; background: var(--sv-surface); color: var(--sv-ink-2); font-style: normal; }
.sv2-article .proseCustom blockquote p:first-of-type::before, .sv2-article .proseCustom blockquote p:last-of-type::after { content: none; }
.sv2-article .proseCustom table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: separate; border-spacing: 0; border-radius: 16px; background: var(--sv-surface); font-size: 15px; }
.sv2-article .proseCustom th { background: var(--sv-surface-2); color: var(--sv-ink); font-weight: 800; border: 0; padding: 12px 14px; }
.sv2-article .proseCustom td { border: 0; padding: 12px 14px; }
.sv2-article .proseCustom tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.6); }
.sv2-article .proseCustom hr { height: 0; border: 0; margin: 2.4em 0; }
.sv2-article .proseCustom img { max-width: 100%; height: auto; border-radius: 18px; }
.sv2-article .proseCustom pre { max-width: 100%; overflow-x: auto; border-radius: 16px; }
.sv2-article .proseCustom ul > li::marker, .sv2-article .proseCustom ol > li::marker { color: var(--sv-brand); font-weight: 800; }
/* 한글은 낱말 단위로 줄을 바꾸고(«보/증금» 처럼 글자 중간에서 끊지 않게), 긴 주소·숫자만 어디서든 끊는다 */
.sv2-article-main, .sv2-article .proseCustom { max-width: 100%; word-break: keep-all; overflow-wrap: anywhere; }

/* 오른쪽 목차(약관처럼 긴 글). 글의 h2·h3 로 만든다(site-v2.js) */
.sv2-toc { position: sticky; top: 108px; align-self: start; display: grid; gap: 4px; max-height: calc(100vh - 140px); overflow: auto; padding: 18px; border-radius: 22px; background: var(--sv-surface); }
.sv2-toc b { font-size: 14px; font-weight: 800; color: var(--sv-ink); margin-bottom: 6px; }
.sv2-toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: var(--sv-muted); text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
.sv2-toc a.is-sub { padding-left: 20px; font-size: 13px; }
.sv2-toc a:hover { color: var(--sv-ink); background: var(--sv-white); }
.sv2-toc a.is-on { color: var(--sv-white); background: var(--sv-brand); font-weight: 700; }
.sv2-toc:empty { display: none; }

/* 읽은 만큼 차오르는 줄(글 화면 머리 아래) */
.sv2-progress { position: fixed; left: 0; right: 0; top: 80px; z-index: 49; height: 4px; background: transparent; pointer-events: none; }
.sv2-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #4a92ff, var(--sv-brand)); border-radius: 0 4px 4px 0; }

/* 글 끝: 나누기·목록·다음 글 */
.sv2-article-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.sv2-btn { appearance: none; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 16px; background: var(--sv-brand); color: var(--sv-white); font: inherit; font-size: 15.5px; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px rgba(43, 122, 255, 0.28); transition: transform 0.18s ease, box-shadow 0.2s ease; }
.sv2-btn:hover { transform: translateY(-2px); }
.sv2-btn:active { transform: scale(0.97); }
.sv2-btn--soft { background: var(--sv-surface); color: var(--sv-brand-deep); box-shadow: none; }
.sv2-btn svg { width: 18px; height: 18px; }
.sv2-btn.is-done { background: var(--sv-brand-deep); }
.sv2-next { margin-top: 56px; }
.sv2-next-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.sv2-next-card { display: grid; align-content: start; gap: 10px; min-height: 170px; padding: 20px; border-radius: 22px; background: var(--sv-surface); color: var(--sv-ink); text-decoration: none; transition: transform 0.3s var(--sv-ease), background-color 0.3s ease; }
.sv2-next-card:hover { transform: translateY(-4px); background: var(--sv-surface-2); }
.sv2-next-card b { font-size: 16.5px; line-height: 1.5; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sv2-next-card:first-child { background: var(--sv-brand); color: var(--sv-white); }
.sv2-next-card:first-child .sv2-chip { background: rgba(255, 255, 255, 0.2); color: var(--sv-white); }
.sv2-next-card:first-child:hover { background: var(--sv-brand-deep); }

/* 앱 받기 띠(대표 사진, 새 홈 끝 띠와 같은 구성) */
.sv2-app-band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; min-height: 300px; margin-top: 64px; padding-left: 44px; border-radius: 32px; color: var(--sv-white);
  background: radial-gradient(600px 400px at 90% 0%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 70%), linear-gradient(160deg, #1f5fe8 0%, #2b7aff 60%, #4a92ff 100%); }
.sv2-app-copy { position: relative; z-index: 2; display: grid; gap: 16px; justify-items: start; padding: 44px 0; align-self: center; }
.sv2-app-copy img { width: 104px; height: auto; display: block; }
.sv2-app-copy b { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.32; font-weight: 900; letter-spacing: -0.025em; max-width: 13em; }
.sv2-app-stores { display: flex; flex-wrap: wrap; gap: 8px; }
.sv2-app-stores a { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border-radius: 15px; background: var(--sv-white); color: var(--sv-brand-deep); font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(6, 30, 84, 0.22); transition: transform 0.18s ease; }
.sv2-app-stores a:hover { transform: translateY(-2px); }
.sv2-app-person { position: relative; z-index: 1; align-self: end; display: flex; height: 100%; }
.sv2-app-person img { display: block; height: 300px; width: auto; }

/* ───────── 자주 묻는 질문(펼치기) ───────── */
.sv2-faq { display: grid; gap: 10px; margin-top: 28px; }
.sv2-faq-item { border-radius: 22px; background: var(--sv-white); transition: box-shadow 0.3s ease; }
.sv2-faq-item[data-open="true"] { box-shadow: var(--sv-shadow); }
.sv2-faq-q { appearance: none; border: 0; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 20px 22px; background: transparent; font: inherit; text-align: left; cursor: pointer; color: var(--sv-ink); }
.sv2-faq-q i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--sv-surface); color: var(--sv-brand-deep); font-style: normal; font-weight: 900; }
.sv2-faq-q span { font-size: 17px; line-height: 1.5; font-weight: 800; letter-spacing: -0.01em; }
.sv2-faq-q svg { width: 22px; height: 22px; color: var(--sv-brand-deep); transition: transform 0.35s var(--sv-ease); }
.sv2-faq-item[data-open="true"] .sv2-faq-q svg { transform: rotate(45deg); }
.sv2-faq-item[data-open="true"] .sv2-faq-q i { background: var(--sv-brand); color: var(--sv-white); }
.sv2-faq-a { padding: 0 22px 22px 70px; }
.sv2-faq-a p { margin: 0; padding: 18px 20px; border-radius: 16px; background: var(--sv-surface); font-size: 15.5px; line-height: 1.8; color: var(--sv-ink-2); white-space: pre-line; }

/* 도움 칸(공지·질문 끝): 1:1 문의, 자주 묻는 질문 */
.sv2-help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.sv2-help a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px; border-radius: 24px; background: var(--sv-surface); color: var(--sv-ink); text-decoration: none; transition: transform 0.3s var(--sv-ease), background-color 0.3s ease; }
.sv2-help a:hover { transform: translateY(-3px); background: var(--sv-surface-2); }
.sv2-help-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sv-white); color: var(--sv-brand); }
.sv2-help-ico svg { width: 26px; height: 26px; }
.sv2-help a > svg { width: 20px; height: 20px; color: var(--sv-brand-deep); transition: transform 0.3s var(--sv-spring); }
.sv2-help a:hover > svg { transform: translateX(4px); }
.sv2-help b { display: block; font-size: 17px; font-weight: 800; }
.sv2-help span { display: block; margin-top: 2px; font-size: 14px; color: var(--sv-muted); }

/* ───────── 1:1 문의 ───────── */
.sv2-form-card { margin-top: -28px; position: relative; z-index: 2; padding: 32px; border-radius: 28px; background: var(--sv-white); box-shadow: var(--sv-shadow); }
.sv2-notes { display: grid; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.sv2-notes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--sv-ink-2); }
.sv2-notes li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--sv-brand); }
.sv2-field { display: grid; gap: 8px; margin-bottom: 18px; }
.sv2-field label { font-size: 15px; font-weight: 800; color: var(--sv-ink); }
.sv2-field label .req { color: var(--sv-brand); margin-left: 2px; }
.sv2-field input[type="text"], .sv2-field input[type="email"], .sv2-field textarea { width: 100%; border: 0; border-radius: 16px; background: var(--sv-surface); padding: 16px 18px; font: inherit; font-size: 16px; color: var(--sv-ink); outline: none; transition: box-shadow 0.2s ease, background-color 0.2s ease; }
.sv2-field input:focus, .sv2-field textarea:focus { background: var(--sv-white); box-shadow: 0 0 0 3px rgba(43, 122, 255, 0.4); }
.sv2-field textarea { min-height: 220px; resize: vertical; line-height: 1.7; }
.sv2-field .help { font-size: 13px; color: var(--sv-muted); text-align: right; }
.sv2-field .err, .sv2-form-err { font-size: 14px; color: var(--sv-up); font-weight: 600; }
.sv2-field.has-err input, .sv2-field.has-err textarea { box-shadow: 0 0 0 2px rgba(224, 49, 49, 0.5); }
.sv2-consent { margin: 8px 0 14px; padding: 18px 20px; border-radius: 18px; background: var(--sv-surface); font-size: 14px; line-height: 1.75; color: var(--sv-ink-2); }
.sv2-consent p { margin: 0; }
.sv2-consent p:first-child { font-weight: 800; color: var(--sv-ink); margin-bottom: 4px; }
.sv2-consent a { color: var(--sv-brand-deep); font-weight: 700; }
.sv2-check { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 15px; font-weight: 700; cursor: pointer; }
.sv2-check input { width: 22px; height: 22px; accent-color: var(--sv-brand); }
.sv2-submit { width: 100%; min-height: 60px; font-size: 18px; }

/* ───────── 오류 화면 ───────── */
.sv2-error { display: grid; place-items: center; min-height: 72vh; padding: 140px 20px 80px; background: var(--sv-surface); text-align: center; }
.sv2-error-code { font-size: clamp(72px, 12vw, 132px); line-height: 1; font-weight: 900; letter-spacing: -0.05em; color: var(--sv-brand); }
.sv2-error h1 { margin: 18px 0 0; font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: -0.02em; }
.sv2-error p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: var(--sv-muted); }
.sv2-error .sv2-article-actions { justify-content: center; }

/* ───────── 푸터 ───────── */
.sv2-footer { background: var(--sv-surface); color: var(--sv-ink-2); padding: 56px 0 40px; word-break: keep-all; }
.sv2-footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.sv2-footer-brand img { width: 118px; height: auto; display: block; }
.sv2-footer-brand p { margin: 14px 0 0; max-width: 22em; font-size: 15px; line-height: 1.7; color: var(--sv-muted); }
.sv2-footer-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sv2-footer-stores a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 14px; background: var(--sv-brand); color: var(--sv-white); font-size: 14.5px; font-weight: 800; text-decoration: none; transition: transform 0.18s ease; }
.sv2-footer-stores a:hover { transform: translateY(-2px); }
.sv2-footer-col b { display: block; margin-bottom: 12px; font-size: 14.5px; font-weight: 800; color: var(--sv-ink); }
.sv2-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sv2-footer-col a { display: inline-flex; padding: 5px 0; font-size: 14.5px; color: var(--sv-ink-2); text-decoration: none; }
.sv2-footer-col a:hover { color: var(--sv-brand-deep); }
.sv2-footer-col a.is-strong { font-weight: 800; color: var(--sv-ink); }
.sv2-footer-col details { margin-top: 2px; }
.sv2-footer-col summary { cursor: pointer; padding: 5px 0; font-size: 14px; color: var(--sv-muted); list-style: none; }
.sv2-footer-col summary::-webkit-details-marker { display: none; }
.sv2-footer-col summary::after { content: "+"; margin-left: 6px; font-weight: 800; }
.sv2-footer-col details[open] summary::after { content: "-"; }
.sv2-footer-col details a { font-size: 13.5px; color: var(--sv-muted); }
.sv2-footer-company { margin-top: 36px; padding: 22px 24px; border-radius: 22px; background: var(--sv-white); display: grid; gap: 6px; font-size: 13.5px; line-height: 1.7; color: var(--sv-muted); }
.sv2-footer-company .sv2-co-name { font-size: 15px; font-weight: 800; color: var(--sv-ink); }
.sv2-co-line { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.sv2-co-line a { color: var(--sv-brand-deep); font-weight: 700; text-decoration: none; }
.sv2-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; font-size: 13px; color: var(--sv-muted); }
.sv2-sns { display: flex; flex-wrap: wrap; gap: 8px; }
.sv2-sns a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--sv-white); color: var(--sv-ink-2); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.sv2-sns a:hover { color: var(--sv-brand-deep); background: var(--sv-surface-2); }

/* ───────── 좁은 화면 ───────── */
@media (max-width: 900px) {
  .sv2-hero { padding: 116px 0 56px; }
  .sv2-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sv2-article-grid { grid-template-columns: minmax(0, 1fr); }
  .sv2-toc { display: none; }
  .sv2-next-list { grid-template-columns: minmax(0, 1fr); }
  .sv2-next-card { min-height: 0; }
  .sv2-help { grid-template-columns: minmax(0, 1fr); }
  .sv2-footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sv2-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sv2-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; border-radius: 20px; }
  .sv2-row-date { display: flex; align-items: baseline; gap: 6px; }
  .sv2-row-date b { font-size: 18px; }
  .sv2-row-go { display: none; }
  .sv2-toolbar { margin-top: -24px; }
  .sv2-tool-right { width: 100%; }
  .sv2-search, .sv2-search input { width: 100%; }
  .sv2-faq-a { padding: 0 16px 16px; }
  .sv2-faq-q { padding: 16px; }
  .sv2-form-card { padding: 22px 18px; border-radius: 24px; }
  .sv2-app-band { display: block; min-height: 0; padding: 0; border-radius: 26px; }
  .sv2-app-copy { width: 62%; padding: 28px 0 28px 22px; gap: 12px; }
  .sv2-app-copy b { font-size: 19px; }
  .sv2-app-stores { flex-direction: column; align-items: stretch; width: 100%; }
  .sv2-app-stores a { min-height: 44px; font-size: 14px; }
  .sv2-app-person { position: absolute; right: -10px; bottom: 0; height: 88%; }
  .sv2-app-person img { height: 100%; }
  .sv2-footer-top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .sv2-progress { top: 80px; }
}

/* 움직임 줄이기 */
@media (prefers-reduced-motion: reduce) {
  .sv2 *, .sv2 *::before, .sv2 *::after, .sv2-footer * { animation: none !important; transition: none !important; }
  .sv2-live-card { transition: none; }
}
