/* Blog Page Styles */

/* Page Hero Section */
.page-hero-section {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  font-family: "Aileron Regular", sans-serif;
}

.page-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  font-family: "Aileron Bold", sans-serif;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  color: #4a5568;
  font-weight: 400;
}

/* Blog Posts Section */
.blog-posts-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.blog-post-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-post-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image img {
  transform: scale(1.05);
}

.blog-post-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-family: "Aileron Regular", sans-serif;
}

.blog-post-date {
  color: #718096;
}

.blog-post-category {
  color: #482BE7;
  font-weight: 600;
}

.blog-post-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-family: "Aileron Bold", sans-serif;
}

.blog-post-excerpt {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-family: "Aileron Regular", sans-serif;
}

.blog-post-link {
  color: #482BE7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
  font-family: "Aileron SemiBold", sans-serif;
}

.blog-post-link:hover {
  color: #20B2AA;
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 3rem;
}

.blog-pagination .pagination {
  margin: 0;
}

.blog-pagination .page-link {
  color: #482BE7;
  border-color: #e2e8f0;
  padding: 0.75rem 1.25rem;
  font-family: "Aileron Regular", sans-serif;
}

.blog-pagination .page-link:hover {
  background-color: #f7fafc;
  border-color: #482BE7;
  color: #482BE7;
}

.blog-pagination .page-item.active .page-link {
  background-color: #482BE7;
  border-color: #482BE7;
  color: #ffffff;
}

.blog-pagination .page-item.disabled .page-link {
  color: #a0aec0;
  background-color: #ffffff;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

/* Newsletter Section */
.blog-newsletter-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #482BE7 0%, #20B2AA 100%);
}

.blog-newsletter-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.75rem;
  font-family: "Aileron Bold", sans-serif;
}

.blog-newsletter-subtitle {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 2rem;
  font-family: "Aileron Regular", sans-serif;
}

.blog-newsletter-form .input-group {
  display: flex;
  gap: 1rem;
}

.blog-newsletter-form .form-control {
  flex: 1;
  border: 2px solid #e2e8f0;
  padding: 0.875rem 1.5rem;
  font-family: "Aileron Regular", sans-serif;
}

.blog-newsletter-form .form-control:focus {
  border-color: #482BE7;
  box-shadow: 0 0 0 0.2rem rgba(72, 43, 231, 0.25);
}

.blog-newsletter-form .btn {
  white-space: nowrap;
  padding: 0.875rem 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-hero-title {
    font-size: 2.5rem;
  }

  .page-hero-subtitle {
    font-size: 1.125rem;
  }

  .blog-post-content {
    padding: 1.5rem;
  }

  .blog-post-title {
    font-size: 1.25rem;
  }

  .blog-newsletter-card {
    padding: 2rem;
  }

  .blog-newsletter-title {
    font-size: 1.75rem;
  }

  .blog-newsletter-form .input-group {
    flex-direction: column;
  }

  .blog-newsletter-form .btn {
    width: 100%;
  }
}

