/* Utah Playset Builders managed site refinements. */

.site-breadcrumbs {
  overflow: visible !important;
  white-space: normal !important;
}

.site-breadcrumbs .trail-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px 0;
  white-space: normal !important;
}

.site-breadcrumbs .trail-item {
  float: none !important;
  white-space: normal !important;
}

.tp-upb-home-intro {
  max-width: 1120px;
  margin: 0 auto;
}

.tp-upb-home-intro h2 {
  margin-top: 2.25rem;
}

.tp-upb-service-grid,
.tp-upb-proof-grid,
.tp-upb-process-grid {
  display: grid;
  gap: 24px;
  margin: 28px 0;
}

.tp-upb-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tp-upb-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tp-upb-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-upb-card,
.tp-upb-process-step {
  padding: 24px;
  border: 1px solid #d9e0e7;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 38, 58, 0.08);
}

.tp-upb-card h3,
.tp-upb-process-step h3 {
  margin-top: 0;
}

.tp-upb-proof-grid figure {
  margin: 0;
  overflow: hidden;
  background: #eef2f5;
}

.tp-upb-proof-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tp-upb-proof-grid figcaption {
  padding: 12px 14px;
  color: #23364a;
  font-size: 15px;
  line-height: 1.45;
}

.tp-upb-cta {
  margin-top: 32px;
  padding: 28px;
  background: #142c44;
  color: #fff;
  text-align: center;
}

.tp-upb-cta h2,
.tp-upb-cta p {
  color: #fff;
}

.tp-upb-cta a {
  display: inline-block;
  margin: 8px 6px 0;
  padding: 13px 19px;
  background: #fff;
  color: #142c44;
  font-weight: 800;
  text-decoration: none;
}

.page-id-83 #content-wrap,
.page-id-83 #primary,
.page-id-83 .content-area,
.page-id-83 article,
.page-id-83 .entry-content {
  width: 100%;
  max-width: 100%;
}

.page-id-83 #right-sidebar,
.page-id-83 .widget-area.sidebar-primary {
  display: none !important;
}

.page-id-83 .tp-formbox-wrap,
.page-id-83 .formbox-form {
  --formbox-accent: #1769aa;
  --formbox-accent-contrast: #fff;
  --formbox-accent-soft: #eef7ff;
  --formbox-focus: rgba(23, 105, 170, 0.22);
  --formbox-border: #cbd5e1;
  --formbox-text: #172033;
  --formbox-muted: #5d6675;
  --formbox-panel: #fff;
  --formbox-surface: #fff;
  --formbox-max-width: 600px;
}

.page-id-83 .formbox-form {
  padding: 24px 22px 26px;
  border: 1px solid var(--formbox-border);
  background: var(--formbox-panel);
  box-shadow: 0 12px 32px rgba(20, 38, 58, 0.09);
}

.tp-upb-article-handoff {
  margin: 36px 0 12px;
  padding: 24px;
  border-left: 4px solid #1769aa;
  background: #eef7ff;
}

.tp-upb-article-handoff h2 {
  margin: 0 0 10px;
  color: #142c44;
  font-size: 28px;
  line-height: 1.2;
}

.tp-upb-article-handoff p {
  margin: 0 0 14px;
}

.tp-upb-article-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tp-upb-article-handoff-actions a {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 15px;
  align-items: center;
  justify-content: center;
  background: #1769aa;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.tp-upb-article-handoff-actions a:last-child {
  background: #142c44;
}

body:is(.page-id-280, .page-id-344, .page-id-377, .page-id-422, .page-id-441, .page-id-460, .page-id-475, .page-id-486, .page-id-773, .page-id-779, .page-id-785, .page-id-1347, .page-id-1354, .page-id-1548) main article a[href$="/request-quote/"] {
  display: inline-flex;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  background: #1769aa;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

#right-sidebar a[href$="/request-quote/"] {
  display: inline-flex;
  min-height: 42px;
  margin-top: 6px;
  padding: 9px 14px;
  align-items: center;
  justify-content: center;
  background: #1769aa;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

@media (min-width: 768px) {
  .elementor-27 > .elementor-section:nth-of-type(3) .elementor-item {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
}

@media (max-width: 1024px) {
  .tp-upb-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  html,
  body,
  #outer-wrap,
  #wrap,
  #site-header,
  .elementor-location-header {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .elementor-27 > .elementor-section:nth-of-type(3),
  .elementor-27 > .elementor-section:nth-of-type(3) > .elementor-container,
  .elementor-27 > .elementor-section:nth-of-type(3) .elementor-widget-wrap {
    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-27 .elementor-nav-menu--main {
    display: none !important;
  }

  .elementor-27 .elementor-element-edc653e .elementor-menu-toggle {
    display: flex !important;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
  }

  .elementor-27 .elementor-element-edc653e .elementor-menu-toggle::before {
    content: "Menu";
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .elementor-27 .elementor-element-edc653e .elementor-nav-menu--dropdown {
    width: 100% !important;
  }

  .elementor-21 .elementor-slides .swiper-slide-inner {
    padding: 28px 20px !important;
  }

  .elementor-21 .elementor-slide-heading {
    font-size: 36px !important;
    line-height: 1.08 !important;
  }

  .elementor-21 .elementor-slide-description {
    font-size: 20px !important;
    line-height: 1.35 !important;
  }

  .tp-upb-service-grid,
  .tp-upb-proof-grid,
  .tp-upb-process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tp-upb-card,
  .tp-upb-process-step,
  .tp-upb-cta {
    padding: 20px;
  }

  .page-id-83 #content-wrap.container {
    width: 100% !important;
    padding: 24px 8px 40px;
  }

  .page-id-83 .page-header {
    padding: 20px 8px !important;
  }

  .page-id-83 .page-header-title {
    font-size: 28px !important;
    line-height: 1.15 !important;
  }

  .page-id-83 .elementor-element-59c5a55 > .elementor-widget-wrap {
    padding: 0 !important;
  }

  .page-id-83 .formbox-form {
    padding: 18px 16px 20px !important;
  }

  .tp-upb-article-handoff {
    padding: 20px;
  }

  .tp-upb-article-handoff h2 {
    font-size: 24px;
  }

  .tp-upb-article-handoff-actions {
    display: grid;
  }

  .tp-upb-article-handoff-actions a {
    width: 100%;
  }

  body:is(.page-id-280, .page-id-344, .page-id-377, .page-id-422, .page-id-441, .page-id-460, .page-id-475, .page-id-486, .page-id-773, .page-id-779, .page-id-785, .page-id-1347, .page-id-1354, .page-id-1548) main article a[href$="/request-quote/"] {
    width: 100%;
  }

  #scroll-top {
    display: none !important;
  }

  .page-id-83 .formbox-form .formbox-city-state-zip {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .page-id-83 .formbox-form .formbox-city-state-zip > .formbox-field {
    grid-column: 1 !important;
  }
}

/* Keep manufacturer marks crisp and consistently sized. */
body.page-id-280 .elementor-element-14f30c1 img,
body.page-id-344 .elementor-element-14f30c1 img,
body.page-id-377 .elementor-element-14f30c1 img,
body.page-id-422 .elementor-element-63703a0 img,
body.page-id-441 .elementor-element-a163167 img,
body.page-id-460 .elementor-element-ae86ad6 img,
body.page-id-475 .elementor-element-013f49d img,
body.page-id-486 .elementor-element-d55c38b img,
body.page-id-773 .elementor-element-7f3a195 img,
body.page-id-779 .elementor-element-25ec4f3 img,
body.page-id-785 .elementor-element-b6f2f17 img {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 145px;
  object-fit: contain;
}

body.page-id-779 .elementor-element-25ec4f3 img {
  max-width: 177px;
}

body.page-id-460 .elementor-element-ae86ad6 img {
  max-width: 520px;
}

@media (max-width: 767px) {
  body.page-id-280 .elementor-element-14f30c1 img,
  body.page-id-344 .elementor-element-14f30c1 img,
  body.page-id-377 .elementor-element-14f30c1 img,
  body.page-id-422 .elementor-element-63703a0 img,
  body.page-id-441 .elementor-element-a163167 img,
  body.page-id-460 .elementor-element-ae86ad6 img,
  body.page-id-475 .elementor-element-013f49d img,
  body.page-id-486 .elementor-element-d55c38b img,
  body.page-id-773 .elementor-element-7f3a195 img,
  body.page-id-779 .elementor-element-25ec4f3 img,
  body.page-id-785 .elementor-element-b6f2f17 img {
    max-height: 112px;
  }
}
