.blog-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.blog-hero::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -80px;
  right: -80px;
}

.blog-hero-content {
  max-width: 720px;
}

.blog-hero-content span {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.blog-hero-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.blog-hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.blog-hero--post .blog-hero-content {
  max-width: 900px;
}

.blog-list {
  padding: 60px 0 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

.blog-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.blog-card img,
.blog-card-placeholder {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 2rem;
}

.blog-card-body {
  padding: 18px;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  margin: 6px 0 10px;
  color: var(--primary-color);
  font-weight: 700;
}

.blog-card-body p {
  color: #4a5568;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.blog-link {
  color: var(--secondary-color);
  font-weight: 700;
}

.blog-date {
  color: #6b7280;
  font-size: 0.85rem;
}

.blog-empty {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 18px;
  border: 1px dashed #d7dee8;
}

.blog-pagination {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.blog-pagination .page-link {
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  min-width: 44px;
  text-align: center;
}

.blog-pagination .page-link.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.blog-pagination .page-dots {
  color: #6b7280;
  font-weight: 600;
}

.blog-post {
  padding: 60px 0 80px;
}

.blog-cover img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  max-height: 380px;
}

.blog-content {
  margin-top: 24px;
  line-height: 1.9;
  color: #1f2937;
  font-size: 1.05rem;
}

.blog-back {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 60px 0 40px;
  }

  .blog-hero-content h1 {
    font-size: 2rem;
  }
}
