/* --- Colors --- */

:root {
  --link-color:#0077cc;
  --link-state-color:#0077cc;
  --link-state-border-color: #0077cc;
}

/* --- Theme tweaks --- */

article pre {
  background-color: #f0f0f0;
  /* border-radius: 6px; */
}

/* Header weight is inconsistent in articles */
.post h1, h2, h3, h4, h5 {
  font-weight: 600;
}

/* Default header spacing looks weird in articles */
.post h1, h2, h3, h4, h5 {
  line-height: 1.0em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
h1.post-title {
  line-height: 1.5em;
  margin-top: 1.0em;
}
.post-short-list h2.post-title {
  line-height: 1.5em;
}

/* Default paragraph spacing is too tight */
p {
  margin-top: 1.0em;
  margin-bottom: 1.0em;
}

/* Default (flex) creates akward spacing between title and content */
article header {
  display: block;
}

/* Tighten up the footer */
.common-footer p {
  margin-top: 0em;
  margin-bottom: 0.5em;
}

/* Pad for screen bottom on mobile */
.common-footer{
  padding-bottom: 0.5em;
}

/* Default is too tight to post title */
.post-summary {
  margin-top: 1.0em;
}

/* Default spacing bw list items is larger than spacing bw first item and title */
.post-short-list {
  margin-top: 1.0em;
  margin-bottom: 1.0em;
}
.post-short-list .post-info {
  margin-bottom: 0;
}

video:focus {
  outline: 0;
}

iframe {
  border-width: 0;
}

hr {
  margin: 2em;
}

/* --- App Container --- */

.app-container { 
  position: relative;
}

.app-container .size {
  display: block;
  height: auto;
}

.app-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Grid --- */

.grid {
  margin-block-start: 2em;
  margin-block-end: 2em;
}

.grid * {
  margin: 0;
}

.grid .caption {
  text-align: center;
  padding-top: 0.25rem;
}