/* Variables */
:root {
  --color-default: #323232;
  --color-black: #1B1B1B;
  --color-grey: #777;
  --color-mid-grey: #c8c8c8;
  --color-light-grey: #e2e2e2;
  --color-light-bg: #FEF6F3;
  --color-light-border: #f8e8e3;
  --color-white: #fff;
  --color-accent: var(--ghost-accent-color);
  --color-access: #50B341;
  --color-gold: #efcb0b;
  --link-color: #000000;
  --link-color-hover: #5d5d5d;
  --link-color-border: #b6b6b6;
  --page-bg: #fff;
  --input-bg: var(--page-bg);

  --color-always-black: #1b1b1b;
  --color-always-white: #fff;

  --font-default: 'Inter', sans-serif;
  --font-alt: 'General Sans', sans-serif;
  --font-serif: "Source Serif Pro", serif;
  --border-radius: 3px;
  --border-radius-large: 10px;
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font: 16px/1.5 var(--font-default);
}

body { 
  margin: 0;
  padding: 0;
  color: var(--color-default);
  background-color: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h1, h2, h3, h4, h5, h6 { color: var(--color-headings); line-height: 1.2; }

hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--color-light-grey);
}

a { 
  color: var(--color-default);
  text-decoration: none;
  transition: color 0.2s, border 0.2s, background-color 0.2s;
}
a.nolink {
  border: none !important;
  color: currentColor !important;
}
a.link {
  border-bottom: 1px solid;
}

img,
.post-card__image { 
  width: 100%; 
  border-radius: var(--border-radius);
}

h1, h2, h3, h4, h5, h6, p, pre {
  margin-bottom: 1.5em;
}


/* Styling utility classes */

.relative { position: relative; }
.db { display: block; }
.dib { display: inline-block; }

/* based off 16px */
.fs14 { font-size: 0.875rem; }
.fs16 { font-size: 1rem; }
.fs18 { font-size: 1.125rem; }
.fs20 { font-size: 1.25rem; }
.fs24 { font-size: 1.5rem; }
.fs32 { font-size: 2rem; }
.fs40 { font-size: 2.5rem; }
.fs48 { font-size: 3rem; }
.fs56 { font-size: 3.5rem; }
.fs64 { font-size: 4rem; }
.fs80 { font-size: 5rem; }
.fs88 { font-size: 5.5rem; }

@media (max-width: 700px) {
  /* Smaller text sizes for smaller screens */
  .fs14 { font-size: 0.875rem; }
  .fs16 { font-size: 1rem; }
  .fs18 { font-size: 1rem; }
  .fs20 { font-size: 1.125rem; }
  .fs24 { font-size: 1.25rem; }
  .fs32 { font-size: 1.5rem; }
  .fs40 { font-size: 2rem; }
  .fs48 { font-size: 2.5rem; }
  .fs56 { font-size: 2.75rem; }
  .fs64 { font-size: 3rem; }
  .fs80 { font-size: 3.25rem; }
  .fs88 { font-size: 3.25rem; }
}

@media (max-width: 460px) {
  .fs80 { font-size: 2.5rem; }
}

.normal { font-weight: normal; }
.heavy { font-weight: 700; }
.italic { font-style: italic; }
.b { font-weight: bold; }

code { font-family: "IBM Plex Mono", monospace; font-size: 1rem; }

.pt2 { padding-top: 2rem; }
.pt3 { padding-top: 3rem; }
.pt5 { padding-top: 5rem; }
.pb2 { padding-bottom: 2rem; }
.pb3 { padding-bottom: 3rem; }
.pb5 { padding-bottom: 5rem; }
.mt0 {margin-top: 0;}
.mt1 { margin-top: 1rem }
.mt2 { margin-top: 2rem }
.mt3 { margin-top: 3rem }
.mt4 { margin-top: 4rem }
.mt6 { margin-top: 6rem }
.mt8 { margin-top: 8rem }
.mb0 {margin-bottom: 0}
.mb1 { margin-bottom: 1rem }
.mb2 { margin-bottom: 2rem }
.mb3 { margin-bottom: 3rem }
.mb4 { margin-bottom: 4rem }
.mb6 { margin-bottom: 6rem }

.center {
  margin-left: auto;
  margin-right: auto;
}

.tc { text-align: center; }
.tr { text-align: right; }

.ttu { text-transform: uppercase; }
.lhtitle { line-height: 1.2; }
.lh1 { line-height: 1; }

.font-alt { font-family: var(--font-alt); }
.font-serif { font-family: var(--font-serif); }

.color-black { color: var(--color-black); }
.color-grey { color: var(--color-grey); }
.color-always-white { color: #fff; }
.bg-light { background-color: var(--color-light-bg) }

.avatar {
  width: 3.4rem;
  border-radius: 1.7rem;
  vertical-align: middle;
  box-shadow: none !important;
}
.avatar--sm {
  width: 2rem;
  border-radius: 1rem;
}

mark {
  background-color: var(--color-light-bg);
  padding: 4px;
  border-radius: var(--border-radius);
  color: var(--color-default);
}

ul li {
  margin-left: 1.5rem;
  padding-left: 0.25rem;
  list-style: disc;
}


/* Layout */

.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container--narrow {
  max-width: calc(700px + 2rem);
}

.container--mid {
  max-width: calc(1040px + 2rem);
}

@media (min-width:  841px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.flex { display: flex; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }

.mainwrap > .container {
  flex-grow: 1;
}

.mainwrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Buttons */

.more-button {
  transition: border 0.2s;
  padding: 1rem 2rem;
  border-radius: 10px;
  border: 1px solid var(--color-light-grey);
  font-weight: bold;
}
.more-button:hover {
  border-color: var(--color-mid-grey);
}

.demo-button {
  transition: border 0.2s;
  padding: 0.333em 1em;
  border-radius: 10px;
  background-color: var(--page-bg);
  border: 1px solid var(--color-light-grey);
  font-weight: bold;
}
.demo-button:hover {
  border-color: var(--color-mid-grey);
}

/* Forms */

input, select, button, textarea, .button, .post-content .kg-button-card a.kg-btn {
  display: inline-block;
  margin-bottom: 0.5rem; 
  appearance:none; 
  -webkit-appearance: none; 
  -moz-appearance: none;
  border-radius: var(--border-radius);
  /*line-height: 2em;*/
  padding: 0.25rem 1rem;
  box-shadow: 0px 2px 10px rgba(0,0,0,.06);
  border: 1px solid var(--color-light-grey);
  background-color: var(--page-bg);
  color: var(--color-default)
}
input, select, button, textarea {
  font-size: inherit;
  font-family: inherit;
}
input:focus, select:focus, button:focus, textarea:focus {
  outline:none;
  border-color: var(--color-brand);
}
button, .button, a.button, .post-content .kg-button-card a.kg-btn {
  cursor: pointer;
  white-space: nowrap;
  font-weight: bold;
  border-radius: 7px;
  color: var(--color-always-white);
  padding: 0.333em 1em;
  background: #46AD5F;
  border: 1px solid #46AD5F;
  box-shadow: 0px 2px 0.8em rgb(70 173 95 / 40%);
}

form label,
form input,
form select,
form textarea {
  display: block;
  max-width: 400px;
  width: 100%;
}

form label { font-weight: bold; margin: 1rem 0 0.5rem; }
form textarea { min-height: 100px; }


.form-flex {
  display: flex;
  justify-content: center;
}
.form-flex button {
  width: auto;
}

.form-stacked {
  flex-direction: column;
}

form .button-loader,
.button .button-loader {
  display: none;
}

form.loading .button-loader,
.button.loading .button-loader {
  display: inline-block;
}
form.loading .button-content,
.button.loading .button-content {
  display: none;
}
.button {
  border-bottom: none;
}

form .success-message {
  display: none;
  padding: 0rem 1rem 1rem;
}
form.success .success-message {
  display: block;
}
form.success .form-body {
  display: none;
}


/* Newsletter */

.newsletter-strip {
  background-color: #222;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.newsletter-strip h2,
.newsletter-strip input {
  color: #fff;
}

.newsletter-strip input {
  background-color: #333;
  border-color: #888;
  margin-right: 0.5rem;
}


/* Header / Nav */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-light-grey);
  background-color: var(--color-white);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 661px) {
  .header-cols > div:nth-of-type(1),
  .header-cols > div:nth-of-type(3) {
    width: 100px;
  }
}

.logo { max-width: 240px; }

@media (max-width: 700px) {
  .logo { max-width: 180px; }
}

header .nav li {
  display: inline-block;
  padding: 0;
  margin: 0;
}
header .nav a,
nav.pagination a {
  display: inline-block;
  padding: 0.25em 0.5em;
}
header .nav a:hover,
nav.pagination a:hover {
  text-decoration: underline;
}
header .nav li.nav-current a,
header .nav li.nav-current-parent a {
  font-weight: bold;
}

nav.pagination a { margin-left: 0.5rem; margin-right: 0.5rem; }


/* Mobile nav */

#trigger-check {
  display: none;
}
.nav-trigger, .nav-search {
  cursor: pointer;
  padding: 0.5rem;
}
@media (max-width: 660px) {
  .nav-wrapper { margin-left: auto; }
  .nav-wrapper .nav-cols {
    display: none;
    position: absolute;
    right: 0.5rem;
    top: 3.5rem;
    width: 200px;
    background: var(--color-white);
    border: 1px solid var(--color-light-grey);
    border-radius: var(--border-radius);
    box-shadow: 0px 2px 14px rgb(0 0 0 / 10%);    
  }
  #trigger-check:checked ~ .nav-cols {
    display: block;
  }
  .nav-cols .nav {
    width: 100%;
    text-align: right;
  }
  .nav-cols .nav li {
    display: block;
  }
  .nav-cols .nav li a {
    display: block;
    padding: 0.25rem 1rem;
  }
  .nav-cols nav:first-of-type li:first-of-type a {
    padding-top: 0.5rem;
  }
  .nav-cols nav:last-of-type li:last-of-type a {
    padding-bottom: 0.5rem;
  }
}
@media (min-width: 661px) {
  .nav-trigger {
    display: none;
  }
  .nav-cols {
    display: flex;
    justify-content: space-between;
  }
  .search-link-text {
    display: none;
  }
}


/* Footer */

.footer {
  padding-top: 3rem;
  padding-bottom: 2rem;
  position: relative;
  overflow-x: clip;
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;

  position: relative;
  z-index: 1;
}

@media (min-width: 601px) {
  .footer .container {
    padding-top: 0;
    align-items: stretch;
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-links,
  .footer-subscribe {
    padding: 3rem 0;
    width: 47%;
  }
}

footer a {
  border-bottom: 1px solid currentColor;
}
footer a:hover {
  border-bottom: 1px solid var(--color-grey);
}

.footer-svg {
  position: absolute;
  left: 30%;
  top: -6rem;
  z-index: 0;
}

@media (max-width: 600px) {
  .footer-svg {
    max-width: 70%;
  }
}

.footer-bio {
  display: flex;
  column-gap: 1rem;
  align-items: center;
  max-width: 380px;
}
.footer-bio > img {
  flex: 0 1 3.4rem;
}


/* Post lists */

@media (min-width: 701px) {
  .posts {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 6%;
  }
  .posts--two > *,
  .posts--three > *,
  .posts--four > * {
    width: 47%;
  }
}

@media (min-width: 841px) {
  .posts--three > * {
    width: 29.33333%;
  }
  .posts--four > * {
    width: 20.5%;
  }
}

.post-card {
  margin-bottom: 4rem;
  transition: transform 0.3s ease-in-out;
}

.post-card:hover {
  transform: translateY(-2px);
}


.access-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-grey);
  color: var(--color-grey);
  margin-right: 0.75rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.access-tag svg {
  position: relative;
  top: 3px;
}
.access-tag.has-access {
  border-color: var(--color-access);
  color: var(--color-access);
}

.post-meta div:first-of-type {
  padding-left: 0;
}

.post-card__image {
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
  padding-bottom: 67%;
  background-color: var(--color-light-grey);
  border-radius: var(--border-radius);
}


.post-card--horiz {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 2rem;
}
.post-card .col--image {
  width: 33.3333%;
}
.post-card .col--info {
  flex: 1 0;
}
.post-card--horiz .post-card__image {
  margin-bottom: 0;
}


.featured-bg {
  position: absolute;
  left: 0;
  right: 0;
  background: var(--color-light-bg);
  z-index: -1;
  transform: translateY(-30rem);
  height: 30rem;
  overflow-x: clip;
}
.featured-bg svg {
  position: absolute;
  left: calc(55% - 500px);
  bottom: -7rem;
  margin: auto;
}

.home-template .featured-bg {
  height: 60rem;
  transform: translateY(-54rem);
}
.home-template .featured-bg svg {
  left: calc(63% - 426px);
  transform: rotate(285deg);
}

@media (max-width: 700px) {
  .featured-bg {
    height: 50rem;
  transform: translateY(-47rem);
  }
  
}

@media (min-width: 801px) {
  .cols {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .cols>* {
    width: 46%;
  }

  .cols--nomargin>* {
    width: 50%;
  }

  .cols--three>* {
    width: 33.33333%;
  }
  
  .col--tr {
    text-align: right;
  }

  .cols--themehero > div:first-child {
    width: auto;
    flex: 1 1 370px;
    margin-bottom: 0;
  }
  .cols--themehero > div:nth-child(2) {
    width: auto;
    flex-shrink: 0;
    padding-left: 2rem;
  }
}


/* Posts and Pages */

.tag {
  padding: 0.125em 0.25em;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-light-grey);
}
.post-meta div {
  display: inline-block;
  padding: 0 0.5rem 0;
}

.post-hero {
  width: 100%;
  margin-top: -13rem !important;
  background-color: var(--page-bg);
}


.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  padding-top: 1rem;
  margin-bottom: 1rem;
  color: var(--color-black);
  font-family: var(--font-alt);
  line-height: 1.2;
}

.post-content hr {
  margin: 4rem auto;;
  max-width: 8rem;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote,
.post-content table {
  margin-bottom: 1.5rem;
}

.post-content ol,
.post-content ul {
  list-style: revert;
  margin-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content a {
  color: var(--link-color);
  border-bottom: 1px solid var(--link-color-border);
  font-weight: bold;
}
.post-content a:hover {
  color: var(--link-color-hover);
}

.post-content blockquote {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 0.25rem 1.5rem;
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  border-left: 4px solid var(--color-accent);
  font-size: 1.25em;
}

.post-content blockquote.kg-blockquote-alt {
  border: none;
  line-height: 1.5;
  background-color: var(--color-light-bg);
  padding: 1.5rem 2.5rem;
  border-radius: var(--border-radius);
}

.post-content img,
.post-content pre {
  max-width: 100%;
}
.post-content pre {
  overflow: auto;
  padding: 0.5rem 1rem;
}
.post-content pre,
.post-content code {
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-light-border);
  border-radius: 5px;
  font-size: 0.875rem;
}
.post-content code {
  padding: 0.125rem 0.25rem;
}
.post-content pre > code {
  padding: 0;
  background-color: transparent;
  border: none;
}

.post-content table {
  border-spacing: 0;
  border-collapse: collapse;
  width:100%;
  font-size: 0.88em;
}
.post-content table th,
.post-content table td {
  padding: 0.5rem;
  border: 1px solid var(--color-light-grey);
}
.post-content table tr:nth-of-type(2n) {
  background-color: var(--color-light-bg);
}

.post-content .kg-callout-card {
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.medium-zoom-image--opened {
  z-index: 100000;
  border-radius: 0;
  box-shadow: none;
}
.medium-zoom-overlay {
  z-index: 100000;
  background-color: var(--page-bg) !important;
}

.kg-image-card img,
.kg-gallery-card img,
.feature-image img {
  border: 1px solid var(--color-light-grey);
}
.kg-image-card img:hover,
.kg-gallery-card img:hover {
  opacity: 0.8;
}

.content-cta {
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem 1rem;
}
.gradient-pre::before {
  position: relative;
  display: block;
  background: linear-gradient(180deg, hsla(0,0%,100%,0), hsla(0,0%,100%,.7), var(--page-bg));
  content: "";
  height: 16rem;
  margin-top: -16rem;
  margin-bottom: 0;
}

.post-content a.button {
  color: #323223;
  border-bottom-color: var(--color-light-grey);
}

.share-block {
  padding: 2rem;
  border: 4px solid var(--color-light-bg);
  border-radius: var(--border-radius);
}
.share-block > a,
.share-block > span {
  display: inline-block;
  transition: transform 0.3s;
  margin: 0 0.25rem 0;
  cursor: pointer;
}
.share-block > a:hover {
  transform: scale(1.1);
}


/* Post cards */

.kg-card {
  margin: 3rem 0;
}

.kg-card img {
  height: auto;
}

.kg-width-wide,
.kg-width-full {
  position: relative;
  width: 75vw;
  min-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transform: translateX(calc(50vw - 50%));
}

.toc-content .kg-width-wide,
.toc-content .kg-width-full {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  transform: initial;
}

.kg-width-full {
  width: 96vw;
}

.kg-bookmark-card {
  width: 100%;
  margin: 3rem 0;
  position: relative;
  border-radius: var(--border-radius);
}

a.kg-bookmark-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  color: currentColor;
  font-family: inherit;
  text-decoration: none;
  color: var(--color-default);
  border-bottom: 0;
}

a.kg-bookmark-container:hover {
  text-decoration: none;
  color: var(--color-grey)
}

.kg-bookmark-content {
  width: 100%;
  padding: 1rem;
  order: 1;
  color: var(--dark-grey);
  background-color: var(--color-light-bg);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.kg-bookmark-title {
  font-weight: 600;
}

.kg-bookmark-metadata,
.kg-bookmark-description {
  margin-top: .5em;
}

.kg-bookmark-metadata {
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kg-bookmark-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

img.kg-bookmark-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: text-bottom;
  margin-right: .5em;
  margin-bottom: .05em;
  box-shadow: none;
  border: none;
}

.kg-bookmark-thumbnail {
  display: flex;
  width: 100%
}

.kg-bookmark-thumbnail img {
  max-width: 100%;
  height: auto;
  max-height: 370px; /* Fix weird heights mobile */
  vertical-align: bottom;
  object-fit: cover;
  box-shadow: none;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  border: 0;
}

@media (min-width: 601px) {

  .kg-bookmark-thumbnail {
    width: 36%;
  }
  .kg-bookmark-content {
    width: 64%;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
  }

  .kg-bookmark-thumbnail img {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
  }
}

.kg-bookmark-author {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.kg-bookmark-publisher::before {
  content: "•";
  margin: 0 .5em;
}

.kg-card figcaption {
  font-size: 14px;
  text-align: center;
  color: var(--color-grey);
}

.kg-image-card a {
  border: none;
}

.kg-embed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5em 0 3em;
  min-width: 100%;
  border-radius: var(--border-radius);
}

.kg-embed-card iframe {
  border-radius: var(--border-radius);
}

.kg-embed-card figcaption {
    margin: 0.5em 0 0;
}

.kg-embed-card .fluid-width-video-wrapper {
    margin: 0;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    margin: 1.5em auto;
    width: 100%;
}

.kg-gallery-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.kg-gallery-image img {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
}

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

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

.kg-video-card video,
.kg-video-player-container,
.kg-video-overlay,
.post-content .kg-audio-card,
.kg-embed-card,
.kg-bookmark-card,
.post-content .kg-header-card a.kg-header-card-button,
.post-content .kg-nft-card a.kg-nft-card-container,
.post-content .kg-toggle-card,
.post-content .kg-product-card-container {
  border-radius: var(--border-radius);
}

.post-content .kg-nft-image {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.post-content .kg-button-card a.kg-btn {
  font-family: inherit;
  height: auto;
  line-height: inherit;
}
.post-content .kg-product-card a.kg-product-card-button {
  font-size: 1.125em;
  border-radius: var(--border-radius);
  border: none;
  color: #222;
  font-weight: bold;
  font-family: inherit;
}

.post-content .kg-nft-title,
.post-content .kg-product-card-title {
  padding-top: 0;
}

.kg-product-card-description p:last-of-type,
.kg-toggle-content p:last-of-type {
  margin-bottom: 0.5rem;
}

.kg-product-card-rating-active svg path {
  fill: var(--color-gold);
}

.kg-nft-card {
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.post-content .kg-nft-card a.kg-nft-card-container {
  font-family: inherit;
}

.post-content .kg-toggle-card + .kg-toggle-card {
  margin-top: -1rem;
}

.post-content .kg-toggle-card {
  padding: 0;
}
.kg-toggle-heading {
  padding: 1rem;
}
.kg-toggle-card[data-kg-toggle-state=open] .kg-toggle-content {
  padding: 1rem;
  margin-top: -1rem;
}
.post-content .kg-toggle-content p:first-of-type {
  margin-top: 0;
}

.kg-toggle-card-icon {
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
}
.post-content .kg-toggle-card h4.kg-toggle-heading-text {
  padding-top: 0;
}

.kg-header-card.kg-style-light {
  background-color: var(--color-bg) !important;
}
a.kg-header-card-button {
  font-family: inherit !important;
  border: none;
}

.kg-audio-card {
  padding: 0.5rem;
}
.kg-video-player button,
.kg-audio-card button {
  margin: 0;
  box-shadow: none;
  color: var(--color-default);
}
.kg-video-volume-slider,
.kg-audio-volume-slider {
  margin: initial;
}


/* Authors */

.author-card {
  background-color: var(--color-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
}
.author-name {
  display: flex;
  align-items: center;
}
.author-name img {
  margin-right: 1rem;
}
.author-links a {
  padding: 0.25rem;
}
@media (min-width: 701px) {
  .authors {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .author-card {
    width: 47%;
  }
}


/* Tags */



/* Comments */
#cove-input-body,
#cove-input-name {
  background-color: var(--page-bg);
  border-color: var(--color-light-grey);
  border-radius: var(--border-radius);
  color: var(--color-default);
}
#cove-submit {
  background-color: #fff;
  color: #323232;
}
#cove + div {
  margin: 1rem 0;
  text-align: left !important;
  font-size: 14px !important;
}
img.cove-avatar {
  box-shadow: none;
  border-radius: 5px;
}


/* Home/support */

.home-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: var(--page-bg);
  background: linear-gradient(0deg, var(--page-bg) 0%, var(--color-light-bg) 100%);
  z-index: -1
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.2;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.dark-section {
  background: #111;
  padding: 4rem 0;
}

.product {
  padding: 1rem 2rem;
}

.plan-wrap {
  padding: 2rem;
}

@media (min-width: 801px) {

  .product+.product {
    border-top: none;
    border-left: 1px solid var(--color-light-grey);
  }

  .plan-wrap {
    padding: 4rem;
  }
}

.quotes {
  align-items: center;
}

.quote {
  border-radius: 1rem;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 2rem;
  margin-bottom: 2rem;
}

.quote blockquote {
  margin: 0;
}

.quote .avatar {
  width: 32px;
  vertical-align: top;
  margin-right: 4px;
}


.bio {
  max-width: 820px;
  margin: 4rem auto 3rem;
}

.bio-picture {
  width: 160px;
}

@media (min-width: 600px) {
  .bio {
    display: flex;
    justify-content: space-between;
  }

  .bio-picture {
    flex: 1 0 220px;
    padding: 2rem 3rem 1rem 0;
  }

  .bio-picture img {
    transform: rotate(-2deg);
  }
}

.sites a {
  display: inline-block;
  padding: 2px 8px;
  margin: 0.5rem;
  border-radius: var(--border-radius);
  transition: background 0.3s;
}

.sites a:hover {
  background: var(--color-light-bg);
}

details {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-light-bg);
}

summary {
  cursor: pointer;
  user-select: none;
  padding: 1rem 0;
  font-weight: bold;
}

summary::marker {
  margin-right: 1rem;
}

dialog {
  border-radius: 0.5rem;
  border: 0;
  box-shadow: 0px 0.5rem 2rem rgba(0, 0, 0, 0.3);
  text-align: center;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5)
}


body>[data-buy-link],
body>[data-price] {
  display: none;
}

/* Dark mode */

@media (prefers-color-scheme: dark) {
  :root {
    --color-default: #e2e2e2;
    --color-black: #f6f6f6;
    --color-grey: #aaa;
    --color-light-grey: #4e4e4e;
    --color-light-bg: #31302e;
    --color-light-border: var(--color-light-grey);
    --color-white: #222;
    --page-bg: #111;
    --color-bg: #111 !important;
    --color-headings: var(--color-black) !important;
    --link-color: #ffffff;
    --link-color-border: #5a5a5a;
  }

}