/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #fdfaf6;
  color: #333;
}

a {
  color: #006d77; /* teal */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #ffffff;
  min-height: 100vh;
  border-left: 8px solid #782b36; /* maroon */
  border-right: 8px solid #782b36;
}

header {
  border-bottom: 3px solid #b08968; /* warm accent */
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.site-title {
  font-size: 2rem;
  font-weight: 700;
  color: #782b36; /* maroon */
}

.site-subtitle {
  font-size: 1rem;
  color: #555;
  margin-top: 0.25rem;
}

/* Nav */
nav {
  margin-top: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

nav li {
  margin: 0;
}

nav a {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #d9d9d9;
  font-size: 0.9rem;
  background: #f4f4f4;
}

nav a.active {
  background: #782b36;
  color: #fff;
  border-color: #782b36;
}

/* Full-width header hero image */
.page-hero {
  margin: 1rem 0 1.5rem;
}

.page-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 2px solid #e0e0e0;
}

/* Main layout */
main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 800px) {
  main {
    grid-template-columns: 1fr;
  }
}

/* Content */
h1 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #782b36;
}

h2 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  color: #556b2f; /* olive */
}

h3 {
  font-size: 1.1rem;
  margin: 0.75rem 0 0.3rem;
  color: #333;
}

p {
  margin-bottom: 0.75rem;
}

ul, ol {
  margin-left: 1.2rem;
  margin-bottom: 0.75rem;
}

li {
  margin-bottom: 0.3rem;
}

/* Image strip for page-specific images */
.page-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.page-images img {
  max-width: 30%;
  height: auto;
  border-radius: 4px;
  border: 2px solid #e0e0e0;
}

@media (max-width: 800px) {
  .page-images img {
    max-width: 48%;
  }
}

/* Sidebar */
.sidebar {
  background: #f4f8f7; /* light teal-tinted */
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid #cfe1df;
  font-size: 0.9rem;
}

.sidebar h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #556b2f;
}

.sidebar-section {
  margin-bottom: 1rem;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar ul {
  list-style: none;
  margin-left: 0;
}

.sidebar li::before {
  content: "• ";
  color: #782b36;
}

/* Footer text */
footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #d0c4b5;
  font-size: 0.85rem;
  color: #555;
}

footer p {
  margin-bottom: 0.25rem;
}

/* Full-width footer image */
.page-footer-image {
  margin-top: 1.5rem;
}

.page-footer-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 2px solid #e0e0e0;
}

.small-photo img {
  max-width: 300px;
  height: auto;
}
