* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: #f3eadc;
  color: #2b1d16;
}

/* Whole page wrapper */
.page {
  width: 90%;
  max-width: 1000px;
  margin: 30px auto;
}

/* Top banner */
.banner {
  background: #5a1f1f;
  color: #fff4df;
  text-align: center;
  padding: 45px 20px;
  border: 6px double #f7c56b;
  box-shadow: 8px 8px 0 #2e1714;
}

.banner h1 {
  margin: 0;
  font-size: 56px;
  letter-spacing: 2px;
  text-shadow: 3px 3px 0 #000;
}

.banner p {
  margin-top: 12px;
  font-size: 18px;
  font-style: italic;
}

/* Navigation buttons */
.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.menu a {
  background: #f7c56b;
  color: #2b1d16;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  padding: 14px 28px;
  border: 3px solid #5a1f1f;
  box-shadow: 4px 4px 0 #5a1f1f;
  transition: 0.2s;
}

.menu a:hover {
  background: #5a1f1f;
  color: #fff4df;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #2e1714;
}

/* Main content */
.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* Section cards */
.card,
.ask-box {
  background: #fff8ec;
  border: 3px solid #5a1f1f;
  padding: 25px;
  box-shadow: 6px 6px 0 #c98b5b;
}

.card h2,
.ask-box h2 {
  margin-top: 0;
  color: #8b2e2e;
  font-size: 30px;
  border-bottom: 2px dashed #c98b5b;
  padding-bottom: 8px;
}

.card p,
.ask-box p {
  font-size: 17px;
  line-height: 1.5;
}

/* Ask box stretches across the bottom */
.ask-box {
  grid-column: 1 / -1;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-weight: bold;
  font-size: 17px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #5a1f1f;
  background: #fffdf7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

button {
  width: fit-content;
  background: #5a1f1f;
  color: #fff4df;
  border: none;
  padding: 12px 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 4px 4px 0 #c98b5b;
}

button:hover {
  background: #8b2e2e;
}

.note {
  font-size: 14px;
  font-style: italic;
  color: #6b4a3a;
}

/* Footer */
footer {
  text-align: center;
  margin: 30px 0;
  font-size: 15px;
  color: #5a1f1f;
}

/* Makes it look good on phones */
@media (max-width: 700px) {
  .banner h1 {
    font-size: 38px;
  }

  .content {
    grid-template-columns: 1fr;
  }

  .menu a {
    width: 100%;
    text-align: center;
  }
}

.card-button {
  display: inline-block;
  margin-top: 12px;
  background: #5a1f1f;
  color: #fff4df;
  text-decoration: none;
  padding: 10px 18px;
  font-weight: bold;
  border: 2px solid #2e1714;
  box-shadow: 3px 3px 0 #c98b5b;
}

.card-button:hover {
  background: #8b2e2e;
}

.story-content {
  display: block;
}

.intro-card {
  background: #fff8ec;
  border: 3px solid #5a1f1f;
  padding: 25px;
  box-shadow: 6px 6px 0 #c98b5b;
  margin-bottom: 25px;
}

.intro-card h2 {
  margin-top: 0;
  color: #8b2e2e;
  font-size: 32px;
  border-bottom: 2px dashed #c98b5b;
  padding-bottom: 8px;
}

.story-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

.story-card {
  background: #fff8ec;
  border: 3px solid #5a1f1f;
  padding: 22px;
  min-height: 260px;
  box-shadow: 6px 6px 0 #c98b5b;
}

.story-card h2 {
  color: #8b2e2e;
  margin-top: 10px;
  font-size: 26px;
}

.story-card p {
  font-size: 16px;
  line-height: 1.5;
}

.story-date {
  font-size: 14px;
  font-weight: bold;
  color: #6b4a3a;
  border-bottom: 1px dashed #c98b5b;
  padding-bottom: 8px;
}

.story-card a {
  display: inline-block;
  margin-top: 12px;
  background: #f7c56b;
  color: #2b1d16;
  text-decoration: none;
  font-weight: bold;
  padding: 9px 15px;
  border: 2px solid #5a1f1f;
  box-shadow: 3px 3px 0 #5a1f1f;
}

.story-card a:hover {
  background: #5a1f1f;
  color: #fff4df;
}

@media (max-width: 850px) {
  .story-gallery {
    grid-template-columns: 1fr;
  }
}