/* ================================================================
   The Arena Partners - Blog Stylesheet
   Dark theme, reading-optimized, mobile-first
   ================================================================ */

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-elevated: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e3c96e;
  --gold-dark: #a8872e;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --text-primary: #f5f0e8;
  --text-secondary: #d4cfc8;
  --text-muted: #a09a94;
  --border: rgba(201, 168, 76, 0.12);
  --border-solid: rgba(201, 168, 76, 0.25);
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --reading-width: 700px;
  --line-height-body: 1.8;
}

/* ================================================================
   RESET & BASE
   ================================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-light);
}

/* ================================================================
   SITE HEADER / NAV
   ================================================================ */

.site-header {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.logo-text span {
  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-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--bg-primary) !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--gold-light);
}

/* ================================================================
   BLOG INDEX PAGE
   ================================================================ */

.blog-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px 64px;
  text-align: center;
}

.blog-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.blog-hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.blog-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-listing {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.blog-grid {
  display: grid;
  gap: 2px;
}

.article-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 32px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-bottom: 16px;
}

.article-card:hover {
  border-color: var(--border-solid);
  background: var(--bg-elevated);
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.article-card-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-card-readtime {
  font-size: 12px;
  color: var(--text-muted);
}

.article-card-readtime::before {
  content: '- ';
}

.article-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.article-card:hover h2 {
  color: var(--gold);
}

.article-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.article-card-arrow {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ================================================================
   ARTICLE PAGE LAYOUT
   ================================================================ */

.article-header {
  background: linear-gradient(180deg, #0f0f0f 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px 56px;
}

.article-header-inner {
  max-width: var(--reading-width);
  margin: 0 auto;
}

.article-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.article-eyebrow a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.article-eyebrow a:hover {
  color: var(--gold-light);
}

.eyebrow-sep {
  font-size: 12px;
  color: var(--text-muted);
}

.article-eyebrow-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 24px;
}

.article-header h1 em {
  font-style: normal;
  color: var(--gold);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.author-title {
  font-size: 11px;
  color: var(--text-muted);
}

.article-meta-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

.article-meta-info {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================================================================
   ARTICLE BODY
   ================================================================ */

.article-body-wrap {
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.article-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: var(--line-height-body);
  color: var(--text-secondary);
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body h2 {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5em 0 0.8em;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2em 0 0.6em;
  line-height: 1.4;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.5em 1.25em;
}

.article-body li {
  margin-bottom: 0.6em;
  line-height: 1.75;
}

.article-body ul li::marker {
  color: var(--gold);
}

.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 76, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.article-body a:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

/* ----------------------------------------------------------------
   BLOCKQUOTE
   ---------------------------------------------------------------- */

.article-body blockquote {
  position: relative;
  margin: 2.5em 0;
  padding: 24px 28px 24px 52px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.article-body blockquote::before {
  content: '\201C';
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 2.5rem;
  font-family: Georgia, serif;
  color: var(--gold);
  line-height: 1;
  opacity: 0.8;
}

.article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

/* ----------------------------------------------------------------
   PULL QUOTES
   ---------------------------------------------------------------- */

.pull-quote {
  margin: 2.5em 0;
  padding: 32px;
  text-align: center;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0 !important;
}

.pull-quote p em {
  font-style: normal;
  color: var(--gold);
}

/* ----------------------------------------------------------------
   STAT HIGHLIGHT BOX
   ---------------------------------------------------------------- */

.stat-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-solid);
  border-radius: 6px;
  padding: 24px 28px;
  margin: 2em 0;
}

.stat-box .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
  font-family: var(--font-sans);
}

.stat-box .stat-label {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ================================================================
   CTA BOX
   ================================================================ */

.article-cta {
  background: linear-gradient(135deg, #161616 0%, #1a1a1a 100%);
  border: 1px solid var(--border-solid);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  margin: 3em 0 0;
}

.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.article-cta p {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.65;
}

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-primary) !important;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.1s ease;
}

.cta-btn:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* ================================================================
   INTERNAL LINKS / RELATED ARTICLES
   ================================================================ */

.related-articles {
  margin-top: 4em;
  padding-top: 2em;
  border-top: 1px solid var(--border);
}

.related-articles h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.related-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-links li {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.related-links li:last-child {
  border-bottom: none;
}

.related-links a {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-links a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.related-links a:hover {
  color: var(--gold);
}

/* ================================================================
   SITE FOOTER
   ================================================================ */

.site-footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  text-align: center;
}

.site-footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--gold);
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 12px;
  color: rgba(160, 154, 148, 0.5);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .article-header {
    padding: 48px 20px 40px;
  }

  .article-body-wrap {
    padding: 40px 20px 60px;
  }

  .article-cta {
    padding: 28px 20px;
  }

  .pull-quote {
    padding: 24px 16px;
  }

  .pull-quote p {
    font-size: 1.2rem;
  }

  .article-card {
    padding: 20px 20px;
  }

  .blog-hero {
    padding: 56px 20px 48px;
  }

  .stat-box .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .article-meta {
    gap: 12px;
  }

  .article-meta-divider {
    display: none;
  }

  .article-body blockquote {
    padding: 18px 18px 18px 40px;
  }
}
