/* ===== EDIT THESE TO RESTYLE THE WHOLE SITE ===== */
:root {
  --bg: #f7f9fb;
  --text: #1c2733;
  --muted: #5d6b7a;
  --accent: #0d6e8a;
  --accent-dark: #094f64;
  --line: #d9e0e7;
  --heading-font: Georgia, "Times New Roman", serif;
  --body-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  line-height: 1.2;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }

/* Header and navigation */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text);
}
nav a { margin-left: 1.25rem; text-decoration: none; }
nav a[aria-current="page"] { font-weight: bold; border-bottom: 2px solid var(--accent); }

/* Page content */
main { padding: 2.5rem 0 3rem; }
.intro { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
}
.button:hover { background: var(--accent-dark); color: #fff; }

/* Post list */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.post-list .date { color: var(--muted); font-size: 0.9rem; }
.post-list h3 { margin: 0.2rem 0; }

/* Responsive video embed (16:9) */
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.5rem 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { padding-top: 1.25rem; padding-bottom: 1.25rem; }
