/* ===== Page Background ===== */
* { box-sizing: border-box; }
:root {
  --bg1: #8bd0b4;
  --bg2: #cbe5c6;
  --ink: #1b1b1b;
  --paper: #f0f0f0;
}
html, body { height: 100%; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
}

/* ===== Paper Sheet ===== */
.page { padding: 18px; display: grid; place-items: start center; }
.sheet {
  width: min(1200px, 96vw);
  background: var(--paper);
  border: 4px solid #000;
  box-shadow: 10px 10px 0 rgba(0,0,0,.6);
  padding: 16px;
}

/* ===== Title ===== */
.title-wrap { padding: 8px 10px 0; }
.title {
  margin: 8px;
  padding: 14px 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 3.3vw + 8px, 56px);
  line-height: 1.2;
  background: #fff;
  border: 4px solid #000;
}

/* ===== Date ===== */
.date {
  text-align: right;
  margin: 4px 16px 0 0;
  font-size: 14px;
  font-style: italic;
  color: #333;
}

/* ===== Hero Image Placeholder ===== */
.hero { margin: 0 8px 10px 8px; }
.ph {
  background: repeating-linear-gradient(45deg, #d6d6d6, #d6d6d6 12px, #ececec 12px, #ececec 24px);
  color: #444;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: .5px;
}
.hero-ph {
  height: clamp(150px, 18vw, 260px);
  border: 4px solid #000;
}

/* ===== Single Column Layout ===== */
.single-col {
  margin: 6px 8px 12px 8px;
  padding: 14px 18px;
  border: 4px solid #000;
  background: #fff;
}

.single-col p {
  margin: 0 0 14px 0;
  padding-inline: 8px;
  text-align: justify;
  line-height: 1.6;
  font-size: 15px;
  hyphens: auto;
  text-indent: 2em;
}

/* Headings */
h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 700;
}
h3 span { border-bottom: none; }

/* ===== Inset Portrait (Bottom Image Box) ===== */
.inset {
  width: 80%;
  max-width: 500px;
  margin: 24px auto;
  text-align: center;
  font-size: 13px;
}

.portrait-ph {
  height: 160px;
  border: 4px solid #000;
  background: repeating-linear-gradient(45deg, #d6d6d6, #d6d6d6 12px, #ececec 12px, #ececec 24px);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #444;
  letter-spacing: .5px;
}

.inset figcaption {
  margin-top: 6px;
  color: #333;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .single-col {
    padding: 12px 14px;
  }
  .single-col p {
    font-size: 14px;
  }
  .inset {
    width: 100%;
  }
}


