/* =====================================================
   Admin PC – styles des blocs SEO local
   (.local-context, .local-context-v2, .local-faq)
   Ajoutés pour casser la duplication entre pages géographiques.
   ===================================================== */

.local-context,
.local-context-v2,
.local-faq {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #404742;
}

.local-context {
  background: linear-gradient(180deg, rgba(31, 168, 79, 0.04), transparent);
  border-top: 1px solid rgba(31, 168, 79, 0.12);
  border-bottom: 1px solid rgba(31, 168, 79, 0.12);
}

.local-context .lead {
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.local-context__details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.local-context__details li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.local-context__details li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  font-weight: 700;
  color: #1fa84f;
  font-size: 1.1rem;
}

.local-context__details strong {
  color: #202020;
}

/* Second bloc thématique */
.local-context-v2 {
  background: #fbfcfb;
  border-radius: 12px;
  margin: 1.5rem auto;
}

.local-context-v2 h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #202020;
  margin: 0 0 0.5rem;
}

.local-context-v2 p {
  margin: 0;
  line-height: 1.6;
}

/* Mini-FAQ locale */
.local-faq h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #202020;
  margin: 0 0 1rem;
}

.local-faq details {
  background: #fff;
  border: 1px solid #e7e9e7;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  transition: border-color .2s ease;
}

.local-faq details[open] {
  border-color: rgba(31, 168, 79, 0.4);
}

.local-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #202020;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.local-faq summary::-webkit-details-marker {
  display: none;
}

.local-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: #1fa84f;
  font-size: 1.25rem;
  transition: transform .2s ease;
}

.local-faq details[open] summary::after {
  content: "−";
}

.local-faq details p {
  margin: 0.75rem 0 0;
  line-height: 1.6;
  color: #404742;
}

/* Dark mode (cohérence avec le thème du site) */
body.dark-mode .local-context,
body.dark-mode .local-context-v2,
body.dark-mode .local-faq {
  color: #e4e6e4;
}
body.dark-mode .local-context__details strong,
body.dark-mode .local-context-v2 h3,
body.dark-mode .local-faq h3,
body.dark-mode .local-faq summary {
  color: #fff;
}
body.dark-mode .local-context-v2 { background: #1e1e1e; }
body.dark-mode .local-faq details {
  background: #1e1e1e;
  border-color: #2a2a2a;
}
body.dark-mode .local-faq details p { color: #bcbcbc; }

/* Responsive */
@media (max-width: 720px) {
  .local-context .lead { font-size: 1rem; }
  .local-context__details li { font-size: 0.9rem; }
  .local-context-v2 h3,
  .local-faq h3 { font-size: 1.1rem; }
}
