@charset "UTF-8";
/* foundation ✴ Theme Components and Templates */
/* SCSS Variables */
:root {
  --bg-color: oklch(20% 0 0);
  --bg-alt-color: oklch(25% 0 0);
  --text-color: oklch(85% 0 0);
  --heading-color: oklch(100% 0 0);
  --link-color: oklch(70% 0.1 260);
  --link-hover-color: oklch(80% 0.1 260);
  --border-color: oklch(40% 0 0);
  --color-success: oklch(65% 0.2 145);
  --color-warning: oklch(85% 0.18 85);
  --color-danger: oklch(60% 0.2 25);
  --color-info: oklch(70% 0.15 240);
  --color-note: oklch(80% 0.1 260);
  --color-tooltip: oklch(from #ffcb66 l c h);
  --color-muted: oklch(60% 0 0);
  --color-property: oklch(from #e74c3c l c h);
  --color-guide: oklch(from red l c h / 0.2);
  --color-key-dark: color-mix(in oklch, var(--link-color), black 10%);
  --color-key-light: color-mix(in oklch, var(--link-color), white 10%);
  --color-key-lighter: color-mix(in oklch, var(--link-color), white 20%);
  --fitz: .5em;
  --fitz-2: calc(var(--fitz) * 2);
  --fitz-half: calc(var(--fitz) / 2);
  --col: 18em;
  --col-2: calc(var(--col) * 2);
  --col-3: calc(var(--col) * 3);
  --bp-small: 40em;
  --bp-medium: 60em;
  --bp-large: 80em;
  --bp-xlarge: 96em;
  --bp-xxlarge: 108em;
  --offset: 1rem;
  --font-primary: "Fira Sans Condensed";
  --font-display: "Fira Sans";
  --font-code: "Fira Code";
  --font-icon: 'photon-icon';
  --bullet: '✴';
}

/* fonts *****************************/
@font-face {
  font-family: 'photon-icon';
  src: url("../fonts/photon-icon/photon-icon.woff2") format("woff2"), url("../fonts/photon-icon/photon-icon.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fira Sans';
  src: local("Fira Sans Regular"), url("../fonts/Fira_Sans/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Fira Sans';
  src: local("Fira Sans Regular Italic"), url("../fonts/Fira_Sans/FiraSans-RegularItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Fira Sans';
  src: local("Fira Sans Bold"), url("../fonts/Fira_Sans/FiraSans-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Fira Sans';
  src: local("Fira Sans Bold Italic"), url("../fonts/Fira_Sans/FiraSans-BoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'Fira Sans Condensed';
  src: local("Fira Sans Condensed Regular"), url("../fonts/Fira_Sans_Condensed/FiraSansCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fira Sans Condensed';
  src: local("Fira Sans Condensed Regular Italic"), url("../fonts/Fira_Sans_Condensed/FiraSansCondensed-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Fira Sans Condensed';
  src: local("Fira Sans Condensed Bold"), url("../fonts/Fira_Sans_Condensed/FiraSansCondensed-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fira Sans Condensed';
  src: local("Fira Sans Condensed Bold Italic"), url("../fonts/Fira_Sans_Condensed/FiraSansCondensed-BoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Fira Code';
  src: local("Fira Code Regular"), url("../fonts/Fira_Code/static/FiraCode-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Fira Code';
  src: local("Fira Code Bold"), url("../fonts/Fira_Code/static/FiraCode-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* base elements *****************************/
/* elements/reset *****************************/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
header,
nav,
main,
aside,
footer,
article,
section,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
blockquote,
figure,
figcaption,
pre,
table,
th,
td,
form,
fieldset,
legend,
input,
textarea,
button {
  margin: 0;
  padding: 0;
}

section, header, footer, main, .asides {
  background: var(--bg-alt-color);
  margin: var(--fitz);
  padding: var(--fitz);
}

/* elements/headings *****************************/
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.5;
  color: var(--heading-color);
  display: block;
}

h1 a.headerlink, h2 a.headerlink, h3 a.headerlink, h4 a.headerlink, h5 a.headerlink, h6 a.headerlink {
  font-size: 0.8em;
  opacity: 0.3;
  padding-left: 0.5em;
  transition: opacity 0.2s ease-in-out;
}

h1 a.headerlink:hover, h2 a.headerlink:hover, h3 a.headerlink:hover, h4 a.headerlink:hover, h5 a.headerlink:hover, h6 a.headerlink:hover {
  opacity: 1;
}

/* elements/blocks *****************************/
p, div,
dl, dd, dt,
details, summary {
  display: block;
  font-feature-settings: 'kern' 1, 'onum' 1, 'liga' 1;
}

dl {
  padding: var(--fitz-half);
  margin: var(--fitz-half);
  grid-gap: var(--fitz-half);
  grid-template-columns: auto 1fr;
}

dl dt {
  font-weight: 700;
  grid-column: 1 / 2;
  padding-right: var(--fitz-half);
}

dl dt::after {
  content: ':';
}

dl dd {
  grid-column: 2 / 3;
}

hr {
  border-top: 1px solid var(--link-color);
}

/* elements/lists *****************************/
ul, ol, li {
  margin-left: 1em;
}

ul {
  list-style: disc outside;
}

ol {
  list-style: decimal outside;
}

li {
  font-feature-settings: 'kern' 1, 'onum' 1, 'liga' 1;
}

/* elements/blockquotes *****************************/
blockquote {
  display: block;
  padding: var(--fitz-2);
}

blockquote > blockquote {
  font-style: italic;
}

blockquote p {
  position: relative;
  margin-bottom: 0;
  overflow: visible;
}

/* elements/code *****************************/
pre,
code,
kbd,
samp {
  padding: .1em .25em;
  font-family: var(--font-code);
  font-size: 1em;
  line-height: 1.5;
  font-weight: bold;
  border-radius: 0;
}

code {
  height: auto;
}

pre code {
  padding: 1em;
  display: block;
}

pre {
  display: block;
}

div.highlight {
  background: black;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: var(--fitz);
}

/* elements/a *****************************/
a {
  color: var(--link-color);
  text-decoration: none;
  background: none;
}

a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

/* elements/inline *****************************/
b,
strong {
  font-weight: inherit;
  font-weight: bolder;
}

em,
i {
  font-style: italic;
}

cite {
  font-style: italic;
}

mark {
  --bg: var(--link-color);
  background: var(--bg);
}

abbr[title] {
  border-bottom: 0;
  text-decoration: underline;
  text-decoration: underline dotted;
}

small {
  line-height: 1;
  font-size: 0.8em;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

/* elements/figure *****************************/
img {
  border-style: none;
  display: block;
}

figure {
  height: auto;
  display: block;
}

figure > img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

figure > figcaption {
  width: 100%;
}

/* elements/tables *****************************/
table {
  --border-color: var(--text-color);
  max-width: 100%;
}

th,
td {
  padding: calc( var(--fitz) / 2);
}

th {
  font-weight: 700;
  text-align: right;
}

.viewcode-link .pre {
  display: none;
}

.viewcode-link::after {
  content: "{}";
  font-family: "Fira Code", monospace;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
  padding: 0 0.2em;
}

/* elements/forms *****************************/
button,
input {
  font-family: var(--font-primary);
  font-size: 100%;
  line-height: 1.15;
  overflow: visible;
}

button {
  text-transform: none;
}

[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

[type="search"] {
  outline-offset: -2px;
}

[hidden] {
  display: none;
}

input[type=text] {
  --bg: var(--color-key-lighter);
  display: block;
  padding: .4em;
  outline: 0 none;
  border: 1px solid var(--color);
  text-align: left;
  color: var(--color);
  background: var(--bg);
  appearance: none;
  width: 100%;
  max-width: 100%;
}

input[type=text]:focus {
  color: var(--color);
}

input[type=text]::placeholder {
  --color: var(--color-key-dark);
}

input[type=search] {
  --bg: var(--color-key-lighter);
  display: block;
  padding: .4em;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  box-shadow: none;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  width: 100%;
}

input[type=search]:focus {
  border-color: var(--link-color);
  box-shadow: 0 0 0 3px var(--color-key-light);
  outline: none;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  --color: var(--color-key-dark);
}

.form-group {
  margin-bottom: 1rem;
}

input[type=submit] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border: 0 none;
  border-radius: .5em;
  color: var(--color-key-lighter);
  background: var(--color-key);
  padding: .5em;
  margin: .5em 0;
  text-decoration: none;
}

input[type=submit]:hover {
  background: var(--link-hover-color);
}

label {
  display: block;
  font-weight: bold;
  font-family: var(--font-primary);
  margin-bottom: 0.5rem;
  color: var(--color-key-lighter);
  background: var(--link-color);
}

input:invalid,
textarea:invalid,
select:invalid {
  background: var(--color-key-light);
  border-color: var(--color-danger);
}

input:valid {
  border-color: var(--color-success);
}

input:invalid {
  border-color: var(--color-danger);
}

button {
  border: 0 none;
  border-radius: .5em;
  color: var(--color-key-lighter);
  background: var(--color-key);
  padding: .5em;
  margin: .5em;
  text-decoration: none;
}

button:hover {
  background: var(--color-key-light);
  text-decoration: none;
}

button[type="submit"] {
  color: var(--color-key-lighter);
  background: var(--link-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--color-key-light);
}

/* elements/admonitions *****************************/
.admonition {
  border-left: 5px solid var(--text-color);
  background-color: var(--bg-alt-color);
  padding: var(--fitz);
  margin: var(--fitz-2) 0;
}

.admonition .admonition-title {
  color: var(--text-color);
  font-weight: bold;
}

.admonition p {
  margin: 0;
}

.admonition.todo {
  border-color: var(--color-danger);
}

.admonition.todo .admonition-title {
  color: var(--color-danger);
}

.admonition.note {
  border-color: var(--color-note);
}

.admonition.note .admonition-title {
  color: var(--color-note);
}

.admonition.warning, .admonition.attention, .admonition.caution, .admonition.important {
  border-color: var(--color-warning);
}

.admonition.warning .admonition-title, .admonition.attention .admonition-title, .admonition.caution .admonition-title, .admonition.important .admonition-title {
  color: var(--color-warning);
}

.admonition.danger, .admonition.error {
  border-color: var(--color-danger);
}

.admonition.danger .admonition-title, .admonition.error .admonition-title {
  color: var(--color-danger);
}

.admonition.hint, .admonition.tip {
  border-color: var(--color-success);
}

.admonition.hint .admonition-title, .admonition.tip .admonition-title {
  color: var(--color-success);
}

/* elements/api *****************************/
dl.py dt.sig {
  font-family: var(--font-code);
  font-size: 0;
}

dl.py dt.sig > * {
  font-size: 1rem;
}

dl.py dt.sig .sig-prename {
  display: none;
  color: var(--color-muted);
}

dl.py dt.sig .sig-name {
  font-weight: bold;
  color: var(--color-warning);
}

dl.py dt.sig .sig-param {
  display: block;
  margin-left: 2rem;
}

dl.py dt.sig .sig-param::after {
  content: ",";
}

dl.py dt.sig .sig-param:last-of-type::after {
  content: "";
}

dl.py em.property {
  color: var(--color-property);
  font-style: normal;
}

dl.py dd {
  padding: 1rem 1rem 1rem 2rem;
  margin-left: 0;
}

article {
  container-type: inline-size;
  container-name: article;
  padding: var(--fitz-2);
  margin: var(--fitz);
  display: flex;
  flex-flow: column nowrap;
}

article > * {
  padding: var(--fitz-2);
  margin: 0;
}

article nav.context {
  grid-area: context;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

article nav.context div {
  min-width: 4em;
}

article nav.context a {
  --offset: 1.2em;
}

article nav.context a.prev {
  justify-content: flex-start;
}

article nav.context a.prev::before {
  padding-top: .1em;
  font-family: var(--font-icon);
  content: "<";
  text-align: left;
}

article nav.context a.next {
  justify-content: flex-end;
  padding-left: var(--fitz);
  padding-right: var(--offset);
  text-align: right;
  border-right: 1px solid var(--border-color);
}

article nav.context a.next:hover {
  font-weight: bold;
  width: var(--offset);
  margin-right: calc(var(--offset) * -1);
  display: inline-block;
  text-align: right;
}

article nav.breadcrumbs {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}

article nav.breadcrumbs a {
  display: block;
}

article nav.breadcrumbs a::before {
  font-family: var(--font-icon);
  content: "^";
  padding: 0 .25em;
}

article > figure {
  overflow: hidden;
  display: flex;
  flex-flow: column nowrap;
  cursor: pointer;
}

article > figure > img {
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  object-position: center;
}

article > figure.modal {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
}

article > figure.modal > img {
  max-height: none;
}

article > header {
  grid-area: article-header;
  display: flex;
  flex-flow: column;
}

article > header > h1 {
  font-size: 1.4em;
  line-height: 1;
}

article > header > h2 {
  font-variant: normal;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .9em;
  letter-spacing: .1em;
  margin-top: var(--fitz-half);
}

article > header > h2 ~ h2 {
  margin-top: var(--fitz);
}

article > .content {
  grid-area: content;
}

article > .content > * + * {
  margin-top: var(--fitz);
}

article > .content p {
  margin-bottom: var(--fitz);
}

article > .content h1,
article > .content > h2,
article > .content > h3,
article > .content > h4,
article > .content > h5,
article > .content > h6 {
  margin-top: var(--fitz-2);
}

article > .content h1 {
  border-bottom: 1px solid var(--link-color);
  margin-bottom: var(--fitz-2);
}

article > .content > .summary {
  border-top: 1px solid var(--link-color);
  padding-top: var(--fitz-2);
  border-bottom: 1px solid var(--link-color);
  padding-bottom: var(--fitz-2);
  margin-bottom: var(--fitz-2);
  font-size: 1.1em;
}

article > .content > .summary ul,
article > .content > .summary li {
  margin: var(--fitz);
}

article > .content a {
  display: inline;
}

article > .content blockquote {
  padding: var(--fitz-2);
  margin-bottom: var(--fitz);
  background: #000;
  border: none;
  font-size: 1.2em;
}

article > .content blockquote > *:last-child {
  margin-bottom: 0;
}

article > .content blockquote > *:last-child > *:last-child {
  margin-bottom: 0;
}

article > .content blockquote > blockquote {
  font-style: italic;
  list-style-type: '~';
  padding-top: .5em;
  font-size: 1em;
}

article > .content blockquote > ul {
  font-style: italic;
  list-style-type: square;
  padding-top: .5em;
}

article > .content img {
  max-width: 100%;
}

article > footer {
  grid-area: article-footer;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

article > footer > aside ul, article > footer > aside li,
article > footer > nav ul,
article > footer > nav li {
  display: flex;
  flex-wrap: wrap;
}

article > footer > aside.article-categories a,
article > footer > nav.article-categories a {
  text-transform: uppercase;
}

article > footer > aside.article-tags a,
article > footer > nav.article-tags a {
  font-style: italic;
}

article > .gallery {
  grid-area: gallery;
  padding: var(--fitz);
}

article > .gallery > .panel {
  grid-area: panel;
  display: none;
  background-position: center;
  background-size: contain;
  width: 100%;
  height: 100%;
}

article > .gallery > .list {
  grid-area: list;
  display: flex;
  flex-flow: row wrap;
}

article > .gallery > .list > figure {
  flex-basis: 5em;
  padding: var(--fitz);
  overflow: hidden;
  height: 100%;
  min-height: 5em;
}

article > .gallery > .list > figure > img {
  height: 100%;
  min-height: 5em;
  object-fit: cover;
  object-position: center;
}

article > .gallery > .list > figure > figcaption {
  text-align: center;
}

article > .gallery.modal {
  position: fixed;
  z-index: 10;
  background: black;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-areas: " panel " " list ";
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 10em;
}

article > .gallery.modal > .panel {
  display: block;
}

article > .gallery.modal > .list {
  flex-wrap: nowrap;
}

article > .gallery.modal > .list > figure {
  flex-basis: auto;
}

article > .gallery.modal > .list > figure > img {
  width: 100%;
  object-fit: contain;
}

@container article (min-width: 60em) {
  article {
    flex-flow: row wrap;
  }
  article > .content {
    flex: 1 1 calc(100% - var(--col));
    order: 1;
  }
  article > figure {
    flex: 1 1 var(--col);
    order: 2;
  }
  article > .gallery {
    flex: 1 1 var(--col);
    order: 4;
  }
  article > footer {
    order: 5;
    flex-flow: column nowrap;
    justify-content: flex-start;
  }
}

@container article (min-width: 80em) {
  article > .content {
    flex: 1 1 calc(100% - var(--col-2));
  }
}

/* article {

  @media (min-width: 96em) {
    flex-flow: row wrap;

    > .content {
      flex: 1 1 calc(100% - var(--col));
      order: 1;
    }

    > figure {
      flex: 1 1 var(--col);
      order: 2;
    }

    > .gallery {
      flex: 1 1 var(--col);
      order: 4;
    }

    > footer {
      flex: 1 1 var(--col);
      order: 5;
      flex-flow: column nowrap;
      justify-content: flex-start;
    }
  }

  @media (min-width: 108em) {
    > .content {
      flex: 1 1 calc(100% - var(--col-2));
    }

    > figure, > .gallery, > footer {
      flex: 0 0 var(--col-2);
    }
  }
}
*/
article.excerpt {
  padding: var(--fitz);
  margin: var(--fitz-half) 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-flow: column nowrap;
}

article.excerpt > .content {
  display: flex;
  flex-flow: row-reverse nowrap;
  align-items: flex-start;
  gap: var(--fitz);
  margin-bottom: var(--fitz-half);
}

article.excerpt > .content > figure {
  flex: 0 0 8em;
  max-width: 8em;
  height: 6em;
  overflow: hidden;
  margin: 0;
}

article.excerpt > .content > figure a {
  display: block;
  width: 100%;
  height: 100%;
}

article.excerpt > .content > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

article.excerpt > .content > section {
  flex: 1;
}

article.excerpt > .content > section h2 {
  font-size: 1.1em;
  line-height: 1.2;
  margin: 0;
}

article.excerpt > .content > section blockquote {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.4;
  font-weight: normal;
  border: none;
}

article.excerpt > footer {
  display: flex;
  justify-content: flex-end;
}

article.excerpt > footer .meta {
  font-size: 0.7em;
  gap: 0.5em;
}

article.excerpt .article-share {
  display: none;
}

article.excerpt .more {
  align-self: flex-end;
}

.collection {
  font-size: .9em;
  display: grid;
  gap: var(--fitz);
  grid-template-columns: repeat(auto-fit, minmax(24em, 1fr));
}

.collection.layout-cards {
  grid-template-columns: repeat(auto-fit, minmax(16em, 1fr));
}

.collection.layout-cards > article.excerpt .content {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.collection.layout-cards > article.excerpt .content figure {
  margin: 0 auto;
  width: 14em;
  height: 14em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection.layout-cards > article.excerpt .content figure a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.collection.layout-cards > article.excerpt .content figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.collection.layout-cards > article.excerpt .content section {
  width: 100%;
  text-align: center;
}

.collection.layout-cards > article.excerpt footer {
  text-align: center;
}

.collection.layout-banners {
  grid-template-columns: 1fr;
}

.collection.layout-list {
  grid-template-columns: 1fr;
  gap: 0;
}

.collection > * {
  background: var(--bg);
  padding: var(--fitz);
}

.collection > header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collection .collection-controls {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: var(--fitz);
}

.collection .collection-controls button {
  background: none;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
  padding: 0.25rem;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.collection .collection-controls button:hover, .collection .collection-controls button.active {
  background: var(--text-muted);
  color: var(--bg);
}

.collection .collection-controls button svg {
  display: block;
}

.collection > article.excerpt {
  container-type: inline-size;
  container-name: excerpt;
  display: flex;
  flex-direction: column;
  gap: var(--fitz);
  min-width: 0;
}

.collection > article.excerpt .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--fitz);
}

.collection > article.excerpt .content figure {
  width: 100%;
  margin: 0;
}

.collection > article.excerpt .content figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.collection > article.excerpt .content section h2 {
  margin-top: 0;
  font-size: 1.2em;
}

@container excerpt (min-width: 35em) {
  .collection > article.excerpt .content {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  .collection > article.excerpt .content figure {
    width: 10em;
    height: 10em;
    margin-right: var(--fitz);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .collection > article.excerpt .content figure a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  .collection > article.excerpt .content figure img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

.collection > article.excerpt footer {
  margin-top: auto;
  border-top: 1px solid var(--text-muted-alpha);
  padding-top: var(--fitz-2);
}

.collection.layout-list > article.excerpt {
  flex-direction: row;
  align-items: center;
  padding: var(--fitz-2);
  border-bottom: 1px solid var(--text-muted-alpha);
  gap: var(--fitz);
}

.collection.layout-list > article.excerpt .content {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

.collection.layout-list > article.excerpt .content figure {
  width: 5em;
  height: 5em;
  margin: 0;
  margin-right: var(--fitz);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection.layout-list > article.excerpt .content figure a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.collection.layout-list > article.excerpt .content figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.collection.layout-list > article.excerpt .content section {
  flex: 1;
  display: flex;
  align-items: center;
}

.collection.layout-list > article.excerpt .content section h2 {
  font-size: 1em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection.layout-list > article.excerpt .content section blockquote {
  display: none;
}

.collection.layout-list > article.excerpt footer {
  margin: 0;
  padding: 0;
  border: none;
  margin-left: var(--fitz);
  font-size: 0.8em;
  white-space: nowrap;
}

/* layout *****************************/
html {
  height: 100%;
  max-width: 100%;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-display);
  line-height: 1.5;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
  background-color: var(--bg-color);
  padding: var(--fitz-half);
}

body > header {
  grid-area: header;
  container-type: inline-size;
  container-name: header;
  display: flex;
  flex-flow: column nowrap;
  gap: var(--fitz);
  justify-content: center;
  align-items: center;
}

body > header .logo {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: var(--fitz-half);
  text-align: center;
}

body > header .org-repo {
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  gap: var(--fitz-half);
  justify-content: center;
}

@container header (min-width: 40em) {
  body > header {
    flex-flow: row nowrap;
    justify-content: space-between;
  }
  body > header .logo {
    flex-flow: row nowrap;
    text-align: left;
    gap: 1rem;
  }
}

body > header {
  display: flex;
  flex-flow: row wrap;
}

body > header > .logo {
  flex: 1;
}

body > header > .logo a {
  display: block;
  padding: var(--fitz);
}

body > header > .logo a img {
  height: 3em;
  margin: .5em auto;
}

body > header > .logo a h1 {
  font-size: 1.1em;
  letter-spacing: .1em;
  padding-left: .5em;
  text-align: center;
}

body > header > nav {
  order: 3;
  flex: 1 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

body > header > nav h1 {
  display: none;
}

body > header > nav label::after {
  width: 100%;
  text-align: center;
}

body > header > nav ul {
  flex-flow: row wrap;
}

body > header > nav a {
  letter-spacing: .1em;
  text-transform: uppercase;
  justify-content: center;
}

body > header > .motto {
  flex: 1;
  padding: var(--fitz);
}

body > header > .motto p {
  font-size: .8em;
  text-align: center;
}

body nav {
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
}

body nav label {
  align-self: stretch;
  cursor: pointer;
  display: flex;
  margin: 0;
  padding: var(--fitz);
  justify-content: flex-end;
  font-size: 0;
}

body nav label::after {
  display: block;
  text-align: right;
  font-size: 1rem;
  font-family: var(--font-icon);
  content: '≡';
}

body nav label:hover {
  background: var(--color-key-lighter);
}

body nav input {
  display: none;
}

body nav input:checked ~ label::after {
  content: 'x';
}

body nav input:checked ~ ul {
  display: block;
}

body nav ul {
  display: none;
  transform-origin: top;
  width: 100%;
  margin: 0;
  list-style: none;
}

body nav ul li {
  margin: 0;
  padding: 0;
}

body nav a {
  display: flex;
  --offset: 1em;
  padding: var(--fitz);
  flex-basis: 100%;
}

body nav a::before, body nav a::after {
  padding-top: .1em;
  content: ' ';
  display: inline-block;
  width: var(--offset);
  flex: 0 0 var(--offset);
  font-family: var(--font-icon);
  text-align: center;
}

body nav a[aria-selected="true"] {
  font-weight: 700;
}

body nav a[aria-selected="true"]::before {
  content: '>';
}

body nav a[aria-selected="true"]::after {
  content: '<';
}

body nav a[aria-current="true"] {
  font-weight: 700;
}

@media (min-width: 48em) {
  body nav label {
    display: none;
  }
  body nav input:checked ~ ul {
    display: block;
  }
  body nav ul {
    display: block;
  }
}

body > main {
  display: flex;
  flex-flow: column nowrap;
}

body > main > article {
  padding: var(--fitz-2);
}

body > footer {
  grid-area: footer;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 1em;
  border-top: 1px solid var(--border-color);
  margin-top: 1em;
  padding: 1em 0;
  text-align: center;
  font-size: 0.9em;
  color: var(--link-hover-color);
  text-decoration: none;
  border-color: var(--link-hover-color);
  padding: .5rem 1rem;
  /* padding inside the footer */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body > footer hr {
  display: none;
}

body > .asides {
  grid-area: asides;
}

body > .asides > aside {
  padding: var(--fitz);
  margin: var(--fitz);
}

body .wy-side-nav-search input[type=text] {
  width: 100%;
  border-radius: 0.25em;
  padding: 0.5em 0.75em;
  border: 1px solid var(--border-color);
  background: var(--bg-alt-color);
  color: var(--text-color);
  padding: 0.5em;
  border-radius: 4px;
  width: 100%;
  font-family: var(--font-primary);
}

body .wy-side-nav-search input[type=text]:focus {
  outline: none;
  border-bottom: 1px solid var(--border-color);
}

body .wy-side-nav-search .highlighted {
  border-top: 1px solid var(--border-color);
}

body .wy-side-nav-search .highlighted {
  background: var(--link-color);
  color: var(--bg-color);
  padding: 0.1em 0.2em;
}

body #search-results h2 {
  margin-bottom: 1em;
}

body #search-results .search li {
  margin-bottom: 1.5em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5em;
}

body #search-results .search li:first-child {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5em;
}

body #search-results .search li a {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  display: inline-block;
}

body #search-results .context {
  color: var(--text-color);
  font-size: 90%;
}

body #search-results .highlighted {
  background: var(--link-color);
  color: var(--bg-color);
  padding: 0.1em 0.2em;
}

@media (min-width: 48em) and (orientation: landscape) {
  body {
    display: grid;
    grid-template-areas: " header main " " asides main " " asides footer ";
    grid-template-columns: 16em 1fr;
    grid-template-rows: auto 1fr auto;
  }
  body > header {
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: flex-start;
  }
  body > header > nav {
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: flex-start;
  }
  body > .asides {
    flex-flow: column nowrap;
    align-items: stretch;
  }
}

@media (min-width: 72em) and (orientation: landscape) {
  body {
    grid-template-areas: " header main asides" " footer main asides";
    grid-template-columns: var(--col) 1fr var(--col);
  }
}
