.erh, .erh * { box-sizing: border-box; }
body.home .site-header,
body.page-id-61 .site-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 90 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.home .ast-primary-header-bar,
body.home .main-header-bar,
body.home .ast-mobile-header-wrap .ast-primary-header-bar,
body.page-id-61 .ast-primary-header-bar,
body.page-id-61 .main-header-bar,
body.page-id-61 .ast-mobile-header-wrap .ast-primary-header-bar {
  background: rgba(7, 17, 31, .08) !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
}
body.home .main-header-menu > .menu-item > .menu-link,
body.home .main-header-menu > .menu-item > a,
body.home .ast-builder-menu .main-navigation > ul > li > a,
body.page-id-61 .main-header-menu > .menu-item > .menu-link,
body.page-id-61 .main-header-menu > .menu-item > a,
body.page-id-61 .ast-builder-menu .main-navigation > ul > li > a {
  color: rgba(255,255,255,.94) !important;
  -webkit-text-fill-color: rgba(255,255,255,.94) !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.22);
}
body.home .main-header-menu > .menu-item > .menu-link:hover,
body.home .main-header-menu > .menu-item > a:hover,
body.page-id-61 .main-header-menu > .menu-item > .menu-link:hover,
body.page-id-61 .main-header-menu > .menu-item > a:hover {
  color: #e2c878 !important;
  -webkit-text-fill-color: #e2c878 !important;
}
body.home .ast-mobile-header-wrap .menu-toggle,
body.home .ast-mobile-header-wrap .menu-toggle .mobile-menu-toggle-icon,
body.home .ast-mobile-header-wrap .ast-mobile-svg,
body.page-id-61 .ast-mobile-header-wrap .menu-toggle,
body.page-id-61 .ast-mobile-header-wrap .menu-toggle .mobile-menu-toggle-icon,
body.page-id-61 .ast-mobile-header-wrap .ast-mobile-svg {
  color: #fff !important;
  fill: #fff !important;
}
body.home.ast-plain-container.ast-no-sidebar #primary,
body.page-id-61.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.erh {
  --navy: #07111f;
  --navy-2: #0f1f35;
  --gold: #c9a34e;
  --gold-2: #e2c878;
  --paper: #f7f8fb;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --white: #ffffff;
  --blue: #315f8f;
  --green: #2f7d73;
  --clay: #9b6a4d;
  --plum: #74516f;
  --shadow: 0 18px 46px rgba(15, 23, 42, .10);
  --soft-shadow: 0 10px 28px rgba(15, 23, 42, .08);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  background: var(--white);
}
.erh a { color: inherit; text-decoration: none; }
.ast-single-post .entry-content .erh a,
.entry-content .erh a,
.ast-single-post .entry-content .erh a:hover,
.entry-content .erh a:hover,
.ast-single-post .entry-content .erh a:focus,
.entry-content .erh a:focus {
  color: inherit;
  text-decoration: none !important;
}
.ast-single-post .entry-content .erh a *,
.entry-content .erh a * {
  text-decoration: none !important;
}
.erh img { display: block; max-width: 100%; }
.erh svg { display: block; width: 18px; height: 18px; }
.erh-wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.erh-section { padding: 78px 0; }
.erh-section-soft { background: var(--paper); }
.erh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}
.erh-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
.erh-center { text-align: center; }
.erh-center .erh-kicker { justify-content: center; }
.erh-center .erh-kicker::after {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
.erh h2 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: 0;
}
.erh-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.erh-center .erh-lead { margin-left: auto; margin-right: auto; }
.erh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.erh-btn:hover { transform: translateY(-2px); }
.erh-btn-gold { background: var(--gold); color: var(--navy); }
.erh-btn-dark { background: var(--navy); color: #fff; }
.erh-btn-light { background: #fff; color: var(--navy); border-color: rgba(255,255,255,.28); }
.erh-btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.erh-btn-line:hover { background: rgba(255,255,255,.10); }

.erh-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.erh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,17,31,.97) 0%, rgba(7,17,31,.88) 48%, rgba(7,17,31,.50) 100%),
    url("https://expertsromands.ch/wp-content/uploads/2026/06/gestion-immobiliere.jpg") center/cover no-repeat;
}
.erh-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.18);
}
.erh-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
  align-items: center;
  min-height: 690px;
  padding: 72px 0 58px;
}
.erh-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.90);
  font-size: 13px;
  font-weight: 780;
}
.erh-badge-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}
.erh-hero h1 {
  max-width: 820px;
  margin: 22px 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: 0;
}
.erh-hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.80);
  font-size: 18px;
  line-height: 1.65;
}
.erh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.erh-search {
  display: grid;
  grid-template-columns: 1fr 190px 56px;
  width: min(780px, 100%);
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(0,0,0,.28);
}
.erh-search input,
.erh-search select,
.erh-search button {
  min-width: 0;
  height: 58px;
  border: 0;
  outline: 0;
  font: inherit;
  letter-spacing: 0;
}
.erh-search input {
  padding: 0 18px;
  color: var(--ink);
}
.erh-search select {
  padding: 0 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
.erh-search button {
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
}
.erh-proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.erh-proof-line a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 760;
}
.erh-proof-line a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
}
.erh-hero-panel {
  display: grid;
  gap: 14px;
}
.erh-platform-card {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0,0,0,.20);
}
.erh-platform-card b {
  display: block;
  color: var(--gold-2);
  font-size: 30px;
  line-height: 1;
}
.erh-platform-card span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.erh-compare {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: var(--navy);
}
.erh-compare strong { display: block; font-size: 17px; }
.erh-compare ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.erh-compare li {
  display: flex;
  gap: 8px;
  color: #405066;
  font-size: 14px;
}
.erh-compare li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
}

.erh-value-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -34px;
}
.erh-value {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 142px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 16%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 5%, #fff), #fff 52%);
  box-shadow: 0 14px 38px rgba(15,23,42,.08);
  color: var(--navy);
  isolation: isolate;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
  --card-accent: var(--gold);
}
.erh-value::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--card-accent);
}
.erh-value:nth-child(1) { --card-accent: var(--green); }
.erh-value:nth-child(2) { --card-accent: var(--blue); }
.erh-value:nth-child(3) { --card-accent: var(--clay); }
.erh-value:nth-child(4) { --card-accent: var(--plum); }
.erh-value:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 8%, #fff), #fff 62%);
}
.erh-value:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card-accent) 52%, var(--line));
  box-shadow: 0 22px 52px color-mix(in srgb, var(--card-accent) 20%, transparent);
}
.erh-value i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--card-accent) 15%, #fff);
  color: var(--card-accent);
  font-style: normal;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent) 24%, transparent);
}
.erh-value b { display: block; color: var(--navy); font-size: 17px; line-height: 1.2; }
.erh-value span { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.erh-value::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--card-accent);
  font-size: 19px;
  font-weight: 900;
  transition: transform .18s ease;
}
.erh-value:hover::after { transform: translateX(3px); }

.erh-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.erh-cat {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.erh-cat:nth-child(n+4) { grid-column: span 3; }
.erh-cat:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, #fff), #fff 44%);
  box-shadow: 0 24px 56px color-mix(in srgb, var(--accent) 18%, transparent);
}
.erh-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #e8edf5, #f8fafc);
}
.erh-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}
.erh-cat:hover .erh-img img { transform: scale(1.035); }
.erh-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(7,17,31,.62));
  pointer-events: none;
}
.erh-cat-icon {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  pointer-events: none;
}
.erh-cat-icon svg { pointer-events: none; }
.erh-cat-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.erh-cat h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: 0;
}
.erh-cat p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.erh .erh-card-link,
.entry-content .erh .erh-card-link,
.ast-single-post .entry-content .erh .erh-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  min-height: 42px;
  padding: 11px 15px;
  border-radius: 12px;
  border: 1px solid rgba(184,155,94,.48) !important;
  background: linear-gradient(135deg, #f1d88f, #c9a34e) !important;
  color: #172434 !important;
  -webkit-text-fill-color: #172434 !important;
  text-decoration: none !important;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
  box-shadow: 0 12px 24px rgba(184,155,94,.18);
}
.erh .erh-card-link:hover,
.erh .erh-card-link:focus-visible {
  background: linear-gradient(135deg, #172434, #244f75) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.erh-cantons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.erh-canton {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--soft-shadow);
}
.erh-canton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,31,.18), rgba(7,17,31,.82)), var(--canton-img) center/cover no-repeat;
  transition: transform .22s ease;
}
.erh-canton:hover::before { transform: scale(1.04); }
.erh-canton-content {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
}
.erh-canton-content h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: #fff;
  letter-spacing: 0;
}
.erh-canton-content p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; }

.erh-why-grid,
.erh-steps,
.erh-guides {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.erh-why,
.erh-step,
.erh-guide,
.erh-listing-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfcfe);
  box-shadow: 0 12px 34px rgba(15,23,42,.07);
  color: inherit;
  overflow: hidden;
  --card-accent: var(--gold);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.erh-why::before,
.erh-step::before,
.erh-guide::before,
.erh-listing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--card-accent);
  opacity: .92;
  z-index: 3;
}
.erh-why:hover,
.erh-step:hover,
.erh-guide:hover,
.erh-listing-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card-accent) 48%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 6%, #fff), #fff 40%);
  box-shadow: 0 24px 56px color-mix(in srgb, var(--card-accent) 18%, transparent);
}
.erh-why:nth-child(1), .erh-step:nth-child(1), .erh-guide:nth-child(1) { --card-accent: var(--green); }
.erh-why:nth-child(2), .erh-step:nth-child(2), .erh-guide:nth-child(2) { --card-accent: var(--blue); }
.erh-why:nth-child(3), .erh-step:nth-child(3), .erh-guide:nth-child(3) { --card-accent: var(--clay); }
.erh-why:nth-child(4), .erh-guide:nth-child(4) { --card-accent: var(--plum); }
.erh-listing-card--activity-immobilier { --card-accent: #176457; }
.erh-listing-card--activity-architectes { --card-accent: #9a4b1d; }
.erh-listing-card--activity-fiduciaires { --card-accent: #274f91; }
.erh-listing-card--activity-renovation { --card-accent: #6b3f91; }
.erh-listing-card--activity-menuiserie { --card-accent: #8a5a24; }
.erh-listing-card--activity-plomberie { --card-accent: #087282; }
.erh-listing-card--activity-electricite { --card-accent: #b7791f; }
.erh-listing-card--activity-carrelage { --card-accent: #4f6f86; }
.erh-listing-card--activity-cuisine { --card-accent: #7a4a68; }
.erh-listing-card--activity-salle-de-bain { --card-accent: #2f7f9f; }
.erh-listing-card--activity-notaires { --card-accent: #9b2435; }
.erh-value:focus-visible,
.erh-cat:focus-visible,
.erh-canton:focus-visible,
.erh-why:focus-visible,
.erh-step:focus-visible,
.erh-guide:focus-visible,
.erh-listing-card:focus-visible,
.erh-diff:focus-visible {
  outline: 3px solid rgba(201,163,78,.38);
  outline-offset: 3px;
}
.erh-why {
  display: block;
  padding: 28px;
  min-height: 228px;
}
.erh-why i,
.erh-step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(145deg, #07111f, #13263b);
  color: var(--gold-2);
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(7,17,31,.16);
}
.erh-why h3,
.erh-step h3,
.erh-guide h3,
.erh-listing-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: 0;
}
.erh-why p,
.erh-step p,
.erh-guide p,
.erh-listing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.erh-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.erh-slider-shell {
  position: relative;
  margin-top: 34px;
}
.erh-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}
.erh-slider-nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.erh-slider-nav:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: #fffaf0;
}
.erh-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 2px 2px 18px;
}
.erh-slider::-webkit-scrollbar { height: 8px; }
.erh-slider::-webkit-scrollbar-track { background: #e8edf3; border-radius: 999px; }
.erh-slider::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #315f86, #d7b762); border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.42); }
.erh-slider .erh-listing-card {
  min-width: 0;
  scroll-snap-align: start;
}
.erh-slider-note {
  display: flex;
  align-items: center;
  min-height: 220px;
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}
.erh-listing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  cursor: pointer;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15,23,42,.08);
}
.erh-listing-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e6ebf3, #f7f8fb);
  overflow: hidden;
}
.erh-listing-media > img:not(.erh-listing-logo) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}
.erh-listing-card:hover .erh-listing-media > img:not(.erh-listing-logo) { transform: scale(1.035); }
.erh-listing-media:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7,17,31,0), rgba(7,17,31,.78) 52%, rgba(7,17,31,.94));
}
.erh-listing-logo,
img.erh-listing-logo {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 28px rgba(15,23,42,.18);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.erh-listing-logo img,
img.erh-listing-logo {
  width: 100%;
  height: 100%;
  padding: 7px;
  object-fit: contain;
  background: #fff;
  box-shadow: none;
  transform: none !important;
}
.erh-listing-logo-text {
  background: linear-gradient(135deg, #172434 0%, var(--card-accent, #315f86) 58%, #b89b5e 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.erh-listing-logo-text::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  pointer-events: none;
}
.erh-listing-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(7,17,31,.84);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}
.erh-listing-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 7px;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.34);
}
.erh-listing-overlay strong {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.14;
}
.erh-listing-overlay span {
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}
.erh-listing-activity {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--erh-activity, var(--navy));
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  text-shadow: none;
}
.erh-listing-media--activity-immobilier { --erh-activity: #176457; }
.erh-listing-media--activity-architectes { --erh-activity: #9a4b1d; }
.erh-listing-media--activity-fiduciaires { --erh-activity: #274f91; }
.erh-listing-media--activity-renovation { --erh-activity: #6b3f91; }
.erh-listing-media--activity-menuiserie { --erh-activity: #8a5a24; }
.erh-listing-media--activity-plomberie { --erh-activity: #087282; }
.erh-listing-media--activity-electricite { --erh-activity: #b7791f; }
.erh-listing-media--activity-carrelage { --erh-activity: #4f6f86; }
.erh-listing-media--activity-peinture { --erh-activity: #a83f67; }
.erh-listing-media--activity-toiture { --erh-activity: #70432a; }
.erh-listing-media--activity-isolation { --erh-activity: #5f7d36; }
.erh-listing-media--activity-cuisine { --erh-activity: #7a4a68; }
.erh-listing-media--activity-salle-de-bain { --erh-activity: #2f7f9f; }
.erh-listing-media--activity-assurances { --erh-activity: #835c12; }
.erh-listing-media--activity-notaires { --erh-activity: #9b2435; }
.erh-listing-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), #fff 58%),
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--card-accent) 10%, transparent), transparent 34%);
}
.erh-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.erh-listing-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--paper);
  color: #445167;
  font-size: 12px;
  font-weight: 820;
}
.erh-listing-meta .erh-badge-city-geneve { background: #e8f1ff; color: #17456d; }
.erh-listing-meta .erh-badge-city-vaud,
.erh-listing-meta .erh-badge-city-lausanne { background: #e9f7ef; color: #216143; }
.erh-listing-meta .erh-badge-city-fribourg { background: #fff0e8; color: #8a4420; }
.erh-listing-meta .erh-badge-city-valais { background: #f4ecff; color: #68409a; }
.erh-listing-meta .erh-badge-city-jura { background: #edf7f5; color: #245e58; }
.erh-listing-meta .erh-badge-city-neuchatel { background: #edf2ff; color: #394d92; }
.erh-listing-meta .erh-badge-city-suisse-romande,
.erh-listing-meta .erh-badge-city-romandie { background: #f2f4f7; color: #475467; }
.erh-listing-meta .erh-badge-cat-immobilier,
.erh-listing-meta .erh-badge-cat-agences-immobilieres,
.erh-listing-meta .erh-badge-cat-courtiers-immobiliers { background: #e6f8f3; color: #176457; }
.erh-listing-meta .erh-badge-cat-architectes,
.erh-listing-meta .erh-badge-cat-architecture { background: #fff3e7; color: #8a4b1d; }
.erh-listing-meta .erh-badge-cat-fiduciaires,
.erh-listing-meta .erh-badge-cat-comptabilite { background: #e9f0ff; color: #274f91; }
.erh-listing-meta .erh-badge-cat-renovation,
.erh-listing-meta .erh-badge-cat-entreprises-renovation { background: #f5ecff; color: #6b3f91; }
.erh-listing-meta .erh-badge-cat-notaires { background: #fff0f2; color: #8f2032; }
.erh-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 850;
}
.erh-listing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 20px;
}
.erh-listing-actions--single {
  grid-template-columns: 1fr;
}
.erh-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 2px solid var(--erh-contact, var(--navy));
  border-radius: 12px;
  background: #fff;
  color: var(--erh-contact, var(--navy));
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15,23,42,.05);
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.erh-contact-button:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--erh-contact, var(--navy)) 7%, #fff);
  color: var(--erh-contact, var(--navy));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--erh-contact, var(--navy)) 15%, transparent);
}
.erh-contact-button.is-call { --erh-contact: #9a3b42; }
.erh-contact-button.is-mail { --erh-contact: #0f5868; }
.erh-listing-body > p { flex: 1; }
.erh-listing-card .erh-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  border: 1px solid rgba(7,17,31,.12);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #e6c874);
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
  text-decoration: none;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 13px 28px rgba(201,163,78,.22);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.erh-listing-card .erh-listing-actions + .erh-card-link {
  margin-top: 2px;
}
.erh .erh-listing-card .erh-listing-actions,
.entry-content .erh .erh-listing-card .erh-listing-actions {
  margin-bottom: 22px !important;
}
.erh .erh-listing-card .erh-listing-actions + .erh-card-link,
.entry-content .erh .erh-listing-card .erh-listing-actions + .erh-card-link,
.ast-single-post .entry-content .erh .erh-listing-card .erh-listing-actions + .erh-card-link {
  margin-top: 0 !important;
}
.erh-listing-card .erh-card-link:hover {
  transform: translateY(-1px);
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 16px 32px rgba(7,17,31,.20);
}

.erh-listing-card .erh-card-link::after,
.erh-card-link::after {
  content: "→";
  margin-left: 7px;
  font-weight: 950;
  transition: transform .18s ease;
}
.erh-listing-card .erh-card-link:hover::after,
.erh-card-link:hover::after {
  transform: translateX(3px);
}

.erh-difference {
  color: #fff;
  background:
    linear-gradient(135deg, #07111f 0%, #101e2d 58%, #07111f 100%);
}
.erh-difference .erh-kicker,
.erh-difference h2,
.erh-difference .erh-lead { color: #fff; }
.erh-difference .erh-kicker { color: var(--gold-2); }
.erh-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}
.erh-diff {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 54px rgba(0,0,0,.16);
  color: #fff;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.erh-diff:hover {
  transform: translateY(-4px);
  border-color: rgba(226,200,120,.45);
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 28px 70px rgba(0,0,0,.22);
}
.erh-diff strong {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 22px;
  line-height: 1.18;
}
.erh-diff ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.erh-diff li {
  display: flex;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.45;
}
.erh-diff li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--gold-2);
}

.erh-steps { grid-template-columns: repeat(3, 1fr); }
.erh-step { padding: 22px; }
.erh-step-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}
.erh-guide {
  overflow: hidden;
}
.erh-guide .erh-img { aspect-ratio: 16 / 9; }
.erh-guide-body {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 18px;
}

.erh-pro-cta {
  padding: 74px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,17,31,.98), rgba(15,31,53,.93)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=82") center/cover no-repeat;
}
.erh-pro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.erh-pro-panel h2 {
  color: #fff;
  margin-top: 0;
}
.erh-pro-panel p {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}
.erh-pro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.erh-pro-digital {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(240,210,138,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.erh-pro-digital strong {
  display: block;
  color: #f0d28a;
  font-size: 18px;
}
.erh-pro-digital span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
}
.erh-pro-offer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.erh-pro-offer-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 800;
}
.erh-pro-offer-points li::before {
  content: "✓";
  color: #f0d28a;
  font-weight: 950;
}

.erh-faq {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 34px auto 0;
}
.erh-faq details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.erh-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
}
.erh-faq summary::-webkit-details-marker { display: none; }
.erh-faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
}
.erh-faq details[open] summary::after { content: "×"; }
.erh-faq div {
  padding: 0 20px 20px;
  color: var(--muted);
}

@media (max-width: 921px) {
  body .ast-mobile-header-wrap .ast-button-wrap .menu-toggle.main-header-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    background: #07111f;
    color: #fff;
    box-shadow: 0 10px 24px rgba(15,23,42,.14);
  }
  body .ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
    background: #07111f;
    box-shadow: -18px 0 42px rgba(0,0,0,.28);
  }
  body .ast-mobile-popup-content {
    padding: 18px;
  }
  body .ast-mobile-popup-content .main-header-menu,
  body .ast-mobile-popup-content .main-navigation {
    background: transparent;
  }
  body .ast-mobile-popup-content .main-header-menu .menu-link,
  body .ast-mobile-popup-content .main-header-menu a {
    min-height: 50px;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    border-radius: 8px;
    color: #fff !important;
    font-weight: 850;
    line-height: 1.25;
  }
  body .ast-mobile-popup-content .main-header-menu .menu-link:hover,
  body .ast-mobile-popup-content .main-header-menu a:hover {
    background: rgba(255,255,255,.08);
    color: #e2c878 !important;
  }
  body .ast-mobile-popup-drawer .ast-mobile-popup-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }
  body .ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {
    display: grid;
    place-items: center;
    min-width: 42px;
    min-height: 42px;
    border-radius: 8px;
    color: #fff;
  }
}

@media (max-width: 1100px) {
  .erh-hero-inner { grid-template-columns: 1fr; }
  .erh-hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }
  .erh-compare { grid-column: 1 / -1; }
  .erh-cat-grid,
  .erh-cantons,
  .erh-why-grid,
  .erh-guides { grid-template-columns: repeat(2, 1fr); }
  .erh-cat,
  .erh-cat:nth-child(n+4) { grid-column: auto; }
  .erh-value-strip { grid-template-columns: repeat(2, 1fr); }
  .erh-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .erh-slider { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 760px) {
  .erh-wrap { width: min(100% - 28px, 1240px); }
  .erh-section { padding: 56px 0; }
  .erh h2 { font-size: 31px; }
  .erh-lead { font-size: 16px; }
  .erh-hero,
  .erh-hero-inner { min-height: auto; }
  .erh-hero-inner { padding: 38px 0 34px; gap: 24px; }
  .erh-hero h1 { margin-top: 16px; font-size: 34px; line-height: 1.06; }
  .erh-hero-copy { margin-top: 16px; font-size: 16px; line-height: 1.52; }
  .erh-search { margin-top: 20px; }
  .erh-proof-line { margin-top: 14px; gap: 7px; }
  .erh-proof-line a { padding: 6px 9px; font-size: 12px; }
  .erh-hero-actions,
  .erh-pro-panel { align-items: stretch; }
  .erh-pro-digital { grid-template-columns: 1fr; }
  .erh-pro-actions { justify-content: flex-start; }
  .erh-hero-actions,
  .erh-pro-panel,
  .erh-diff-grid { grid-template-columns: 1fr; }
  .erh-hero-actions { flex-direction: column; }
  .erh-btn { width: 100%; }
  .erh-search { grid-template-columns: 1fr 54px; }
  .erh-search select { display: none; }
  .erh-hero-panel,
  .erh-cat-grid,
  .erh-cantons,
  .erh-why-grid,
  .erh-listing-grid,
  .erh-steps,
  .erh-guides { grid-template-columns: 1fr; }
  .erh-cat-grid,
  .erh-cantons,
  .erh-why-grid,
  .erh-steps,
  .erh-guides {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #315f86 #e8edf3;
    padding-bottom: 18px;
  }
  .erh-cat-grid::-webkit-scrollbar,
  .erh-cantons::-webkit-scrollbar,
  .erh-why-grid::-webkit-scrollbar,
  .erh-steps::-webkit-scrollbar,
  .erh-guides::-webkit-scrollbar { height: 8px; display: block; }
  .erh-cat-grid::-webkit-scrollbar-track,
  .erh-cantons::-webkit-scrollbar-track,
  .erh-why-grid::-webkit-scrollbar-track,
  .erh-steps::-webkit-scrollbar-track,
  .erh-guides::-webkit-scrollbar-track { background: #e8edf3; border-radius: 999px; }
  .erh-cat-grid::-webkit-scrollbar-thumb,
  .erh-cantons::-webkit-scrollbar-thumb,
  .erh-why-grid::-webkit-scrollbar-thumb,
  .erh-steps::-webkit-scrollbar-thumb,
  .erh-guides::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #315f86, #d7b762); border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.42); }
  .erh-cat,
  .erh-canton,
  .erh-why,
  .erh-step,
  .erh-guide {
    flex: 0 0 min(84vw, 340px);
    scroll-snap-align: start;
  }
  .erh-value-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #315f86 #e8edf3;
    gap: 10px;
    margin-top: -18px;
    padding-bottom: 16px;
  }
  .erh-value-strip::-webkit-scrollbar { height: 8px; display: block; }
  .erh-value-strip::-webkit-scrollbar-track { background: #e8edf3; border-radius: 999px; }
  .erh-value-strip::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #315f86, #d7b762); border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.42); }
  .erh-value { flex: 0 0 min(76vw, 280px); scroll-snap-align: start; }
  .erh-value { min-height: 132px; padding: 16px; }
  .erh-value i { width: 36px; height: 36px; margin-bottom: 10px; }
  .erh-value b { padding-right: 16px; font-size: 15px; }
  .erh-value span { font-size: 12px; line-height: 1.35; }
  .erh-value::after { right: 12px; top: 12px; font-size: 16px; }
  .erh-slider-shell { margin-top: 24px; }
  .erh-slider-controls { justify-content: flex-end; gap: 7px; margin-bottom: 10px; }
  .erh-slider-nav { width: 38px; height: 38px; font-size: 20px; border-radius: 8px; }
  .erh-slider {
    grid-auto-columns: 100%;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 14px;
    scroll-padding-left: 0;
  }
  .erh-slider .erh-listing-media { aspect-ratio: 4 / 3; }
  .erh-slider .erh-listing-logo { width: 62px; height: 62px; }
  .erh-listing-body { padding: 16px 16px 18px; }
  .erh-listing-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 18px;
  }
  .erh-contact-button {
    min-height: 42px;
    border-radius: 11px;
    font-size: 13px;
  }
  .erh-listing-card .erh-card-link {
    min-height: 46px;
    border-radius: 11px;
  }
  .erh-hero-panel { gap: 10px; }
  .erh-platform-card { padding: 15px; }
  .erh-platform-card b { font-size: 22px; }
  .erh-platform-card span { font-size: 13px; }
  .erh-why,
  .erh-diff {
    min-height: auto;
    padding: 22px;
  }
  .erh-value b,
  .erh-why h3,
  .erh-diff strong { font-size: 20px; }
  .erh-value span,
  .erh-why p,
  .erh-diff li { font-size: 15px; }
  .erh-diff-grid { gap: 14px; }
  .erh-canton { min-height: 180px; }
  .erh-pro-panel { display: grid; }
}
@media (max-width: 420px) {
  .erh-slider { grid-auto-columns: 100%; }
}
