@charset "UTF-8";
:root {
  --background-colour: hsl(44, 87%, 95%);
  --background-colour-2: hsl(44, 87%, 98%);
  --target-background-colour: hsl(44, 87%, 98%);
  --text-colour: hsl(192, 31%, 15%);
  --text-colour-knocked-1: hsl(192, 31%, 20%);
  --text-colour-knocked-2: hsl(192, 31%, 25%);
  --accent-colour: hsl(345, 86%, 22%);
  --rule-colour: hsla(345, 86%, 22%, 0.5);
  --light-background-colour: var(--background-colour);
  --rhythm: 24px;
  --body-font-stack: "Alegreya Sans", sans-serif;
  --header-font-stack: "Scope One", sans-serif;
  font-size: 21px;
  line-height: 1.333;
  font-family: var(--body-font-stack);
  font-weight: 400;
  text-rendering: geometricPrecision;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-colour: hsl(192, 100%, 6%);
    --background-colour-2: hsl(192, 100%, 10%);
    --target-background-colour: hsl(192, 100%, 12%);
    --text-colour: hsl(194, 14%, 80%);
    --text-colour-knocked-1: hsl(194, 14%, 70%);
    --text-colour-knocked-2: hsl(194, 14%, 62%);
    --accent-colour: hsl(1, 71%, 52%);
    --rule-colour: hsla(1, 71%, 52%, 0.5);
    --light-background-colour: var(--text-colour);
  }
}
body {
  background-color: var(--background-colour);
  color: var(--text-colour);
}

h1,
h2,
h3,
h4,
h5,
h6,
header,
.subtitle {
  font-family: var(--header-font-stack);
  font-weight: 400;
  text-wrap: balance;
  font-variant-numeric: lining-nums;
}

h1.logo {
  font-family: Alegreya, serif;
  font-weight: 900;
  text-align: center;
  font-size: 2.75em;
  line-height: 1;
  margin: 0 0 1.5rem 0;
}
@media (min-width: 55rem) {
  h1.logo {
    margin: 0;
  }
}
h1.logo a {
  text-decoration: none;
}

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

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

a:hover {
  color: var(--text-colour);
}

strong {
  font-weight: 500;
}

table {
  border-collapse: collapse;
  margin: 1.25rem 0;
  width: 100%;
}
table thead {
  border-bottom: 1px solid var(--rule-colour);
}
table thead th {
  font-weight: 400;
  font-style: italic;
}
table th, table td {
  padding: 0.5rem 0.25rem 0.5rem 0.25rem;
}
table td {
  vertical-align: top;
}

ol, ul {
  padding-left: 2.5rem;
}

ul.section-toc {
  margin-top: 0;
  padding-left: 0;
  text-align: center;
}
:is(h3, h4):has(+ ul.section-toc) {
  margin-bottom: 0;
}
ul.section-toc li {
  display: inline;
  margin-right: 0.5em;
  padding: 0;
  font-style: italic;
  color: var(--text-colour-knocked-1);
}
ul.section-toc li::after {
  content: " • ";
  padding-left: 0.5em;
  font-weight: 700;
}
ul.section-toc li:last-child::after {
  content: "";
}

blockquote {
  font-style: italic;
  color: var(--text-colour-knocked-1);
  margin: 0 1rem 0.75rem 2rem;
  padding: 0 0 0 0.5rem;
  border-left: 1px solid var(--rule-colour);
}
blockquote.poetry {
  white-space: pre-wrap;
}
blockquote em, blockquote i, blockquote cite, blockquote pre, blockquote code {
  font-style: normal;
}

h2 {
  font-size: 1.75rem;
  font-style: normal;
  line-height: 1.1;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

h2.post-title {
  font-size: clamp(1.5rem, 10cqi, 2.25rem);
  font-style: normal;
}

h2.link-title {
  padding-left: 2ch;
  text-indent: -2ch;
}

h2 .rating {
  margin-left: 0.5rem;
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

.post-meta:has(+ h3.series) {
  margin-bottom: 0;
}

h3.series {
  margin: 1em 0 2rem 0;
  color: var(--text-colour-knocked-2);
  font-family: var(--body-font-stack);
  font-size: 0.825em;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}
h3.series a {
  font-weight: 500;
}

h3.series + h2 {
  margin-top: 0;
}

h3.scene-heading {
  font-family: var(--body-font-stack);
  font-weight: 300;
  font-variant-caps: all-small-caps;
  letter-spacing: 2px;
}

pre, code {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  font-weight: normal;
  font-size: 0.8rem;
}

pre {
  overflow-x: scroll;
}

.post-meta {
  font-size: 0.825em;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-variant-numeric: lining-nums;
  color: var(--text-colour-knocked-2);
}

.subtitle {
  font-size: clamp(1rem, 7cqi, 1.33rem);
  margin-top: 0;
  color: var(--text-colour-knocked-2);
  font-weight: normal;
}

.newsletter .subtitle {
  font-size: 1.1rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 1.2rem;
}

h1 code,
h2 code,
h3 code,
h4 code {
  font-style: normal;
  padding: 0 0.1em;
}

p,
li,
blockquote,
dd {
  hanging-punctuation: first allow-end last;
  text-wrap: pretty;
}

dl dt {
  padding-top: 0.75rem;
  font-style: italic;
}
dl dt:first-child {
  padding-top: 0;
}
dl dd {
  padding-top: 0.375rem;
  padding-left: 1.5rem;
}

blockquote > p:last-child {
  padding-bottom: 0;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.lining-nums {
  font-variant-numeric: lining-nums;
}

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

sub {
  top: 0.4em;
}

a.footnote {
  padding: 0 0.25em 0 0.25em;
}

.featured-image img,
figure img,
figure svg {
  width: auto;
  max-width: 100%;
}

figure {
  margin: 1.25rem 0;
  text-align: center;
}
figure img {
  margin: 0 auto;
}
figure img.half {
  width: 50%;
}

figure.highlight {
  text-align: left;
}

figcaption {
  text-align: center;
  font-size: 0.9em;
  font-style: italic;
  color: var(--text-colour-knocked-2);
  margin-bottom: 1rem;
}
figcaption a:link,
figcaption a:visited {
  color: var(--text-colour-knocked-2);
}
figcaption i, figcaption em, figcaption cite {
  font-style: normal;
}

abbr[title] {
  position: relative;
  text-decoration: underline dotted;
}

abbr[title]:focus::after {
  content: attr(title);
  position: absolute;
  left: 0;
  bottom: -30px;
  width: auto;
  white-space: nowrap;
  background-color: #1e1e1e;
  color: #fff;
  border-radius: 3px;
  box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.4);
  font-size: 14px;
  padding: 3px 5px;
}

.block-anchor {
  margin-left: 1ch;
  opacity: 0;
  transition: opacity 0.3s ease-in;
  font-size: 0.9rem;
}

.post :target, .post .target {
  background-color: var(--target-background-colour);
  outline: none;
}

input {
  background: transparent;
  border: 1px solid var(--accent-colour);
  font: 18px/1.3 var(--body-font-stack);
  padding: 0.25rem;
}

input[type=text],
input[type=email],
input[type=search] {
  color: var(--text-colour);
  margin: 0.5rem 0;
}

input[type=submit],
button {
  color: var(--accent-colour);
  cursor: pointer;
}

.normal-measure {
  max-width: 40rem;
}

hr {
  width: 66%;
  border: 1px solid var(--rule-colour);
  border-width: 1px 0 0 0;
}

nav a {
  text-decoration: none;
}

/* Two-thirds space before */
li > :is(ol, ul) {
  margin-top: calc(var(--rhythm) * 0.66);
}

/* Two-thirds space after */
p,
blockquote,
ol,
ul,
li:not(:has(> :is(p, blockquote))),
dl {
  margin-bottom: calc(var(--rhythm) * 0.66);
}

/* Single space after */
.burger,
.hero,
.review-subject,
hr,
h3,
h4,
h5,
h6,
nav {
  margin-bottom: var(--rhythm);
}

/* Double space after */
.featured,
.subtitle,
.comment-form,
.related,
.newsletter-signup,
.posts > li,
.links > li,
.post-content {
  margin-bottom: calc(var(--rhythm) * 2);
}

/* Single space before */
h4,
h5,
h6,
hr {
  margin-top: var(--rhythm);
}

/* Double space before */
.newsletter .post-content h2,
:not(.newsletter) .post-content h3:not(:where(.series, .subtitle)),
.post-content h4:not(.subtitle) {
  margin-top: calc(var(--rhythm) * 2);
}

/* No space before */
.post .post-content > :is(h2, h3):first-child,
.links li h3.link-title {
  margin-top: 0;
}

.light-bg {
  background-color: var(--light-background-colour);
}

/* Site-wide elements */
.content {
  padding: 1rem 0.5rem;
}
@media (min-width: 40rem) {
  .content {
    padding: 1rem;
  }
}

header {
  padding: 1rem calc(0.5rem + var(--rhythm) * 0.5);
}
@media (min-width: 40rem) {
  header {
    padding: 1rem calc(1rem + var(--rhythm) * 0.5);
  }
}
@media (min-width: 55rem) and (max-width: 69.99rem) {
  header {
    display: grid;
    grid-template-columns: 1fr 10rem;
    align-items: center;
    gap: 0 2rem;
    margin-bottom: var(--rhythm);
  }
  header .logo {
    grid-column: span 2;
    margin-bottom: var(--rhythm);
    text-align: left;
  }
}
@media (min-width: 70rem) {
  header {
    display: grid;
    grid-template-columns: 10rem 1fr 10rem;
    align-items: center;
    gap: 0 2rem;
    margin-bottom: var(--rhythm);
    background: var(--background-colour-2);
    border-bottom: 1px solid var(--accent-colour);
  }
  header .logo {
    text-align: left;
  }
}
header .burger {
  border-radius: 10px;
  background-color: var(--background-colour-2);
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
  padding: 0.5rem;
}
header .burger > :first-child {
  margin-top: 0;
}
header .burger > :last-child {
  margin-bottom: 0;
}
@media (min-width: 70rem) {
  header .burger {
    margin: 0;
  }
}
header .burger .button {
  cursor: pointer;
  display: none;
  line-height: 0;
}
header .burger .button svg {
  width: 30px;
  height: 30px;
}
header .burger .button svg rect {
  fill: var(--accent-colour);
}
header nav {
  border-radius: 10px;
  background-color: var(--background-colour-2);
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
  padding-top: 0;
  padding-bottom: 0;
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr;
}
header nav > :first-child {
  margin-top: 0;
}
header nav > :last-child {
  margin-bottom: 0;
}
@media (min-width: 30rem) {
  header nav {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 47rem) {
  header nav {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
}
header nav a {
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
  padding: calc(var(--rhythm) * 0.25);
}
header nav a > :first-child {
  margin-top: 0;
}
header nav a > :last-child {
  margin-bottom: 0;
}

.post-preview .featured-image img {
  border-radius: 10px 10px 0 0;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.post-preview .excerpt {
  border-radius: 10px;
  background-color: var(--background-colour-2);
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
  border-radius: 0 0 10px 10px;
}
.post-preview .excerpt > :first-child {
  margin-top: 0;
}
.post-preview .excerpt > :last-child {
  margin-bottom: 0;
}
.post-preview .excerpt p {
  text-wrap: balance;
}

footer {
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
  padding: 1rem calc(0.5rem + var(--rhythm) * 0.5);
}
footer > :first-child {
  margin-top: 0;
}
footer > :last-child {
  margin-bottom: 0;
}
@media (min-width: 40rem) {
  footer {
    padding: 1rem calc(1rem + var(--rhythm) * 0.5);
  }
}
footer nav {
  font-size: 1rem;
}
footer nav ul {
  list-style: none;
  padding: 0;
}
footer nav ul img {
  display: inline;
}

/* Homepage */
.hero {
  border-radius: 10px;
  background-color: var(--background-colour-2);
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
  max-width: 32rem;
}
.hero > :first-child {
  margin-top: 0;
}
.hero > :last-child {
  margin-bottom: 0;
}
@media (min-width: 45rem) {
  .hero {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
  }
  .hero h2 {
    grid-column: span 2;
  }
}
.hero p {
  max-width: 28rem;
}

.featured {
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
}
.featured > :first-child {
  margin-top: 0;
}
.featured > :last-child {
  margin-bottom: 0;
}
.featured .featured-posts {
  list-style: none;
  padding: 0;
}
@media (min-width: 35rem) {
  .featured .featured-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
  }
}
@media (min-width: 50rem) {
  .featured .featured-posts {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.featured .featured-posts .post-preview {
  border-radius: 10px;
  background-color: var(--background-colour-2);
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
  padding: 0;
}
.featured .featured-posts .post-preview > :first-child {
  margin-top: 0;
}
.featured .featured-posts .post-preview > :last-child {
  margin-bottom: 0;
}

.recent {
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
}
.recent > :first-child {
  margin-top: 0;
}
.recent > :last-child {
  margin-bottom: 0;
}
.recent .posts {
  list-style: none;
  padding: 0;
}
.recent .posts li {
  max-width: 28rem;
}
.recent .posts li .post-body {
  max-width: 28rem;
}

/* Pages */
.page-title {
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
}
.page-title > :first-child {
  margin-top: 0;
}
.page-title > :last-child {
  margin-bottom: 0;
}

/* Posts */
.post .featured-image {
  max-width: 50rem;
}
.post .featured-image img {
  border-radius: 10px;
}

.post-content {
  max-width: 28rem;
  border-radius: 10px;
  background-color: var(--background-colour-2);
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
  position: relative;
  container-type: inline-size;
  margin-top: var(--rhythm);
}
.post-content > :first-child {
  margin-top: 0;
}
.post-content > :last-child {
  margin-bottom: 0;
}
@media (min-width: 50rem) {
  .featured-image + .post-content {
    margin-top: -15rem;
  }
}
.post-content .post-body {
  max-width: 28rem;
}
.post-content .post-body .footnotes {
  margin-top: calc(var(--rhythm) * 2);
  padding-top: var(--rhythm);
  border-top: 1px solid var(--rule-colour);
  font-size: 0.85em;
}
.post-content .post-body .footnotes ol {
  padding-left: 1em;
}
.post-content .post-body .series-note {
  font-style: italic;
}
.post-content .post-body .series-note:not(:first-child) {
  margin-top: calc(var(--rhythm) * 2);
  padding-top: var(--rhythm);
  border-top: 1px solid var(--rule-colour);
}
.post-content .post-body .series-note:first-child {
  margin-bottom: calc(var(--rhythm) * 2);
  padding-bottom: var(--rhythm);
  border-bottom: 1px solid var(--rule-colour);
}
.post-content .post-body .series-note i, .post-content .post-body .series-note em, .post-content .post-body .series-note cite {
  font-style: normal;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 2rem;
}

.related,
.comment-form,
.no-dead-ends > .newsletter-signup {
  border-radius: 10px;
  background-color: var(--background-colour-2);
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
  max-width: 28rem;
}
.related > :first-child,
.comment-form > :first-child,
.no-dead-ends > .newsletter-signup > :first-child {
  margin-top: 0;
}
.related > :last-child,
.comment-form > :last-child,
.no-dead-ends > .newsletter-signup > :last-child {
  margin-bottom: 0;
}

.post .image {
  margin-bottom: 1rem;
}
@media (min-width: 425px) {
  .post .image.small {
    width: 200px;
  }
  .post .image.left {
    float: left;
    margin-right: 1rem;
  }
  .post .image.right {
    float: right;
    margin-left: 1rem;
  }
}

/* Reviews */
.review-subject {
  max-width: 200px;
}
@media (min-width: 55rem) {
  .review-subject {
    position: absolute;
    right: calc(-200px - 2rem);
  }
}
.review-subject p {
  margin-bottom: 0;
}

/* Comments */
.comment-form form {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.comment-form form > * {
  flex-basis: 100%;
  flex-shrink: 0;
}
.comment-form fieldset {
  border: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: center;
}
.comment-form fieldset label {
  flex-basis: max-content;
}
.comment-form fieldset input {
  flex-basis: auto;
  flex-grow: 1;
}
.comment-form fieldset textarea {
  flex-basis: 100%;
  flex-shrink: 0;
  height: 7em;
  height: 7lh;
  resize: vertical;
}

/* Topics */
.page.topics .post-content {
  max-width: 40rem;
}
.page.topics .post-content > p:first-child {
  max-width: 28rem;
}

.topic-posts {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--rhythm) * 0.5) 1rem;
}
.topic-posts .topic-post {
  flex-basis: fit-content;
}
@media (max-width: 30rem) {
  .topic-posts .topic-post {
    flex-basis: 100%;
    flex-shrink: 0;
  }
}

/* Newsletters */
ol.newsletters {
  list-style: none;
  padding: 0;
}

.newsletter .post-title {
  max-width: 28rem;
}

/* Search */
form.search {
  display: flex;
  max-width: 27.5rem;
  margin-bottom: var(--rhythm);
}
@media (min-width: 70rem) {
  form.search {
    margin-bottom: 0;
  }
}
form.search input[type=search] {
  border-radius: 10px 0 0 10px;
  border-right: 0;
  margin: 0;
  height: calc(2rem + var(--rhythm) * 0.5);
  flex-grow: 1;
}
form.search button {
  display: block;
  background: transparent;
  border: 1px solid var(--accent-colour);
  border-radius: 0 10px 10px 0;
  font-size: 0;
}
form.search button i {
  display: inline-block;
  background: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%20%3C%21--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%20%3Csvg%20fill%3D%22%23680800%22%20height%3D%22800px%22%20width%3D%22800px%22%20version%3D%221.1%22%20id%3D%22Capa_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%20488.4%20488.4%22%20xml%3Aspace%3D%22preserve%22%3E%20%3Cg%3E%20%3Cg%3E%20%3Cpath%20d%3D%22M0%2C203.25c0%2C112.1%2C91.2%2C203.2%2C203.2%2C203.2c51.6%2C0%2C98.8-19.4%2C134.7-51.2l129.5%2C129.5c2.4%2C2.4%2C5.5%2C3.6%2C8.7%2C3.6%20s6.3-1.2%2C8.7-3.6c4.8-4.8%2C4.8-12.5%2C0-17.3l-129.6-129.5c31.8-35.9%2C51.2-83%2C51.2-134.7c0-112.1-91.2-203.2-203.2-203.2%20S0%2C91.15%2C0%2C203.25z%20M381.9%2C203.25c0%2C98.5-80.2%2C178.7-178.7%2C178.7s-178.7-80.2-178.7-178.7s80.2-178.7%2C178.7-178.7%20S381.9%2C104.65%2C381.9%2C203.25z%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E") center left no-repeat;
  background-origin: content-box;
  background-size: 1em;
  font: 14px/1 system-ui;
  width: 2ch;
  height: 2ch;
}

.search-posts {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 35rem) {
  .search-posts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 50rem) {
  .search-posts {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 80rem) {
  .search-posts {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
.search-posts .post-preview {
  border-radius: 10px;
  background-color: var(--background-colour-2);
  padding: var(--rhythm) calc(var(--rhythm) * 0.5);
  margin-trim: block;
  /* Remove when margin-trim has widespread support! */
}
.search-posts .post-preview > :first-child {
  margin-top: 0;
}
.search-posts .post-preview > :last-child {
  margin-bottom: 0;
}

/* Links */
.links {
  list-style: none;
  padding: 0;
}

/* Pagination */
.pagination {
  max-width: 28rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 0.5rem;
}
.pagination .current {
  text-align: center;
}
.pagination .next {
  text-align: right;
}
@media (max-width: 28rem) {
  .pagination {
    font-size: 0.9rem;
  }
}
@media (max-width: 24rem) {
  .pagination {
    font-size: 0.8rem;
  }
}

/*# sourceMappingURL=main.css.map */