/* Pages locales service + commune et hubs de commune. */
.loumi-local-service-page .loumi-service-breadcrumb,
.loumi-city-page .loumi-service-breadcrumb {
  margin-bottom: 1.2rem;
}

.loumi-local-custom-content {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(72, 53, 42, 0.12);
}

.loumi-local-custom-content > :first-child {
  margin-top: 0;
}

.loumi-local-custom-content > :last-child {
  margin-bottom: 0;
}

.loumi-local-links,
.loumi-local-communes,
.loumi-local-faq,
.loumi-city-services {
  padding: clamp(3.4rem, 7vw, 6rem) 0;
}

.loumi-local-links {
  background: #fffaf4;
}

.loumi-local-communes {
  background: #fff;
}

.loumi-local-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid rgba(75, 53, 39, 0.1);
  border-radius: 28px;
  background: #fffaf4;
  box-shadow: 0 18px 45px rgba(76, 55, 41, 0.08);
}

.loumi-local-panel__heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.loumi-local-panel__heading h2,
.loumi-city-services h2,
.loumi-local-faq h2 {
  margin-top: 0;
}

.loumi-local-panel__heading p:last-child {
  margin-bottom: 0;
}

.loumi-local-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.loumi-local-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(75, 53, 39, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #49372c;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.loumi-local-chips a:hover,
.loumi-local-chips a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(75, 53, 39, 0.25);
  box-shadow: 0 10px 24px rgba(76, 55, 41, 0.09);
}

.loumi-local-faq {
  background: #f7efe7;
}

.loumi-local-faq__list {
  display: grid;
  gap: 0.9rem;
  max-width: 920px;
  margin: 2rem auto 0;
}

.loumi-local-faq__item {
  border: 1px solid rgba(75, 53, 39, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(76, 55, 41, 0.06);
}

.loumi-local-faq__item summary {
  position: relative;
  padding: 1.15rem 3.2rem 1.15rem 1.3rem;
  cursor: pointer;
  color: #49372c;
  font-weight: 900;
  list-style: none;
}

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

.loumi-local-faq__item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
}

.loumi-local-faq__item[open] summary::after {
  content: '−';
}

.loumi-local-faq__item p {
  margin: 0;
  padding: 0 1.3rem 1.3rem;
  color: #665247;
}

.loumi-city-services {
  background: #fffaf4;
}

.loumi-city-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}

.loumi-city-service-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid rgba(75, 53, 39, 0.1);
  border-radius: 24px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(76, 55, 41, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.loumi-city-service-card:hover,
.loumi-city-service-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(76, 55, 41, 0.11);
}

.loumi-city-service-card__icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: #f7efe7;
  font-size: 1.7rem;
}

.loumi-city-service-card__price {
  margin-bottom: 0.7rem;
  color: #9a6547;
  font-size: 0.88rem;
  font-weight: 900;
}

.loumi-city-service-card h3 {
  margin: 0 0 0.75rem;
  color: #49372c;
  font-size: 1.18rem;
}

.loumi-city-service-card p {
  margin: 0 0 1rem;
  color: #665247;
  font-size: 0.96rem;
}

.loumi-city-service-card__link {
  margin-top: auto;
  color: #9a6547;
  font-weight: 900;
}

.loumi-city-custom-content {
  max-width: 920px;
  margin: 2.2rem auto 0;
  padding: 1.6rem;
  border-radius: 22px;
  background: #fff;
}

@media (max-width: 960px) {
  .loumi-city-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .loumi-local-links,
  .loumi-local-communes,
  .loumi-local-faq,
  .loumi-city-services {
    padding: 3rem 0;
  }

  .loumi-city-services__grid {
    grid-template-columns: 1fr;
  }

  .loumi-local-panel {
    border-radius: 22px;
  }

  .loumi-local-chips {
    gap: 0.55rem;
  }

  .loumi-local-chips a {
    min-height: 40px;
    padding: 0.58rem 0.82rem;
    font-size: 0.92rem;
  }
}
