/* iBest My Self — build 2026-08-23 (v4: hardened post-nav + footer link colours) */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f4f1;
  color: #222;
  line-height: 1.7;
}

.site-header {
  background: #151515;
  color: #fff;
  text-align: center;
  padding: 36px 18px;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
}

.site-header p {
  margin: 0.25rem 0 1rem;
  color: #ddd;
}

.site-header nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 700;
}

.container {
  max-width: 900px;
  margin: 34px auto;
  padding: 0 18px;
}

.card,
.post {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  margin: 0 0 22px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

h1,
h2,
h3 {
  line-height: 1.25;
}

a {
  color: #7a4a20;
}

.meta {
  color: #777;
  font-size: 0.95rem;
}

.post img,
.card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.post img.post-image {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
  margin: 20px auto 36px;
  border-radius: 12px;
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin: 0 0 16px;
}
.centered-poem {
    text-align: center;
    line-height: 1.9;
}
.centered-text {
    text-align: center;
}
.button {
  display: inline-block;
  background: #151515;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 10px;
}

.site-footer {
  text-align: center;
  padding: 28px 18px;
  color: #666;
}

.notice {
  background: #fff7da;
  border: 1px solid #ead999;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 22px;
}

@media (max-width: 640px) {
  .brand {
    font-size: 1.6rem;
  }

  .site-header nav a {
    display: inline-block;
    margin: 6px 8px;
  }

  .card,
  .post {
    padding: 20px;
  }

  .post img.post-image {
    width: 260px;
    max-width: 100%;
  }
}
/* ---------------------------------------------------------------
   Additions — 2026 update
   Typography: this is a site of poems and essays, so body copy moved
   to a serif with a measured line length. Palette and layout unchanged.
   --------------------------------------------------------------- */

body {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.05rem;
}

.site-header,
nav,
.meta,
.button,
.site-footer {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* keep prose to a readable measure */
.post > p,
.post > section > p,
.post > ul,
.post > ol {
  max-width: 62ch;
}

/* --- accessibility floor --- */
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 10;
  background: #fff;
  color: #151515;
  padding: 10px 14px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #7a4a20;
  outline-offset: 2px;
}

.site-header nav a[aria-current="page"] {
  border-bottom: 2px solid #e8c39e;
}

/* --- headings --- */
.hero h1 {
  font-size: 2.1rem;
  margin-top: 0;
}

.post h1 {
  font-size: 2rem;
  margin-top: 0;
}

.post-list h3 {
  margin: 0 0 4px;
  font-size: 1.3rem;
}

.post-list p {
  margin: 0 0 6px;
}

.post-list .meta {
  margin-bottom: 8px;
}

/* --- email signup --- */
.subscribe {
  border-top: 3px solid #151515;
}

.subscribe h2 {
  margin-top: 0;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.subscribe-form input {
  flex: 1 1 240px;
  padding: 11px 12px;
  border: 1px solid #cbc4bb;
  border-radius: 6px;
  font: inherit;
  background: #fff;
}

.subscribe-form button {
  background: #151515;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 11px 20px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.subscribe-form button:hover {
  background: #7a4a20;
}

/* --- prev / next --- */
.post-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 22px;
}

.post-nav a,
.post-nav a.prev-next,
nav.post-nav a {
  color: #7a4a20;
}

.prev-next {
  color: #7a4a20;
  background: #fff;
  border: 1px solid #e3ddd4;
  border-radius: 10px;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 700;
  flex: 1 1 40%;
}

.prev-next:hover {
  background: #fbf9f7;
  border-color: #7a4a20;
}

.site-footer nav a,
nav.footer-links a {
  color: #6b6b6b;
  font-weight: 400;
}

.prev-next.older {
  text-align: right;
}

/* --- footer --- */
.footer-links {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.footer-links a {
  color: #6b6b6b;
  font-weight: 400;
  margin: 0;
  text-decoration: none;
}

.footer-links a:hover {
  color: #7a4a20;
  text-decoration: underline;
}

.footer-links a:not(:first-child)::before {
  content: "·";
  margin: 0 0.65em;
  color: #c3bdb4;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.subscribe-credit {
  margin: 10px 0 0;
  font-size: 0.82rem;
}

.subscribe-credit a {
  color: #888;
  text-decoration: none;
}

.subscribe-credit a:hover {
  text-decoration: underline;
}
