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

/* HERO */
.blog-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 50%, #faf5ff 100%);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.blog-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.blog-hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.blog-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-full);
}

.blog-hero__title {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.blog-hero__text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-600);
}

/* ARTICLES GRID */
.blog-section {
  padding: 80px 0 100px;
  background: var(--white);
}

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

/* ARTICLE CARD */
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.2);
}

.blog-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__badge {
  display: inline-block;
  padding: 8px 18px;
  background: var(--white);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.blog-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.blog-card__category {
  color: var(--primary);
}

.blog-card__date::before {
  content: '•';
  margin-right: 12px;
  color: var(--gray-300);
}

.blog-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 20px;
  flex: 1;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.2s ease;
  align-self: flex-start;
}

.blog-card__link svg {
  transition: transform 0.2s ease;
}

.blog-card__link:hover {
  color: var(--primary-dark);
}

.blog-card__link:hover svg {
  transform: translateX(4px);
}

.blog-card--placeholder .blog-card__image {
  background: repeating-linear-gradient(
    45deg,
    #ecfdf5,
    #ecfdf5 14px,
    #f0fdf4 14px,
    #f0fdf4 28px
  );
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
  .blog-hero {
    padding: 120px 0 48px;
  }

  .blog-hero__title {
    font-size: 32px;
  }

  .blog-hero__text {
    font-size: 16px;
  }

  .blog-section {
    padding: 60px 0 80px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 100px 0 40px;
  }

  .blog-hero__title {
    font-size: 26px;
  }

  .blog-card__body {
    padding: 22px;
  }

  .blog-card__title {
    font-size: 20px;
  }
}
