/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 40px 50px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #e5e5e5;
}

.hero-content {
  position: relative; /* necessário para posicionar os botões */
  max-width: 100%;
  overflow: hidden;
}

.slides-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Slide individual */
.banner-slide {
  min-width: 100%;
  position: relative;
}

/* Imagem do banner */
.hero-section .banner-slide img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: block;
}

/* Botões de navegação */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 28px;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.prev:hover,
.next:hover {
  background-color: rgba(0,0,0,0.6);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
  .hero-section {
    padding: 20px 16px;
  }

  .hero-section .banner-slide img {
    max-height: 220px;
  }

  .prev,
  .next {
    font-size: 20px;
    padding: 8px 10px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-meta {
    flex-direction: column;
    gap: 4px;
  }

  .pagination {
    flex-wrap: wrap;
  }
}