/* MAIN WRAPPER */
main {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* HERO IMAGE CENTERING */
.hero-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5em;
}

.hero-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

/* CONTENT AREA (PROSE) */
.prose {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 1em 1.25em;
  color: rgb(var(--gray-dark));
}

/* TITLE / HEADER STYLES */
.title {
  margin-bottom: 1em;
  padding: 1em 0;
  text-align: center;
  line-height: 1;
}

.title h1 {
  margin: 0 0 0.5em 0;
}

.date {
  margin-bottom: 0.5em;
  color: rgb(var(--gray));
}

.last-updated-on {
  font-style: italic;
}

/* HEADER SIZES (H1–H6) FOR BETTER MOBILE HANDLING */
.prose h1 {
  font-size: 2.25rem; /* 36px */
  line-height: 1.2;
}

.prose h2 {
  font-size: 1.875rem; /* 30px */
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.4;
}

.prose h4 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.5;
}

.prose h5 {
  font-size: 1.125rem; /* 18px */
  line-height: 1.5;
}

.prose h6 {
  font-size: 1rem; /* 16px */
  line-height: 1.5;
}

/* RESPONSIVE TWEAKS FOR SMALLER SCREENS */
@media (max-width: 640px) {
  .prose {
    padding: 1em 0.75em; /* Less side padding on mobile */
  }

  .prose h1 {
    font-size: 1.75rem; /* 28px */
  }

  .prose h2 {
    font-size: 1.5rem; /* 24px */
  }

  .prose h3 {
    font-size: 1.25rem; /* 20px */
  }

  .prose h4 {
    font-size: 1.125rem; /* 18px */
  }

  .prose h5 {
    font-size: 1rem; /* 16px */
  }

  .prose h6 {
    font-size: 0.875rem; /* 14px */
  }
}
