/* barbarafarhar.com, 2026 refresh.
   Keeps the old site's bones (name top left, menu row under it, publications in a right-hand column,
   the cream tiled background) with a modern type pairing, larger text, pastel cards and a mobile-first layout.
   Fonts are self-hosted (SIL Open Font License): Fraunces for headings, Source Sans 3 for text. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --ink: #2c2a22;
  --text: #3d3a30;
  --muted: #6b6656;
  --olive: #887744;        /* the original brand colour, for large type and accents */
  --olive-deep: #6a5d2f;   /* links and buttons: 6.4:1 on white */
  --cream: #fbf8f1;
  --paper: #ffffff;
  --rule: #ebe5d6;
  --sage: #e6ead7;
  --sun: #f7ebcb;
  --rose: #f4e1d9;
  --sky: #dfe9ec;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(60, 50, 20, .06), 0 6px 24px rgba(60, 50, 20, .07);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font: 18px/1.65 var(--sans);
  color: var(--text);
  background: #e9e1cd url("/wp/wp-content/uploads/2012/11/bgd_pattern_136.gif") repeat left top;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--olive-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid #c9a94a; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 8px; top: -60px; background: #fff; color: #000; border: 2px solid #333; border-radius: 6px; padding: 10px 14px; z-index: 20; }
.skip:focus { top: 8px; }

/* Book announcement strip */
.promo { margin: 0; padding: 8px 16px; text-align: center; font-size: 15px; background: var(--ink); color: #efe8d4; }
.promo a { color: #f3d98b; font-weight: 600; text-decoration: none; margin-left: 6px; white-space: nowrap; }
.promo a:hover { text-decoration: underline; color: #fff; }

/* The page: a white card on the old tiled background */
.site { background: var(--paper); max-width: 1180px; margin: 0 auto; }
@media (min-width: 960px) {
  .site { margin: 32px auto; border-radius: 20px; box-shadow: 0 2px 4px rgba(80, 70, 30, .08), 0 18px 48px rgba(80, 70, 30, .16); overflow: clip; }
}

/* Header: name and tagline, then the menu row (where they always were) */
.site-header {
  position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 16px;
  padding: 14px 16px; border-bottom: 1px solid var(--rule);
}
@media (min-width: 960px) { .site-header { position: static; padding: 28px 48px 0; background: var(--paper); border-bottom: 0; } }
.site-title { margin: 0; font: 600 22px/1.15 var(--serif); letter-spacing: -.01em; }
.site-title a { color: var(--olive-deep); text-decoration: none; }
.site-description { margin: 2px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 960px) { .site-title { font-size: 32px; } .site-description { font-size: 14px; } }

.header-tools { display: flex; gap: 8px; align-items: center; }
.icon-button, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--cream); color: var(--ink);
  font: 600 15px var(--sans); padding: 0 14px; cursor: pointer; text-decoration: none;
}
.icon-button { padding: 0; }
.icon-button:hover, .menu-toggle:hover { background: var(--sun); color: var(--ink); }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; } .menu-bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { top: 0; transform: rotate(-45deg); }

.main-navigation { grid-column: 1 / -1; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation a { color: var(--text); text-decoration: none; font-weight: 600; }
.main-navigation a[aria-current="page"] { color: var(--olive-deep); }

@media (max-width: 959px) {
  .main-navigation ul { display: none; padding: 8px 0 4px; }
  .main-navigation.open ul, .no-js .main-navigation ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .main-navigation a { display: block; padding: 12px 14px; border-radius: 10px; background: var(--cream); font-size: 17px; }
  .main-navigation a[aria-current="page"] { background: var(--sun); }
  .main-navigation .nav-contact { grid-column: 1 / -1; }
  .main-navigation .nav-contact a { background: var(--olive-deep); color: #fff; text-align: center; }
}
@media (min-width: 960px) {
  .header-tools { align-self: start; }
  .menu-toggle { display: none; }
  .main-navigation { margin-top: 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .main-navigation ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 2px; padding: 8px 0; }
  .main-navigation a { display: block; padding: 8px 12px; border-radius: 999px; font-size: 15px; letter-spacing: .02em; }
  .main-navigation a:hover { background: var(--cream); color: var(--ink); }
  .main-navigation a[aria-current="page"] { background: var(--sun); color: var(--ink); }
  .main-navigation .nav-contact { margin-left: auto; }
  .main-navigation .nav-contact a { background: var(--olive-deep); color: #fff; padding: 8px 18px; }
  .main-navigation .nav-contact a:hover, .main-navigation .nav-contact a[aria-current="page"] { background: var(--ink); color: #fff; }
}

/* Content and the right-hand column */
.site-main { padding: 28px 16px 48px; }
@media (min-width: 960px) {
  .site-main { padding: 40px 48px 64px; }
  .site-main.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 290px; column-gap: 56px; }
}
.entry { word-wrap: break-word; }
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: clamp(30px, 5vw, 44px); margin: 0; }
.entry-meta { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.entry-content { max-width: 72ch; }
.full-width .entry-content { max-width: none; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content table, .entry-content blockquote { margin: 0 0 20px; }
.entry-content h2 { font-size: 27px; margin: 40px 0 14px; clear: both; }
.entry-content h3 { font-size: 22px; margin: 32px 0 12px; clear: both; }
.entry-content h4 { font-size: 19px; margin: 24px 0 10px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content hr { border: 0; height: 1px; background: var(--rule); margin: 32px 0; }
.entry-content blockquote { font: italic 20px/1.55 var(--serif); padding: 4px 0 4px 20px; border-left: 3px solid var(--sun); color: var(--text); }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 16px; }
.entry-content td, .entry-content th { border-top: 1px solid var(--rule); padding: 8px 10px 8px 0; vertical-align: top; }
.entry-content::after { content: ""; display: block; clear: both; }

/* Citations keep their hanging indent */
p.citation { margin-left: 1.2em; text-indent: -1.2em; padding: 2px 0; font-size: 17px; line-height: 1.55; }
p.citation[hidden] { display: none; }

.entry-content img { border-radius: 10px; }
figure { margin: 0 0 24px; }
figcaption { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 6px; }
.align-left { float: left; margin: 6px 28px 16px 0; max-width: 45%; }
.align-right { float: right; margin: 6px 0 16px 28px; max-width: 45%; }
.align-center { display: block; margin: 12px auto; }
@media (max-width: 600px) { .align-left, .align-right { float: none; max-width: 100%; margin: 0 0 20px; } }

/* Sidebar */
.widget-area { font-size: 16px; line-height: 1.5; }
@media (max-width: 959px) { .widget-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); } }
.widget { margin-bottom: 32px; }
.widget-title { font: 700 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin: 0; }
.widget li + li { margin-top: 4px; }
.topic-list a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--text); }
.topic-list a:hover { background: var(--cream); color: var(--ink); }
.topic-list a[aria-current="page"] { background: var(--sun); color: var(--ink); font-weight: 600; }
.count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.widget-book { background: var(--rose); border-radius: var(--radius); padding: 18px 20px; }
.widget-book p { margin: 0 0 12px; }
.widget-book .widget-title { color: var(--ink); }
.post-date { display: block; font-size: 14px; color: var(--muted); }
.searchform { display: flex; gap: 6px; }
.searchform input { flex: 1 1 0; min-width: 0; }

/* Forms and buttons */
input[type="text"], input[type="search"], input[type="email"], input[type="url"], input:not([type]), textarea, select {
  font: 17px/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #d8d0bb; border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
input:focus, textarea:focus, select:focus { border-color: var(--olive); outline: 2px solid #e8d79f; outline-offset: 0; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font: 600 16px/1.2 var(--sans); color: #fff; background: var(--olive-deep); padding: 10px 20px; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px; text-decoration: none;
}
button:hover, .button:hover { background: var(--ink); color: #fff; }
button[disabled] { opacity: .6; cursor: progress; }
.button-small { min-height: 38px; padding: 7px 16px; font-size: 15px; }
.button-quiet { background: var(--cream); color: var(--ink); border-color: var(--rule); }
.button-quiet:hover { background: var(--sun); color: var(--ink); }
.button-light { background: #fff; color: var(--ink); border-color: var(--rule); }
.button-light:hover { background: var(--sun); color: var(--ink); }

.contact-form { max-width: 620px; }
.contact-form label { display: block; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.contact-form .required { font-weight: 400; color: var(--muted); }
.contact-form > div { margin-bottom: 18px; }
.contact-form input, .contact-form textarea { width: 100%; }
.contact-form textarea { min-height: 200px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 10px; }
.form-status.ok { background: var(--sage); }
.form-status.err { background: var(--rose); }

.search-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.search-row { display: flex; gap: 8px; max-width: 560px; }
.search-row input { flex: 1; min-width: 0; }
mark { background: var(--sun); color: inherit; padding: 0 2px; border-radius: 3px; }

.entry-list { list-style: none; padding: 0 !important; margin: 24px 0 0; }
.entry-list > li { border-top: 1px solid var(--rule); padding: 18px 0 6px; }
.entry-list h2 { font-size: 22px; margin: 0; }
.entry-list p { margin: 0 0 8px; }

/* ---------- Home ---------- */
.is-home .site-main { padding-top: 0; }
.home-section { margin: 0 0 56px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(26px, 4vw, 34px); margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.eyebrow { font: 700 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--olive-deep); margin: 0 0 10px; }

.hero { display: grid; gap: 24px; align-items: center; padding: 28px 0 40px; }
@media (min-width: 760px) { .hero { grid-template-columns: 300px 1fr; gap: 48px; padding: 40px 0 56px; } }
.hero-photo { margin: 0; justify-self: center; position: relative; isolation: isolate; }
.hero-photo img { display: block; width: 260px; height: 260px; object-fit: cover; border-radius: 50%; border: 8px solid var(--paper); box-shadow: 0 0 0 1px var(--rule), var(--shadow); }
@media (min-width: 760px) { .hero-photo img { width: 300px; height: 300px; } }
.hero-photo::before { content: ""; position: absolute; right: -14px; top: -18px; width: 120px; height: 120px; border-radius: 50%; background: var(--sun); z-index: -1; }
.hero-photo::after { content: ""; position: absolute; left: -10px; bottom: 6px; width: 70px; height: 70px; border-radius: 50%; background: var(--sage); z-index: -1; }
.hero h1 { font-size: clamp(38px, 6.5vw, 62px); margin: 0 0 14px; line-height: 1.04; }
.hero .lede { font-size: 20px; line-height: 1.55; margin: 0 0 24px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.stats { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: var(--cream); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 18px 16px; }
.stats strong { display: block; font: 600 clamp(30px, 4vw, 40px)/1 var(--serif); color: var(--olive-deep); margin-bottom: 6px; }
.stats span { font-size: 15px; line-height: 1.35; display: block; }
.stats-note { font-size: 13px; color: var(--muted); margin: 0 0 56px; }

.book-band { display: grid; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--rose), var(--sun)); border-radius: 22px; padding: 32px 22px; margin: 0 0 56px; }
@media (min-width: 760px) { .book-band { grid-template-columns: 220px 1fr; padding: 40px 44px; gap: 44px; } }
.book-band h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
.book-band p { margin: 0 0 16px; max-width: 56ch; }
.book-cover {
  aspect-ratio: 2 / 3; width: 170px; justify-self: center; border-radius: 4px 12px 12px 4px; padding: 22px 18px;
  background: linear-gradient(160deg, #5a5130, #2c2a22); color: #f3e7c6; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 6px 0 0 #1f1d17, 0 18px 36px rgba(40, 30, 10, .35); transform: rotate(-3deg);
}
@media (min-width: 760px) { .book-cover { width: 210px; } }
.bc-kicker { font: 700 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #d8c27a; }
.bc-title { font: italic 600 25px/1.1 var(--serif); }
.bc-author { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; }

.notify-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.notify-form input:not(.hp input) { flex: 1 1 180px; min-width: 0; }
.notify-form .form-status { flex-basis: 100%; margin: 4px 0 0; }

.topic-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.topic-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform .15s ease, box-shadow .15s ease; min-height: 180px; }
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.topic-name { font: 600 21px/1.2 var(--serif); color: var(--ink); }
.topic-blurb { font-size: 16px; line-height: 1.45; flex: 1; }
.topic-count { font-size: 14px; font-weight: 700; color: var(--olive-deep); }
.tone-sage { background: var(--sage); } .tone-sun { background: var(--sun); } .tone-rose { background: var(--rose); } .tone-sky { background: var(--sky); }

.cited-list { list-style: none; margin: 0; padding: 0; counter-reset: cited; }
.cited-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); counter-increment: cited; }
.cited-list li::before { content: counter(cited); font: 600 22px var(--serif); color: var(--olive); width: 1.4em; }
.cited-list .ct { font-weight: 600; color: var(--ink); }
.cited-list .cv { display: block; font-size: 15px; color: var(--muted); font-weight: 400; }
.cited-list .cn { font-size: 13px; color: var(--muted); white-space: nowrap; text-align: right; }
.cited-list .cn strong { display: block; font: 600 22px/1 var(--serif); color: var(--olive-deep); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--rule); }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); border: 3px solid var(--paper); box-shadow: 0 0 0 1px #d9c78f; }
.timeline .when { display: block; font: 700 14px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--olive-deep); }
.timeline .what { font: 600 20px/1.3 var(--serif); color: var(--ink); display: block; margin: 2px 0 4px; }
.timeline p { margin: 0; }

.two-col { display: grid; gap: 32px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.15fr 1fr; gap: 48px; } }
.card { background: var(--cream); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--rule); }
.news-list time { font-size: 14px; color: var(--muted); }

.featured-item { padding: 20px 0; border-top: 1px solid var(--rule); }
.featured-item::after { content: ""; display: block; clear: both; }
.featured-item h3 { font-size: 21px; margin: 0 0 8px; }
.featured-item p { margin: 0 0 10px; }
.featured-item .cover { float: right; margin: 0 0 12px 18px; width: 110px; border-radius: 4px; box-shadow: var(--shadow); }
.more-toggle { margin-top: 8px; }

/* Publications explorer */
.explorer { background: var(--cream); border: 1px solid var(--rule); border-radius: 18px; padding: 22px 18px; margin: 0 0 40px; }
@media (min-width: 760px) { .explorer { padding: 28px 30px; } }
.entry-content .explorer h2 { margin: 0 0 4px; font-size: 28px; }
.explorer-lede { color: var(--muted); margin: 0 0 16px !important; }
.explorer-controls { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.explorer-controls input { grid-column: 1 / -1; }
@media (min-width: 760px) { .explorer-controls { grid-template-columns: 1fr auto auto; } .explorer-controls input { grid-column: auto; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; }
.chip { min-height: 36px; padding: 6px 14px; font-size: 15px; font-weight: 600; background: #fff; color: var(--text); border: 1px solid var(--rule); }
.chip span { font-weight: 400; color: var(--muted); font-size: 13px; }
.chip:hover { background: var(--sun); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--olive-deep); color: #fff; border-color: var(--olive-deep); }
.chip[aria-pressed="true"] span { color: #efe5c2; }
.explorer-status { font-size: 15px; color: var(--muted); margin: 6px 0 !important; }
.pub-results { list-style: none; margin: 0 !important; padding: 0 !important; }
.pub-results li { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.pub-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: 14px; }
.pub-year { font-weight: 700; color: var(--olive-deep); }
.pub-topic { color: var(--muted); }

.page-filter { background: var(--cream); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; margin: 0 0 24px; }
.page-filter label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.page-filter input { width: 100%; }
.page-filter-status { margin: 8px 0 0 !important; font-size: 14px; color: var(--muted); min-height: 1em; }

/* Photos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 28px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--cream); }
.entry-content .gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.04); }
.slideshow-link { margin: 0 0 12px !important; }
.portraits { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 8px 0 24px; }
.portraits figure { margin: 0; }
.downloads { font-size: 14px; margin: 4px 0 0 !important; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(28, 24, 14, .88); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 78vh; border-radius: 10px; }
.lightbox figcaption { color: #eee; text-align: center; max-width: 80ch; }
.lightbox figcaption a { color: #f3d98b; }
.lightbox-bar { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.lightbox-bar button { background: #fff; color: var(--ink); }

/* Video */
.video { aspect-ratio: 16 / 9; max-width: 760px; margin: 0 0 12px; border-radius: 16px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-caption { font-size: 15px; color: var(--muted); margin: 0; }

/* Events and news */
.event-back { margin: 0 0 16px; font-weight: 600; }
.event-notice { background: var(--sky); border-radius: 10px; font-size: 15px; padding: 8px 14px; margin: 0 0 16px; display: inline-block; }
.event-title { font-size: clamp(28px, 4.5vw, 40px); margin: 0 0 8px; }
.event-schedule { font: 600 19px/1.4 var(--sans); color: var(--muted); margin: 0 0 24px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 24px 64px; background: var(--cream); border-radius: var(--radius); padding: 18px 22px; margin: 8px 0 24px; font-size: 16px; }
.event-meta h3 { font: 700 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.event-meta dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.event-meta dt { font-weight: 600; }
.event-meta dd, .event-meta p { margin: 0; }
.event-nav, .post-nav { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; margin: 0 0 32px; }
.entry-footer { font-size: 15px; color: var(--muted); margin-top: 24px; }

/* Footer */
.site-footer { background: var(--ink); color: #ddd5bf; padding: 40px 16px 20px; }
@media (min-width: 960px) { .site-footer { padding: 48px 48px 24px; } }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer h2 { font: 700 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #bfb390; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 6px; }
.site-footer p { margin: 0 0 10px; font-size: 16px; }
.site-footer a { color: #f3e7c6; }
.site-footer a:hover { color: #fff; }
.site-footer .button { color: var(--ink); background: #f3d98b; }
.site-footer .button:hover { background: #fff; color: var(--ink); }
.footer-name { font: 600 22px var(--serif); color: #fff; }
.site-info { border-top: 1px solid #4a463a; margin: 28px 0 0; padding-top: 16px; font-size: 14px; color: #a39b84; }

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site { box-shadow: none; margin: 0; max-width: none; }
  .promo, .main-navigation, .header-tools, .widget-area, .site-footer, .skip, .page-filter, .explorer { display: none; }
  .site-main.has-sidebar { display: block; }
}
