/* Remove the theme's width cap from the outer page and post wrappers. */
body main.site-main:is(.type-page, .type-post) {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

/* Keep the post title and article aligned with the same responsive gutter. */
body main.site-main.type-post > :is(.page-header, .page-content) {
  padding-inline: clamp(10px, 2vw, 32px);
}

body main.site-main.type-post .page-header .entry-title {
  max-width: none;
  padding-inline: 0;
}

body .elementor-location-single > .elementor-element-e8c2f39 {
  padding-inline: 0;
}

/* Entrance effects can move template artwork outside the viewport. */
body .elementor-location-single,
body .elementor-location-archive {
  overflow-x: clip;
}

body main.site-sitemap.type-page {
  padding: clamp(36px, 6vw, 80px) clamp(20px, 6vw, 100px);
}
.site-sitemap-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 24px;
}
.site-sitemap-links a {
  color: #a65300;
  text-decoration: underline;
}
body .elementor-location-footer .elementor-widget-text-editor p a.footer-sitemap {
  color: inherit !important;
  white-space: nowrap;
}

/* Keep the mobile contact strip compact and consistent. */
@media (max-width: 767px) {
  .elementor-44 .elementor-element.elementor-element-e8b256b {
    --width: 100%;
    --flex-direction: column;
    --align-items: center;
    --gap: 3px;
    --padding-top: 5px;
    --padding-bottom: 5px;
  }
  .elementor-44 .elementor-element:is(.elementor-element-dcc4db6, .elementor-element-aa102f6) .elementor-icon-list-item > a {
    font-size: clamp(11px, 3.1vw, 12px);
    line-height: 1.3;
    letter-spacing: 0;
  }
  .elementor-44 .elementor-element:is(.elementor-element-dcc4db6, .elementor-element-aa102f6) .elementor-inline-items {
    justify-content: center;
    row-gap: 2px;
  }
  .elementor-44 .elementor-element.elementor-element-aa102f6 .elementor-icon-list-items.elementor-inline-items {
    margin-inline: 0;
    column-gap: 6px;
  }
  .elementor-44 .elementor-element.elementor-element-aa102f6 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item {
    margin-inline: 0;
  }
}

/* Tablet uses the mobile controls with a single contact line. */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-44 .elementor-element.elementor-element-e8b256b {
    --width: 100%;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    column-gap: 14px;
  }
  .elementor-44 .elementor-element-db8933b {
    display: none;
  }
  .elementor-44 :is(.elementor-element-dcc4db6, .elementor-element-aa102f6) {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .elementor-44 .elementor-element:is(.elementor-element-dcc4db6, .elementor-element-aa102f6) .elementor-icon-list-item > a {
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0;
  }
  .elementor-44 .elementor-element-aa102f6 .elementor-inline-items {
    flex-wrap: nowrap;
  }
  .elementor-44 .elementor-element.elementor-element-0ef02d1 {
    --justify-content: flex-start;
    --column-gap: 10px;
  }
  .elementor-44 .elementor-element.elementor-element-d01fd5f {
    --container-widget-width: 150px;
    max-width: 150px;
  }
  .elementor-44 .elementor-element.elementor-element-d534901 {
    --width: max-content;
    --margin-left: auto;
    margin-inline-start: auto;
  }
  .elementor-44 .elementor-element.elementor-element-6a6c909 {
    --container-widget-width: auto;
    max-width: none;
  }
  .elementor-44 .elementor-element.elementor-element-bc761bd .elementor-button {
    padding: 8px 12px;
    min-height: 30px;
    line-height: 1.2;
    white-space: nowrap;
  }

  /* Give the homepage service cards the full row and size each card to its text. */
  .elementor-734 .elementor-element.elementor-element-267682f4 {
    --width: 100%;
    gap: 12px;
  }
  .elementor-734 .elementor-element-267682f4 > .e-con {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    gap: 12px;
  }
  .elementor-734 .elementor-element-267682f4 .elementor-widget-flip-box .elementor-flip-box {
    display: grid;
    height: auto;
    min-height: 280px;
  }
  .elementor-734 .elementor-element-267682f4 .elementor-flip-box > .elementor-flip-box__layer {
    grid-area: 1 / 1;
    position: relative;
    min-width: 0;
    height: auto;
  }
  .elementor-734 .elementor-element-267682f4 .elementor-flip-box__back .elementor-flip-box__layer__overlay {
    padding: 12px;
    overflow-wrap: anywhere;
  }
}

/* Local QA corrections: preserve the orange brand while providing readable text. */
body .elementor-button,
body .elementor-button:visited,
body .elementor-button:hover,
body .elementor-button:focus {
  background-color: #a65300 !important;
  color: #fff !important;
}
body .elementor-button-text { color: inherit !important; }
body .elementor-widget-text-editor p a,
body .elementor-widget-theme-post-content p a {
  color: #a65300 !important;
  text-decoration: underline !important;
  text-underline-offset: .15em;
}
body a:focus-visible, body button:focus-visible, body [role="button"]:focus-visible,
body input:focus-visible, body select:focus-visible, body textarea:focus-visible {
  outline: 3px solid #004c80 !important;
  outline-offset: 3px !important;
}
body .elementor-testimonial__text a { color: #352100 !important; text-decoration: underline; }
body .elementor-element-76b42a61 .elementor-heading-title a,
body .elementor-element-42a0676 .elementor-heading-title { color: #352100 !important; }
body .e-form-slot { width: 100%; min-width: 0; }
body .e-form-slot iframe { width: 100% !important; max-width: 100%; border: 0; display: block; }
body .elementor-form .elementor-message { background: #fff; color: #303030; padding: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body *, body *::before, body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
