/* ═══════════════════════════════════════════════
   OneClinic · Blog Article Styles
   Consistent with main site design system
═══════════════════════════════════════════════ */

:root {
  --teal: #00c4b4;
  --teal-d: #00a89a;
  --dark: #0a0f1e;
  --darker: #060b17;
  --card: #111827;
  --border: #1e2a3a;
  --text: #e2e8f0;
  --muted: #8899aa;
  --white: #ffffff;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1180px;
  --content-w: 760px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV (same as main site) ── */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: .75rem 2rem;
  transition: background .3s, box-shadow .3s;
}
#mainNav.scrolled {
  background: rgba(6,11,23,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.nav-i {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.logo em { color: var(--teal); font-style: normal; }
.nav-links {
  display: flex; gap: 1.75rem; list-style: none;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-btns { display: flex; gap: .75rem; align-items: center; }
.btn-outline-w {
  padding: .45rem 1rem; border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; color: var(--white); text-decoration: none;
  font-size: .85rem; font-weight: 500; transition: border-color .2s;
}
.btn-outline-w:hover { border-color: var(--white); }
.btn-teal {
  padding: .5rem 1.1rem; background: var(--teal); border-radius: 8px;
  color: #000; text-decoration: none; font-size: .85rem; font-weight: 700;
  transition: background .2s;
}
.btn-teal:hover { background: var(--teal-d); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); transition: .3s;
}

/* ── ARTICLE HERO ── */
.art-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
  border-bottom: 1px solid var(--border);
}
.art-hero-inner {
  max-width: var(--content-w);
  margin: 0 auto;
}
.art-breadcrumb {
  display: flex; gap: .5rem; align-items: center;
  font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem;
}
.art-breadcrumb a { color: var(--muted); text-decoration: none; }
.art-breadcrumb a:hover { color: var(--teal); }
.art-breadcrumb span { color: var(--border); }
.art-category-tag {
  display: inline-block;
  background: rgba(0,196,180,.12);
  color: var(--teal);
  border: 1px solid rgba(0,196,180,.25);
  border-radius: 20px;
  padding: .25rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.art-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.art-lead {
  font-size: 1.1rem;
  color: #b0bec5;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.art-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.art-author { display: flex; align-items: center; gap: .75rem; }
.author-av {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #0087f5);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: #000;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: .92rem; color: var(--white); }
.author-date { font-size: .8rem; color: var(--muted); margin-top: .1rem; }
.art-share { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.share-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  font-size: .78rem; font-weight: 700;
  transition: border-color .2s, color .2s;
}
.share-btn:hover { border-color: var(--teal); color: var(--teal); }

/* ── LAYOUT ── */
.art-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  grid-template-areas: "content toc";
  gap: 4rem;
  align-items: start;
}

/* ── TOC ── */
.art-toc {
  grid-area: toc;
  position: sticky;
  top: 90px;
}
.toc-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}
.toc-title {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.toc-list {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.toc-list li { counter-increment: toc; }
.toc-list a {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .4rem .5rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  line-height: 1.4;
  transition: background .2s, color .2s;
}
.toc-list a::before {
  content: counter(toc);
  color: var(--teal);
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  width: 16px;
}
.toc-list a:hover, .toc-list a.active {
  background: rgba(0,196,180,.08);
  color: var(--white);
}
.toc-cta {
  display: block;
  margin-top: 1.25rem;
  padding: .65rem 1rem;
  background: var(--teal);
  color: #000;
  font-weight: 700;
  font-size: .85rem;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s;
}
.toc-cta:hover { background: var(--teal-d); }

/* ── ARTICLE CONTENT ── */
.art-content {
  grid-area: content;
  min-width: 0;
}
.art-content section {
  margin-bottom: 3rem;
}
.art-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  padding-top: 1rem;
  line-height: 1.3;
}
.art-content h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin: 1.75rem 0 .75rem;
}
.art-content p {
  color: #c8d6e0;
  margin-bottom: 1rem;
}
.art-content ul, .art-content ol {
  padding-left: 1.5rem;
  color: #c8d6e0;
  margin-bottom: 1rem;
}
.art-content li { margin-bottom: .4rem; }
.art-content strong { color: var(--white); }

/* ── NUMBERED LIST ── */
.numbered-list {
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.numbered-list li {
  padding-left: .5rem;
  line-height: 1.6;
}

/* ── HIGHLIGHT BOX ── */
.art-highlight-box {
  background: rgba(0,196,180,.08);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  color: #c8d6e0;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── CALLOUT ── */
.art-callout {
  display: flex;
  gap: 1rem;
  background: rgba(0,135,245,.08);
  border: 1px solid rgba(0,135,245,.2);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .95rem;
  color: #b0cce0;
}
.art-callout--warning {
  background: rgba(255,170,0,.07);
  border-color: rgba(255,170,0,.25);
  color: #d4b880;
}
.callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.art-callout strong, .art-callout--warning strong { color: var(--white); }

/* ── BENEFITS GRID ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color .2s;
}
.benefit-card:hover { border-color: var(--teal); }
.benefit-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.benefit-card h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.benefit-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ── FEATURE LIST ── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.feature-item {
  display: flex;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  transition: border-color .2s;
}
.feature-item:hover { border-color: var(--teal); }
.feature-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(0,196,180,.15);
  color: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  margin-top: .1rem;
}
.feature-item strong { color: var(--white); display: block; margin-bottom: .25rem; }
.feature-item p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ── MID-ARTICLE CTA ── */
.art-cta-box {
  background: linear-gradient(135deg, rgba(0,196,180,.12) 0%, rgba(0,135,245,.08) 100%);
  border: 1px solid rgba(0,196,180,.25);
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.art-cta-box h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: .5rem;
}
.art-cta-box p { color: var(--muted); margin-bottom: 1.5rem; }
.art-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
  padding: .7rem 1.5rem;
  background: var(--teal);
  color: #000;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s;
}
.btn-cta-primary:hover { background: var(--teal-d); }
.btn-cta-secondary {
  padding: .7rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s;
}
.btn-cta-secondary:hover { border-color: var(--white); }

/* ── QUOTE ── */
.art-quote {
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  background: var(--card);
  border-radius: 0 12px 12px 0;
}
.art-quote p {
  font-style: italic;
  color: #c8d6e0;
  margin-bottom: .75rem;
}
.art-quote cite { font-size: .88rem; color: var(--muted); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(0,196,180,.4); }
.faq-q {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: .97rem;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  color: var(--teal);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.25rem 1.1rem; color: #b0bec5; font-size: .95rem; }

/* ── FINAL CTA ── */
.art-final-cta {
  background: linear-gradient(135deg, var(--darker), var(--card));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0 2rem;
}
.art-final-cta h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .75rem;
}
.art-final-cta p { color: var(--muted); margin-bottom: 1.75rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.cta-footnote { font-size: .82rem; color: var(--muted); margin-top: .75rem; margin-bottom: 0; }

/* ── TAGS ── */
.art-tags {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem; margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
}
.tag-label { color: var(--muted); }
.art-tag {
  padding: .3rem .85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  transition: border-color .2s, color .2s;
}
.art-tag:hover { border-color: var(--teal); color: var(--teal); }

/* ── RELATED ARTICLES ── */
.related-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
}
.related-inner { max-width: var(--max-w); margin: 0 auto; }
.related-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.related-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
  display: block;
}
.related-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.related-cat {
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6rem;
}
.related-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.35;
}
.related-card p { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.related-read { font-size: .85rem; color: var(--teal); font-weight: 600; }

/* ── FOOTER ── */
.art-footer {
  background: var(--darker);
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.foot-i {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.foot-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}
.foot-logo em { color: var(--teal); font-style: normal; }
.foot-links { display: flex; gap: 1.5rem; margin-left: auto; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: .88rem; transition: color .2s; }
.foot-links a:hover { color: var(--white); }
.foot-copy { font-size: .82rem; color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .art-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "content";
    gap: 2rem;
  }
  .art-toc { display: none; }
}

@media (max-width: 640px) {
  .nav-links, .nav-btns { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--darker);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
  .art-hero { padding: 6rem 1.25rem 3rem; }
  .art-layout { padding: 2rem 1.25rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .art-cta-btns { flex-direction: column; align-items: center; }
  .related-grid { grid-template-columns: 1fr; }
  .foot-i { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .foot-links { margin-left: 0; }
}
