/* Blog specific styles extracted from blog.html */
.blog-hero { background: linear-gradient(rgba(26, 58, 95, 0.9), rgba(26, 58, 95, 0.8)), url('https://images.unsplash.com/photo-1589391886645-d51941baf7fb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80'); background-size: cover; background-position: center; color: white; padding: 180px 0 100px; text-align: center; }
.blog-hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.blog-hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; }

.blog-container { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 40px; }

.featured-post { margin-bottom: 60px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.featured-post-image { height: 400px; overflow: hidden; }
.featured-post-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.featured-post:hover .featured-post-image img { transform: scale(1.05); }
.featured-post-content { background: white; padding: 30px; }
.post-meta { display: flex; align-items: center; margin-bottom: 15px; font-size: 0.9rem; color: var(--gray); }
.post-category { background: var(--primary); color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; margin-right: 15px; }
.post-date { display: flex; align-items: center; }
.post-date i { margin-right: 5px; }
.featured-post h2 { font-size: 2rem; margin-bottom: 15px; }
.featured-post p { margin-bottom: 20px; }

.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
.post-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); }
.post-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.post-card-image { height: 200px; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-content { padding: 20px; }
.post-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.post-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 15px; }
.read-more { color: var(--primary); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
.read-more i { margin-left: 5px; transition: var(--transition); }
.read-more:hover i { transform: translateX(5px); }

.sidebar { background: white; border-radius: 8px; padding: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); height: fit-content; position: sticky; top: 120px; }
.sidebar-widget { margin-bottom: 40px; }
.sidebar-widget:last-child { margin-bottom: 0; }
.sidebar-widget h3 { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--secondary); }
.categories-list { list-style: none; }
.categories-list li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.categories-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.categories-list a { color: var(--dark); text-decoration: none; display: flex; justify-content: space-between; transition: var(--transition); }
.categories-list a:hover { color: var(--secondary); }
.categories-list span { background: #f8f9fa; padding: 2px 8px; border-radius: 20px; font-size: 0.8rem; }
.popular-posts { list-style: none; }
.popular-post { display: flex; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.popular-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.popular-post-image { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; margin-right: 15px; flex-shrink: 0; }
.popular-post-image img { width: 100%; height: 100%; object-fit: cover; }
.popular-post-content h4 { font-size: 0.9rem; margin-bottom: 5px; }
.popular-post-content .post-date { font-size: 0.8rem; color: var(--gray); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: #f8f9fa; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; color: var(--dark); text-decoration: none; transition: var(--transition); }
.tag:hover { background: var(--primary); color: white; }

.newsletter { background: var(--primary); color: white; padding: 50px 0; text-align: center; }
.newsletter h2 { color: white; margin-bottom: 20px; }
.newsletter p { max-width: 600px; margin: 0 auto 30px; }
.newsletter-form { display: flex; max-width: 500px; margin: 0 auto; }
.newsletter-input { flex: 1; padding: 15px; border: none; border-radius: 4px 0 0 4px; font-family: 'Montserrat', sans-serif; }
.newsletter-btn { background: var(--secondary); color: var(--primary); border: none; padding: 0 25px; border-radius: 0 4px 4px 0; font-weight: 600; cursor: pointer; transition: var(--transition); }
.newsletter-btn:hover { background: #b8941f; }

@media (max-width: 992px) {
  .blog-hero h1 { font-size: 2.8rem; }
  .section-title h2 { font-size: 2rem; }
  .blog-container { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .blog-hero { padding: 150px 0 80px; }
  .blog-hero h1 { font-size: 2.2rem; }
  section { padding: 60px 0; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-radius: 4px; margin-bottom: 10px; }
  .newsletter-btn { border-radius: 4px; padding: 15px; }
}

@media (max-width: 576px) {
  .blog-hero h1 { font-size: 1.8rem; }
  .btn-large { padding: 12px 30px; font-size: 1rem; }
  .featured-post h2 { font-size: 1.5rem; }
  .posts-grid { grid-template-columns: 1fr; }
}
