/**
 * Forma 4.0.0
 * By Just Good Themes - https://justgoodthemes.com/
 */

/**
 * Table of Contents
 *
 * 1. Variables
 * 2. Reset
 * 3. Base
 * 4. Layout
 * 5. Navbar
 * 6. Featured posts carousel
 * 7. Intro section
 * 8. Post feed
 * 9. More posts section
 * 10. Pagination
 * 11. Post
 * 12. Comments
 * 13. Next/prev navigation
 * 14. Author and tag archives
 * 15. Custom tag, author templates
 * 16. Error template
 * 17. Footer
 * 18. Sidebar
 * 19. Ghost content cards
 * 20. Swiper
 * 21. SimpleLightbox
 */

/* 1. Variables
----------------------------- */
:root {
  /* Fonts */
  --font-sans: 'Inter', Helvetica, sans-serif;
  --font-mono: 'Source Code Pro', monospace;

  /* Colours */
  --color-white: #fff;
  --color-gray-100: #f6f6f7;
  --color-gray-200: #e8e8ea;
  --color-gray-300: #d4d4d7;
  --color-gray-400: #a1a1a7;
  --color-gray-500: #797981;
  --color-gray-600: #535358;
  --color-gray-700: #404045;
  --color-gray-800: #2d2d30;
  --color-gray-900: #1a1a1c;
  --color-yellow-200: #fdffb6;

  /* Default */
  --color-bg-main: var(--color-gray-100);
  --color-bg-primary: var(--color-white);
  --color-bg-secondary: var(--color-gray-800);
  --color-text-primary: var(--color-gray-800);
  --color-text-secondary: var(--color-gray-100);
  --color-heading-primary: var(--color-gray-900);
  --color-heading-secondary: var(--color-white);
  --color-border-primary: var(--color-gray-800);
  --color-border-secondary: var(--color-gray-800);
  --color-placeholder: var(--color-gray-400);
  --color-text-accent: var(--color-white);
  --color-highlight: var(--color-yellow-200);
}

/* Dark mode */
.dark-mode {
  --color-bg-main: var(--color-gray-900);
  --color-bg-primary: var(--color-gray-800);
  --color-bg-secondary: var(--color-gray-600);
  --color-text-primary: var(--color-gray-100);
  --color-text-secondary: var(--color-white);
  --color-heading-primary: var(--color-white);
  --color-border-primary: var(--color-gray-700);
  --color-border-secondary: var(--color-white);
  --color-placeholder: var(--color-gray-500);
}

/* 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}pre,code,kbd,samp{font-family:var(--font-mono);font-size:1em}a{background-color:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}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:.35em .75em .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: 100%;
}

body {
  background: var(--color-bg-main);
  color: var(--color-text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
}

a:hover,
a:focus {
  text-decoration-color: var(--ghost-accent-color);
  text-decoration-thickness: 2px;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading-primary);
  font-weight: 700;
  line-height: 1.15;
  margin: 3rem 0 1.5rem;
}

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

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.3125rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: 4rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.3125rem;
  }

  h5 {
    font-size: 1.125rem;
  }

  h6 {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}

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

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

ul {
  list-style: disc;
}

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

li {
  margin: 0 0 0.5em;
}

dl {
  margin: 1em 0;
}

dt {
  font-weight: 600;
}

dd {
  margin: 0 0 0.5em;
}

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

/* Code blocks */
pre {
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 1.5rem 0;
  overflow: auto;
  padding: 1.5rem 1.25rem;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
}

@media (min-width: 640px) {
  pre {
    font-size: 1rem;
    margin: 2rem 0;
  }
}

/* Blockquotes */
blockquote {
  border-left: 3px solid var(--color-border-primary);
  color: var(--color-heading-primary);
  font-family: var(--font-mono);
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 1.5rem 0;
  padding-left: 1em;
  text-align: left;
}

blockquote p {
  margin-bottom: 0.5em;
}

blockquote small,
blockquote cite {
  display: block;
  font-size: 0.75em;
  font-style: normal;
  font-weight: normal;
  margin-top: 1em;
}

@media (min-width: 640px) {
  blockquote {
    font-size: 1.3125rem;
    margin: 2rem 0;
  }
}

/* Horizontal rule */
hr {
  background-color: var(--color-border-primary);
  border: 0;
  height: 2px;
  margin: 2rem 0;
  width: 3.75rem;
}

@media (min-width: 640px) {
  hr {
    margin-top: 3rem;
    margin-bottom: 3rem;
    width: 5rem;
  }
}

/* Tables */
table {
  background-color: transparent;
  border-collapse: collapse;
  border-bottom: 1px solid var(--color-border-primary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  max-width: 100%;
  text-align: left;
  width: 100%;
}

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

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

caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  text-align: left;
}

th,
td {
  border-top: 1px solid var(--color-border-primary);
  padding: 0.5em;
}

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

@media (min-width: 640px) {
  table {
    font-size: 1rem;
  }

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

  caption {
    font-size: 0.875rem;
  }
}

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

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

figure,
.js-reframe {
  margin: 1.5rem 0;
}

figure img {
  display: block;
}

figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.5;
  padding-top: 0.5rem;
  text-align: left;
}

@media (min-width: 640px) {
  figure,
  .js-reframe {
    margin: 2rem 0;
  }

  figcaption {
    font-size: 0.875rem;
  }
}

/* Form fields */
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.375rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
select,
textarea {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-primary);
  box-shadow: none;
  box-sizing: border-box;
  color: var(--color-text-primary);
  display: block;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
  max-width: 100%;
  padding: 0.625em 0.75em;
  width: 100%;
}

input[type="checkbox"] + label {
  display: inline;
  font-weight: normal;
  margin-bottom: 0;
  margin-left: 0.5em;
}

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

@media (min-width: 640px) {
  label {
    font-size: 1rem;
  }

  form {
    margin: 2rem 0;
  }
}

/* Placeholder text color */
::-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;
  border-color: transparent;
  border-radius: 0;
  border-style: solid;
  border-width: 2px;
  box-shadow: none;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1.15;
  padding: 0.75em 1.875em;
  position: relative;
  text-decoration: none;
  transition: opacity .25s ease-in-out;
}

.button:hover,
.button:active,
.button:focus {
  opacity: .8;
  outline: none;
}

.button-solid {
  background-color: var(--ghost-accent-color);
  color: var(--color-text-accent);
}

.button-outline {
  background-color: transparent ;
  border-color: var(--color-border-primary);
  color: var(--color-text-primary);
}

.button-link {
  background-color: transparent;
  border: 0;
  color: inherit;
  font-size: inherit;
  padding: 0;
}

.button-icon {
  line-height: 1;
  padding: 0.25em;
}

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

/* Avatars */
.avatar {
  border: 2px solid var(--color-border-primary);
  box-shadow: -0.5rem 0.5rem 0 0 var(--color-border-primary);
  box-sizing: border-box;
  position: relative;
}

.avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

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

.menu-item {
  font-weight: 600;
}

.menu-item a {
  text-decoration: none;
  transition: opacity .25s ease-in-out;
}

.menu-item-current a,
.menu-item a:hover,
.menu-item a:focus {
  opacity: .8;
}

/* Screen reader only */
.sr-only {
  border-width: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Grids */
.grid {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.grid-item {
  box-sizing: border-box;
  margin-bottom: 1.5rem;
  padding: 0 0.75rem;
  width: 100%;
}

.grid-masonry:after {
  clear: both;
}

.grid-masonry:before,
.grid-masonry:after {
  content: "";
  display: table;
}

.grid-masonry .grid-item {
  float: left;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.grid-masonry .grid-item.is-visible {
  opacity: 1;
}

.grid-sizer {
  width: 100%;
}

.grid-three-col,
.grid-four-col {
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 480px) {
  .grid-four-col .grid-item {
    width: 50%;
  }
}

@media (min-width: 768px) {
  .grid-sizer,
  .grid-masonry .grid-item {
    width: 50%;
  }

  .grid-three-col .grid-item,
  .grid-four-col .grid-item {
    width: 33.333%;
  }
}

@media (min-width: 1024px) {
  .grid {
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .grid-item {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .grid-four-col .grid-item {
    width: 25%;
  }
}

/* Cards */
.card {
  background-color: var(--color-bg-primary);
  border: 2px solid var(--color-border-primary);
  box-sizing: border-box;
  color: var(--color-text-primary);
  height: 100%;
  word-break: break-word;
}

.card-image {
  border-color: var(--color-border-primary);
  border-style: solid;
  border-width: 0 0 2px;
  display: block;
  height: 0;
  position: relative;
  width: 100%;
}

.card-image:not(.is-square) {
  padding-top: 66.66667%;
}

.card-image.is-square {
  height: 0;
  padding-top: 100%;
}

.card-image img {
  display: block;
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  transition: .45s cubic-bezier(0.65, 0.05, 0.36, 1);
  width: 100%;
}

.card-image:hover img {
  filter: grayscale(1);
}

.card-body {
  padding: 1.5rem 1rem;
}

/* Meta */
.meta {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: -0.01em;
}

.slide-item-meta a,
.post-card-meta a,
.post-meta a {
  text-decoration: none;
  transition: opacity .25s ease-in-out;
}

.slide-item-meta a:hover,
.slide-item-meta a:focus,
.post-card-meta a:hover,
.post-card-meta a:focus,
.post-meta a:hover,
.post-meta a:focus {
  opacity: .8;
}

/* Tag list */
.tag-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.tag-list a {
  font-weight: 600;
  margin-right: 1em;
  text-decoration: none;
  transition: opacity .25s ease-in-out;
}

.tag-list a:hover,
.tag-list a:focus {
  opacity: .8;
}

.tag-list a:before {
  content: "\0023";
}

/* Social links */
.social-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

/* 4. Layout
----------------------------- */
.viewport {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.content {
  flex-grow: 1;
  padding-bottom: 3rem;
}

.outer {
  padding-left: 1rem;
  padding-right: 1rem;
}

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
}

@media (min-width: 640px) {
  .content {
    padding-bottom: 4rem;
  }
}

/* 5. Navbar
----------------------------- */
.navbar {
  box-sizing: border-box;
  min-height: 4rem;
  position: relative;
}

.navbar-menu {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 0.5rem 0.5rem 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

@media (min-width: 640px) {
  .navbar-menu {
    padding: 0.75rem 1rem 0;
  }
}

/* Actions */
.actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.actions:only-child {
  justify-content: space-between;
  width: 100%;
}

.action-item {
  margin-bottom: 0;
  margin-top: 0;
}

.actions:first-child .action-item:not(:last-child) {
  margin-right: 0.5rem;
}

.actions:nth-child(2) .action-item:not(:first-child) {
  margin-left: 1.5rem;
}

@media (min-width: 480px) {
  .action-item-signin .button-icon,
  .action-item-account .button-icon {
    display: none;
  }
}

@media (min-width: 640px) {
  .action-item .button-icon {
    font-size: 1.125rem;
  }
}

@media (max-width: 479px) {
  .action-item-signin .button-link:not(.button-icon),
  .action-item-account .button-link:not(.button-icon) {
    display: none;
  }
}

@media (max-width: 767px) {
  .action-item-subscribe {
    display: none;
  }
}

/* Branding */
.navbar-branding {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
  padding-top: 3rem;
  position: relative;
  text-align: center;
}

.navbar-logo-image {
  display: block;
  max-width: 18.75rem;
}

.navbar-title {
  margin: 0;
  max-width: 24rem;
}

.navbar-title {
  color: var(--color-heading-primary);
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.15;
}

.navbar-title a {
  border: 2px solid var(--color-border-primary);
  box-sizing: border-box;
  color: inherit;
  display: flex;
  margin-left: 2px;/* visually center title due to :before border */
  padding: 0.375em 1.25em;
  position: relative;
  text-decoration: none;
}

.navbar-title a:focus {
  outline: none;
}

.navbar-title a:before {
  border-color: var(--color-border-primary);
  border-style: solid;
  border-width: 0 0 2px 2px;
  bottom: -6px;
  content: "";
  height: 100%;
  left: -6px;
  pointer-events: none;
  position: absolute;
  transition: width .3s ease-in-out, height .3s ease-in-out;
  width: 100%;
}

.navbar-title a:hover:before,
.navbar-title a:focus:before,
.navbar-title a:active:before {
  height: 35%;
  width: 15%;
}

.navbar-tagline {
  margin: 1em 0 0;
  max-width: 30rem;
}

@media (min-width: 640px) {
  .navbar-title {
    font-size: 1.5rem;
  }

  .navbar-title a {
    padding: 0.5em 1.5em;
  }
}

@media (min-width: 1024px) {
  .navbar-branding {
    padding-bottom: 4rem;
  }
}

/* 6. Featured posts carousel
----------------------------- */
.featured-carousel {
  background-color: var(--color-bg-main);
  margin-bottom: 3rem;
  position: relative;
}

.slide-item {
  box-sizing: border-box;
  position: relative;
}

.slide-item-image {
  height: 0;
  padding-top: 66.667%;
  position: relative;
  width: 100%;
}

.slide-item-image img {
  left: 0;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.slide-item-image svg {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.slide-item-content-wrapper {
  box-sizing: border-box;
  margin: -4rem auto 0;
  padding: 0 0 0.5rem 0.5rem;
  position: relative;
  width: 96%;
}

.slide-item-content {
  background-color: var(--color-bg-primary);
  border: 2px solid var(--color-border-primary);
  box-shadow: -0.5rem 0.5rem 0 0 var(--color-border-primary);
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 42rem;
  padding: 1.5rem 1rem;
  position: relative;
}

.slide-item-title {
  font-size: 2rem;
  margin: 0 0 1rem;
}

.slide-item-title a {
  text-decoration: none;
}

.slide-item-tags {
  margin: 1.5rem 0 0;
}

.slide-item-meta:nth-last-child(2),
.slide-item-tags:nth-last-child(2) {
  padding-right: 2rem;
}

.slide-item-visibility {
  bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1;
  position: absolute;
  right: 1rem;
  text-align: right;
}

.slide-item-visibility svg {
  fill: currentColor;
  height: 1em;
  width: 1em;
}

@media (min-width: 480px) {
  .slide-item-content {
    padding: 2rem 1.5rem;
  }

  .slide-item-visibility {
    bottom: 2rem;
    right: 1.5rem;
  }
}

@media (min-width: 640px) {
  .slide-item-meta,
  .slide-item-tags {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .slide-item {
    align-items: center;
    display: flex;
    flex-direction: row-reverse;
  }

  .slide-item-image-wrapper {
    flex-shrink: 0;
    width: 75%;
  }

  .slide-item-content-wrapper {
    margin-left: 0;
    margin-right: -50%;
    margin-top: -2rem;
    width: 75%;
    z-index: 1;
  }

  .slide-item-content {
    margin: 0;
  }
}

@media (min-width: 640px) and (max-width: 767px), (min-width: 1024px) {
  .slide-item-content {
    padding: 2.5rem 2rem;
  }

  .slide-item-title {
    font-size: 2.5rem;
  }

  .slide-item-visibility {
    bottom: 2.5rem;
    right: 2rem;
  }
}

@media (min-width: 1024px) {
  .featured-carousel {
    margin-bottom: 4rem;
  }
}

@media (min-width: 1280px) {
  .slide-item-title {
    font-size: 3rem;
  }
}

/* Bullet navigation */
.featured-pagination {
  line-height: 1;
  margin-top: 2rem;
}

.featured-pagination .swiper-pagination-bullet {
  background: var(--color-bg-primary);
  height: 0.3125rem;
  width: 2.5rem;
}

.featured-pagination .swiper-pagination-bullet-active {
  background: var(--color-bg-secondary);
}

@media (min-width: 640px) {
  .featured-pagination .swiper-pagination-bullet {
    height: 0.375rem;
    width: 3rem;
  }
}

@media (min-width: 1024px) {
  .featured-pagination .swiper-pagination-bullet {
    height: 0.5rem;
    width: 4rem;
  }
}

/* 7. Intro section
----------------------------- */
.intro {
  margin: 0 auto 3rem;
  max-width: 42rem;
  text-align: center;
}

.intro.has-image {
  background-color: var(--color-bg-primary);
  border: 2px solid var(--color-border-primary);
  display: flex;
  flex-direction: column;
  max-width: none;
  text-align: left;
}

.intro-image {
  border-color: var(--color-border-primary);
  border-style: solid;
  border-width: 0 0 2px;
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 0;
}

.intro-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.intro.has-image .intro-body {
  flex-grow: 1;
  padding: 1.5rem 1rem;
}

.intro-title {
  font-size: 2rem;
  margin: 0;
}

.intro-title span {
  color: var(--ghost-accent-color);
}

.intro-text {
  font-size: 1.125rem;
}

.intro-text:not(:first-child) {
  margin-top: 1rem;
}

.intro-action:not(:first-child) {
  padding-top: 1.5rem;
}

@media (min-width: 480px) {
  .intro.has-image .intro-body {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .intro.has-image {
    flex-direction: row;
  }

  .intro-image {
    border-width: 0 2px 0 0;
    width: calc(50% - 0.75rem);
  }

  .intro.has-image .intro-body {
    display: flex;
    flex-direction: column;
  }

  .intro.has-image .intro-action {
    margin-top: auto;
  }
}

@media (min-width: 640px) and (max-width: 767px), (min-width: 1024px) {
  .intro.has-image .intro-body {
    padding: 3rem 2rem;
  }

  .intro.has-image .intro-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .intro {
    margin-bottom: 4rem;
  }

  .intro-image {
    width: calc(50% - 1rem);
  }

  .intro-title {
    font-size: 2.5rem;
  }

  .intro-action:not(:first-child) {
    padding-top: 2rem;
  }

  .intro-action .button {
    font-size: 1.125rem;
  }
}

@media (min-width: 1280px) {
  .intro.has-image .intro-body {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }

  .intro-title {
    font-size: 3rem;
  }

  .intro-text {
    font-size: 1.3125rem;
  }

  .intro-text:not(:first-child) {
    margin-top: 2rem;
  }
}

/* 8. Post feed
----------------------------- */
.post-card-body {
  position: relative;
}

.post-card-title {
  margin: 0;
}

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

.post-card-text,
.post-card-tags {
  margin: 1.5rem 0 0;
}

.post-card-tags:not(:last-child) {
  padding-right: 2rem;
}

.post-card-visibility {
  font-size: 1.125rem;
  line-height: 1;
  margin: 0.75rem 0 0;
  text-align: right;
}

.post-card-visibility svg {
  fill: currentColor;
  height: 1em;
  overflow: visible;
  width: 1em;
}

.post-card-tags + .post-card-visibility,
.post-card-meta + .post-card-visibility {
  bottom: 1.5rem;
  margin: 0;
  position: absolute;
  right: 1.25rem;
}

.post-feed .post-card-title {
  font-size: 1.5rem;
}

.post-feed .post-card-meta {
  margin: 1rem 0 0;
}

@media (min-width: 480px) {
  .post-feed .post-card-body {
    padding: 2rem 1.5rem;
  }

  .post-card-tags + .post-card-visibility {
    bottom: 2rem;
    right: 1.5rem;
  }
}

@media (min-width: 640px) and (max-width: 767px), (min-width: 1024px) {
  .post-feed .post-card-body {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .post-feed .post-card-title {
    font-size: 2rem;
  }

  .post-card-text {
    font-size: 1.125rem;
  }

  .post-feed .post-card-meta,
  .post-feed .post-card-tags {
    font-size: 1rem;
  }

  .post-feed .post-card-visibility {
    font-size: 1.25rem;
  }

  .post-card-tags + .post-card-visibility {
    right: 2rem;
  }
}

@media (min-width: 1280px) {
  .post-feed .post-card-title {
    font-size: 2.25rem;
  }
}

/* Featured posts */
.post-card.is-featured {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-secondary);
}

.post-card.is-featured .post-card-title {
  color: var(--color-heading-secondary);
}

/* 9. More posts section
----------------------------- */
.more-posts {
  margin: 4rem 0 1.5rem;
}

.more-posts-title {
  font-size: 2rem;
  margin: 0 0 2rem;
  text-align: center;
}

.more-posts .post-card-title {
  font-size: 1.3125rem;
}

.more-posts .post-card-meta {
  margin: 0.75rem 0 0;
}

.more-posts .post-card-meta:not(:last-child) {
  padding-right: 2rem;
}

@media (min-width: 480px) and (max-width: 767px) {
  .more-posts .post-card {
    display: flex;
  }

  .more-posts .post-card-image {
    border-width: 0 2px 0 0;
    flex-shrink: 0;
    height: auto;
    min-height: 12rem;
    padding-top: 0;
    width: 41.667%;
  }

  .more-posts .post-card-body {
    flex-grow: 1;
  }
}

@media (min-width: 640px) {
  .more-posts-title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .more-posts {
    margin-top: 6rem;
  }
}

/* 10. Pagination
----------------------------- */
.pagination {
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  text-align: center;
}

.pagination-page-number {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.59375rem 3rem;
}

.pagination .button {
  font-size: 1.25rem;
  height: 2.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
}

.pagination-prev {
  left: 0;
}

.pagination-next {
  right: 0;
}

@media (min-width: 640px) {
  .pagination-page-number {
    font-size: 1rem;
    padding: 0.75rem 3.75rem;
  }

  .pagination .button {
    font-size: 1.5rem;
    height: 3rem;
    width: 3rem;
  }
}

@media (min-width: 1024px) {
  .pagination {
    margin-top: 2rem;
  }
}

/* 11. Post
----------------------------- */
.post-full {
  margin-bottom: 1.5rem;
}

.post-header {
  margin: 0 auto 2rem;
}

.post-header:not(.has-image) {
  max-width: 48rem;
  text-align: center;
}

.post-full.is-page .post-header.has-image {
  max-width: 64rem;
  text-align: center;
}

.post-header-image {
  margin: 0;
  position: relative;
}

.post-image {
  width: 100%;
}

.post-image-caption {
  background-color: var(--color-bg-main);
  padding: 0.375rem 0.5rem;
  position: absolute;
  right: 0;
  top: 0;
}

.post-header.is-vertical .post-header-image {
  height: 0;
  padding-top: 133.33%;
}

.post-header.is-horizontal .post-header-image {
  height: 0;
  padding-top: 66.667%;
}

.post-full:not(.is-page) .post-image {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.post-title {
  margin: 0;
}

.post-full.is-page .post-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
}

.post-full.is-page .post-title:not(:first-child) {
  margin-top: 2rem;
}

.post-header.is-horizontal .post-title,
.post-header.is-vertical .post-title {
  font-size: 2rem;
}

.post-date {
  margin: 0 0 0.5rem;
}

.post-meta {
  margin: 1rem 0 0;
}

.post-header.has-image .post-header-content-wrapper {
  box-sizing: border-box;
  margin: -4rem auto 0;
  padding: 0 0 0.5rem 0.5rem;
  position: relative;
  width: 96%;
}

.post-header.has-image .post-header-content {
  background-color: var(--color-bg-primary);
  border: 2px solid var(--color-border-primary);
  box-shadow: -0.5rem 0.5rem 0 0 var(--color-border-primary);
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 48rem;
  padding: 1.5rem 1rem;
}

.post-body {
  line-height: 1.75;
  margin: 0 auto;
  max-width: 48rem;
}

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

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

.post-footer {
  margin: 2rem auto 0;
  max-width: 48rem;
}

.post-tags {
  margin-top: 1rem;
}

.post-tags-title {
  margin-right: 0.75em;
}

@media (min-width: 480px) {
  .post-header.has-image .post-header-content {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 640px) {
  .post-date,
  .post-meta {
    font-size: 1rem;
  }

  .post-body {
    font-size: 1.125rem;
    line-height: 1.667;
  }
}

@media (min-width: 640px) and (max-width: 767px), (min-width: 1024px) {
  .post-header.has-image .post-header-content {
    padding: 2.5rem 2rem;
  }

  .post-header.is-horizontal .post-title,
  .post-header.is-vertical .post-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .post-header.is-horizontal,
  .post-header.is-vertical {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row-reverse;
  }

  .post-header.is-horizontal .post-header-content,
  .post-header.is-vertical .post-header-content {
    margin: 0;
  }

  .post-header.is-horizontal .post-header-image-wrapper {
    flex-shrink: 0;
    width: 75%;
  }

  .post-header.is-horizontal .post-header-content-wrapper {
    margin-left: 0;
    margin-right: -50%;
    margin-top: -2rem;
    width: 75%;
    z-index: 1;
  }

  .post-header.is-vertical .post-header-image-wrapper {
    flex-shrink: 0;
    width: 51.25%;
  }

  .post-header.is-vertical .post-header-content-wrapper {
    margin-left: 0;
    margin-right: -7.5%;
    margin-top: -2rem;
    width: 56.25%;
    z-index: 1;
  }
}

@media (min-width: 1024px) {
  .post-header {
    margin-bottom: 3rem;
  }

  .post-header.is-horizontal,
  .post-header.is-vertical {
    margin-bottom: 4rem;
  }

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

@media (min-width: 1280px) {
  .post-header.is-horizontal .post-title,
  .post-header.is-vertical .post-title {
    font-size: 3rem;
  }
}

/* Post sharing buttons */
.post-share {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.post-share-title {
  margin-right: 0.75em;
}

.post-share .button {
  margin-right: 1em;
}

.post-share-copy-url:before {
  background-color: var(--color-bg-secondary);
  bottom: 100%;
  color: var(--color-text-secondary);
  content: attr(aria-label);
  display: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  left: 50%;
  min-width: 3.75rem;
  line-height: 1.375;
  padding: 0.5em;
  position: absolute;
  transform: translate(-50%, -0.5rem);
  white-space: nowrap;
}

.post-share-copy-url.is-visible-tooltip:before {
  display: block;
}

/* Author box */
.post-authors {
  margin: 3rem 0 0;
}

.author-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.author-box + .author-box {
  margin-top: 2rem;
}

.author-box-image {
  flex-shrink: 0;
  height: 6rem;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
  width: 6rem;
}

.author-box-content {
  flex-grow: 1;
}

.author-name {
  font-size: 1.125rem;
  margin: 0;
}

.author-name a {
  text-decoration: none;
}

.author-bio {
  font-size: 0.9375rem;
  margin: 0.5rem 0 0;
}

.author-links {
  font-size: 0.875rem;
  margin: 1rem 0 0;
}

@media (min-width: 480px) {
  .author-box {
    flex-direction: row;
  }
}

@media (min-width: 640px) {
  .author-name {
    font-size: 1.3125rem;
  }

  .author-bio {
    font-size: 1rem;
  }
}



@media (min-width: 1024px) {
  .post-authors {
    margin-top: 4rem;
  }
}

/* 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-main) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, var(--color-bg-main) 100%);
  bottom: 0;
  content: "";
  height: 90%;
  left: 0;
  position: absolute;
  right: 0;
}

.members-cta {
  border: 1px solid var(--color-border-primary);
  box-sizing: border-box;
  margin: 3rem auto 0;
  max-width: 48rem;
  padding: 1.5rem 1rem;
  text-align: center;
}

.members-cta-title {
  font-size: 1.5rem;
  margin: 0;
}

.members-cta-text {
  margin: 1rem 0 0;
}

.members-cta-action {
  margin: 1.5rem 0 0;
}

.members-cta-note {
  font-size: 0.875rem;
  margin: 1rem 0 0;
}

@media (min-width: 480px) {
  .members-cta {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 640px) {
  .members-cta {
    padding: 3rem 2rem;
  }

  .members-cta-title {
    font-size: 2rem;
  }

  .members-cta-text {
    font-size: 1.125rem;
  }

  .members-cta-note {
    font-size: 1rem;
  }
}

/* 12. Comments
----------------------------- */
.post-comments {
  border: 1px solid var(--color-border-primary);
  box-sizing: border-box;
  margin: 3rem auto 1.5rem;
  max-width: 48rem;
  padding: 1.5rem 1.25rem 0.5rem;
}

.post-comments-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
  row-gap: 0.5rem;
}

.post-comments-title {
  font-size: 1.3125rem;
  margin: 0;
}

@media (max-width: 639px) {
  .post-comments-count {
    font-size: 0.875rem;
  }
}

@media (min-width:1024px) {
  .post-comments {
    margin-top: 4rem;
  }
}

/* 13. Next/prev navigation
----------------------------- */
.post-nav {
  margin: 3rem auto 1.5rem;
  max-width: 48rem;
}

.post-nav-links {
  display: flex;
  flex-direction: column;
}

.post-nav-link {
  box-sizing: border-box;
  flex: 1 1 0%;
  width: 100%;
}

.post-nav-next {
  text-align: right;
}

.post-nav-link-label {
  border-bottom: 1px solid var(--color-border-primary);
  padding-bottom: 0.5rem;
}

.post-nav-link-content {
  display: block;
  margin: 1.5rem 0 2rem;
  position: relative;
  text-decoration: none;
}

.post-nav-link-icon {
  font-size: 2rem;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
}

.post-nav-prev .post-nav-link-icon {
  left: -3.5rem;
}

.post-nav-next .post-nav-link-icon {
  right: -3.5rem;
}

.post-nav-link-icon svg {
  fill: var(--color-bg-secondary);
  height: 1em;
  width: 1em;
}

.post-nav-link-title {
  display: inline;
  font-size: 1.3125rem;
  margin: 0;
}

@media (min-width: 640px) {
  .post-nav-links {
    flex-direction: row;
  }

  .post-nav-prev .post-nav-link-content {
    margin-right: 1rem;
  }

  .post-nav-next .post-nav-link-content {
    margin-left: 1rem;
  }
}

@media (min-width: 1024px) {
  .post-nav {
    margin-top: 4rem;
  }
}

@media (max-width: 960px) {
  .post-nav-link-icon {
    display: none;
  }
}

/* 14. Author and tag archives
----------------------------- */
.archive-header {
  margin: 0 auto 3rem;
  max-width: 42rem;
  text-align: center;
}

.archive-header.has-image {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.archive-header-image {
  flex-shrink: 0;
  height: 10rem;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
  width: 10rem;
}

.archive-meta {
  margin: 0 0 0.75rem;
}

.archive-description {
  margin: 1rem 0 0;
}

.archive-links {
  justify-content: center;
  margin: 1.5rem 0 0;
}

.archive-title {
  font-size: 2rem;
  margin: 0;
}

@media (min-width: 640px) {
  .archive-header.has-image {
    align-items: flex-start;
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  .archive-header.has-image .archive-header-content {
    flex-grow: 1;
    max-width: 30rem;
  }

  .archive-header.has-image .archive-links {
    justify-content: flex-start;
  }

  .archive-meta {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .archive-header-image {
    height: 14rem;
    width: 14rem;
  }
}

@media (min-width: 1024px) {
  .archive-header {
    margin-bottom: 4rem;
  }

  .archive-header.has-image {
    gap: 2rem;
    justify-content: flex-end;
    max-width: 62rem;
  }

  .archive-title {
    font-size: 2.25rem;
  }

  .archive-description {
    font-size: 1.125rem;
  }
}

/* 15. Custom tag, author templates
----------------------------- */
.author-card-title,
.tag-card-title {
  font-size: 1.5rem;
  margin: 0;
}

.author-card-title a,
.tag-card-title a {
  text-decoration: none;
}

.author-card-text,
.tag-card-text {
  margin: 0.75rem 0 0;
}

.author-card-meta,
.tag-card-meta {
  margin: 0 0 0.75rem;
}

/* 16. Error template
----------------------------- */
.error-template .post-header,
.error-text {
  margin-bottom: 1.5em;
}

.error-template .post-body {
  max-width: 42rem;
  text-align: center;
}

/* 17. Footer
----------------------------- */
.footer-content {
  align-items: center;
  border-top: 2px solid var(--color-border-primary);
  column-gap: 3rem;
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
  padding-top: 2rem;
  row-gap: 1.5rem;
  text-align: center;
  width: 100%
}

.footer-nav .menu {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 0.5rem;
}

.footer-copyright {
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-copyright a {
  text-decoration: none;
  transition: opacity .25s ease-in-out;
}

.footer-copyright a:hover,
.footer-copyright a:focus {
  opacity: .8;
}

@media only screen and (min-width: 480px) {
  .footer-nav .menu {
    column-gap: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media only screen and (min-width: 640px) {
  .footer-content {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }

  .footer-nav {
    flex: 3;
  }

  .footer-nav .menu {
    justify-content: flex-start;
  }

  .footer-social .button-icon {
    font-size: 1.125rem;
  }

  .footer-content.has-nav .footer-social {
    flex: 1;
    justify-content: flex-end;
  }

  .footer-content:not(.has-nav) .footer-copyright {
    order: -1;
  }

  .footer-content.has-nav .footer-copyright {
    width: 100%;
  }
}

/* 18. Sidebar
----------------------------- */
.sidebar {
  backface-visibility: hidden;
  background: var(--color-bg-primary);
  bottom: 0;
  color: var(--color-text-primary);
  -webkit-overflow-scrolling: touch;
  left: -100%;
  max-height: 100vh;
  max-width: 30rem;
  position: fixed;
  top: 0;
  transition: left .3s cubic-bezier(0.65, 0.05, 0.36, 1), visibility 0s .3s;
  visibility: hidden;
  width: 100%;
  z-index: 1000;
}

.sidebar-overlay {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background-image: linear-gradient(to bottom right, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .3s .15s cubic-bezier(0.65, 0.05, 0.36, 1), visibility 0s .45s;
  visibility: hidden;
  z-index: 100;
}

.sidebar-opened {
  overflow: hidden;
}

.sidebar-opened .sidebar {
  left: 0;
  transition: left .3s cubic-bezier(0.65, 0.05, 0.36, 1);
  visibility: visible;
}

.sidebar-opened .sidebar-overlay {
  opacity: 1;
  transition: opacity .3s cubic-bezier(0.65, 0.05, 0.36, 1);
  visibility: visible;
}

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

.sidebar-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sidebar-top {
  padding: 1rem;
  text-align: right;
}

.sidebar-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 2rem;
  justify-content: space-between;
  padding: 0 1rem 1.5rem;
}

.sidebar-menu .menu-item {
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

.sidebar-tags {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}

.sidebar-tags a {
  margin: 0 0 0.5em;
}

.sidebar-bottom {
  background-color: var(--color-bg-main);
  padding: 1.5rem 1rem;
}

.sidebar-bottom .button {
  width: 100%
}

@media only screen and (min-width: 480px) {
  .sidebar-body {
    padding: 0 2rem 2.5rem;
  }

  .sidebar-bottom {
    padding: 2.5rem 2rem;
  }
}

@media only screen and (min-width: 640px) {
  .sidebar-menu .menu-item {
    font-size: 1.5rem;
  }

  .sidebar-tags a {
    font-size: 1.125rem;
  }
}

@media only screen and (min-width: 768px) {
  .sidebar-bottom {
    display: none;
  }
}

/* 19. Ghost content cards
----------------------------- */
.kg-card > pre,
.kg-card > .js-reframe {
  margin: 0;
}

#main p + .kg-card,
#main ul + .kg-card,
#main ol + .kg-card,
#main .kg-card + p,
#main .kg-card + ul,
#main .kg-card + ol,
#main .kg-card + .kg-card:not(.kg-width-full),
#main .kg-card:not(.kg-width-full) + .kg-card {
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  #main p + .kg-card,
  #main ul + .kg-card,
  #main ol + .kg-card,
  #main .kg-card + p,
  #main .kg-card + ul,
  #main .kg-card + ol,
  #main .kg-card + .kg-card:not(.kg-width-full),
  #main .kg-card:not(.kg-width-full) + .kg-card {
    margin-top: 2rem;
  }
}

/* Wide content */
@media only screen and (min-width: 67rem) {
  .kg-video-card.kg-width-wide .kg-video-container,
  .kg-image-card.kg-width-wide .kg-image,
  .kg-gallery-container,
  .kg-signup-card.kg-width-wide {
    margin-left: -8rem;
    margin-right: -8rem;
    max-width: none;
    width: 64rem;
  }
}

/* Full-width content */
.kg-header-card,
.kg-signup-card.kg-width-full,
.kg-video-card.kg-width-full .kg-video-container,
.kg-image-card.kg-width-full .kg-image {
  border-radius: 0;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  width: 100vw;
}

/* Buttons */
#main .kg-btn,
#main .kg-product-card-button,
#main .kg-header-card-button,
#main .kg-signup-card-button {
  border-radius: 0;
  font-size: 1rem;
  font-weight: 600;
  height: auto;
  line-height: 1.15;
  padding: 0.75em 1.875em;
}

/* Alt blockquote */
.kg-blockquote-alt {
  border: 1px solid var(--color-border-primary);
  box-shadow: -0.5rem 0.5rem 0 0 var(--color-border-primary);
  margin-bottom: 2rem;
  margin-left: 0.5rem;
  padding: 1.5rem 1rem;
}

.kg-blockquote-alt:last-child {
  margin-bottom: 0.5rem;
}

@media only screen and (min-width: 480px) {
  .kg-blockquote-alt {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 640px) {
  #main .kg-blockquote-alt {
    margin-bottom: 2.5rem;
  }
}

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

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

#main .kg-audio-title,
#main .kg-file-card-title {
  font-size: 1.125rem;
  line-height: 1.2;
}

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

#main .kg-file-card-metadata {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  word-break: break-word;
}

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

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

.kg-bookmark-thumbnail {
  border-color: var(--color-border-primary);
  border-style: solid;
  border-width: 0 0 1px 0;
  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.5rem 1rem;
}

.kg-bookmark-title {
  color: var(--color-heading-primary);
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.kg-bookmark-description {
  display: -webkit-box;
  font-size: 0.875rem;
  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 {
  align-items: center;
  display: flex;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  line-height: 1.5;
  margin-top: 1rem;
  width: 100%;
}

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

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

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

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

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

  .kg-bookmark-thumbnail {
    border-width: 0 0 0 1px;
    min-height: 0;
  }
}

@media (min-width: 640px) {
  .kg-bookmark-title {
    font-size: 1.3125rem;
  }

  .kg-bookmark-description {
    font-size: 1rem;
  }
}

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

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

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

@media only screen and (min-width: 480px) {
  #main .kg-callout-card {
    padding: 1.5rem;
  }
}

/* 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: 0.5rem 0 0;
}

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

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

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

#main .kg-header-card-header {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: normal;
  max-width: 48rem;
}

#main .kg-header-card-subheader {
  font-size: 1.125rem;
  font-weight: normal;
  max-width: 48rem;
}

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

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

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

@media (min-width: 640px) {
  #main .kg-header-card-header{
    font-size: 2.5rem;
  }
  
  #main .kg-header-card-subheader {
    font-size: 1.3125rem;
  }
}

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

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

  #main .kg-header-card-button {
    font-size: 1.125rem;
  }
}

/* Product */
#main .kg-product-card-container {
  border-radius: 0;
  box-shadow: inset 0 0 0 1px var(--color-border-primary);
  padding: 1rem;
}

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

#main .kg-product-card-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
}

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

@media only screen and (min-width: 480px) {
  #main .kg-product-card-container {
    padding: 1.5rem;
  }
}

@media only screen and (min-width: 640px) {
  #main .kg-product-card-title {
    font-size: 1.3125rem;
  }
}

/* Signup */
#main .kg-signup-card-text {
  padding-left: 5%;
  padding-right: 5%;
}

#main .kg-signup-card-heading {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: normal;
  max-width: 48rem;
}

#main .kg-signup-card-subheading {
  font-size: 1.125rem;
  font-weight: normal;
  max-width: 48rem;
}

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

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

#main .kg-signup-card-fields {
  border-radius: 0;
  max-width: 30rem;
}

#main .kg-signup-card-input {
  height: auto;
}

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

  #main .kg-signup-card-input {
    margin: 0 0 3px;
  }
}

@media (min-width: 640px) {
  #main .kg-signup-card-heading {
    font-size: 2.5rem;
  }

  #main .kg-signup-card-subheading {
    font-size: 1.3125rem;
  }

  #main .kg-signup-card-disclaimer {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  #main .kg-signup-card-heading {
    font-size: 3rem;
  }
}

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

#main .kg-toggle-heading-text {
  font-size: 1.125rem;
}

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

@media only screen and (min-width: 480px) {
  #main .kg-toggle-card {
    padding: 1.5rem;
  }
}

@media only screen and (min-width: 640px) {
  #main .kg-toggle-heading-text {
    font-size: 1.3125rem;
  }
}

/* Old styles */
.footnotes {
  font-size: 0.875rem;
}

.footnotes-sep {
  margin-bottom: 1.5rem;
}

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

.footnote-ref a,
.footnote-backref {
  color: var(--ghost-accent-color);
  text-decoration: none;
}

/* 20. Swiper
----------------------------- */
/**
 * Swiper 10.0.4
 * https://swiperjs.com
 * Copyright 2014-2023 Vladimir Kharlampidi
 * Released under the MIT License
 */
.swiper {
  display: block;
  margin-left: auto;
  margin-right: auto;
  list-style: none;
  overflow: hidden;
  overflow: clip;
  padding: 0;
  position: relative;
  z-index: 1;
}
.swiper-wrapper {
  box-sizing: content-box;
  display: flex;
  height: 100%;
  position: relative;
  transition-property: transform;
  transition-timing-function: initial;
  width: 100%;
  z-index: 1;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-slide {
  background-color: var(--color-bg-main);
  display: block;
  flex-shrink: 0;
  height: auto;
  position: relative;
  transition-property: transform;
  width: 100%;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--color-border-primary);
  border-radius: 50%;
  border-top-color: transparent;
}
.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,
.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader {
  animation: swiper-preloader-spin 1s infinite linear;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
}
.swiper-fade .swiper-slide .swiper-slide {
  pointer-events: none;
}
.swiper-fade .swiper-slide-active,
.swiper-fade .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}
.swiper-pagination {
  display: flex;
  justify-content: center;
  text-align: center;
  transition: opacity .3s;
}
.swiper-pagination.swiper-pagination-hidden {
  opacity: 0;
}
.swiper-pagination-disabled > .swiper-pagination,
.swiper-pagination.swiper-pagination-disabled {
  display: none !important;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
}
.swiper-pagination-bullet {
  margin: 0 0.5rem;
  transition: .3s;
}
.swiper-pagination-bullet:only-child {
  display: none !important;
}

/* 21. SimpleLightbox
----------------------------- */
/**
 * SimpleLightbox 2.14.1
 * By André Rinas, www.andrerinas.de
 * Documentation, www.simplelightbox.com
 * Available for use under the MIT License
 */
body.hidden-scroll {
  overflow: hidden;
}
.sl-overlay {
  background: var(--color-bg-primary);
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1035;
}
.sl-wrapper {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1040;
}
.sl-wrapper * {
  box-sizing: border-box;
}
.sl-wrapper .sl-counter {
  color: var(--color-text-primary);
  display: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  left: 0.5rem;
  position: fixed;
  top: 0.5rem;
  z-index: 10060;
}
.sl-wrapper button {
  background-color: transparent;
  border: 0 none;
  color: var(--color-text-primary);
  display: block;
  font-size: 1rem;
  height: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  text-align: center;
  width: 1.5rem;
}
.sl-wrapper button:hover {
  opacity: 0.8;
}
.sl-wrapper .sl-close {
  display: none;
  position: fixed;
  right: 0.25rem;
  top: 0.25rem;
  z-index: 10060;
}
.sl-wrapper .sl-navigation {
  display: none;
  width: 100%;
}
.sl-wrapper .sl-next,
.sl-wrapper .sl-prev {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10060;
}
.sl-wrapper .sl-next {
  right: 0.25rem;
}
.sl-wrapper .sl-prev {
  left: 0.25rem;
}
@media (min-width: 480px) {
  .sl-wrapper .sl-close,
  .sl-wrapper .sl-next,
  .sl-wrapper .sl-prev {
    height: 2rem;
    width: 2rem;
    font-size: 1.25rem;
  }
  .sl-wrapper .sl-close {
    right: 1rem;
    top: 1rem;
  }
  .sl-wrapper .sl-next {
    right: 1rem;
  }
  .sl-wrapper .sl-prev {
    left: 1rem;
  }
  .sl-wrapper .sl-counter {
    font-size: 1rem;
    left: 1rem;
    top: 1rem;
  }
}
@media (min-width: 768px) {
  .sl-wrapper .sl-close,
  .sl-wrapper .sl-next,
  .sl-wrapper .sl-prev {
    height: 2.5rem;
    width: 2.5rem;
    font-size: 1.5rem;
  }
}
.sl-wrapper.sl-dir-rtl .sl-navigation {
  direction: ltr;
}
.sl-wrapper .sl-image {
  position: fixed;
  -ms-touch-action: none;
  touch-action: none;
  z-index: 10000;
}
.sl-wrapper .sl-image img {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.sl-spinner {
  -webkit-animation: pulsate 1s ease-out infinite;
  animation: pulsate 1s ease-out infinite;
  border: 5px solid var(--color-border-primary);
  border-radius: 2rem;
  display: none;
  height: 2rem;
  left: 50%;
  margin: -1rem 0 0 -1rem;
  opacity: 0;
  position: fixed;
  top: 50%;
  width: 2rem;
  z-index: 1007;
}
.sl-scrollbar-measure {
  height: 50px;
  overflow: scroll;
  position: absolute;
  top: -9999px;
  width: 50px;
}
.sl-transition {
  transition: transform ease 200ms;
}
@-webkit-keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
@keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
