/* Blog Section Styles */
.blog-section {
  padding: 40px 0;
  background-color: #f7f7f7;
}

.blog-post-thumb {
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.blog-post-thumb .img {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

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

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

.blog-content {
  padding: 15px;
}

.blog-content .category {
  display: inline-block;
  background-color: #a4c639;
  color: #fff;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-content h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 8px 0;
  line-height: 1.3;
}

.blog-content h3 a {
  color: #001f3f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-content h3 a:hover {
  color: #a4c639;
}

.blog-content p {
  color: #666;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-button-free a {
  color: #a4c639;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.text-button-free a:hover {
  color: #8fb030;
}

.text-button-free a i {
  margin-left: 5px;
  font-size: 12px;
}

.blog-interactions {
  margin: 15px 0;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.blog-stats-mini {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.stat-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.3s;
}

.stat-mini:hover {
  color: #a4c639;
}

.stat-mini i {
  font-size: 14px;
}

.like-btn-mini {
  cursor: pointer;
}

.like-btn-mini.liked {
  color: #e74c3c;
}

.like-btn-mini.liked i {
  animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.featured-post {
  margin-bottom: 0;
}

.featured-post .img {
  height: 180px;
}

.blog-sidebar {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.blog-sidebar h4 {
  font-size: 16px !important;
  margin-bottom: 15px !important;
}

.sidebar-story {
  display: flex;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.sidebar-story:last-of-type {
  border-bottom: none;
  margin-bottom: 15px;
}

.story-img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content {
  flex: 1;
}

.story-category {
  display: inline-block;
  background-color: #a4c639;
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.story-content h5 {
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0;
  line-height: 1.2;
}

.story-content h5 a {
  color: #001f3f;
  text-decoration: none;
  transition: color 0.3s;
}

.story-content h5 a:hover {
  color: #a4c639;
}

.story-content p {
  color: #666;
  font-size: 11px;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-meta {
  display: flex;
  gap: 15px;
}

.view-all-link {
  display: block;
  text-align: center;
  background: #a4c639;
  color: #fff;
  padding: 10px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.3s;
}

.view-all-link:hover {
  background: #8fb030;
  color: #fff;
}

.view-all-link i {
  margin-left: 5px;
  font-size: 11px;
}

@media (max-width: 991px) {
  .blog-section {
    padding: 60px 0;
  }
  
  .blog-post-thumb .img {
    height: 200px;
  }
  
  .featured-post .img {
    height: 250px;
  }
  
  .blog-sidebar {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .blog-section {
    padding: 40px 0;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-content h3 {
    font-size: 18px;
  }
}
