/* ==========================================================
   로또해봄 — article.css  (가이드 글 템플릿 · 애드센스 승인용 콘텐츠 페이지)
   ========================================================== */
.art-hero { padding: 18px 0 8px; background: linear-gradient(180deg, #FFF8EC 0%, #FFFFFF 100%); }
.art-wrap { max-width: 760px; }
.art-title { margin-top: 0; font-size: 28px; line-height: 1.35; font-weight: 800; letter-spacing: -.045em; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #C9CFD9; }
@media (min-width: 768px) { .art-hero { padding: 24px 0 12px; } .art-title { font-size: 38px; } }

.summary { margin-top: 24px; padding: 18px 20px; border-radius: 20px; background: var(--sun-soft); border: 1px solid var(--sun-line); }
.summary strong { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--sun-deep); }
.summary ul { margin-top: 8px; display: grid; gap: 6px; }
.summary li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.summary li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }

.toc { margin: 20px 0 8px; padding: 16px 18px; border-radius: 18px; background: var(--surface-2); }
.toc p { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.toc ol { margin-top: 6px; display: grid; gap: 4px; counter-reset: t; }
.toc li { counter-increment: t; font-size: 15px; font-weight: 600; }
.toc li a { display: flex; gap: 10px; padding: 4px 0; color: var(--ink-2); }
.toc li a::before { content: counter(t); width: 22px; height: 22px; flex: none; border-radius: 7px; display: grid; place-items: center; background: #fff; font-size: 12px; font-weight: 800; color: var(--sun-deep); }
.toc li a:hover { color: var(--ink); }

.prose { padding: 8px 0 40px; font-size: 16.5px; line-height: 1.85; color: #2B3242; }
.prose h2 { position: relative; margin: 40px 0 12px; padding-left: 14px; font-size: 22px; line-height: 1.4; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.prose h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 5px; border-radius: 3px; background: linear-gradient(180deg, #FFB547, var(--sun)); }
.prose p { margin: 12px 0; }
.prose b { color: var(--ink); }
.prose mark { padding: 0 2px; background: linear-gradient(transparent 58%, #FFE08A 58%); color: inherit; }
.prose .tbl { margin: 16px 0; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.prose table { font-size: 15px; }
.prose th { padding: 12px 14px; background: var(--surface-2); text-align: left; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.prose td { padding: 12px 14px; border-top: 1px solid var(--line-2); }
.prose td.r, .prose th.r { text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .prose h2 { font-size: 25px; } }

.calc { margin: 18px 0; padding: 20px; border-radius: 22px; background: linear-gradient(150deg, #FFF7D9 0%, #FFEBD2 100%); border: 1px solid #FFE3BC; }
.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; color: #A0561A; }
.calc-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(160, 86, 26, .2); font-size: 15px; }
.calc-row span:last-child { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.calc-total span { font-size: 15px; font-weight: 700; color: #A0561A; }
.calc-total b { font-size: 26px; font-weight: 800; color: var(--sun-deep); letter-spacing: -.04em; }

.art-note { display: flex; gap: 10px; margin: 24px 0; padding: 14px 16px; border-radius: 16px; background: var(--sky-soft); font-size: 14px; line-height: 1.7; color: #2B4A7A; }
.art-note .ico { margin-top: 3px; color: var(--sky); }
.art-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 8px; padding: 18px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.art-cta p { font-size: 15px; font-weight: 700; line-height: 1.5; }
.art-cta p small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.related { padding: 8px 0 56px; }
.related h3 { margin-bottom: 14px; font-size: 18px; font-weight: 800; }
.related .guide-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .related .guide-grid { grid-template-columns: repeat(3, 1fr); } }

.art-list-nav {
  display: flex; justify-content: center; margin: 8px auto 40px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.art-list-nav .btn { min-width: 148px; }

/* ==========================================================
   서브 페이지 공통 (소개 · 개인정보 · 약관 · 문의 · 가이드 목록)
   ========================================================== */
.page-hero { padding: 18px 0 6px; background: linear-gradient(180deg, #FFF8EC 0%, #FFFFFF 100%); }
.page-hero .art-title { font-size: 26px; }
@media (min-width: 768px) { .page-hero { padding: 24px 0 10px; } .page-hero .art-title { font-size: 34px; } }

.prose ul.dash { display: grid; gap: 7px; margin: 12px 0; }
.prose ul.dash li { position: relative; padding-left: 15px; }
.prose ul.dash li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: #C7CDD8; }
.prose ol.num { display: grid; gap: 8px; margin: 12px 0; counter-reset: n; }
.prose ol.num li { position: relative; counter-increment: n; padding-left: 28px; }
.prose ol.num li::before {
  content: counter(n); position: absolute; left: 0; top: 5px; width: 21px; height: 21px;
  border-radius: 7px; display: grid; place-items: center;
  background: var(--sun-soft); color: var(--sun-deep); font-size: 12px; font-weight: 800;
}
.prose h3 { margin: 24px 0 4px; font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.doc-tip { display: flex; gap: 10px; margin: 18px 0; padding: 14px 16px; border-radius: 16px; background: var(--lemon-soft); border: 1px solid #FFE9A8; font-size: 13.5px; line-height: 1.7; color: #6B5200; }
.doc-tip .ico { margin-top: 3px; color: #C79A00; }

/* 문의 폼 */
.form-grid { display: grid; gap: 14px; margin-top: 20px; }
.field label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 15px; border: 1.5px solid var(--line);
  background: var(--surface-2); font-size: 15px; font-weight: 500; color: var(--ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field select { appearance: none; font-weight: 600; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A93A5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field input::placeholder, .field textarea::placeholder { color: #B4BBC7; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--sun); background: #fff; box-shadow: 0 0 0 4px rgba(255, 122, 47, .12); }
.field-row { display: grid; gap: 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.agree input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--sun); }
.agree a { text-decoration: underline; text-underline-offset: 3px; }

/* 연락처 카드 */
.contact-cards { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 600px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.contact-card .pi { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; }
.contact-card .k { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.contact-card .v { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; }

/* 가이드 목록 */
.guide-filter { display: flex; gap: 8px; margin: 18px 0 20px; overflow-x: auto; scrollbar-width: none; }
.guide-filter::-webkit-scrollbar { display: none; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: 12px; display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line);
}
.pager .on { background: var(--sun-soft); border-color: var(--sun-line); color: var(--sun-deep); }
.pager .off { color: #C3C9D4; }
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.turnstile-wrap {
  min-height: 65px;
  display: flex;
  align-items: center;
}

.turnstile-wrap > p {
  margin: 0;
  color: var(--ink-3);
  font-size: 13px;
}

.contact-status {
  min-height: 22px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 750;
}

.contact-status.is-success { color: #18794e; }
.contact-status.is-error { color: #b42318; }
