/* article.css — 아티클·프로필·니즈 페이지 (Dala-inspired dark v3) */

/* ── 아티클 히어로 ── */
.article-hero {
  padding: 4rem 0 2.75rem;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.article-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 200; letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 0.6rem; text-wrap: balance; word-break: keep-all;
}
.article-sub {
  font-size: 0.88rem; color: var(--text-2); margin-bottom: 1.1rem;
}

/* ── 본문 레이아웃 ── */
.article-body {
  max-width: 820px;
  padding-top: 2.5rem; padding-bottom: 4.5rem;
}
.article-body h2 {
  font-size: 1.4rem; font-weight: 400;
  margin: 3.75rem 0 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.03em;
}
.article-body section:first-child h2 { margin-top: 0.5rem; }
.article-body ul { padding-left: 1.4rem; }
.article-body li { margin-bottom: 0.5rem; font-size: 0.89rem; color: var(--text-2); }

/* ── 핵심 결과 ── */
.key-result-section p { font-size: 1rem; line-height: 1.9; color: var(--text-2); }
.key-result-section strong { color: var(--text-1); }

/* ── 데이터 출처 ── */
.data-source-section ul { margin-top: 0.5rem; }
.data-source-section li { font-size: 0.86rem; }

/* ── 병원 상세 카드 ── */
.article-clinic {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.1rem;
  transition: border-color 0.15s;
}
.article-clinic:hover { border-color: rgba(128, 82, 255, 0.45); }

.clinic-h3 {
  font-size: 1.06rem; font-weight: 700;
  margin-bottom: 0.65rem; display: flex; align-items: center; gap: 0.65rem;
  letter-spacing: -0.02em;
}
.clinic-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.65rem; height: 1.65rem;
  background: transparent; color: var(--plum-light);
  border: 1px solid rgba(128, 82, 255, 0.5);
  border-radius: 50%; font-size: 0.76rem; font-weight: 700;
  flex-shrink: 0; font-variant-numeric: tabular-nums;
}
.clinic-meta-row {
  display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 0.9rem;
}
.meta-tag {
  font-size: 0.7rem; font-weight: 500; padding: 0.22rem 0.7rem;
  border-radius: 999px; background: transparent; color: var(--text-2);
  border: 1px solid var(--border); letter-spacing: 0.02em;
}
.hira-tag { border-color: rgba(128, 82, 255, 0.4); color: var(--plum-light); }

.price-highlight-box {
  border: 1px solid rgba(128, 82, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.85rem;
}
.ph-label {
  font-size: 0.7rem; font-weight: 600; color: var(--text-3);
  letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 0.2rem;
}
.ph-price {
  font-size: 1.5rem; font-weight: 800; color: var(--text-1);
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}
.ph-range { font-size: 0.78rem; color: var(--text-3); margin-top: 0.2rem; font-variant-numeric: tabular-nums; }

.clinic-addr, .clinic-tel {
  font-size: 0.84rem; color: var(--text-2); margin-bottom: 0.3rem;
}
.clinic-addr strong, .clinic-tel strong { color: var(--text-3); font-weight: 600; }

.clinic-source-note {
  margin-top: 0.85rem; font-size: 0.74rem; color: var(--text-3);
  border-top: 1px solid var(--border); padding-top: 0.6rem;
}

/* ── 주의 사항 ── */
.warning-list { padding-left: 1.4rem; }
.warning-list li {
  margin-bottom: 0.55rem; font-size: 0.87rem;
  color: var(--text-2);
}
.warning-list li::marker { color: var(--red); }

/* ── 관련 링크 ── */
.related-section { margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid var(--border); }

/* ── 거래처 프로필 ── */
.partner-tag {
  background: transparent; color: var(--plum-light); border: 1px solid rgba(128, 82, 255, 0.5);
  border-radius: 999px; padding: 0.22rem 0.7rem; font-size: 0.7rem;
  text-decoration: none; font-weight: 600;
  transition: border-color 0.15s, color 0.15s;
}
.partner-tag:hover { border-color: var(--plum); color: #fff; }
.partner-tag-sm {
  display: inline-block; margin-left: 0.4rem; padding: 0.08rem 0.55rem;
  background: transparent; color: var(--plum-light); border: 1px solid rgba(128, 82, 255, 0.4);
  border-radius: 999px;
  font-size: 0.68rem; text-decoration: none; font-weight: 600;
}
.partner-tag-sm:hover { color: #fff; border-color: var(--plum); }
.partner-badge { background: var(--plum); color: #fff; border: 1px solid var(--plum); }

.info-table th {
  width: 7.5rem; text-align: left; background: var(--bg-3);
  font-weight: 600; white-space: nowrap; color: var(--text-3);
  font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.info-table td a { font-weight: 500; word-break: break-all; }

/* ── 반응형 ── */
@media (max-width: 640px) {
  .article-body { padding-top: 1.75rem; }
  .article-hero { padding: 2.5rem 0 2rem; }
  .article-hero h1 { font-size: 1.4rem; }
  .ph-price { font-size: 1.25rem; }
  .article-clinic { padding: 1.2rem 1.25rem; }
  .info-table th { width: 5.5rem; }
}
