@import url('https://rsms.me/inter/inter.css');

:root {
  /* Pure CSS variables */
  --container-width: 800px;
  --mono-font-stack: "Consolas", monospace;
  --sans-font-stack: "Inter", arial;
  --font-stack: var(--sans-font-stack);
  /* Fallbacks should be provided, of course */
}

body {
  max-width: 800px;
  max-width: var(--container-width);
  padding: 0 0.5rem;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.7;
  font-size: 0.82rem;
  /* font-family: monospace; */
  font-family: var(--font-stack);
}

a {
  text-decoration: none;
  color: black;
  font-weight: 600;
}

a:hover {
  color: #E19E2E;
}

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

figure {
  margin-left: auto;
  margin-right: auto;
}

figcaption {
  text-align: center;
  font-size: 0.75rem;
}

pre {
  overflow: auto;
}

nav ul {
  list-style-type: none;
  padding-left: 0;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1.5rem 0 1.5rem 0;
}

ul {
  padding-inline-start: 1rem;
}

ol {
  padding-inline-start: 1.75rem;
}

.inline-block {
  display: inline-block;
}

.center-text {
  text-align: center;
}

.post-teaser__meta__date {
  font-size: 0.7rem;
}

li.pk-listtitle {
  padding-bottom: 20px;
}

li.pk-listtitle a{
  font-size: 0.95rem;
  line-height: 2;
}

.main-header__logo {
  margin: 2rem 0;
}

.main-header__logo img{
  max-height: 98px;
}


/* IMAGE WIDTH STYLES */
/* ================== */

/* Style at will... */
/* figure.kg-width-full { } */
/* figure.kg-width-wide { } */
/*
PROTIP:
Try something like as a starting point for centering images that are wider than their parent container's width:

.full-bleed {
	  width: 100vw;
	  position: relative;
	  left: 50%;
	  right: 50%;
	  margin-left: -50vw;
	  margin-right: -50vw;
	}

For large images that aren't full width, but are larger than their parent, just replace 100vw with your max width (say, 1000px), and then replace the -50vw margins with -{NUM}px / 2 (in this case, -500px). You can see a version of this techinique in action in the stylesheet of my MNML Ghost theme:
https://github.com/curiositry/mnml-ghost-theme
*/

/* IMAGE GALLERY STYLES */
/* ==================== */

/* Style at will... */
/* .kg-gallery-card { } */
/* .kg-gallery-container { } */
/* .kg-gallery-row { } */
/* .kg-gallery-image { } */

/*
Docs can be found here: http://themes.ghost.org/docs/ghost-editor#section-gallery-card

The implementation that Ghost recommends is pretty robust, with one caveat: it needs a few lines of JavaScrpt. Example can be found here:
https://github.com/TryGhost/Casper/pull/475/files#diff-ce5e030f2e2e2a50f18199464f07ea70
*/


/* BOOKMARK CARD STYLES */
/* ==================== */

/* This is a lean implementation. Style to taste, or delete if you don’t use this modern stuff. (Note: Ghost will throw warnings on theme activation if you fully remove these classes.) */

.kg-bookmark-card { } /* Required for validation */

.kg-bookmark-container {
  display: flex;
  flex-wrap: wrap;
  text-decoration: none;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border: 1px solid black none;
  background-color: #eee;
  text-align: center;
}

.kg-bookmark-content {
  padding: 1rem;
  order: 2;
  width: 100%;
}

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

.kg-bookmark-description,
.kg-bookmark-metadata {
  margin-top: 1rem;
  filter: grayscale(75%);
}

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

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

.kg-bookmark-publisher {
  display: inline-block;
}

.kg-bookmark-author:after {
  content: " • ";
}

/* END BOOKMARK CARD STYLES */

/* RESPONSIVE VIDEO EMBED STYLES */
/* ============================= */

/* This is lightest-weight implementation of responsive video embeds that I have been able to come up with. To cover all edge cases, a JavaScript solution would be needed, but this works in most modern browsers. */

iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"],
iframe[src*="vimeo.com"]{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* END RESPONSIVE EMBED CARD STYLES */




@media all and (min-width: 800px) {

  ol, ul { /* Hanging punctuation */
    padding-inline-start: 0;
  }

  nav li,
  nav ul {
    display: inline;
  }

  nav li {
    margin: 0.5rem;
  }

  .form-group {
    display: inline;
  }

  .site-footer__attribution > div {
    display: inline-block;
    margin: 0.5rem 0;
  }

  .checkout-box {
    columns: 2;
  }

  .checkout-plan {
    padding-top: 1.5rem;
  }

  .checkout-plan ul {
    text-align: left;
    padding: 0 2rem 0 4rem;
  }

}
/* disable
@media (prefers-color-scheme: dark) {

  body {
    background: #333;
    color: #fdfdfd;
  }

  a {
    color: lightblue;
  }

  .kg-bookmark-container {
    background-color: #444;
  }

}
*/ 
@media print {
  p {
    text-indent: 0 !important;
  }
}
