/* ===================================
   BLOG STYLES
=================================== */

/* Hero */
.blog-hero {
  padding: calc(var(--nav-h) + 60px) 0 72px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.blog-hero .section-label {
  margin-bottom: 16px;
}

.blog-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.blog-hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Featured article */
.featured-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
}
.featured-card:hover {
  border-color: rgba(0, 229, 204, 0.3);
  transform: translateY(-4px);
}

.featured-visual {
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-visual img {
  transform: scale(1.04);
}

.featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.featured-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.featured-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Article meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 100px;
  border: 1px solid rgba(0, 229, 204, 0.15);
}

.article-date,
.article-read {
  font-size: 13px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  transition: gap 0.2s;
}
.read-more:hover {
  gap: 12px;
}

/* Articles grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
}
.article-card:hover {
  border-color: rgba(0, 229, 204, 0.3);
  transform: translateY(-4px);
}

.article-visual {
  height: 180px;
  overflow: hidden;
}

.article-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-card:hover .article-visual img {
  transform: scale(1.04);
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.article-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

/* CTA */
.blog-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.blog-cta .section-title {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.blog-cta p {
  color: var(--muted);
  font-size: 16px;
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-visual {
    min-height: 220px;
  }
  .featured-content {
    padding: 28px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .blog-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}
