/* The photographic lead shares the proportions of the Ventura service layout. */
.dd-site.vc-edition .sd-split-hero,
.dd-site.vc-edition .sd-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(1.75rem, 4.5vw, 4.25rem);
}
.dd-site.vc-edition .sd-split-hero { max-width: 1280px; }
.dd-site.vc-edition .sd-hero-copy { min-width: 0; }
.dd-site.vc-edition .sd-hero-copy :is(h1, h2) {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 750;
  font-style: normal;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-transform: none;
  overflow-wrap: break-word;
}
.dd-site.vc-edition .sd-hero-copy .lead { max-width: 54ch; }
.dd-site.vc-edition .sd-field-photo {
  display: block;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  margin: 0;
  border-block-end: 4px solid #007d77;
  align-self: center;
}
.dd-site.vc-edition .sd-field-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
  object-position: var(--sd-focus, 50% 50%);
}
.dd-site.vc-edition .sd-field-photo figcaption {
  margin: 0;
  padding: .6rem .85rem;
  background: #000;
  color: #fff;
  font: 500 .78rem/1.45 Arial, Helvetica, sans-serif;
}
.dd-site.vc-edition .sd-city-detail { display: block; }
.dd-site.vc-edition .sd-city-detail > div { max-width: 76ch; }
.dd-site.vc-edition #main.dd-refined .dd-example-grid:has(> :only-child) {
  display: block;
}
.dd-site.vc-edition #main.dd-refined .dd-example-grid > :only-child { max-width: 78ch; }
.dd-site.vc-edition main article.guide {
  width: min(90%, 1200px);
  max-width: 1200px;
  margin-inline: auto;
}
.dd-site.vc-edition main article.guide > :not(.sd-guide-hero) { max-width: 72ch; }
.dd-site.vc-edition .vc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
  padding: 0;
  color: #fff;
}
.dd-site.vc-edition .vc-hero > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  z-index: -2;
}
.dd-site.vc-edition .vc-hero::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(0 0 0 / .84), rgb(0 0 0 / .38) 55%, transparent 85%), linear-gradient(0deg, rgb(0 0 0 / .4), transparent 60%);
}
.dd-site.vc-edition .sd-cover-copy {
  max-width: 76rem;
  margin-inline: auto;
  padding: clamp(7rem, 11vw, 13rem) max(5vw, 1.25rem) clamp(2.5rem, 5vw, 5rem);
  box-sizing: content-box;
}
.dd-site.vc-edition .sd-cover-copy h1 { max-width: 18ch; }
.dd-site.vc-edition .sd-cover-copy > p { max-width: 52ch; }
.dd-site.vc-edition #main .dd-hero-photo img { width: 100%; display: block; }
.dd-site.vc-edition .dd-hero-photo img[src*="drain-cleaning"] { object-position: 50% 60%; }
.dd-site.vc-edition .dd-hero-photo img[src*="services-hero"] { object-position: 50% 39%; }
.dd-site.vc-edition .sd-field-photo img[src*="about.webp"] { object-position: 50% 57%; }
@media (max-width: 760px) {
  .dd-site.vc-edition .sd-split-hero,
  .dd-site.vc-edition .sd-guide-hero { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
  .dd-site.vc-edition .sd-field-photo img { aspect-ratio: 1.7; }
  .dd-site.vc-edition .sd-cover-copy { padding: 7.5rem 5vw 2.5rem; }
  .dd-site.vc-edition .vc-hero::before {
    background: linear-gradient(0deg, rgb(0 0 0 / .94), rgb(0 0 0 / .55) 67%, rgb(0 0 0 / .12));
  }
}
/* Keep the active work in frame as wide photos are cropped on phones. */
.dd-site.vc-edition #main .dd-hero-photo img[src*="services-hero"] { object-position: 50% 16%; }
.dd-site.vc-edition #main .dd-hero-photo img[src*="yard-rain-drains"] { object-position: 50% 96%; }
.dd-site.vc-edition #main .dd-hero-photo img[src*="sewer-camera-inspection"] { object-position: 50% 10%; }
.dd-site.vc-edition #main .dd-hero-photo img[src*="hydro-jetting"] { object-position: 46% 47%; }
.dd-site.vc-edition #main .dd-hero-photo img[src*="plumbing-repairs"] { object-position: 50% 24%; }
.dd-site.vc-edition #main .dd-hero-photo img[src*="leak-detection"] { object-position: 50% 64%; }
.dd-site.vc-edition #main .dd-hero-photo img[src*="water-lines-repiping"] { object-position: 50% 43%; }
.dd-site.vc-edition #main .sd-field-photo img[src*="home-protection"] { object-position: 42% 26%; }

.dd-site.vc-edition .sd-cover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  margin-block-start: 1.25rem;
}
.dd-site.vc-edition .sd-cover-actions > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  white-space: nowrap;
}
.dd-site.vc-edition { --sd-logo-width: clamp(155px, 19vw, 210px); }
.dd-site.vc-edition .vc-bar .vc-brand img,
.dd-site.vc-edition .site-footer .footer-brand-row .brand img {
  width: var(--sd-logo-width);
  max-width: none;
  height: auto;
  flex: none;
}
.dd-site.vc-edition .site-footer .footer-brand-row .brand {
  width: calc(var(--sd-logo-width) + 5rem);
  justify-content: flex-start;
  padding-inline: 1rem 3.75rem;
}
.dd-site.vc-edition .vc-bar > details > summary {
  display: list-item;
  min-height: 44px;
  line-height: 44px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .dd-site.vc-edition { --sd-logo-width: 128px; }
}
