/* ========================================
   BLOG SECTION - CONSOLIDATED & OPTIMIZED
   No Duplicates | Organized Responsive
   ======================================== */


/* Blog Header - Match Hero Section */
.blog-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 2rem 5rem;
    margin-top: 66px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-header{
  padding-top: 5rem;
  margin-top: 0;
}

.blog-header::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 10% 90%, rgba(67, 132, 229, 0.2) 0%, transparent 50%);
    top: 0;
    left: 0;
    opacity: 0.7;
    animation: pulse 10s infinite alternate;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 900;
    color: white;
    position: relative;
    z-index: 1;
}

.blog-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}
/* ========================================
   RESPONSIVE - Blog archive
======================================== */
/* Blog Content Section */
.blog-content-section {
  padding: 4rem 0;
  background: #f9f9f9;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

.blog-posts-wrapper {
  width: 100%;
}

/* Blog Posts Grid */
.blog-posts-grid {
  display: grid;
  gap: 2.5rem;
}

.blog-post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Post Thumbnail */
.post-thumbnail {
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.post-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Post Content */
.post-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #666;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.post-meta svg {
  color: var(--accent);
}

.post-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--accent);
}

.post-excerpt {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.read-more-btn:hover {
  gap: 0.75rem;
}

.read-more-btn svg {
  transition: transform 0.3s ease;
}

.read-more-btn:hover svg {
  transform: translateX(3px);
}

/* Pagination */
.blog-pagination {
  margin-top: 4rem;
  text-align: center;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.blog-pagination .page-numbers.current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.blog-pagination .page-numbers.dots {
  border: none;
  background: transparent;
}

.blog-pagination .page-numbers svg {
  width: 16px;
  height: 16px;
}

/* No Posts Found */
.no-posts-found {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 12px;
}

.no-posts-found h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.no-posts-found p {
  color: #666;
  margin-bottom: 2rem;
}
