:root {
  --wanda-teal: #005c6e;
  --wanda-black: #000000;
  --wanda-white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: Superclarendon, "Bookman Old Style", "URW Bookman", "URW Bookman L", "Georgia Pro", Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.6;
}

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

body,
.siteHeader,
.siteMain,
.siteFooter {
  background: var(--wanda-white);
  color: var(--wanda-black);
}

.siteHeader {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--wanda-teal);
}

.siteHeader-brand {
  font-weight: 700;
  text-decoration: none;
}

.siteMain {
  padding: 0;
  flex: 1;
  min-height: 60vh;
}

.siteFooter {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
  text-align: left;
  font-style: normal;
  font-size: 1rem;
  opacity: 1;
  padding: 3em 1em 1em;
  border-top: 2px solid var(--wanda-teal);
}

.siteFooter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.siteFooter-copy,
.siteFooter-links {
  margin: 0;
}

.siteFooter-links {
  text-align: right;
  white-space: nowrap;
}

.hero {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 40vh;
  position: relative;
  border-bottom: 2px solid var(--wanda-teal);
}

.hero-background {
  width: 100%;
  aspect-ratio: 1920 / 400;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.92);
}

.hero-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: var(--wanda-teal);
  font-weight: bold;
  text-align: center;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}
.hero-tagline {
  color: var(--wanda-teal);
}

/* Restore Alembic-like readable content widths without changing templates. */
center-layout {
  display: block;
  width: min(100% - 2rem, 72ch);
  margin-inline: auto;
}

.siteMain center-layout {
  padding: 1.5rem 0;
}

article.flow > * + * {
  margin-top: 1.2em;
}

/* Keep post content inside viewport on desktop and mobile. */
article.flow {
  min-width: 0;
  overflow-wrap: anywhere;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
}

article.flow img,
article.flow svg,
article.flow video,
article.flow iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

pre {
  overflow-x: auto;
}

a,
.siteHeader-brand,
.nav a,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--wanda-teal);
}

h1 {
  font-size: 4rem;
}
h2 {
  font-size: 3rem;
}
h3 {
  font-size: 2.5rem;
}
h4 {
  font-size: 2rem;
}
h5 {
  font-size: 1.75rem;
}
h6 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a:hover,
a:focus {
  color: var(--wanda-teal);
  text-decoration: underline;
}

hr {
  border: 0;
  height: 3px;
  background: linear-gradient(90deg, #1ce4cc 0%, #4fb0ff 100%);
}

main ul li {
  margin-bottom: 0.75rem;
}

p,
ul,
ol,
blockquote,
pre {
  margin: 0 0 1em;
}

.nav {
  display: inline-block;
}

.nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  list-style: none;
  padding-left: 0;
}

@media (max-width: 900px) {
  .siteHeader {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .nav ul {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .siteFooter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .siteFooter-links {
    text-align: left;
  }
}

blockquote,
code,
pre {
  background: #1ce4cc;
}

code,
pre {
  font-family: "Nimbus Mono PS", "Courier New", monospace;
  font-size: 1.1rem;
}
