@import url("https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&display=swap");
font-face {
  font-family: "PT-Serif";
  src: local("PT-Serif"), url("/font/PT-Serif/pt-serif_regular.woff2");
}

code {
  display: inline-block;
  font-family: "Cousine", monospace;
  font-size: .95rem;
  background-color: #f0ebe3;
  border: 1px solid #dfd7ca;
  border-radius: 0.3rem;
  padding: 0 .2rem;
}

code.pre {
  white-space: pre-wrap;
}

figure {
  margin: 1rem auto 1rem auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

figure figcaption {
  font-weight: 600;
  font-size: .85rem;
  text-align: center;
  padding: .25rem;
  color: #6f6448;
}

figure figcaption p.small {
  font-weight: 400;
  text-align: start;
}

figure.text text {
  font-size: .95rem;
}

figure.text text h1 {
  font-size: 1.4rem;
}

figure.norm {
  width: clamp(320px, 88%, 94vw);
}

figure.advise {
  width: clamp(320px, 88%, 94vw);
  padding: .5rem 1rem;
  background-color: #dbebd8;
  border: 2px solid #bdf4aa;
  border-radius: .3rem;
}

figure.warning {
  width: clamp(320px, 88%, 94vw);
  padding: .5rem 1rem;
  background-color: #fbf3db;
  border: 2px solid #f4e2aa;
  border-radius: .3rem;
}

figure.danger {
  width: clamp(320px, 88%, 94vw);
  padding: .5rem 1rem;
  background-color: #fbe0db;
  border: 2px solid #f4b6aa;
  border-radius: .3rem;
}

figure.note {
  width: clamp(320px, 88%, 94vw);
  padding: .5rem 1rem;
  background-color: #e6f0f0;
  border: 2px solid #b3d5ec;
  border-radius: .3rem;
}

figure.note text {
  font-size: .8rem;
}

figure.poem {
  width: clamp(320px, 88%, 94vw);
  padding: .5rem 1rem;
}

figure.poem text {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

figure.poem text p.date {
  font-size: .85rem;
}

figure.poem text stanza {
  display: block;
  margin-bottom: 1rem;
}

figure.quote {
  width: clamp(320px, 88%, 94vw);
  padding: .5rem 1rem;
  background-color: #fdfcfb;
  border-radius: 0.3rem;
}

figure.quote.epigraph {
  background-color: transparent;
  width: 60%;
  margin-right: 0;
}

figure.quote blockquote {
  margin: 0;
}

figure.quote blockquote .text-quote {
  font-family: "Noto Serif", serif;
  font-size: .9rem;
}

figure.quote blockquote .author {
  text-align: end;
  font-size: .9rem;
}

figure.quote figcaption {
  margin-top: -.2rem;
}

figure.quote figcaption p {
  padding: 0;
}

figure.pre pre {
  display: block;
  width: clamp(320px, calc(88% - .8rem), 94vw);
  padding: .5rem .4rem;
  margin: 0 auto 0 auto;
  font-family: "Cousine", monospace;
  font-size: .95rem;
  white-space: pre-wrap;
  background-color: #f0ebe3;
  border: 1px solid #dfd7ca;
  border-radius: 0.3rem;
}

figure.code code {
  width: clamp(320px, calc(88% - .8rem), 94vw);
  padding: .5rem .4rem;
  margin: 0 auto 0 auto;
  font-family: "Cousine", monospace;
  font-size: .95rem;
  background-color: #f0ebe3;
  border: 1px solid #dfd7ca;
  border-radius: 0.3rem;
  white-space: pre-wrap;
}

figure.formula .asc,
figure.formula .tex {
  margin-left: auto;
  margin-right: auto;
}

figure.media {
  width: 100%;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  padding: 1rem;
  border-radius: 0.3rem;
  background-color: #fdfcfb;
}

figure.img img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 55vh;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

figure.img figcaption {
  padding-bottom: 0;
}

figure.audio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-column-gap: 1rem;
          column-gap: 1rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 .5rem;
  margin: 0;
  border-radius: 0.3rem;
  background-color: #fdfcfb;
}

figure.audio figcaption p {
  padding: 0;
}

figure.frame iframe {
  width: 980px;
  height: 551px;
  max-width: 100%;
  max-height: -webkit-fit-content;
  max-height: -moz-fit-content;
  max-height: fit-content;
}
