html {
  @apply
    antialiased
    overscroll-y-none
    font-sans;
}

.button-wrapper {
  @apply
    flex
    my-15
    flex-nowrap
    overflow-auto
    -mx-2;

  a {
    @extend .has-sm-font-size;
    @apply
      mx-2;

    &.current {
      @apply
        opacity-50
        pointer-events-none;
    }
  }
}

.arrow-container {
  .swiper-button-prev,
  .swiper-button-next {
    @apply
      inline-block
      mt-0
      static
      w-auto
      h-auto
      first:mr-4
      lg:first:mr-6

      after:hidden;

    svg {
      @apply
        w-auto
        inline-block
        h-4

        lg:h-6;
    }
  }
}

p.breadcrumb,
.yoast-breadcrumbs {
  @extend .has-xxs-font-size;
  @apply
    font-mono
    mb-14
    text-primary-250
    mt-9;

  span,
  a,
  * {
    @apply
      text-primary-250;

    a {
      @apply
        text-primary-250;
    }
  }
}

main.main {
  @apply
    pt-[60px]

    lg:pt-[120px];
}

body {
  @apply
    overflow-x-hidden
    overscroll-y-none;

  &.locked {
    @apply
      overflow-hidden;
  }
}

ul {
  &.menu {
    @apply
      flex
      justify-center
      items-center;

    li {
      &.current-menu-item {
        a {
          @apply
            text-primary-250;
        }
      }

      &.border-outline {
        @extend .button.small;
        @apply
          text-xs
          border-opacity-50
          rounded-md
          leading-none
          border
          font-medium
          text-center
          transition-all
          bg-transparent
          ml-3

          hover:border-primary-250
          hover:bg-transparent;

        &:hover {
          a {
            @apply
              text-primary-250;
          }
        }
      }

      &.button {
        @extend .button.small;
        @extend .button.filled;
        @apply
          text-xs
          ml-3;
      }
    }
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  @apply leading-tight;
}

p {
  @apply leading-normal;
}

a {
  @apply
    no-underline
    border-transparent
    transition-all;
}

.reset {
  @apply m-0 p-0 align-baseline border-0 outline-none;

  font-weight: inherit;
  font-family: inherit;
  font-style: inherit;
  font-size: 100%;
}

.thor-bg-cover {
  @apply bg-cover bg-center bg-no-repeat;
}

.row {
  @apply
    flex
    flex-wrap;
}

.container {
  @apply
    px-5

    lg:px-10;

  &.small {
    @screen sm {
      @apply
        max-w-2xl;
    }

    @screen lg {
      @apply
        max-w-3xl;
    }

    @screen xl {
      @apply
        max-w-5xl;
    }
  }

  &.full {
    max-width: unset !important;
  }
}

.post-content-wrapper {
  @apply
    text-primary-700
    text-xl;

  p {
    a {
      @apply
        text-primary-500;
    }
  }
}
