/* Blog styles — Noblesse Studios */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,500;1,600;1,700;1,900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #06060f;
  --bg2: #0c0c1e;
  --surface: #10102a;
  --violet: oklch(55% 0.25 290);
  --violet-light: oklch(72% 0.18 290);
  --violet-dim: oklch(40% 0.18 290);
  --white: #f4f2ff;
  --muted: oklch(65% 0.04 290);
  --border: oklch(30% 0.06 290);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* HEADER */
.blog-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,6,15,0.97);
  border-bottom: 1px solid var(--border);
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.blog-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.blog-logo-divider { width: 0.5px; height: 32px; background: var(--border); }
.blog-logo-text { display: flex; flex-direction: column; gap: 1px; }
.blog-logo-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); line-height: 1; }
.blog-logo-sub { font-family: var(--font-body); font-size: 8px; font-weight: 500; letter-spacing: 0.48em; text-transform: uppercase; color: var(--violet-light); line-height: 1; }
.blog-nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.blog-nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.blog-nav-links a:hover { color: var(--white); }
.blog-apply-btn {
  padding: 10px 24px;
  background: var(--violet); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
}
.blog-apply-btn:hover { opacity: 0.85; }

/* HERO */
.blog-hero {
  max-width: 860px; margin: 0 auto;
  padding: 80px 48px 48px;
}
.blog-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet-light); font-weight: 600; margin-bottom: 20px;
}
.blog-tag::before { content: '—'; }
.blog-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.blog-title em { color: var(--violet-light); font-style: italic; }
.blog-meta {
  display: flex; align-items: center; gap: 20px;
  font-size: 12px; color: var(--muted);
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.blog-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* ARTICLE CONTENT */
.blog-content {
  max-width: 720px; margin: 0 auto;
  padding: 0 48px 80px;
}
.blog-content h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  color: var(--white); margin: 48px 0 16px;
  line-height: 1.2;
}
.blog-content h3 {
  font-size: 18px; font-weight: 600;
  color: var(--white); margin: 32px 0 12px;
}
.blog-content p {
  color: oklch(80% 0.04 290);
  margin-bottom: 20px; font-size: 16px; line-height: 1.8;
}
.blog-content ul, .blog-content ol {
  margin: 0 0 20px 24px;
  color: oklch(80% 0.04 290);
}
.blog-content li { margin-bottom: 10px; line-height: 1.7; }
.blog-content strong { color: var(--white); font-weight: 600; }
.blog-content em { color: var(--violet-light); font-style: italic; }
.blog-callout {
  background: oklch(14% 0.08 290);
  border-left: 3px solid var(--violet);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px; margin: 32px 0;
}
.blog-callout p { margin: 0; color: var(--white); font-weight: 500; }
.blog-divider { height: 1px; background: var(--border); margin: 48px 0; }

/* CTA BOX */
.blog-cta-box {
  background: oklch(12% 0.1 290);
  border: 1px solid var(--violet-dim);
  border-radius: 16px;
  padding: 40px; margin: 56px 0;
  text-align: center;
}
.blog-cta-box h3 {
  font-family: var(--font-display);
  font-size: 28px; margin-bottom: 12px; margin-top: 0;
}
.blog-cta-box p { margin-bottom: 24px; }
.blog-cta-btn {
  display: inline-block;
  background: var(--violet); color: #fff;
  padding: 14px 32px; border-radius: 100px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.blog-cta-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* GRID (index page) */
.blog-grid-section {
  max-width: 1100px; margin: 0 auto;
  padding: 0 48px 80px;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: oklch(10% 0.06 290);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  text-decoration: none; display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover { border-color: var(--violet-dim); transform: translateY(-2px); }
.blog-card-tag {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet-light); font-weight: 600; margin-bottom: 14px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: var(--white);
  line-height: 1.25; margin-bottom: 12px;
}
.blog-card-excerpt {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  flex: 1; margin-bottom: 20px;
}
.blog-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--muted);
  border-top: 1px solid var(--border); padding-top: 16px;
}
.blog-card-read { color: var(--violet-light); font-weight: 600; }

/* FOOTER */
.blog-footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.blog-footer-links { display: flex; gap: 20px; }
.blog-footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.blog-footer-links a:hover { color: var(--white); }

@media (max-width: 768px) {
  .blog-header { padding: 16px 20px; }
  .blog-nav-links { display: none; }
  .blog-hero { padding: 48px 20px 32px; }
  .blog-content { padding: 0 20px 60px; }
  .blog-grid-section { padding: 0 20px 60px; }
  .blog-footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}
