body {
  font-family: "EB Garamond", "Garamond", "Georgia", serif;
  font-size: 1.25rem;
  line-height: 1.75;
  color: #111;
  background: #fff;
  margin: 0;
  padding: 0;
}

.blog-container {
  text-align: center;
  padding: 2rem;
}

.text-block {
  display: flex;
  justify-content: center;
}

.text-body {
  max-width: 70ch;
  text-align: left;
}

.text-body p {
  margin: 1em 0;
  line-height: 1.8;
  text-align: justify;
  hyphens: auto;
}

.text-body p a {
  font-weight: bold;
  color: black;
  text-decoration: none;
}

.text-body p a:hover {
  text-decoration: underline;
}

/* Header styling */
header.site-header {
  text-align: center;
  margin-bottom: 2rem;
}

.site-title a {
  text-decoration: none;
  color: black;
  font-size: 2.5rem;
  font-weight: bold;
}

/* Menu styling */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  font-size: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li::after {
  content: "|";
  margin: 0 0.5em;
}

.menu li:last-child::after {
  content: "";
}

.menu a {
  text-decoration: none;
  color: black;
}

.menu a:hover {
  text-decoration: underline;
}

/* Headings */
h1 {
  text-align: center;
  font-size: 2.2rem;
  margin: 2rem 0 1rem 0;
}

h2 {
  font-size: 1.6rem;
  text-align: center;
}

h4 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Divider */
hr {
  border: none;
  border-top: 1px solid black;
  margin: 2em auto;
  max-width: 20px;
  width: 40%;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 60ch;
  text-align: center;
}

/* Categories page styling */
.category-list {
  max-width: 70ch;
  margin: 2rem auto;
  text-align: center;
}

.category-list ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.category-list li {
  display: inline;
}

.category-list li::after {
  content: ", ";
}

.category-list li:last-child::after {
  content: "";
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .menu {
    font-size: 1.2rem;
    gap: 0.25em;
  }

  .menu li::after {
    margin: 0 0.25em;
  }

  .text-body {
    max-width: 90vw;
    text-align: left;
  }

  .category-list {
    max-width: 90vw;
  }
}