/* Barre de recherche du fil d'actu (article.php) */
.article-search {
  display: block; /* annule le "form" en flex centré de style.css */
  width: 100%;
  max-width: 800px;
  padding: 1rem;
  box-sizing: border-box;
  text-align: left;
}

.article-search label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--pmr-red, #8b1a2b);
}

.article-search-row {
  display: flex;
  width: 100%;
  gap: 0.5rem;
}

.article-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.article-search input[type="search"]:focus {
  outline: 2px solid var(--pmr-red, #8b1a2b);
  outline-offset: 1px;
  border-color: transparent;
}

.article-search button {
  flex-shrink: 0;
  padding: 0.6rem 1.1rem;
  border: none;
  border-radius: 6px;
  background: var(--pmr-red, #8b1a2b);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.article-search-count {
  margin: 0.5rem 0 0 0;
  font-size: 0.85rem;
  color: #555;
}

/* .post est en display:flex : sans ça l'attribut hidden serait ignoré */
.post[hidden],
.article-search-count[hidden] {
  display: none;
}
