/* WordPress compatibility layer for the scoped Webflow migration templates. */
html.sgwf-document,
body.sgwf-page,
body.sgwf-page .sgwf-page-fragment {
  width: 100%;
  min-height: 100%;
}

body.sgwf-page {
  margin: 0;
  overflow-x: clip;
}

body.sgwf-page.admin-bar .navbar-component,
body.sgwf-page.admin-bar .navbar7_component-3 {
  top: var(--wp-admin--admin-bar--height, 32px);
}

body.sgwf-page .sgwf-page-fragment,
body.sgwf-page .sgwf-page-fragment *,
body.sgwf-page .navbar-component,
body.sgwf-page .footer-component {
  box-sizing: border-box;
}

body.sgwf-page #sgwf-main {
  display: block;
}

.sgwf-page .w-dyn-bind-empty,
.sgwf-page .w-dyn-empty {
  display: none !important;
}

.sgwf-cms-slot:empty {
  display: none;
}

.sgwf-form-unavailable {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(23, 32, 51, .16);
  border-radius: .75rem;
  background: #f5f7fb;
  color: #172033;
  line-height: 1.6;
}

.sgwf-newsletter-disabled {
  /* Preserve Webflow's grid plus its intentionally empty second row so the
     disabled WordPress placeholder keeps the source footer's footprint. */
}

.sgwf-newsletter-disabled::after {
  content: "";
  display: block;
  height: 0;
}

.sgwf-newsletter-disabled input:disabled,
.sgwf-newsletter-disabled button:disabled {
  cursor: not-allowed;
  opacity: .68;
}

/* Webflow publishes expanded third-card copy on desktop but retains the
   audited CSV copy on tablet/mobile. display:none also excludes the inactive
   variant from the accessibility tree, preventing duplicate announcements. */
.sgwf-case-copy--desktop {
  display: inline;
}

.sgwf-case-copy--mobile {
  display: none;
}

@media screen and (max-width: 991px) {
  .sgwf-case-copy--desktop {
    display: none;
  }

  .sgwf-case-copy--mobile {
    display: inline;
  }
}

.sgwf-case-page .sgwf-case-summary {
  max-width: 52rem;
  margin-top: 1rem;
}

.sgwf-case-page .sgwf-case-cta {
  margin-top: 1.5rem;
}

.sgwf-solution-index {
  padding: 0 0 clamp(2rem, 5vw, 4rem);
}

.sgwf-solution-index__label {
  margin: 0 0 1rem;
  color: #5d6678;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sgwf-solution-index__links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.sgwf-solution-index__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .7rem 1rem;
  border: 1px solid rgba(51, 112, 255, .22);
  border-radius: 999px;
  background: #fff;
  color: #172033;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.sgwf-solution-index__link:hover,
.sgwf-solution-index__link:focus-visible {
  border-color: #3370ff;
  color: #245cdf;
  transform: translateY(-1px);
}

.sgwf-case-source {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
}

.sgwf-case-pane {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html.sgwf-js-pending body.sgwf-page [data-sgwf-reveal],
html.w-mod-js:not(.w-mod-ix3) body.sgwf-page [data-sgwf-reveal] {
  visibility: hidden;
}

html.sgwf-js-ready body.sgwf-page,
html.sgwf-js-failed body.sgwf-page,
html.sgwf-js-failed body.sgwf-page *,
html.sgwf-reduced-motion body.sgwf-page,
html.sgwf-reduced-motion body.sgwf-page * {
  visibility: visible !important;
}

html.sgwf-js-failed body.sgwf-page [style*="opacity: 0"],
html.sgwf-js-failed body.sgwf-page [style*="opacity:0"],
html.sgwf-reduced-motion body.sgwf-page [style*="opacity: 0"],
html.sgwf-reduced-motion body.sgwf-page [style*="opacity:0"] {
  opacity: 1 !important;
}

@media (max-width: 782px) {
  body.sgwf-page.admin-bar .navbar-component,
  body.sgwf-page.admin-bar .navbar7_component-3 {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sgwf-page *,
  body.sgwf-page *::before,
  body.sgwf-page *::after {
    scroll-behavior: auto !important;
    animation-delay: 0s !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: .001ms !important;
  }

  body.sgwf-page .preloader_bg,
  body.sgwf-page .intro_text-wrapper {
    display: none !important;
  }
}
