/* ================================
   BLOG ARCHIVE — HELLO ELEMENTOR
================================ */

.blog-archive {
  overflow: hidden;
}
.blog-archive {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.blog-archive h1,
.blog-archive h2,
.blog-archive .blog-card-title {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ---------- HERO ---------- */

.blog-archive-hero {
  padding: 96px 16px;
  background: linear-gradient(135deg, #040533, #14167e);
  color: #fff;
  text-align: center;
}

.blog-archive-hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  margin-bottom: 24px;
}

.blog-archive-hero p {
  font-size: 20px;
  opacity: 0.9;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- SECTION ---------- */

.blog-archive-section {
  padding: 96px 16px;
  background: #f9fafb;
}

.blog-archive-heading {
  text-align: center;
  margin-bottom: 64px;
}

.blog-archive-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #040533;
  margin-bottom: 12px;
}

.blog-archive-heading p {
  font-size: 18px;
  color: #6b7280;
}

/* ---------- GRID ---------- */

.blog-archive-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .blog-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CARD ---------- */

.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* ---------- CARD VISUAL ---------- */

.blog-card-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #14167e, #040533);
  color: #fff;
  position: relative;
}

.blog-card-visual span {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.blog-card-visual.has-image {
  background-size: cover;
  background-position: center;
}

/* ---------- CARD CONTENT ---------- */

.blog-card-content {
  padding: 32px;
}

.blog-card-date {
  font-size: 14px;
  font-weight: 600;
  color: #f9c603;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #040533;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
  color: #14167e;
}

.blog-card-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 20px;
}

.blog-card-readmore {
  font-weight: 600;
  color: #14167e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- PAGINATION ---------- */

.blog-pagination {
  margin-top: 64px;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #040533;
  font-weight: 600;
  text-decoration: none;
}

.blog-pagination .current {
  background: #14167e;
  color: #fff;
}
