/* ======================
   Base Typography & Layout
========================= */

body {
  font-family: "EB Garamond", "Garamond", "Georgia", serif;
  font-size: 1.25rem;         /* ~20px base font */
  line-height: 1.75;
  color: #111;
  background: #fff;
  margin: 0;
  padding: 0;
}

.blog-container {
  text-align: center;
  padding: 2rem;
}

/* ======================
   Text Container & Heading
========================= */

.text-block {
  display: inline-block;
  max-width: 85ch;
}

.text-block p,
.text-block h2 {
  text-align: left;
}

.text-block h1 {
  font-size: 3rem;            /* ~48px */
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.2;
}

/* ======================
   Paragraphs & Body Text
========================= */

.text-body {
  max-width: 100%;
}

.text-body p {
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 65ch;
  margin: 1.5em auto;   /* ← This centers the paragraph horizontally */
  text-align: justify;
  hyphens: auto;
}

/* ======================
   Horizontal Rule
========================= */

hr {
  border: none;
  border-top: 1px solid black;
  margin: 2em auto;
  width: 40%;
  max-width: 200px;
}

/* ======================
   Footer (Inline & Page)
========================= */

.text-body footer {
  text-align: center;
  margin-top: 2em;
  font-size: 1rem;
  color: #555;
}

.site-footer {
  margin-top: 4em;
  padding: 1em 0;
  border-top: 1px solid #ccc;
  text-align: center;
  font-size: 1rem;
  color: #555;
}

.site-footer a,
.text-body footer a {
  color: #0044cc;
  text-decoration: none;
}

.site-footer a:hover,
.text-body footer a:hover {
  text-decoration: underline;
}

/* ======================
   Responsive Tweaks
========================= */

@media screen and (max-width: 600px) {
  body {
    font-size: 1.15rem;         /* ~18.4px base font */
    line-height: 1.75;
    padding: 0 1rem;
  }

  .text-block h1 {
    font-size: 2rem;            /* Responsive headline */
    line-height: 1.2;
  }

  .text-body p {
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 95vw;
    margin: 1.5em auto;
  }

  .text-block {
    max-width: 95vw;
    padding: 0 1rem;
  }

  .site-footer p {
    font-size: 0.95rem;
  }

.image-row {
  display: flex;
  justify-content: center;   /* Center the whole row */
  flex-wrap: wrap;           /* Stack on smaller screens */
  gap: 1rem;
  margin: 2em auto;
  text-align: center;
}

.image-row a {
  display: block;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;            /* Center each individual image block */
}

.image-row img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}