:root { --header-height: 80px; }
* { box-sizing: border-box; }
body.blog-page { margin: 0; background: #e9e6df; color: #111; font-family: Almarai, sans-serif; font-size: 18px; line-height: 1.65; }
.blog-page .site-header { background: #111; }
.blog-main { max-width: 1200px; margin: auto; padding: 130px 4vw 90px; }
.blog-page h1,.blog-page h2,.blog-page h3 { font-family: 'Libre Baskerville', serif; font-weight: 400; line-height: 1.2; }
.blog-page h1 { font-size: clamp(32px, 4vw, 56px); }
.blog-page h2 { font-size: clamp(25px, 2.8vw, 38px); }
.blog-page a { color: inherit; text-underline-offset: .16em; }
.blog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 60px 40px; }
.blog-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card > a:first-child { text-decoration: none; }
.blog-card time,.blog-article__header p { font-size: 15px; }
.blog-article { max-width: 800px; margin: auto; }
.blog-article__header { margin-bottom: 40px; }
.blog-article__body p { margin: 0 0 1.5em; }
.blog-article figure { margin: 0 0 40px; }
.blog-article img { display: block; width: 100%; height: auto; }
.blog-article__navigation { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 30px; border-top: 1px solid #999; }
@media (max-width: 767px) { .blog-grid { grid-template-columns: 1fr; } .blog-main { padding: 110px 6vw 60px; } .blog-article__navigation { flex-direction: column; } }
/* Individual post layout from Website Design.sketch. */
@font-face {
  font-family: "Grand Baron Distressed";
  src: url("../fonts/grand-baron-distressed-italic.otf") format("opentype");
  font-style: italic;
  font-display: swap;
}
body.blog-post-page {
  background: #f5f5f5;
  color: #000;
  font-family: "Grand Baron Distressed", Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
}
.blog-post-page .site-header { background: transparent; }
.blog-post-page .blog-main { max-width: 1264px; padding: 69px 32px 64px; }
.blog-post-page .blog-article { width: 100%; max-width: none; }
.blog-article__video { max-width: 856px; margin: 0 auto 48px; aspect-ratio: 16 / 9; }
.blog-article__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.blog-post-page .blog-article__header { margin: 0 0 8px; }
.blog-post-page h1 {
  margin: 0;
  font-family: "Grand Baron Distressed", Georgia, serif;
  font-size: 64px;
  line-height: .984375;
  text-align: center;
  overflow-wrap: anywhere;
}
.blog-post-page .blog-article__body p { margin: 0 0 24px; text-indent: 1.5em; }
.blog-post-page .blog-article__body p:last-child { margin-bottom: 0; }
.blog-article__byline { margin-top: 48px; font-size: 24px; font-style: italic; }
.blog-article__byline a { text-decoration: none; }
.blog-article__byline time { display: block; }
.blog-post-page .blog-article__navigation { border: 0; margin: 48px 0 0; padding: 0; flex-direction: row; }
.blog-post-page .blog-article__navigation a { max-width: 45%; text-decoration: none; }
.blog-post-page .blog-article__navigation a:only-child { max-width: 100%; }
.blog-post-page .blog-article__navigation strong { display: block; font-size: 20px; line-height: 1.4; font-weight: 400; }
.blog-story-next { margin-left: auto; text-align: right; }
.blog-post-page .site-footer { font-family: Almarai, sans-serif; }
@media (max-width: 767px) {
  body.blog-post-page { font-size: 24px; }
  .blog-post-page .blog-main { padding: 80px 16px 48px; }
  .blog-article__video { margin-bottom: 32px; }
  .blog-post-page h1 { font-size: 48px; line-height: 1; }
  .blog-post-page .blog-article__header { margin-bottom: 16px; }
  .blog-article__byline { margin-top: 32px; font-size: 20px; }
}
@media (max-width: 374px) {
  body.blog-post-page { font-size: 20px; }
  .blog-post-page h1 { font-size: 32px; }
  .blog-post-page .blog-article__navigation strong { font-size: 18px; }
}

/* History archive, using the same display face as the homepage. */
@font-face {
  font-family: "Grand Baron Distressed";
  src: url("../fonts/grand-baron-distressed.otf") format("opentype");
  font-display: swap;
}
body.blog-archive-page { background: #f5f5f5; color: #000; }
.blog-archive-page .site-header { background: transparent; }
.blog-archive-page .blog-main { max-width: 1440px; padding: 64px 32px; }
.blog-archive-page .history-title {
  margin: 0 0 44px;
  font-family: "Grand Baron Distressed", Georgia, serif;
  font-size: 64px;
  line-height: .984375;
  text-align: center;
}
.history-title span { display: block; }
.history-archive {
  display: grid;
  grid-template-columns: 240px minmax(0, 799px);
  gap: 44px;
  max-width: 1083px;
  margin-inline: auto;
  font-family: "Grand Baron Distressed", Georgia, serif;
}
.history-archive h2 { margin: 0; font: 400 32px/1.2 "Grand Baron Distressed", Georgia, serif; }
.history-archive a { text-decoration: none; }
.history-archive a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.history-archive__dates { font-size: 16px; line-height: 1.5; }
.history-archive__dates h2 { margin-bottom: 16px; }
.history-archive__dates a:hover { text-decoration: underline; }
.history-archive__year { margin-bottom: 24px; }
.history-archive__year ul { list-style: none; padding: 0 0 0 16px; margin: 0; }
.history-archive__posts { display: grid; align-content: start; gap: 44px; min-width: 0; }
.history-story { scroll-margin-top: 96px; }
.history-story__link { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 32px; }
.history-story img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.history-story h2 { overflow-wrap: anywhere; }
.history-story time { display: block; margin-top: 4px; font-size: 16px; line-height: 19px; }
.history-story p { margin: 16px 0 0; font-size: 24px; line-height: 1.21; overflow-wrap: anywhere; }
@media (min-width: 1600px) {
  .history-archive { max-width: none; gap: 80px; }
}
@media (max-width: 1000px) {
  .history-archive__dates { display: none; }
  .history-archive { display: block; max-width: 799px; }
}
@media (max-width: 600px) {
  .blog-archive-page .blog-main { padding-inline: 16px; }
  .blog-archive-page .history-title { font-size: 48px; line-height: 1; margin-bottom: 32px; }
  .history-story__link { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .history-archive__posts { gap: 32px; }
}
@media (max-width: 374px) {
  .blog-archive-page .blog-main { padding-top: 80px; }
  .blog-archive-page .history-title { font-size: 32px; margin-bottom: 16px; }
  .history-story__link { grid-template-columns: 40px minmax(0, 1fr); }
  .history-story img { margin-top: 9px; }
  .history-story h2 { font-size: 24px; }
  .history-story p { font-size: 16px; margin-top: 8px; }
  .history-archive__posts { gap: 16px; }
}
