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

.grid-list {
  @apply
    gap-8
    grid;

  &.two {
    @apply
      grid-cols-1
      gap-y-8

      lg:gap-y-15
      lg:grid-cols-2;
  }

  &.three {
    @apply
      grid-cols-1
      lg:grid-cols-3;
  }

  &.four {
    @apply
      gap-x-4
      gap-y-8
      grid-cols-2

      lg:gap-x-8
      lg:grid-cols-4;
  }

  &.six {
    @apply
      grid
      w-full
      grid-cols-2
      gap-4
      lg:grid-cols-4
      xl:gap-8
      xl:grid-cols-6;
  }
}

.button-wrapper {
  @apply
    flex
    mt-5
    mb-2
    pb-6
    lg:mt-13
    lg:mb-15
    flex-nowrap
    overflow-auto
    -mx-2;

  a {
    @extend .has-sm-font-size;
    @apply
      py-1
      sm:py-3
      flex-none
      whitespace-nowrap
      mx-2;

    &.current {
      @apply
        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
      outline-none
      focus:outline-none

      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;
    }
  }
}

.infinite-loader {
  @extend .button;
  @extend .button.outlined;
  @apply
    w-60
    justify-center
    mx-auto
    relative
    items-center
    mt-8;

  &:hover {
    .loading {
      filter: invert(1) contrast(0.5);
    }
  }

  .loading {
    @apply
      absolute
      left-1
      hidden
      transition-all
      h-7.5;

    &.active {
      @apply
        inline-block;
    }
  }
}

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
    xl:px-[170px]
    sm:max-w-full
    md:max-w-full
    lg:max-w-full
    xl:max-w-full
    2xl:max-w-full
    3xl:max-w-full;

  &.small {
    @apply
      px-5
      lg:px-[250px];
  }

  &.full {
    @apply
      px-5
      lg:px-10;

    max-width: unset !important;
  }
}

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

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