body {
    background: #faf7f2;
    color: #2c2825;
    font-family: "Georgia", "Times New Roman", serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
header,
main,
footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
nav a {
    margin-right: 1.5rem;
    text-decoration: none;
    color: #c46a3b;
    font-family: "Helvetica", "Arial", sans-serif;
}
nav a:hover {
    text-decoration: underline;
}

h1 {
    font-family: "Helvetica", sans-serif;
    font-weight: 300;
}
.date {
    color: #8a7a6a;
    font-size: 0.9rem;
    margin-top: 0;
}
.tag {
    background: #e8e2d8;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    font-family: sans-serif;
}

.newsletter-signup {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 1200px;       /* matches main */
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  background: #e8e2d8;
  border-radius: 20px;
  box-sizing: border-box;
}

.newsletter-signup label {
  color: #2c2825;
  white-space: normal;
}

.newsletter-signup input[type="email"] {
  flex: 1;
  min-width: 8rem;
  max-width: 18rem;
  padding: 0.45rem 1rem;
  font: inherit;
  color: #2c2825;
  background: #faf7f2;
  border: 1px solid #dcd5c7;
  border-radius: 20px;
}

.newsletter-signup input:focus {
  outline: 2px solid #c46a3b;
  outline-offset: 2px;
}

.newsletter-signup button {
  padding: 0.45rem 1.2rem;
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 0.9rem;
  white-space: nowrap;
  color: #faf7f2;
  background: #c46a3b;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.newsletter-signup button:hover {
  color: #2c2825;
  background: #d8824f;
}

.newsletter-signup button:focus-visible {
  outline: 2px solid #2c2825;
  outline-offset: 2px;
}

@media (max-width: 420px) {
  .newsletter-signup { flex-wrap: wrap; }
  .newsletter-signup input { flex: 1 1 100%; order: 2; }
  .newsletter-signup button { order: 3; }
}

.newsletter-thanks {
  margin: 0;
  font-size: 1rem;
  color: #2c2825;
}

.newsletter-signup {
  flex-wrap: wrap;               /* allow the row to break */
}

@media (max-width: 480px) {
  .newsletter-signup label {
    flex-basis: 100%;            /* label gets its own line */
  }
  .newsletter-signup input {
    flex: 1 1 100%;              /* input fills the line */
    order: 2;
    max-width: none;
  }
  .newsletter-signup button {
    order: 3;
    width: 100%;                 /* full-width button below */
  }
  #newsletter-status {
    flex-basis: 100%;
    order: 4;
  }
}