/* Additions to the 2023 Webflow styles: the open-source banner, a static nav,
   the product shots shown one after another instead of tabs, and the partners section. */

html {
  scroll-padding-top: 5rem;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid #ff8000;
  outline-offset: 2px;
}

/* Open-source banner */
.oss-banner {
  position: relative;
  z-index: 60;
  padding: .75rem 1.5rem;
  background-color: #0f2314;
  color: #fbfaf8;
  text-align: center;
}

.oss-banner_text {
  margin: 0;
  font-family: Soehne kraftig, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.oss-banner_link {
  color: #fbfaf8;
  text-decoration: underline;
  text-decoration-color: #ff8000;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.oss-banner_link:hover {
  color: #f1ac36;
}

/* Nav: in the page flow (below the banner) and sticky, instead of fixed */
.navbar04_component.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #fbfaf8;
}

.nav-logo-img svg {
  display: block;
  width: auto;
  height: 32px;
}

.site-nav_links {
  display: flex;
  align-items: center;
}

.site-nav_links .navbar04_link {
  width: auto;
  padding: 1.75rem 0 1.75rem 1rem;
  font-size: 1rem;
}

/* Hero: the nav no longer overlaps the first section */
.wrapper-120.hero {
  padding-top: 40px;
}

.hero .dash-indicator-line {
  top: 6px;
}

/* State & Federal Agencies: the three tab panes, shown one after another */
.product-shots {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.product-shot {
  width: 100%;
}

.product-shot_label {
  width: fit-content;
  margin: 0 auto 3rem;
  padding: .5rem 0;
  border-bottom: 1px solid #f1ac36;
  color: #fbfaf8;
  font-family: Soehne kraftig, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.product-shot .tab-height-wrap {
  height: auto;
}

/* Captions sit beside the middle of each screenshot (the tabs pinned them to the bottom) */
.product-shot #w-node-c3258b39-905d-7eb3-a48a-c2ec2cc30a52-16e4f379,
.product-shot #w-node-a597f7de-d372-1bd5-3a3d-6b8fffffdba8-16e4f379,
.product-shot #w-node-a39b4e49-9e78-3080-cdc2-b65e126e725d-16e4f379 {
  align-self: center;
}

/* TurboPlan: keep the space the removed "Explore TurboPlan" link used to take */
.turboplan .container-large.row-40 {
  padding-bottom: 5rem;
}

/* Partners */
.partners_grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.partners_intro {
  max-width: 48rem;
}

.partners_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners_item {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.partners_logo {
  width: auto;
  height: 40px;
}

.partners_quote {
  width: 100%;
  max-width: 60rem;
  margin: 0;
}

.card.partners_card {
  min-height: 0;
  padding: 3.5rem 4rem;
  border-radius: 16px;
  background-color: #152f1a;
  background-image: radial-gradient(circle at 85% 0%, #1a3b21, rgba(21, 47, 26, 0) 60%);
}

.partners_blockquote {
  position: relative;
  margin: 0;
  padding-left: 1.5rem;
}

.partners_blockquote .paragraph-large {
  font-size: 1.5rem;
}

.dash-indicator-line.partners_dash {
  top: .25rem;
  height: calc(100% - .5rem);
}

.partners_cite {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  text-align: left;
  margin-top: 2rem;
  padding-left: 1.5rem;
}

.partners_line {
  position: absolute;
  bottom: -120px;
}

/* Footer */
.footer1_link:hover {
  opacity: .7;
}

/* 404 page */
.not-found {
  min-height: 70vh;
}

.not-found_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 40rem;
  text-align: center;
}

.not-found_link {
  padding-bottom: .25rem;
  border-bottom: 1px solid #0b0d0f;
}

.not-found_link:hover {
  opacity: .7;
}

@media screen and (max-width: 991px) {
  .wrapper-120.hero {
    padding-top: 24px;
  }

  .navbar04_component.site-nav {
    min-height: 4.5rem;
  }

  .product-shots {
    gap: 5rem;
  }

  .card.partners_card {
    padding: 2.5rem 2rem;
  }

  .partners_line {
    bottom: -80px;
  }
}

@media screen and (max-width: 767px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .oss-banner {
    padding: .625rem 1rem;
  }

  .oss-banner_text {
    font-size: .875rem;
  }

  .oss-banner_link {
    white-space: nowrap;
  }

  .wrapper-120.hero {
    padding-top: 8px;
  }

  .site-nav_links .navbar04_link {
    padding: 1.5rem 0 1.5rem 1rem;
  }

  .product-shot_label {
    margin-bottom: 2rem;
  }

  .turboplan .container-large.row-40 {
    padding-bottom: 3rem;
  }

  /* Show the whole clip on phones instead of a 55vh crop of its middle */
  .turboplan .video-bg {
    height: auto;
    aspect-ratio: 1112 / 720;
  }

  .partners_grid {
    gap: 3rem;
  }

  .partners_list {
    flex-direction: column;
    align-items: center;
  }

  .partners_blockquote .paragraph-large {
    font-size: 1.25rem;
  }

  .partners_line {
    bottom: -64px;
  }
}

@media screen and (max-width: 359px) {
  .oss-banner_link {
    white-space: normal;
  }
}

@media screen and (max-width: 479px) {
  .card.partners_card {
    padding: 2rem 1.25rem;
  }

  .partners_blockquote,
  .partners_cite {
    padding-left: 1rem;
  }
}
