/* -------------------------------------------------------------------------- */
/* Ghost content layout */
/* -------------------------------------------------------------------------- */
.ghost-content {
  --gap: max(2vmin,16px);
  --main: min(var(--content-width,720px),100% - var(--gap) * 2);
  --wide: minmax(0,calc((var(--wide-width, 1200px) - var(--content-width, 720px))/2));
  --full: minmax(var(--gap),1fr);
  display: grid;
  grid-template-columns: [full-start] var(--full) [wide-start] var(--wide) [main-start] var(--main) [main-end] var(--wide) [wide-end] var(--full) [full-end];
  max-width: none;
  margin-bottom: 4rem;
  word-break: keep-all;
}

.ghost-content img{
  height:auto;
}

.ghost-content > * { grid-column: main-start/main-end; }
.ghost-content .kg-width-wide { grid-column: wide-start/wide-end; }
.ghost-content .kg-width-full { grid-column: full-start/full-end; }
.ghost-content .kg-width-regular { grid-column: main-start/main-end; }

/* no overflow */
.ghost-content[data-no-overflow] { max-width: 100%; }
.ghost-content[data-no-overflow] .kg-width-wide { grid-column: main-start/main-end; }
.ghost-content[data-no-overflow] .kg-width-full { grid-column: main-start/main-end; }


/* -------------------------------------------------------------------------- */
/* Spacing */
/* -------------------------------------------------------------------------- */
.ghost-content > *:not(h1,h2,h3,h4,h5,h6) { margin-bottom: 0; }
.ghost-content blockquote { margin: 2rem 0 1rem; }
.ghost-content hr { margin: 4rem 0; }
.ghost-content p + ul,
.ghost-content p + ol {
  margin-top: 0.25em;
}

.ghost-content *:is(h1,h2,h3,h4,h5,h6) + div.kg-card,
.ghost-content *:is(h1,h2,h3,h4,h5,h6) + figure.kg-card,
.ghost-content *:is(h1,h2,h3,h4,h5,h6) + figure.kg-card.kg-bookmark-card {
  margin-top: 0;
}

.ghost-content .kg-card { margin: 2rem 0 0; }
.ghost-content figure.kg-card { margin: 3rem 0 1rem; }
.ghost-content .kg-signup-card { margin: 3rem 0 0; }
.ghost-content .kg-header-card { margin: 3rem 0 0; }
.ghost-content figure.kg-card.kg-bookmark-card { margin: 2rem 0 0; }
.ghost-content .kg-width-full + .kg-width-full { margin-top: 0; }


/* -------------------------------------------------------------------------- */
/* Link color */
/* -------------------------------------------------------------------------- */
.ghost-content a:not([class*="kg-"],[class*="btn"]) {
  text-decoration-thickness: 2px;
}

.ghost-content a:not([class*="kg-"],[class*="btn"]):hover {
  color: var(--ghost-accent-color);
}


/* -------------------------------------------------------------------------- */
/* Figcaption */
/* -------------------------------------------------------------------------- */
.ghost-content figure figcaption {
  text-align: center;
  margin: 0 auto;
  margin-top: 0.75rem;
  opacity: 0.8;
}

.ghost-content figure figcaption p { margin: 0; }


/* -------------------------------------------------------------------------- */
/* Iframe and table */
/* -------------------------------------------------------------------------- */
.ghost-content iframe { max-width: 100%; }
.ghost-content table { display: inline-block; overflow-x: scroll; }


/* -------------------------------------------------------------------------- */
/* Image card and gallery image position */
/* -------------------------------------------------------------------------- */
.kg-image-card, .kg-gallery-image { position: relative; }


/* -------------------------------------------------------------------------- */
/* Remove img margins from cards */
/* -------------------------------------------------------------------------- */
.kg-card img { margin: 0 auto; }


/* -------------------------------------------------------------------------- */
/* Blockquote alt */
/* -------------------------------------------------------------------------- */
.kg-blockquote-alt {
  border-left: 0;
}


/* -------------------------------------------------------------------------- */
/* Video card */
/* -------------------------------------------------------------------------- */
.kg-video-card video { margin: 0; }


/* -------------------------------------------------------------------------- */
/* Embed card */
/* -------------------------------------------------------------------------- */
.kg-embed-card .twitter-tweet { margin: 10px auto; }


/* -------------------------------------------------------------------------- */
/* Button card */
/* -------------------------------------------------------------------------- */
.ghost-content .kg-button-card a.kg-btn {
  border-radius: var(--radius);
  color: var(--color-brand-contrast);
  font-family: var(--font-body);
  font-weight: 500;
}

.ghost-content .kg-button-card { margin-bottom: 1em; }


/* -------------------------------------------------------------------------- */
/* Signup card */
/* -------------------------------------------------------------------------- */
.kg-content-wide .kg-signup-card-content {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.kg-signup-card picture { margin: 0; }

.ghost-content .kg-signup-card-input { height: 3rem; }
.ghost-content .kg-signup-card-button { height: 3rem; }
.ghost-content .kg-signup-card-disclaimer { margin: 0.5rem 0 0; }


/* -------------------------------------------------------------------------- */
/* Header card */
/* -------------------------------------------------------------------------- */
.kg-content-wide .kg-header-card-content {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.kg-header-card picture { margin: 0; }
.ghost-content .kg-header-card.kg-v2 .kg-header-card-button { height: 3rem; }


/* -------------------------------------------------------------------------- */
/* Content CTA / upgrade */
/* -------------------------------------------------------------------------- */
.ghost-content .gh-post-upgrade-cta { margin-top: 2rem; }

.ghost-content .gh-post-upgrade-cta-content {
  border-radius: var(--radius);
  color: var(--color-brand-contrast);
}

.gh-post-upgrade-cta-content h2,
.gh-post-upgrade-cta p a {
  color: var(--color-brand-contrast)!important;
}

.gh-post-upgrade-cta a.gh-btn {
  background-color: var(--color-brand-contrast)!important;
}

/* -------------------------------------------------------------------------- */
/* No margin top when kg-card is the first element
/* -------------------------------------------------------------------------- */
.ghost-content > .kg-card:first-child {
  margin-top: 0;
}
/* App.css
/* ---------------------------------------------------------- /*

These are just some base styles to get you started. You delete
these and start over using your toolset of choice, or evolve
what's here to work the way you'd like it to.

# Table of Contents

- Vars
- Reset
- Defaults
- Layout
- Tag Archives
- Author Archives
- Pagination
- Footer

/* Variables
/* ---------------------------------------------------------- */

:root {

  /* Colours */
  --color-primary: #3eb0ef;
  --color-base: #15171A;
  --color-secondary: #5B7A81;
  --color-border: #c7d5d8;
  --color-bg: #f5f5f5;

  /* Fonts */
  --font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  --font-serif: Georgia, Times, serif;
  --font-mono: Menlo, Courier, monospace;
  --font-light: 100;
  --font-normal: 400;
  --font-bold: 700;
  --font-heavy: 800;

  /* Sizes */
  --height: 4rem;
  --margin: 2rem;
  --radius: 0.6rem;

}


/* Reset
/* ---------------------------------------------------------- */

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,
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
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-spacing: 0;
  border-collapse: collapse;
}
img {
  max-width: 100%;
}
html {
  box-sizing: border-box;
  font-family: sans-serif;

  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
b,
strong {
  font-weight: bold;
}
i,
em,
dfn {
  font-style: italic;
}
h1 {
  margin: 0.67em 0;
  font-size: 2em;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
/*mark {
  background-color: #fdffb6;
}*/
mark {
  background-color: #FFC7CC;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}
button {
  overflow: visible;
  border: none;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;

  -webkit-appearance: button;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}
input {
  line-height: normal;
}
input:focus {
  outline: none;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  box-sizing: content-box;

  -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
legend {
  padding: 0;
  border: 0;
}
textarea {
  overflow: auto;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
td,
th {
  padding: 0;
}

/* Defaults
/* ---------------------------------------------------------- */

html {
  overflow-x: hidden;
  overflow-y: scroll;
  font-size: 62.5%;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  overflow-x: hidden;
  color: #3c484e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.5rem;
  line-height: 1.6em;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  background: #fff;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
}

::selection {
  text-shadow: none;
  background: #cbeafb;
}
.ghost-content{
  font-size: 16px;
  line-height: 1.75;
}
.ghost-content hr {
  position: relative;
  display: block;
  width: 100%;
  margin: 1.8em 0 2.4em;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.ghost-content audio,
.ghost-content canvas,
.ghost-content iframe,
.ghost-content img,
.ghost-content svg,
.ghost-content video {
  vertical-align: middle;
}

.ghost-content fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.ghost-content textarea {
  resize: vertical;
}

.ghost-content p,
.ghost-content ul,
.ghost-content ol,
.ghost-content dl,
.ghost-content blockquote {
  margin: 0 0 1.5em 0;
}

.ghost-content ol,
.ghost-content ul {
  padding-left: 1.3em;
  padding-right: 1.5em;
}

.ghost-content ol ol,
.ghost-content ul ul,
.ghost-content ul ol,
.ghost-content ol ul {
  margin: 0.5em 0 1em;
}

.ghost-content ul {
  list-style: disc;
}

.ghost-content ol {
  list-style: decimal;
}

.ghost-content ul,
ol {
  max-width: 100%;
}

.ghost-content li {
  margin: 0.5em 0;
  padding-left: 0.3em;
  line-height: 1.6em;
}

.ghost-content dt {
  float: left;
  margin: 0 20px 0 0;
  width: 120px;
  font-weight: 500;
  text-align: right;
}

.ghost-content dd {
  margin: 0 0 5px 0;
  text-align: left;
}

.ghost-content blockquote {
  margin: 0.3em 0 1.8em;
  padding: 0 1.6em 0 1.6em;
  border-left: #cbeafb 0.5em solid;
}

.ghost-content blockquote p {
  margin: 0.8em 0;
  font-size: 1.2em;
  font-weight: 300;
}

.ghost-content blockquote small {
  display: inline-block;
  margin: 0.8em 0 0.8em 1.5em;
  font-size: 0.9em;
  opacity: 0.8;
}
/* Quotation marks */
.ghost-content blockquote small:before {
  content: "\2014 \00A0";
}

.ghost-content blockquote cite {
  font-weight: bold;
}
.ghost-content blockquote cite a {
  font-weight: normal;
}

/*.ghost-content a {
  color: #26a8ed;
  text-decoration: none;
}

.ghost-content a:hover {
  text-decoration: underline;
}*/
.ghost-content a {
  color: #3c484e;
  text-decoration: none;
}

.ghost-content a:hover {
  color: #2179F5 !important;
}

.ghost-content h1,
.ghost-content h2,
.ghost-content h3,
.ghost-content h4,
.ghost-content h5,
.ghost-content h6 {
  margin-top: 0;
  color: var(--color-base);
  line-height: 1.15;
  font-weight: 700;
  text-rendering: optimizeLegibility;
}

.ghost-content h1 {
  margin: 0 0 0.5em 0;
  font-size: 4rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  .ghost-content h1 {
    font-size: 2rem;
  }
}

.ghost-content h2 {
  margin: 1.5em 0 0.5em 0;
  font-size: 2rem;
}
@media (max-width: 500px) {
  .ghost-content h2 {
    font-size: 1.8rem;
  }
}

.ghost-content h3 {
  margin: 1.5em 0 0.5em 0;
  font-size: 1.8rem;
  font-weight: 500;
}
@media (max-width: 500px) {
  .ghost-content h3 {
    font-size: 1.7rem;
  }
}

.ghost-content h4 {
  margin: 1.5em 0 0.5em 0;
  font-size: 1.6rem;
  font-weight: 500;
}

.ghost-content h5 {
  margin: 1.5em 0 0.5em 0;
  font-size: 1.4rem;
  font-weight: 500;
}

.ghost-content h6 {
  margin: 1.5em 0 0.5em 0;
  font-size: 1.4rem;
  font-weight: 500;
}

/* Layout
/* ---------------------------------------------------------- */

.viewport {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 4vw;
}

.content {
  margin: 0 auto;
  font-size: 2rem;
  line-height: 1.7em;
}

.content-body {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
}

.post-full-content {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
}

.post-feature-image img {
  margin: 0 0 3vw;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
  font-family: var(--font-sans-serif);
}

.content-body h1 {
  margin: 1.0em 0 0.5em 0;
  font-size: 3.4rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  .content-body h1 {
    font-size: 2.8rem;
  }
}

.content-title {
  margin: 0 0 0.8em;
  font-size: 5rem;
}
@media (max-width: 500px) {
  .content-title {
    margin: 0.8em 0;
    font-size: 3.4rem;
  }
  .content {
    font-size: 1.8rem;
  }
}

.content-body h2 {
  margin: 0.8em 0 0.4em 0;
  font-size: 3.2rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  .content-body h2 {
    font-size: 2.6rem;
  }
}

.content-body h3 {
  margin: 0.5em 0 0.2em 0;
  font-size: 2.8rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  .content-body h3 {
    font-size: 2.2rem;
  }
}

.content-body h4 {
  margin: 0.5em 0 0.2em 0;
  font-size: 2.4rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  .content-body h4 {
    font-size: 2.2rem;
  }
}

.content-body h5 {
  display: block;
  margin: 0.5em 0;
  padding: 1em 0 1.5em;
  border: 0;
  font-family: Georgia,serif;
  color: var(--color-primary);
  font-style: italic;
  font-size: 3.2rem;
  line-height: 1.35em;
  text-align: center;
}

.content-body h6 {
  margin: 0.5em 0 0.2em 0;
  font-size: 2.0rem;
  font-weight: 700;
}

.content-body figure {
  margin: 0.4em 0 1.6em;
  font-size: 2.8rem;
  font-weight: 700;
}

.content-body pre {
  margin: 0.4em 0 1.8em;
  font-size: 1.6rem;
  line-height: 1.4em;
  white-space: pre-wrap;
  padding: 20px;
  background: var(--color-base);
  color: #fff;
  border-radius: 12px;
}

/* Header
/* ---------------------------------------------------------- */

.site-head {
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  background: var(--color-base);
  background-position: center;
  background-size: cover;
}

.site-nav-item {
  display: inline-block;
  padding: 5px 10px;
  color: #fff;
  opacity: 0.7;
}

.site-nav-item:hover {
  text-decoration: none;
  opacity: 1;
}

.site-nav-icon {
  height: 15px;
  margin: -5px 0 0;
}

.site-logo {
  height: 25px;
}

.site-mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-mast-right {
  display: flex;
  align-items: center;
}

.site-mast-right .site-nav-item:last-child {
  padding-right: 0;
}

.site-banner {
  max-width: 80%;
  margin: 0 auto;
  padding: 10vw 0;
  text-align: center;
}

.site-banner-title {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 4rem;
  line-height: 1.3em;
}

.site-banner-desc {
  margin: 5px 0 0 0;
  padding: 0;
  font-size: 2.4rem;
  line-height: 1.3em;
  opacity: 0.7;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0 0 0;
}

.site-nav-left {
  margin: 0 20px 0 -10px;
}

.site-nav-button {
  display: inline-block;
  padding: 5px 10px;
  border: #fff 1px solid;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1em;
  border-radius: var(--radius);
  opacity: 0.7;
}

.site-nav-button:hover {
  text-decoration: none;
}

/* Main
/* ---------------------------------------------------------- */

.site-main {
  padding: 4vw 0;
}

/* Index
/* ---------------------------------------------------------- */

.post-feed {
  display: grid;
  justify-content: space-between;
  grid-gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 980px) {
  .post-feed {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .post-feed {
    grid-template-columns: 1fr;
  }
}

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

.post-card:hover {
  text-decoration: none;
}

.post-card-tags {
  margin: 0 0 5px 0;
  font-size: 1.4rem;
  line-height: 1.15em;
  color: var(--color-secondary);
}


.post-card-title {
  margin: 0 0 10px 0;
  padding: 0;
}

.post-card-excerpt {
  font-size: 1.6rem;
  line-height: 1.55em;
}

.post-card-image {
  margin: 0 0 10px 0;
  width: auto;
  height: 200px;
  background: var(--color-secondary) no-repeat center center;
  background-size: cover;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 0 0;
  color: var(--color-secondary);
}

.post-card-footer-left {
  display: flex;
  align-items: center;
}

.post-card-footer-right {
  display: flex;
  flex-direction: column;
}

.post-card-avatar {
  width: 30px;
  height: 30px;
  margin: 0 7px 0 0;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-avatar .author-profile-image {
  display: block;
  width: 100%;
  background: var(--color-secondary);
  border-radius: 100%;
  object-fit: cover;
}

.post-card-avatar .default-avatar {
  width: 26px;
}


/* Tag Archives
/* ---------------------------------------------------------- */

.tag-header {
  max-width: 690px;
  margin: 0 0 4vw;
}

.tag-header h1 {
  margin: 0 0 1rem 0;
}

.tag-header p {
  margin: 0;
  color: var(--color-secondary);
  font-size: 2.2rem;
  line-height: 1.3em;
}

@media (max-width: 500px) {
  .tag-header {
    border-bottom: var(--color-bg) 1px solid;
    padding-bottom: 4vw;
  }
  .tag-header p {
    font-size: 1.7rem;
  }
}


/* Author Archives
/* ---------------------------------------------------------- */

.author-header {
  display: flex;
  justify-content: space-between;
  margin: 0 0 4vw;
}

.author-header h1 {
  margin: 0 0 1rem 0;
}

.author-header p {
  margin: 0;
  color: var(--color-secondary);
  font-size: 2.2rem;
  line-height: 1.3em;
}

.author-header-image {
  flex: 0 0 auto;
  margin: 0 0 0 4vw;
  height: 120px;
  width: 120px;
  border-radius: 100%;
  overflow: hidden;
}

.author-header-meta {
  display: flex;
  margin: 1rem 0 0 0;
}

.author-header-item {
  display: block;
  padding: 2px 10px;
}

.author-header-item:first-child {
  padding-left: 0;
}

@media (max-width: 500px) {
  .author-header {
    border-bottom: var(--color-bg) 1px solid;
    padding-bottom: 4vw;
  }
  .author-header p {
    font-size: 1.7rem;
  }
  .author-header-image {
    height: 80px;
    width: 80px;
  }
}


/* Pagination
/* ---------------------------------------------------------- */

.pagination {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4vw 0 0;
}

.pagination a {
  display: inline-block;
  padding: 10px 15px;
  border: var(--color-border) 1px solid;
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 1em;
  border-radius: var(--radius);
}

.pagination-location {
  position: absolute;
  left: 50%;
  width: 100px;
  margin-left: -50px;
  text-align: center;
  color: var(--color-secondary);
  font-size: 1.3rem;
}


/* Footer
/* ---------------------------------------------------------- */

.site-foot {
  padding: 20px 0 40px 0;
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
  background: var(--color-base);
}

.site-foot-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-foot-nav a {
  color: rgba(255,255,255,0.7);
}

.site-foot-nav a:hover {
  text-decoration: none;
  color: rgba(255,255,255,1);
}

.site-foot-nav-right a {
  display: inline-block;
  padding: 2px 5px;
}

.site-foot-nav-right a:last-child {
  padding-right: 0;
}


/* Koenig Styles
/* ---------------------------------------------------------- */

.kg-bookmark-card {
  width: 100%;
  margin-top: 0;
}

.kg-bookmark-container {
  display: flex;
  min-height: 148px;
  color: var(--color-base);
  font-family: var(--font-sans-serif);
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 0 2px 5px -1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.09);
}

.kg-bookmark-container:hover {
  color: var(--color-base);
  text-decoration: none;
  box-shadow: 0 2px 5px -1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.09);
}

.kg-bookmark-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
}

.kg-bookmark-title {
  color: color(var(--color-secondary) l(-30%));
  font-size: 1.6rem;
  line-height: 1.5em;
  font-weight: 600;
  transition: color 0.2s ease-in-out;
}

.kg-bookmark-container:hover .kg-bookmark-title {
  color: var(--color-primary);
}

.kg-bookmark-description {
  display: -webkit-box;
  overflow-y: hidden;
  margin-top: 12px;
  max-height: 48px;
  color: color(var(--color-secondary) l(-10%));
  font-size: 1.5rem;
  line-height: 1.5em;
  font-weight: 400;

  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.kg-bookmark-thumbnail {
  position: relative;
  min-width: 33%;
  max-height: 100%;
}

.kg-bookmark-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 3px 3px 0;

  object-fit: cover;
}

.kg-bookmark-metadata {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
  color: color(var(--color-secondary) l(-10%));
  font-size: 1.5rem;
  font-weight: 400;
}

.kg-bookmark-icon {
  margin-right: 8px;
  width: 22px;
  height: 22px;
}

.kg-bookmark-author {
  line-height: 1.5em;
}

.kg-bookmark-author:after {
  content: "•";
  margin: 0 6px;
}

.kg-bookmark-publisher {
  overflow: hidden;
  max-width: 240px;
  line-height: 1.5em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Gallery Styles
/* ---------------------------------------------------------- */
.kg-gallery-container {
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  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-gallery-card + .kg-image-card.kg-width-wide,
.kg-gallery-card + .kg-gallery-card,
.kg-image-card.kg-width-wide + .kg-gallery-card,
.kg-image-card.kg-width-wide + .kg-image-card.kg-width-wide {
  margin: -2.25em 0 3em;
}


.post {
  max-width: 680px;
  margin: 0 auto;
}

.post-header {
  margin: 0 5vmin 5vmin;
  text-align: center;
}

.post-meta {
  margin: 1rem 0 0 0;
  text-transform: uppercase;
  color: #738a94;
  font-weight: 500;
  font-size: 1.3rem;
}

.post-image {
  margin: 0 0 5vmin;
}

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

.post-content {
  padding: 0 5vmin;
}

.post-content > * + * {
  margin-top: 1.5em;
}

.post-content [id]:not(:first-child) {
  margin: 2em 0 0;
}

.post-content > [id] + * {
  margin-top: 1rem;
}

.post-content [id] + .kg-card,
.post-content blockquote + .kg-card {
  margin-top: 40px;
}

.post-content > ul,
.post-content > ol,
.post-content > dl {
  padding-left: 1.9em;
}

.post-content hr {
  margin-top: 40px;
}

.post .post-content hr + * {
  margin-top: 40px;
}

.post-content amp-img {
  background-color: #f8f8f8;
}

.post-content blockquote {
  position: relative;
  font-style: italic;
}

.post-content blockquote::before {
  content: "";
  position: absolute;
  left: -1.5em;
  top: 0;
  bottom: 0;
  width: 0.3rem;
  background: var(--ghost-accent-color, #1292EE);
}

.post-content blockquote.kg-blockquote-alt {
  font-size: 1.2em;
  font-style: italic;
  line-height: 1.6em;
  text-align: center;
  color: #738a94;
  padding: 0.75em 3em 1.25em;
}

.post-content blockquote.kg-blockquote-alt::before {
  display: none;
}

.post-content :not(.kg-card):not([id]) + .kg-card {
  margin-top: 40px;
}

.post-content .kg-card + :not(.kg-card) {
  margin-top: 40px;
}

.kg-card figcaption {
  padding: 1.5rem 1.5rem 0;
  text-align: center;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.4em;
  opacity: 0.6;
}

.kg-card figcaption strong {
  color: rgba(0,0,0,0.8);
}

.post-content :not(pre) code {
  vertical-align: middle;
  padding: 0.15em 0.4em 0.15em;
  border: #e1eaef 1px solid;
  font-weight: 400;
  font-size: 0.9em;
  line-height: 1em;
  color: #15171a;
  background: #f0f6f9;
  border-radius: 0.25em;
}

.post-content > pre {
  overflow: scroll;
  padding: 16px 20px;
  color: #fff;
  background: #1F2428;
  border-radius: 5px;
  box-shadow: 0 2px 6px -2px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.4);
}

.kg-embed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

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

.kg-gallery-card + .kg-gallery-card {
  margin-top: 0.75em;
}

.kg-gallery-container {
  position: relative;
}

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

.kg-gallery-image {
  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-bookmark-card,
.kg-bookmark-publisher {
  position: relative;
}

.kg-bookmark-container,
.kg-bookmark-container:hover {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  color: currentColor;
  background: rgba(255,255,255,0.6);
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.kg-bookmark-content {
  flex-basis: 0;
  flex-grow: 999;
  padding: 20px;
  order: 1;
}

.kg-bookmark-title {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3em;
}

.kg-bookmark-description {
  display: -webkit-box;
  max-height: 45px;
  margin: 0.5em 0 0 0;
  font-size: 1.4rem;
  line-height: 1.55em;
  overflow: hidden;
  opacity: 0.8;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.kg-bookmark-metadata {
  margin-top: 20px;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.3em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.kg-bookmark-metadata amp-img {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  margin-right: 10px;
}

.kg-bookmark-thumbnail {
  display: flex;
  flex-basis: 20rem;
  flex-grow: 1;
  justify-content: flex-end;
}

.kg-bookmark-thumbnail amp-img {
  max-height: 200px;
}

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

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

.kg-toggle-card-icon {
  display: none;
}

.kg-toggle-content {
  margin-top: 0.8rem;
}

.kg-product-card-container {
  background: transparent;
  padding: 20px;
  width: 100%;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgb(124 139 154 / 25%);
}

.kg-product-card-description p {
  margin-top: 1.5em;
}

.kg-product-card-description ul {
  margin-left: 24px;
}

.kg-product-card-title {
  font-size: 1.9rem;
  font-weight: 700;
}

.kg-product-card-rating-star {
  height: 28px;
  width: 20px;
  margin-right: 2px;
}

.kg-product-card-rating-star svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.15;
}

.kg-product-card-rating-active.kg-product-card-rating-star svg {
  opacity: 1;
}

.kg-nft-card-container {
  position: relative;
  display: flex;
  flex: auto;
  flex-direction: column;
  text-decoration: none;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  box-shadow: 0 2px 6px -2px rgb(0 0 0 / 10%), 0 0 1px rgb(0 0 0 / 40%);
  width: 100%;
  max-width: 512px;
  color: #15212A;
  background: #fff;
  border-radius: 5px;
  transition: none;
  margin: 0 auto;
}

.kg-nft-metadata {
  padding: 2.0rem;
}

.kg-nft-image-container {
  position: relative;
}

.kg-nft-image {
  display: flex;
  border-radius: 5px 5px 0 0;
}

.kg-nft-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.kg-nft-header h4.kg-nft-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0;
  color: #15212A;
}

.kg-nft-header amp-img {
  max-width: 114px;
  max-height: 26px;
}

.kg-nft-opensea-logo {
  margin-top: 2px;
  width: 100px;
}

.kg-nft-creator {
  font-family: inherit;
  color: #95A1AD;
}

.kg-nft-creator span {
  font-weight: 500;
  color: #15212A;
}

.kg-nft-card p.kg-nft-description {
  font-size: 1.4rem;
  line-height: 1.4em;
  margin: 2.0rem 0 0;
  color: #222;
}

.kg-button-card {
  display: flex;
  position: static;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.kg-btn {
  display: flex;
  position: static;
  align-items: center;
  padding: 0 2.0rem;
  height: 4.0rem;
  line-height: 4.0rem;
  font-size: 1.65rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: opacity 0.2s ease-in-out;
}

.kg-btn:hover {
  opacity: 0.85;
}

.kg-btn-accent {
  background-color: var(--ghost-accent-color, #1292EE);
  color: #fff;
}

.kg-callout-card {
  display: flex;
  padding: 20px 28px;
  border-radius: 3px;
}

.kg-callout-card-grey {
  background: rgba(124, 139, 154, 0.13);
}

.kg-callout-card-white {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(124, 139, 154, 0.25);
}

.kg-callout-card-blue {
  background: rgba(33, 172, 232, 0.12);
}

.kg-callout-card-green {
  background: rgba(52, 183, 67, 0.12);
}

.kg-callout-card-yellow {
  background: rgba(240, 165, 15, 0.13);
}

.kg-callout-card-red {
  background: rgba(209, 46, 46, 0.11);
}

.kg-callout-card-pink {
  background: rgba(225, 71, 174, 0.11);
}

.kg-callout-card-purple {
  background: rgba(135, 85, 236, 0.12);
}

.kg-callout-card-accent {
  background: var(--ghost-accent-color);
  color: #fff;
}

.kg-callout-card-accent a {
  color: #fff;
}

.kg-callout-emoji {
  padding-right: 16px;
  line-height: 1.3;
  font-size: 1.25em;
}

.kg-header-card {
  padding: 6em 3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.kg-header-card.kg-size-small {
  padding-top: 4em;
  padding-bottom: 4em;
}

.kg-header-card.kg-size-large {
  padding-top: 12em;
  padding-bottom: 12em;
}

.kg-header-card.kg-width-full {
  padding-left: 4em;
  padding-right: 4em;
}

.kg-header-card.kg-align-left {
  text-align: left;
  align-items: flex-start;
}

.kg-header-card.kg-style-dark {
  background: #15171a;
  color: #ffffff;
}

.kg-header-card.kg-style-light {
  color: #15171a;
  border: 1px solid rgba(124, 139, 154, 0.25);
  border-width: 1px 0;
}

.kg-header-card.kg-style-accent {
  background-color: var(--ghost-accent-color);
}

.kg-header-card.kg-style-image {
  background-color: #e7e7eb;
  background-size: cover;
  background-position: center center;
}

.kg-header-card h2 {
  font-size: 4em;
  font-weight: 700;
  line-height: 1.1em;
  margin: 0;
}

.kg-header-card h2 strong {
  font-weight: 800;
}

.kg-header-card.kg-size-small h2 {
  font-size: 3em;
}

.kg-header-card.kg-size-large h2 {
  font-size: 5em;
}

.kg-header-card h3 {
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1.3em;
  margin: 0;
}

.kg-header-card h3 strong {
  font-weight: 600;
}

.kg-header-card.kg-size-small h3 {
  font-size: 1em;
}

.kg-header-card.kg-size-large h3 {
  font-size: 1.5em;
}

.kg-header-card:not(.kg-style-light) h2,
.kg-header-card:not(.kg-style-light) h3 {
  color: #ffffff;
}

.kg-header-card a.kg-header-card-button {
  display: flex;
  position: static;
  align-items: center;
  padding: 0 1.2em;
  height: 2.4em;
  line-height: 1em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 0.95em;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 5px;
  transition: opacity 0.2s ease-in-out;
  background-color: var(--ghost-accent-color);
  color: #ffffff;
  margin: 1.75em 0 0;
}

.kg-header-card a.kg-header-card-button:hover {
  opacity: 0.85;
}

.kg-header-card.kg-size-large a.kg-header-card-button {
  margin-top: 2em;
}

.kg-header-card.kg-size-small a.kg-header-card-button {
  margin-top: 1.5em;
}

.kg-header-card.kg-style-image a.kg-header-card-button,
.kg-header-card.kg-style-dark a.kg-header-card-button {
  background: #ffffff;
  color: #15171a !important;
}

.kg-header-card.kg-style-accent a.kg-header-card-button {
  background: #ffffff;
  color: var(--ghost-accent-color) !important;
}

.kg-audio-card {
  display: flex;
  width: 100%;
  box-shadow: inset 0 0 0 1px rgba(124, 139, 154, 0.25);
}

.kg-audio-thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  min-width: 80px;
  height: 80px;
  background: transparent;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 3px 0 0 3px;
}

.kg-audio-thumbnail.placeholder {
  background: var(--ghost-accent-color);
}

.kg-audio-thumbnail.placeholder svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.kg-audio-player-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  --seek-before-width: 0%;
  --volume-before-width: 100%;
  --buffered-width: 0%;
}

.kg-audio-title {
  width: 100%;
  padding: 8px 12px 0;
  border: none;
  font-family: inherit;
  font-size: 1.1em;
  font-weight: 700;
  background: transparent;
}

.kg-audio-player {
  display: none;
}

.kg-width-full.kg-card-hascaption {
  display: grid;
  grid-template-columns: inherit;
}

.post-content table {
  border-collapse: collapse;
  width: 100%;
}

.post-content th {
  padding: 0.5em 0.8em;
  text-align: left;
  font-size: .75em;
  text-transform: uppercase;
}

.post-content td {
  padding: 0.4em 0.7em;
}

.post-content tbody tr:nth-child(2n + 1) {
  background-color: rgba(0,0,0,0.1);
  padding: 1px;
}

.post-content tbody tr:nth-child(2n + 2) td:last-child {
  box-shadow:
      inset 1px 0 rgba(0,0,0,0.1),
      inset -1px 0 rgba(0,0,0,0.1);
}

.post-content tbody tr:nth-child(2n + 2) td {
  box-shadow: inset 1px 0 rgba(0,0,0,0.1);
}

.post-content tbody tr:last-child {
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.page-footer {
  padding: 60px 5vmin;
  margin: 60px auto 0;
  text-align: center;
  background-color: #f8f8f8;
}

.page-footer h3 {
  margin: 0.5rem 0 0 0;
}

.page-footer p {
  max-width: 500px;
  margin: 1rem auto 1.5rem;
  font-size: 1.7rem;
  line-height: 1.5em;
  color: rgba(0,0,0,0.6)
}

.powered {
  display: inline-flex;
  align-items: center;
  margin: 30px 0 0;
  padding: 6px 9px 6px 6px;
  border: rgba(0,0,0,0.1) 1px solid;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: -0.2px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  background: #fff;
  border-radius: 6px;
}

.powered svg {
  height: 16px;
  width: 16px;
  margin: 0 6px 0 0;
}

:root {--ghost-accent-color: #F91515; }