/* css/stylecarrossel.css */
.carousel-wrapper{padding:12px 0}
.carousel{overflow:hidden;border-radius:12px}
.carousel-track{display:flex;align-items:center}
.hero-card{min-width:320px}
.carousel-btn{background:rgba(0,0,0,0.35);border:1px solid rgba(255,255,255,0.03);color:var(--text);padding:6px 10px;border-radius:8px}
.carousel-controls{display:flex;align-items:center;gap:10px;justify-content:flex-end}
@media (max-width:760px){
  .hero-card{min-width:260px}
  .wheel{width:200px;height:200px}
}


.news-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.news-card {
  background: #0e0e0e;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-content {
  padding: 12px;
}

.news-title {
  font-size: 1rem;
  color: #00eaff;
  margin: 0 0 6px;
}

.news-date {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ===== HOME - NOTÍCIAS ZENIT ===== */

#priston-news-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.home-news-card {
  background: #0c0c0c;
  border-radius: 12px;
  overflow: hidden;
  max-height: 360px; /* FORÇA ALTURA */
}

.home-news-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.home-news-content {
  padding: 12px;
}

.home-news-title {
  color: #00eaff;
  font-size: 0.95rem;
  margin: 0 0 4px;
}

.home-news-date {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 6px;
}

.home-news-excerpt {
  font-size: 0.85rem;
  color: #ddd;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 3; /* MÁXIMO 3 LINHAS */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== HOME - NOTÍCIAS ZENIT ===== */

#newsCarouselTrack {
  display: flex;
  gap: 20px;
}

.home-news-card {
  min-width: 280px;
  max-width: 280px;
  background: #0c0c0c;
  border-radius: 12px;
  overflow: hidden;
}

.home-news-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.home-news-content {
  padding: 12px;
}

.home-news-title {
  color: #00eaff;
  font-size: 0.95rem;
  margin: 0 0 4px;
}

.home-news-date {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 6px;
}

.home-news-excerpt {
  font-size: 0.85rem;
  color: #ddd;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#newsCarouselTrack {
  display: flex;
  gap: 24px;
  justify-content: center;   /* 👈 ISSO CENTRALIZA */
  align-items: stretch;
}

/* ============================= */
/* MOBILE — Notícias em coluna  */
/* ============================= */
@media (max-width: 768px) {

  #newsCarouselTrack {
    flex-direction: column;   /* 👈 empilha os cards */
    align-items: center;      /* 👈 centraliza */
  }

  .home-news-card {
    width: 100%;
    max-width: 420px;         /* evita ficar gigante */
  }

}

