/* Blog Page Styles */

.blog-page {
  padding: 40px 0 80px;
  background-color: #fff;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: #888;
}

.breadcrumbs span {
  color: #333;
  font-weight: 600;
}

/* Page Title */
.blog-page h1.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* Top Section: Featured & List */
.blog-featured-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  margin-bottom: 60px;
}

/* Featured Post */
.featured-post-card {
  display: block;
}

.featured-img-box {
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
}

.featured-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.featured-post-card:hover .featured-img-box img {
  transform: scale(1.05);
}

.post-cat-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.featured-post-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
  margin-bottom: 15px;
  transition: 0.3s;
}

.featured-post-card:hover .featured-post-title {
  color: var(--blue-primary);
}

.featured-post-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.featured-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #888;
}

.view-more-link {
  font-weight: 700;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Sidebar List */
.blog-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-post-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.side-post-item:last-child {
  border-bottom: none;
}

.side-post-thumb {
  width: 166px;
  height: 106px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.side-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-post-content {
  flex: 1;
}

.side-post-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-post-meta {
  font-size: 11px;
  color: #999;
}

/* Bottom Grid Section */
.blog-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.blog-card-item {
  display: block;
}

.card-img-box {
  width: 352px;
  height: 288px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.blog-card-item:hover .card-img-box img {
  transform: scale(1.05);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: 0.3s;
}

.blog-card-item:hover .card-title {
  color: var(--blue-primary);
}

.card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: 12px;
  color: #999;
}

/* Responsive */
@media (max-width: 991px) {
  .blog-featured-grid {
    grid-template-columns: 1fr;
  }

  .blog-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-bottom-grid {
    grid-template-columns: 1fr;
  }

  .featured-img-box {
    height: 250px;
  }
}
