/**
 * Royce 3.1.1
 * 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 {
  /* Fonts */
  --font-sans: 'Karla', sans-serif;
  --font-serif: 'Crimson Text', serif;
  --font-mono: Consolas, 'Andale Mono', 'Courier New', Courier, monospace;

  /* Colours */
  --color-white: #fff;
  --color-gray-100: #f5f5f5;
  --color-gray-200: #e5e5e5;
  --color-gray-300: #aaa;
  --color-gray-400: #7e7e7e;
  --color-gray-500: #666;
  --color-gray-600: #4e4e4e;
  --color-gray-700: #3b3b3b;
  --color-gray-800: #272727;
  --color-gray-900: #1d1d1d;
  --color-gray-100-rgb: 245 245 245;
  --color-gray-900-rgb: 29 29 29;
  --color-yellow-200: #fffac4;

  /* Default */
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-gray-100);
  --color-bg-inv: var(--color-gray-900);
  --color-bg-inv-rgb: var(--color-gray-900-rgb);
  --color-bg-alt-inv: var(--color-gray-100);
  --color-bg-alt-inv-rgb: var(--color-gray-100-rgb);
  --color-border: var(--color-gray-200);
  --color-border-inv: var(--color-gray-700);
  --color-heading: var(--color-gray-900);
  --color-heading-inv: var(--color-white);
  --color-text: var(--color-gray-600);
  --color-text-alt: var(--color-gray-400);
  --color-text-inv: var(--color-gray-200);
  --color-text-alt-inv: var(--color-gray-400);
  --color-text-on-accent: var(--color-white);
  --color-placeholder: var(--color-gray-300);
  --color-link: var(--ghost-accent-color);
  --color-link-hover: var(--color-gray-900);
  --color-link-alt: var(--color-gray-600);
  --color-link-alt-hover: var(--ghost-accent-color);
  --color-link-inv: var(--ghost-accent-color);
  --color-link-hover-inv: var(--color-gray-300);
  --color-link-alt-inv: var(--color-gray-300);
  --color-link-alt-hover-inv: var(--ghost-accent-color);
  --color-btn-bg: var(--ghost-accent-color);
  --color-btn-border: transparent;
  --color-btn-text: var(--color-text-on-accent);
  --color-btn-bg-inv: transparent;
  --color-btn-border-inv: var(--ghost-accent-color);
  --color-btn-text-inv: var(--color-white);
  --color-highlight-bg: var(--color-yellow-200);
  --color-highlight-text: var(--color-gray-900);
}

/* Dark mode */
.dark-mode {
  --color-bg: var(--color-gray-800);
  --color-bg-alt: var(--color-gray-900);
  --color-border: var(--color-gray-700);
  --color-heading: var(--color-white);
  --color-text: var(--color-gray-200);
  --color-text-alt: var(--color-gray-400);
  --color-placeholder: var(--color-gray-400);
  --color-link-hover: var(--color-white);
  --color-link-alt: var(--color-gray-300);
  --color-highlight-bg: var(--color-yellow-200);
  --color-highlight-text: var(--color-gray-900);
}

/* 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-sans);
  font-size: 112.5%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

/* Links */
a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  transition: color .25s ease;
}

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

/* Headings */
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5,
h6 {
  color: var(--color-heading);
  font-family: var(--font-serif);
  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;
}

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

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

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

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.88889rem;
}

@media (min-width: 641px) {
  h1, .h1 {
    font-size: 2.66667rem;
  }

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

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

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

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

/* Paragraphs */
p {
  margin: 1rem 0;
}

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

ul {
  list-style: disc;
}

li > ul,
li > ol {
  margin: 0.5em 0 0;
}

li {
  margin: 0 0 0.5em;
}

dl {
  margin: 1rem 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 0 0.5em;
}

/* Highlights */
mark,
ins {
  background: var(--color-highlight-bg);
  color: var(--color-highlight-text);
  padding: 0.025em 0.15em;
  text-decoration: none;
}

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

pre {
  background: var(--color-bg-inv);
  color: var(--color-text-inv);
  line-height: 1.5;
  margin: 2rem 0;
  overflow: auto;
  padding: 1.11111rem;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
}

/* Blockquotes */
blockquote {
  border-left: 2px solid var(--ghost-accent-color);
  color: var(--color-heading);
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  font-size: 1.33333rem;
  line-height: 1.3;
  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-text-alt);
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75em;
  font-style: normal;
  font-weight: 400;
  margin-top: 0.5em;
}

/* Horizontal rule */
hr {
  background-color: var(--color-border);
  border: 0;
  height: 1px;
  margin: 2.5rem 0;
}

/* Tables */
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-text-alt);
  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-border);
  padding: 0.625em;
}

th {
  color: var(--color-heading);
  font-weight: 700;
}

/* Media */
figure,
.js-reframe {
  margin: 2rem 0;
}

figure img {
  display: block;
}

figcaption {
  color: var(--color-text-alt);
  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;
}

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

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

/* Form fields */
label {
  color: var(--color-heading);
  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-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--color-text);
  display: block;
  font-family: var(--font-sans);
  font-size: 0.88889rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 100%;
  padding: 0.5em 0.625em;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
}

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

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

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

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

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

/* Buttons */
.button {
  align-items: center;
  background: var(--color-btn-bg);
  border-color: var(--color-btn-border);
  border-radius: 0;
  border-style: solid;
  border-width: 1px;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--color-btn-text);
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 0.77778rem;
  font-weight: 400;
  justify-content: center;
  letter-spacing: 0.075em;
  line-height: 1.25;
  padding: 0.80357em 2.14285em;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease;
  white-space: nowrap;
}

.button:hover,
.button:focus,
.button:active {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  outline: 0;
}

.button:not(.button-icon):hover,
.button:not(.button-icon):focus,
.button:not(.button-icon):active {
  transform: translateY(-3px);
}

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

.button.button-outlined {
  background: transparent;
  border-color: var(--color-btn-border-inv);
  color: var(--color-btn-text-inv);
}

.button.button-icon {
  border: 0;
  background: transparent;
  font-size: 1.11111rem;
  height: 1.6em;
  line-height: 1;
  padding: 0;
  width: 1.6em;
}

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

.menu-item,
.action-item {
  margin: 0;
}

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

/* Small caps text */
.small-caps {
  font-family: var(--font-sans);
  font-size: 0.77778rem;
  font-weight: normal;
  letter-spacing: 0.15em;
  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;
}

.footnotes li,
.footnotes p {
  margin: 0;
}

.footnote-ref a,
.footnote-backref {
  text-decoration: none;
}

/* 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: 32px;
}

.icon-arrow-left::before,
.icon-arrow-right::before {
  border-color: currentColor;
  border-style: solid;
  content: "";
  height: 14px;
  position: absolute;
  width: 14px;
}

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

.icon-arrow-right:before {
  border-width: 2px 2px 0 0;
  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: 6px;
}

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

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

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

.nav--opened .icon-menu:after {
  transform: translate3d(6px, 0, 0) rotate(45deg) scale(0.75, 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,
.kg-card + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  margin-top: 2rem;
}

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

.kg-image-card img {
  margin-left: auto;
  margin-right: auto;
}

#main .kg-btn,
#main .kg-product-card-button,
#main .kg-header-card-button,
#main .kg-signup-card-button {
  align-items: center;
  background: var(--color-btn-bg);
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--color-btn-text);
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 0.77778rem;
  font-weight: 400;
  height: auto;
  justify-content: center;
  letter-spacing: 0.075em;
  line-height: 1.25;
  opacity: 1;
  padding: 0.80357em 2.14285em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease;
}

#main .kg-btn-accent:hover,
#main .kg-btn-accent:focus,
#main .kg-btn-accent:active,
#main .kg-product-card-button:hover,
#main .kg-product-card-button:focus,
#main .kg-product-card-button:active,
#main .kg-header-card-button:hover,
#main .kg-header-card-button:focus,
#main .kg-header-card-button:active {
  transform: translateY(-3px);
}

/* Alt blockquote */
#main .kg-blockquote-alt {
  border: 0;
  font-size: 1.66667rem;
  line-height: 1.25;
  margin-bottom: 2.5rem;
  padding: 2.5rem 0 0;
  position: relative;
  text-align: center;
}

#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%);
}

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

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

#main .kg-file-card-container {
  border-color: var(--color-border);
}

#main .kg-audio-card {
  box-shadow: inset 0 0 0 1px var(--color-border);
}

#main .kg-audio-title,
#main .kg-file-card-title {
  color: var(--color-heading);
  font-size: 1.16667rem;
  line-height: 1.2;
}

#main .kg-file-card-caption {
  font-size: 0.77778rem;
  margin: 0;
}

#main .kg-file-card-metadata {
  font-size: 0.77778rem;
  word-break: break-word;
}

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

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

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

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

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

.kg-bookmark-title {
  color: var(--color-heading);
  font-family: var(--font-serif);
  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 {
  color: var(--color-text-alt);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.77778rem;
  line-height: 1.5;
  margin-top: 0.83333rem;
  width: 100%;
}

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

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

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

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

  .kg-bookmark-content {
    padding: 2rem 1.5rem;
  }

  .kg-bookmark-thumbnail {
    min-height: 0;
  }
}

/* Button */
.kg-button-card {
  align-items: center;
  display: flex;
  width: 100%;
}

.kg-button-card.kg-align-center {
  justify-content: center;
}

.kg-button-card.kg-align-left {
  justify-content: flex-start;
}

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

#main .kg-callout-card-white {
  box-shadow: inset 0 0 0 1px var(--color-border);
}

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

/* 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%;
}

/* Header v1 */
.kg-header-card.kg-style-dark {
  --color-bg: var(--color-gray-900);
  --color-heading: var(--color-white);
  --color-text: var(--color-gray-200);
}

.kg-header-card.kg-style-light {
  --color-bg: var(--color-gray-100);
  --color-heading: var(--color-gray-900);
  --color-text: var(--color-gray-600);
}

.kg-header-card.kg-style-accent {
  --color-bg: var(--ghost-accent-color);
  --color-heading: var(--color-white);
  --color-text: var(--color-white);
  --color-btn-bg: var(--color-gray-900);
  --color-btn-text: var(--color-white);
}

#main .kg-header-card:not(.kg-layout-split) {
  padding-left: 1.11111rem;
  padding-right: 1.11111rem;
}

#main .kg-header-card-header {
  font-size: 2.22222rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  max-width: 720px;
}

#main .kg-header-card-subheader {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  max-width: 720px;
}

#main .kg-header-card-subheader:not(:first-child) {
  margin-top: 0.83333rem;
}

#main .kg-header-card-button:not(:first-child) {
  margin-top: 1.66667rem;
}

@media (min-width: 481px) {
  #main .kg-header-card:not(.kg-layout-split) {
    padding-left: 1.66667rem;
    padding-right: 1.66667rem;
  }
}

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

  #main .kg-header-card-subheader {
    font-size: 1.11111rem;
  }
}

/* Header v2, signup */
#main .kg-layout-split.kg-content-wide,
#main .kg-signup-card:not(.kg-layout-split),
#main .kg-layout-split:not(.kg-content-wide) .kg-header-card-text,
#main .kg-layout-split:not(.kg-content-wide) .kg-signup-card-text {
  padding-left: 1.11111rem;
  padding-right: 1.11111rem;
}

#main .kg-layout-split.kg-content-wide {
  padding-bottom: 1.11111rem;
  padding-top: 1.11111rem;
}

#main .kg-header-card:not(.kg-layout-split) .kg-header-card-text,
#main .kg-signup-card:not(.kg-layout-split) .kg-signup-card-text,
#main .kg-header-card.kg-content-wide .kg-header-card-text,
#main .kg-signup-card.kg-content-wide .kg-signup-card-text {
  padding-left: 0;
  padding-right: 0;
}

#main .kg-layout-split.kg-content-wide .kg-header-card-content,
#main .kg-layout-split.kg-content-wide .kg-signup-card-content {
  gap: 1.66667rem;
}

#main .kg-header-card:not(.kg-layout-split) .kg-header-card-content,
#main .kg-signup-card:not(.kg-layout-split) .kg-signup-card-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

#main .kg-layout-split.kg-content-wide .kg-header-card-image,
#main .kg-layout-split.kg-content-wide .kg-signup-card-image {
  padding: 0;
}

#main .kg-header-card-image,
#main .kg-signup-card-image {
  width: 100%;
}

#main .kg-header-card-heading,
#main .kg-signup-card-heading {
  font-size: 2.22222rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
}

#main .kg-header-card-subheading,
#main .kg-signup-card-subheading {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
}

#main .kg-header-card-subheader:not(:first-child),
#main .kg-header-card-subheading:not(:first-child),
#main .kg-signup-card-subheading:not(:first-child) {
  margin-top: 0.83333rem;
}

#main .kg-header-card-button:not(:first-child),
#main .kg-signup-card-form:not(:first-child) {
  margin-top: 1.66667rem;
}

#main .kg-signup-card-fields {
  --color-bg: var(--color-white);
  --color-border: var(--color-gray-200);
  --color-text: var(--color-gray-600);
  --color-placeholder: var(--color-gray-300);
  border-radius: 0;
  gap: 2px;
  max-width: 480px;
  padding: 2px;
}

#main .kg-signup-card-input,
#main .kg-signup-card-button {
  height: 2.33333rem;
  margin: 0;
}

#main .kg-signup-card-disclaimer {
  font-size: 0.77778rem;
  line-height: 1.5;
  opacity: .7;
}

@media (min-width: 481px) {
  #main .kg-layout-split.kg-content-wide,
  #main .kg-signup-card:not(.kg-layout-split),
  #main .kg-layout-split:not(.kg-content-wide) .kg-header-card-text,
  #main .kg-layout-split:not(.kg-content-wide) .kg-signup-card-text {
    padding-left: 1.66667rem;
    padding-right: 1.66667rem;
  }

  #main .kg-layout-split.kg-content-wide {
    padding-bottom: 1.66667rem;
    padding-top: 1.66667rem;
  }
}

@media (min-width: 641px) {
  #main .kg-card:not(.kg-layout-split) .kg-header-card-heading,
  #main .kg-card:not(.kg-layout-split) .kg-signup-card-heading {
    font-size: 2.66667rem;
  }
}

@media (max-width: 640px), (min-width: 801px) and (max-width: 1100px) {
  #main .kg-layout-split .kg-header-card-content,
  #main .kg-layout-split .kg-signup-card-content {
    gap: 0;
    grid-template-columns: 1fr;
  }

  #main .kg-layout-split:not(.kg-content-wide) .kg-header-card-image,
  #main .kg-layout-split:not(.kg-content-wide) .kg-signup-card-image {
    height: auto;
    min-height: unset;
    aspect-ratio: 1/1;
  }
}

@media (max-width: 480px) {
  #main .kg-signup-card-fields {
    flex-direction: column;
  }
}

@media (min-width: 641px) and (max-width: 800px) {
  #main .kg-layout-split .kg-signup-card-fields {
    flex-direction: column;
  }
}

/* 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-serif);
  font-size: 1.33333rem;
  font-weight: 600;
  line-height: 1.2;
}

#main .kg-product-card-description p,
#main .kg-product-card-description ol,
#main .kg-product-card-description ul {
  font-family: var(--font-sans);
}

.kg-product-card-rating {
  color: var(--color-heading);
  font-size: 0.88889rem;
  line-height: 1.5;
}

/* Toggle */
#main .kg-toggle-card {
  border-radius: 0;
  box-shadow: inset 0 0 0 1px var(--color-border);
  padding: 1.11111rem;
}

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

#main .kg-toggle-card-icon svg {
  color: var(--color-text);
}

/* 5. Overflowing content
----------------------------- */
@media (min-width: 1086px) {
  .kg-blockquote-alt,
  .kg-gallery-card,
  .kg-header-card,
  .kg-signup-card.kg-width-full,
  .kg-signup-card.kg-width-wide {
    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 (min-width: 1469px) {
  .kg-blockquote-alt,
  .kg-gallery-card,
  .kg-header-card,
  .kg-signup-card.kg-width-full,
  .kg-signup-card.kg-width-wide {
    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 (min-width: 801px) {
  .site-content {
    margin-left: 30vw;
    padding-bottom: 3.33333rem;
    padding-top: 3.33333rem;
  }
}
@media (min-width: 1001px) {
  .site-content {
    margin-left: 300px;
  }
}
@media (min-width: 2001px) {
  .site-content {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* 7. Header
----------------------------- */
.site-header {
  background: var(--color-bg-inv);
  color: var(--color-text-alt-inv);
}

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

@media (min-width: 801px) {
  .site-header {
    height: 100%;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 30vw;
  }

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

  .site-header-inside {
    padding-bottom: 3.33333rem;
    padding-top: 3.33333rem;
  }
}

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

  .site-header-inside {
    padding-left: 1.66667rem;
    padding-right: 1.66667rem;
  }
}

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

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

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

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

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

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

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

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

  .site-header-logo,
  .site-header-avatar,
  .site-header-identity {
    margin-bottom: 1.66667rem;
    margin-right: 0;
  }

  .site-header-avatar {
    height: 100px;
    width: 100px;
  }

  .site-header-title {
    font-size: 1.33333rem;
  }

  .site-header-desc {
    font-size: 0.83333rem;
    margin-top: 0.4em;
  }
}

/* Navigation */
.nav-toggle {
  flex-shrink: 0;
  margin-left: 0.25rem;
  z-index: 9999;
}

.search-toggle {
  flex-shrink: 0;
  margin-left: auto;
}

.site-header-nav {
  background: var(--color-bg-inv);
  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;
}

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

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

.site-header-nav .menu {
  border-bottom: 1px solid var(--color-border-inv);
}

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

.site-header-nav .menu-item a {
  color: var(--color-link-alt-inv);
  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(--color-link-alt-hover-inv);
}

.menu-item-search button {
  align-items: center;
  background-color: transparent;
  border: 0;
  color: var(--color-link-alt-inv);
  display: inline-flex;
  gap: 0.5em;
  font-size: 0.77778rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.menu-item-search button:hover,
.menu-item-search button:focus,
.menu-item-search button:active {
  color: var(--color-link-alt-hover-inv);
}

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

@media (min-width: 801px) {
  .nav-toggle,
  .search-toggle {
    display: none;
  }

  .site-header-nav {
    position: static;
    visibility: visible;
  }

  .site-header-nav-inside {
    padding: 0;
  }
}

@media (max-width: 800px) {
  .menu-item-search {
    display: none;
  }
}

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

.social-links a {
  align-items: center;
  color: var(--color-link-alt-inv);
  display: inline-flex;
  justify-content: center;
  opacity: 0.65;
  padding: 0 3px;
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}

.social-links a:hover,
.social-links a:focus {
  color: var(--color-link-alt-hover-inv);
  opacity: 1
}

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

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

/* Member 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-link-alt-inv);
  text-decoration: none;
}

.action-item a:not(.button):hover,
.action-item a:not(.button):focus {
  color: var(--color-link-alt-hover-inv);
}

.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 (min-width: 641px) {
  .hero {
    margin-bottom: 3.33333rem;
  }
}

.hero-text {
  font-weight: 400;
  margin: 0;
}

.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-text-alt);
  font-size: 0.77778rem;
  letter-spacing: 0.07142em;
  line-height: 1.5;
  margin-bottom: 0.75em;
}

.post-content {
  line-height: 1.66667;
}

.post-content > :first-child {
  margin-top: 0;
}

.post-content > :last-child {
  margin-bottom: 0;
}

.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-heading);
  display: inline-block;
  font-weight: bold;
  margin-right: 10px;
}

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

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

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

/* Post labels */
.post-label {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  display: inline;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.1em 0.5em;
  position: relative;
  top: -0.15em;
  vertical-align: super;
  white-space: nowrap;
}

/* 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-heading);
    font-family: var(--font-serif);
    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-heading);
    font-weight: normal;
    font-size: 60px;
    font-family: var(--font-serif);
    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;
    }
  }
}

/* Post teaser */
.post-teaser {
  position: relative;
}

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

/* 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 (min-width: 601px) and (max-width: 800px), (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: rgb(var(--color-bg-inv-rgb)/.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: var(--color-heading-inv);
  }

  .post-featured.post-has-image:only-child .post-meta,
  .post-featured.post-has-image:first-child:not(:nth-last-child(2)) .post-meta {
    color: var(--color-text-alt-inv);
  }

  .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: rgb(var(--color-bg-alt-inv-rgb)/.05);
    color: var(--color-text-inv);
  }

  .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-link-hover-inv);
  }

  .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:nth-child(2):nth-last-child(1),
  .post-featured:nth-child(4n+3),
  .post-featured:nth-child(4n+4) {
    flex: 0 0 40%;
    max-width: 40%;
  }

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

@media (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-border);
  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-heading);
  margin-bottom: 1.66667rem;
}

.post-feed-desc {
  color: var(--color-text-alt);
  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,
.read-next .post {
  margin-bottom: 1.66667rem;
}

.comments-count {
  color: var(--color-text-alt);
  display: inline-block;
  font-size: 0.77778rem;
  margin-bottom: 1.66667rem;
}

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

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

.tagcloud-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tagcloud a {
  border: 1px solid var(--color-border);
  font-size: 0.77778rem;
  line-height: 1.5;
  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: var(--color-text-on-accent);
}

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

.pagination .nav-links {
  padding: 0 2.77778rem;
  position: relative;
}

.page-number {
  color: var(--color-text-alt);
  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-bg-inv);
  color: var(--color-text-inv);
  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 (min-width: 801px) {
  .custom-template .page-title {
    font-size: 4rem;
  }
}

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

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

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

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

@media (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 (min-width: 481px) {
  .site-footer-nav .menu-item {
    margin-right: 1.25em;
  }
}

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

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

.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. Subscribe box
----------------------------- */
.subscribe-box {
  background-color: var(--color-bg-alt);
  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;
}

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

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

/* 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-bg-inv);
  color: var(--color-text-alt-inv);
  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: var(--color-bg);
  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-heading);
  height: 30px;
  line-height: 1;
  padding: 0;
  position: fixed;
  vertical-align: middle;
  width: 30px;
  z-index: 1060;
}

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

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

.sl-next {
  right: 3px;
}

.sl-prev {
  left: 3px;
}

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

.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: 0;
  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 var(--color-border);
  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;
}

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

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

  .sl-next {
    right: 10px;
  }
  
  .sl-prev {
    left: 10px;
  }
}

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

  .sl-next {
    right: 30px;
  }

  .sl-prev {
    left: 30px;
  }

  .sl-counter {
    bottom: 30px;
    left: 30px;
  }
}

@media (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;
  }
}

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