/* Estilos específicos para la página de archivo de noticias */
.noticias-archive {
  padding: 20px 0;
}

.noticias-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.noticia-item {
  display: flex;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.noticia-imagen {
  width: 250px;
  min-width: 250px;
  background-color: #8b0064;
  display: flex;
  justify-content: center;
  align-items: center;
}

.noticia-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 250px;
}

.noticia-contenido {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.tag-container {
  margin-bottom: 10px;
}

.noticia-titulo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.noticia-texto {
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.noticia-item .ver-mas-btn {
  align-self: flex-end;
  margin-top: auto;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
  .noticia-item {
    flex-direction: column;
  }

  .noticia-imagen {
    width: 100%;
    height: 200px;
  }

  .noticia-contenido {
    padding: 15px;
  }
}

/* Paginación */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  background-color: #fff;
  border-radius: 4px;
  color: #8b0064;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination span.current {
  background-color: #8b0064;
  color: white;
}
