.blog-hero {
  background: var(--primary-color);
  padding: 150px 20px 80px;
  text-align: center;
  color: var(--accent-color);
}

.blog-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 15px;
}

.blog-hero p {
  color: var(--text-light);
  font-size: 1.2rem;
}

.blog-listing, .single-post-section {
  padding: 80px 0;
  background-color: #fcfbfd;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.post-card p {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more {
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.skeleton-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.skeleton-img {
  width: 100%;
  height: 220px;
  background: #eee;
  animation: loading 1.5s infinite;
}

.skeleton-text {
  height: 15px;
  background: #eee;
  margin: 25px;
  border-radius: 4px;
  animation: loading 1.5s infinite;
}

.skeleton-text.title {
  height: 25px;
  width: 70%;
}

@keyframes loading {
  0% { background-color: #f0f0f0; }
  50% { background-color: #e0e0e0; }
  100% { background-color: #f0f0f0; }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.pagination button {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--primary-color);
  padding: 12px 25px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.pagination button:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-color: var(--accent-color);
}

.popular-posts {
  padding: 60px 0 100px;
  background-color: #f7f5fa;
}

.popular-posts h2 {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.single-post-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.single-post-title {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 25px;
}

.post-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.post-date {
  color: #888;
  font-weight: 600;
}

.reading-time {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.share-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn span {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.share-btn:hover {
  color: var(--accent-color);
}

.cover-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 40px;
}

.post-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}

.post-content h2, .post-content h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin: 40px 0 20px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .single-post-container {
    padding: 30px 20px;
  }
  .single-post-title {
    font-size: 2rem;
  }
  .cover-image {
    height: 250px;
  }
}
