* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* js/site.js reveals the page once webflow.js is ready */
body {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
  font-size: inherit;
}

main:focus-visible {
  outline: -webkit-focus-ring-color auto 0px;
}

.container-medium,
.container-small,
.container-large {
  margin-right: auto !important;
  margin-left: auto !important;
}

.w-richtext > :first-child {
  margin-top: 0;
}

.w-richtext > :last-child,
.w-richtext ol li:last-child,
.w-richtext ul li:last-child {
  margin-bottom: 0;
}

.text-style-7lines {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.nav_menu {
  pointer-events: none;
}

.nav_link {
  pointer-events: auto;
}

@media only screen and (max-width: 991px) {
  .nav_menu {
    pointer-events: auto;
    align-items: center;
    justify-content: center;
  }
}

.blog-card .image-covered-center {
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .image-covered-center {
  transform: scale(1.05);
}

.swiper-wrapper.is-testimonial {
  flex-direction: row;
}

/* Pricing: js/pricing.js fills the cards from the admin panel's plans and
   turns them into a slider when more plans are public than fit in a row. */
@media screen and (min-width: 1280px) {
  /* Four plan cards need more room than the section container, so the pricing
     block widens past it while staying centered and keeping the page gutter. */
  .pricing_pricing-component {
    --pricing-width: min(100vw - 5rem, 1320px);
    width: var(--pricing-width);
    margin-left: calc(50% - var(--pricing-width) / 2);
    margin-right: calc(50% - var(--pricing-width) / 2);
  }

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

.pricing_list.is-slider {
  display: block;
}

/* Cards in a slide stretch to the same height, as they do in the grid. */
.pricing_slide {
  display: flex;
  height: auto;
}

.pricing_slide > .pricing_item {
  flex: 1;
}

.pricing_slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Swiper styles the bullet box full width with a two-class rule, so this one
   needs the same specificity to keep it as wide as its dots. */
.pricing_slider-controls > .pricing_slider-pagination {
  display: flex;
  flex: none;
  width: auto;
  column-gap: 1rem;
}

.pricing_slider-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.625rem;
  border: 0.125rem solid var(--primary-600);
  border-radius: 100%;
  background-color: transparent;
  color: var(--primary-600);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pricing_slider-arrow.is-prev {
  transform: scaleX(-1);
}

.pricing_slider-arrow:hover {
  border-color: var(--secondary-600);
  color: var(--secondary-600);
}

.pricing_slider-arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* The price before the sale, struck through under the current one. */
.pricing_item-old-price {
  margin: 0.25rem 0 0;
  color: var(--gray-500);
  font-size: 1rem;
  text-decoration: line-through;
}
