@font-face {
  font-family: "Century Schoolbook";
  src: url("/assets/fonts/century-schoolbook-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Century Schoolbook";
  src: url("/assets/fonts/century-schoolbook-bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Century Schoolbook";
  src: url("/assets/fonts/century-schoolbook-italic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Century Schoolbook";
  src: url("/assets/fonts/century-schoolbook-bolditalic.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #222;
  --paper: #fdfcf8;
  --rule: #ccc4b0;
  --accent: #7a3b2e;
  --body-size: 21px;
  --title-size: 48px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  font-family: "Century Schoolbook", Georgia, serif;
  font-size: var(--body-size);
  line-height: 1.5;
  color: var(--ink);
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

a {
  color: var(--accent);
}

.page-title {
  font-weight: normal;
  font-size: var(--title-size);
  margin: 0 0 0.25em;
}

.recipe-body h1 {
  font-weight: normal;
  font-size: var(--title-size);
  margin: 1.1em 0 0.25em;
}

.section-title {
  margin-top: 1.5em;
}

/* Matches the breadcrumb-to-title gap on recipe pages (.breadcrumb's
   margin-bottom + .recipe-body h1's margin-top = 1.5em total). */
.breadcrumb + .page-title {
  margin-top: 1.1em;
}

.breadcrumb {
  font-size: 17px;
  margin-top: 0;
  margin-bottom: 0.4em;
  overflow: hidden;
}

.breadcrumb a {
  font-size: inherit;
}

.site-header {
  text-align: center;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
}

.site-header a,
.plain-link {
  text-decoration: none;
  color: var(--ink);
}

.site-header .site-title {
  font-size: var(--title-size);
  display: block;
}

.download-pdf {
  float: right;
}

.recipe-body h2 {
  font-weight: bold;
  font-size: var(--body-size);
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}

.recipe-body ul,
.recipe-body ol {
  padding-left: 1.4em;
}

.recipe-body li {
  margin-bottom: 0.35em;
}

.link-list {
  list-style: none;
  padding: 0;
}

.link-list li {
  margin-bottom: 0.6em;
}

.recipe-list {
  list-style: none;
  padding: 0;
}

.recipe-list li {
  padding: 0.4em 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}
