/* Couples evenement x ville (templates/eventcalendar/_couples.html) : grille de cartes
   simples ; une colonne sur telephone. */
.couples {
  margin: 1.5rem auto;
  max-width: 1100px;
  padding: 0 1rem;
}

.couples__title {
  text-align: center;
  color: #ba9966;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.couples__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: stretch;
  flex-direction: unset;
}

.couples__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e4d8c4;
  border-radius: 6px;
  background: #fff;
}

.couples__name {
  font-weight: bold;
}

.couples__dates {
  font-size: 0.9em;
  color: #666;
}

.couples__link {
  margin-top: auto;
  color: #ba9966;
  font-weight: bold;
  text-decoration: none;
}

.couples__link:hover {
  text-decoration: underline;
}

.couples__link--host {
  color: #555;
  font-weight: normal;
}

@media screen and (max-width: 480px) {
  .couples__list {
    grid-template-columns: 1fr;
  }
}

/* Carte du monde : fond static/img/world-map.svg, points dores ; le halo grossit au
   survol et au focus clavier */
.couples-map {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

.couples-map__dot {
  fill: #ba9966;
  stroke: #fff;
  stroke-width: 2;
}

.couples-map__halo {
  fill: #ba9966;
  opacity: 0.25;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.2s, transform 0.2s;
}

/* Agrandissement proportionnel : juste quel que soit le cadrage de la carte */
.couples-map__point:hover .couples-map__halo,
.couples-map__point:focus .couples-map__halo {
  opacity: 0.5;
  transform: scale(1.4);
}

.couples-map__point:focus {
  outline: none;
}

.couples__more {
  text-align: center;
  margin-top: 1rem;
}

.couples__more a {
  color: #ba9966;
  font-weight: bold;
}

/* Barre des zones (static/js/couples-map.js) : boutons sur plusieurs lignes au besoin */
.couples-zones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.couples-zones__btn {
  padding: 0.35rem 0.85rem;
  border: 1px solid #ba9966;
  border-radius: 999px;
  background: #fff;
  color: #6b5532;
  font-size: 0.9rem;
  cursor: pointer;
}

.couples-zones__btn:hover,
.couples-zones__btn:focus-visible {
  background: #f3ebde;
}

.couples-zones__btn.is-active {
  background: #ba9966;
  color: #fff;
}

/* Proportions fixes : le cadrage change, pas la hauteur de la carte */
.couples-map {
  aspect-ratio: 1000 / 394;
}

.couples-map__point.is-hidden,
.couples__item.is-hidden {
  display: none;
}


/* Lieux avec de vraies annonces (page des evenements) : dore plus fonce, au-dessus */
.couples-map__point--listings .couples-map__dot,
.couples-map__point--listings .couples-map__halo {
  fill: #8a6a2f;
}

.couples-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1.2rem;
  margin: -0.5rem 0 1rem;
  font-size: 0.85rem;
  color: #666;
}

.couples-legend__dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: -0.8rem;
  border-radius: 50%;
  background: #ba9966;
  vertical-align: middle;
}

.couples-legend__dot--listings {
  background: #8a6a2f;
}
