/* Filters */
.paro-ambassadrices-filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.paro-ambassadrices-filters select,
.paro-ambassadrices-filters input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-family: var(--wp--preset--font-family--houschka-pro, sans-serif);
  color: var(--wp--preset--color--contrast);
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: auto;
}

.paro-ambassadrices-filters select:focus,
.paro-ambassadrices-filters input[type="text"]:focus {
  border-color: var(--wp--preset--color--violet);
}

.paro-filter-search-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.paro-filter-search-row input[type="text"] {
  flex: 1;
  min-width: 0;
}

.paro-filter-reset {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  background: none;
  border: 1px solid var(--wp--preset--color--violet);
  border-radius: 6px;
  color: var(--wp--preset--color--violet);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  padding: 0;
}

.paro-filter-reset svg {
  width: 18px;
  height: 18px;
  display: block;
}

.paro-filter-reset:hover {
  background-color: var(--wp--preset--color--violet);
  color: #ffffff;
}

/* Grid */
.paro-ambassadrices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card */
.paro-ambassadrice-card {
  background-color: var(--wp--preset--color--sable, #F6F3F1);
  border-radius: 10px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.paro-ambassadrice-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Header : photo + icone email */
.paro-ambassadrice-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.paro-ambassadrice-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.paro-ambassadrice-card__photo--placeholder {
  background-color: #d8d4cf;
}

.paro-ambassadrice-card__email-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--violet);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.paro-ambassadrice-card__email-btn:hover {
  opacity: 0.85;
}

.paro-ambassadrice-card__email-btn svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: #ffffff;
}

/* After pseudo-element override (global link rule) */
.paro-ambassadrice-card__email-btn::after {
  display: none !important;
}

/* Nom */
.paro-ambassadrice-card__nom {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

/* Fonction */
.paro-ambassadrice-card__fonction {
  font-size: 0.95rem !important;
  font-weight: 700;
  color: var(--wp--preset--color--bleu-electrique) !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

/* Départements */
.paro-ambassadrice-card__depts {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--wp--preset--color--turquoise);
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: 0.8em !important;
}

/* Separator */
.paro-ambassadrice-card__sep {
  height: 2px;
  border: none;
  background-color: var(--wp--preset--color--turquoise);
  margin: 0 0 16px 0;
}

/* Bio */
.paro-ambassadrice-card__bio {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--wp--preset--color--contrast);
  margin: 0 !important;
  line-height: 1.6;
  flex: 1;
}

/* Bouton Lire plus / Lire moins */
.bio-readmore {
  display: block;
  margin-top: 8px;
  margin-left: auto;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  font-family: inherit;
  font-style: italic;
  color: var(--wp--preset--color--violet);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bio-readmore:hover {
  opacity: 0.75;
}

/* Bouton Afficher toutes les ambassadrices */
.paro-show-all-wrap {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}

.paro-show-all {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--wp--preset--color--violet);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.paro-show-all:hover {
  opacity: 0.75;
}

/* Card cachée par le filtre */
.paro-ambassadrice-card[hidden] {
  display: none;
}

/* Message aucun résultat */
.paro-ambassadrices-noresult {
  display: none;
  font-style: italic;
  color: var(--wp--preset--color--contrast);
  margin-top: 24px;
}

.paro-ambassadrices-noresult.is-visible {
  display: block;
}

@media (max-width: 640px) {
  .paro-ambassadrices-filters,
  .paro-ambassadrices-grid {
    grid-template-columns: 1fr;
  }
}
