/* 💻 Desktop (padrão) */
.noticias-section {
  padding: 40px 7%;
  background: #ECEBEB;
  text-align: left; /* ✅ Alinha o título à esquerda */
}

.noticias-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2A3D4A;
  font-family: 'Aleo', serif;
}

.noticias-section hr {
  width: 80px;
  height: 3px;
  background-color: #A9472E; /* ✅ Linha laranja */
  border: none;
  margin: 0 0 30px 0; /* Alinhada à esquerda */
}


.carousel {
  background: transparent;
  margin: 0 auto;
  max-width: 1000px;
}

.carousel-cell {
  width: 300px;
  height: 360px;
  margin-right: 20px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
}

.carousel-cell:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #C44E2B;
}

.carousel-cell img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.carousel-cell:hover img {
  opacity: 0.9;
}

.carousel-cell h3 {
  font-size: 1.1em;
  margin: 0 0 8px;
  color: #A9472E;
}

.carousel-cell p {
  font-size: 0.9em;
  color: #2A3D4A;
  margin: 0 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.flickity-button {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.noticia-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.noticia-info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.noticia-meta {
  color: #C44E2B;
  font-weight: bold;
  font-size: 0.75em;
}

/* 📱 Tablets e telas médias (até 1024px) */
@media (max-width: 1024px) {
  .carousel-cell {
    width: 260px;
    height: 340px;
  }

  .carousel-cell img {
    height: 160px;
  }

  .carousel-cell h3 {
    font-size: 1em;
  }

  .carousel-cell p {
    font-size: 0.88em;
  }
}

/* 📱 Mobile (até 768px) */
@media (max-width: 768px) {
  .noticias-section {
    padding: 30px 15px;
  }

  .carousel-cell {
    width: 90%;
    height: 320px;
  }

  .carousel-cell img {
    height: 150px;
  }

  .carousel-cell h3 {
    font-size: 0.95em;
  }

  .carousel-cell p {
    font-size: 0.85em;
  }
}

/* 📱📱 Mobile pequeno (até 480px) */
@media (max-width: 480px) {
  .noticias-section {
    padding: 25px 10px;
  }

  .carousel-cell {
    width: 100%;
    height: 300px;
    margin-right: 10px;
  }

  .carousel-cell img {
    height: 140px;
  }

  .carousel-cell h3 {
    font-size: 0.9em;
  }

  .carousel-cell p {
    font-size: 0.82em;
  }

  .noticia-meta {
    font-size: 0.7em;
  }
}
