/* S&W Auto Service Center — Konstra brand overrides */
:root{--swauto-orange:#f06000;--swauto-blue:#0070a0;--swauto-gray:#b0b0b0;--swauto-black:#000000;--swauto-white:#ffffff;}
.sppb-btn:not(.sppb-btn-default):before{background-color:var(--swauto-orange)!important;}
.sppb-btn:not(.sppb-btn-default):hover:before,.sppb-btn:not(.sppb-btn-default):focus:before{background-color:var(--swauto-blue)!important;}
.offcanvas-body .mega-menu .menu li.active>a,.offcanvas-body .mega-menu .menu>li>a:hover,.offcanvas-body .mega-menu .menu>li>a:focus,.offcanvas-body .mega-menu .menu li.menu-parent:hover>a{color:var(--swauto-orange)!important;}
.offcanvas-body .mega-menu .menu li.menu-parent>a:hover:after,.offcanvas-body .mega-menu .menu li.menu-parent>a:focus:after{color:var(--swauto-blue)!important;}
a:hover,a:focus{color:var(--swauto-blue);}
.text-stroke .sppb-addon-title{-webkit-text-stroke:1px var(--swauto-orange)!important;}
/* S&W Services navigation */
.services-menu{background:var(--swauto-orange)!important;}
.services-menu .mod-menu>li>a{color:var(--swauto-white)!important;}
.services-menu .mod-menu>li.current>a{color:var(--swauto-black)!important;}
.services-menu .mod-menu>li.current:after{border-bottom-color:var(--swauto-white)!important;}

/* S&W Auto Service Tips cleanup */
body.itemid-115 .article-info .published,
body.itemid-115 .article-info .hits { display: none !important; }

/* S&W home slide contrast */
#sp-slider-item-1553258972243-num-0-key .sp-background,
#sp-slider-item-1553258972243-num-1-key .sp-background,
#sp-slider-item-1553258972243-num-2-key .sp-background,
#sp-slider-item-1553258972243-num-3-key .sp-background {
  background-color: rgba(0, 0, 0, 0.62);
  background-blend-mode: multiply;
}


/* S&W divider cleanup: remove decorative vertical guide lines. */
.border-div { display: none !important; }

/* SWAUTO_DROPDOWN_LAYER_START */
#swauto-primary-nav details {
  z-index: 10010 !important;
}
#swauto-primary-nav .swauto-dropdown {
  top: 58px !important;
  z-index: 10020 !important;
}
@media (max-width: 600px) {
  #swauto-primary-nav .swauto-dropdown {
    top: 50px !important;
  }
}
/* SWAUTO_DROPDOWN_LAYER_END */

/* SWAUTO_CONTACT_VISIBILITY_START */
body.swauto-page.swauto-page-contact #sp-main-body #sp-page-builder.sp-page-builder.page-3 > .page-content > .sppb-section {
  display: block !important;
}
/* SWAUTO_CONTACT_VISIBILITY_END */


/* SWAUTO_TIMELINE_LAYOUT_START
   Dedicated-preview Home and News Facebook timeline layout. */
@media (min-width: 992px) {
  /* Home: hero first, then 75% content alongside a 25% timeline sidebar. */
  body.itemid-101 #sp-main-body > .row {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
    align-items: start;
  }
  body.itemid-101 #sp-main-body > .row > #sp-component,
  body.itemid-101 #sp-main-body > .row > #sp-component > .sp-column,
  body.itemid-101 #sp-main-body > .row > #sp-component > .sp-column > #sp-page-builder,
  body.itemid-101 #sp-main-body > .row > #sp-component > .sp-column > #sp-page-builder > .page-content {
    display: contents !important;
  }
  body.itemid-101 #sp-main-body #sp-page-builder > .page-content > .sppb-section:first-child {
    grid-column: 1 / -1;
  }
  body.itemid-101 #sp-main-body #sp-page-builder > .page-content > .sppb-section:not(:first-child) {
    grid-column: 1;
  }
  body.itemid-101 #sp-main-body > .row > #sp-right {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
  }

  /* News: one centered feed column at quarter page width. The html prefix outranks the later Helix inline rule. */
  html body.itemid-320 #vcsfb-timeline-140 {
    width: 25% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.itemid-320 #vcsfb-timeline-140 .vcsfb-timeline__posts {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Portrait reels: center them and keep the full frame visible with native controls. */
body.itemid-101 #vcsfb-timeline-139 .vcsfb-post__video,
body.itemid-320 #vcsfb-timeline-140 .vcsfb-post__video {
  display: flex;
  justify-content: center;
}
body.itemid-101 #vcsfb-timeline-139 .vcsfb-post__reel {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 560px !important;
  object-fit: contain;
}
body.itemid-320 #vcsfb-timeline-140 .vcsfb-post__reel {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 680px !important;
  object-fit: contain;
}
@media (max-width: 991.98px) {
  body.itemid-101 #vcsfb-timeline-139 .vcsfb-post__reel,
  body.itemid-320 #vcsfb-timeline-140 .vcsfb-post__reel {
    max-height: 520px !important;
  }
}
/* SWAUTO_TIMELINE_LAYOUT_END */

/* SWAUTO_DESKTOP_LOGO_LEFT_START */
@media (min-width: 992px) {
  #sp-header .row > #sp-logo {
    grid-column: 1 !important;
    justify-self: start !important;
    margin-left: 24px !important;
  }
  #sp-header #sp-logo .sp-column {
    justify-content: flex-start !important;
  }
}
/* SWAUTO_DESKTOP_LOGO_LEFT_END */
