/* CSS global para padronizar cards em todas as páginas */
.news-card,
.service-item.pacote-card,
#flash-news-cards-container .news-card,
#flash-news-cards-container .service-item.pacote-card {
  flex: 0 0 340px !important;
  width: 340px !important;
  height: 800px !important;
  min-height: 800px !important;
  max-height: 800px !important;
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  transition: box-shadow 0.2s !important;
  max-width: 340px !important;
  min-width: 340px !important;
  overflow: hidden !important;
}

.news-card:hover,
.service-item.pacote-card:hover,
#flash-news-cards-container .news-card:hover,
#flash-news-cards-container .service-item.pacote-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.18) !important;
}

/* Padronização das imagens nos cards */
.news-card > div:first-child,
.service-item.pacote-card > div:first-child,
.news-card .news-card-image-container,
.news-card [style*="background-image"],
.service-item.pacote-card [style*="background-image"],
#flash-news-cards-container .news-card > div:first-child,
#flash-news-cards-container .service-item.pacote-card > div:first-child,
.news-card > img,
#flash-news-cards-container .news-card > img {
  height: 600px !important;
  overflow: hidden !important;
  max-height: 600px !important;
  min-height: 600px !important;
  position: relative !important;
  width: 100% !important;
  flex-shrink: 0 !important;
}

.news-card img,
.service-item.pacote-card img,
#flash-news-cards-container .news-card img,
#flash-news-cards-container .service-item.pacote-card img {
  width: 100% !important;
  height: 100%!important;
  object-fit: cover !important;
  object-position: center !important;
  transition: none !important;
}

/* Desativar efeitos de hover nas imagens */
.news-card:hover img,
.service-item.pacote-card:hover img,
#flash-news-cards-container .news-card:hover img,
#flash-news-cards-container .service-item.pacote-card:hover img {
  transform: none !important;
  transition: none !important;
}

/* Padronização do conteúdo dos cards */
.news-card .news-card-content,
.news-card > div:last-child,
#flash-news-cards-container .news-card .news-card-content,
#flash-news-cards-container .news-card > div:last-child {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex-grow: 1 !important;
  overflow: hidden !important;
}

.news-card h3,
.service-item.pacote-card h3,
#flash-news-cards-container .news-card h3,
#flash-news-cards-container .service-item.pacote-card h3 {
  margin-top: 0 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
}

.news-card p,
.service-item.pacote-card p,
#flash-news-cards-container .news-card p,
#flash-news-cards-container .service-item.pacote-card p {
  margin-bottom: 15px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Ajustes para responsividade */
@media (max-width: 991px) {
  #flash-news-cards-container,
  .news-cards-container {
    flex-wrap: wrap !important;
    gap: 20px !important;
    justify-content: center !important;
  }
  
  .news-card,
  .service-item.pacote-card,
  #flash-news-cards-container .news-card,
  #flash-news-cards-container .service-item.pacote-card {
    width: 100% !important;
    max-width: 340px !important;
    height: auto !important;
  }
}

@media (max-width: 767px) {
  #flash-news-cards-container,
  .news-cards-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }
  
  .news-card,
  .service-item.pacote-card,
  #flash-news-cards-container .news-card,
  #flash-news-cards-container .service-item.pacote-card {
    width: 98% !important;
    max-width: 98% !important;
    height: auto !important;
  }
}
