/* Art Axworthy Tribute theme styles. Colors and type are set as tokens on :root.
   Layout: a family album kept in a chemist's lab notebook. Cream paper and deep ink, a mid-century serif for the
   headings, old prints mounted with photo corners, and a faint graph-paper grid and a reaction-energy curve as the
   quiet chemistry accents. One committed light look. */
:root {
  --paper: #f3ebdb;        /* page, warm cream */
  --paper-2: #ebe1cc;      /* raised panels */
  --paper-3: #e1d4ba;      /* empty photo frame */
  --print: #fbf8f0;        /* the white border of an old print */
  --ink: #24211c;          /* main text */
  --ink-2: #5a5247;        /* secondary text */
  --line: rgba(36, 33, 28, 0.16);
  --grid: rgba(47, 90, 116, 0.09);   /* lab-notebook blue, graph paper */
  --blue: #2f5a74;         /* notebook rule and links on graph paper */
  --accent: #8a3a1e;       /* oxide red: the one warm accent */
  --on-accent: #fbf8f0;
  --corner: #3b342b;       /* photo corners */

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --f-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max: 1160px;
  --read: 66ch;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; font-optical-sizing: auto; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.label { font-family: var(--f-data); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* Graph paper */
.graph-band, .graph {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}

/* Reaction-energy curve divider */
.curve { color: var(--accent); opacity: 0.55; height: 48px; max-width: var(--max); margin: 0 auto; padding-inline: 16px; }
.curve svg { display: block; width: 100%; height: 100%; }


/* Site header */
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.mark { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.mark strong { font-family: var(--f-display); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.mark span { font-family: var(--f-data); font-size: 12px; color: var(--ink-2); letter-spacing: 0.06em; }
.menu { font-family: var(--f-data); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.menu a { text-decoration: none; color: var(--ink-2); padding-block: 4px; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.menu ul, .foot-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* Home hero */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding-block: clamp(40px, 7vw, 96px); }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.hero .label { margin-bottom: 20px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
.hero .dates { font-family: var(--f-data); font-size: clamp(15px, 1.7vw, 18px); margin-top: 20px; color: var(--accent); letter-spacing: 0.1em; }
.hero .lede { font-size: clamp(19px, 2vw, 22px); max-width: 38ch; margin-top: 26px; }
.hero-photo { max-width: 420px; width: 100%; justify-self: center; }
.hero-photo .print-paper { transform: rotate(1.2deg); }
@media (prefers-reduced-motion: reduce) { .hero-photo .print-paper { transform: none; } }

/* Sections */
section.band { padding-block: clamp(52px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.band-head h2 { font-size: clamp(34px, 4.6vw, 56px); }
.band-head p { color: var(--ink-2); max-width: 46ch; }
.h-band { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 18px; }

/* Quote */
.quote { display: grid; gap: 18px; max-width: 900px; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.28; text-wrap: balance; }
.quote blockquote::before { content: "\201C"; color: var(--accent); }
.quote blockquote::after { content: "\201D"; color: var(--accent); }
.quote cite { font-style: normal; }
.quote-2 { margin-top: 14px; padding-top: 30px; border-top: 1px solid var(--line); }
.quote-2 blockquote { font-size: clamp(21px, 2.5vw, 29px); }
.note-band { background: var(--paper-2); }

/* Ways in */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.way { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--paper-2); transition: border-color .2s, transform .2s; }
.way:hover { border-color: var(--accent); }
.way-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); display: grid; align-items: center; }
.way-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: sepia(0.15); }
.way-img .curve { width: 80%; height: 60px; opacity: 0.8; }
.way .body { display: grid; gap: 12px; padding: 22px; align-content: start; }
.way h3 { font-size: 32px; }
.way h3 a { text-decoration: none; }
.way h3 a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.way p { color: var(--ink-2); }
.go { font-family: var(--f-data); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); text-decoration: none; }

/* Prints: old photos with a white border and photo corners */
.print { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; scroll-margin-top: 80px; }
.print-paper { position: relative; background: var(--print); padding: 10px 10px 14px; box-shadow: 0 1px 2px rgba(36, 33, 28, 0.18), 0 8px 22px -12px rgba(36, 33, 28, 0.45); }
.print-paper::after {
  content: ""; position: absolute; inset: 2px; pointer-events: none;
  background:
    linear-gradient(135deg, var(--corner) 0 12px, transparent 12px) top left / 22px 22px no-repeat,
    linear-gradient(225deg, var(--corner) 0 12px, transparent 12px) top right / 22px 22px no-repeat,
    linear-gradient(45deg, var(--corner) 0 12px, transparent 12px) bottom left / 22px 22px no-repeat,
    linear-gradient(315deg, var(--corner) 0 12px, transparent 12px) bottom right / 22px 22px no-repeat;
  opacity: 0.85;
}
.print-paper a, .print-paper img { display: block; }
.print-paper img { width: 100%; height: auto; }
.print .lb { cursor: zoom-in; }
.print figcaption { display: grid; gap: 2px; padding-inline: 2px; }
.print figcaption b { font-weight: 600; font-size: 16px; line-height: 1.35; }
.print figcaption span { font-family: var(--f-data); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
/* Empty frame while the photo is missing */
.print:not(.has-img)::before {
  content: ""; display: block; aspect-ratio: 4 / 5; border: 1px dashed rgba(36, 33, 28, 0.35); background-color: var(--paper-3);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 16px 16px;
}
.print.wide:not(.has-img)::before { aspect-ratio: 16 / 10; }
.print.sq:not(.has-img)::before { aspect-ratio: 1; }
.todo { font-family: var(--f-data); font-size: 12px !important; line-height: 1.5; letter-spacing: 0 !important; text-transform: none !important; color: var(--accent) !important; }
p.todo { margin-top: 10px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; position: relative; }
.timeline li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 0 0 30px 26px; position: relative; border-left: 1px solid var(--blue); margin-left: 6px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.timeline .when { font-family: var(--f-data); font-size: 14px; letter-spacing: 0.06em; color: var(--accent); font-variant-numeric: tabular-nums; }
.timeline .what { display: grid; gap: 8px; max-width: var(--read); }
.timeline h3 { font-size: clamp(22px, 2.4vw, 28px); }
.timeline .what p { color: var(--ink); }
.timeline .print { max-width: 260px; margin-top: 8px; }
@media (min-width: 820px) {
  .timeline li { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
  .timeline .when { text-align: right; padding-top: 4px; }
  .timeline li::before { top: 9px; }
}
.timeline.short li { padding-bottom: 20px; }
.timeline.short h3 { font-size: clamp(20px, 2vw, 24px); }
.timeline + div { margin-top: 12px; }

/* Since 1983: a quieter tail under the timeline, in hollow dots. */
.timeline + .since { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.since .h-band { font-size: clamp(28px, 3.4vw, 40px); }
.since-list li::before { border-color: var(--blue); }
.since-list h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 400; }

/* Dad's favorites on His Life. */
.favorites-band { background: var(--paper-2); }
.favorites { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.fav-group h3 { font-family: var(--f-data); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.fav-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fav-group li { padding-left: 18px; position: relative; color: var(--ink); }
.fav-group li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 7px; height: 1px; background: var(--accent); }

/* Editors' note when the theme has newer text for a page. */
.starter-note { margin-bottom: 28px; padding: 14px 16px; border: 1px dashed var(--accent); border-radius: 3px; }
.starter-note .btn { margin-top: 12px; }

/* Who he was */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; align-items: start; }
.who > div > p { max-width: var(--read); font-size: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font: 500 13px/1 var(--f-data); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 14px 18px; border-radius: 3px; background: var(--accent); color: var(--on-accent); border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }

/* Memories */
.remember { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; align-items: start; }
.remember > div > p { color: var(--ink-2); max-width: var(--read); }
.memory { border: 1px solid var(--line); border-radius: 4px; padding: 24px; background: var(--print); display: grid; gap: 10px; box-shadow: 0 8px 22px -16px rgba(36, 33, 28, 0.5); }
.memory .label { color: var(--accent); }
.memory .who-by, .memory .who { color: var(--ink-2); }
.memory-text p { font-style: italic; }
.memory-text p + p { margin-top: 10px; }
.memory.empty p:not(.label) { color: var(--ink-2); }
.memory .btn { justify-self: start; margin-top: 8px; }
.entry .print.in-text { max-width: 420px; margin: 8px 0 28px; }
.entry .in-text-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px; margin: 8px 0 28px; }
.entry .in-text-row .print.in-text { margin: 0; }
.memory-photos { display: flex; flex-wrap: wrap; gap: 14px; }
.memory .print { max-width: 240px; }
.memory-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

/* Inner page title band */
.p-hero { border-bottom: 1px solid var(--line); }
.p-hero .wrap { padding-block: clamp(44px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.p-hero .label { margin-bottom: 14px; }
.p-hero h1 { font-size: clamp(48px, 8vw, 104px); font-weight: 400; letter-spacing: -0.02em; }
.p-hero .sub { margin-top: 18px; font-size: clamp(18px, 2vw, 21px); max-width: 52ch; color: var(--ink-2); }

/* Editor content */
.entry { max-width: var(--read); }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 1.7em; }
.entry h2:first-child { margin-top: 0; }
.entry h3 { font-size: 24px; margin-top: 1.4em; }
.entry a { color: var(--accent); }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li + li { margin-top: 0.35em; }
.entry blockquote { margin-left: 0; border-left: 2px solid var(--accent); padding-left: 16px; font-style: italic; color: var(--ink-2); }
.entry figure { margin-left: 0; margin-right: 0; }
.entry figcaption, .wp-element-caption { font-family: var(--f-data); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); margin-top: 8px; }
.entry .wp-block-gallery { max-width: none; }
.entry-band .entry { max-width: none; }
.entry-band .entry > p, .entry-band .entry > h2, .entry-band .entry > h3, .entry-band .entry > ul { max-width: var(--read); }

/* His Life */
.bio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 900px) { .bio { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } .bio-side { position: sticky; top: 24px; } }
.bio-side { display: grid; gap: 28px; max-width: 420px; }
.bio .entry h2 { padding-top: 0.5em; border-top: 1px solid var(--line); }
.bio .entry h2:first-child { border-top: 0; padding-top: 0; }
.next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.next a { text-decoration: none; display: grid; gap: 4px; }
.next a.to-right { text-align: right; margin-left: auto; }
.next a strong { font-family: var(--f-display); font-weight: 500; font-size: 34px; }
.next a:hover strong { color: var(--accent); }
.next-band { padding-block: 40px !important; }

/* His Work */
.papers { display: grid; gap: 28px; }
.paper { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 22px; scroll-margin-top: 24px; }
@media (min-width: 760px) { .paper { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 28px; } }
.paper-page { align-self: start; max-width: 240px; }
.paper-page img { display: block; width: 100%; background: var(--print); box-shadow: 0 1px 2px rgba(36, 33, 28, 0.2), 4px 4px 0 var(--paper-2), 4px 4px 0 1px var(--line); }
.title-page { aspect-ratio: 8.5 / 11; background: var(--print); display: grid; align-content: center; justify-items: center; gap: 14px; padding: 18px; text-align: center; box-shadow: 0 1px 2px rgba(36, 33, 28, 0.2), 4px 4px 0 var(--paper-2), 4px 4px 0 1px var(--line); }
.title-page b { font-family: var(--f-display); font-weight: 500; font-size: 15px; line-height: 1.3; }
.title-page span:last-child { font-family: var(--f-data); font-size: 11px; color: var(--ink-2); }
.paper-body { display: grid; gap: 10px; align-content: start; max-width: var(--read); }
.paper-body .label { color: var(--accent); }
.paper-body h2 { font-size: clamp(24px, 2.8vw, 32px); }
.paper-body .where { font-family: var(--f-data); font-size: 13px; color: var(--blue); }
.paper-body .thanks { font-style: italic; color: var(--ink-2); font-size: 16px; }
.paper-body .btn { margin-top: 6px; }
.refs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 820px; }
.refs li { display: grid; gap: 4px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.refs li:first-child { padding-top: 0; }
.refs b { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.25; }
.refs a { color: var(--accent); }
.refs span { color: var(--ink-2); }

/* Gallery */
.tabs { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs a { flex: 0 0 auto; text-decoration: none; font-family: var(--f-data); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding: 14px 12px 12px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.album { scroll-margin-top: 56px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 32px 24px; align-items: start; }
/* Gallery rows: each print grows in step with its shape (--r is width over height), so every photo in a row
   is the same height and the row fills the page. The filler at the end keeps a short last row from stretching. */
.grid.rows { display: flex; flex-wrap: wrap; gap: 32px 24px; align-items: flex-start; --row: 220px; }
.grid.rows .print { flex: var(--r, 1) 1 calc(var(--r, 1) * var(--row) + 20px); max-width: 100%; }
.grid.rows::after { content: ""; flex: 999 1 0; }
@media (min-width: 1100px) { .grid.rows { --row: 250px; } }
.lead-empty { color: var(--ink-2); font-size: 20px; }

/* In the News */
.news { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 820px) { .news { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.clipping { display: block; max-width: 380px; background: #efe6cf; padding: 14px; box-shadow: 0 1px 2px rgba(36, 33, 28, 0.2), 0 10px 24px -14px rgba(36, 33, 28, 0.5); transform: rotate(-1deg); text-decoration: none; }
.clipping img { display: block; width: 100%; }
.masthead { display: grid; place-items: center; aspect-ratio: 3 / 4; font-family: var(--f-display); font-weight: 700; font-size: 30px; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }

/* Thank You */
.thanks-entry .names { list-style: none; padding: 0; columns: 2 220px; column-gap: 32px; margin-top: 2em; }
.thanks-entry .names li { break-inside: avoid; padding-block: 6px; border-bottom: 1px dotted var(--line); margin: 0; }


/* Forms */
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-family: var(--f-data); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--print); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; }
.field input::placeholder { color: rgba(90, 82, 71, 0.7); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.comment-form .form-submit, .contact-form .btn { margin-top: 20px; }
.comment-form .btn, .contact-form .btn { margin-top: 0; }
.comment-form-cookies-consent { display: none; }
.comment-awaiting-moderation { display: block; font-family: var(--f-data); font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.form-status { font-family: var(--f-data); font-size: 13px; padding: 12px 14px; border-radius: 3px; border: 1px solid var(--blue); color: var(--blue); background: var(--print); }
.form-status.error { border-color: var(--accent); color: var(--accent); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nav-links { display: flex; gap: 16px; margin-top: 24px; font-family: var(--f-data); font-size: 13px; }

/* Footer */
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 32px 48px; font-family: var(--f-data); font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; }
.site-foot a { color: var(--ink-2); }
.site-foot a:hover { color: var(--ink); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(28, 25, 21, 0.95); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px 16px; overflow-y: auto; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: min(1100px, 100%); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); width: auto; height: auto; background: var(--print); padding: 8px; }
.lightbox figcaption { font-family: var(--f-body); font-size: 17px; color: #f3ebdb; text-align: center; }
.lightbox figcaption .lb-count { display: block; font-family: var(--f-data); font-size: 12px; letter-spacing: 0.08em; color: #c9bfa9; margin-top: 4px; }
.lightbox figcaption .lb-desc { display: block; max-width: 68ch; margin: 8px auto 0; font-size: 15px; line-height: 1.45; color: #d8cfbb; text-align: left; }
.lb-close, .lb-step { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(243, 235, 219, 0.35); background: rgba(28, 25, 21, 0.7); color: #f3ebdb; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; z-index: 2; }
.lb-close { top: max(12px, env(safe-area-inset-top, 0px)); right: 12px; }
.lb-step { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-step[hidden] { display: none; }
@media (max-width: 600px) { .lb-step { top: auto; bottom: 14px; transform: none; } }
body.lb-open { overflow: hidden; }

/* WordPress additions */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: 3px; font-family: var(--f-data); font-size: 13px; text-decoration: none; }
.admin-bar .tabs { top: 32px; }
@media (max-width: 782px) { .admin-bar .tabs { top: 46px; } }
@media (max-width: 600px) { .admin-bar .tabs { top: 0; } }

@media (max-width: 520px) {
  body { font-size: 17px; }
  .paper { padding: 18px; }
  .paper-page { max-width: 180px; }
  .next a.to-right { text-align: left; margin-left: 0; }
}

@media print {
  .site-head nav, .lightbox, .tabs, .curve, form { display: none !important; }
  .graph-band { background: none; }
}
