/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wpdriven.com
Template: twentytwentyfive
Author: WPDriven
Description: Child theme for Twenty Twenty-Five with custom WPDriven styles
Version: 1.0.0
License: GPL v2 or later
Text Domain: twentytwentyfive-child
*/

/* ============================================ */
/* BLOG PAGE STYLES - MATCHES WPDriven THEME
/* ============================================ */

/* Blog Header */
.blog-header {
  text-align: center;
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  margin-bottom: 60px;
}

.blog-header .hero-eyebrow {
  display: inline-block;
  background: rgba(243, 156, 18, 0.15);
  color: #F39C12;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.blog-header h1 {
  font-size: 52px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.blog-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  padding: 0 0 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Blog Cards */
.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: #F39C12;
}

/* Blog Card Image */
.blog-card-image {
  height: 220px;
  overflow: hidden;
  background: #f8f9fa;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

/* Blog Card Content */
.blog-card-content {
  padding: 24px;
}

/* Blog Meta */
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-date {
  color: #6c757d;
}

.blog-category a {
  color: #F39C12;
  text-decoration: none;
  font-weight: 500;
}

.blog-category a:hover {
  text-decoration: underline;
}

/* Blog Title */
.blog-card-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-content h3 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-content h3 a:hover {
  color: #F39C12;
}

/* Blog Excerpt */
.blog-card-content p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Read More Button */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F39C12;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 12px;
  color: #e08e0b;
}

/* Pagination */
.blog-pagination {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 80px;
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 4px;
  border-radius: 8px;
  text-decoration: none;
  color: #1a1a1a;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers.current {
  background: #F39C12;
  color: white;
  border-color: #F39C12;
}

.blog-pagination .page-numbers:hover:not(.current) {
  background: #e9ecef;
  border-color: #F39C12;
}

/* No Posts Message */
.no-posts {
  text-align: center;
  padding: 60px;
  background: #f8f9fa;
  border-radius: 16px;
  color: #6c757d;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 20px 60px;
  }
}

@media (max-width: 768px) {
  .blog-header {
    padding: 120px 0 40px;
  }
  
  .blog-header h1 {
    font-size: 36px;
  }
  
  .blog-header p {
    font-size: 16px;
    padding: 0 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog-card-image {
    height: 200px;
  }
  
  .blog-card-content {
    padding: 20px;
  }
  
  .blog-card-content h3 {
    font-size: 18px;
  }
  
  .blog-pagination .page-numbers {
    padding: 6px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}