/* ============================================================
   X Filter Pro — Blog Article Stylesheet
   Used by every /blog/<slug> page in addition to /auth.css
   ============================================================ */

.article-wrap {
  flex: 1;
  padding: 110px 24px 60px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.article-back {
  font-size: 13px;
  color: var(--text3);
  font-family: 'Space Mono', monospace;
  margin-bottom: 24px;
  display: inline-block;
}
.article-back:hover { color: var(--cyan); }

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-wrap: wrap;
}
.article-meta .dot {
  width: 4px; height: 4px;
  background: var(--text3);
  border-radius: 50%;
}
.article-meta .tag {
  background: rgba(255, 209, 102, 0.1);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
}

.article-wrap h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.article-wrap .lede {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--bg3);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.article-body h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 48px 0 16px;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--gold);
}
.article-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
}
.article-body strong { color: var(--text); font-weight: 700; }
.article-body em { color: var(--text2); font-style: italic; }
.article-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(110, 231, 247, 0.3);
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--gold); }
.article-body ul, .article-body ol {
  margin: 18px 0;
  padding-left: 4px;
  list-style: none;
}
.article-body ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
}
.article-body ul li::before {
  content: '›';
  position: absolute;
  left: 6px;
  color: var(--gold);
  font-weight: 700;
}
.article-body ol {
  counter-reset: ol-counter;
}
.article-body ol li {
  padding: 6px 0 6px 32px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  counter-increment: ol-counter;
}
.article-body ol li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  top: 8px;
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 22px;
  margin: 24px 0;
  background: var(--bg2);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text2);
}
.article-body blockquote p { margin-bottom: 0; }

.article-body code {
  background: var(--bg2);
  border: 1px solid var(--bg3);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--bg3);
  margin: 40px 0;
}

/* In-article CTA */
.article-cta {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.08), rgba(247, 183, 51, 0.04));
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-radius: 14px;
  padding: 28px 30px;
  margin: 36px 0;
}
.article-cta h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px !important;
  color: var(--text) !important;
}
.article-cta h3 .accent { color: var(--gold); }
.article-cta p {
  font-size: 14px !important;
  margin-bottom: 16px !important;
  color: var(--text2);
}
.article-cta .btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.article-cta a.btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 13px;
  width: auto;
  text-decoration: none !important;
}

/* Article footer */
.article-foot {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--bg3);
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--text3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.article-foot a { color: var(--cyan); }
