/* Homepage-only styling, preserving theme palette and mobile logo sizing. */
@media (min-width: 992px) {
  .ste-home-repairs #gt-header .brand-logo img { width: 180px; max-width: 180px; height: auto; }
}
.ste-home-repairs #ste-primary-navigation[hidden] { display: none !important; }
.ste-home-repairs #ste-primary-navigation {
  position: fixed; z-index: 100001; inset: 100px 20px auto auto;
  width: min(360px, calc(100vw - 40px)); max-height: calc(100dvh - 120px);
  overflow-y: auto; padding: 24px; background: #fff; color: #17191c;
  border-radius: 13px; box-shadow: 0 8px 35px #0003; direction: ltr; text-align: left;
}
.ste-home-repairs #ste-primary-navigation ul { list-style: none; margin: 0; padding: 0; }
.ste-home-repairs #ste-primary-navigation .sub-menu { padding-inline-start: 20px; }
.ste-home-repairs #ste-primary-navigation a { display: block; padding: 8px 4px; color: inherit; overflow-wrap: anywhere; }
.ste-home-repairs #ste-primary-navigation a:focus-visible,
.ste-home-repairs #gt-header button:focus-visible { outline: 3px solid var(--gt-main, #5b00f0); outline-offset: 3px; }
.ste-home-repairs .ste-footer-logo { width: 178px; max-width: 100%; height: auto; }
/* GSAP's horizontal blog entrance can push cards beyond narrow viewports. */
@media (max-width: 767px) {
  .ste-home-repairs .gt-blog-item-2 .blog-text .blog_title { font-size: 24px; overflow-wrap: anywhere; }
  .ste-home-repairs .gt-blog-item-2 .blog-img .date-meta { left: 12px; right: auto; max-width: calc(100% - 24px); }
}
.ste-home-repairs .gt-blog-item-2 .blog-img { display: block; width: 100%; }
.ste-home-repairs .gt-blog-item-2 .blog-img img { display: block; width: 100%; height: auto; aspect-ratio: 398 / 317; object-fit: cover; }

/* The fallback header hides its only Menu button at desktop breakpoints. */
.ste-home-repairs #gt-header .header-cta-btn .mobile-menu-btn { display: block; padding: 12px 24px; }
.ste-home-repairs #gt-header .header-cta-btn { padding-right: 0; }
@media (min-width: 768px) and (max-width: 991px) {
  .ste-home-repairs #gt-header .brand-logo { max-width: 180px; }
}

/* Keep the fallback header in flow so it cannot cover the search controls. */
.ste-home-repairs #gt-header { position: relative; top: auto; padding-top: 20px; padding-bottom: 20px; }
/* Keep blog cards inside their columns even before scroll animations settle. */
.ste-home-repairs .gt-blog-item-2 { transform: none !important; }

/* Editorial-page navigation keeps the desktop menu where it fits. */
.ste-public-repairs .ste-brand-logo { max-width: 100%; height: auto; }
.ste-public-repairs #gt-header .main-navigation li { margin-inline: 10px; }
.ste-public-repairs #gt-header .main-navigation li a { font-size: 15px; }
.ste-public-repairs #gt-header .main-navigation { min-width: 0; }
.ste-public-repairs #gt-header .header-cta-btn { flex-shrink: 0; }
@media (min-width: 1200px) {
  .ste-public-repairs #gt-header.ste-has-desktop-navigation .mobile-menu-btn { display: none; }
  .ste-public-repairs #gt-header.header_style_one { padding-inline: 30px; }
}
@media (max-width: 1199px) {
  .ste-public-repairs #gt-header .main-navigation { display: none; }
  .ste-public-repairs #gt-header .mobile-menu-btn { display: block; }
  .ste-public-repairs #gt-header .header-cta-btn > a,
  .ste-public-repairs #gt-header .search-btn { display: none; }
}
.ste-public-repairs a[href^="tel:"], .ste-public-repairs a[href^="mailto:"],
.ste-public-repairs time, .ste-public-repairs .date-meta, .ste-public-repairs .blog-meta { direction: ltr; unicode-bidi: isolate; }
.ste-public-repairs .gt-blog-list-item img, .ste-public-repairs .gt-blog-details-thumb-img img { max-width: 100%; height: auto; }
.ste-public-repairs .gt-blog-details-text-wrap, .ste-public-repairs .blog_title { overflow-wrap: anywhere; }
.ste-public-repairs .ste-blog-placeholder { min-height: 200px; display: grid; place-items: center; background: #17191c; border-radius: 12px; }
.ste-public-repairs .ste-blog-placeholder img { width: 180px; height: auto; object-fit: contain; }
.ste-public-repairs #ste-primary-navigation ul[hidden] { display: none !important; }
@media (max-width: 767px) {
  .ste-public-repairs .appear_left, .ste-public-repairs .appear_right { transform: none !important; }
  .ste-public-repairs .gt-blog-list-item .blog_title { font-size: 28px; }
  .ste-public-repairs #gt-header .brand-logo { max-width: 140px; }
  .ste-public-repairs #gt-header .brand-logo img { max-width: 100%; height: auto; }
}
.ste-public-repairs .blog-author { min-width: 0; max-width: 100%; }
.ste-public-repairs .blog-author .inner-text { min-width: 0; overflow-wrap: anywhere; }
.ste-public-repairs .blog-meta-author { gap: 12px; }
.ste-public-repairs .gt-contact-info-item .inner-text p { overflow-wrap: anywhere; }
.ste-public-repairs #gt-header .main-navigation > ul > li > a { color: #17191c; }
.ste-public-repairs #gt-header .main-navigation > ul > li > a:hover,
.ste-public-repairs #gt-header .main-navigation > ul > li > a:focus-visible { color: var(--gt-main, #5b00f0); }
.ste-public-repairs .ste-static-brand { white-space: normal; display: inline; }
