/* ------------------------------------------------------
**** SCSS Inclusions
------------------------------------------------------ */
/* ---- Global Variables ---- */
/*
Variable Example
*/
/*
Breakpoint Mixins
*/
/*
Joint hover and Breakpoint Mixin
*/
:root {
  --brand-texture-sm: url(../../assets/bg-photo-texture_sm.jpg);
  --brand-texture: url(../../assets/bg-photo-texture.jpg);
}

:root {
  --body-font-size: 1.6rem;
  --h1-font-size: 2.1rem;
  --h1-line-height: 1.12;
  --h2-font-size: 2.1rem;
  --h2-line-height: 1.12;
  --h3-font-size: 1.9rem;
  --h3-line-height: inherit;
  --h4-font-size: 1.6rem;
  --h4-line-height: 1.5;
  --h5-font-size: 1.6rem;
  --h5-line-height: inherit;
  --h6-font-size: 1.6rem;
  --h6-line-height: inherit;
  --milli-font-size: 1.2rem;
  --centi-font-size: 1.4rem;
}

@media screen and (min-width: 23.75em) {
  :root {
    --h1-font-size: 2.4rem;
    --h1-line-height: 1.25;
    --h2-font-size: 2.2rem;
    --h2-line-height: 1.25;
  }
}
@media screen and (min-width: 35em) {
  :root {
    --h1-font-size: 2.6rem;
    --h2-font-size: 2.6rem;
    --h3-font-size: 2rem;
    --h4-font-size: 1.8rem;
  }
}
@media screen and (min-width: 75em) {
  :root {
    --h1-font-size: 3.2rem;
    --h2-font-size: 3.2rem;
    --h3-font-size: 2.2rem;
    --h4-font-size: 1.8rem;
  }
}
/*
Basic system font stacks
*/
/* Weights */
/* Size */
/* -----
* NOTES
* [02]
* A series of classes for setting massive type; for use in heroes, mastheads,
* promos, etc.
* As per: csswizardry.com/2012/02/pragmatic-practical-font-sizing-in-css
------ */
/* -----------------------------
File Path
-------------------------------- */
/* -----------------------------
Spacing
-------------------------------- */
/* -----------------------------
style variables
-------------------------------- */
/* -----------------------------
Header
-------------------------------- */
/* -----------------------------
Page
-------------------------------- */
/* ---- Mixins ---- */
:root {
  --button-border-width: 2px;
  --button-border-radius: 1px;
}

/* --------------------------------
Text Link
----------------------------------- */
/* --------------------------------
Sizes
----------------------------------- */
/* Width - Inline Padding  */
/* Height - Block Padding */
/* Text Size */
/* -----------------------------
Visibility Utilities
------------------------------*/
/* -----------------------------
Clearfix
------------------------------*/
/* -----------------------------
SVG
------------------------------*/
/* -----------------------------
List Mixins
------------------------------*/
/* -----------------------------
Fallback logo image
------------------------------*/
/* ---- Abstracts ---- */
/* Fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Fade in down */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
}
/* Fade in up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Fade in up margin */
@keyframes fadeInUpMargin {
  from {
    opacity: 0;
    margin-bottom: -20px;
  }
  to {
    opacity: 1;
    margin-bottom: 0;
  }
}
/* Grow in fade */
@keyframes growInFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* ---- Highlight pulse ---- */
@keyframes highlightPulse {
  40% {
    transform: scale(1.12);
  }
}
/* ---- Highlight pulse with outline ---- */
@keyframes highlightPulseOutline {
  0% {
    outline: 3px solid #FFC57D;
    outline-offset: 4px;
    transform: scale(1);
  }
  13% {
    transform: scale(1.25);
  }
  33% {
    transform: scale(1);
  }
  75% {
    outline: 3px solid #FFC57D;
    outline-offset: 4px;
  }
  100% {
    outline: 3px solid transparent;
    outline-offset: 4px;
  }
}
.animate-fade {
  animation: fadeInDown 400ms ease-in-out;
}

.demo-animate .demo-animate__item {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.demo-animate:hover .demo-animate__item {
  clip: auto;
  height: auto;
  overflow: visible;
  position: relative;
  width: auto;
  padding: 5px;
  animation: fadeInDown 400ms ease-in-out;
  animation-fill-mode: forwards;
}

/* ------------------------------------------------------
**** MODULE CORE
------------------------------------------------------ */
/* ----------------------------------------------
    Post hub - post and image lazy loading
------------------------------------------------- */
.post-hub__item--hidden,
.post-hub--unfiltered .post-hub__item--hidden,
.post-hub--filtered .post-hub__item--filtered-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.post-hub--unfiltered .post-hub__item--animate {
  animation: fadeIn 300ms ease;
  animation-fill-mode: forwards;
}

.post-hub--filtered .post-hub__item--filtered-pre-visible {
  opacity: 0;
}

.post-hub--unfiltered .post-hub__item--animate-grow,
.post-hub--filtered .post-hub__item--filtered-visible {
  animation: growInFade 350ms ease;
  animation-fill-mode: forwards;
}

.post-hub__item__image-loading .post-hub__img {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.post-hub__img-link {
  background-color: #EEEFF1;
  position: relative;
  overflow: hidden;
  padding-top: 66.667%;
  display: block;
}

.post-hub__img,
.post-hub__img-placeholder,
.post-hub__img-fallback {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
}

.post-hub__img-placeholder {
  -webkit-filter: blur(6px);
          filter: blur(6px);
  -ms-transform: scale(1.05);
      transform: scale(1.05);
  transition: opacity 500ms ease, transform 500ms ease, -webkit-filter 500ms ease;
  transition: opacity 500ms ease, transform 500ms ease, filter 500ms ease;
  transition: opacity 500ms ease, transform 500ms ease, filter 500ms ease, -webkit-filter 500ms ease;
  z-index: 1;
}

.post-hub__item__image-loaded .post-hub__img-placeholder {
  opacity: 0;
  -ms-transform: none;
      transform: none;
  transition-duration: 1.5s;
}

.post-hub__img-fallback {
  display: block;
  object-fit: contain;
  margin: auto;
  width: 66.66%;
  height: auto;
}

/* ----------------------------------------------
    Post hub - Filter Lists
------------------------------------------------- */
.post-hub-filterlist {
  margin-bottom: 35px;
}
.post-hub-filterlist__title {
  display: inline-block;
  margin-bottom: 0;
  font-size: var(--h4-font-size);
  color: #555454;
  margin-right: 16px;
}
.post-hub-filterlist__list {
  display: inline-block;
  list-style-type: none;
  padding: 0;
  text-transform: uppercase;
  margin-bottom: 0;
}
@media screen and (min-width: 37.5em) {
  .post-hub-filterlist__list { /* 600px */
    margin-left: -2px;
    margin-right: -2px;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media screen and (min-width: 35em) {
  .post-hub-filterlist__item {
    display: inline-block;
  }
}
@media screen and (min-width: 35em) {
  .post-hub-filterlist .field-element {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 37.5em) {
  .post-hub-filterlist .button { /* 600px */
    border: none;
    margin: 2px;
    font-weight: 100;
    padding: 5px 10px;
    margin: 1px 3px;
    line-height: 150%;
    background-color: #004e93;
    border-color: #004e93;
    color: #ffffff;
    outline: 1px solid #004e93;
    outline-offset: 1px;
  }
}
@media screen and (min-width: 37.5em) {
  .post-hub-filterlist .button:after { /* 600px */
    content: none;
  }
}
@media screen and (min-width: 37.5em) {
  .post-hub-filterlist .button.button-inactive { /* 600px */
    outline: none;
    background-color: #385799;
    border-color: #385799;
  }
}
@media screen and (min-width: 37.5em) {
  .post-hub-filterlist .button:hover, .post-hub-filterlist .button:focus { /* 600px */
    outline-color: #002576;
    background-color: #002576;
    border-color: #002576;
  }
}

.field-element.field-element--post-hub-filterlist {
  margin-bottom: 35px;
}

.js-post-hub-filterlist .js-post-hub-filterlist__select {
  margin-bottom: 24px;
}

@media screen and (min-width: 35em) {
  .js-post-hub-filterlist__select,
  .js-post-hub-filter-tag__select,
  .post-hub-filter-cat__select {
    display: none !important;
  }
}

/* Hides the list if js is working, defaults to working list if not */
@media screen and (max-width: 34.9375em) {
  .js .js-post-hub-filterlist .post-hub-filterlist {
    display: none;
  }
  .js .js-post-hub-tag-filterlist .post-hub-filterlist {
    display: none;
  }
}
/* ----------------------------------------------
    Post hub - Layout
------------------------------------------------- */
:root {
  --blog-gutter-width: 3.5rem;
  --blog-half-gutter-width: calc((var(--blog-gutter-width) * 0.5));
  --blog-gutter-compensation: calc(var(--blog-half-gutter-width) * -1);
}

.post-hub--grid {
  /* Slim variation  - used when there's a sidebar */
}
@media screen and (min-width: 48em) {
  .post-hub--grid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-left: var(--blog-gutter-compensation);
    margin-right: var(--blog-gutter-compensation);
  }
}
@supports (display: grid) {
  @media screen and (min-width: 35em) {
    .post-hub--grid {
      display: grid;
      grid-gap: var(--blog-gutter-width);
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      margin-left: 0;
      margin-right: 0;
    }
  }
  @media screen and (min-width: 75em) {
    .post-hub--grid {
      grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    }
  }
}
.post-hub--grid .post-hub__item {
  margin-bottom: 32px;
}
@media screen and (min-width: 48em) {
  .post-hub--grid .post-hub__item {
    -ms-flex: 0 0 50%;
        flex: 0 0 50%;
    padding-left: var(--blog-half-gutter-width);
    padding-right: var(--blog-half-gutter-width);
    margin-bottom: var(--blog-gutter-width);
    max-width: 70ch;
  }
}
@media screen and (min-width: 62em) {
  .post-hub--grid .post-hub__item {
    -ms-flex-preferred-size: 33.3333333%;
        flex-basis: 33.3333333%;
  }
}
@supports (display: grid) {
  @media screen and (min-width: 35em) {
    .post-hub--grid .post-hub__item {
      width: 100%;
      -ms-flex-preferred-size: 100%;
          flex-basis: 100%;
      padding-left: 0;
      padding-right: 0;
      margin-bottom: 0;
    }
  }
}
@media screen and (min-width: 48em) {
  .post-hub--grid.post-hub--slim {
    margin-left: -16px;
    margin-right: -16px;
  }
}
@media screen and (min-width: 48em) {
  .post-hub--grid.post-hub--slim .post-hub__item {
    width: calc(25% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }
}
@supports (display: grid) {
  @media screen and (min-width: 48em) {
    .post-hub--grid.post-hub--slim {
      display: grid;
      grid-gap: 32px;
      grid-template-columns: repeat(2, 1fr);
      margin-left: 0;
      margin-right: 0;
    }
    .post-hub--grid.post-hub--slim.-clearfix:before, .post-hub--grid.post-hub--slim.-clearfix:after {
      content: none;
    }
    .post-hub--grid.post-hub--slim .post-hub__item {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
  }
}

/* ----------------------------------------------
    Post hub - Styles
------------------------------------------------- */
.post-hub__item__inner {
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.045);
  background: rgba(0, 0, 0, 0.045);
  padding: 15px 15px 20px;
}
@media screen and (min-width: 35em) {
  .post-hub__item__inner {
    padding: 25px 25px 20px;
  }
}
.post-hub__item__img-wrap {
  margin-bottom: 15px;
}
.post-hub__item__content {
  color: #555454;
}
.post-hub__item__title {
  font-size: var(--h3-font-size);
  line-height: var(--h3-line-height);
  text-transform: none;
  color: inherit;
  font-weight: 300;
  font-size: 20px;
  font-size: 2rem;
  line-height: 1.3;
  text-align: left;
  padding-bottom: 0;
  color: #004e93;
  border-bottom: 1px solid #dfe3e5;
  padding-bottom: 5px;
  margin-bottom: 5px;
  margin-top: 0;
}
.post-hub__item__title a {
  color: inherit;
  text-decoration: none;
}
.post-hub__item__footer {
  margin-top: auto;
}
.post-hub__item__more-link {
  text-decoration: none;
}
.post-hub__item__more-link:after {
  content: "...";
}

.archive-links {
  font-family: "Montserrat-webfont", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
  margin-bottom: var(--section-small);
}
.archive-links__title {
  text-transform: uppercase;
  color: inherit;
  margin-top: 20px;
  font-size: 2.6rem;
  opacity: 0.7;
}
@media screen and (min-width: 75em) {
  .archive-links__title {
    font-size: 3rem;
  }
}
.archive-links__list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 0;
  line-height: normal;
}
.archive-links__list__item {
  color: inherit;
  border-bottom: 1px solid rgba(231, 235, 247, 0.25);
}
.archive-links__list__item:first-child {
  border-top: 1px solid rgba(231, 235, 247, 0.25);
}
.archive-links__list__item__link {
  padding-top: 8px;
  padding-bottom: 8px;
  display: block;
  color: inherit;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 250ms ease-in-out;
  padding: 10px 18px 10px 0;
  transition: padding 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}
.archive-links__list__item__link:hover, .archive-links__list__item__link:focus, .archive-links__list__item__link:active {
  padding-left: 10px;
  background-color: #004e93;
}

/* --------------------------------------
    Post details
    Post macro for author and date.
--------------------------------------- */
.post-details {
  margin-bottom: 8px;
  color: #727171;
  font-size: var(--centi-font-size);
  text-transform: uppercase;
  font-family: "Montserrat-webfont", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
}

/* --------------------------------------
    Post details
    Post macro for author and date.
--------------------------------------- */
/* --------------------------------------
    Post categories
--------------------------------------- */
.post-single-categories {
  display: inline-grid;
  grid-auto-flow: column;
  -ms-flex-align: center;
      align-items: center;
  margin-bottom: 0;
  color: #9c9c9c;
  column-gap: 0.5em;
}
.post-single-categories svg {
  height: 0.9em;
  width: 0.9em;
}
.post-single-categories svg path,
.post-single-categories svg circle,
.post-single-categories svg ellipse,
.post-single-categories svg rect,
.post-single-categories svg line,
.post-single-categories svg polygon {
  fill: #9c9c9c;
}
.post-single-categories .post-single-categories__item {
  text-decoration: none;
  padding: 0.25em 0.75em;
  background-color: #EEEFF1;
  border-radius: 34px;
  font-family: "Montserrat-webfont", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
}

/* --------------------------------------
    Post tags
--------------------------------------- */
.post-single-tags {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  margin-bottom: 0;
  color: #9c9c9c;
  display: block;
  font-size: var(--centi-font-size);
  color: #7f7f7f;
  margin-bottom: 0;
  text-transform: uppercase;
}
.post-single-tags span {
  display: inline-block;
  margin-right: 0.5em;
}
.post-single-tags svg {
  margin-right: 0.5em;
  height: 0.9em;
  width: 0.9em;
}
.post-single-tags svg path,
.post-single-tags svg circle,
.post-single-tags svg ellipse,
.post-single-tags svg rect,
.post-single-tags svg line,
.post-single-tags svg polygon {
  fill: #9c9c9c;
}

/* --------------------------------------
    Single Post pagination
--------------------------------------- */
.post-pagination {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
}
.post-pagination a {
  text-decoration: none;
  font-family: "Montserrat-webfont", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
  -ms-flex: 0 0 auto;
      flex: 0 0 auto;
  display: block;
  padding: 0.25em 1em;
  border: 1px solid #EEEFF1;
  margin-left: -1px;
  transition: color 250ms ease-in-out, background-color 250ms ease-in-out;
}
.post-pagination a:hover, .post-pagination a:focus, .post-pagination a:active {
  background: #EEEFF1;
}
.post-pagination > *:first-child {
  margin-left: 0;
  border-top-left-radius: 34px;
  border-bottom-left-radius: 34px;
}
.post-pagination > *:last-child {
  border-top-right-radius: 34px;
  border-bottom-right-radius: 34px;
}

.post-single__banner {
  margin-bottom: 20px;
}

.post-single__footer {
  margin-top: 24px;
}

.post-list-item {
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  border: none;
  padding-left: var(--timeframe-section-left-gutter);
  border-left: 1px solid #f0f0f0;
  margin-bottom: calc(var(--section) * 0.75);
}
@media screen and (min-width: 35em) {
  .post-list-item__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}
.post-list-item__picture {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e7ebf7;
  background-image: url(../../assets/logo.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  margin-bottom: var(--paragraph-break);
}
.post-list-item__title {
  font-size: var(--h3-font-size);
  line-height: var(--h3-line-height);
  text-transform: none;
  color: inherit;
}
.post-list-item__title a {
  text-decoration: none;
}
.post-list-item__more-link {
  margin-bottom: 0;
}

:root {
  --timeframe-section-left-gutter: 15px;
}

.posts-timeframe__title a {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: block;
  padding: 10px var(--timeframe-section-left-gutter);
  background-color: #e7ebf7;
  text-decoration: none;
  border-radius: 1px;
  transition: color 250ms ease-in-out, background-color 250ms ease-in-out;
}
.posts-timeframe__title a:hover, .posts-timeframe__title a:focus, .posts-timeframe__title a:active {
  color: #002576;
}

.posts-categories-links {
  /* - Depth 1 - */
  /* - Depth 2 - */
}
.posts-categories-links__nav {
  margin-bottom: 1.5em;
}
.posts-categories-links__title {
  font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
  text-transform: none;
  color: #7090cb;
  line-height: normal;
  text-transform: uppercase;
}
@media screen and (min-width: 75em) {
  .posts-categories-links__title {
    font-size: 2.8rem;
  }
}
.posts-categories-links__list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}
.posts-categories-links__item {
  border-bottom: 1px solid #7090cb;
  /* Active / on / current */
}
.posts-categories-links__item:last-child {
  border-bottom: none;
}
.posts-categories-links__item a {
  text-decoration: none;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  padding-top: 1em;
  padding-bottom: 1em;
  color: #ffffff;
  line-height: normal;
  transition: color 250ms ease-in-out, background-color 250ms ease-in-out;
}
.posts-categories-links__item a:hover, .posts-categories-links__item a:focus, .posts-categories-links__item a:active {
  color: #7090cb;
}
.posts-categories-links__item a:hover .category-links__item__title, .posts-categories-links__item a:focus .category-links__item__title, .posts-categories-links__item a:active .category-links__item__title {
  text-decoration: underline;
}
.posts-categories-links__item.current-item > a {
  color: #ffffff;
  font-weight: 700;
}
.posts-categories-links__item.current-item > a:hover, .posts-categories-links__item.current-item > a:focus, .posts-categories-links__item.current-item > a:active {
  color: #7090cb;
}
.posts-categories-links .depth1 li {
  display: block;
}
.posts-categories-links .depth2 {
  margin-left: 0.5em;
}
