/* State Wide: responsive layout repairs. Loaded after the theme/Elementor styles. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body :is(.site-header, .site-footer) :is(.header-inner, .footer-inner, .site-branding, .site-navigation) {
  min-width: 0;
  max-width: 100%;
}
body :is(.site-header, .site-footer) :is(.site-title, .site-title a, .site-description) {
  overflow-wrap: anywhere;
}
body .elementor-widget-html,
body .elementor-widget-html .elementor-widget-container,
body .e-con,
body .e-con-inner,
body .elementor-column,
body .elementor-widget-wrap {
  min-width: 0;
}
body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) :is(section, div, nav, a, img, input, textarea, select, button) {
  box-sizing: border-box;
}
body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) :is(h1, h2, h3, p, li, a) {
  overflow-wrap: anywhere;
}
body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) :is(img, video) {
  max-width: 100%;
  height: auto;
}
body :is(main, .page-content, .entry-content, .elementor-widget-html) iframe {
  max-width: 100%;
}
body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) [style*="grid-template-columns"] > * {
  min-width: 0;
}
/* Existing custom menus live inside HTML widgets, separately from the theme menu. */
body .elementor-widget-html :is(div, nav):has(> a[href*="/projects"]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 24px;
  row-gap: 8px;
}
body .elementor-widget-html :is(div, nav):has(> a[href*="/projects"]) > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  text-align: center;
}
body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) a[href^="tel:"] {
  max-width: 100%;
}
/* Readable, keyboard-visible focus without changing the existing colors. */
body :is(main, .page-content, .entry-content, .elementor-widget-html, .site-header, .site-footer) a:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 4px;
}
body.page-id-346 :is(main, .page-content, .entry-content) section:last-child > ul {
  columns: 3 16rem;
  column-gap: 32px;
}
body.page-id-346 :is(main, .page-content, .entry-content) section:last-child > ul > li {
  break-inside: avoid;
  padding-block: 4px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  body .elementor-widget-html h1[style],
  body .swe-city-page h1[style] {
    font-size: clamp(32px, 4.5vw, 46px) !important;
    line-height: 1.2 !important;
  }
  body .elementor-widget-html h2[style] {
    font-size: clamp(28px, 3.6vw, 36px) !important;
    line-height: 1.25 !important;
  }
  body .elementor-widget-html section[style*="padding:140px"],
  body .elementor-widget-html section[style*="padding:120px"],
  body .elementor-widget-html section[style*="padding:100px"] {
    padding: 64px 28px !important;
  }
  body .elementor-widget-html [style*="grid-template-columns"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
  body .elementor-widget-html [style*="grid-template-columns"] > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  body .elementor-widget-html :is(div, nav):has(> a[href*="/projects"]) {
    column-gap: 18px !important;
    row-gap: 6px !important;
  }
}
@media (max-width: 767px) {
  body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) {
    max-width: 100%;
  }
  body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) h1 {
    font-size: clamp(28px, 7.5vw, 34px) !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
  }
  body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) h2 {
    font-size: clamp(23px, 6vw, 28px) !important;
    line-height: 1.3 !important;
  }
  body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) h3 {
    font-size: 21px !important;
    line-height: 1.35 !important;
  }
  body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) :is(p, li) {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
  body .elementor-widget-html section[style],
  body .swe-city-page section[style] {
    padding: 36px 20px !important;
  }
  body .elementor-widget-html [style*="grid-template-columns"],
  body :is(main, .page-content, .entry-content, .swe-city-page) [style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  body .elementor-widget-html [style*="grid-template-columns"] > *,
  body :is(main, .page-content, .entry-content, .swe-city-page) [style*="grid-template-columns"] > * {
    padding: 22px !important;
  }
  body .elementor-widget-html :is(div, nav):has(> a[href*="/projects"]) {
    column-gap: 16px !important;
    row-gap: 4px !important;
    padding-top: 4px !important;
  }
  body .elementor-widget-html :is(div, nav):has(> a[href*="/projects"]) > a {
    font-size: 16px !important;
    line-height: 1.35 !important;
    padding-block: 8px;
  }
  body .elementor-widget-html :is(div, nav):has(> a[href*="/projects"]) > a[href^="tel:"] {
    flex-basis: 100%;
    max-width: 280px;
    margin-inline: 20px;
    margin-top: 8px;
  }
  /* Branding remains above the menu, at a size that leaves room for navigation. */
  body .elementor-widget-html section:has(a[href*="/projects"]) img {
    max-width: 180px !important;
  }
  body .elementor-widget-html section:has(a[href*="/projects"]) h1 {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.2 !important;
  }
  body .elementor-widget-html section:has(a[href*="/projects"]) {
    padding-block: 20px !important;
  }
  body :is(main, .page-content, .entry-content, .elementor-widget-html, .swe-city-page) a[style*="display:inline-block"] {
    font-size: 17px !important;
    line-height: 1.4 !important;
    padding: 14px 20px !important;
    min-height: 48px;
    white-space: normal;
    text-align: center;
    margin-bottom: 8px;
  }
  body :is(main, .page-content, .entry-content) :is(input, textarea, select) {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }
  body :is(main, .page-content, .entry-content) :is(button, input[type="submit"]) {
    min-height: 48px;
  }
  body nav[aria-label="Service area navigation"] {
    padding: 20px !important;
  }
  body nav[aria-label="Service area navigation"] a,
  body.page-id-346 :is(main, .page-content, .entry-content) li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 6px;
  }
  body.page-id-346 :is(main, .page-content, .entry-content) section:last-child > ul {
    columns: 1;
  }
  body :is(.site-header, .site-footer) :is(.site-title, .site-title a) {
    font-size: 21px !important;
    line-height: 1.3 !important;
  }
  body :is(.site-header, .site-footer) .site-description {
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: 100%;
  }
  body .site-header .header-inner {
    padding-inline: 20px;
    flex-wrap: wrap;
  }
  body .site-header .site-branding {
    max-width: calc(100% - 60px);
    flex-shrink: 1;
  }
  body .site-header .site-navigation-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}
@media (max-width: 359px) {
  body .elementor-widget-html section[style],
  body .swe-city-page section[style] {
    padding-inline: 16px !important;
  }
  body .elementor-widget-html :is(div, nav):has(> a[href*="/projects"]) {
    column-gap: 12px !important;
  }
}
