/* Hero map (RaceFinder style) */
.dpl-hmap { position:relative; border-radius:12px; overflow:hidden; border:1px solid #3A3D44; background:#E8E8E6; min-height:300px; }
.dpl-hmap-canvas { position:absolute; inset:0; z-index:1; }
.dpl-hmap .leaflet-tile-pane { filter:grayscale(1) contrast(.9) brightness(1.05); }
.dpl-hmap-chips { position:absolute; top:10px; left:52px; right:10px; z-index:500; display:flex; flex-wrap:wrap; gap:6px; pointer-events:none; }
.dpl-hmap-chips button { pointer-events:auto; font-family:'Inter',sans-serif; font-size:12px; font-weight:600; line-height:1; padding:7px 11px; border-radius:9999px; border:1px solid #E5E2DA; background:#FFFFFF; color:#14161A; cursor:pointer; box-shadow:0 1px 3px rgba(0,0,0,.12); }
.dpl-hmap-chips button:hover { border-color:#14161A; }
.dpl-hmap-chips button.on { background:#14161A; border-color:#14161A; color:#FFFFFF; }
.dpl-hmap-full { position:absolute; right:10px; bottom:26px; z-index:500; background:#16181C; color:#FFFFFF !important; font-family:'Inter',sans-serif; font-size:13px; font-weight:600; padding:9px 13px; border-radius:8px; text-decoration:none !important; }
.dpl-hmap-full:hover { background:#000; }
.dpl-pin span { display:block; width:16px; height:16px; border-radius:50%; background:#C43520; border:2px solid #FFFFFF; box-shadow:0 1px 3px rgba(0,0,0,.35); }
.dpl-cluster span { display:flex; align-items:center; justify-content:center; width:100%; height:100%; border-radius:50%; background:#C43520; color:#FFFFFF; font-family:'Inter',sans-serif; font-size:13px; font-weight:700; border:2px solid #FFFFFF; box-shadow:0 1px 4px rgba(0,0,0,.35); }
.dpl-hmap .leaflet-popup-content { font-family:'Inter',sans-serif; font-size:13px; line-height:1.4; margin:10px 12px; }
.dpl-hmap .leaflet-popup-content strong { font-size:14px; }
.dpl-hmap .leaflet-popup-content a { color:#B32F1C; font-weight:600; }
.dpl-hmap .leaflet-control-attribution { font-size:10px; }
/* Override the old Directorist map wrapper styles if dp-map is still used around it */
.dp-map .dpl-hmap { border:0; border-radius:0; }

/* Simple hero search (RaceFinder style) */
.dpl-search { display:flex; gap:8px; max-width:520px; margin:20px 0 0; }
.dpl-search input[type=text] { flex:1 1 auto; min-width:0; height:50px; border:0; border-radius:8px; padding:0 16px; font-family:'Inter',sans-serif; font-size:15px; color:#14161A; background:#FFFFFF; }
.dpl-search input[type=text]::placeholder { color:#8A8C92; }
.dpl-search button { flex:0 0 auto; height:50px; padding:0 20px; border:0; border-radius:8px; background:#C43520; color:#FFFFFF; font-family:'Inter',sans-serif; font-size:15px; font-weight:600; cursor:pointer; }
.dpl-search button:hover { background:#A92D1A; }
@media (max-width:767px) { .dpl-hmap { height:260px !important; } .dpl-hmap-chips { left:48px; } .dpl-hmap-chips button { font-size:11px; padding:6px 9px; } .dpl-hmap-full { bottom:22px; font-size:12px; padding:8px 11px; } }

/* Near me */
.dpl-hmap-chips .dpl-near { background:#C43520; border-color:#C43520; color:#FFFFFF; }
.dpl-hmap-chips .dpl-near:hover { background:#A92D1A; border-color:#A92D1A; }
.dpl-hmap-msg { position:absolute; left:10px; right:10px; bottom:70px; z-index:600; margin:0; background:#FFFFFF; color:#14161A; font-family:'Inter',sans-serif; font-size:13px; padding:9px 12px; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,.2); }
.dpl-you span { display:block; width:16px; height:16px; border-radius:50%; background:#2B6CB0; border:3px solid #FFFFFF; box-shadow:0 0 0 6px rgba(43,108,176,.25); }

/* City cards */
.dpl-cities { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; margin-top:4px; }
.dpl-city { display:block; background:#FFFFFF; border:1px solid #E5E2DA; border-radius:12px; padding:16px 18px; text-decoration:none !important; color:#14161A !important; transition:border-color .15s; }
.dpl-city:hover { border-color:#14161A; }
.dpl-city strong { display:block; font-family:'Barlow Condensed','Arial Narrow',sans-serif; font-weight:800; font-size:24px; letter-spacing:-.4px; line-height:1.1; }
.dpl-city span { display:block; font-family:'Inter',sans-serif; font-size:13px; color:#5F6168; margin-top:4px; }

/* Repair-type cards */
.dpl-cats { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:14px; }
.dpl-cat { display:flex; flex-direction:column; background:#FFFFFF; border:1px solid #E5E2DA; border-radius:12px; padding:20px; text-decoration:none !important; color:#14161A !important; }
.dpl-cat:hover { border-color:#14161A; }
.dpl-cat strong { font-family:'Barlow Condensed','Arial Narrow',sans-serif; font-weight:800; font-size:26px; letter-spacing:-.4px; line-height:1.05; }
.dpl-cat-n { font-family:'Inter',sans-serif; font-size:13px; font-weight:600; color:#C43520; margin-top:4px; }
.dpl-cat-d { font-family:'Inter',sans-serif; font-size:14px; line-height:1.5; color:#5F6168; margin-top:8px; flex:1 1 auto; }
.dpl-cat em { font-style:normal; font-family:'Inter',sans-serif; font-size:14px; font-weight:600; color:#B32F1C; margin-top:12px; }

/* Spotlight cards */
.dpl-feat { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; }
.dpl-feat-card { display:flex; flex-direction:column; background:#FFFFFF; border:1px solid #E5E2DA; border-radius:12px; padding:20px; text-decoration:none !important; color:#14161A !important; }
.dpl-feat-card:hover { border-color:#14161A; }
.dpl-feat-top { display:flex; gap:12px; align-items:center; }
.dpl-feat-logo { flex:0 0 52px; height:52px; border-radius:10px; background:#16181C; color:#FAF9F6; display:flex; align-items:center; justify-content:center; font-family:'Barlow Condensed',sans-serif; font-weight:800; font-size:22px; overflow:hidden; }
.dpl-feat-logo img { width:100%; height:100%; object-fit:contain; background:#FFFFFF; padding:6px; }
.dpl-feat-top strong { display:block; font-family:'Inter',sans-serif; font-size:16px; font-weight:700; line-height:1.3; }
.dpl-feat-top small { display:block; font-family:'Inter',sans-serif; font-size:12px; color:#5F6168; margin-top:2px; }
.dpl-feat-card p { font-family:'Inter',sans-serif; font-size:14px; line-height:1.55; color:#5F6168; margin:12px 0 0; padding:0; flex:1 1 auto; }
.dpl-feat-card ul { list-style:none; margin:12px 0 0; padding:0 !important; display:flex; flex-wrap:wrap; gap:6px; }
.dpl-feat-card li { font-family:'Inter',sans-serif; font-size:12px; font-weight:600; color:#1F7A4D; background:#EEF6F1; border-radius:9999px; padding:4px 10px; }
.dpl-feat-card em { font-style:normal; font-family:'Inter',sans-serif; font-size:14px; font-weight:600; color:#B32F1C; margin-top:14px; }

/* Near me under the search box */
.dpl-near-link { display:inline-block; margin-top:10px; background:none; border:0; padding:0; font-family:'Inter',sans-serif; font-size:14px; font-weight:600; color:#FAF9F6; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.dpl-near-link:hover { color:#FFFFFF; }
.dpl-near-results { max-width:520px; margin-top:10px; background:#FFFFFF; border-radius:10px; padding:12px; color:#14161A; font-family:'Inter',sans-serif; box-shadow:0 6px 20px rgba(0,0,0,.25); }
.dpl-near-results ul { list-style:none; margin:0; padding:0 !important; }
.dpl-near-results li { padding:0 !important; border-top:1px solid #E5E2DA; }
.dpl-near-results li:first-child { border-top:0; }
.dpl-near-results li a { display:grid; grid-template-columns:1fr auto; gap:2px 12px; padding:9px 4px; color:#14161A !important; text-decoration:none !important; }
.dpl-near-results li a:hover strong { text-decoration:underline; }
.dpl-near-results strong { font-size:14px; }
.dpl-near-results span { grid-column:1; font-size:12px; color:#5F6168; }
.dpl-near-results em { grid-row:1 / span 2; grid-column:2; align-self:center; font-style:normal; font-size:13px; font-weight:700; color:#C43520; }
.dpl-near-head { margin:0 0 6px !important; padding:0 4px !important; font-size:12px !important; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:#5F6168 !important; }
.dpl-near-msg { margin:0 !important; padding:0 !important; font-size:14px; color:#14161A !important; }
.dpl-near-all { display:block; margin-top:8px; padding:0 4px; font-size:14px; font-weight:600; color:#B32F1C !important; }
/* On light backgrounds (e.g. All Listings page) */
.dp-sec .dpl-near-link, .dpl-light .dpl-near-link { color:#B32F1C; }

/* Mobile: city cards 2 per row */
@media (max-width:600px) { .dpl-cities { grid-template-columns:1fr 1fr; gap:10px; } .dpl-city { padding:14px; } .dpl-city strong { font-size:20px; } .dpl-city span { font-size:12px; } }

/* City chips that swap the cards ([dentpros_city_cards]) */
.dp3-chips a.is-on { background:#14161A !important; border-color:#14161A !important; color:#FFFFFF !important; }
.dpl-cc-all { margin:14px 0 0 !important; padding:0 !important; font-family:'Inter',sans-serif; font-size:14px; font-weight:600; }
.dpl-cc-all a { color:#B32F1C !important; }
.dpl-feat-card.is-featured { border-color:#E5674F; border-width:1.5px; }
.dpl-feat-tag { font-style:normal; display:inline-block; vertical-align:2px; margin-left:4px; background:#FBE3DD; color:#B32F1C; border-radius:999px; padding:2px 8px; font-size:11px; font-weight:700; }

/* Hail in the news ([dentpros_hail_news]) */
.dpl-hn ul { list-style:none; margin:0; padding:0 !important; display:flex; flex-direction:column; gap:10px; }
.dpl-hn li { padding:0 !important; }
.dpl-hn li a { display:flex; align-items:center; gap:14px; background:#FFFFFF; border:1px solid #E5E2DA; border-radius:14px; padding:14px 16px; text-decoration:none !important; color:#14161A !important; font-family:'Inter',sans-serif; }
.dpl-hn li a:hover { border-color:#14161A; }
.dpl-hn-ic { flex:0 0 40px; height:40px; border-radius:11px; background:#EAF1F8; color:#2B6CB0; display:flex; align-items:center; justify-content:center; }
.dpl-hn-ic svg { width:22px; height:22px; }
.dpl-hn-txt { flex:1 1 auto; min-width:0; }
.dpl-hn-txt strong { display:block; font-size:15px; line-height:1.35; }
.dpl-hn-txt small { display:block; font-size:12px; color:#5F6168; margin-top:3px; }
.dpl-hn li em { flex:none; font-style:normal; font-size:13px; font-weight:600; color:#B32F1C; }
.dpl-hn-note { margin:10px 0 0 !important; padding:0 !important; font-size:12px; color:#5F6168; }
@media (max-width:600px) { .dpl-hn li em { display:none; } .dpl-hn li a { padding:12px; } }

/* 0.9.4: province cards */
.dpl-prov-soon { background:#FAF9F6; border-style:dashed; }
