/* Dynamic states that cannot be expressed as static Tailwind utilities. */
.site-nav {
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

.site-header.is-stuck,
.site-header.mobile-menu-open {
  position: fixed;
  color: #111;
  background: rgba(244, 244, 241, .94);
  border-bottom-color: rgba(0, 0, 0, .12);
  text-shadow: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .06);
}

.site-header.is-stuck .site-nav,
.site-header.mobile-menu-open .site-nav {
  color: #111;
  text-shadow: none;
}

.site-header.is-stuck .demo-button,
.site-header.mobile-menu-open .demo-button {
  border-color: rgba(0, 0, 0, .2);
  background: #111;
  color: #fff;
}

.nav-dropdown {
  position: fixed;
  left: 50%;
  pointer-events: none;
  transform: translate(-50%, 8px);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 14px;
}

.site-header:not([data-nav-ready]) .nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-header:not([data-nav-ready]) .nav-item:focus-within .nav-chevron,
.nav-item.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-lines > span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-open .nav-lines > span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-open .nav-lines > span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-open .nav-lines > span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-group[open] summary svg:last-child {
  transform: rotate(180deg);
}

.carousel-header .site-header[data-theme="light"],
.carousel-header .site-header[data-theme="light"] .site-nav {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .72);
}

.carousel-header .site-header[data-theme="dark"],
.carousel-header .site-header[data-theme="dark"] .site-nav {
  color: #111;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .8);
}

.carousel-header .site-header[data-theme="light"] {
  background: rgba(0, 0, 0, .16);
  border-bottom-color: rgba(255, 255, 255, .32);
  backdrop-filter: blur(8px);
}

.carousel-header .site-header[data-theme="dark"] {
  background: rgba(255, 255, 255, .22);
  border-bottom-color: rgba(0, 0, 0, .2);
  backdrop-filter: blur(8px);
}

.carousel-header .site-header[data-theme="light"] .demo-button {
  border-color: rgba(255, 255, 255, .55);
  background: #fff;
  color: #111;
  text-shadow: none;
}

.carousel-track {
  transform: translateX(0);
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}

.carousel-shade {
  background: rgba(0, 0, 0, var(--slide-overlay));
}

.carousel-slide:not(.has-image) .carousel-shade {
  display: none;
}

.text-light {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .68);
}

.text-dark {
  color: #111;
  text-shadow: 0 2px 18px rgba(255, 255, 255, .82);
}

.carousel-copy {
  isolation: isolate;
}

.has-image .carousel-copy.local-blur::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -24px -32px;
  border-radius: 8px;
  pointer-events: none;
  -webkit-backdrop-filter: blur(16px) saturate(.86);
  backdrop-filter: blur(16px) saturate(.86);
}

.has-image.text-light .carousel-copy.local-blur::before {
  background: rgba(0, 0, 0, .16);
  box-shadow: 0 0 30px 18px rgba(0, 0, 0, .16);
}

.has-image.text-dark .carousel-copy.local-blur::before {
  background: rgba(255, 255, 255, .2);
  box-shadow: 0 0 30px 18px rgba(255, 255, 255, .2);
}

.carousel-eyebrow {
  color: inherit;
  font-size: var(--eyebrow-size);
}

.carousel-title {
  font-size: var(--title-size);
  overflow-wrap: anywhere;
}

.carousel-body {
  color: inherit;
  font-size: var(--body-size);
}

.carousel-bottom {
  color: inherit;
  font-size: var(--bottom-size);
}

.carousel-button {
  font-size: var(--button-size);
  text-shadow: none;
}

.text-light .carousel-button.primary {
  background: #fff;
  color: #111;
}

.text-dark .carousel-button.primary {
  background: #111;
  color: #fff;
}

.position-top-left,
.position-top-center,
.position-top-right {
  align-items: flex-start;
}

.position-center-left,
.position-center,
.position-center-right {
  align-items: center;
}

.position-bottom-left,
.position-bottom-center,
.position-bottom-right {
  align-items: flex-end;
}

.position-top-left,
.position-center-left,
.position-bottom-left {
  justify-content: flex-start;
  text-align: left;
}

.position-top-center,
.position-center,
.position-bottom-center {
  justify-content: center;
  text-align: center;
}

.position-top-right,
.position-center-right,
.position-bottom-right {
  justify-content: flex-end;
  text-align: right;
}

.position-top-center .carousel-body,
.position-center .carousel-body,
.position-bottom-center .carousel-body {
  margin-right: auto;
  margin-left: auto;
}

.position-top-right .carousel-body,
.position-center-right .carousel-body,
.position-bottom-right .carousel-body {
  margin-left: auto;
}

.position-top-center .carousel-actions,
.position-center .carousel-actions,
.position-bottom-center .carousel-actions {
  justify-content: center;
}

.position-top-right .carousel-actions,
.position-center-right .carousel-actions,
.position-bottom-right .carousel-actions {
  justify-content: flex-end;
}

.carousel-dots button.is-active {
  background: #fff;
}

/* Content comes from CKEditor, so responsive typography is scoped here. */
.rich-content,
.rich-content p,
.rich-content li,
.rich-content td {
  color: #262622;
  font-size: 17px;
  line-height: 1.7;
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content table {
  margin: 0 0 1.25rem;
}

.rich-content ul,
.rich-content ol {
  padding-left: 1.5rem;
}

.rich-content ul {
  list-style: disc;
}

.rich-content ol {
  list-style: decimal;
}

.rich-content li + li {
  margin-top: .5rem;
}

.rich-content strong,
.rich-content b {
  color: #050505;
  font-weight: 700;
}

.rich-content a {
  color: #050505;
  border-bottom: 1px solid rgba(5, 5, 5, .35);
}

.rich-content img {
  max-width: 100%;
  height: auto !important;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
}

.rich-content figure {
  max-width: 100%;
  margin: 1.75rem 0;
}

.rich-content figcaption {
  margin-top: .5rem;
  color: #676761;
  font-size: .875rem;
  line-height: 1.4;
}

.rich-content figure.table,
.rich-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.rich-content td,
.rich-content th {
  min-width: 7.5rem;
  padding: .5rem;
  vertical-align: top;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin: 2.125rem 0 .875rem;
  color: #050505;
  line-height: 1.15;
  font-weight: 600;
}

.rich-content h2 {
  font-size: 1.875rem;
}

.rich-content h3,
.rich-content h4 {
  font-size: 1.375rem;
}

@media (max-width: 767px) {
  .has-image .carousel-copy.local-blur::before {
    inset: -18px -16px;
    -webkit-backdrop-filter: blur(12px) saturate(.88);
    backdrop-filter: blur(12px) saturate(.88);
  }

  .has-image.text-light .carousel-copy.local-blur::before {
    box-shadow: 0 0 22px 12px rgba(0, 0, 0, .16);
  }

  .has-image.text-dark .carousel-copy.local-blur::before {
    box-shadow: 0 0 22px 12px rgba(255, 255, 255, .2);
  }

  .carousel-title {
    font-size: min(var(--title-size), 46px);
  }

  .carousel-body {
    font-size: min(var(--body-size), 18px);
  }

  .rich-content,
  .rich-content p,
  .rich-content li,
  .rich-content td {
    font-size: 16px;
  }

  .rich-content h2 {
    font-size: 1.5rem;
  }

  .rich-content h3,
  .rich-content h4 {
    font-size: 1.25rem;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .has-image.text-light .carousel-copy.local-blur::before {
    background: rgba(0, 0, 0, .32);
  }

  .has-image.text-dark .carousel-copy.local-blur::before {
    background: rgba(255, 255, 255, .38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition-duration: .01ms;
  }
}
