:root {
  --yellow-white: #FBFBF4;
}

body {
  margin: 1.618rem auto;
  padding: 0 1.618rem;
  max-width: 800px;
  font-family: 'Inter', sans-serif;
  background-color: var(--yellow-white);
  color: #212121;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
}

article section {
  margin-block-start: calc(1.618rem * 2);
}

iframe {
  margin: 0 auto;
  display: block;
  aspect-ratio: 16/9;
}

article header {
  position: sticky;
  top: 0;
  background-color: var(--yellow-white);
  z-index: 1;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #aaa;
}

.small-center {
  width: 60%;
  margin: 2rem auto;
}

.small-center figcaption {
  font-style: italic;
}

blockquote {
  position: relative;
  font-family: 'Ysabeau Infant', sans-serif;
  font-size: 1.5rem;
  margin-left: 0;
  padding: 0.6em 1em;
  font-style: italic;
  color: #666;
  background-color: rgba(152, 187, 82, 0.1);
  border-left: 4px solid rgba(0, 0, 0, 0.6);
}

blockquote::before {
  content: "❝";
  padding-right: 0.5ex;
}

blockquote::after {
  content: "❞";
}

blockquote::before,
blockquote::after {
  font-size: 1.5em;
  line-height: 1em;
  opacity: 0.75;
}

.row figure {
  margin: 0;
  background-color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

figcaption {
  padding: 0.5rem;
}

.row a {
  text-decoration: none;
  color: #212121;
}

img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

dt {
  font-weight: bold;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.618rem;
}

.row + .row {
  margin-top: 1.618rem;
}

.row img:first-child {
  margin-right: 1.618rem;
}

.row img {
  flex: 1;
}

.row img:first-child {
  margin-right: 1.618rem;
}

@media (max-width: 650px) {
  .row {
    display: block;
  }

  .row img {
    margin: 0.5em auto;
  }

  .small-center {
    width: 80%;
  }
}
