/* FAQ·칼럼 페이지 공통 스타일 — 메인(index.html)과 같은 핑크 톤. 40대+ 대상이라 본문 18px */
:root {
  --pink: #ec5f9b;
  --pink-deep: #e4287c;
  --pink-soft: #f7a9c6;
  --pink-bg: #fdeef4;
  --ink: #241a1f;
  --text: #4a3f46;
  --line: #f2dbe4;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.script { font-family: 'Nanum Pen Script', cursive; color: var(--pink); line-height: 1.25; }

/* header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 36px; height: 68px; }
.logo { line-height: 1; text-decoration: none; }
.logo b { display: block; font-size: 20px; font-weight: 900; letter-spacing: .12em; }
.logo span { display: block; font-size: 10px; color: var(--pink); margin-top: 4px; font-weight: 500; }
.gnb { display: flex; gap: 28px; margin-right: auto; font-size: 15px; font-weight: 500; }
.gnb a { text-decoration: none; color: #3c3339; }
.gnb a:hover { color: var(--pink); }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { background: linear-gradient(135deg,#f472a8,#e4287c); color: #fff; font-size: 14px; padding: 10px 20px; box-shadow: 0 4px 14px rgba(228,40,124,.28); }
.btn-lg { background: linear-gradient(135deg,#f472a8,#e02c7e); color: #fff; font-size: 18px; padding: 16px 36px; box-shadow: 0 10px 26px rgba(228,40,124,.32); }

/* document */
.doc { max-width: 760px; margin: 0 auto; padding: 28px 20px 56px; font-size: 18px; color: var(--text); }
.crumb { font-size: 15px; color: #8a7d85; margin-bottom: 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--pink-deep); }
.doc h1 { font-size: 34px; font-weight: 900; letter-spacing: -.03em; line-height: 1.3; color: var(--ink); margin-bottom: 18px; }
.lead { font-size: 20px; line-height: 1.75; color: var(--ink); padding: 18px 22px; background: var(--pink-bg); border-left: 4px solid var(--pink); border-radius: 0 14px 14px 0; }
.lead b, .doc li b { color: var(--pink-deep); }
.meta { font-size: 15px; color: #8a7d85; margin: 12px 0 8px; }
.doc h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.4; color: var(--ink); margin: 40px 0 12px; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 1.3em; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--pink-deep); text-underline-offset: 3px; }
.doc a.btn { color: #fff; text-decoration: none; }
.flow { background: #fff9fb; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px 8px 2.2em !important; }
.info { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
.info dt { font-weight: 700; color: var(--pink-deep); }
.source { font-size: 15px; color: #8a7d85; }
.caution { margin-top: 28px !important; padding: 14px 18px; border-radius: 12px; background: #f7f3f5; font-size: 16px; color: #6b6067; }

/* list pages */
.list { list-style: none; padding: 0 !important; display: grid; gap: 14px; margin-top: 24px !important; }
.list a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); background: linear-gradient(160deg,#fff 0%,#fdf0f5 100%); transition: border-color .15s, transform .15s; }
.list a:hover { border-color: var(--pink-soft); transform: translateY(-2px); }
.list h2 { margin: 0 0 6px !important; font-size: 21px !important; }
.list p { margin: 0 !important; font-size: 17px; }
.list time { display: block; margin-top: 8px; font-size: 14px; color: #8a7d85; }

/* cta + related */
.cta-box { margin: 44px 0 0; padding: 28px 24px; text-align: center; border-radius: 18px; background: linear-gradient(120deg,#fdeef4 0%,#fbe0ec 100%); }
.cta-box .script { font-size: 30px; margin-bottom: 6px; }
.cta-box p { margin-bottom: 18px; }
.related { margin-top: 40px; }
.related h2 { margin-top: 0; }

/* footer */
.foot { background: linear-gradient(120deg,#fdeef4,#fbe4ee); padding: 26px 20px 30px; font-size: 16px; color: #5b5057; }
.f-info { max-width: 760px; margin: 0 auto; font-style: normal; line-height: 1.7; }
.f-info strong { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.f-info dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.f-info dt { font-weight: 700; color: var(--pink-deep); }
.f-links { max-width: 760px; margin: 16px auto 0; display: flex; gap: 18px; flex-wrap: wrap; }
.copyright { max-width: 760px; margin: 12px auto 0; font-size: 13px; color: #a89ba2; }

.m-cta { display: none; }

@media (max-width: 820px) {
  .header .wrap { height: 60px; justify-content: space-between; gap: 12px; }
  .gnb { gap: 14px; font-size: 14px; }
  .header .btn-sm { display: none; }
  .doc h1 { font-size: 28px; }
  .lead { font-size: 19px; }
  .doc h2 { font-size: 22px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .m-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  .m-cta .btn-lg { width: 100%; }
  .cta-box .btn-lg { width: 100%; }
}
@media (max-width: 420px) {
  .gnb a:first-child { display: none; }
}
