:root {
  --bg: #fbf4ef;
  --text: #3b608c;
  --heading-font: "Eczar", Georgia, serif;
  --body-font: "DM Sans", -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --measure: 640px;
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1.173rem;
  line-height: 1.5;
}
a { color: inherit; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; margin: 2rem auto 0.5rem; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--bg); padding: .5rem; }

.site-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 2rem;
  font-size: 1.396rem;
}
.site-title { font-weight: 500; text-decoration: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { text-decoration: underline; }

main { padding: 0 2rem 4rem; }
.entry-title {
  font-family: var(--heading-font); font-weight: 700; text-align: center;
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2;
  max-width: var(--measure); margin: 3rem auto 1rem;
}
.entry-meta { text-align: center; font-size: 1rem; margin: 0 0 2rem; }
.entry-content > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--heading-font); font-weight: 700; line-height: 1.25; margin-top: 2.5rem; margin-bottom: 1rem;
}
.entry-content h2 { font-size: 2.44rem; text-align: center; }
.entry-content h3 { font-size: 2.08rem; }
.entry-content h4, .entry-content h5, .entry-content h6 { font-size: 1.4rem; }
.entry-content hr { border: 0; border-top: 1px solid currentColor; opacity: .3; margin-top: 3rem; margin-bottom: 3rem; }
.entry-content blockquote { border-left: 3px solid currentColor; padding-left: 1.25rem; font-style: italic; }
.entry-content em:only-child { font-size: .9rem; display: block; text-align: center; }
.post-list { list-style: none; padding: 0; max-width: var(--measure); margin: 2rem auto; }
.post-list li { margin: .75rem 0; }
.post-list time { opacity: .7; font-size: .9rem; margin-left: .5rem; }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  padding: 2rem; font-size: .85rem;
}
@media (max-width: 600px) {
  .site-header { padding: 1rem; font-size: 1.1rem; }
  main { padding: 0 1rem 3rem; }
}

.entry-content .media-text {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem;
  max-width: 1100px; margin: 2rem auto;
}
.entry-content .media-text img { margin: 0; width: 100%; }
.entry-content .media-text h3 { color: #000; text-align: center; margin: 0 0 1rem; }
.entry-content .media-text p { text-align: center; font-size: .9rem; margin: 0; }
@media (max-width: 700px) { .entry-content .media-text { grid-template-columns: 1fr; } }

.video-embed { position: relative; max-width: 640px; margin: 2rem auto; aspect-ratio: 16 / 9; background: rgba(59, 96, 140, .08); border: 1px solid rgba(59, 96, 140, .35); }
.video-embed-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 1rem; font-size: .95rem; }
.video-embed-inner p { margin: .35rem 0; max-width: 34rem; }
.video-embed-load { font: inherit; font-weight: 500; color: var(--bg); background: var(--text); border: 0; padding: .6rem 1.4rem; cursor: pointer; }
.video-embed-load:hover, .video-embed-load:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.figure-svg { display: block; width: 100%; max-width: 760px; height: auto; margin: 2rem auto 0.5rem; }
