html {
  font-size: 16px;
  line-height: 1.6em;
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

a {
  color: #004276;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

table th {
  text-align: left;
}

table thead {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

table thead th {
  padding-bottom: 0.5em;
}

table tbody :first-child td {
  padding-top: 0.5em;
}

pre {
  overflow: auto;
  width: 100%;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
  line-height: 1em;
}

sub {
  top: 0.4em;
}

.kicker,
.marker {
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.5);
}

/* Home page */

.home header, .home .header-spacer {
  display: none;
}

.home article {
  padding-top: 4rem;
}

.home article p:first-child::first-letter {
  float: left;
  font-size: 3em;
  line-height: 0.8;
  margin: 0.1em 0.1em 0 0;
  font-weight: bold;
  color: #c99323;
}

.home .book-title,
.home .book-author {
  font-weight: bold;
  color: #c99323;
}

.home  .review-quote {
  padding-left: 30px;
  position: relative;
  margin-bottom: 0.5rem;
}

.home  .review-quote::before {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: -1;
  font-size: 4rem;
  color: #c99323;
  content: '“';
}

.home .review-attribution {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  padding-left: 60px;
  margin-bottom: 2rem;
}

.home .review-attribution.last {
  margin-bottom: 0;
}

.hero {
  min-height: 100svh;
  align-items: center;
  position: relative;
  background: linear-gradient(to right, #000 45%, #fff 45%);
}

.hero-content {
  grid-column-start: page-start;
  grid-column-end: text-end;
  text-align: left;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  color: #c99323;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.1;
  margin: 0 0 2rem;
  text-transform: none;
  letter-spacing: 2px;
  white-space: nowrap;
}

.hero-title-top {
  position: relative;
}

.hero-edition,
.hero-publisher {
  color: #bdbec0;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 3rem;
  letter-spacing: 3px;
  display: block;
}

.hero-publisher {
  font-size: 1.5rem;
}

.hero-publisher img {
  height: 2rem;
  margin-right: 1rem;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 50vw;
  height: 100svh;
  width: 40vw;
  background-image: url('/images/cover-painting.2869ad9e.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  animation: fadeInUp 1s ease-out;
}

.hero-authors {
  color: #bdbec0;
  font-size: 1.75rem;
  line-height: 2.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  display: block;
}

.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}

.home-btn {
  color: #000;
  width: 200px;
  padding: 1rem 2.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.home-btn-primary {
  background: #e8b23c;
}

.home-btn-primary:hover {
  background: #e8bb5b;
}

.home-btn-secondary {
  background: #d5d5d5;
}

.home-btn-secondary:hover {
  background: #eee;
}

.hero-quote {
  top: 60svh;
  left: 60vw;
  position: absolute;
  max-width: 450px;
  animation: fadeInUp 1s ease-out;
}

.hero-quote-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 0;
  border-left: 3px solid #c99323;
  padding-left: 1.5rem;
  position: relative;
}

.hero-quote-card::before {
  display: none;
}

.hero-quote-text {
  font-size: 1.5rem;
  line-height: 1.5;
  color: #555;
  font-style: normal;
  margin-bottom: 0.5rem;
}

.hero-quote-author {
  color: #c99323;
  font-weight: 500;
  font-size: 1.3rem;
  text-align: left;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-indicator a {
  display: block;
  text-decoration: none;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
}

.hero-scroll-indicator a:hover {
  animation: bounce 0.8s;
}

.hero-scroll-indicator svg {
  width: 100px;
  height: 100px;
  fill: #888;
}

@media(max-width: 1024px) {
  .hero-image {
    left: 40vw;
    width: 60vw;
  }
}

@media(max-width: 768px) {
  .hero-quote {
    display: none;
  }
}

@media(max-width: 680px) {
  .hero-title {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .hero-authors {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .hero-edition {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .hero-publisher {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero-publisher img {
    height: 1.25rem;
    margin-right: .5rem;
  }

  .hero {
    background: linear-gradient(to right, #000 60%, #fff 60%);
  }

  .hero-image {
    display: none;
  }

  .home-btn {
    font-size: 1.25rem;
  }

  .hero-cta-buttons {
    margin-top: 3rem;
    align-items: center;
  }

  .hero-scroll-indicator {
    bottom: 1rem;
  }
}

/* Headline */

@media(min-width: 1024px) {
  .title h1 span {
    display: block;
  }
}

/* Figure */

figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1em 0;
}

figure img {
  display: block;
  max-width: 100%;
  max-height: 500px;
  width: auto;
  height: auto;
}

figcaption {
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  line-height: 1.5em;
  text-align: left;
  max-width: 100%;
  margin-top: 1em;
}

@media(min-width: 1024px) {
  figcaption {
      font-size: 13px;
  }
}

figure.external img {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  padding: 18px;
  box-sizing: border-box;
}

article figcaption a {
  color: rgba(0, 0, 0, 0.6);
  font-weight: bold;
  border-bottom: unset;
}

figcaption b,
figcaption strong {
  font-weight: 600;
  color: rgba(0, 0, 0, 1.0);
}

/* Layout. */

@supports not (display: grid) {
  .base-grid,
  .hero,
  header,
  .title,
  article,
  .appendix,
  .byline,
  .chapter-nav,
  .footnote-list,
  .citation-list,
  footer {
    display: block;
    padding: 8px;
  }
}

.base-grid,
.hero,
header,
.title,
article,
.appendix,
.byline,
  .chapter-nav,
.footnote-list,
.citation-list,
footer {
  display: grid;
  justify-items: stretch;
  grid-template-columns: [screen-start] 8px [page-start kicker-start text-start gutter-start middle-start] 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr [text-end page-end gutter-end kicker-end middle-end] 8px [screen-end];
  grid-column-gap: 8px;
}

.grid {
  display: grid;
  grid-column-gap: 8px;
}

@media(min-width: 768px) {
  .base-grid,
  .hero,
  header,
  .title,
  article,
  .appendix,
  .byline,
  .chapter-nav,
  .footnote-list,
  .citation-list,
  footer {
    grid-template-columns: [screen-start] 1fr [page-start kicker-start text-start gutter-start middle-start] 60px 60px 60px 60px 60px 60px 60px 60px [text-end page-end gutter-end kicker-end middle-end] 1fr [screen-end];
    grid-column-gap: 32px;
  }

  .grid {
    grid-column-gap: 32px;
  }
}


@media(min-width: 1180px) {
  .base-grid,
  .hero,
  header,
  .title,
  article,
  .appendix,
  .byline,
  .chapter-nav,
  .footnote-list,
  .citation-list,
  footer {
    grid-template-columns: [screen-start] 1fr [page-start kicker-start] 60px [middle-start] 60px [text-start kicker-end] 60px 60px 60px 60px 60px 60px 60px 60px [text-end gutter-start] 60px [middle-end] 60px [page-end gutter-end] 1fr [screen-end];
    grid-column-gap: 32px;
  }

  .grid {
    grid-column-gap: 32px;
  }
}

.base-grid {
  grid-column: screen;
}

.l-gutter {
  grid-column: gutter;
}

.l-text,
.l-body {
  grid-column: text;
}

.l-page {
  grid-column: page;
}

.l-body-outset {
  grid-column: middle;
}

.l-page-outset {
  grid-column: page;
}

.l-screen {
  grid-column: screen;
}

.l-screen-inset {
  grid-column: screen;
  padding-left: 16px;
  padding-left: 16px;
}

/* Title. */

.title {
  padding: 2rem 0 1.5rem;
  contain: layout style;
  overflow-x: hidden;
}

@media(min-width: 768px) {
  .title {
    padding: 4rem 0 1.5rem;
  }
}

.title h1 {
  grid-column: text;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1em;
  margin: 0 0 0.5rem;
}

.title .chapter-name {
  color: #c99323;
  grid-column: text;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

@media(min-width: 768px) {
  .title h1 {
    font-size: 50px;
  }
}

.chapter-nav {
  position: sticky;
  transition: bottom 0.3s ease;
  bottom: 0px;
  contain: style;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  height: 59px;
  background-color: white;
}

.chapter-nav.hidden {
  bottom: -60px;
}

.chapter-nav .chapter-nav-grid {
  display: flex;
  justify-content: space-between;
  grid-column: text;
}

.chapter-nav a {
    color: black;
    text-decoration: none;
}

.chapter-nav a:hover {
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.chapter-nav .next {
  margin-left: auto;
}

/* Byline. */

.byline {
  font-family: "Inter", sans-serif;
  contain: style;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.8rem;
  line-height: 1.8em;
  padding: 1.5rem 0;
  min-height: 1.8em;
}

.byline .inline-icon {
  display: inline-block;
  vertical-align: text-bottom;
  height: 1rem;
  margin-right: 4px;
}

.byline .byline-grid {
  grid-template-columns: 1fr 1fr;
  grid-column: text;
}

@media(min-width: 768px) {
  .byline .byline-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.byline .authors-affiliations {
  grid-column-end: span 2;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1em;
}

@media(min-width: 768px) {
  .byline .authors-affiliations {
    margin-bottom: 0;
  }
}

.byline h3 {
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
  text-transform: uppercase;
}

.byline p {
  margin: 0;
}

.byline a {
  color: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.byline a:hover {
  color: rgba(0, 0, 0, 1.0);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

/* Article. */
article {
  font-optical-sizing: auto;
  contain: layout style;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: rgba(0, 0, 0, 0.8);
}

figcaption a {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

article > * {
  grid-column: text;
}

article pre {
  font-size: 12px;
  margin-bottom: 20px;
}

@media(min-width: 768px) {
  article p, article li {
    /* Justify text on large screens for a cleaner look. */
    text-align: justify;
  }
}

@media(min-width: 1024px) {
  article {
    font-size: 1.06rem;
    line-height: 1.7em;
  }
}

article h2 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25em;
  margin: 2rem 0 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1rem;
}

@media(min-width: 1024px) {
  article h2 {
    font-size: 32px;
  }
}

article h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4em;
  margin-bottom: 1em;
  margin-top: 1em;
}

@media(min-width: 1024px) {
  article h3 {
    font-size: 24px;
  }
}

article h4 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4em;
}

article h5 {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4em;
}

article h4 code {
  text-transform: none;
}

article a {
  color: inherit;
}

article p,
article ul,
article ol,
article blockquote {
  margin-top: 0;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}

article blockquote {
  border-left: 2px solid rgba(0, 0, 0, 0.2);
  padding-left: 2em;
  font-style: italic;
  color: rgba(0, 0, 0, 0.6);
}

article blockquote p:last-child {
  margin-bottom: 0;
}

article a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

article a:hover {
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

article .link {
  text-decoration: underline;
  cursor: pointer;
}

article ul,
article ol {
  padding-left: 24px;
}

article li {
  margin-bottom: 1em;
  margin-left: 0;
  padding-left: 0;
}

article li:last-child {
  margin-bottom: 0;
}

article hr {
  grid-column: screen;
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 60px;
  margin-bottom: 60px;
}

article section {
  margin-top: 60px;
  margin-bottom: 60px;
}

article span.equation-mimic {
  font-family: georgia;
  font-size: 115%;
  font-style: italic;
}

article .citation {
  color: #668;
  cursor: pointer;
}

article .table-figure {
  overflow: auto;
}

article .table-figure table {
  align-self: start;
}

article table {
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

article table th {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

article table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

article table tr:last-of-type td {
  border-bottom: none;
}

article table th,
article table td {
  font-size: 15px;
  padding: 2px 8px;
}

article table tbody :first-child td {
  padding-top: 2px;
}

@media print {
  @page {
    font-size: 10pt;
    margin: 1cm;
  }

  .contents {
    display: none;
  }

  article .extra-small-image img {
    max-height: 2in;
  }

  article .small-image img {
    max-height: 3in;
  }

  article .large-image img {
    max-height: 4in;
  }

  header, footer {
    display: none;
  }

  aside {
    background-color: #e6eaf5;
  }

  pre[class*="language-"] {
    background-color: #f8f6f5;
  }

  aside, figure, p, code {
    page-break-inside: avoid;
  }

  pre, aside {
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }

  h2, h3 {
    page-break-after: avoid;
  }

  code[class*="language-"],
  pre[class*="language-"] {
    text-shadow: none;
  }
}

.title h1 {
  font-size: 32px;
}

@media(min-width: 768px) {
  .title h1 {
    font-size: 40px;
  }
}

article .extra-small-image {
  grid-column: text;
}

article .small-image {
  grid-column: text;
}

article .large-image {
  grid-column: text;
}

article .extra-large-image {
  grid-column: text;
}

article .extra-small-image img {
  max-height: 300px;
}

article .small-image img {
  max-height: 400px;
}

article .large-image img {
  max-height: none;
}

article .extra-large-image img {
  max-height: none;
}

article li {
  margin-bottom: 0.5em;
}

article li ul {
  margin-top: 0.5em;
}

article aside {
  margin-bottom: 1em;
  margin-top: 1em;
  padding: 1em;
  background-color: hsl(230deg, 68%, 98%);
  border-top: 1px solid hsla(0, 0%, 0%, 0.1);
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
}

article aside .note-title {
  font-weight: 700;
}

article aside > *:last-child {
  margin-bottom: 0;
}

article .footnote-link {
  color: hsla(206, 90%, 20%, 0.7);
  white-space: nowrap;
  font-size: 75%;
  display: inline-block;
  line-height: 1.1em;
  text-align: center;
  position: relative;
  top: -2px;
  margin: 0 2px;
}

article .footnote-link a {
  border-bottom-style: none;
}

/* Code. */

@font-face {
  font-family: "DejaVu Sans Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("DejaVuSansMono.0da77d37.woff") format("woff");
}

@font-face {
  font-family: "Ubuntu Sans Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("UbuntuSansMono.70f47694.woff2") format("woff2");
}

code {
  color: #905;
}

code[class*="language-"] {
  font-family: "Ubuntu Sans Mono", Menlo, consolas, "Courier New", monospace;
  display: inline-block;
  font-size: 12px;
  color: black;
  background: none;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;

  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
}

pre code[class="language-output"] {
  color: rgba(0, 0, 0, 0.8);
  font-family: "DejaVu Sans Mono", Menlo, consolas, "Courier New", monospace;
  font-size: 11px;
  line-height: 1.16;
  margin-bottom: 14px;
}

pre code[class="language-output"]:last-child {
  margin-bottom: 0px;
}

@media(min-width: 768px) {
  pre code[class*="language-"] {
    font-size: 15px;
  }

  pre code[class="language-output"] {
    font-size: 14px;
  }
}

pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
  text-shadow: none;
  background: #b3d4fc;
}

pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
  text-shadow: none;
  background: #b3d4fc;
}

pre[class*="language-"] {
  padding: 1em;
  margin: 0;
  overflow: auto;
  box-sizing: border-box;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
  border-top: 1px solid hsla(0, 0%, 0%, 0.1);
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
  background: #f8f6f5;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
  padding: .1em;
  border-radius: .3em;
  white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: slategray;
}

.token.punctuation {
  color: #999;
}

.token.namespace {
  opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #905;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #690;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #9a6e3a;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #07a;
}

.token.function,
.token.class-name {
  color: #DD4A68;
}

.token.regex,
.token.important,
.token.variable {
  color: #e90;
}

.token.important,
.token.bold {
  font-weight: bold;
}
.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

/* Table of contents. */

.contents {
  position: sticky;
  top: 80px;
  z-index: 2;
  display: none;
  grid-row: auto / span 20;
  grid-column-start: 1;
  grid-column-end: 4;
  align-self: start;
  justify-self: end;
  padding-right: 2em;
  padding-left: 2em;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  width: 250px;
}

@media (min-width: 1180px) {
  .contents {
    display: block;
  }
}

.contents h3 {
  margin-top: 0;
  margin-bottom: 1em;
}

.contents a {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
  border-bottom: none;
  text-decoration: none;
}

.contents li.active::marker {
  content: "▸ ";
}

.contents ul {
  padding-left: 0;
}

.contents li {
  text-align: left;
  line-height: 1.5;
  list-style-type: none;
}

/* Appendix. */

.appendix {
  contain: layout style;
  font-size: 0.8em;
  line-height: 1.7em;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0,0,0,0.5);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.appendix h3 {
  grid-column: page-start / text-start;
  font-size: 15px;
  font-weight: 500;
  margin-top: 1em;
  margin-bottom: 0;
  color: rgba(0,0,0,0.65);
}

.appendix h3 + * {
  margin-top: 1em;
}

.appendix ol {
  padding: 0 0 0 15px;
}

@media (min-width: 768px) {
  .appendix ol {
    padding: 0 0 0 30px;
    margin-left: -30px;
  }
}

.appendix li {
  margin-bottom: 1em;
}

.appendix a {
  color: rgba(0, 0, 0, 0.6);
}

.appendix > * {
  grid-column: text;
}

.appendix > .footnote-list {
  grid-column: screen;
}

.footnote-list {
  contain: layout style;
}

.footnote-list > * {
  grid-column: text;
}

.footnote-list a.footnote-backlink {
  color: rgba(0, 0, 0, 0.3);
  padding-left: 0.5em;
  text-decoration: none;
}

/* Chapters. */

.chapters article {
  padding-top: 0;
  padding-bottom: 1em;
}

.posts-list .description h2 {
  font-weight: 700;
}

.posts-list .post-preview:first-of-type {
  padding-top: 0px;
}

.posts-list .post-preview {
  text-decoration: none;
  overflow: hidden;
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 156px;
}

.post-preview a {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
}

.post-preview a:hover {
  border-bottom: none;
}

.posts-list .post-preview h2 {
  margin: 0 0 6px 0;
  line-height: 1.2em;
  font-style: normal;
  font-size: 24px;
  border-bottom: none;
}

.posts-list .post-preview p {
  margin: 0 0 12px 0;
  line-height: 1.4em;
  font-size: 16px;
}

.posts-list .post-preview .description {
  padding-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  width: 65%;
  margin-top: 8px;
}

.posts-list .post-preview .thumbnail {
  width: 25%;
  box-sizing: border-box;
  position: relative;
}

.posts-list .post-preview img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.posts-list .chapter-name {
  color: #c99323;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4em;
  margin-bottom: 18px;
}

@media(min-width: 768px) {
  .posts-list .post-preview {
    min-height: 162px;
  }

  .posts-list .post-preview h2 {
    font-size: 26px;
  }
}

/* Header. */

header, .header-spacer {
  height: 60px;
  font-family: "Inter", sans-serif;
}

header {
  position: fixed;
  top: 0;
  transform: translateY(0);
  transition: transform 0.3s ease;
  background-color: #000;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
  color: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

header.hidden {
  transform: translateY(-100%);
}

header .logo {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 16px;
  color: #c99323;
}

header .logo:hover {
  color: #c49944;
}

header .content {
  grid-column: page;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  font-size: 16px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
}

header a:hover {
  color: rgba(255, 255, 255, 1);
}

header .purchase {
  display: none;
}

header .nav {
  float: right;
  font-weight: 300;
  text-transform: uppercase;
}

header .nav a {
  font-size: 13px;
  margin-left: 4px;
}

@media(min-width: 420px) {
  header .nav a {
    margin-left: 6px;
  }
}

@media(min-width: 768px) {
  header .nav a {
    margin-left: 28px;
  }

  header .logo {
    font-size: 22px;
  }

  header .purchase {
    display: inline;
  }
}

/* Footer. */

footer {
  font-family: "Inter", sans-serif;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #000;
  text-align: left;
  contain: content;
}

footer .footer-container .logo svg {
  width: 24px;
  position: relative;
  top: 4px;
  margin-right: 2px;
}

footer .footer-container .logo svg path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 3px;
}

footer .footer-container .logo {
  font-size: 17px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-right: 6px;
}

footer .footer-container {
  grid-column: text;
}

footer .footer-container .nav {
  font-size: 0.9em;
  margin-top: 1.5em;
}

footer .footer-container .nav a {
  color: rgba(255, 255, 255, 0.8);
  margin-right: 6px;
  text-decoration: none;
  white-space: nowrap;
}

footer .footer-container .nav a:last-of-type {
  margin-right: 1em;
}

footer .isbn {
  white-space: nowrap;
}
