/* Typography and layouts shared by the independent theme. */
body,
button,
input,
select,
textarea,
.primary-nav a,
.entry-meta,
.entry-content,
.entry-footer,
.post-navigation,
.widget,
.category-description,
.polaroid-date {
  font-family: 'Open Sans', Arial, sans-serif;
}

.site-title,
.site-title a {
  font-family: 'Marck Script', cursive;
}

.board-title,
.entry-title {
  font-family: 'Caveat Brush', cursive;
}

.polaroid-caption {
  font-family: 'Poor Story', 'Comic Sans MS', cursive;
  font-size: 1.45rem;
}

.parchment-card,
.parchment-card h2,
.parchment-card a,
.other-middle,
.blogroll,
.blogroll a {
  font-family: 'Open Sans', Arial, sans-serif;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.header-search-toggle {
  grid-column: 1;
  justify-self: start;
}

.header-inner .brand-wrap {
  grid-column: 2;
  justify-self: center;
}

.header-inner .menu-toggle {
  grid-column: 3;
  justify-self: end;
}

.single-layout.no-active-sidebar {
  display: block;
  width: 100%;
  max-width: none;
  margin: 34px 0;
  padding-inline: 20px;
}

.single-layout.no-active-sidebar .content-column {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.single-layout.no-active-sidebar .single-article {
  width: min(980px, 100%);
  margin-inline: auto;
}

.single-layout.no-active-sidebar .entry-content {
  max-width: 880px;
  margin-inline: auto;
}

.single-layout.no-active-sidebar .entry-header,
.single-layout.no-active-sidebar .entry-footer {
  max-width: 880px;
  margin-inline: auto;
}

.single-layout.no-active-sidebar .post-navigation,
.single-layout.no-active-sidebar .comments-area {
  width: min(980px, 100%);
  margin-inline: auto;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.post-navigation .nav-previous {
  grid-column: 1;
  justify-self: start;
  text-align: left;
}

.post-navigation .nav-next {
  grid-column: 2;
  justify-self: end;
  text-align: right;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: block;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
}

.entry-content {
  font-size: 16px;
  line-height: 1.75;
}

.entry-title {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
}

@media (max-width: 720px) {
  .single-layout.no-active-sidebar {
    padding-inline: 12px;
  }
  .entry-content { font-size: 16px; }
  .post-navigation .nav-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .post-navigation .nav-previous,
  .post-navigation .nav-next {
    grid-column: 1;
    justify-self: stretch;
    text-align: center;
  }
}
