/**
 * Royce 3.0.0
 * By Just Good Themes - https://justgoodthemes.com/
 */
/**
 * Table of Contents
 *
 * 1. Variables
 * 2. Reset
 * 3. Base
 * 4. Ghost cards
 * 5. Overflowing content
 * 6. Structure
 * 7. Header
 * 8. Hero
 * 9. Posts
 * 10. Comments, read next, tags
 * 11. Pagination
 * 12. Custom templates
 * 13. Footer
 * 14. Members
 * 15. PrismJS
 * 16. SimpleLightbox
 * 17. Animations
*/

/* 1. Variables
----------------------------- */
:root {
  /* Colours */
  --color-gray-lightest: #f8f8f8;
  --color-gray-lighter: #eee;
  --color-gray-light: #aaa;
  --color-gray: #666;
  --color-gray-dark: #333;
  --color-gray-darkest: #1d1d1d;
  --color-pale-yellow: #fffac4;

  /* Fonts */
  --font-primary: 'source sans pro',Helvetica,sans-serif;
  --font-secondary: 'source sans pro', sans-serif;
  --font-mono: Consolas, 'Andale Mono', 'Courier New', Courier, monospace;
}

:root {
  --color-headerCard-light: #FFF;
  --color-headerCard-dark: #000;
  --color-text-headerCardStyleLight: var(--color-headerCard-dark);
  --color-background-headerCardStyleLight: var(--color-headerCard-light);
  --color-text-button-headerCardStyleLight: var(--color-headerCard-light);
  --color-background-button-headerCardStyleLight: var(--ghost-accent-color);
  --color-text-headerCardStyleDark: var(--color-headerCard-light);
  --color-background-headerCardStyleDark: var(--color-headerCard-dark);
  --color-text-button-headerCardStyleDark: var(--color-headerCard-dark);
  --color-background-button-headerCardStyleDark: var(--color-headerCard-light);
  --color-text-headerCardStyleAccent: var(--color-headerCard-light);
  --color-background-headerCardStyleAccent: var(--ghost-accent-color);
  --color-text-button-headerCardStyleAccent: var(--color-headerCard-dark);
  --color-background-button-headerCardStyleAccent: var(--color-headerCard-light);
  --color-text-headerCardStyleImage: var(--color-headerCard-light);
  --color-background-headerCardStyleImage: var(--color-headerCard-dark);
  --color-text-button-headerCardStyleImage: var(--color-headerCard-dark);
  --color-background-button-headerCardStyleImage: var(--color-headerCard-light)
}

:root {
  --color-text-button: var(--color-text-white);
  --color-background-button: var(--ghost-accent-color)
}

:root {
  --grid-width: 1142px;
  --grid-outer-gutter: var(--space-16);
  --grid-column-medium-gutter: var(--space-16);
  --grid-column-large-gutter: var(--space-24)
}

:root {
  --color-text-primary: #000C2D;
  --color-text-secondary: #687385;
  --color-text-white: #FFFFFF;
  --color-text-error: #A01F1F;
  --color-text-success: #085E38;
  --color-background-primary: #F5F7F9;
  --color-background-secondary: #FFFFFF;
  --color-background-info: #F3F6FF;
  --color-background-success: #ECFDF5;
  --color-background-warning: #FFFAF2;
  --color-background-danger: #FDF4F4;
  --color-border-primary: #DFE3E9;
  --color-border-info: #3366FF;
  --color-border-success: #52BD95;
  --color-border-warning: #FFB020;
  --color-border-danger: #D14343;
  --color-subscribe-form-icon: #021637;
  --color-background-subscribe-form: var(--color-text-primary)
}

:root {
  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-72: 72px;
  --space-80: 80px;
  --space-96: 96px;
  --space-128: 128px;
  --space-160: 160px;
  --space-168: 168px
}

:root {
  --global-transition: 500ms;
  --global-faster-transition: .26s;
  --global-border-radius: var(--space-8);
  --global-letter-spacing: .5px
}

/* 2. Reset
----------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bold}code,kbd,samp,pre{font-family: monospace, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button;cursor:pointer;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

/* 3. Base
----------------------------- */
html {
  font-family: var(--font-primary);
  font-size: 112.5%;
}

body {
  background: #fff;
  color: var(--color-gray);
  line-height: 1.66667;
}

a {
  color: var(--ghost-accent-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  transition: color .3s ease;
}

a:hover,
a:focus {
  color: var(--color-gray-darkest);
  text-decoration: none;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
h6 {
  color: var(--color-gray-darkest);
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin: 2.5rem 0 1rem;
  text-rendering: optimizeLegibility;
}

h1+h2,
h2+h3,
h3+h4,
h4+h5,
h5+h6 {
  margin-top: 1rem;
}

h1,
.h1 {
  font-size: 2rem;
}

@media only screen and (min-width: 641px) {
  h1,
  .h1 {
    font-size: 2.22222rem;
  }
}

@media only screen and (min-width: 801px) {
  h1,
  .h1 {
    font-size: 2.66667rem;
  }
}

h2,
.h2 {
  font-size: 1.77778rem;
}

@media only screen and (min-width: 641px) {
  h2,
  .h2 {
    font-size: 2rem;
  }
}

h3,
.h3 {
  font-size: 1.55556rem;
}

@media only screen and (min-width: 641px) {
  h3,
  .h3 {
    font-size: 1.66667rem;
  }
}

h4,
.h4 {
  font-size: 1.33333rem;
}

h5,
h6 {
  font-size: 1rem;
}

p {
  margin: 1rem 0;
}

mark,
ins {
  background: var(--color-pale-yellow);
  color: var(--color-gray-dark);
  padding: 0.05em 0.25em;
  text-decoration: none;
}

code,
pre {
  font-family: var(--font-mono);
  font-size: 0.88889rem;
}

pre {
  background: var(--color-gray-darkest);
  color: var(--color-gray-light);
  font-size: 0.88889rem;
  line-height: 1.5;
  margin: 2rem 0;
  overflow: auto;
  padding: 1.11111rem;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
}

blockquote {
  border-left: 2px solid var(--ghost-accent-color);
  color: var(--color-gray-darkest);
  font-family: var(--font-secondary);
  font-weight: normal;
  font-size: 1.33333rem;
  line-height: 1.25;
  margin: 2rem 0;
  padding: 0 0 0 1.25rem;
}

blockquote p {
  margin-bottom: 0.5em;
}

blockquote:first-child {
  margin-top: 0;
}

blockquote p {
  margin-bottom: 0.5em;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote small,
blockquote cite {
  color: var(--color-gray-light);
  display: block;
  font-family: var(--font-primary);
  font-size: 0.75em;
  font-style: normal;
  font-weight: normal;
  margin-top: 0.5em;
}

dl {
  margin: 1rem 0;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 0 0.5rem;
}

ul,
ol {
  margin: 1rem 0;
  padding: 0 0 0 1.25em;
}

ul {
  list-style: disc;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

hr {
  background-color: var(--color-gray-lighter);
  border: 0;
  height: 1px;
  margin: 2rem 0;
}

table {
  border-collapse: collapse;
  font-size: 0.88889rem;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  width: 100%;
}

:not(.responsive-table) > table {
  margin: 2rem 0;
}

.responsive-table {
  display: block;
  margin: 2rem 0;
  overflow-x: auto;
  width: 100%;
}

caption {
  color: var(--color-gray-light);
  font-size: 0.77778rem;
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 0.5em;
  text-align: left;
}

th,
td {
  border-bottom: 1px solid var(--color-gray-lighter);
  padding: 0.625em;
}

th {
  color: var(--color-gray-darkest);
  font-weight: bold;
}

figure {
  margin: 2rem 0;
}

figure img {
  display: block;
}

figcaption {
  color: var(--color-gray-light);
  font-size: 0.77778rem;
  font-style: normal;
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  padding-top: 0.5em;
  text-align: left;
}

.js-reframe {
  margin: 2rem 0;
}

embed,
iframe,
object,
video {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
p:first-child,
pre:first-child,
blockquote:first-child,
dl:first-child,
ul:first-child,
ol:first-child,
hr:first-child,
figure:first-child,
:not(.responsive-table) > table:first-child,
.responsive-table:first-child,
.js-reframe:first-child {
  margin-top: 0;
}

/* Form fields */
label {
  color: var(--color-gray-darkest);
  font-size: 0.88889rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
select,
textarea {
  background: #fff;
  border: 1px solid var(--color-gray-darkest);
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--color-gray);
  cursor: pointer;
  font-family: var(--font-primary);
  display: block;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  max-width: 100%;
  padding: 0.5em 0.625em;
  width: 100%;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  outline: 0;
}

.form-control {
  margin-bottom: 1rem;
}

/* Placeholder text color */
::-webkit-input-placeholder {
  color: var(--color-gray-light);
}

:-moz-placeholder {
  color: var(--color-gray-light);
}

::-moz-placeholder {
  color: var(--color-gray-light);
  opacity: 1;
}

:-ms-input-placeholder {
  color: var(--color-gray-light);
}

/* Buttons */
.button {
  align-items: center;
  background: var(--color-gray-darkest);
  border: 1px solid var(--color-gray-darkest);
  border-radius: 0;
  box-sizing: border-box;
  box-shadow: none;
  color: #fff;
  display: inline-flex;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  justify-content: center;
  letter-spacing: 0.075em;
  line-height: 1.5;
  padding: 0.67857em 2.14285em;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: .3s ease;
  vertical-align: middle;
  white-space: nowrap;
}

.button:hover,
.button:focus,
.button:active {
  background: var(--ghost-accent-color);
  border-color: var(--ghost-accent-color);
  color: #fff;
  outline: 0;
}

.button svg {
  fill: currentColor;
  flex-shrink: 0;
  height: 1em;
  width: 1em;
}

.button-outlined {
  background: transparent;
  border-color: var(--ghost-accent-color);
}

/* Menu */
.menu,
.actions {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Avatars */
.avatar {
  border-radius: 50%;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Small caps text */
.small-caps {
  font-family: var(--font-primary);
  font-size: 0.77778rem;
  font-weight: normal;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Underlined headings */
.has-underline::after {
  background-color: var(--ghost-accent-color);
  display: block;
  content: "";
  height: 1px;
  margin-top: 1.25em;
  width: 60px;
}

/* Footnotes */
.footnotes-sep {
  clear: both;
  margin-bottom: 1rem;
}

.footnotes-list {
  font-size: 0.77778em;
  line-height: 1.5;
}

.footnote-item p {
  margin-bottom: 0.5em;
}

/* Text meant only for screen readers */
.screen-reader-text,
.site-header-logo + .site-header-identity  {
  border-width: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* Icons */
.icon-arrow-left,
.icon-arrow-right {
  background: currentColor;
  color: inherit;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.icon-arrow-left,
.icon-arrow-right {
  height: 2px;
  width: 35px;
}

.icon-arrow-left::before,
.icon-arrow-right::before {
  content: "";
  height: 12px;
  position: absolute;
  width: 12px;
}

.icon-arrow-left:before {
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  left: -1px;
  top: 1px;
  transform: rotate(-45deg);
  transform-origin: left top;
}

.icon-arrow-right:before {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  right: -1px;
  top: 1px;
  transform: rotate(45deg);
  transform-origin: right top;
}

.icon-menu {
  background: currentColor;
  color: inherit;
  height: 2px;
  margin-top: -1px;
  right: 0;
  position: absolute;
  top: 50%;
  transition: width .15s ease;
  width: 20px;
}

.icon-menu:before,
.icon-menu:after {
  background: currentColor;
  content: "";
  height: 100%;
  position: absolute;
  right: 0;
  transition: transform .15s ease;
  width: 24px;
}

.icon-menu:before {
  top: 5px;
}

.icon-menu:after {
  top: -5px;
}

.nav--opened .icon-menu {
  width: 35px;
}

.nav--opened .icon-menu:before {
  transform: translate3d(7px, 0, 0) rotate(-45deg) scale(0.65, 1);
}

.nav--opened .icon-menu:after {
  transform: translate3d(7px, 0, 0) rotate(45deg) scale(0.65, 1);
}

.icon-close {
  background: 0;
  color: inherit;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
}
.icon-close::before,
.icon-close::after {
  background: currentColor;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  width: 100%;
}
.icon-close::before {
  transform: rotate(45deg);
}
.icon-close::after {
  transform: rotate(-45deg);
}

/* 4. Ghost Cards
----------------------------- */
.kg-card {
  margin: 2rem 0;
}

.kg-card:first-child {
  margin-top: 0;
}

.kg-card > pre,
.kg-card > .js-reframe {
  margin: 0;
}

#main .kg-btn,
#main .kg-product-card-button,
#main .kg-header-card-button {
  align-items: center;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  display: inline-flex;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  height: auto;
  justify-content: center;
  letter-spacing: 0.075em;
  line-height: 1.5;
  opacity: 1;
  padding: 0.67857em 2.14285em;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: .3s ease;
  vertical-align: middle;
  white-space: nowrap;
}

#main .kg-btn-accent,
#main .kg-product-card-btn-accent,
#main .kg-header-card .kg-header-card-button {
  background: var(--color-gray-darkest);
  border: 1px solid var(--color-gray-darkest);
  color: #fff;
}

#main .kg-header-card.kg-style-dark .kg-header-card-button {
  border-color: var(--ghost-accent-color);
}

#main .kg-btn-accent:hover,
#main .kg-btn-accent:focus,
#main .kg-btn-accent:active,
#main .kg-product-card-btn-accent:hover,
#main .kg-product-card-btn-accent:focus,
#main .kg-product-card-btn-accent:active,
#main .kg-header-card:not(.kg-style-accent) .kg-header-card-button:hover,
#main .kg-header-card:not(.kg-style-accent) .kg-header-card-button:focus,
#main .kg-header-card:not(.kg-style-accent) .kg-header-card-button:active {
  background: var(--ghost-accent-color);
  border-color: var(--ghost-accent-color);
  color: #fff;
}

#main .kg-header-card.kg-style-accent .kg-header-card-button:hover,
#main .kg-header-card.kg-style-accent .kg-header-card-button:focus,
#main .kg-header-card.kg-style-accent .kg-header-card-button:active {
  background: #fff;
  border-color: #fff;
  color: var(--color-gray-darkest);
}

/* Gallery */
.kg-gallery-container {
  display: flex;
  flex-direction: column;
}

.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.kg-gallery-row:not(:first-of-type) {
  margin: 3px 0 0;
}

.kg-gallery-image:not(:first-of-type) {
  margin: 0 0 0 3px;
}

.kg-gallery-image img {
  border-radius: 0;
  cursor: zoom-in;
  display: block;
  height: 100%;
  margin: 0;
  width: 100%;
}

/* Bookmark card */
.kg-bookmark-card {
  width: 100%;
}

.kg-bookmark-container {
  border: 1px solid var(--color-gray-lighter);
  color: var(--color-gray);
  display: flex;
  flex-direction: column-reverse;
  min-height: 140px;
  overflow: hidden;
  text-decoration: none;
  width: 100%;
}

@media only screen and (min-width: 481px) {
  .kg-bookmark-container {
    flex-direction: row;
  }
}

.kg-bookmark-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: start;
  padding: 1.11111rem;
}

.kg-bookmark-title {
  color: var(--color-gray-darkest);
  font-family: var(--font-secondary);
  font-size: 1.33333rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.83333rem;
}

.kg-bookmark-description {
  display: -webkit-box;
  font-size: 0.88889rem;
  font-weight: normal;
  line-height: 1.5;
  max-height: 4.5em;
  overflow-y: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.kg-bookmark-metadata {
  display: flex;
  font-size: 0.77778rem;
  line-height: 1.5;
  margin-top: 0.83333rem;
  width: 100%;
}

.kg-bookmark-icon {
  height: 1.33333rem;
  margin-right: 0.5rem;
  width: 1.33333rem;
}

.kg-bookmark-author {
  color: inherit;
}

.kg-bookmark-publisher:before {
  content: "\00b7";
  margin: 0 0.35rem;
}

.kg-bookmark-thumbnail {
  position: relative;
  flex-grow: 1;
  min-height: 160px;
  min-width: 33%;
}

@media only screen and (min-width: 481px) {
  .kg-bookmark-thumbnail {
    min-height: 0;
  }
}

.kg-bookmark-thumbnail img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

/* Callout */
#main .kg-callout-card {
  border-radius: 0;
  padding: 1.11111rem;
}

#main .kg-callout-card-accent a {
  color: #fff;
  text-decoration: underline;
}

#main .kg-callout-card-accent a:hover,
#main .kg-callout-card-accent a:focus {
  text-decoration: none;
}

/* Toggle */
#main .kg-toggle-card {
  border-radius: 0;
  margin: 0;
  padding: 1.11111rem;
}

#main .kg-toggle-card+.kg-toggle-card {
  margin-top: 1rem;
}

#main :not(.kg-toggle-card)+.kg-toggle-card,
#main .kg-toggle-card+ :not(.kg-toggle-card) {
  margin-top: 2rem;
}

#main .kg-toggle-card:last-child {
  margin-bottom: 2rem;
}

#main .kg-toggle-heading-text {
  font-size: 1.33333rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Alt blockquote */
#main .kg-blockquote-alt {
  border: 0;
  color: var(--color-gray-darkest);
  font-size: 1.66667rem;
  font-style: normal;
  line-height: 1.25;
  margin-bottom: 2.5rem;
  padding: 45px 0 0;
  position: relative;
  text-align: center;
}

@media only screen and (min-width: 641px) {
  #main .kg-blockquote-alt {
    font-size: 2rem;
  }
}

#main .kg-blockquote-alt::before {
  color: var(--ghost-accent-color);
  content: "\201C";
  font-size: 72px;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

/* Audio, file upload */
#main .kg-audio-card,
#main .kg-file-card-container,
#main .kg-audio-thumbnail,
#main .kg-file-card-icon:before {
  border-radius: 0;
}

#main .kg-file-card-title,
#main .kg-audio-title {
  color: var(--color-gray-darkest);
}

/* Product */
#main .kg-product-card-container {
  border-radius: 0;
  padding: 1.11111rem;
}

#main .kg-product-card-image {
  border-radius: 0;
}

#main .kg-product-card-title {
  font-family: var(--font-secondary);
  font-size: 1.33333rem;
  font-weight: 600;
  line-height: 1.2;
}

#main .kg-product-card-description {
  font-size: 0.88889rem;
  line-height: 1.5;
}

/* Header */
#main .kg-header-card {
  padding-left: 1.11111rem;
  padding-right: 1.11111rem;
}

#main .kg-header-card.kg-style-dark {
  background-color: var(--color-gray-darkest);
}

#main .kg-header-card.kg-style-light {
  background-color: var(--color-gray-lightest);
}

#main .kg-header-card-header {
  font-size: 2.22222rem;
  font-weight: 600;
  letter-spacing: normal;
}

@media only screen and (min-width: 641px) {
  #main .kg-header-card-header {
    font-size: 2.66667rem;
  }
}

#main .kg-header-card-subheader {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: normal;
}

@media only screen and (min-width: 641px) {
  #main .kg-header-card-subheader {
    font-size: 1.11111rem;
  }
}

/* 5. Overflowing content
----------------------------- */
@media only screen and (min-width: 1086px) {
  .kg-blockquote-alt,
  .kg-gallery-card {
    margin-left: calc(510px - 47vw);
    margin-right: calc(510px - 47vw);
  }

  .post-full .post-image,
  .post-content img[src$='#wide'],
  .post-content img[src$='#full'],
  .kg-width-wide .kg-image,
  .kg-width-full .kg-image {
    margin-left: calc(510px - 47vw);
    margin-right: calc(510px - 47vw);
    max-width: none;
    width: calc(94vw - 300px);
  }
}

@media only screen and (min-width: 1469px) {
  .kg-blockquote-alt,
  .kg-gallery-card {
    margin-left: -180px;
    margin-right: -180px;
  }

  .post-full .post-image,
  .post-content img[src$='#wide'],
  .post-content img[src$='#full'],
  .kg-width-wide .kg-image,
  .kg-width-full .kg-image {
    margin-left: -180px;
    margin-right: -180px;
    max-width: none;
    width: 1080px;
  }
}

/* 6. Structure
----------------------------- */
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.site-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 2.5rem 3vw;
}

.site-main {
  flex-grow: 1;
  margin-bottom: 1.66667em;
}

.site-main,
.site-footer {
  max-width: 1080px;
}

.inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

@media only screen and (min-width: 801px) {
  .site-content {
    margin-left: 30vw;
    padding-bottom: 3.33333rem;
    padding-top: 3.33333rem;
  }
}
@media only screen and (min-width: 1001px) {
  .site-content {
    margin-left: 300px;
  }
}
@media only screen and (min-width: 2001px) {
  .site-content {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* 7. Header
----------------------------- */
.site-header {
  background: var(--color-gray-darkest);
  color: var(--color-gray);
}

@media only screen and (min-width: 801px) {
  .site-header {
    bottom: 0;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 30vw;
  }
}

@media only screen and (min-width: 1001px) {
  .site-header {
    width: 300px;
  }
}

.site-header-inside {
  padding: 0.83333rem 3vw;
}

@media only screen and (min-width: 801px) {
  .site-header-inside {
    padding-bottom: 3.33333rem;
    padding-top: 3.33333rem;
  }
}

@media only screen and (min-width: 1001px) {
  .site-header-inside {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.site-header-branding {
  align-items: center;
  display: flex;
  width: 100%;
}

.site-header-branding a {
  color: #fff;
  text-decoration: none;
}

@media only screen and (min-width: 801px) {
  .site-header-branding {
    flex-direction: column;
  }
}

.site-header-logo,
.site-header-avatar {
  flex: 0 0 auto;
  margin: 0 0.5rem 0 0;
}

.site-header-logo img,
.site-header-avatar img {
  display: block;
}

@media only screen and (min-width: 801px) {
  .site-header-logo,
  .site-header-avatar {
    margin-bottom: 1.66667rem;
    margin-right: 0;
  }
}

.site-header-avatar {
  border: 2px solid var(--ghost-accent-color);
  border-radius: 50%;
  height: 50px;
  width: 50px;
}

@media only screen and (min-width: 801px) {
  .site-header-avatar {
    height: 100px;
    width: 100px;
  }
}

.site-header-identity {
  margin-right: 0.5rem;
}

@media only screen and (min-width: 801px) {
  .site-header-identity {
    margin-bottom: 1.66667rem;
    margin-right: 0;
  }
}

.site-header-title {
  font-size: 1rem;
  margin: 0;
}

@media only screen and (min-width: 801px) {
  .site-header-title {
    font-size: 1.33333rem;
  }
}

.site-header-desc {
  font-size: 0.77778rem;
  line-height: 1.2;
  margin: 0.15em 0 0;
  max-width: 18rem;
}

@media only screen and (min-width: 801px) {
  .site-header-desc {
    font-size: 0.83333rem;
    margin-top: 0.4em;
  }
}

.nav-toggle {
  background-color: transparent;
  border: 0;
  color: #fff;
  flex-shrink: 0;
  height: 2rem;
  margin-left: auto;
  padding: 0;
  position: relative;
  width: 2rem;
  z-index: 9999;
}

@media only screen and (min-width: 801px) {
  .nav-toggle {
    display: none;
  }
}

.site-header-nav {
  background: var(--color-gray-darkest);
  bottom: 0;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  right: -100%;
  top: 0;
  transition: right .3s, visibility 0s .3s;
  visibility: hidden;
  width: 100%;
  z-index: 9998;
}

@media only screen and (min-width: 801px) {
  .site-header-nav {
    position: static;
    visibility: visible;
  }
}

.site-header-nav-wrap {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.site-header-nav-inside {
  padding: 4.66667rem 3vw;
}

@media only screen and (min-width: 801px) {
  .site-header-nav-inside {
    padding: 0;
  }
}

/* Menu items */
.site-header-nav .menu {
  border-bottom: 1px solid var(--color-gray-dark);
}

.site-header-nav .menu-item {
  border-top: 1px solid var(--color-gray-dark);
  font-size: 0.77778rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  padding: 0.5em 0;
  text-transform: uppercase;
}

.site-header-nav .menu-item a {
  color: var(--color-gray-light);
  text-decoration: none;
}

.site-header-nav .menu-item a:hover,
.site-header-nav .menu-item a:focus,
.site-header-nav .menu-item-current a {
  color: var(--ghost-accent-color);
}

/* Social links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.66667rem;
}

@media only screen and (min-width: 801px) {
  .social-links {
    justify-content: center;
  }
}

.social-links a {
  align-items: center;
  color: var(--color-gray);
  display: inline-flex;
  justify-content: center;
  margin: 0 1em 0.5em 0;
  padding: 0 3px;
  text-decoration: none;
}

@media only screen and (min-width: 801px) {
  .social-links a {
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
}

.social-links a:hover,
.social-links a:focus {
  color: var(--ghost-accent-color);
}

.social-links svg {
  fill: currentColor;
  flex-shrink: 0;
  height: 1em;
  width: 1em;
}

/* Actions */
.actions {
  margin-top: 1.66667rem;
  text-align: center;
}

.action-item {
  font-size: 0.83333rem;
  line-height: 1.5;
  margin: 0.75em 0 0;
}

.action-item a:not(.button) {
  color: var(--color-gray-light);
  text-decoration: none;
}

.action-item a:not(.button):hover,
.action-item a:not(.button):focus {
  color: var(--ghost-accent-color);
}

.action-item .button {
  padding-left: 0.71428em;
  padding-right: 0.71428em;
  width: 100%;
}

/* Mobile menu */
.nav--opened .site {
  height: 100%;
  left: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  transform: translate3d(0, 0, 0);
  width: 100%;
  z-index: 9997;
}

.nav--opened .site-header-nav {
  right: 0;
  transition: right .3s ease-in-out;
  visibility: visible;
}

/* 8. Hero
----------------------------- */
.hero {
  margin-bottom: 2.5rem;
}

@media only screen and (min-width: 641px) {
  .hero {
    margin-bottom: 3.33333rem;
  }
}

.hero-text {
  font-weight: normal;
  margin: 0;
  font-family: source sans pro,Helvetica,sans-serif;
}

.hero-text:after {
  margin-top: 1.66667rem;
}

/* 9. Posts
----------------------------- */
.post,
.post-header {
  margin-bottom: 1.66667rem;
}

.post-title {
  margin: 0 0 0.5em;
}

.post-title.has-underline::after {
  margin-top: 0.83333rem;
}

.post-title a {
  color: inherit;
  display: inline;
  text-decoration: none;
}

.post-image {
  display: block;
}

.post-image img {
  display: block;
  width: 100%;
}

.post-meta {
  color: var(--color-gray-light);
  font-size: 0.77778rem;
  letter-spacing: 0.07142em;
  line-height: 1.5;
  margin-bottom: 0.75em;
}

.post-tags,
.post-share {
  font-size: 0.77778rem;
  line-height: 1.5;
}

.post-tags a,
.post-share a {
  display: inline-block;
  margin-right: 10px;
  text-decoration: none;
}

.post-share-title {
  color: var(--color-gray-darkest);
  display: inline-block;
  font-weight: bold;
  margin-right: 10px;
}

.post-tags a:before {
  content: "\0023";
}

.post-footer {
  margin-top: 1.66667rem;
}

@media only screen and (min-width: 641px) {
  .post-footer {
    margin-top: 2.5rem;
  }
}

/* Drop cap */
.post.has-drop-cap .post-content > p:first-child::after {
  content: "";
  clear: both;
  display: table;
}

@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  .post.has-drop-cap .post-content > p:first-child:first-letter {
    color: var(--color-gray-darkest);
    font-family: var(--font-secondary);
    initial-letter: 2;
    -webkit-initial-letter: 2;
    padding-right: 10px;
  }
}

@supports (not (initial-letter: 2)) and (not (-webkit-initial-letter: 2)) {
  .post.has-drop-cap .post-content > p:first-child:first-letter {
    color: var(--color-gray-darkest);
    font-weight: normal;
    font-size: 60px;
    font-family: var(--font-secondary);
    float: left;
    line-height: 0.95;
    margin-right: 10px;
    position: relative;
    text-transform: uppercase;
    vertical-align: bottom;
  }

  @-moz-document url-prefix() {
    .post.has-drop-cap .post-content > p:first-child:first-letter {
      padding-top: 0.15em;
    }
  }
}

/* Featured posts */
.featured-posts {
  display: flex;
  flex-wrap: wrap;
  margin-left:  -0.83333rem;
  margin-right: -0.83333rem;
  margin-bottom: 2.5rem;
}

.post-featured {
  box-sizing: border-box;
  padding-left: 0.83333rem;
  padding-right: 0.83333rem;
  position: relative;
  width: 100%;
}

.post-featured .post-image {
  display: block;
  height: 0;
  margin-bottom: 1.11111rem;
  padding-top: 60%;
  position: relative;
  width: 100%;
}

.post-featured img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.post-featured .post-header {
  margin: 0;
}

.post-featured .post-meta {
  margin-bottom: 0.5em;
}

.post-featured .post-title,
.post-featured .post-tags {
  margin: 0 0 0.83333rem;
}

@media only screen and (min-width: 601px) and (max-width: 800px), only screen and (min-width: 1001px) {
  .post-featured:only-child,
  .post-featured:first-child:not(:nth-last-child(2)) {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .post-featured.post-has-image:only-child .post-image,
  .post-featured.post-has-image:first-child:not(:nth-last-child(2)) .post-image {
    margin-bottom: 0;
  }

  .post-featured.post-has-image:only-child .post-header,
  .post-featured.post-has-image:first-child:not(:nth-last-child(2)) .post-header {
    background: rgba(29, 29, 29, 0.9);
    border-left: 2px solid var(--ghost-accent-color);
    bottom: 1.66667rem;
    left: 2.5rem;
    margin: 0;
    max-width: 60%;
    min-width: 30%;
    padding: 1.5rem;
    position: absolute;
  }

  .post-featured.post-has-image:only-child .post-title,
  .post-featured.post-has-image:first-child:not(:nth-last-child(2)) .post-title {
    color: #fff;
  }

  .post-featured.post-has-image:only-child .post-label,
  .post-featured.post-has-image:first-child:not(:nth-last-child(2)) .post-label {
    background-color: rgba(255, 255, 255, .15);
    color: #fff;
  }

  .post-featured.post-has-image:only-child .post-tags a:hover,
  .post-featured.post-has-image:only-child .post-tags a:focus,
  .post-featured.post-has-image:first-child:not(:nth-last-child(2)) .post-tags a:hover,
  .post-featured.post-has-image:first-child:not(:nth-last-child(2)) .post-tags a:focus {
    color: var(--color-gray-light);
  }

  .post-featured:first-child:nth-last-child(2),
  .post-featured:nth-child(4n+2),
  .post-featured:nth-child(4n+5) {
    flex: 0 0 60%;
    max-width: 60%;
  }

  .post-featured:first-child:nth-last-child(2) .post-image,
  .post-featured:nth-child(4n+2) .post-image,
  .post-featured:nth-child(4n+5) .post-image {
    padding-top: 60%;
  }

  .post-featured:last-child:nth-last-child(1),
  .post-featured:nth-child(4n),
  .post-featured:nth-child(4n+3) {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .post-featured:last-child:nth-last-child(1) .post-image,
  .post-featured:nth-child(4n) .post-image,
  .post-featured:nth-child(4n+3) .post-image {
    padding-top: calc(90% + 9px);
  }
}

@media only screen and (min-width: 1001px) {
  .post-featured.post-has-image:only-child .post-title,
  .post-featured.post-has-image:first-child:not(:nth-last-child(2)) .post-title {
    font-size: 2rem;
  }
}

/* Post feed */
.post-feed .post {
  border-bottom: 1px solid var(--color-gray-lighter);
  margin-bottom: 2.5rem;
}

.post-feed .post-header {
  margin-bottom: 0.83333rem;
}

.post-feed .post-content {
  margin-bottom: 2.5rem;
}

.post-feed .post-excerpt {
  margin: 0 0 1.38889rem;
}

.post-feed .post-excerpt:empty {
  display: none;
}

.post-excerpt-dots:not(:empty):after {
  content: "\2026";
}

.post-feed .post-tags {
  margin-top: 0;
}

.post-feed-header {
  margin-bottom: 2.5rem;
}

.post-feed-title {
  margin: 0 0 0.25rem;
}

.post-feed-title.small-caps {
  color: var(--color-gray-dark);
  margin-bottom: 1.66667rem;
}

.post-feed-desc {
  color: var(--color-gray-light);
  margin: 0.25em 0 0;
}

/* 10. Comments, read next, tags
----------------------------- */
.comments-area,
.read-next,
.tagcloud {
  margin-bottom: 1.66667rem;
  margin-top: 3.33333rem;
}

.comments-title,
.read-next-title,
.tagcloud-title {
  margin-bottom: 1.66667rem;
}

.read-next .post {
  margin-bottom: 1.66667rem;
}

.read-next .post-meta {
  margin: 0 0 0.5em;
}

.read-next .post-tags {
  margin: 0.5em 0 0;
}

.tagcloud a {
  border: 1px solid var(--color-gray-lighter);
  font-size: 0.77778rem;
  line-height: 1.5;
  margin: 0 0.25em 0.5em 0;
  padding: 0.5em 0.75em;
  text-decoration: none;
  transition: .3s ease;
}

.tagcloud a:hover,
.tagcloud a:focus {
  background: var(--ghost-accent-color);
  border-color: var(--ghost-accent-color);
  color: #fff;
}

/* 11. Pagination
----------------------------- */
.pagination {
  margin-bottom: 3.33333rem;
  margin-top: 3.33333rem;
  text-align: center;
}

.pagination .nav-links {
  padding: 0 50px;
  position: relative;
}

.page-number {
  color: var(--color-gray-light);
  display: inline-block;
  
}

.pagination .newer-posts,
.pagination .older-posts {
  height: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
}

.pagination .newer-posts {
  left: 0;

}

.pagination .older-posts {
  right: 0;
}

/* 12. Custom templates
----------------------------- */
.custom-template {
  background-color: var(--color-gray-darkest);
  color: var(--color-gray-light);
  position: relative;
}

.custom-template .site:before {
  -webkit-animation-delay: 0.25s;
  animation-delay: 0.25s;
  -webkit-animation-duration: 0.45s;
  animation-duration: 0.45s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeIn15;
  animation-name: fadeIn15;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.custom-template .site-content {
  justify-content: center;
  margin: 0;
  position: relative;
  text-align: center;
}

.custom-template .page-title {
  color: #fff;
}

@media only screen and (min-width: 801px) {
  .custom-template .page-title {
    font-size: 4rem;
  }
}

.custom-template a:hover,
.custom-template a:focus {
  color: var(--color-gray-light);
}

/* 13. Footer
----------------------------- */
.site-footer {
  border-top: 1px solid var(--color-gray-lighter);
  padding-top: 2.5rem;
}

.site-footer-nav {
  margin-bottom: 1rem;
}

.site-footer-nav .menu {
  display: flex;
  flex-direction: column;
}

@media only screen and (min-width: 481px) {
  .site-footer-nav .menu {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.site-footer-nav .menu-item {
  font-size: 0.77778rem;
  letter-spacing: 0.075em;
  line-height: 1.5;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

@media only screen and (min-width: 481px) {
  .site-footer-nav .menu-item {
    margin-right: 1.25em;
  }
}

.site-footer-nav a {
  color: var(--color-gray);
  text-decoration: none;
}

.site-footer-nav a:hover,
.site-footer-nav a:focus {
  color: var(--ghost-accent-color);
}

.site-footer-copyright {
  font-size: 12px;
  letter-spacing: 0.08333em;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
}

.site-footer-copyright a {
  text-decoration: none;
}

/* 14. Members
----------------------------- */
.post-label {
  background-color: var(--color-gray-lightest);
  color: var(--color-gray);
  display: inline;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.0625em;
  line-height: 1;
  padding: 0.1em 0.5em;
  position: relative;
  top: -0.15em;
  vertical-align: super;
  white-space: nowrap;
}

.post-teaser {
  position: relative;
}

.post-teaser:before {
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, white 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, white 100%);
  bottom: 0;
  content: "";
  height: 90%;
  left: 0;
  position: absolute;
  right: 0;
}

.subscribe-box {
  background-color: var(--color-gray-lightest);
  border-top: 2px solid var(--ghost-accent-color);
  box-sizing: border-box;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 1.66667rem 1.11111rem;
  text-align: center;
}

@media only screen and (min-width: 481px) {
  .subscribe-box {
    margin-top: 3.33333rem;
    margin-bottom: 3.33333rem;
    padding: 2.5rem 1.66667rem;
  }
}

.subscribe-box-title {
  margin: 0 auto 1rem;
  max-width: 32rem;
}

.subscribe-box-text {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
}

.subscribe-box-note {
  font-size: 0.88889rem;
  margin: 0.83333rem 0 0;
}

/* 15. PrismJS
----------------------------- */
code[class*="language-"],
pre[class*="language-"] {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
}

:not(pre)>code[class*="language-"] {
  background: var(--color-gray-darkest);
  color: var(--color-gray-light);
  padding: 0.15em 0.25em;
  white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #666;
}

.token.punctuation {
  color: #aaa;
}

.namespace {
  opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #d387a8;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #d4a259;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #b2a899;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #59b4d4;
}

.token.function,
.token.class-name {
  color: #d46559;
}

.token.regex,
.token.important,
.token.variable {
  color: #e90;
}

.token.important,
.token.bold {
  font-weight: normal;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

/* 16. SimpleLightbox
----------------------------- */
body.hidden-scroll {
  overflow: hidden;
}

.sl-overlay {
  background: #fff;
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1035;
}

.sl-wrapper {
  z-index: 1040;
}

.sl-navigation {
  display: none;
  width: 100%;
}

.sl-close,
.sl-prev,
.sl-next {
  background-color: transparent;
  border: 0;
  box-sizing: border-box;
  color: var(--color-gray-dark);
  height: 30px;
  line-height: 1;
  padding: 0;
  position: fixed;
  vertical-align: middle;
  width: 30px;
  z-index: 1060;
}

.sl-close {
  display: none;
  right: 10px;
  top: 10px;
}

.sl-next,
.sl-prev {
  top: 50%;
  transform: translateY(-50%);
}

.sl-next {
  right: 10px;
}

.sl-prev {
  left: 10px;
}

@media only screen and (min-width: 481px) {
  .sl-close,
  .sl-prev,
  .sl-next {
    height: 40px;
    width: 40px;
  }
}

@media only screen and (min-width: 1001px) {
  .sl-close {
    right: 30px;
    top: 30px;
  }

  .sl-next {
    right: 30px;
  }

  .sl-prev {
    left: 30px;
  }
}

@media only screen and (max-width: 640px) {
  .sl-close .icon-close {
    width: 20px;
  }

  .sl-next .icon-arrow-right,
  .sl-prev .icon-arrow-left {
    height: 2px;
    width: 20px;
  }

  .sl-next .icon-arrow-right::before,
  .sl-prev .icon-arrow-left::before {
    height: 8px;
    width: 8px;
  }
}

.sl-counter {
  bottom: 10px;
  color: var(--color-gray-light);
  display: none;
  font-size: 0.77778rem;
  position: fixed;
  left: 10px;
  z-index: 1060;
}

@media only screen and (min-width: 1001px) {
  .sl-counter {
    bottom: 30px;
    left: 30px;
  }
}

.sl-current {
  padding-right: 3px;
}

.sl-total {
  padding-left: 3px;
}

.sl-image {
  position: fixed;
  -ms-touch-action: none;
  touch-action: none;
  z-index: 10000;
}

.sl-image img {
  border: 0;
  border-radius: var(--border-radius);
  display: block;
  margin: 0;
  padding: 0;
}

.sl-spinner {
  animation-name: fadeIn, spin;
  animation-duration: .3s, .7s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: linear;
  display: none;
  box-sizing: border-box;
  border: 3px solid rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  border-right-color: transparent;
  border-top-color: transparent;
  height: 40px;
  left: 50%;
  opacity: 0;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  z-index: 1007;
}

/* 17. Animations
----------------------------- */
@-webkit-keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn15 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0.15;
  }
}

@keyframes fadeIn15 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0.15;
  }
}



.o-grid {
  margin: 0 auto;
  max-width: var(--grid-width);
  padding: 0 var(--grid-outer-gutter)
}

@media (min-width: 40em) {
  .o-grid {
      display:flex;
      flex-wrap: wrap
  }
}

.o-grid .o-grid {
  padding: 0
}

@media (min-width: 40em) {
  .o-grid .o-grid {
      margin-right:calc(var(--grid-column-medium-gutter) * -1);
      margin-left: calc(var(--grid-column-medium-gutter) * -1)
  }
}

@media (min-width: 64em) {
  .o-grid .o-grid {
      margin-right:calc(var(--grid-column-large-gutter) * -1);
      margin-left: calc(var(--grid-column-large-gutter) * -1)
  }
}

.o-grid--center {
  align-items: center
}

.o-grid--full {
  max-width: 100vw
}

@media (min-width: 40em) {
  .o-grid__col {
      flex-grow:1;
      padding-right: var(--grid-column-medium-gutter);
      padding-left: var(--grid-column-medium-gutter)
  }
}

@media (min-width: 64em) {
  .o-grid__col {
      flex-grow:1;
      padding-right: var(--grid-column-large-gutter);
      padding-left: var(--grid-column-large-gutter)
  }
}

.o-grid__col--1-3-s {
  width: 33.3333333333%
}

.o-grid__col--2-3-s {
  width: 66.6666666667%
}

.o-grid__col--1-4-s {
  width: 25%
}

.o-grid__col--2-4-s {
  width: 50%
}

.o-grid__col--3-4-s {
  width: 75%
}

.o-grid__col--4-4-s {
  width: 100%
}

@media (min-width: 40em) {
  .o-grid__col--1-3-m {
      width:33.3333333333%
  }

  .o-grid__col--2-3-m {
      width: 66.6666666667%
  }

  .o-grid__col--1-4-m {
      width: 25%
  }

  .o-grid__col--2-4-m {
      width: 50%
  }

  .o-grid__col--3-4-m {
      width: 75%
  }

  .o-grid__col--9-10-m {
      width: 90%
  }

  .o-grid__col--4-4-m {
      width: 100%
  }
}

@media (min-width: 64em) {
  .o-grid__col--1-3-l {
      width:33.3333333333%
  }

  .o-grid__col--2-3-l {
      width: 66.6666666667%
  }

  .o-grid__col--1-4-l {
      width: 25%
  }

  .o-grid__col--2-4-l {
      width: 50%
  }

  .o-grid__col--3-4-l {
      width: 75%
  }

  .o-grid__col--4-4-l {
      width: 100%
  }
}

.o-grid__col--full {
  width: 100%
}

.o-grid__col--center {
  margin: 0 auto;
  flex-grow: initial
}

.o-grid__col--end {
  margin-left: auto
}

.o-grid__col--initial-grow {
  flex-grow: initial
}

.c-site-container {
  display: flex;
  min-height: 100vh;
  position: relative;
  flex-direction: column
}

.c-site-container .o-wrapper {
  flex: 1 0 auto
}

.o-plain-list {
  margin: 0;
  padding: 0;
  list-style: none
}

@media (min-width: 40em) {
  .c-tags a {
      padding:var(--space-8) var(--space-24);
      margin-right: var(--space-16);
      margin-bottom: var(--space-16);
      line-height: 24px
  }
}

.c-tag-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: var(--space-32);
  background-color: var(--color-background-secondary);
  box-shadow: inset 0 0 0 1px var(--color-border-primary)
}

.c-tag-card-wrap {
  display: flex
}

.c-tag-card__media {
  background-color: var(--color-background-secondary)
}

.c-tag-card__image-wrap {
  display: block;
  position: relative;
}

.c-tag-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover
}

.c-tag-card__content {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  padding: var(--space-32) var(--space-32) 0 var(--space-32)
}

.c-tag-card__title {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700
}

.c-tag-card__url:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1
}

.c-tag-card__description {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-16)
}

.c-tag-card__meta {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: var(--space-16) var(--space-32) 0;
  padding: var(--space-16) 0 var(--space-32) 0;
  border-top: .5px solid var(--color-border-primary)
}

.c-tag-card:active .c-tag-card__url,.c-tag-card:focus .c-tag-card__url,.c-tag-card:hover .c-tag-card__url {
  text-decoration: underline
}

.c-tags-list-container {
  margin-bottom: var(--space-32);
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  background-color: var(--color-background-secondary)
}

.c-tags-list-wrap {
  position: relative;
  -webkit-mask-image: linear-gradient(to right,var(--color-text-primary) 97%,transparent 100%);
  mask-image: linear-gradient(to right,var(--color-text-primary) 97%,transparent 100%)
}

.c-tags-list {
  display: flex;
  align-items: baseline;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none
}

.c-tags-list::-webkit-scrollbar {
  display: none
}

.c-tags-list:active {
  cursor: -webkit-grabbing;
  cursor: grabbing
}

.c-tags-list__item {
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: var(--global-letter-spacing)
}

.c-tags-list__link {
  display: block;
  padding: var(--space-24) 0;
  margin-right: var(--space-16);
  color: var(--color-text-secondary);
  transition: color var(--global-faster-transition)
}

@media (min-width: 64em) {
  .c-tags-list__link {
      margin-right:var(--space-24)
  }
}

.c-tags-list__link--current {
  color: var(--color-text-primary);
  box-shadow: inset 0 -2px var(--color-text-primary)
}

.c-tags-list__link:active,.c-tags-list__link:focus,.c-tags-list__link:hover {
  color: var(--color-text-primary)
}