.blog-page {
  font-family:
    'Outfit',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Roboto',
    sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.6;
}

.blog-page h1,
.blog-page h2,
.blog-page h3,
.blog-page h4,
.blog-page h5,
.blog-page h6 {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Roboto',
    sans-serif;
  line-height: 1.2;
  color: var(--text-color);
}

.blog-page h1 {
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 1.1;
}
.blog-page h2 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.blog-page h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}
.blog-page h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
}

/* === Hero Section === */
.blog-page .hero-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.blog-page .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-page .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}

.blog-page .hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-page .hero-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

/* === Badge === */
.blog-page .badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 238, 128, 0.8);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.blog-page .badge-featured {
  background: rgba(229, 238, 128, 0.2);
}

/* === Featured Card === */
.blog-page .featured-section {
  padding: 4rem 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.blog-page .featured-card {
  background: linear-gradient(
    to bottom right,
    white,
    rgba(229, 238, 128, 0.05)
  );
  border: 2px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
  display: block;
}

.blog-page .featured-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
}

.blog-page .featured-card img {
  transition: transform 0.5s;
}

.blog-page .featured-card:hover img {
  transform: scale(1.05);
}

.blog-page .featured-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

.blog-page .featured-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  z-index: 10;
}

.blog-page .featured-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.blog-page .featured-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  opacity: 0.6;
}

.blog-page .featured-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  transition: gap 0.3s;
}

.blog-page .featured-card:hover .featured-readmore {
  gap: 1rem;
}

/* === Articles Section === */
.blog-page .articles-section {
  padding: 4rem 0;
  background: rgba(249, 250, 251, 0.5);
}

.blog-page .articles-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === CTA Section === */
.blog-page .cta-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.blog-page .cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.blog-page .cta-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.blog-page .cta-card p {
  flex: 1;
}

.blog-page .cta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--text-color);
}

.blog-page .cta-icon svg {
  width: 100%;
  height: 100%;
}

.blog-page .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  text-decoration: none;
}

.blog-page .cta-btn:hover {
  background: rgba(51, 49, 54, 0.9);
  color: white;
}

/* === Pagination === */
.blog-page .blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.blog-page .blog-pagination a,
.blog-page .blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  min-width: 2.25rem;
  padding: 0 0.875rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  background-color: #f1f1f1;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
}

.blog-page .blog-pagination a.page-num {
  padding: 0;
  width: 2.25rem;
  border-radius: 50%;
}

.blog-page .blog-pagination a:hover {
  background-color: #e0e0e0;
}

.blog-page .blog-pagination a.active {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.blog-page .blog-pagination span.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

/* === Responsive === */
@media (max-width: 768px) {
  .blog-page h1 {
    font-size: 2.5rem;
  }
  .blog-page h2 {
    font-size: 2rem;
  }
  .blog-page h3 {
    font-size: 1.25rem;
  }

  .blog-page .hero-section {
    padding: 3rem 0;
  }

  .blog-page .featured-img-wrapper {
    height: 400px;
  }

  .blog-page .featured-content {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .blog-page .featured-content {
    padding: 3rem;
  }
}
