/* Enseignes ANCV : carte + explorateur */
.ancv-carte, .ancv-explo { margin: 2em 0; }
.ancv-carte h2, .ancv-explo h2 { margin-bottom: .4em; }
.ancv-carte-resume, .ancv-explo-intro { color: #444; }

.ancv-map { height: 380px; border-radius: 12px; overflow: hidden; margin: 1em 0; background: #eef2f5; border: 1px solid #e3e7ec; z-index: 0; }
.ancv-map-explo { height: 460px; }
/* Fond de carte adouci pour rester dans la charte du site */
.ancv-map .leaflet-tile-pane { filter: saturate(.55) brightness(1.04) contrast(.95); }
.ancv-pin span { display: block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.leaflet-popup-content { font-size: 14px; line-height: 1.45; }

.ancv-badge { display: inline-block; font-size: .72em; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; margin-right: 4px; text-transform: uppercase; }
.ancv-badge-classic { background: #fdf3d7; color: #8a6a00; }
.ancv-badge-connect { background: #e3f1ff; color: #1b5fa8; }

.ancv-etabs { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e3e7ec; columns: 2 320px; column-gap: 24px; }
.ancv-etabs li { break-inside: avoid; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid #eef1f4; font-size: .95em; }
.ancv-etab-nom { font-weight: 600; }
.ancv-etab-lieu { color: #667085; font-size: .9em; }
.ancv-etab-lien { font-size: .85em; margin-left: auto; }
.ancv-carte-source { font-size: .85em; color: #667085; margin-top: .8em; }

.ancv-explo-controls { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 1em 0; }
.ancv-explo-search { flex: 1 1 240px; padding: 10px 14px; border: 1px solid #cfd6de; border-radius: 999px; font-size: 1em; }
.ancv-explo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ancv-chip { border: 1px solid #cfd6de; background: #fff; color: #2C3E50; border-radius: 999px; padding: 6px 14px; font-size: .9em; cursor: pointer; }
.ancv-chip:hover { border-color: #2C3E50; }
.ancv-chip.is-active { background: #2C3E50; border-color: #2C3E50; color: #fff; }
.ancv-explo-titres { display: flex; gap: 14px; font-size: .92em; }
.ancv-explo-titres label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }

.ancv-explo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 1em; }
.ancv-ens-card { display: flex; flex-direction: column; border: 1px solid #e3e7ec; border-radius: 12px; overflow: hidden; background: #fff; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.ancv-ens-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,40,60,.10); color: inherit; }
.ancv-ens-card[hidden] { display: none; }
.ancv-ens-img { width: 100%; height: 110px; object-fit: cover; }
.ancv-ens-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.ancv-ens-cat { font-size: .75em; text-transform: uppercase; letter-spacing: .05em; color: #667085; }
.ancv-ens-nom { font-weight: 700; font-size: 1.05em; color: #2C3E50; }
.ancv-ens-statut { font-size: .88em; font-weight: 600; }
.ancv-ens-oui .ancv-ens-statut { color: #159a41; }
.ancv-ens-oui_mais .ancv-ens-statut { color: #b5710f; }
.ancv-ens-non .ancv-ens-statut { color: #a83232; }
.ancv-ens-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 2px; }
.ancv-ens-n { font-size: .8em; color: #667085; }
.ancv-explo-vide { text-align: center; color: #667085; padding: 1em; }

@media (max-width: 600px) {
  .ancv-map { height: 300px; }
  .ancv-map-explo { height: 340px; }
  .ancv-explo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ancv-ens-img { height: 80px; }
}
