/**
 * Overrides AnsPress - Edelev
 * ---------------------------
 * Ce fichier ne contient que :
 * - Cartes (Questions, Classement, Catégories)
 * - Barre de recherche
 * - Ajustements responsive
 */

/* ================================ 
   BARRE DE RECHERCHE (home only)
================================ */
.home #ap-search-form {
  position: relative;
  max-width: 760px;
  margin: 1.8rem auto;
  padding: 0;
  background: transparent;
}

.home #ap-search-form .ap-search-inner {
  position: relative;
}

.home #ap-search-form .ap-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9ca3af;
  width: 20px;
  height: 20px;
}

.home #ap-search-form .ap-search-input {
  display: block;
  height: 48px;
  width: 100%;
  padding: 14px 150px 14px 46px;
  font-size: 16px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-secondary);
  border-radius: 28px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
  box-sizing: border-box;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.home #ap-search-form .ap-search-input::placeholder { color: #6b7280; }
.home #ap-search-form .ap-search-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 6px rgba(59,130,246,0.12);
}

.home #ap-search-form .ap-search-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-primary);
  color: #fff;
  padding: 10px 22px;
  border: none;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(37,99,235,0.12);
  transition: background-color .15s ease, transform .06s ease;
  line-height: 1;
}
.home #ap-search-form .ap-search-submit:hover { background-color: var(--color-accent); }
.home #ap-search-form .ap-search-submit:active { transform: translateY(-50%) scale(.995); }


/* Cacher en-tête liste questions */
.home .ap-list-head {
    display: none !important;
}

/* Cacher le crédit AnsPress */
.ap-cradit {
    display: none !important;
}

