/* ═══════════════════════════════════════════════════════════════
   블로그 7편용 v3 헤더·푸터·모바일 CTA — 옵션 B (하이브리드)
   본문은 styles_jeonghyo.css 라이트 톤 유지
   헤더·푸터·모바일 CTA만 v3 다크 톤으로 메인과 통일
   ═══════════════════════════════════════════════════════════════ */

:root {
  --v3-navy-darkest: #0A1426;
  --v3-navy-dark: #0F1B33;
  --v3-navy: #1A2B4C;
  --v3-gold: #C8A04A;
  --v3-gold-bright: #E0B860;
  --v3-ivory: #F8F5EE;
  --v3-ivory-dark: #E8E0CC;
  --v3-line: rgba(200,160,74,0.25);
  --v3-line-strong: rgba(200,160,74,0.4);
}

.v3-blog-header {
  background: var(--v3-navy-dark);
  padding: 14px 24px;
  border-bottom: 1px solid var(--v3-line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Noto Sans KR', -apple-system, 'Malgun Gothic', sans-serif;
}
.v3-blog-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--v3-ivory);
  text-decoration: none;
}
.v3-blog-header__brand img {
  /* 어두운 헤더에 묻혀 텍스트 브랜드로 대체 (변호사님 디자이너가 골드 텍스트 PNG 준비 시 display:block 으로 복귀) */
  display: none;
}
.v3-blog-header__brand-text {
  display: inline !important;
}
.v3-blog-header__brand-text {
  font-family: 'Noto Serif KR', serif;
  color: var(--v3-gold);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.v3-blog-header__nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.v3-blog-header__nav a {
  color: var(--v3-ivory-dark);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.v3-blog-header__nav a:hover,
.v3-blog-header__nav a[aria-current="page"] {
  color: var(--v3-gold-bright);
}
.v3-blog-header__cta {
  background: var(--v3-gold);
  color: var(--v3-navy-darkest) !important;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
}
.v3-blog-header__cta:hover { background: var(--v3-gold-bright); }
@media (max-width: 760px) {
  .v3-blog-header__nav a:not(.v3-blog-header__cta) { display: none; }
}

.v3-blog-footer {
  background: var(--v3-navy-darkest);
  color: rgba(248,245,238,0.65);
  text-align: center;
  padding: 50px 24px 30px;
  font-size: 13px;
  margin-top: 60px;
  line-height: 1.7;
  font-family: 'Noto Sans KR', -apple-system, 'Malgun Gothic', sans-serif;
}
.v3-blog-footer__logo { display: none; }
.v3-blog-footer__logo img { display: none; }
.v3-blog-footer p { margin-bottom: 6px; }
.v3-blog-footer p.brand-line { color: var(--v3-ivory); font-size: 14px; }
.v3-blog-footer a { color: var(--v3-gold); text-decoration: none; }
.v3-blog-footer a:hover { color: var(--v3-gold-bright); }
.v3-blog-footer__nav {
  margin: 18px 0;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.v3-blog-footer__nav a {
  color: rgba(248,245,238,0.7);
  font-size: 12.5px;
}
.v3-blog-footer .ad-resp { opacity: 0.65; font-size: 12px; margin-top: 14px; }
.v3-blog-footer .disclaimer {
  font-size: 11.5px;
  opacity: 0.55;
  max-width: 680px;
  margin: 14px auto 0;
  line-height: 1.7;
}

.v3-blog-mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--v3-navy);
  display: flex;
  z-index: 100;
  border-top: 1px solid var(--v3-line-strong);
}
.v3-blog-mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  color: var(--v3-gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: inherit;
}
.v3-blog-mobile-cta a:not(:last-child) { border-right: 1px solid rgba(200,160,74,0.25); }
.v3-blog-mobile-cta a:hover { background: rgba(200,160,74,0.12); }
@media (min-width: 760px) { .v3-blog-mobile-cta { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 56px; } }

/* ═══════════════════════════════════════════════════════════════
   블로그 7편 본문 다크 톤 통일 (옵션 A 전환 — 2026-05-12 변호사님 지시)
   메인 페이지와 시각 일관성 확보 · 본문 가독성은 충분한 행간·폰트 크기로 보존
   styles_jeonghyo.css 라이트 톤을 v3 다크로 오버라이드
   ═══════════════════════════════════════════════════════════════ */

body {
  background: var(--v3-navy-darkest) !important;
  color: var(--v3-ivory) !important;
  font-family: 'Noto Sans KR', -apple-system, 'Malgun Gothic', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 본문 영역 */
.jh-article {
  background: var(--v3-navy-darkest);
  color: var(--v3-ivory);
  font-size: 16px;
  line-height: 1.9;
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.jh-article p,
.jh-article ul,
.jh-article ol,
.jh-article li {
  color: var(--v3-ivory) !important;
  line-height: 1.9 !important;
}
.jh-article p { margin-bottom: 18px; }
.jh-article strong { color: var(--v3-gold-bright); font-weight: 700; }
.jh-article a {
  color: var(--v3-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.jh-article a:hover { color: var(--v3-gold-bright); }

/* 본문 제목 (h1) */
.jh-article > h1,
.jh-article h1[style*="Noto Serif KR"] {
  color: var(--v3-gold) !important;
  font-family: 'Noto Serif KR', serif !important;
  font-size: 2.0rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-bottom: 28px !important;
  padding-bottom: 0 !important;
  border: none !important;
}

/* h2 — 다크 톤 골드 헤딩 */
.jh-article h2 {
  font-family: 'Noto Serif KR', serif !important;
  color: var(--v3-gold) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-top: 56px !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--v3-line) !important;
}

/* h3 — 부제목 */
.jh-article h3 {
  font-family: 'Noto Sans KR', sans-serif !important;
  color: var(--v3-ivory) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin-top: 28px !important;
  margin-bottom: 10px !important;
  letter-spacing: -0.01em;
}

/* 메타 (날짜·태그) */
.jh-article__meta {
  color: var(--v3-ivory-dark) !important;
  border-bottom: 1px solid var(--v3-line) !important;
  padding-bottom: 14px !important;
  margin-bottom: 28px !important;
}
.jh-article__meta .tag {
  background: var(--v3-gold) !important;
  color: var(--v3-navy-darkest) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

/* 표 */
.jh-article table {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--v3-line) !important;
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
}
.jh-article th {
  background: var(--v3-navy) !important;
  color: var(--v3-gold) !important;
  border: 1px solid var(--v3-line-strong) !important;
  font-weight: 700 !important;
  padding: 12px 14px !important;
}
.jh-article td {
  background: transparent !important;
  color: var(--v3-ivory) !important;
  border: 1px solid var(--v3-line) !important;
  padding: 12px 14px !important;
}

/* Q&A 박스 */
.jh-article__qa {
  background: rgba(200,160,74,0.06) !important;
  border-left: 3px solid var(--v3-gold) !important;
  padding: 18px 22px !important;
  margin: 16px 0 !important;
  border-radius: 0 6px 6px 0;
}
.jh-article__qa h3 {
  color: var(--v3-ivory) !important;
  margin: 0 0 8px !important;
  font-size: 15.5px !important;
}
.jh-article__qa h3::before {
  content: 'Q. ';
  color: var(--v3-gold) !important;
  font-weight: 700;
}
.jh-article__qa p {
  color: var(--v3-ivory-dark) !important;
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.85 !important;
}
.jh-article__qa p::before {
  content: 'A. ';
  color: var(--v3-gold) !important;
  font-weight: 700;
}

/* CTA 박스 */
.jh-article__cta {
  background: linear-gradient(135deg, var(--v3-navy), var(--v3-navy-darkest)) !important;
  border: 1px solid var(--v3-line-strong) !important;
  color: var(--v3-ivory) !important;
  padding: 36px 32px !important;
  border-radius: 10px !important;
  margin: 56px 0 !important;
  text-align: center;
}
.jh-article__cta h3 {
  font-family: 'Noto Serif KR', serif !important;
  color: var(--v3-gold) !important;
  font-size: 1.3rem !important;
  margin: 0 0 14px !important;
  border: none !important;
  padding: 0 !important;
}
.jh-article__cta a.phone {
  color: var(--v3-gold) !important;
  font-family: 'Noto Serif KR', serif !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  display: inline-block;
  margin: 6px 0;
}
.jh-article__cta a.phone:hover { color: var(--v3-gold-bright) !important; }
.jh-article__cta p {
  color: var(--v3-ivory-dark) !important;
  margin: 8px 0 !important;
  opacity: 0.92;
  font-size: 14px !important;
}
.jh-article__cta a:not(.phone) {
  color: var(--v3-gold) !important;
  text-decoration: none !important;
}

/* 관련 페이지 */
.jh-article__related {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--v3-line) !important;
  color: var(--v3-ivory) !important;
  padding: 24px 28px !important;
  border-radius: 8px !important;
  margin: 48px 0 28px !important;
}
.jh-article__related h3 {
  font-family: 'Noto Serif KR', serif !important;
  color: var(--v3-ivory) !important;
  font-size: 1.1rem !important;
  margin: 0 0 14px !important;
  border: none !important;
  padding: 0 !important;
}
.jh-article__related ul { padding: 0 !important; margin: 0 !important; list-style: none !important; }
.jh-article__related li {
  padding: 8px 0 !important;
  border-bottom: 1px dashed var(--v3-line) !important;
}
.jh-article__related li:last-child { border-bottom: none !important; }
.jh-article__related a {
  color: var(--v3-ivory-dark) !important;
  text-decoration: none !important;
  font-size: 14px;
}
.jh-article__related a:hover { color: var(--v3-gold) !important; }
.jh-article__related a::before {
  content: '→ ';
  color: var(--v3-gold) !important;
  font-weight: 700;
}

/* 본문 끝 슬로건 */
.jh-article > p[style*="Noto Serif KR"]:last-of-type {
  color: var(--v3-gold) !important;
  background: rgba(200,160,74,0.06);
  border-top: 1px solid var(--v3-line);
  border-bottom: 1px solid var(--v3-line);
  padding: 24px 20px !important;
  margin-top: 56px !important;
  border-radius: 4px;
}

/* 반응형 */
@media (max-width: 760px) {
  .jh-article { padding: 32px 18px 60px; font-size: 15.5px; }
  .jh-article > h1 { font-size: 1.6rem !important; }
  .jh-article h2 { font-size: 1.3rem !important; margin-top: 40px !important; }
  .jh-article h3 { font-size: 1.05rem !important; }
  .jh-article__cta { padding: 28px 20px !important; }
  .jh-article__cta a.phone { font-size: 1.5rem !important; }
}
