/**
 * @file
 * Breakpoints
 *
 * With these breakpoints we will define how the page layout works.
 * For reference, below are the grid default breakpoints and max-widths defined by Bootstrap 4.
 * https://getbootstrap.com/docs/4.4/layout/grid/#grid-tiers
 *
 * $grid-breakpoints: (
 *   xs: 0,
 *   sm: 576px,
 *   md: 768px,
 *   lg: 992px,
 *   xl: 1200px
 * );
 *
 * $container-max-widths: (
 *   sm: 540px,
 *   md: 720px,
 *   lg: 960px,
 *   xl: 1140px
 * );
 *
 */

/*
 * Usage:
 * @include breakpoint(md){
 *   background: blue;
 * }
 */

/*
example for $data argument
each breakpoint has a pair of corresponding values
$breakpoints-data: (
  breakpoints: (365px + 20px, 767px, 1023px, 1199px, 1440px - 20px, 1440px + 20px, 1600px),
  values: ((190px, 190px), (400px, 190px), (261px, 194px), (230px, 243px), (266px, 266px), (266px, 266px), (300px, 300px))
);
*/

/*
 * Usage:
 * @include breakpoint(md, 700px){
 *   background: blue;
 * }
 */

/**
* @file
* Colors
*
* Colors variables for the whole project.
*/

/**
* @file
* Common variables
*
* Common variables for the whole project
*/

/**
* @file
* Mixins
*
*/

/*
  example:
  .root-class {
    .element {
      .theme_cat & {
        ...
      }
    }
  }
  will result into
  .theme_cat .root-class .element

  .root-class {
    .element {
      @include insert-into-selector-as-last-but-one(".theme_cat") {
        ...
      }
    }
  }
  will result into
  .root-class .theme_cat .element
*/

/*
  example:
  repeat-last-part-of-selector(".root-class .element", 3);
  returns
  ".root-class .element.element.element"
*/

/*
A simple little SCSS mixin for creating scrim gradients
Inspired by Andreas Larson - https://github.com/larsenwork
https://css-tricks.com/easing-linear-gradients/
https://toward.studio/latest/making-css-gradients-smooth
*/

/*
a W3C Specs compliant way to override legacy CSS while explicitly highlighting the pieces of CSS code where refactoring is needed

example of usage:

.page {
  .container {
    &__item {
      @include increase-specificity-by-repeating(3) {
        ...
      }
    }
  }
}

will be built into

.page .container__item.container__item.container__item {
  ...
}

this method of increasing specificity is allowed by CSS Specifications
quote from https://www.w3.org/TR/selectors-3/#specificity:
> Note: Repeated occurrences of the same simple selector are allowed and do increase specificity.
*/

.vocabulary-nppe-article-categories .article-listing-page--hero-title {
  margin-bottom: 30px;
}

.vocabulary-nppe-article-categories .article-listing-page--article-components .component {
  margin-bottom: 25px;
}

.vocabulary-nppe-article-categories .article-listing-page--articles {
  margin-bottom: 50px;
}

.vocabulary-nppe-faq-categories {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #c9c5b9;
}

.vocabulary-nppe-faq-categories > a {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 30px;
  color: inherit;
  text-decoration: none;
}

.vocabulary-nppe-faq-categories > a .faq-cat-teaser--icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.vocabulary-nppe-faq-categories > a .faq-cat-teaser--icon.all-topics {
  background-position-x: -7px;
  background-image: url("../images/faq/faq-category-icon-all-topics.svg");
}

.vocabulary-nppe-faq-categories > a .faq-cat-teaser--icon.products-and-packaging {
  background-position-x: -9px;
  background-image: url("../images/faq/faq-category-icon-file.svg");
}

.vocabulary-nppe-faq-categories > a .faq-cat-teaser--icon.buying-our-products {
  background-position-x: -3px;
  background-image: url("../images/faq/faq-category-icon-basket.svg");
}

.vocabulary-nppe-faq-categories > a .faq-cat-teaser--icon.pets-health-nutrition {
  background-position-x: -7px;
  background-image: url("../images/faq/faq-category-icon-person.svg");
}

.vocabulary-nppe-faq-categories > a .faq-cat-teaser--icon.coupons-special-offers {
  background-position-x: -6px;
  background-image: url("../images/faq/faq-category-icon-shopping-tag.svg");
}

.vocabulary-nppe-faq-categories > a .faq-cat-teaser--icon.website-issues {
  background-position-x: -4px;
  background-image: url("../images/faq/faq-category-icon-website.svg");
}

.vocabulary-nppe-faq-categories > a .faq-cat-teaser--icon.get-in-touch {
  background-position-x: -7px;
  background-image: url("../images/faq/faq-category-icon-contact.svg");
}

.vocabulary-nppe-faq-categories > a .short-desc {
  margin-bottom: 10px;
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5625rem;
  line-height: 2.1875rem;
}

.vocabulary-nppe-faq-categories > a > h2 {
  margin-bottom: 20px;
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #3a3533;
  font-size: 1rem;
  line-height: 1.5rem;
}

.vocabulary-nppe-faq-categories > a .see-more {
  position: relative;
  border-bottom: 1px solid #e91c24;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  text-decoration: none;
  color: #3a3533;
  font-size: 0.75rem;
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  justify-self: flex-end;
  margin: auto auto auto 0;
}

.nppe_th-wrapper .article_inner {
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.6);
}

.nppe_th-wrapper .article_title {
  margin: 0 auto;
}

@media (min-width: 1140px) {
  .vocabulary-nppe-article-categories .article-listing-page--hero-title {
    margin-bottom: 40px;
  }

  .vocabulary-nppe-article-categories .article-listing-page--article-components .component {
    margin-bottom: 50px;
  }

  .vocabulary-nppe-article-categories .article-listing-page--articles {
    margin-bottom: 100px;
  }

  .vocabulary-nppe-faq-categories > a .see-more {
    border-bottom: none;
  }

  .vocabulary-nppe-faq-categories > a .see-more:after {
    background: #e91c24;
    bottom: -2px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: left;
            transform-origin: left;
    transition-duration: 0.3s;
    transition-delay: 0.3s;
  }

  .vocabulary-nppe-faq-categories > a .see-more:before {
    background: #e91c24;
    bottom: -2px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-transform-origin: right;
            transform-origin: right;
    transition-duration: 0.3s;
    transition-delay: 0.8s;
  }

  .vocabulary-nppe-faq-categories > a .see-more:hover:after {
    background: #e91c24;
    width: 100%;
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-transform-origin: right;
            transform-origin: right;
    transition-delay: 0.8s;
  }

  .vocabulary-nppe-faq-categories > a .see-more:hover:before {
    background: #e91c24;
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: left;
            transform-origin: left;
    transition-delay: 0.3s;
  }
}