:root {
  --text: #1a1a1a;
  --muted: #5c6370;
  --background: #E7E7E7;
  --accent: #1f3a5f;
  --border: #e3e6ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}

header, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem;
}

header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
}

nav a {
  margin-right: 1.25rem;
  color: var(--accent);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
}

nav a:hover {
  text-decoration: underline;
}

header h1 {
  margin: 0;
}

h1, h2 {
  color: var(--accent);
  line-height: 1.2;
}

footer {
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

section {
  margin-bottom: 2.5rem;
}

.hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.hero-wrap {
  position: relative;
}

.hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.hero-text {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  color: #ffffff;
}

.hero-text h2 {
  color: #ffffff;
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
}

.hero-text p {
  margin: 0;
  font-size: 1.15rem;
}

@media (max-width: 500px) {
  header {
    flex-direction: column;
    gap: 0.75rem;
  }
  nav a {
    margin: 0 0.75rem;
  }
  .hero-text h2 { font-size: 1.5rem; }
  .hero-text p { font-size: 1rem; }
}

hr {
  border: none;
  height: 3px;
  width: 60px;
  background: var(--accent);
  margin: 2.5rem 0;
}
