:root {
    --alchemy-border: rgba(0,0,0,.1);
}

blockquote {
  opacity: .7;
  font-style: italic;
}

hr {
  margin: 1.5rem 0;
}

h1, h2, h3, h4, h5, h5 {
    font-family: serif;
    padding-top: 1ex;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration-line: none;
}

.original-date {
    font-size: smaller;
}

.tags a {
  text-decoration-line: none;
}

p {
  overflow: scroll;
}

/* ------------------------------------------------------------------------- */

/*
.container {
  max-width: 1024px;
}
*/

.header,
.footer {
  padding: 1.5rem 0 .5rem;
}

.header {
  border-bottom: 1px solid var(--alchemy-border);
}

.header img {
  margin-bottom: 1rem;
}

.header .title {
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: serif;
}

.title {
  font-size: 1.5rem; /* h4 */
  padding-top: 0;
}

.header ul,
.header li {
  margin-bottom: .5rem;
}

.header ul {
  font-size: 1.25rem;
  font-weight: 300;
  text-transform: lowercase;
}

.main {
  padding: 1.5rem 0;
}

.footer {
  border-top: 1px solid var(--alchemy-border);
}

.highlight {
  margin: 1em 0;
}

.highlight pre {
  border: 1px solid var(--bs-primary);
  background: transparent;
  padding: 1rem;
  margin-bottom: 0;
}

.teaser header ul {
  list-style: none;
  padding-left: 0;
}

.teaser header li {
  margin-bottom: .5rem;
}

.teaser .content p {
  margin-bottom: 0;
}

.article header ul,
.article header li {
  margin-bottom: .5rem;
}

.article header li:not(:last-child) {
  margin-right: 10px;
}

.article .content a {
  text-decoration-style: dotted;
}

.archive-tags {
    font-size: smaller;
    padding-left: 1em;
}

.admonition {
  border: thin solid gray;
  background-color: lightgrey;
  padding: .25em .5em;
  margin-bottom: 1rem;
}

.admonition .admonition-title {
  font-weight: bold;
  background-color: rgba(255,255,255,0.66);
  text-align: center;
}

.admonition p.last  {
  margin-bottom: 0;
}

.admonition.important, .admonition.note, .admonition.warning {
  border-color: goldenrod;
  background-color: lightgoldenrodyellow;
}

.admonition.attention, .admonition.caution, .admonition.danger, .admonition.error {
  border-color: red;
  background-color: lightpink;
}

.admonition.hint, .admonition.tip {
  border-color: limegreen;
  background-color: palegreen;
}

@media (min-width: 576px) {
  .header .title {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .header,
  .footer {
    text-align: center;
  }

  .teaser header li {
    display: inline-block;
  }

  .teaser header li:not(:last-child) {
    margin-right: 10px;
  }
}