.ehrle-partners {
  --ehrle-red: #e30615;
  --ehrle-red-dark: #b8000d;
  --ehrle-ink: #1a1c1e;
  --ehrle-body: #43474b;
  --ehrle-muted: #7c8288;
  --ehrle-line: #e4e6e8;
  --ehrle-wash: #f7f7f8;
  --ehrle-radius: 6px;
  box-sizing: border-box;
  color: var(--ehrle-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.ehrle-partners *, .ehrle-partners *::before, .ehrle-partners *::after { box-sizing: border-box; }
.ehrle-partners .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ehrle-partners h2, .ehrle-partners h3, .ehrle-partners p { margin-top: 0; }
.ehrle-partners h2 { margin-bottom: 8px; color: var(--ehrle-ink); font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.12; text-transform: uppercase; }
.ehrle-partners a { text-decoration: none; }
.ehrle-partners button, .ehrle-partners select { font: inherit; }

.ehrle-finder {
  display: block;
  width: 100%;
}

.ehrle-select-wrap { position: relative; display: block; }
.ehrle-select-wrap::after { position: absolute; top: 50%; right: 18px; content: "⌄"; color: var(--ehrle-ink); font-size: 22px; transform: translateY(-60%); pointer-events: none; }
.ehrle-county-select { width: 100%; height: 54px; padding: 0 48px 0 18px; color: var(--ehrle-ink); border: 0; border-radius: 4px; background: #fff; appearance: none; font-weight: 700; cursor: pointer; }
.ehrle-county-select:focus-visible { outline: 3px solid rgba(255,255,255,.65); outline-offset: 3px; }
.ehrle-result { font-size: 16px; }
.ehrle-result--standalone { padding: 16px 18px; border-left: 4px solid var(--ehrle-red); background: var(--ehrle-wash); }
.ehrle-result[hidden] { display: none; }
.ehrle-result.is-active { font-weight: 650; }

.ehrle-map-section, .ehrle-cards-section { width: min(1180px, calc(100% - 40px)); margin-right: auto; margin-left: auto; padding: clamp(42px, 6vw, 72px) 0; }
.ehrle-section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.ehrle-section-head > div { max-width: 760px; }
.ehrle-section-head p { margin-bottom: 0; }
.ehrle-kicker { display: inline-block; margin-bottom: 12px; padding: 4px 12px; color: var(--ehrle-red); border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }

.ehrle-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ehrle-tab, .ehrle-reset { padding: 10px 17px; color: var(--ehrle-body); border: 1px solid var(--ehrle-line); border-radius: var(--ehrle-radius); background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.ehrle-tab[aria-selected="true"] { color: #fff; border-color: var(--ehrle-red); background: var(--ehrle-red); }
.ehrle-tab:focus-visible, .ehrle-reset:focus-visible { outline: 2px solid var(--ehrle-red); outline-offset: 2px; }
.ehrle-map-panel { overflow: hidden; border: 1px solid var(--ehrle-line); border-radius: var(--ehrle-radius); background: #fff; }
.ehrle-map-panel[hidden] { display: none; }
.ehrle-location-map { position: relative; min-height: 500px; overflow: hidden; background: repeating-linear-gradient(0deg, transparent 0 62px, #e3e7ea 62px 63px), repeating-linear-gradient(90deg, transparent 0 62px, #e3e7ea 62px 63px), linear-gradient(155deg, #eef1f3, #e2e9e5); }
.ehrle-map-road { position: absolute; height: 9px; border: 1px solid #d8dcdf; border-radius: 99px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ehrle-map-road--one { top: 32%; left: 8%; width: 67%; transform: rotate(8deg); }
.ehrle-map-road--two { top: 11%; left: 31%; width: 9px; height: 70%; transform: rotate(-5deg); }
.ehrle-map-road--three { top: 63%; left: 50%; width: 42%; transform: rotate(-4deg); }
.ehrle-map-pin { position: absolute; z-index: 2; padding: 0; border: 0; background: transparent; transform: translate(-50%, -100%); cursor: pointer; }
.ehrle-map-pin > span { display: block; width: 30px; height: 30px; margin: 0 auto; border: 3px solid #fff; border-radius: 50% 50% 50% 0; background: var(--partner-color); box-shadow: 0 3px 8px rgba(0,0,0,.28); transform: rotate(-45deg); transition: scale .15s; }
.ehrle-map-pin b { display: inline-block; margin-top: 7px; padding: 3px 8px; color: var(--ehrle-ink); border-radius: 4px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.16); font-size: 12px; white-space: nowrap; }
.ehrle-map-pin:hover > span, .ehrle-map-pin:focus-visible > span { scale: 1.17; }
.ehrle-map-pin:focus-visible { outline: 2px solid var(--ehrle-red); outline-offset: 4px; }
.ehrle-map-note { position: absolute; right: 18px; bottom: 18px; left: 18px; max-width: 620px; margin: auto; padding: 12px 16px; color: var(--ehrle-body); border: 1px dashed #b9bec3; border-radius: var(--ehrle-radius); background: rgba(255,255,255,.95); text-align: center; font-size: 13px; }
.ehrle-map-note strong { color: var(--ehrle-ink); }

.ehrle-coverage { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; padding: 30px; }
.ehrle-tilemap { display: grid; grid-template-columns: repeat(10, minmax(28px, 1fr)); gap: 6px; align-self: start; }
.ehrle-tile { display: grid; place-items: center; aspect-ratio: 1; padding: 0; color: #fff; border: 0; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font-size: clamp(9px, 1.2vw, 13px); font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.45); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.ehrle-tile:hover, .ehrle-tile:focus-visible { z-index: 2; outline: none; box-shadow: 0 5px 14px rgba(0,0,0,.25); transform: scale(1.13); }
.ehrle-legend h3 { margin-bottom: 12px; color: var(--ehrle-muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ehrle-legend ul { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ehrle-legend button { display: flex; gap: 10px; align-items: center; padding: 2px 0; color: var(--ehrle-body); border: 0; background: transparent; text-align: left; font-size: 14px; font-weight: 650; cursor: pointer; }
.ehrle-legend button span { width: 15px; height: 15px; flex: 0 0 auto; border-radius: 4px; background: var(--partner-color); }

.ehrle-cards-section { padding-right: 0; padding-left: 0; }
.ehrle-cards-toolbar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.ehrle-cards-toolbar:has(.ehrle-reset[hidden]) { display: none; }
.ehrle-reset { flex: 0 0 auto; }
.ehrle-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.ehrle-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--ehrle-line); border-radius: var(--ehrle-radius); background: #fff; scroll-margin-top: 100px; transition: transform .15s, box-shadow .15s; }
.ehrle-card[hidden] { display: none; }
.ehrle-card:hover { box-shadow: 0 10px 26px rgba(26,28,30,.1); transform: translateY(-2px); }
.ehrle-card.is-highlighted { box-shadow: 0 0 0 3px var(--ehrle-red), 0 10px 26px rgba(227,6,21,.18); }
.ehrle-card__top { display: flex; gap: 14px; align-items: center; padding: 20px 22px 0; }
.ehrle-card__logo { display: flex; width: 56px; height: 56px; flex: 0 0 auto; align-items: center; justify-content: center; overflow: hidden; color: #fff; border-radius: var(--ehrle-radius); background: var(--partner-color); font-size: 18px; font-weight: 800; }
.ehrle-card__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ehrle-card h3 { margin-bottom: 2px; color: var(--ehrle-ink); font-size: 19px; font-weight: 800; line-height: 1.25; }
.ehrle-card__city { color: var(--ehrle-muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ehrle-card__zone { padding: 16px 22px 0; }
.ehrle-card__zone-label { color: var(--ehrle-muted); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.ehrle-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.ehrle-chips span { padding: 3px 10px; color: var(--ehrle-body); border: 1px solid var(--ehrle-line); border-radius: 999px; background: var(--ehrle-wash); font-size: 12px; font-weight: 650; }
.ehrle-card__contact { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 18px 22px; }
.ehrle-card__contact a { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; color: var(--ehrle-body); font-size: 14px; }
.ehrle-card__contact a:hover { color: var(--ehrle-red); }
.ehrle-card__contact a span { width: 17px; flex: 0 0 auto; color: var(--ehrle-red); font-size: 17px; line-height: 1.35; text-align: center; }
.ehrle-card__actions { display: flex; gap: 10px; padding: 0 22px 22px; }
.ehrle-btn { display: inline-flex; min-height: 44px; flex: 1; align-items: center; justify-content: center; padding: 10px 15px; border: 1px solid transparent; border-radius: var(--ehrle-radius); font-size: 14px; font-weight: 750; }
.ehrle-btn--ghost { color: var(--ehrle-ink); border-color: var(--ehrle-line); background: #fff; }
.ehrle-partners a.ehrle-btn--red,
.ehrle-partners a.ehrle-btn--red:visited,
.ehrle-partners a.ehrle-btn--red:hover,
.ehrle-partners a.ehrle-btn--red:focus {
  color: #fff !important;
}
.ehrle-btn--red { background: var(--ehrle-red); }
.ehrle-btn--red:hover { background: var(--ehrle-red-dark); }
.ehrle-cards-empty { padding: 20px; border: 1px solid var(--ehrle-line); background: var(--ehrle-wash); }

@media (max-width: 820px) {
  .ehrle-coverage { grid-template-columns: 1fr; padding: 20px; }
  .ehrle-location-map { min-height: 430px; }
}

@media (max-width: 540px) {
  .ehrle-section-head { align-items: flex-start; flex-direction: column; }
  .ehrle-tilemap { gap: 3px; }
  .ehrle-tile { border-radius: 3px; font-size: 9px; }
  .ehrle-card__actions { flex-direction: column; }
  .ehrle-map-pin b { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ehrle-partners *, .ehrle-partners *::before, .ehrle-partners *::after { scroll-behavior: auto !important; transition: none !important; }
}
