/* Supporting type for the public pages and the editable WordPress widgets. */
#main :is(.eyebrow, .breadcrumbs, .pill, .photo-caption, .resource-meta, .facts-strip dt,
  .inventory-detail dt, .finder-facts dt, .face-preview-copy dt, .overview-meta, .overview-card dt),
#main .byb-small-type .elementor-heading-title,
#main .byb-small-type.elementor-widget-text-editor,
#main .byb-small-type.elementor-widget-text-editor p,
#main :is(.hc-caption, .hc-stat, .hc-local) > span {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
}

#main :is(.finder-footnote, .overview-caption, .market-photo-credit small, .byb-madison-credit small) {
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
}

/* A title always goes to the same destination as its product photograph. */
.product-drive :is(.drive-product-heading h2, .drive-directory-detail h3) a {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-decoration-color: #658b43;
  text-underline-offset: .14em;
}

.product-drive .drive-product-heading h2 a { text-decoration-color: #b3d881; }
.product-drive :is(.drive-product-heading h2, .drive-directory-detail h3) a:hover {
  text-decoration-color: currentColor;
  text-decoration-thickness: .095em;
}
.product-drive :is(.drive-product-heading h2, .drive-directory-detail h3) a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

#product-directory :is(.drive-directory-detail > p, .drive-directory-spec, .drive-directory-summary dt,
  .drive-directory-toolbar label, [data-drive-results], .drive-directory-detail > p > span) {
  color: #435640;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
}
#product-directory .drive-directory-detail > p {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: .3rem .8rem;
  letter-spacing: .035em;
}
#product-directory .drive-directory-spec { gap: .25rem .8rem; }
#product-directory :is(.drive-directory-links a, .drive-directory-links button, .drive-directory-filters button,
  .drive-directory-toolbar select) {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
}
#product-directory .drive-directory-links button { color: #385238; }
#product-directory .drive-directory-note {
  color: #495b46;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.drive-rhr :is(.drive-product-heading .drive-eyebrow, .drive-facts dt, .drive-map-caption,
  .drive-link, .drive-link span, .drive-index-stop small, .drive-arrows [data-drive-next] small) {
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .025em;
}
.drive-rhr .drive-description { font-size: 1rem; font-weight: 500; line-height: 1.45; }
.drive-rhr .drive-open-map { font-size: .875rem; font-weight: 600; }
.drive-rhr :is(.drive-facts dt, .drive-map-caption) { color: #c9d8bf; }
.drive-rhr .drive-facts { flex-wrap: wrap; }

@media (max-width: 759px) {
  #product-directory .drive-directory-summary dl { flex-wrap: wrap; }
  #product-directory .drive-directory-links { gap: .4rem .8rem; }
  #product-directory .drive-directory-links :is(a, button) { min-height: 32px; }
  .drive-rhr .drive-description { font-size: .9375rem; }
}

/* The same numbered sequence serves the static site and editable Elementor rows. */
:is(.campaign-steps, #main .elementor-element-e33825e) {
  --step-marker: clamp(2.4rem, 3.4vw, 3rem);
  --step-rail-gap: clamp(.85rem, 2.2vw, 2rem);
  --step-icon: clamp(1.8rem, 2.6vw, 2.4rem);
  --step-gap: .75rem;
  --step-row-pad: clamp(1.4rem, 2.6vw, 2.3rem);
  --step-watermark-size: clamp(4.5rem, 7vw, 7.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
ol.campaign-steps { list-style: none; margin: 0; padding: 0; }

:is(.campaign-steps, #main .elementor-element-e33825e) > :is(.campaign-step, .e-con) {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .45rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: var(--step-row-pad) .75rem var(--step-row-pad) calc(var(--step-marker) + var(--step-rail-gap));
  border: 0;
  border-bottom: 1px solid #dbe3d6;
  background: transparent;
  overflow: visible;
}
:is(.campaign-steps, #main .elementor-element-e33825e) > :is(.campaign-step, .e-con):not(:last-child)::before {
  content: "";
  position: absolute;
  inset: calc(var(--step-row-pad) + var(--step-icon) / 2) auto
         calc(0px - var(--step-row-pad) - var(--step-icon) / 2 - 1px)
         calc(var(--step-marker) / 2 - 1px);
  width: 2px;
  height: auto;
  background: #8dc63f;
  opacity: 1;
  pointer-events: none;
}
:is(.campaign-steps, #main .elementor-element-e33825e) > :is(.campaign-step, .e-con):last-child {
  border-bottom: 0;
}
:is(.campaign-steps, #main .elementor-element-e33825e) > :is(.campaign-step, .e-con) > :first-child {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: var(--step-gap);
}
:is(.campaign-steps, #main .elementor-element-e33825e) > :is(.campaign-step, .e-con) > :first-child > :first-child {
  flex: 0 0 var(--step-icon);
  width: var(--step-icon);
  margin: 0;
}
:is(.campaign-steps, #main .elementor-element-e33825e) > :is(.campaign-step, .e-con) > :first-child > :nth-child(2) {
  flex: 1 1 0%;
  min-width: 0;
}
:is(.campaign-steps, #main .elementor-element-e33825e) :is(.campaign-step .eyebrow, p.elementor-heading-title) {
  width: var(--step-icon);
  height: var(--step-icon);
  margin: 0;
}
:is(.campaign-steps, #main .elementor-element-e33825e) h2 {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  padding-inline-end: calc(var(--step-watermark-size) * .68);
  font-size: clamp(1.65rem, 2.25vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}
.campaign-step-label {
  position: absolute;
  inset-inline-start: calc(0px - var(--step-marker) - var(--step-rail-gap) - var(--step-icon) - var(--step-gap));
  inset-block-start: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  inline-size: var(--step-marker);
  block-size: var(--step-marker);
  border-radius: 50%;
  background: #8dc63f;
  color: #17241b;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}
.campaign-step-prefix {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.campaign-step-watermark {
  position: absolute;
  inset-block-start: -.16em;
  inset-inline-end: .02em;
  z-index: -1;
  color: #436331;
  opacity: .13;
  font-size: var(--step-watermark-size);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: .86;
  pointer-events: none;
  user-select: none;
}
.campaign-step-watermark::before { content: attr(data-step); }
:is(.campaign-steps, #main .elementor-element-e33825e) > :is(.campaign-step, .e-con) > :nth-child(2) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-inline: calc(var(--step-icon) + var(--step-gap)) calc(var(--step-watermark-size) * .68);
}
:is(.campaign-steps, #main .elementor-element-e33825e) :is(.copy, .elementor-widget-text-editor) p {
  max-width: 68ch;
  margin: 0;
  color: #283a2c;
  font-size: clamp(1.0625rem, 1.15vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.5;
}
@media (max-width: 600px) {
  :is(.campaign-steps, #main .elementor-element-e33825e) {
    --step-marker: 2rem;
    --step-icon: 1.6rem;
    --step-rail-gap: .75rem;
    --step-gap: .5rem;
  }
  :is(.campaign-steps, #main .elementor-element-e33825e) h2 { padding-inline-end: 0; }
  .campaign-step-watermark { display: none; }
  :is(.campaign-steps, #main .elementor-element-e33825e) > :is(.campaign-step, .e-con) > :nth-child(2) {
    padding-inline: 0;
  }
}
@media (forced-colors: active) {
  .campaign-step-label { border: 2px solid CanvasText; }
  .campaign-step-watermark { display: none; }
}

/* Separate the plan and phone links in the shared campaign invitation. */
.cta-band .actions:has(> a[href^="tel:"]),
#main .e-con:has(> .elementor-widget-button a[href$="/contact/"]):has(> .elementor-widget-button a[href^="tel:"]) {
  flex-wrap: wrap;
  gap: 24px 28px;
}
