.blog-section {
  padding: 50px 0;
  background-color: #f5f5f5;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

.blog-post:hover {
  transform: translateY(-5px);
}

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

.blog-post-content {
  padding: 20px;
}

.blog-post h3 {
  margin-top: 0;
}

.blog-post p {
  color: #666;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-color);
  text-decoration: none;
}
.featured-post {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.featured-post-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.featured-post:hover .featured-post-image img {
  transform: scale(1.05);
}

.featured-post-content {
  padding: 1.5rem;
}

.featured-label {
  display: inline-block;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.featured-post-content h2 {
  font-size: 1.5rem;
  color: #333333;
  margin-bottom: 1rem;
}

.featured-post-content p {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 1.5rem;
}

.read-more {
  display: inline-block;
  background-color: var(--accent-color);
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: var(--accent-color);
}

@media (min-width: 768px) {
  .featured-post {
    flex-direction: row;
    align-items: stretch;
  }

  .featured-post-image {
    width: 50%;
    height: auto;
  }

  .featured-post-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .featured-post-content h2 {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .featured-post-image {
    width: 60%;
  }

  .featured-post-content {
    width: 40%;
  }

  .featured-post-content h2 {
    font-size: 2rem;
  }
}