/* GRID */
#news-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* CARD */
.news-card {
  display: flex;
  gap: 16px;
  background: #0b0b0b;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 0 0 1px rgba(0,255,255,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(0,255,255,.3);
}

/* IMAGEM QUADRADA */
.news-thumb {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTEÚDO */
.news-body {
  display: flex;
  flex-direction: column;
}

/* TÍTULO */
.news-title {
  color: #00eaff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

/* META */
.news-meta {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 8px;
}

/* RESUMO */
.news-resumo {
  font-size: 13px;
  line-height: 1.45;
  color: #ddd;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

  margin-bottom: 10px;
}

/* CTA */
.news-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: #00eaff;
  text-decoration: none;
  align-self: flex-start;
}

.news-link:hover {
  text-decoration: underline;
}

/* ANIMAÇÃO */
.fade-in {
  animation: fadeUp .5s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  #news-container {
    grid-template-columns: 1fr;
  }

  .news-card {
    flex-direction: row;
  }

  .news-thumb {
    width: 90px;
    height: 90px;
  }
}

#busca-noticia {
  width: 100%;
  max-width: 360px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,255,255,.3);
  background: #050505;
  color: #fff;
  font-size: 14px;
}

#busca-noticia::placeholder {
  color: #777;
}

/* CONTAINER DOS FILTROS */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
  align-items: center;
}

/* SELECT + INPUT PADRÃO */
.news-filters select,
.news-filters input {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.35);
  background: #050505;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

/* PLACEHOLDER */
.news-filters input::placeholder {
  color: #777;
}

/* HOVER / FOCUS */
.news-filters select:hover,
.news-filters input:hover,
.news-filters select:focus,
.news-filters input:focus {
  border-color: #00eaff;
}

/* TAMANHOS */
#filtro-ano,
#filtro-mes {
  min-width: 160px;
}

#busca-noticia {
  flex: 1;
  min-width: 220px;
}

/* MOBILE */
@media (max-width: 768px) {
  .news-filters {
    flex-direction: column;
    align-items: stretch;
  }

  #filtro-ano,
  #filtro-mes,
  #busca-noticia {
    width: 100%;
  }
}

/* =========================
   TIMELINE ZENIT
========================= */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.timeline-year {
  font-size: 26px;
  font-weight: 700;
  color: #00eaff;
  margin-bottom: 12px;
}

.timeline-month {
  font-size: 18px;
  font-weight: 600;
  color: #7defff;
  margin: 24px 0 12px;
}

/* CARD */
.timeline-card {
  display: flex;
  gap: 16px;
  background: rgba(0,0,0,0.6);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 0 18px rgba(0,0,0,0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0,234,255,0.15);
}

/* IMAGEM QUADRADA */
.timeline-thumb {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.timeline-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTO */
.timeline-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #00eaff;
}

.timeline-meta {
  font-size: 13px;
  color: #aaa;
}

.timeline-resumo {
  font-size: 14px;
  color: #ddd;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline-link {
  margin-top: 6px;
  font-size: 14px;
  color: #00eaff;
  font-weight: 600;
  text-decoration: none;
}

.timeline-link:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .timeline-card {
    flex-direction: column;
  }

  .timeline-thumb {
    width: 100%;
    height: 180px;
  }
}

#news-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.news-filters select,
.news-filters input {
  min-width: 180px;
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-year {
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  margin: 40px 0 12px;
  text-align: left;
}

.timeline-month {
  font-size: 18px;
  font-weight: 600;
  color: #aaa;
  margin: 24px 0 12px;
}

.timeline-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  max-width: 100%;
}

.timeline-thumb {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.timeline-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.timeline-resumo {
  font-size: 14px;
  line-height: 1.45;
  color: #ddd;
}



@media (max-width: 640px) {
  .timeline-card {
    flex-direction: column;
  }

  .timeline-thumb {
    width: 100%;
    height: 180px;
  }
}
