/* ===== basic page ===== */
body {
  margin: 0;
  padding: 0;

  /* background image for entire page */
  background: url("/design/backgrounds/5019.png") repeat;

  /* typewriter font */
  font-family: "Courier New", Courier, monospace;

  color: #111;
}

/* headings: slightly ragged typewriter vibe */
h1, h2, h3 {
  letter-spacing: 0.5px;
}

/* links */
a {
  color: #0066cc;
  text-decoration: underline dotted;
}

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

/* ===== main box ===== */
.sanity-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #bff6ff;

  /* pixel-ish border + soft shadow */
  border: 3px solid #ffffff;      /* inner white border */
  outline: 2px solid #7a8b9c;     /* outer darker line */
  box-shadow: 3px 3px 0 #9bb0c7;  /* little offset shadow */
}

/* ===== header ===== */
.sanity-header {
  text-align: center;
  margin-bottom: 15px;
}

.sanity-header h1 {
  margin: 0;
  font-size: 28px;
}

.sanity-header p {
  margin: 4px 0 0;
  font-size: 13px;
}

/* ===== layout ===== */
.sanity-layout {
  display: flex;
  gap: 20px;
}

.sanity-left-art {
  flex: 0 0 150px;
}

.sanity-left-art img {
  max-width: 150px;
  height: auto;
  display: block;
}

.sanity-main {
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
}

.sanity-main ul {
  margin-top: 6px;
  padding-left: 18px;
}

/* ===== links block ===== */
.sanity-links {
  margin: 16px 0;
  text-align: center;
  font-weight: bold;
}

.sanity-links a {
  display: block;
  margin: 4px 0;
}

.sanity-note {
  font-size: 11px;
  text-align: center;
}

/* ===== pixel shrine + footer ===== */
.pixel-shrine {
  margin-top: 10px;
  text-align: center;
}

.pixel-shrine img {
  image-rendering: pixelated;
  margin: 2px;
  height: 31px;
}

.sanity-footer {
  margin-top: 8px;
  font-size: 10px;
  text-align: center;
  opacity: 0.8;
}

/* ===== mobile ===== */
@media (max-width: 700px) {
  .sanity-wrapper {
    margin: 15px;
  }

  .sanity-layout {
    flex-direction: column;
    align-items: center;
  }

  .sanity-left-art {
    flex: 0 0 auto;
  }
}

/* ===== bottom nav links ===== */
.bottom-nav {
  margin-top: 20px;
  text-align: center;
}

.bottom-nav a {
  display: inline-block;
  margin: 0 12px;     /* space between links */
  font-weight: bold;
  text-decoration: underline dotted;
}

.bottom-nav a:hover {
  text-decoration: underline solid;
}

