/* Noticias del Mundial 2026 */

.noticias-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

.noticias-header {
  padding: 16px 0 8px;
}

.noticias-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.noticias-actualizado {
  color: #94a3b8;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

/* FILTROS */
.filtros-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0 16px;
}

.filtro-chip {
  background: #1e293b;
  border: 0.5px solid #334155;
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.filtro-chip:hover {
  border-color: #22c55e;
  color: #f1f5f9;
}

.filtro-chip.active {
  background: #1e3a2f;
  border-color: #22c55e;
  color: #22c55e;
}

/* NOTICIA DESTACADA */
.noticia-destacada {
  display: flex;
  flex-direction: column;
  background: #1e293b;
  border-radius: 10px;
  border: 0.5px solid #334155;
  overflow: hidden;
  min-height: 200px;
  cursor: pointer;
  transition: border-color 0.2s ease;
  margin-bottom: 16px;
}

.noticia-destacada:hover {
  border-color: #22c55e;
}

@media (min-width: 768px) {
  .noticia-destacada {
    flex-direction: row;
  }
  .noticia-destacada .noticia-imagen {
    width: 45%;
    min-height: 200px;
  }
  .noticia-destacada .noticia-info {
    width: 55%;
  }
}

.noticia-destacada .noticia-imagen {
  min-height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.noticia-destacada .noticia-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.noticia-destacada .noticia-titulo {
  font-size: 16px;
  -webkit-line-clamp: 3;
}

.noticia-destacada .noticia-descripcion {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.4;
  display: block;
}

/* GRID */
.noticias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

.noticia-card {
  background: #1e293b;
  border-radius: 10px;
  border: 0.5px solid #334155;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}

.noticia-card:hover {
  border-color: #22c55e;
}

.noticia-card .noticia-imagen {
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.noticia-card .noticia-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ELEMENTOS COMUNES */
.noticia-fuente {
  display: inline-block;
  background: #1e3a2f;
  color: #22c55e;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  width: fit-content;
}

.noticia-titulo {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.noticia-tiempo {
  color: #94a3b8;
  font-size: 12px;
}

.noticia-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.noticia-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.noticia-tag.tag-celeste {
  background: #0c4a6e;
  color: #7dd3fc;
}

.noticia-tag.tag-verde {
  background: #14532d;
  color: #4ade80;
}

.noticia-tag.tag-naranja {
  background: #7c2d12;
  color: #fdba74;
}

.noticia-tag.tag-azul {
  background: #1e3a8a;
  color: #93c5fd;
}

/* SIN NOTICIAS */
.sin-noticias {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.sin-noticias .icono {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.5;
}

.sin-noticias p {
  font-size: 0.95rem;
}

.noticia-card.hidden,
.noticia-destacada.hidden {
  display: none;
}

/* PLACEHOLDER (sin imagen) */
.noticia-imagen.sin-imagen {
  background-image: none;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.noticia-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.noticia-placeholder-fuente {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #334155;
  text-align: center;
}

.noticia-placeholder-line {
  display: block;
  width: 40px;
  height: 1px;
  background: #22c55e;
}

