/* OTG Academy Blog — shared styles */
:root {
  --bg: #070c14;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.06);
  --border-gold: rgba(200,169,42,0.35);
  --gold: #C8A92A;
  --gold-light: #EDD050;
  --gold-dim: rgba(200,169,42,0.12);
  --text: #e8eaf0;
  --text-muted: rgba(232,234,240,0.65);
  --text-dim: rgba(232,234,240,0.4);
  --emerald: #10b981;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; line-height: 1.2; color: #fff; }
a { color: var(--gold-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,12,20,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 32px; height: auto; }
.nav-brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 19px; color: var(--text); font-weight: 400;
}
.nav-brand-name .gold { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #070c14!important;
  padding: 9px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,169,42,0.3); color: #070c14!important; }
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ─── BLOG INDEX HERO ─── */
.blog-hero {
  padding: 80px 0 56px; text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at top, rgba(200,169,42,0.06), transparent 60%);
}
.blog-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.blog-hero h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 16px; }
.blog-hero p {
  font-size: 18px; color: var(--text-muted);
  max-width: 600px; margin: 0 auto;
}

/* ─── ARTICLE CARDS GRID ─── */
.articles { padding: 64px 0 96px; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.article-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--text);
}
.article-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--gold-dim);
  color: var(--text);
}
.article-tag {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); padding: 3px 10px;
  background: var(--gold-dim); border-radius: 100px;
  margin-bottom: 16px;
}
.article-card h2 {
  font-size: 22px; line-height: 1.25;
  margin-bottom: 12px; color: #fff;
}
.article-excerpt {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.65; flex: 1;
}
.article-meta {
  margin-top: 20px;
  font-size: 12px; color: var(--text-dim);
  display: flex; align-items: center; gap: 12px;
}
.article-meta::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--gold);
}

/* ─── ARTICLE PAGE ─── */
.article-header {
  padding: 64px 0 32px; text-align: center;
}
.article-header .breadcrumb {
  font-size: 13px; color: var(--text-dim); margin-bottom: 24px;
}
.article-header .breadcrumb a { color: var(--text-muted); }
.article-header h1 {
  font-size: clamp(32px, 5vw, 48px); margin-bottom: 20px;
}
.article-header .article-meta {
  justify-content: center; margin-top: 16px;
}
.article-header .article-meta::before { display: none; }
.article-header .article-meta span:not(:last-child)::after {
  content: '·'; margin-left: 12px; color: var(--text-dim);
}
.article-body {
  padding: 32px 0 80px;
}
.article-body p {
  margin-bottom: 24px; color: var(--text-muted);
  font-size: 17px; line-height: 1.8;
}
.article-body h2 {
  font-size: 30px; margin: 56px 0 18px;
  color: #fff;
}
.article-body h3 {
  font-size: 22px; margin: 40px 0 14px;
  color: #fff; font-family: 'Inter', sans-serif; font-weight: 700;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px; padding-left: 24px;
}
.article-body li {
  margin-bottom: 10px; color: var(--text-muted);
  font-size: 17px; line-height: 1.7;
}
.article-body strong { color: #fff; font-weight: 700; }
.article-body em { color: var(--gold-light); font-style: italic; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-size: 19px;
  color: var(--text);
  font-style: italic;
}
.article-body code {
  background: rgba(200,169,42,0.08);
  color: var(--gold-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: 'SF Mono', 'Monaco', monospace;
}

/* ─── INLINE CTA BOX ─── */
.inline-cta {
  background: linear-gradient(135deg, rgba(200,169,42,0.08), rgba(200,169,42,0.02));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px 0;
  text-align: center;
}
.inline-cta h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px; margin-bottom: 10px;
}
.inline-cta p {
  font-size: 15px; color: var(--text-muted);
  margin-bottom: 18px;
}
.inline-cta .btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #070c14;
  font-weight: 800; font-size: 14px;
  padding: 12px 24px; border-radius: 8px;
}
.inline-cta .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,169,42,0.35); color: #070c14; }

/* ─── RELATED ARTICLES ─── */
.related {
  border-top: 1px solid var(--border);
  padding: 56px 0 80px;
  background: rgba(255,255,255,0.015);
}
.related h2 {
  font-size: 26px; text-align: center; margin-bottom: 32px;
}

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
}
.footer-brand img { width: 24px; height: auto; }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-disclaimer {
  font-size: 12px; color: var(--text-dim);
  max-width: 700px; line-height: 1.6;
}
