* {
  box-sizing: border-box;
}

body {
  max-width: 70rem;
  margin: 0 auto;
  padding: 1.5rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.6;
  line-height: 1.6;
  color: #222;
  background: #fafaf8;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
h1,
h2,
h3,
.site-header,
figcaption {
  font-family: "Space Grotesk", system-ui, sans-serif;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.025em;
}

.site-header {
  font-size: 1rem;
  font-weight: 500;
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

strong,
b {
  font-weight: 600;
}


a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

main {
  padding-block: 3rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 2rem 0;
}

article {
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
}

article img,
article video {
  display: block;
  width: 100%;
  height: auto;
}

article iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.image-row {
  display: grid;
  gap: 1rem;
  margin-block: 2rem;
}

.image-row figure {
  margin: 0;
}

@media (min-width: 43rem) {
  .image-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

article blockquote {
  margin: 2rem 0;
  padding-inline-start: 1.25rem;
  border-inline-start: 2px solid #bbb;
  color: #444;
  font-style: italic;
}

article blockquote > :first-child {
  margin-top: 0;
}

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