/* ============================================================================
   Star Motors — standalone responsive enhancement layer
   Shared, reproducible overrides injected on every page by localize.py.
   Goals: fix header logo clipping + nav/CTA overflow (root causes), add a
   content-fit breakpoint, polish desktop/tablet/mobile header, and remove
   sitewide horizontal overflow — WITHOUT changing markup, nav labels,
   destinations, SEO content, or tracking selectors.
   Root causes addressed:
   1) .w-image.ush_image_1 had margin-left:-200px -> logo pushed off-screen.
   2) WPBakery .g-cols.vc_row uses margin:0 -27px gutters; a padding-less
      .l-section-h let that gutter overflow the viewport (homepage section).
   3) The full desktop nav (10 items) needs ~1550px; the theme kept it until
      ~1280px, so it overflowed/clipped the CTA on laptops.
   ============================================================================ */

/* ---- 0. Contain WPBakery negative-gutter overflow (clip, not hidden: keeps
        position:sticky working and does not hide real content — the columns
        carry compensating padding, only the gutter is clipped). ---- */
html { overflow-x: clip; }
.l-canvas, .l-main, .l-section, .l-section-h, .g-cols.vc_row { max-width: 100%; }
.g-cols.vc_row { margin-left: 0 !important; margin-right: 0 !important; }
.g-cols.vc_row > [class*="vc_col"] { } /* keep column padding as-is */

/* ---- 1. LOGO: remove the -200px left margin; keep fully visible, left-aligned,
        aspect-ratio preserved. Applies in both desktop and mobile header. ---- */
.l-subheader.at_middle .w-image.ush_image_1 { margin: 0 !important; }
.l-subheader.at_middle .w-image.ush_image_1 .w-image-h { display: inline-flex; align-items: center; }
.l-subheader.at_middle .w-image.ush_image_1 img {
  height: clamp(42px, 4.2vw, 58px);
  width: auto;
  max-width: 100%;
  display: block;
}

/* ---- 2. HEADER LAYOUT: clean 3-region flex row (logo | nav | CTA), non-overlapping.
        The nav cell grows but min-width:0 + the JS content-fit guard (see sm-enhance.js)
        switch to the hamburger BEFORE the nav can collide with the CTA. ---- */
.l-subheader.at_middle .l-subheader-h,
.l-subheader.at_top .l-subheader-h {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding-left: clamp(10px, 1.6vw, 40px);
  padding-right: clamp(10px, 1.6vw, 40px);
  box-sizing: border-box;
  gap: clamp(6px, 0.7vw, 22px);
}
.l-subheader.at_middle .l-subheader-cell.at_left  { flex: 0 0 auto; min-width: 0; margin-right: clamp(4px, 0.6vw, 18px); }
.l-subheader.at_middle .l-subheader-cell.at_center { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
.l-subheader.at_middle .l-subheader-cell.at_right  { flex: 0 0 auto; }

/* ---- 3. DESKTOP NAV (>=1281px, where the theme's own drawer hands off at <=1280).
        Fluid font/padding sized so all 9 items + logo + CTA clear each other from 1281px up.
        Collision-free range verified empirically (header_collision_sweep). ---- */
@media (min-width: 1281px) {
  .w-nav .w-nav-list.level_1 { display: flex !important; flex-wrap: nowrap; align-items: center; }
  .w-nav .w-nav-list.level_1 > .menu-item:not(.sm-drawer-cta) > .w-nav-anchor {
    /* larger, bolder nav: ~13px at the 1281 fit-limit, up to 16px on large desktop */
    padding-left: clamp(5px, 0.72vw, 19px);
    padding-right: clamp(5px, 0.72vw, 19px);
    font-size: clamp(12.5px, 1.0vw, 18px);
    letter-spacing: .02em;
    white-space: nowrap;
  }
  .w-nav .w-nav-control { display: none !important; }
  .l-subheader.at_middle .shopgenie-book-appt-btn { white-space: nowrap; }
  .sm-drawer-cta { display: none !important; } /* drawer-only CTA never shows in the horizontal desktop nav */
  /* LARGER, more prominent Schedule Appointment button: ~46-52px tall, ~210-240px wide on large
     desktop; shrinks to fit at the 1281 limit. */
  .l-subheader.at_middle .shopgenie-book-appt-btn {
    padding: clamp(11px, 1.05vw, 16px) clamp(11px, 1.35vw, 34px) !important;
    font-size: clamp(13px, 0.86vw, 16px) !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
  }
  .l-subheader.at_middle .shopgenie-book-appt-btn:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(192,57,43,.3); }
  .l-subheader.at_middle .shopgenie-book-appt-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  /* LARGER logo: ~140px at the 1281 fit-limit, up to ~200px visible width on large desktop (2.79:1 SVG) */
  .l-subheader.at_middle .w-image.ush_image_1 img { height: clamp(54px, 4.35vw, 98px) !important; }
  /* keyboard focus for nav links */
  .w-nav .w-nav-list.level_1 .w-nav-anchor:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
}

/* ---- 4. COMPACT / DRAWER MODE (<=1280px): theme switches to its working off-canvas drawer. ---- */
@media (max-width: 1280px) {
  .w-nav .w-nav-list.level_1.hide_for_mobiles { display: none !important; }
  .w-nav .w-nav-control { display: inline-flex !important; align-items: center; justify-content: center; }
}

/* ---- 5. SCHEDULE CTA: never overflow; graceful shrink. ---- */
.l-subheader.at_middle .shopgenie-book-appt-btn {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- 6. MOBILE / TABLET HEADER (<=1280px): logo | flexible space | Call Us | hamburger. ---- */
@media (max-width: 1280px) {
  .l-subheader.at_middle .l-subheader-h {
    justify-content: flex-start; gap: 10px; position: relative;
    padding-left: clamp(12px, 4vw, 28px); padding-right: clamp(12px, 4vw, 28px);
  }
  .l-subheader.at_middle .l-subheader-cell.at_left   { flex: 0 1 auto; }
  .l-subheader.at_middle .l-subheader-cell.at_center { display: none; } /* desktop nav list lives in the drawer */
  .l-subheader.at_middle .l-subheader-cell.at_right { position: static; }
  .l-subheader.at_middle .l-subheader-cell.at_right > .w-btn { display: none; } /* Schedule CTA offered in drawer */
  .l-subheader.at_middle .l-subheader-cell.at_right .w-nav { width: auto !important; margin: 0 !important; }
  /* Burger absolutely anchored at the far right of the header row (reliable regardless of the
     theme's full-width .spread nav). */
  .l-subheader.at_middle .w-nav .w-nav-control {
    position: absolute; top: 50%; right: clamp(12px, 4vw, 28px); transform: translateY(-50%);
    min-width: 48px; min-height: 48px; margin: 0 !important; z-index: 20;
    display: flex; align-items: center; justify-content: center;
  }
  /* Call Us absolutely anchored immediately LEFT of the burger (48px burger + inset + 12px gap). */
  .sm-callus {
    position: absolute; top: 50%; transform: translateY(-50%);
    right: calc(48px + clamp(12px, 4vw, 28px) + 12px); z-index: 19;
    display: inline-flex; align-items: center; gap: 6px;
    background: #c0392b; color: #fff !important; text-decoration: none; font-weight: 700;
    font-family: proxima-nova, sans-serif; text-transform: uppercase; letter-spacing: .34px;
    font-size: clamp(12px, 3.6vw, 14px); line-height: 1; white-space: nowrap;
    padding: 0 clamp(11px, 3vw, 15px); height: 44px; min-height: 44px; border-radius: 7px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
  }
  .sm-callus .sm-callus-ic { flex: 0 0 auto; }
  .sm-callus:active { background: #a92f22; }
  /* slightly smaller logo on very small screens so the trio fits at 320px */
  .l-subheader.at_middle .w-image.ush_image_1 img { height: clamp(40px, 11vw, 54px); }
}
@media (max-width: 360px) {
  /* tighten (but keep the label) on the narrowest phones so the trio still fits */
  .sm-callus { padding: 0 10px; font-size: 12px; gap: 5px; }
  .l-subheader.at_middle .l-subheader-h { gap: 6px; padding-left: 10px; padding-right: 10px; }
}
/* Call Us is a mobile-only control */
@media (min-width: 1281px) { .sm-callus { display: none !important; } }

/* ---- 7. Burger base ---- */
.w-nav-control { position: relative; cursor: pointer; }

/* ---- 8. MOBILE DRAWER: dedicated close-button area at the top; nav items start below it;
        internal scroll; safe-area aware. ---- */
@media (max-width: 1280px) {
  /* Nav items begin ~80-100px down, below the X control area (no overlap). */
  html.w-nav-open .w-nav-list.level_1 {
    box-sizing: border-box;
    padding-top: calc(clamp(80px, 14vw, 100px) + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    max-height: 100vh; max-height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  /* X close control: independent, top-right of the drawer, 20-24px inset, >=44px target. */
  html.w-nav-open .w-nav .w-nav-control {
    position: fixed !important;
    top: calc(20px + env(safe-area-inset-top, 0px)) !important;
    right: calc(22px + env(safe-area-inset-right, 0px)) !important;
    transform: none !important;
    width: 48px !important; height: 48px !important; z-index: 10001 !important;
  }
  /* keep the Call Us button out of the open drawer composition */
  html.w-nav-open .sm-callus { display: none !important; }
  /* comfortable touch targets + consistent spacing between drawer items */
  .w-nav .menu-item > .w-nav-anchor { min-height: 46px; display: flex; align-items: center; }
}

/* ---- 9. STICKY header: consistent height, readable; avoid content jump. ---- */
.l-header.sticky, .l-header[class*="sticky"] { box-shadow: 0 2px 18px rgba(0,0,0,.14); }

/* ============================================================================
   SITEWIDE RESPONSIVE QUALITY PASS
   ============================================================================ */

/* media never overflows / distorts */
img, video, iframe, svg, canvas { max-width: 100%; }
img:not([width]):not([height]) { height: auto; }
.wpb_video_wrapper, .w-video, .ush_video_1, figure.wp-block-embed__wrapper { max-width: 100%; }
iframe[src*="youtube"], iframe[src*="vimeo"], iframe[src*="google.com/maps"] {
  max-width: 100%;
}
/* responsive video embeds keep aspect ratio */
.wpb_video_wrapper iframe, .fluid-width-video-wrapper { width: 100% !important; }

/* tables scroll instead of overflowing the page */
.l-main table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* buttons never clip their labels / overflow containers */
.w-btn { max-width: 100%; }
.w-btn .w-btn-label { white-space: normal; }

/* long words / URLs wrap instead of forcing overflow */
.l-section-h p, .l-section-h li, .w-text-h, .entry-content { overflow-wrap: break-word; word-break: break-word; }

/* WPBakery full-width rows / columns stay inside the viewport */
.vc_row, .wpb_row, .g-cols { max-width: 100%; }
.vc_column-inner, .wpb_column { min-width: 0; }

/* footer: prevent overflow, keep logo sized, stack cleanly on small screens */
.l-footer .l-subheader-h { max-width: 1760px; margin: 0 auto; padding-left: clamp(16px,4vw,54px); padding-right: clamp(16px,4vw,54px); box-sizing: border-box; }
.l-footer img { max-width: 100%; height: auto; }
@media (max-width: 600px) {
  .l-footer .g-cols { gap: 8px; }
}

/* forms: inputs never overflow their container */
.wpforms-form input, .wpforms-form textarea, .wpforms-form select,
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  max-width: 100%;
  box-sizing: border-box;
}

/* ============================================================================
   HOMEPAGE HERO (scoped to body.home only)
   - Desktop: full-bleed (remove the ~27px side gutters); preserve transparent header overlay.
   - Mobile: show the DESKTOP team photo (hero artwork) instead of the building image, placed
     below the header, aspect-ratio preserved, with a centered red booking button (ShopGenie).
   ============================================================================ */

/* FULL-BLEED AT EVERY WIDTH (continuous — one ruleset, no breakpoint gaps). The hero section is
   already full viewport width; the IMAGE was constrained to the content container, leaving gutters.
   Here the container + column + image are all forced to 100%, so the hero spans edge to edge at
   every width while resizing. */
body.home .hm-slider { overflow: hidden; margin-bottom: 0 !important; }
body.home .hm-slider .l-section-h { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; width: 100% !important; }
body.home .hm-slider .g-cols.vc_row { margin-left: 0 !important; margin-right: 0 !important; }
body.home .hm-slider .vc_col-sm-12 > .vc_column-inner { padding-left: 0 !important; padding-right: 0 !important; }
body.home .hm-slider .w-image, body.home .hm-slider .w-image-h { width: 100%; display: block; margin: 0 !important; }
body.home .hm-slider .w-image img { width: 100%; height: auto; display: block; }
/* eliminate any gap between the hero and the following (video) section */
body.home .hm-slider + .l-section { margin-top: 0 !important; }

/* ART-DIRECTED MOBILE/TABLET HERO (<=1024px): full-bleed team photo + headline below the header,
   on a complementary dark backdrop, with the red ShopGenie CTA integrated into the composition. */
@media (max-width: 1024px) {
  body.home .hm-slider {
    background: #202327; /* complementary dark garage tone -> cohesive composition, no white gaps */
    padding-top: 58px;  /* clear the transparent overlay header */
    padding-bottom: 0;
  }
  /* reveal the desktop team-photo column full-bleed (theme hides it with vc_hidden-xs) */
  body.home .hm-slider .vc_col-sm-12.vc_hidden-xs { display: block !important; width: 100% !important; }
  body.home .hm-slider .vc_col-sm-12.vc_hidden-xs .vc_column-inner { padding: 0 !important; }
  body.home .hm-slider .vc_col-sm-12.vc_hidden-xs .w-image img {
    width: 100%; height: auto; display: block; /* full image, no crop/stretch, aspect preserved */
  }
  /* mobile building-image column -> just the centered CTA band on the dark backdrop */
  body.home .hm-slider .vc_column-overlay { display: none !important; }
  body.home .hm-slider .us_custom_f9815e7b,
  body.home .hm-slider .vc_col-sm-12.vc_hidden-lg .vc_column-inner {
    background: transparent !important; min-height: 0 !important;
    padding: 16px 16px 20px !important;
  }
  body.home .hm-slider .vc_col-sm-12.vc_hidden-lg .w-separator { display: none !important; }
  body.home .hm-slider .w-btn-wrapper.align_center { text-align: center; margin: 0 auto; }
  body.home .hm-slider .slider-btn.shopgenie-book-appt-btn {
    display: inline-flex !important; align-items: center; justify-content: center;
    background: #c0392b !important; color: #fff !important;
    padding: 15px 34px !important; font-size: 17px !important; font-weight: 700 !important;
    border-radius: 8px !important; box-shadow: 0 6px 18px rgba(0,0,0,.28); letter-spacing: .02em;
  }
}

/* ============================================================================
   REVIEWS PAGE (native authentic-review experience; brand blue/red/charcoal/white)
   ============================================================================ */
.sm-reviews { --sm-blue:#2f5e8d; --sm-red:#c0392b; --sm-charcoal:#23272b; --sm-gold:#f5a623;
  max-width: 1200px; margin: 10px auto 0; padding: 0 16px; box-sizing: border-box; }
.sm-stars { color: var(--sm-gold); letter-spacing: 2px; font-size: 16px; line-height: 1; }

/* summary band */
.sm-reviews-summary {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center;
  background: linear-gradient(135deg, #2f5e8d 0%, #23384f 100%); color: #fff;
  border-radius: 14px; padding: 26px 30px; margin: 8px 0 34px; text-align: center;
}
.sm-reviews-summary .sm-sum-score { font-size: 54px; font-weight: 800; line-height: 1; }
.sm-reviews-summary .sm-sum-meta { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.sm-reviews-summary .sm-stars { font-size: 20px; }
.sm-reviews-summary .sm-sum-count { font-weight: 700; font-size: 16px; }
.sm-reviews-summary .sm-sum-g { opacity: .85; font-size: 13px; letter-spacing: .03em; }

/* responsive grid: 3 desktop / 2 tablet / 1 mobile */
.sm-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 992px) { .sm-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sm-reviews-grid { grid-template-columns: 1fr; } }

.sm-review-card {
  background: #fff; border: 1px solid #e7e9ee; border-radius: 14px; padding: 22px 22px 18px;
  box-shadow: 0 2px 10px rgba(20,30,50,.05); display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sm-review-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,30,50,.12); border-color: #d7dbe3; }
.sm-review-text { color: #33383f; font-size: 15.5px; line-height: 1.6; margin: 0; flex: 1 1 auto; }
.sm-review-foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid #eef0f4; padding-top: 14px; position: relative; }
.sm-review-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sm-blue), #23384f); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; letter-spacing: .5px; }
.sm-review-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sm-review-name { font-weight: 700; color: var(--sm-charcoal); font-size: 15px; }
.sm-review-src { color: #7a828c; font-size: 12.5px; }
.sm-review-g {
  margin-left: auto; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1px solid #e2e5ea; color: #4285F4; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.sm-reviews-label { text-align: center; color: #6b727b; font-size: 14px; margin: 0 0 22px; }

/* buttons */
.sm-btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
  padding: 13px 26px; border-radius: 9px; text-decoration: none; transition: all .16s ease; font-size: 15px; }
.sm-btn-red { background: var(--sm-red); color: #fff; }
.sm-btn-red:hover { background: #a92f22; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(192,57,43,.3); }
.sm-btn-ghost { background: #fff; color: var(--sm-blue); border: 2px solid var(--sm-blue); }
.sm-btn-ghost:hover { background: var(--sm-blue); color: #fff; transform: translateY(-2px); }
.sm-reviews-summary .sm-btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }
.sm-reviews-summary .sm-btn-ghost:hover { background: #fff; color: var(--sm-blue); }

.sm-reviews-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 38px 0 6px; }

/* bottom scheduling CTA */
.sm-reviews-cta { text-align: center; background: var(--sm-charcoal); color: #fff; border-radius: 16px;
  padding: 44px 24px; margin: 44px 0 10px; }
.sm-reviews-cta .sm-cta-h { color: #fff !important; margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); }
.sm-reviews-cta .sm-cta-p { color: #c7ccd3; margin: 0 0 22px; font-size: 16px; }
.sm-reviews-cta .sm-btn-red { padding: 15px 36px; font-size: 16px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================================
   REFINEMENTS (accessibility widget position, homepage container, reviews heading)
   ============================================================================ */

/* ---- Accessibility widget (accessible-poetry plugin toggler) -> true bottom-left.
        It currently sits ~120px above the bottom. Pin it to ~18px with safe-area insets. ---- */
#acwp-toolbar-btn-wrap, #acwp-toolbar-btn-wrap.show {
  position: fixed !important;
  left: calc(18px + env(safe-area-inset-left, 0px)) !important;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  top: auto !important; right: auto !important;
}

/* ---- Homepage: consistent horizontal content container for all sections BELOW the hero.
        The hero (.hm-slider) stays full-bleed; full-width section backgrounds remain full-width —
        only their inner content container is normalized to shared boundaries + fluid padding. ---- */
body.home .l-main > .l-section:not(.hm-slider) > .l-section-h {
  max-width: 1360px;
  margin-left: auto; margin-right: auto;
  padding-left: clamp(16px, 4.2vw, 64px) !important;
  padding-right: clamp(16px, 4.2vw, 64px) !important;
  box-sizing: border-box;
}
/* keep equal-width benefit cards / grids inside the normalized container */
body.home .l-main > .l-section:not(.hm-slider) .g-cols.vc_row { margin-left: 0 !important; margin-right: 0 !important; }

/* ---- Reviews page heading: large, bold, prominent single H1; responsive. ---- */
.l-main h1 { overflow-wrap: break-word; }
body:not(.home) .l-main h1,
.single .l-main h1 { }
.l-main .l-section:first-child h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
}

/* ---- Reviews page whitespace fix: theme sets .l-main margin-top ~190px (header 130 + 60 excess)
        + the section used ~72px + ~130px padding, pushing the heading ~260px down. Keep just enough
        reserve to clear the fixed header + a modest gap. Scoped via the injected .sm-reviews. ---- */
.l-main:has(.sm-reviews) { margin-top: clamp(92px, 9.6vw, 144px) !important; }
.l-main .l-section:has(.sm-reviews) {
  padding-top: clamp(16px, 2vw, 28px) !important;
  padding-bottom: clamp(32px, 4vw, 56px) !important;
}
.l-main .l-section:has(.sm-reviews) > .l-section-h { padding-top: 0 !important; }

/* Align the reviews-page heading's left edge with the review content (summary/cards),
   which sit in a max-width:1200px centered container with 16px side padding. */
.l-main .l-section:has(.sm-reviews) h1 {
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
  padding-left: 16px; padding-right: 16px;
  box-sizing: border-box;
}

/* ============================================================================
   HOMEPAGE MOBILE (<=767px) TWEAKS
   1) Remove the vertical space directly above/below the intro video.
   2) Center everything in the "WHY ARE WE THE BEST..." features section.
   ============================================================================ */
@media (max-width: 767px) {
  /* 1) Video section (.hm-exp): collapse ALL vertical spacing around the Vimeo
        iframe — the section padding, the section container padding, BOTH columns'
        inner padding, and the text/wrapper/paragraph margins — so the video sits
        flush against the intro text above it and the features section below. */
  body.home .hm-exp.height_small { padding-top: 0 !important; padding-bottom: 0 !important; }
  body.home .hm-exp > .l-section-h { padding-top: 0 !important; padding-bottom: 0 !important; }
  body.home .hm-exp .vc_column-inner { padding-top: 0 !important; padding-bottom: 0 !important; }
  /* kill the trailing space under the intro text column (sits above the video) */
  body.home .hm-exp .hm-exp-txt-col .wpb_wrapper > *:last-child,
  body.home .hm-exp .hm-exp-txt-col p:last-child { margin-bottom: 0 !important; }
  /* kill every margin in the video column so the iframe is flush top and bottom */
  body.home .hm-exp .hm-exp-vid-col .wpb_text_column,
  body.home .hm-exp .hm-exp-vid-col .wpb_wrapper { margin: 0 !important; }
  body.home .hm-exp .hm-exp-vid-col p { margin: 0 !important; line-height: 0; }
  body.home .hm-exp .hm-exp-vid-col iframe { display: block; }

  /* 2) Features section (.hm-features): center the heading and every benefit card. */
  body.home .hm-features,
  body.home .hm-features .wpb_text_column,
  body.home .hm-features .wpb_wrapper,
  body.home .hm-features .feat { text-align: center !important; }
  body.home .hm-features .feat-img,
  body.home .hm-features .feat-img img { margin-left: auto !important; margin-right: auto !important; }
  body.home .hm-features .hm-feat.g-cols { justify-content: center !important; align-items: center !important; }
  body.home .hm-features .hm-feat.g-cols > [class*="vc_col"] { float: none !important; margin-left: auto !important; margin-right: auto !important; }
}

/* 4 benefit cards centered on the home page at all widths (desktop + mobile) */
body.home .hm-features .hm-feat.g-cols { justify-content: center !important; }
body.home .hm-features .feat { text-align: center !important; }
body.home .hm-features .feat-img,
body.home .hm-features .feat-img img { margin-left: auto !important; margin-right: auto !important; }
