/* Ace AutoFix blog chrome.
   Skeleton matches DMC / Krest catalog + post (AEO extractable).
   Paint is Ace only: Plus Jakarta, #010101, #fc8101, existing nav/footer/CTA.
   Prefix ace-blog-* and ace-article-*. Do not edit Home styles.
   Use em so type scales with Ace's vw root. Do not load Cormorant or Inter. */

@media (max-width: 991px) {
  #ace-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  #ace-menu-btn .nav2_menu_icon {
    width: 1.25em;
    height: 0.125em;
    background: #fff;
    box-shadow: 0 0.4em 0 #fff, 0 -0.4em 0 #fff;
  }
}

.image-box .ace-service-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  opacity: 1;
  color: #fff;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.2;
  font-size: 1.15em;
  font-weight: 600;
}

.ace-skip {
  position: absolute;
  left: 1em;
  top: -4em;
  z-index: 10060;
  background: var(--orange);
  color: var(--black);
  padding: 0.75em 1.25em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 62em;
}
.ace-skip:focus {
  top: 1em;
}

.sr-only,
.ace-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Catalog hero keeps Ace photo treatment. Kill contact-form fields in HTML, not here.
   Ace LPs set is-form-new to 100svh and .h-1.is-max to 10ch on tablet, which
   clips this outcome line. Blog overrides only under .is-blog. */
.hero-section.is-form-new.is-blog {
  height: auto !important;
  min-height: 0;
  margin-bottom: 0;
  padding-top: 11em;
  padding-bottom: 5em;
  position: relative;
}
.hero-section.is-form-new.is-blog::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #010101 0%, rgba(1, 1, 1, 0.82) 38%, rgba(1, 1, 1, 0.2) 68%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-section.is-form-new.is-blog .container,
.hero-section.is-form-new.is-blog .hero_content {
  position: relative;
  z-index: 1;
  margin-left: 0;
  margin-right: auto;
  width: auto;
  max-width: none;
}
.hero-section.is-form-new.is-blog .h-1,
.hero-section.is-form-new.is-blog .h-1.is-max {
  max-width: none;
}
.ace-blog-lede,
.hero-section.is-form-new.is-blog .p-18px.is-top-24 {
  max-width: 36em;
}

.ace-blog-catalog {
  padding: 2em 0 4em;
}
.ace-blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em 1.25em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin: 0 0 1.5em;
}
.ace-blog-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  column-gap: 2.25em;
  row-gap: 0.25em;
}
.ace-blog-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.75em 0 0.6em;
  border-bottom: 2px solid transparent;
  color: var(--gray);
  font-size: 0.9em;
  font-weight: 500;
  text-decoration: none;
}
.ace-blog-filters a:hover {
  color: var(--color);
}
.ace-blog-filters a.is-on {
  color: var(--color);
  border-bottom-color: var(--orange);
}
.ace-blog-search input {
  width: min(13.75em, 100%);
  min-height: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 62em;
  padding: 0 1em;
  background: #111;
  color: var(--color);
  font-family: inherit;
  font-size: 0.9em;
}
.ace-blog-search input:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.ace-blog-chip {
  display: inline-block;
  width: fit-content;
  color: var(--orange);
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ace-blog-more,
a.ace-blog-more {
  display: inline-flex;
  margin-top: 1em;
  color: var(--orange);
  font-size: 0.88em;
  font-weight: 600;
  text-decoration: none;
  padding: 0;
}
.ace-blog-card:hover .ace-blog-more,
a.ace-blog-more:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ace-blog-featured {
  display: grid;
  gap: 1.5em;
  align-items: stretch;
  margin: 0 0 2em;
  padding-bottom: 2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ace-blog-featured-copy h2 {
  margin: 0.75em 0;
  max-width: 22em;
  font-size: clamp(1.35em, 1vw + 1em, 1.7em);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.2;
}
.ace-blog-featured-copy h2 a {
  color: var(--color);
  text-decoration: none;
  padding: 0;
}
.ace-blog-featured-copy h2 a:hover {
  color: var(--orange);
}
.ace-blog-featured-media {
  padding: 0;
  text-decoration: none;
}
.ace-blog-featured-media img {
  width: 100%;
  height: 13.75em;
  object-fit: cover;
  border-radius: 0;
}

.ace-blog-grid {
  display: grid;
  gap: 1.25em;
  margin: 0.5em 0 3em;
}
.ace-blog-card[hidden],
.ace-blog-featured[hidden] {
  display: none !important;
}
a.ace-blog-card,
.ace-blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75em;
  background: #0a0a0a;
  padding: 1.375em 1.375em 1.5em;
  color: var(--color);
  text-decoration: none;
}
a.ace-blog-card:hover,
.ace-blog-card:hover {
  border-color: var(--orange);
}
.ace-blog-card h2 {
  margin: 0.75em 0 0.5em;
  font-size: 1.25em;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.25;
}
.ace-blog-card-meta,
.ace-blog-featured .ace-blog-card-meta,
.ace-blog-meta {
  opacity: 0.85;
  color: var(--color);
  margin-bottom: 0;
  font-size: 0.82em;
}
.ace-blog-card-excerpt {
  margin-top: 0.625em;
  font-size: 0.95em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ace-blog-empty-filter {
  padding: 3em 0 5em;
  color: var(--gray);
}

.ace-blog-close {
  padding: 3em 0 1em;
}
.ace-blog-close .lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-bottom: 1.5em;
}
.ace-blog-close .lp-cta-row .btn_orange,
.ace-blog-close .lp-cta-row .embed-inline {
  position: static;
  flex: 0 0 auto;
}
.ace-blog-close h2 {
  margin: 0 0 0.5em;
  font-size: 1.75em;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ace-blog-close > .container > p,
.ace-blog-close .ace-blog-close-lede {
  margin: 0 0 0.75em;
  max-width: 36em;
}

/* Post: no cover image. Sentence-case H1. */
.ace-article {
  padding: 10em 0 0;
}
.ace-article-layout {
  display: grid;
  gap: 1.75em;
  align-items: start;
}
.ace-crumbs,
.ace-blog-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  color: var(--gray);
  margin-bottom: 1.25em;
  font-size: 0.82em;
}
.ace-crumbs a,
.ace-blog-crumb a {
  color: var(--orange);
  text-decoration: none;
  padding: 0;
}
.ace-crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.ace-blog-kicker {
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7em;
  font-weight: 600;
  margin: 0 0 0.75em;
}
.ace-article-h1,
.ace-article h1 {
  max-width: 22em;
  margin: 0 0 0.75em;
  color: var(--color);
  font-size: clamp(1.75em, 1.2vw + 1.4em, 2.6em);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
}
.ace-byline {
  margin: 0 0 1.5em;
  color: var(--gray);
  font-size: 0.88em;
}
.ace-article-lede,
.lede,
.ace-lede {
  max-width: 36em;
  margin: 0 0 1.375em;
  color: var(--color);
  font-size: 1.125em;
  line-height: 1.65;
}

.ace-takeaways {
  max-width: 36em;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.25em 0;
  margin: 0 0 1.75em;
}
.ace-takeaways h2 {
  margin: 0 0 0.625em;
  font-size: 1.15em;
  font-weight: 600;
  text-transform: none;
}
.ace-takeaways ul {
  margin: 0;
  padding-left: 1.15em;
}
.ace-takeaways li {
  margin: 0.375em 0;
  line-height: 1.5;
}

.ace-article-prose {
  max-width: 36em;
  overflow-wrap: break-word;
  line-height: 1.7;
}
.ace-article-prose h2,
.ace-article-faq h2,
.ace-article-howto h2,
.ace-related h2 {
  margin: 2em 0 0.625em;
  font-size: 1.35em;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  scroll-margin-top: 6em;
}
.ace-article-prose p + p {
  margin-top: 1em;
}
.ace-article-prose a,
.ace-related a {
  color: var(--orange);
  padding: 0;
}
.ace-article-howto,
.ace-article-faq,
.ace-related {
  max-width: 36em;
  margin-top: 2.25em;
}
.ace-article-howto ol {
  margin: 0;
  padding-left: 1.25em;
  line-height: 1.65;
}
.ace-article-howto li {
  margin: 0.5em 0;
}
.ace-faq-item {
  padding: 1em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ace-faq-item h3 {
  margin: 0 0 0.5em;
  font-size: 1.15em;
  font-weight: 600;
  text-transform: none;
}
.ace-faq-item p {
  margin: 0;
  opacity: 0.92;
  line-height: 1.65;
}
.ace-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ace-related li {
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ace-article-rail {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  margin-top: 0;
  padding: 0;
  border: 0;
}
.ace-share-bar,
.ace-toc,
.ace-rail-cta {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75em;
  padding: 0.875em 1em;
  background: #0a0a0a;
}
.ace-share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  align-items: center;
}
.ace-share-bar button,
.ace-share-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  height: 44px;
  padding: 0 0.75em;
  border: 0;
  background: transparent;
  color: var(--color);
  font-family: inherit;
  font-size: 0.78em;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.ace-share-bar button:hover,
.ace-share-bar a:hover {
  color: var(--orange);
}
.ace-toc-label {
  color: var(--gray);
  margin-bottom: 0.5em;
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ace-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ace-toc a {
  display: inline-block;
  padding: 0.25em 0;
  color: var(--gray);
  font-size: 0.88em;
  text-decoration: none;
}
.ace-toc a:hover {
  color: var(--color);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.ace-rail-cta h2 {
  margin: 0 0 0.5em;
  font-size: 1.15em;
  font-weight: 600;
  text-transform: none;
}
.ace-rail-cta p {
  margin: 0 0 1em;
  font-size: 0.9em;
  line-height: 1.5;
}
.ace-rail-cta .lp-cta-row {
  padding: 0;
}
.ace-rail-cta .btn_orange,
.ace-rail-cta .btn_orange.is-tranparent {
  width: 100%;
}

@media (min-width: 880px) {
  .ace-blog-featured {
    grid-template-columns: minmax(0, 1fr) minmax(16.25em, 0.9fr);
    gap: 3em;
  }
  .ace-blog-featured-media img {
    height: 100%;
    min-height: 17.5em;
  }
  .ace-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .ace-article-layout {
    grid-template-columns: minmax(0, 1fr) 16.5em;
    gap: 2.5em;
  }
  .ace-article-rail {
    position: sticky;
    top: 7em;
  }
}

@media (max-width: 991px) {
  .ace-article {
    padding-top: 8em;
  }
  .ace-article-rail {
    position: static;
  }
}

@media (max-width: 767px) {
  .ace-article {
    padding-top: 7em;
    padding-bottom: 1em;
  }
  .ace-blog-featured-media img {
    height: 13.75em;
  }
  .ace-blog-close {
    padding-bottom: 5em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ace-blog-card,
  .ace-blog-filters a,
  .btn_orange {
    transition: none;
  }
}

/* Ace Home CTA uses position:absolute on .p-48px, which pulls the
   italic line and the Book/Call pair up into "Book an appointment today".
   Keep a 2-col band: copy + buttons left, photo right. Do not stack the
   photo above the headline (order:-1) and do not honor Webflow place-self. */
.ace-cta-fix {
  margin-top: 4em;
}
.ace-cta-fix .heading-box {
  position: relative;
  z-index: 2;
  margin-bottom: 0.5em;
}
.ace-cta-fix .cta-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 2em;
  row-gap: 1.25em;
  min-height: 0;
  margin-top: 1em;
  padding: 0;
  position: relative;
}
.ace-cta-fix .cta-content .p-48px,
.ace-cta-fix .p-48px.is-bold {
  position: static;
  top: auto;
  left: auto;
  margin: 0;
  max-width: 18em;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.ace-cta-fix .ace-cta-actions,
.ace-cta-fix .cta-content > .w-embed.ace-cta-actions,
.ace-cta-fix [id^="w-node-"].ace-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  position: static;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  place-self: start !important;
  justify-self: start !important;
  align-self: start !important;
}
.ace-cta-fix .ace-cta-actions .btn_orange {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}
.ace-cta-fix .cta-image {
  position: static;
  order: 0;
  width: 100%;
  max-width: none;
  min-height: 0;
  height: 100%;
  max-height: 16em;
  object-fit: cover;
  grid-column: 2;
  grid-row: 1 / span 2;
  opacity: 0.75;
  justify-self: stretch;
  align-self: stretch;
}
.ace-cta-fix .cta-content:hover .cta-image {
  opacity: 1;
}

.ace-blog-filters a:focus-visible,
.ace-blog-card:focus-visible,
.ace-article-prose a:focus-visible,
.ace-share-bar button:focus-visible,
.ace-toc a:focus-visible,
.lp-trust-line a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Audit pass: Ace LP CSS leaks (100svh hero, 10ch H1, 14em footer, lowercase CTA). */
@media (max-width: 991px) {
  .hero-section.is-form-new.is-blog {
    height: auto !important;
    padding-top: 8em;
    padding-bottom: 3.5em;
  }
  .hero-section.is-form-new.is-blog .h-1.is-max {
    max-width: none !important;
    font-size: 2.4em;
  }
}
@media (max-width: 767px) {
  .hero-section.is-form-new.is-blog::after {
    background: linear-gradient(180deg, #010101 8%, rgba(1, 1, 1, 0.88) 48%, rgba(1, 1, 1, 0.55) 100%);
  }
  .hero-section.is-form-new.is-blog .image-4.is-form {
    opacity: 0.45;
    left: auto;
    right: 0;
    width: 100%;
  }
}
@media (max-width: 479px) {
  .hero-section.is-form-new.is-blog {
    height: auto !important;
    padding-top: 7em;
    padding-bottom: 3em;
  }
  .hero-section.is-form-new.is-blog .h-1.is-max {
    font-size: 1.85em;
    line-height: 1.12;
  }
}

body:has(.ace-blog-catalog) .footer-section,
body:has(.ace-article) .footer-section {
  margin-top: 5em;
}
body:has(.ace-blog-close) .cta-section {
  margin-top: 1.5em;
}
body:has(.ace-blog-close) .cta-section .p-24px {
  text-transform: none;
}

.lp-trust-line a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  padding: 0;
}
.lp-trust-line a:hover {
  color: var(--orange);
}

.ace-blog-close h2 {
  text-transform: none;
}
.ace-rail-cta .lp-cta-row {
  flex-direction: column;
  align-items: stretch;
  gap: 0.75em;
}
.ace-rail-cta .btn_orange,
.ace-rail-cta .btn_orange.is-tranparent {
  min-height: 44px;
  justify-content: center;
}

.ace-crumbs {
  text-transform: none;
}
.ace-article-prose h2 + p,
.ace-faq-item h3 + p,
.ace-takeaways h2 + ul {
  margin-top: 0.65em;
}

a.ace-blog-more,
.ace-blog-featured-copy h2 a,
.ace-toc a,
.ace-crumbs a,
.ace-blog-filters a,
.ace-related a {
  padding: 0;
}

.ace-blog-kicker,
.hero-section.is-form-new.is-blog .pre-head {
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7em;
  font-weight: 600;
}

/* —— Mobile / tablet (blog only) —— */
.hero-section.is-form-new.is-blog,
.ace-blog-catalog,
.ace-article,
.ace-cta-fix {
  overflow-x: hidden;
  max-width: 100%;
}
.hero-section.is-form-new.is-blog .h-1,
.ace-article-h1,
.ace-blog-card h2,
.ace-blog-featured-copy h2,
.ace-blog-close h2 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 991px) {
  .hero-section.is-form-new.is-blog {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0;
    padding-top: 7.5em;
    padding-bottom: 2.75em;
  }
  .hero-section.is-form-new.is-blog .h-1,
  .hero-section.is-form-new.is-blog .h-1.is-max,
  .hero-section.is-form-new.is-blog .h-1.is-max.is-72 {
    max-width: none !important;
    font-size: 2.15em !important;
    line-height: 1.12;
  }
  .hero-section.is-form-new.is-blog .image-4,
  .hero-section.is-form-new.is-blog .image-4.is-form {
    position: absolute;
    inset: 0;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    z-index: 0;
  }
  .ace-blog-lede,
  .hero-section.is-form-new.is-blog .p-18px.is-top-24 {
    max-width: none;
    font-size: 1em;
    line-height: 1.55;
    margin-top: 1em;
  }
  .ace-blog-catalog {
    padding: 1.25em 0 2.5em;
  }
  .ace-blog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75em;
  }
  .ace-blog-filters {
    width: 100%;
    justify-content: space-between;
    column-gap: 0.75em;
    row-gap: 0;
  }
  .ace-blog-search,
  .ace-blog-search input {
    width: 100%;
    max-width: 100%;
  }
  .ace-article {
    padding-top: 7em;
  }
  .ace-article-rail {
    position: static;
  }
  .ace-blog-close .lp-cta-row a[href^="tel"],
  .ace-cta-fix .ace-cta-actions a[href^="tel"],
  .ace-rail-cta a[href^="tel"] {
    display: none;
  }
  .ace-blog-close {
    padding: 2em 0 5.5em;
  }
  body:has(.ace-blog-catalog) .footer-section,
  body:has(.ace-article) .footer-section {
    margin-top: 2.5em;
    padding-bottom: 2em;
  }
}

@media (max-width: 767px) {
  .hero-section.is-form-new.is-blog {
    padding-top: 6.25em;
    padding-bottom: 2.25em;
  }
  .hero-section.is-form-new.is-blog .h-1,
  .hero-section.is-form-new.is-blog .h-1.is-max {
    font-size: 1.7em !important;
    line-height: 1.14;
  }
  .hero-section.is-form-new.is-blog::after {
    background: linear-gradient(180deg, #010101 6%, rgba(1, 1, 1, 0.9) 52%, rgba(1, 1, 1, 0.62) 100%);
  }
  .ace-blog-featured {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-bottom: 1.25em;
    padding-bottom: 1.25em;
  }
  .ace-blog-featured-media {
    order: -1;
  }
  .ace-blog-featured-media img {
    height: 11em;
  }
  .ace-blog-featured-copy h2 {
    max-width: none;
    font-size: 1.25em;
    margin: 0.5em 0;
  }
  .ace-blog-grid {
    grid-template-columns: 1fr;
    gap: 1em;
    margin: 0 0 2em;
  }
  a.ace-blog-card,
  .ace-blog-card {
    padding: 1.1em 1.1em 1.2em;
  }
  .ace-blog-card h2 {
    font-size: 1.15em;
  }
  .ace-blog-close h2 {
    font-size: 1.4em;
  }
  .ace-blog-close .lp-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ace-blog-close .lp-cta-row .embed-inline,
  .ace-blog-close .lp-cta-row .btn_orange,
  .ace-blog-close .lp-cta-row .embed-inline .btn_orange {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  .ace-article {
    padding-top: 6.25em;
    padding-bottom: 0.5em;
  }
  .ace-article-h1,
  .ace-article h1 {
    font-size: 1.55em;
    max-width: none;
    line-height: 1.18;
  }
  .ace-article-lede,
  .lede,
  .ace-lede {
    font-size: 1em;
    line-height: 1.6;
  }
  .ace-article-prose h2,
  .ace-article-faq h2,
  .ace-article-howto h2,
  .ace-related h2 {
    font-size: 1.2em;
    scroll-margin-top: 5.5em;
  }
  .ace-faq-item h3 {
    font-size: 1.05em;
  }
  .ace-toc a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35em 0;
  }
  .ace-cta-fix {
    margin-top: 2em;
  }
  .ace-cta-fix .cta-content {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }
  .ace-cta-fix .p-48px.is-bold,
  .ace-cta-fix .cta-content .p-48px {
    font-size: 1.45em !important;
    max-width: none;
    line-height: 1.2;
  }
  .ace-cta-fix .ace-cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .ace-cta-fix .ace-cta-actions .btn_orange {
    width: 100%;
    justify-content: center;
  }
  .ace-cta-fix .cta-image {
    display: none;
  }
  .ace-rail-cta .btn_orange {
    width: 100%;
  }
  .lp-trust-line {
    overflow-wrap: break-word;
  }
}

@media (max-width: 479px) {
  .hero-section.is-form-new.is-blog {
    height: auto !important;
    padding-top: 5.75em;
    padding-bottom: 2em;
  }
  .hero-section.is-form-new.is-blog .h-1,
  .hero-section.is-form-new.is-blog .h-1.is-max,
  .hero-section.is-form-new.is-blog .h-1.is-max.is-72 {
    font-size: 1.55em !important;
    line-height: 1.15;
  }
  .ace-blog-filters a {
    font-size: 0.82em;
  }
  .ace-article-h1,
  .ace-article h1 {
    font-size: 1.4em;
  }
  .ace-blog-close {
    padding-bottom: 6em;
  }
}

/* Service LP visual pass. Ace leaks 100svh / 10ch H1 / 14em footer
   and paints unclassed jump <a> as default blue links. */
.hero-section.is-form-new {
  height: auto !important;
  min-height: 0;
}
.hero-section.is-form-new .h-1.is-max,
.hero-section.is-form-new .h-1.is-max.is-72 {
  max-width: none !important;
}
.hero-section.is-form-new .hero_content.is-form {
  margin-left: 0;
}
.hero-section.is-form-new .hero-cta-row {
  margin-top: 1.5em;
}

.lp-deeplink-row > h3 {
  flex-basis: 100%;
  width: 100%;
  margin: 0 0 4px;
}
.lp-deeplink-row > a {
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: 62em;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0.75em 1.25em;
  font-size: 0.875em;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  display: inline-flex;
}
.lp-deeplink-row > a:hover {
  background: var(--orange);
  color: #010101;
}

body:has(.ace-cta-fix) .footer-section {
  margin-top: 3.5em;
}

@media (max-width: 991px) {
  .hero-section.is-form-new {
    height: auto !important;
    min-height: 0;
    padding-top: 8em;
    padding-bottom: 3em;
  }
  .hero-section.is-form-new .h-1.is-max {
    font-size: 2.15em;
    line-height: 1.12;
  }
  .ace-cta-fix .cta-content {
    display: flex !important;
    flex-direction: column;
  }
  .ace-cta-fix .cta-image {
    display: none !important;
  }
  .lp-cta-row > a[href^="tel"],
  .hero-section.is-form-new .hero-cta-row a[href^="tel"],
  .hero-section.is-form-new .hero-cta-row .is-hero-call {
    display: none !important;
  }
}

@media (max-width: 479px) {
  .hero-section.is-form-new {
    height: auto !important;
    padding-top: 6.25em;
    padding-bottom: 2.25em;
  }
  .hero-section.is-form-new .h-1.is-max {
    font-size: 1.7em;
  }
  .hero-section.is-form-new .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-section.is-form-new .hero-cta-row .embed-inline,
  .hero-section.is-form-new .hero-cta-row .embed-inline .btn_orange {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* Diagnostics hub: grouped index + service cards.
   First HTML still has H2/H3, body, and hrefs. Cards are the scan layer. */
.ace-svc-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.5em 2em;
  margin: 0.5em 0 2.5em;
  padding-bottom: 1.75em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ace-svc-index-label {
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7em;
  font-weight: 600;
  margin: 0 0 0.65em;
}
.ace-svc-index-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ace-svc-index-links a {
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: 62em;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0.7em 1.15em;
  font-size: 0.875em;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  display: inline-flex;
}
.ace-svc-index-links a:hover {
  background: var(--orange);
  color: #010101;
}

.ace-svc-index,
.ace-svc-heading,
.ace-svc-card {
  scroll-margin-top: 9em;
}
.ace-svc-heading {
  text-align: left;
  width: 100%;
  margin: 0 0 1em;
  font-size: 1.75em;
  line-height: 1.25;
}
.ace-svc-lede {
  opacity: 0.85;
  max-width: 36em;
  margin: -0.35em 0 1.25em;
  font-size: 1em;
  line-height: 1.5;
}

.ace-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15em;
  margin: 0 0 3em;
}
.ace-svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75em;
  background: #0a0a0a;
  padding: 1.4em 1.4em 1.5em;
  min-height: 100%;
}
.ace-svc-card:hover,
.ace-svc-card:focus-within {
  border-color: var(--orange);
}
a.ace-svc-card {
  color: inherit;
  text-decoration: none;
}
a.ace-svc-card .ace-svc-card-title {
  color: inherit;
}
.ace-svc-card-kicker {
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68em;
  font-weight: 600;
  margin: 0;
}
.ace-svc-card-title {
  text-transform: none;
  letter-spacing: -0.02em;
  margin: 0;
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1.25;
}
.ace-svc-card-when {
  margin: 0;
  font-size: 0.95em;
  font-weight: 600;
  line-height: 1.35;
}
.ace-svc-card-body {
  opacity: 0.85;
  margin: 0;
  font-size: 0.95em;
  line-height: 1.55;
}
.ace-svc-card-more,
a.ace-svc-card-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0.35em 0 0;
  color: var(--orange);
  font-size: 0.88em;
  font-weight: 600;
  text-decoration: none;
}
.ace-svc-card-more:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ace-svc-faq {
  margin: 0.5em 0 1em;
}
.ace-svc-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 1.25em;
  margin: 0 0 1em;
}
.ace-svc-related a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.ace-svc-related a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ace-svc-takeaways {
  margin: 0 0 2em;
  padding-left: 1.2em;
}
.ace-svc-takeaways li {
  margin: 0 0 0.45em;
  line-height: 1.45;
}
.hero-section.is-form-new .ace-crumbs {
  margin-bottom: 1em;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 991px) {
  .ace-svc-index {
    grid-template-columns: 1fr;
    gap: 1.25em;
    margin-bottom: 2em;
  }
  .ace-svc-grid {
    grid-template-columns: 1fr;
    gap: 1em;
    margin-bottom: 2.25em;
  }
  .ace-svc-heading {
    font-size: 1.45em;
  }
  .ace-svc-card {
    padding: 1.2em 1.2em 1.3em;
  }
}

@media (max-width: 479px) {
  .ace-svc-index-links a {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
  .ace-svc-card-title {
    font-size: 1.15em;
  }
}

/* —— ISAAC LP CLEANUP 20260910 —— */
/* Hide hub index strip (doubles the cards) */
.ace-svc-index { display: none !important; }

/* Hide repeated service kickers on every card (class or bare first child p) */
.ace-svc-card-kicker,
a.ace-svc-card > p:first-child,
.ace-svc-card > p:first-child { display: none !important; }

/* Hide trailing On this page / X page chrome — whole card is the link */
.ace-svc-card-more,
a.ace-svc-card-more,
a.ace-svc-card > span:last-child,
.ace-svc-card > span:last-child { display: none !important; }

/* Keep reading blocks on service LPs (hubs + spokes), not blogs */
.ace-keep-reading,
.keep-reading,
section.ace-keep-reading,
.ace-svc-related,
.faq-section h2:has(+ .ace-svc-related),
h2.ace-svc-heading:has(+ .ace-svc-related),
h2.lp-faq-heading:has(+ div > a),
h2.lp-faq-heading + div:has(> a):not(.ace-svc-faq):not(.ace-svc-grid):not(.ace-svc-index) {
  display: none !important;
}

/* FAQ breathing room (Q/A pairs) */
.faq-section .ace-svc-faq > h3.lp-faq-q,
.ace-svc-faq > h3.lp-faq-q,
.faq-section h3.lp-faq-q {
  margin-top: 1.75em !important;
  margin-bottom: 0.55em !important;
}
.ace-svc-faq > h3.lp-faq-q:first-child,
.faq-section .ace-svc-faq > h3.lp-faq-q:first-child {
  margin-top: 0.85em !important;
}
.faq-section .ace-svc-faq > p.lp-faq-a,
.ace-svc-faq > p.lp-faq-a,
.faq-section p.lp-faq-a {
  margin-top: 0 !important;
  margin-bottom: 0.4em !important;
  line-height: 1.6 !important;
}
.faq-section h2,
.faq-section .h-2 {
  margin-bottom: 1.25em !important;
}

/* Close CTA: more padding below Book an appointment today + word spacing */
.cta-section.ace-cta-fix,
.cta-section.ace-cta-form {
  padding-top: 3.5em !important;
  padding-bottom: 4.5em !important;
  margin-bottom: 2.5em !important;
}
.cta-section .heading-box {
  margin-bottom: 1.35em !important;
}
.cta-section .heading-box .p-24px,
.cta-section .p-24px,
.cta-section .h-1,
.cta-section .p-48px,
.cta-section h2,
.ace-cta-fix .h-1 {
  word-spacing: 0.22em !important;
  letter-spacing: -0.01em;
}

/* —— ISAAC CONVERSION LP 20260910c —— */
/* Hide SEO breadcrumbs / crumb rows on all service LPs */
body:has(.ace-svc-grid) .ace-crumbs,
body:has(.ace-svc-faq) .ace-crumbs,
body:has(.lp-faq-heading) .ace-crumbs,
body:has(.lp-faq-q) .ace-crumbs,
body:has(.ace-svc-heading) .ace-crumbs,
.ace-crumbs,
.ace-blog-crumb,
.breadcrumb,
nav[aria-label="Breadcrumb"] {
  display: none !important;
}

/* Compact mid-page Book CTA (below primary offer block) */
.ace-mid-book {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 1.5em 0 1.75em;
}
.ace-mid-book .lp-cta-btn {
  margin: 0;
}

/* —— ISAAC HERO SUBTEXT 20260910 —— */
/* Hero lede under H1: left-align; constrain so it only barely overlaps hero photo.
   Targets .hero-paragraph + real markup (.p-18px.is-top-24 / .ace-blog-lede / secondary .p-12px.is-max).
   Skips .pre-head, contact .is-caps labels, and CTA rows. */
.hero-section .hero-paragraph,
.hero-section.is-form-new .hero-paragraph,
.hero-section .hero_content > .hero-paragraph,
.hero-section .hero_content > p.p-18px.is-top-24,
.hero-section .hero_content > p.ace-blog-lede,
.hero-section .hero_content > p.p-12px.is-max,
.hero-section.is-form-new .hero_content > p.p-18px.is-top-24,
.hero-section.is-form-new .hero_content > p.p-12px.is-max {
  text-align: left !important;
  max-width: 32em;
  width: 100%;
  margin-left: 0 !important;
  margin-right: auto;
}

@media (min-width: 992px) {
  .hero-section .hero-paragraph,
  .hero-section.is-form-new .hero-paragraph,
  .hero-section .hero_content > .hero-paragraph,
  .hero-section .hero_content > p.p-18px.is-top-24,
  .hero-section .hero_content > p.ace-blog-lede,
  .hero-section .hero_content > p.p-12px.is-max,
  .hero-section.is-form-new .hero_content > p.p-18px.is-top-24,
  .hero-section.is-form-new .hero_content > p.p-12px.is-max {
    max-width: min(32em, 50%);
  }
}

@media (max-width: 767px) {
  .hero-section .hero-paragraph,
  .hero-section.is-form-new .hero-paragraph,
  .hero-section .hero_content > .hero-paragraph,
  .hero-section .hero_content > p.p-18px.is-top-24,
  .hero-section .hero_content > p.ace-blog-lede,
  .hero-section .hero_content > p.p-12px.is-max,
  .hero-section.is-form-new .hero_content > p.p-18px.is-top-24,
  .hero-section.is-form-new .hero_content > p.p-12px.is-max {
    max-width: none; /* full width OK under stack on mobile */
  }
}


/* —— ISAAC SELL COPY 20260910 —— */
/* Strip DIY advisory chrome: hero sub-notes + takeaway ULs. Sell lives in lede + Book/Call. */
.hero-section .hero_content > p.p-12px.is-max,
.hero-section.is-form-new .hero_content > p.p-12px.is-max,
.ace-svc-takeaways {
  display: none !important;
}

/* Unclassed takeaway ULs ahead of FAQ on service LPs */
body:has(.lp-faq-q) .container > ul:not([class]),
body:has(.lp-faq-heading) .container > ul:not([class]) {
  display: none !important;
}


/* —— ISAAC NO BLUE LINKS 20260911 ——
   Kill default blue link paint sitewide on LPs, cards, FAQ, home chips, blog.
   Inherit brand/neutral; keep orange CTAs untouched. */
a,
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}
a:hover,
a:focus {
  color: inherit;
  text-decoration: underline;
}
.faq-section a,
.ace-svc-faq a,
.ace-svc-grid a,
.ace-svc-card,
.ace-svc-card a,
.ace-svc-index-links a,
.ace-svc-related a,
.lp-faq-a a,
.hero_content a:not(.btn_orange):not(.lp-cta-btn),
.ace-blog-filters a,
.ace-blog-card a,
.ace-blog-featured-copy a,
.ace-crumbs a,
.ace-toc a,
.ace-related a,
.w-richtext a,
.chip a,
.services-chip a,
a.chip,
.home-services a {
  color: inherit !important;
}
/* Keep orange CTA buttons looking like buttons, not blue text links */
a.btn_orange,
a.btn_orange:link,
a.btn_orange:visited,
a.lp-cta-btn,
a.is-hero-call,
.ace-cta-actions a.btn_orange,
.hero-cta-row a.btn_orange {
  color: #fff !important;
  text-decoration: none !important;
}
a.btn_orange.is-tranparent,
a.btn_orange.is-tranparent:link,
a.btn_orange.is-tranparent:visited,
a.is-hero-call {
  color: inherit !important;
}


/* —— ISAAC BLOG FIX 20260911b ——
   A) Hide empty featured CMS empty-state ("No items found.") completely
   B) Catalog: grid on .w-dyn-items (Webflow wraps cards; .ace-blog-grid alone is 1-child)
   C) Card chrome + Related posts rename + keep blog close CTAs
*/

/* A — empty featured: kill Webflow gray .w-dyn-empty box + half-width grid cell */
.ace-blog-featured.w-dyn-list:has(> .w-dyn-empty),
.ace-blog-featured.w-dyn-list:not(:has(.w-dyn-item)) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  grid-template-columns: none !important;
}
.ace-blog-featured .w-dyn-empty,
.ace-blog-featured > .w-dyn-empty,
.ace-blog-catalog .ace-blog-featured .w-dyn-empty,
.ace-blog-featured .w-dyn-empty > div {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/* B — full-width multi-column on the actual card list */
.ace-blog-catalog .container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.ace-blog-grid.w-dyn-list,
.ace-blog-grid {
  display: block !important; /* list wrapper; grid lives on .w-dyn-items */
  width: 100% !important;
  max-width: 100% !important;
  margin: 0.5em 0 3em;
}
.ace-blog-grid .w-dyn-items {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.25em;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ace-blog-grid .w-dyn-item {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
@media (min-width: 880px) {
  .ace-blog-grid .w-dyn-items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1200px) {
  .ace-blog-grid .w-dyn-items {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
/* Do not let empty featured 2-col rule leak; featured only when it has items */
@media (min-width: 880px) {
  .ace-blog-featured.w-dyn-list:has(.w-dyn-item) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16.25em, 0.9fr);
    gap: 3em;
  }
}

/* B2 — title link + whole-card click via stretched title link */
.ace-blog-card {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  height: 100%;
}
.ace-blog-card .ace-blog-title-link {
  display: block;
  margin: 0.75em 0 0.5em;
  color: inherit !important;
  font-size: 1.25em;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-decoration: none !important;
}
.ace-blog-card .ace-blog-title-link:hover,
.ace-blog-card:hover .ace-blog-title-link {
  color: var(--orange) !important;
  text-decoration: none !important;
}
.ace-blog-card .ace-blog-title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.ace-blog-card:not(:has(.ace-blog-more)):not(.ace-related-card)::after,
.ace-blog-grid .ace-blog-card:not(:has(.ace-blog-more))::after {
  content: "Read more";
  display: inline-flex;
  margin-top: 1em;
  color: var(--orange);
  font-size: 0.88em;
  font-weight: 600;
  pointer-events: none;
}
.ace-blog-card:hover:not(:has(.ace-blog-more)):not(.ace-related-card)::after,
.ace-blog-grid .ace-blog-card:hover:not(:has(.ace-blog-more))::after {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.ace-blog-card .ace-blog-chip,
.ace-blog-card .ace-blog-card-meta,
.ace-blog-card .ace-blog-card-excerpt,
.ace-blog-card .ace-blog-more {
  position: relative;
  z-index: 0;
}

/* C — blog post related chrome 20260914
   Designer/template: H2 Related posts; About removed; Related services H3 + Oil/Brake UL.
   CSS reinforces margin, rail CTA gap, About hide fallback, blog-close CTAs. */
.ace-related {
  margin-top: 2.75em !important;
}
.ace-related > h2.lp-faq-heading {
  margin-top: 0;
}
/* Fallback if old Keep reading text ever returns */
.ace-related > h2.lp-faq-heading:is(:empty, [data-ace-rename]) {
  font-size: 0 !important;
  line-height: 0;
}
/* Hide any remaining About links in related (belt + suspenders) */
.ace-related a[href="/about-us"],
.ace-related a[href="/about-us/"],
.ace-related a.lp-faq-a[href="/about-us"],
.ace-related a.lp-faq-a[href="/about-us/"],
.ace-related > div:not(.w-dyn-list):has(> a[href="/about-us"]),
.ace-related > div:not(.w-dyn-list):has(> a[href="/about-us/"]),
.ace-related li:has(> a[href="/about-us"]),
.ace-related li:has(> a[href="/about-us/"]) {
  display: none !important;
}
.ace-related > h3.lp-faq-heading,
.ace-related > h3[data-ace="related-services"] {
  margin: 1.25em 0 0.5em;
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ace-related > ul,
.ace-related > ul[role="list"] {
  display: block !important;
  list-style: none;
  margin: 0 0 0.25em;
  padding: 0;
}
.ace-related > ul > li {
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ace-related > ul > li a {
  color: inherit;
  text-decoration: none;
}
.ace-related > ul > li a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Need the bay? rail — stack Call + Book with gap ≥12px */
.ace-rail-cta {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.ace-rail-cta > h2,
.ace-rail-cta > h2.lp-faq-heading {
  margin: 0;
}
.ace-rail-cta > p {
  margin: 0;
}
.ace-rail-cta > a.btn_orange,
.ace-rail-cta > .w-embed {
  display: block;
  width: 100%;
  margin: 0;
}
.ace-rail-cta > .w-embed .btn_orange,
.ace-rail-cta > a.btn_orange {
  width: 100%;
  box-sizing: border-box;
}

/* Keep accepted blog bottom CTAs visible despite FAQ mid-CTA strip */
.ace-blog-close .lp-cta-row,
section.ace-blog-close .lp-cta-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.ace-blog-close .w-layout-blockcontainer.container:has(> .lp-cta-row),
.ace-blog-close .container:has(> .lp-cta-row),
section.ace-blog-close .w-layout-blockcontainer.container:has(> .lp-cta-row),
section.ace-blog-close .container:has(> .lp-cta-row) {
  display: block !important;
}



/* Home hero 20260915b: restore Book+Call + left-align copy AND CTAs on mobile */
.hero-section.is-home .hero-cta-row.lp-cta-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start !important;
  text-align: left !important;
}
.hero-section.is-home .hero-cta-row.lp-cta-row .embed-inline,
.hero-section.is-home .hero-cta-row.lp-cta-row .w-embed,
.hero-section.is-home .hero-cta-row.lp-cta-row .btn_orange,
.hero-section.is-home .hero-cta-row.lp-cta-row a {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.hero-section.is-home .container:has(.hero-cta-row.lp-cta-row),
.hero-section.is-home .w-layout-blockcontainer.container:has(.hero-cta-row.lp-cta-row) {
  display: block !important;
}
.hero-section.is-home .hero_content,
.hero-section.is-home .hero_content .h-1.is-max-copy,
.hero-section.is-home .hero_content .pre-head,
.hero-section.is-home .hero_content .text-span {
  text-align: left !important;
}
.hero-section.is-home .hero_content {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Non-link offer cards (div.ace-svc-card): no pointer affordance */
div.ace-svc-card {
  cursor: default !important;
  text-decoration: none !important;
}
div.ace-svc-card:hover {
  text-decoration: none !important;
}

/* ============================================================
   Visual audit fixes 2026-09-14 (staging)
   P0 contact Call Now overlap; P1 hello + call-bar safe area;
   P1 related full-width of article content.
   ============================================================ */

/* P0 — Contact mobile: Call Now is position:absolute at ≤479px and
   overlaps the phone line. Keep it in normal flow, stacked below. */
@media screen and (max-width: 767px) {
  .hero-section.is-form-new .hero_content.is-form {
    position: relative;
    padding-bottom: 0 !important;
  }
  .hero-section.is-form-new .btn_orange.top-48px.is-absolut,
  .hero-section.is-form-new .btn_orange.top-48px.is-absolut.shopgenie-book-appt-btn.is-form,
  .hero_content.is-form > a.btn_orange.top-48px.is-absolut {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.25em !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: auto;
  }
  .hero-section.is-form-new .contact-text.is-phone {
    margin-bottom: 0;
  }
  .hero-section.is-form-new .hero_content.is-form > .p-12px.is-max {
    margin-bottom: 0;
  }
}

/* P1 — Fixed orange call bar: ensure body/main clear last lines.
   Webflow already sets body padding-bottom:72px ≤991; reinforce with
   safe-area and apply to main wrapper too. */
@media screen and (max-width: 991px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  main.main-wrapper,
  .main-wrapper {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .footer-section {
    padding-bottom: 1.25em;
  }
  /* Soften floating hello: sit higher above the call bar */
  .ace-hello {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }
}


/* P1 — Related posts/services: span article content width (main + rail
   column) at desktop so lower article is not a skinny left strip. */
@media (min-width: 960px) {
  .ace-article-main > .ace-related {
    max-width: min(48em, 100%) !important;
    width: 100%;
    box-sizing: border-box;
  }
  /* Layout-level related spans full grid; card keeps readable max below */
  .ace-article-layout > aside.ace-related,
  .ace-article-layout > .ace-related {
    max-width: none !important;
    width: 100%;
    box-sizing: border-box;
  }
  /* When related is still nested in main, break out across the rail gap */
  .ace-article-layout > .ace-article-main > .ace-related {
    width: calc(100% + 16.5em + 2.5em);
    max-width: none !important;
  }
  /* When related is a direct layout child, span both columns */
  .ace-article-layout > .ace-related {
    grid-column: 1 / -1;
    max-width: none !important;
    width: 100%;
  }
  .ace-related .w-dyn-list,
  .ace-related .w-dyn-items,
  .ace-related .w-dyn-item,
  .ace-related .ace-blog-card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
  .ace-related .ace-blog-card {
    max-width: 42em;
  }
}


/* Soften hello on mobile with fixed call bar: hide card; launch keeps booking via head JS */
@media screen and (max-width: 991px) {
  .ace-hello .ace-hello-card {
    display: none !important;
  }
}


/* === Related posts fix 20260922 ===
   Blog Template: MultiReference `related` Collection List.
   Whole-card click via .ace-blog-title-link stretch; no fake Read more;
   responsive grid on .ace-related-items / fallback .w-dyn-items. */
.ace-related .ace-blog-card,
.ace-related .ace-related-card {
  position: relative;
  height: 100%;
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75em;
  background: #0a0a0a;
  padding: 1.25em 1.25em 1.375em;
  display: flex;
  flex-direction: column;
}
.ace-related .ace-blog-card:hover,
.ace-related .ace-related-card:hover {
  border-color: var(--orange, #f97316);
}
.ace-related .ace-blog-card:not(:has(.ace-blog-more))::after,
.ace-related .ace-related-card:not(:has(.ace-blog-more))::after {
  content: none !important;
  display: none !important;
}
.ace-related .ace-blog-title-link,
.ace-related a.ace-blog-title-link,
.ace-related a.lp-faq-q {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.5em;
  position: static;
}
.ace-related .ace-blog-title-link::after,
.ace-related a.ace-blog-title-link::after,
.ace-related .ace-blog-card > a.lp-faq-q::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.ace-related .ace-blog-card-excerpt,
.ace-related .lp-faq-a {
  position: relative;
  z-index: 0;
  margin: 0;
  font-size: 0.95em;
  line-height: 1.5;
  opacity: 0.9;
}
.ace-related-items,
.ace-related .w-dyn-items {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  width: 100%;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.ace-related .w-dyn-item,
.ace-related-items > .w-dyn-item {
  width: 100%;
  max-width: none;
  min-width: 0;
}
@media screen and (min-width: 768px) {
  .ace-related-items,
  .ace-related .w-dyn-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media screen and (min-width: 992px) {
  .ace-related-items,
  .ace-related .w-dyn-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .ace-article-layout > .ace-related,
  .ace-article-layout > aside.ace-related {
    grid-column: 1 / -1;
    max-width: none !important;
    width: 100%;
  }
}
