/* News Section Base Styles */
.noticias-section {
  padding: 50px 30px;
  background-color: #222;
  font-family: 'Roboto', sans-serif;
}

.noticias-header {
  text-align: left;
  margin-bottom: 40px;
  background: none;
  color: white;
}

.noticias-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
  background: none;
  color: white;
}

.noticias-header p {
  color: white;
  background: none;
  font-size: 10pt;
  opacity: 0.6;
}

/* News Cards Container - Mobile */
.noticias-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  background: none;
  padding: 10px 0px;
}

/* News Card Styles */
.noticia-card {
  flex: 0 0 300px;
  background: whitesmoke;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.noticia-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: 50% 5%;
}

.noticia-conteudo {
  padding: 20px;
}

.noticia-conteudo h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.noticia-data {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.noticia-conteudo p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

/* Read More Button */
.btn-leia-mais {
  display: inline-block;
  padding: 8px 14px;
  background-color: #0073e6;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.btn-leia-mais:hover {
  background-color: #005bb5;
}

/* View More Link */
.btnVisitarSiteDeNoticias {
  padding: 20px 0;
  margin-top: 20px;
  background: none;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.btnVisitarSiteDeNoticias a,
.btnVisitarSiteDeNoticias i {
  color: white;
  background: none;
}

.btnVisitarSiteDeNoticias a {
  font-size: 14pt;
}

/* Desktop Styles */
@media screen and (min-width: 800px) {
  .noticias-section {
    padding: 50px 100px;
  }

  .noticias-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    overflow-x: visible;
  }

  .noticia-card:hover {
    transform: translateY(-5px);
  }
}