/* ── Eventiere Blog — Shared Article Styles ── */

/* Article header accent bar */
.article-wrap { position: relative; }
.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

/* Tag pill — more refined */
.article-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-dim); padding: 0.3rem 0.8rem;
  border-radius: 100px; margin-bottom: 1.25rem;
}

/* Title — tighter, more editorial */
.article-title {
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 900; letter-spacing: -0.035em; line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* Meta — cleaner spacing */
.article-meta {
  font-size: 0.8rem; color: var(--text3);
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.article-meta-sep { width: 3px; height: 3px; background: var(--text3); border-radius: 50%; flex-shrink: 0; }
.article-author { display: flex; align-items: center; gap: 0.5rem; }
.author-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,0.12); flex-shrink: 0; }

/* Standalone author byline below article header */
.article-wrap > .article-author { display: flex; align-items: center; gap: 0.75rem; margin: 1.5rem 0 2rem; }
.article-wrap > .article-author .author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; border: none; }
.author-name { font-size: 0.85rem; font-weight: 600; color: var(--text); display: block; }
.author-role { font-size: 0.75rem; color: var(--text3); }

/* Body typography — optimised for reading */
.article-body { font-size: 1rem; line-height: 1.8; }
.article-body > p:first-child {
  font-size: 1.1rem; color: var(--text); line-height: 1.75;
  font-weight: 400; letter-spacing: -0.005em;
}
.article-body h2 {
  font-size: 1.45rem; font-weight: 800; letter-spacing: -0.025em;
  margin: 3rem 0 1rem; color: var(--text); line-height: 1.25;
}
.article-body h3 {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em;
  margin: 2rem 0 0.75rem; color: var(--text);
}
.article-body p { color: var(--text2); line-height: 1.8; margin-bottom: 1.25rem; }
.article-body strong { color: var(--text); }
.article-body a:not(.btn-primary):not(.btn-outline) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem 1.5rem; }
.article-body li { color: var(--text2); line-height: 1.8; margin-bottom: 0.5rem; }

/* Callout — more subtle, not every-paragraph blue box */
.article-callout {
  background: var(--bg2); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: 8px;
  padding: 1.25rem 1.5rem; margin: 2rem 0;
}
.article-callout p { margin: 0; font-size: 0.93rem; color: var(--text2); line-height: 1.7; }
.article-callout p strong { color: var(--text); }

/* Callout variant — neutral (no accent border) */
.article-callout.neutral {
  border-left-color: var(--border2);
}

/* Pull quote — more editorial, less "box" */
.article-pullquote {
  margin: 2.5rem 0;
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 3px solid var(--accent);
  font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.5; color: var(--text); font-style: italic;
}

/* Stat row inline */
.article-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; margin: 2rem 0;
}
.article-stat { background: var(--bg2); padding: 1.5rem 1.25rem; }
.article-stat-num { font-size: 2rem; font-weight: 900; letter-spacing: -0.04em; color: var(--text); line-height: 1; margin-bottom: 0.3rem; }
.article-stat-num em { font-style: normal; color: var(--accent); }
.article-stat-label { font-size: 0.8rem; color: var(--text3); line-height: 1.4; }
@media (max-width: 600px) { .article-stats { grid-template-columns: 1fr; } }

/* CTA block */
.article-cta {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.25rem; text-align: center; margin: 3rem 0;
}
.article-cta h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.article-cta .sub { font-size: 0.9rem; color: var(--text2); margin-bottom: 1.5rem; line-height: 1.6; }
.article-cta .btn-primary { margin: 0 auto; color: #fff; text-decoration: none; background: var(--accent); }

/* Related posts */
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; text-decoration: none;
  transition: border-color 0.2s, transform 0.15s; display: block;
}
.related-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.related-card .tag {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem; display: block;
}
.related-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 0.35rem; }
.related-card p { font-size: 0.8rem; color: var(--text3); margin: 0; line-height: 1.5; }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

/* Reveal — fast and subtle, not jarring */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Related articles — internal links */
.related-articles { margin: 3rem 0; padding: 2rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; }
.related-articles h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.related-articles ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.related-articles a { font-size: 0.88rem; color: var(--accent); text-decoration: none; font-weight: 500; }
.related-articles a:hover { text-decoration: underline; }
