/* 오늘물때 — 가이드/정책 등 읽기용 문서 페이지 공통 스타일 */
body.article-page { background: #fcfcfc; color: var(--c-text); font-family: var(--font); margin: 0; padding: 0; line-height: 1.6; }

.article-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 5%;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee; z-index: 100;
}
.article-nav .logo {
  display: flex; align-items: center; font-size: 20px; font-weight: 800;
  color: var(--c-primary-deep); text-decoration: none;
}
.article-nav .nav-links { display: flex; gap: 18px; }
.article-nav .nav-links a { font-size: 14px; font-weight: 700; color: var(--c-text-sub); text-decoration: none; }
.article-nav .nav-links a:hover { color: var(--c-primary-deep); }
@media (max-width: 560px) { .article-nav .nav-links { gap: 12px; } .article-nav .nav-links a { font-size: 13px; } }

.article-header {
  background: var(--grad-sea);
  margin-top: 60px;
  padding: 56px 20px 40px;
  text-align: center;
  color: #fff;
}
.article-header h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 14px; font-weight: 800; letter-spacing: -0.5px; word-break: keep-all; }
.article-header p { font-size: 17px; opacity: 0.92; margin: 0; word-break: keep-all; }

.article-content { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.article-content h2 { color: #0B2B3C; font-size: 25px; border-bottom: 2px solid var(--c-primary); padding-bottom: 8px; margin-top: 44px; margin-bottom: 20px; word-break: keep-all; }
.article-content h3 { color: var(--c-primary-deep); font-size: 19px; margin-top: 30px; margin-bottom: 14px; word-break: keep-all; }
.article-content p { font-size: 16px; margin-bottom: 16px; color: #3E5867; line-height: 1.85; word-break: keep-all; }
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 20px; }
.article-content li { margin-bottom: 10px; color: #3E5867; font-size: 16px; line-height: 1.8; word-break: keep-all; }
.article-content strong { color: #14384C; }
.article-content a { color: var(--c-primary-deep); text-decoration: underline; }

.article-content table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.article-content th, .article-content td { border: 1px solid #DCEAEF; padding: 9px 12px; text-align: center; }
.article-content th { background: #EAF6FA; color: #0B2B3C; font-weight: 700; }
.article-content td { color: #3E5867; }
.article-content tbody tr:nth-child(even) td { background: #F8FCFD; }
.table-scroll { overflow-x: auto; }

.tip-box {
  background: #E8F6FA;
  border-left: 4px solid var(--c-primary);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 22px 0;
}
.tip-box > strong { color: var(--c-primary-deep); display: block; margin-bottom: 8px; font-size: 17px; }
.tip-box p { margin-bottom: 0; }
.warn-box {
  background: #FEF3F2;
  border-left: 4px solid var(--c-danger);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 22px 0;
}
.warn-box > strong { color: #B42318; display: block; margin-bottom: 8px; font-size: 17px; }
.warn-box p { margin-bottom: 0; }

.article-cta { margin: 44px 0 8px; text-align: center; }
.article-cta a {
  display: inline-block; background: var(--grad-sea); color: #fff;
  padding: 14px 30px; border-radius: 30px; text-decoration: none;
  font-weight: 800; font-size: 17px; box-shadow: 0 8px 20px rgba(14,165,196,.25);
}

.related-guides { margin-top: 48px; }
.related-guides h2 { border: none; margin-bottom: 8px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.related-card {
  display: block; background: #fff; border: 1px solid #E3EFF3; border-radius: 16px;
  padding: 18px; text-decoration: none !important; transition: .2s; box-shadow: var(--shadow-sm);
}
.related-card:hover { border-color: var(--c-primary); transform: translateY(-2px); }
.related-card .rc-title { font-weight: 800; font-size: 16px; color: #0B2B3C; margin-bottom: 6px; }
.related-card .rc-desc { font-size: 13.5px; color: var(--c-text-sub); line-height: 1.55; }

.article-footer { text-align: center; padding: 44px 20px; background: #0B2B3C; color: #fff; margin-top: 64px; }
.article-footer .foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.article-footer .foot-links a { color: #fff; opacity: .85; font-size: 14px; font-weight: 600; text-decoration: none; }
.article-footer .foot-links a:hover { opacity: 1; text-decoration: underline; }
.article-footer .foot-note { opacity: .55; font-size: 13px; line-height: 1.7; max-width: 640px; margin: 0 auto; }

/* 정책(약관/개인정보) 문서용 */
.legal .article-content h2 { font-size: 21px; }
.legal .article-content p, .legal .article-content li { font-size: 15px; }
.legal .meta-date { color: var(--c-text-sub); font-size: 14px; margin-bottom: 28px; }
