/* ---------- base ---------- */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-size: 20px;
  font-family: Georgia, "Times New Roman", Times, serif;
  text-rendering: optimizeLegibility;
  color: #111;
}

a {
  color: #f05349;
}

p {
  line-height: 1.6;
  margin: 0;
  padding-bottom: 1.2em;
}

/* content width like the template */
.content {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1em;
}

h1 {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: 3em;
  line-height: 1.1;
  margin: 0 0 0.35em 0;
}

.dek {
  font-family: "Lora", Georgia, serif;
  font-size: 1.1em;
  margin: 0;
}

.byline {
  font-size: 0.95em;
  margin-top: 1.25em;
  margin-bottom: 1.5em;
}

/* ---------- hero header ---------- */
.header.with-image-bg {
  width: 100%;
  min-height: 85vh;

  background-image: url("black-sesame.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  margin: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.85),
               0 0 10px rgba(0, 0, 0, 0.55);
}

/* dark overlay for readability */
.header.with-image-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  z-index: 0;
}

/* text container inside hero */
.header.with-image-bg .content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4em 1em;
}

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 2.2em;
  }

  .header.with-image-bg {
    min-height: 70vh;
  }
}