/* One responsive scale for comparable section H2s, based on Collision's
   [data-ebt-main-context] display headings: 3.3vw desktop, 41px tablet, 7vw phone. */
:root { --dm-section-title-size: 3.3vw; --dm-section-title-tracking: 1px; }
html .ebt-imported-page :is(.dm-section, #by-concern, #dingmans-command-map-v2, #request-service) h2.dm-september26-title {
  font-size: var(--dm-section-title-size) !important;
  line-height: 1.05 !important;
  letter-spacing: var(--dm-section-title-tracking) !important;
}

/* Allow the Location heading to use the section width instead of the old
   850px paragraph measure. Responsive breaks keep its phrases together. */
html .ebt-imported-page #dingmans-command-map-v2.dm-september26-map .dcm-intro,
html .ebt-imported-page #dingmans-command-map-v2.dm-september26-map .dcm-intro > h2 {
  width: 100%;
  max-width: none;
}
.dm-location-break-small { display: none; }

/* Contact details follow the copy; no elastic gap to the form's bottom. */
html .ebt-imported-page #request-service.dm-september26-contact .dm-request-copy { justify-content: flex-start; }
html .ebt-imported-page #request-service.dm-september26-contact .dm-request-phone {
  margin: 24px 0 0;
  font: 600 17px/1.5 'Urbanist', sans-serif;
  color: var(--dm-palette-accent, #3da5ff);
}
html .ebt-imported-page #request-service.dm-september26-contact .dm-request-phone a {
  font: inherit;
  color: var(--dm-palette-accent, #3da5ff) !important;
}
html .ebt-imported-page #request-service.dm-september26-contact .dm-request-phone a:hover,
html .ebt-imported-page #request-service.dm-september26-contact .dm-request-phone a:focus-visible {
  color: var(--dm-palette-light, #acd8ff) !important;
}

/* Give the review sentence the available row, without forced no-wrap on phones. */
html .ebt-imported-page #dingmans-mechanical-reviews .dmr-panel-top { display: block; }
html .ebt-imported-page #dingmans-mechanical-reviews .dmr-panel-subtitle { max-width: none; }
html .ebt-imported-page #dingmans-mechanical-reviews .dmr-result-meta { margin-top: 12px; }

/* Keep the interactive map unobstructed and its contents inside its own column. */
html .ebt-imported-page #dingmans-command-map-v2.dm-september26-map .dcm-frame { overflow: hidden; isolation: isolate; }
html .ebt-imported-page #dingmans-command-map-v2.dm-september26-map .dcm-frame::after { content: none; }
html .ebt-imported-page #dingmans-command-map-v2.dm-september26-map .dcm-grid-overlay { display: none; }

/* Real stock photographs; retain the catalog's existing muted blue treatment. */
html .ebt-imported-page .dm-service-catalog .dm-stock-service .dm-card-image { position: relative; min-height: 220px; }
html .ebt-imported-page .dm-service-catalog .dm-stock-service .dm-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(1) brightness(.84) contrast(1.04); }
html .ebt-imported-page .dm-service-catalog .dm-stock-service[href$="/fleet/"] .dm-card-image img { object-position: 82% center; }
html .ebt-imported-page .dm-service-catalog .dm-stock-service[href$="/services/electrical/"] .dm-card-image img { object-position: 60% 58%; }

@media (max-width: 980px) {
  :root { --dm-section-title-size: 41px; --dm-section-title-tracking: 0px; }
  .dm-location-break-small { display: initial; }
  .dm-location-break-wide { display: none; }
}
@media (max-width: 767px) {
  :root { --dm-section-title-size: 7vw; --dm-section-title-tracking: .9px; }
}
