/* Blog Styles */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-category {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(242, 179, 92, 0.15);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.article-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--text);
}

.article-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.article-hero {
  margin: 0 0 40px;
}

.article-hero img,
.article-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-hero figcaption,
.article-image figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 12px;
  font-style: italic;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d0dae8;
}

.article-content .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 32px;
}

.article-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  color: var(--text);
  margin: 48px 0 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article-content p {
  margin: 0 0 24px;
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--accent-2);
}

.article-image {
  margin: 40px 0;
}

.article-footer {
  margin-top: 60px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.article-footer p {
  margin: 0;
  font-size: 1.1rem;
}

.article-footer a {
  color: var(--accent);
  font-weight: 600;
}

/* Related Articles */
.related-articles {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.related-articles h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--text);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.related-card {
  display: block;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.related-title {
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

/* Blog Index */
.blog-index {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-header {
  text-align: center;
  margin-bottom: 50px;
}

.blog-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin: 0 0 16px;
}

.blog-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.blog-card-excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.blog-card-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content .lead {
    font-size: 1.1rem;
  }
}
