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

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --font-serif: 'GT Alpina', 'Times New Roman', Times, serif;

  --color-black: #000;
  --color-white: #fff;
  --color-accent: #CEFF00; /* chartreuse / yellow-green */

  --padding: 1.5rem;
  --nav-padding: 1.5rem;

  /* One third of the viewport — all three columns are equal.
     Used by: corner nav zones, exhibition essays panel. */
  --col-outer: 33.333vw;

  overscroll-behavior: none;
}

/* ─── Base ───────────────────────────────────────────────────── */
html, body {
  height: 100%;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: normal;
  font-size: 1.5em;
  line-height: 1.3;
}

h1 {
  font-size: 1.5em;
}

h2 { 
  font-size: 1.5em;
}

p {
  font-size: 1em;
}


body {
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a.underline,
a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* span {--col-outer
  font-size: 17px;
} */

/* ─── Column Navigation ──────────────────────────────────────── */
/*
  Nav items are centered within fixed-width outer column zones
  (var(--col-outer)). This creates a consistent three-column frame
  across all pages: [left zone | content | right zone].

  On mobile we fall back to the simple corner approach.
*/
.corner-nav {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
}

.corner-nav a {
  position: absolute;
  pointer-events: all;
  font-family: var(--font-serif);
  font-size: 1.5em;
  font-weight: normal;
  color: var(--color-black);
  text-decoration: none;
  text-align: center;
}

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

/* Left column: Always Tomorrow (top) + Exhibitions (bottom) */
.corner-nav .nav-top-left {
  top: var(--nav-padding);
  left: 0;
  width: var(--col-outer);
}

.corner-nav .nav-bottom-left {
  bottom: var(--nav-padding);
  left: 0;
  width: var(--col-outer);
}

/* Right column: About (top) */
.corner-nav .nav-top-right {
  top: var(--nav-padding);
  right: 0;
  width: var(--col-outer);
}

/* Hide exhibitions link when already on that page */
body.template-exhibitions .nav-bottom-left { display: none; }

/* ── Mobile: revert to simple corner positions ───────────────── */
@media (max-width: 44rem) {
  .corner-nav a {
    text-align: left;
    width: auto;
  }
  .corner-nav .nav-top-left    { left: var(--nav-padding); }
  .corner-nav .nav-top-right   { right: var(--nav-padding); left: auto; width: auto; text-align: left; }
  .corner-nav .nav-bottom-left { left: var(--nav-padding); }
}

/* ─── Headings reset ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: normal;
  font-size: 1em;
  line-height: 1.3;
}

h1 {
  font-size: 1.5em;
}

h2 {
  font-size: 1.5em;
}


p {
  line-height: 1.5;
  margin-bottom: 1em;
  font-size: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ─── Utility ────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
