
a.jm-comparer-departement {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  align-self: stretch;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #bdd8e2;
  border-radius: 12px;
  background: #edf6f9;
  color: #0d3a5c;
  text-decoration: none;
  text-align: left;
}
.jm-comparer-departement svg { color: #187895; }
.jm-dep-libelle { display: grid; gap: 5px; }
.jm-dep-libelle strong { font-size: 20px; font-weight: 750; line-height: 1.15; }
.jm-dep-libelle > span { font-size: 15px; line-height: 1.3; color: #38586a; }
.jm-dep-fleche { font-size: 22px; color: #187895; }
a.jm-comparer-departement:hover { background: #deeff4; border-color: #69a6b8; }
a.jm-comparer-departement:focus-visible { outline: 3px solid #187895; outline-offset: 3px; }


#jm-hero-commune {padding:clamp(16px,3vw,36px) 0 0;background:#fff}
#jm-hero-commune .jm-photo {
  overflow:hidden;border-radius:18px;background-color:#12394e;
  background-image:linear-gradient(90deg,rgba(8,38,57,.96) 0%,rgba(8,38,57,.88) 38%,rgba(8,38,57,.32) 70%,rgba(8,38,57,.04) 100%),
    url("/assets/v2/images/partner-cover-perche.jpg");
  background-position:center,center;background-size:cover;
}
#jm-hero-commune .jm-texte {box-sizing:border-box;padding:clamp(26px,4vw,58px);max-width:680px}
#jm-hero-commune .jm-rubrique {margin:0 0 12px;color:#c5eaf2;font-size:13px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
#jm-hero-commune h1 {margin:0;color:#fff;font-size:clamp(32px,4vw,58px);line-height:1.07;letter-spacing:-.035em}
#jm-hero-commune h1 span {color:#dcf2f6;white-space:nowrap}
#jm-hero-commune .jm-intro {max-width:46ch;margin:16px 0 22px;color:#fff;line-height:1.55}
#jm-hero-commune .jm-actions {display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
#jm-hero-commune .jm-estimer {display:inline-block;padding:12px 17px;border-radius:8px;background:#a5d638;color:#15320a;font-weight:750;text-decoration:none}
#jm-hero-commune .jm-dvf {color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:4px}
#jm-hero-commune a:focus-visible {outline:3px solid white;outline-offset:3px}
@media(max-width:640px){
  #jm-hero-commune .jm-photo {
    background-image:linear-gradient(0deg,rgba(8,38,57,.96),rgba(8,38,57,.82) 62%,rgba(8,38,57,.33)),url("/assets/v2/images/partner-cover-perche.jpg");
    background-position:center,65% center;
  }
  #jm-hero-commune .jm-texte {padding:56px 22px 26px}
}
