/* ============================================================
   MENA J. BASTA — SITE CUSTOM CSS
   Paste this entire file into:
   Site Editor → Styles → (three-dot menu) → Additional CSS
   -OR-
   Appearance → Customize → Additional CSS

   BEFORE PASTING: Find and replace these six placeholders
   with the actual URLs of your uploaded images in the
   Media Library. Each URL looks like:
   https://yoursite.com/wp-content/uploads/2026/04/filename.jpg

     https://menabasta.com/wp-content/uploads/2024/09/429648141_1795487300931397_7410259416009176490_n.jpg       →  (Image 1 — dome of saints)
     https://menabasta.com/wp-content/uploads/2024/09/429679444_1794952517651542_3963462344431528834_n.jpg    →  (Image 2 — column capital)
     https://menabasta.com/wp-content/uploads/2024/09/459541895_1923238784822914_7511691776610907129_n-2.jpg    →  (Image 3 — monks chanting)
     https://menabasta.com/wp-content/uploads/2024/09/457277310_1911999622613497_4425388398373155888_n.jpg         →  (Image 4 — Theotokos fresco)
     https://menabasta.com/wp-content/uploads/2024/09/459326761_1923237178156408_1952083164994808668_n.jpg       →  (Image 5 — apse fresco)
     https://menabasta.com/wp-content/uploads/2026/04/484813488_1133018701903799_3230026396416309568_n.jpg  →  (Image 6 — three patriarchs)
   ============================================================ */

:root {
  --parchment: #f2ead5;
  --parchment-deep: #ebe0c4;
  --parchment-shadow: #d6c9a5;
  --ink: #2a1f14;
  --ink-soft: #4a3c2c;
  --ink-faint: #7a6a54;
  --rubric: #9b2c2c;
  --rubric-deep: #7a1f20;
  --lapis: #223b6b;
  --lapis-soft: #3a5590;
  --gold: #a08333;
  --gold-soft: #b89a4a;
  --stone: #c9bca3;

  --font-display: 'Cardo', 'EB Garamond', Georgia, serif;
  --font-body: 'EB Garamond', Georgia, serif;

  --measure: 64ch;
  --section-pad: clamp(4rem, 10vh, 8rem);
}

/* ——— Body & parchment texture ——— */
body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--parchment);
  font-feature-settings: "liga", "dlig", "onum";
  /* Parchment atmosphere — layered subtle radial gradients.
     No inline SVG (WordPress.com's CSS sanitizer rejects it). */
  background-image:
    radial-gradient(at 18% 28%, rgba(180, 150, 100, 0.10) 0%, transparent 42%),
    radial-gradient(at 82% 72%, rgba(160, 130, 80, 0.08) 0%, transparent 42%),
    radial-gradient(at 42% 82%, rgba(140, 110, 70, 0.06) 0%, transparent 38%),
    radial-gradient(at 68% 18%, rgba(170, 140, 90, 0.06) 0%, transparent 38%);
  background-attachment: fixed;
}

::selection { background: var(--rubric); color: var(--parchment); }

/* ——— Hero section ——— */
section.hero {
  padding: clamp(5rem, 14vh, 10rem) clamp(1.25rem, 5vw, 3rem) var(--section-pad);
  max-width: 62rem;
  margin: 0 auto;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 2rem; right: -2rem;
  width: 300px; height: 400px;
  background-image: url("https://menabasta.com/wp-content/uploads/2024/09/429679444_1794952517651542_3963462344431528834_n.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  filter: sepia(0.15) contrast(0.95);
  box-shadow: inset 0 0 0 1px rgba(155, 44, 44, 0.25);
}
@media (max-width: 900px) { .hero::before { display: none; } }
.hero > * { position: relative; z-index: 1; }

.hero .coptic-flourish {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--rubric);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.hero .coptic-flourish::before,
.hero .coptic-flourish::after {
  content: ""; display: inline-block;
  width: 1.8rem; height: 1px; background: var(--rubric);
  opacity: 0.5;
}

h1.name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
h1.name em { font-style: italic; font-weight: 400; color: var(--rubric); }

.hero .role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--ink-soft);
  max-width: 42ch;
  line-height: 1.5;
  margin-bottom: 3rem;
}
.hero .lead {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: var(--measure);
  color: var(--ink);
}

/* ——— Illuminated drop cap (simple) ——— */
.illuminated::first-letter {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  float: left;
  color: var(--rubric);
  line-height: 0.85;
  padding: 0.35rem 0.75rem 0 0;
  margin-top: 0.15rem;
}

/* ——— True illuminated initial block (About opener) ——— */
.illum-initial-wrap {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.illum-initial {
  flex-shrink: 0;
  width: 96px; height: 96px;
  position: relative;
}
.illum-initial-wrap .prose-opener {
  flex: 1;
  margin-top: 0.3rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* ——— Section dividers ——— */
.divider {
  display: flex; align-items: center; justify-content: center;
  margin: var(--section-pad) auto;
  max-width: 36rem;
  padding: 0 2rem;
  gap: 1rem;
  color: var(--stone);
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--stone), transparent);
}
.divider svg { color: var(--rubric); flex-shrink: 0; }

/* ——— Section containers ——— */
section.content {
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  max-width: 62rem;
  margin: 0 auto;
}
.section-head { margin-bottom: 3rem; }
.section-head .eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rubric);
  margin-bottom: 0.6rem;
  display: block;
}
h2.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.005em;
}
h2.section-title em { font-style: italic; color: var(--lapis); }

/* ——— Tailpiece ornament ——— */
.tailpiece {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  color: var(--rubric);
  opacity: 0.7;
}

/* ——— Prose ——— */
.prose p { max-width: var(--measure); margin-bottom: 1.35rem; }
.prose p + p:not(.no-indent) { text-indent: 2em; }
.prose a {
  color: var(--lapis);
  text-decoration: none;
  border-bottom: 1px solid var(--stone);
  padding-bottom: 1px;
  transition: border-color .2s;
}
.prose a:hover { border-color: var(--lapis); }
.prose em { font-style: italic; color: var(--ink-soft); }

/* ——— Picture slot (placeholder style for missing portrait) ——— */
.photo-slot {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(155, 44, 44, 0.06) 8px, rgba(155, 44, 44, 0.06) 16px),
    var(--parchment-deep);
  border: 1px dashed var(--rubric);
  color: var(--rubric);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  text-align: center;
  padding: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.photo-slot .slot-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rubric-deep);
  display: block;
  margin-bottom: 0.5rem;
}

/* ——— About section ——— */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 760px) {
  .about-layout { grid-template-columns: 220px 1fr; gap: 3.5rem; }
}
.portrait-frame {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
}
.portrait-frame .photo-slot {
  position: absolute; inset: 0;
  flex-direction: column;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--rubric);
  opacity: 0.3;
  pointer-events: none;
}
.portrait-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.portrait-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 1.2rem;
  letter-spacing: 0.04em;
}

/* ——— Atmospheric image bands ——— */
.atmospheric-band {
  margin: var(--section-pad) 0;
  position: relative;
  height: clamp(320px, 55vh, 560px);
  background: var(--parchment-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.atmospheric-band .band-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.atmospheric-band .band-image::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(42, 31, 20, 0.35) 100%),
    linear-gradient(rgba(242, 234, 213, 0.04), rgba(242, 234, 213, 0.04));
  mix-blend-mode: multiply;
}
.atmospheric-band .caption-overlay {
  position: relative; z-index: 2;
  background: rgba(42, 31, 20, 0.82);
  color: var(--parchment);
  padding: 1.25rem 2.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 36rem;
  border: 1px solid var(--gold-soft);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.atmospheric-band .caption-overlay .credit {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 0.4rem;
  font-style: normal;
}

/* Specific atmospheric band images — replace URLs before pasting */
.atmospheric-band.band-monks .band-image {
  background-image: url("https://menabasta.com/wp-content/uploads/2024/09/459541895_1923238784822914_7511691776610907129_n-2.jpg");
}
.atmospheric-band.band-dome .band-image {
  background-image: url("https://menabasta.com/wp-content/uploads/2024/09/429648141_1795487300931397_7410259416009176490_n.jpg");
}

/* ——— Publications ——— */
.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 720px) {
  .book-grid { grid-template-columns: 1fr 1fr; gap: 3rem 2.5rem; }
}
.book {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.book-cover {
  flex-shrink: 0;
  width: 120px;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--parchment-deep) 0%, var(--parchment-shadow) 100%);
  border: 1px solid var(--stone);
  box-shadow: 2px 4px 0 rgba(42, 31, 20, 0.08), 4px 6px 12px rgba(42, 31, 20, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.6rem;
  text-align: center;
}
.book-cover::before {
  content: ""; position: absolute;
  inset: 6px;
  border: 1px solid var(--rubric);
  opacity: 0.35;
}
.book-cover::after {
  content: ""; position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-soft);
  opacity: 0.3;
}
.book-cover .cross {
  width: 18px; height: 18px;
  color: var(--rubric);
  margin-bottom: 0.5rem;
  z-index: 1;
}
.book-cover .cover-title {
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--rubric-deep);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 1;
}
.book-cover .cover-author {
  font-family: var(--font-display);
  font-size: 0.56rem;
  color: var(--ink-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  z-index: 1;
}
.book-meta h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.book-meta h3 em { font-style: italic; font-weight: 400; }
.book-meta .book-role {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}
.book-meta .press {
  font-size: 0.83rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.book-meta .desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ——— Subheads ——— */
.subhead {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rubric);
  margin: 3.5rem 0 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.subhead::before {
  content: ""; display: inline-block;
  width: 1.2rem; height: 1px; background: var(--rubric);
}

/* ——— Translations & articles lists ——— */
.translations-list, .articles-list { list-style: none; padding: 0; }
.translations-list li, .articles-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--stone);
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 1.25rem;
  align-items: baseline;
}
.translations-list li:last-child, .articles-list li:last-child {
  border-bottom: 1px solid var(--stone);
}
.translations-list .year, .articles-list .year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--rubric);
  letter-spacing: 0.06em;
}
.translations-list .item-title, .articles-list .item-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.35;
}
.translations-list .item-title em, .articles-list .item-title em { font-style: italic; }
.translations-list .item-title .meta, .articles-list .item-title .meta {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-faint);
  margin-top: 0.25rem;
  font-style: italic;
}
@media (max-width: 560px) {
  .translations-list li, .articles-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ——— Research ——— */
#research .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: var(--measure);
  margin: 2rem 0 3rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--rubric);
}
#research .pull em { color: var(--lapis); font-style: italic; }

.research-illum {
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 760px) {
  .research-illum { grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
}

/* ——— Framed illumination image (shared by Research + Gallery) ——— */
.illum-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--parchment-deep);
}
.illum-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.illum-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--rubric);
  opacity: 0.4;
  pointer-events: none;
}
.illum-frame-outer { position: relative; }
.illum-frame-outer::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--gold-soft);
  opacity: 0.35;
  pointer-events: none;
}
.illum-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ——— Research gallery ——— */
.research-gallery { margin-top: 4rem; }
.gallery-subhead {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rubric);
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.gallery-subhead::before, .gallery-subhead::after {
  content: "";
  flex: 1;
  max-width: 4.5rem;
  height: 1px;
  background: var(--stone);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 680px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.gallery-item { margin: 0; }
.gallery-item .illum-frame { aspect-ratio: 4 / 3; }

/* ——— Writings / Essays ——— */
.essay-list { list-style: none; padding: 0; }
.essay-list li {
  padding: 1.75rem 0;
  border-top: 1px solid var(--stone);
}
.essay-list li:last-child { border-bottom: 1px solid var(--stone); }
.essay-list .essay-meta {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--rubric);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.essay-list h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.essay-list h3 em { font-style: italic; color: var(--lapis); }
.essay-list .excerpt {
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ——— CV ——— */
.cv-block { margin-bottom: 2.75rem; }
.cv-block h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rubric);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--stone);
}
.cv-block ul { list-style: none; padding: 0; }
.cv-block li {
  padding: 0.65rem 0;
  display: grid;
  grid-template-columns: 10em 1fr;
  gap: 1.5rem;
  align-items: baseline;
  font-size: 0.98rem;
}
@media (max-width: 620px) {
  .cv-block li { grid-template-columns: 1fr; gap: 0.15rem; }
}
.cv-block .year {
  font-family: var(--font-display);
  color: var(--ink-faint);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.cv-block .entry { color: var(--ink); }
.cv-block .entry em { font-style: italic; color: var(--ink-soft); }
.cv-block .entry .sub {
  display: block;
  color: var(--ink-faint);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.1rem;
}
.cv-download {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rubric);
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--rubric);
  margin-top: 1.5rem;
  transition: background .2s, color .2s;
}
.cv-download:hover { background: var(--rubric); color: var(--parchment); }

/* ——— Contact card ——— */
.contact-card {
  max-width: 42rem;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--stone);
  background: rgba(235, 224, 196, 0.4);
  position: relative;
}
.contact-card::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid var(--rubric);
  opacity: 0.15;
  pointer-events: none;
}
.contact-card .contact-line {
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 0.6rem 0;
  display: flex; justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-card .contact-line + .contact-line {
  border-top: 1px solid var(--stone);
}
.contact-card .label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-card .value { color: var(--ink); }
.contact-card .value a {
  color: var(--lapis);
  text-decoration: none;
  border-bottom: 1px solid var(--stone);
}

/* ——— Site-wide header + footer tweaks
       (applied to the default Twenty Twenty-Five header/footer
       to match the preview aesthetic — leave as-is) ——— */

/* Navigation menu inside header */
header .wp-block-navigation a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: none;
}
header .wp-block-navigation a:hover {
  color: var(--rubric);
}

/* Site title */
.wp-block-site-title a {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ink) !important;
}


/* ============================================================
   FIX — Site Ornaments off-screen positioning
   ============================================================ */

body svg[width="0"],
body svg[height="0"] {
  position: absolute !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* Turn off discretionary ligatures (ct, st, etc.) — keep standard ones (fi, fl) */
body, p, h1, h2, h3, h4, h5, h6, li, blockquote, em, strong, a {
  font-feature-settings: "liga" 1, "dlig" 0, "onum" 1;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE — Symmetrical full-width diptychs
   ═══════════════════════════════════════════════════════════════ */

/* ——— Top section: portrait + opening paragraph only ——— */
.about-layout {
  grid-template-columns: 1fr 3.5fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

/* ——— Egyptian diptych: full-width, portrait-oriented photos ——— */
.egyptian-diptych-wrap {
  max-width: 72rem;
  margin: 3rem auto 2.5rem;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  clear: both;
}

/* ——— American diptych: full-width, landscape-oriented photos ——— */
.american-diptych-wrap {
  max-width: 72rem;
  margin: 3rem auto 2.5rem;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  clear: both;
}

/* ——— Shared diptych panel styling ——— */
.inline-diptych.diptych-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  padding: 1.5rem;
  background: rgba(235, 224, 196, 0.35);
  border-top: 1px solid var(--stone, #c9bca3);
  border-bottom: 1px solid var(--stone, #c9bca3);
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* ——— Diptych photos (shared) ——— */
.diptych-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.diptych-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid var(--stone, #c9bca3);
  box-sizing: border-box;
}

/* Landscape-ratio diptych (American: cousins, Quail Run) */
.inline-diptych.diptych-full .diptych-photo img {
  aspect-ratio: 4 / 3;
  object-position: center center;
}

/* Portrait-ratio diptych override (Egyptian: mother, reliquary) */
.inline-diptych.diptych-portrait .diptych-photo img {
  aspect-ratio: 3 / 4;
  object-position: center center;
}

.diptych-photo figcaption {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft, #4a3c2c);
  text-align: center;
  margin-top: 0.6rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ——— Chanter solo: full-width centered ——— */
.chanter-solo-wrap {
  max-width: 72rem;
  margin: 3rem auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  text-align: center;
  clear: both;
}

.chanter-solo-wrap .inline-photo-solo {
  margin: 0 auto;
  max-width: 36rem;
  text-align: center;
}

.chanter-solo-wrap .inline-photo-solo img {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  display: inline-block;
  border: 1px solid var(--stone, #c9bca3);
  box-shadow: 0 2px 8px rgba(42, 31, 20, 0.12);
  box-sizing: border-box;
}

.chanter-solo-wrap figcaption {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-soft, #4a3c2c);
  text-align: center;
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* ——— Full-width prose blocks ——— */
.prose-full {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  clear: both;
}

.prose-full > p {
  margin-bottom: 1.4rem;
}

/* ——— Oud triptych ——— */
.oud-triptych {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3.5rem auto 4rem;
  max-width: 72rem;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  clear: both;
}

@media (min-width: 760px) {
  .oud-triptych {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.75rem;
  }
}

.oud-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.oud-photo .illum-frame-outer {
  padding: 0;
}

.oud-photo .illum-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

.oud-photo .illum-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.oud-photo .illum-caption {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-soft, #4a3c2c);
  text-align: center;
  margin-top: 0.9rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

/* ——— Continuation prose after triptych ——— */
.prose-continuation {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  clear: both;
}

.prose-continuation > p {
  margin-bottom: 1.4rem;
}

/* ——— CV coda ——— */
.cv-coda {
  margin-top: 2.75rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone, #c9bca3);
  font-size: 0.95rem;
  color: var(--ink-soft, #4a3c2c);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   PUBLICATIONS PAGE
   ═══════════════════════════════════════════════════════════════ */

.publications-page {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.pub-intro {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.pub-intro p {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink-soft, #4a3c2c);
  font-style: italic;
  line-height: 1.6;
}

.pub-section-divider {
  text-align: center;
  margin: 4rem 0 1.5rem;
}

.pub-section-title {
  font-family: 'Cardo', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--rubric, #9b2c2c);
  text-align: center;
  margin: 0 0 2.5rem;
  letter-spacing: 0.02em;
  font-variant: small-caps;
}

/* ——— Book entries ——— */
.pub-entry {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--stone, #c9bca3);
}

.pub-entry:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 760px) {
  .pub-entry--cover-left {
    grid-template-columns: 1fr 2fr;
  }
  .pub-entry--cover-right {
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width: 759px) {
  .pub-entry {
    grid-template-columns: 1fr;
  }
  .pub-entry--cover-right .pub-cover-wrap {
    order: -1;
  }
}

/* ——— Cover figure ——— */
.pub-cover-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-cover-figure {
  margin: 0;
  padding: 0;
}

.pub-cover-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--stone, #c9bca3);
  box-shadow: 0 4px 16px rgba(42, 31, 20, 0.18);
  background: #fff;
}

.pub-cover-figure figcaption {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft, #4a3c2c);
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

/* ——— Placeholder for forthcoming cover ——— */
.pub-cover-placeholder {
  aspect-ratio: 2 / 3;
  width: 100%;
  background: rgba(235, 224, 196, 0.4);
  border: 1px dashed var(--stone, #c9bca3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-family: 'Cardo', serif;
  color: var(--ink-soft, #4a3c2c);
  position: relative;
  gap: 1rem;
  box-sizing: border-box;
}

.pub-cover-placeholder .slot-label {
  position: absolute;
  top: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-style: normal;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: var(--rubric, #9b2c2c);
}

.pub-cover-placeholder .placeholder-title {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink, #2a1f14);
  line-height: 1.35;
}

/* ——— Twin-cover layout for Virginal Birth Books 1 & 2 ——— */
.pub-cover-wrap--twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pub-cover-wrap--twin .pub-cover-figure img {
  box-shadow: 0 3px 10px rgba(42, 31, 20, 0.15);
}

@media (max-width: 759px) {
  .pub-cover-wrap--twin {
    grid-template-columns: 1fr 1fr;
  }
}

/* On larger screens, the twin entry can use a slightly wider cover column */
@media (min-width: 760px) {
  .pub-entry--twin.pub-entry--cover-left {
    grid-template-columns: 1.3fr 2fr;
  }
}

/* ——— Text column ——— */
.pub-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pub-title {
  font-family: 'Cardo', serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ink, #2a1f14);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.005em;
}

.pub-subtitle {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft, #4a3c2c);
  margin: 0;
  line-height: 1.4;
}

.pub-description {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--ink, #2a1f14);
  line-height: 1.65;
  margin: 0.5rem 0 0;
}

.pub-meta {
  font-family: 'EB Garamond', serif;
  font-size: 0.92rem;
  color: var(--ink-faint, #7a6a54);
  margin: 0.5rem 0 0;
  letter-spacing: 0.01em;
}

.pub-access {
  margin: 0.3rem 0 0;
}

.pub-access a {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  color: var(--lapis, #223b6b);
  text-decoration: none;
  border-bottom: 1px solid var(--lapis, #223b6b);
  transition: color 0.2s, border-color 0.2s;
  padding-bottom: 0.1rem;
}

.pub-access a:hover {
  color: var(--rubric, #9b2c2c);
  border-color: var(--rubric, #9b2c2c);
}

.pub-access-pending {
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-faint, #7a6a54);
  margin: 0.3rem 0 0;
}

/* ——— Articles & Chapters ——— */
.pub-articles {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 48rem;
}

.pub-article {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--stone, #c9bca3);
}

.pub-article:last-child {
  border-bottom: none;
}

.pub-article-title {
  font-family: 'Cardo', serif;
  font-size: 1.2rem;
  color: var(--ink, #2a1f14);
  margin: 0 0 0.3rem;
  line-height: 1.35;
}

.pub-article-meta {
  font-family: 'EB Garamond', serif;
  font-size: 0.92rem;
  color: var(--ink-faint, #7a6a54);
  margin: 0 0 0.75rem;
}

.pub-article-description {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--ink, #2a1f14);
  line-height: 1.6;
  margin: 0;
}

/* ——— In Progress ——— */
.pub-in-progress {
  max-width: 48rem;
  margin: 0 auto;
}

.pub-in-progress p {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--ink, #2a1f14);
  line-height: 1.65;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */

.contact-page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  text-align: center;
}

.contact-intro {
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.contact-intro p {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink, #2a1f14);
  font-style: italic;
  line-height: 1.65;
  text-align: center;
}

.contact-divider {
  text-align: center;
  margin: 2rem 0;
}

/* ——— Emails: stacked, clearly labeled ——— */
.contact-emails {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2.5rem auto;
  max-width: 32rem;
}

.contact-email-block {
  text-align: center;
}

.contact-email-label {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 0.88rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  color: var(--rubric, #9b2c2c);
  margin: 0 0 0.4rem;
}

.contact-email-address {
  font-family: 'Cardo', serif;
  font-size: 1.35rem;
  margin: 0;
  line-height: 1.3;
}

.contact-email-address a {
  color: var(--ink, #2a1f14);
  text-decoration: none;
  border-bottom: 1px solid var(--stone, #c9bca3);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

.contact-email-address a:hover {
  color: var(--lapis, #223b6b);
  border-color: var(--lapis, #223b6b);
}

/* ——— Affiliation panel ——— */
.contact-affiliation {
  max-width: 34rem;
  margin: 2.5rem auto 0;
  padding: 1.75rem 2rem;
  background: rgba(235, 224, 196, 0.35);
  border-top: 1px solid var(--stone, #c9bca3);
  border-bottom: 1px solid var(--stone, #c9bca3);
  text-align: center;
}

.affiliation-name {
  font-family: 'Cardo', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink, #2a1f14);
  margin: 0 0 0.75rem;
  letter-spacing: 0.015em;
}

.affiliation-line {
  font-family: 'EB Garamond', serif;
  font-size: 0.98rem;
  color: var(--ink-soft, #4a3c2c);
  margin: 0.3rem 0;
  line-height: 1.45;
  font-style: italic;
}

.affiliation-role {
  margin-top: 1rem !important;
  padding-top: 0.85rem;
  border-top: 1px solid var(--stone, #c9bca3);
}

.affiliation-orcid {
  margin-top: 0.85rem !important;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-faint, #7a6a54);
}

.orcid-label {
  font-variant: small-caps;
  letter-spacing: 0.05em;
  color: var(--rubric, #9b2c2c);
  margin-right: 0.35rem;
}

.affiliation-orcid a {
  color: var(--lapis, #223b6b);
  text-decoration: none;
  border-bottom: 1px solid var(--lapis, #223b6b);
  padding-bottom: 0.1rem;
  font-family: 'EB Garamond', serif;
  letter-spacing: 0.02em;
  transition: color 0.2s, border-color 0.2s;
}

.affiliation-orcid a:hover {
  color: var(--rubric, #9b2c2c);
  border-color: var(--rubric, #9b2c2c);
}

/* ═══════════════════════════════════════════════════════════════
   Hide the theme's auto-rendered page title
   All pages have their own designed titles inside their HTML content
   ═══════════════════════════════════════════════════════════════ */

.wp-block-post-title {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   LORACOPTIC FONT
   Load the Coptic font from Media Library for scriptblock rendering
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'LoraCoptic';
  src: url('https://menabasta.com/wp-content/uploads/2026/04/Lora-Coptic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════
   WRITINGS LANDING PAGE
   ═══════════════════════════════════════════════════════════════ */

.writings-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.writings-intro {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.writings-intro p {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink-soft, #4a3c2c);
  font-style: italic;
  line-height: 1.6;
}

.writings-divider {
  text-align: center;
  margin: 2rem 0 3rem;
}

/* ——— Series block ——— */
.writings-series {
  margin-bottom: 4rem;
}

.series-title {
  font-family: 'Cardo', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--rubric, #9b2c2c);
  font-variant: small-caps;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  text-align: center;
}

.series-description {
  font-family: 'EB Garamond', serif;
  font-size: 0.98rem;
  color: var(--ink-soft, #4a3c2c);
  font-style: italic;
  line-height: 1.6;
  margin: 0 auto 2.5rem;
  max-width: 38rem;
  text-align: center;
}

/* ——— Individual entry card ——— */
.writings-entry {
  padding: 2rem 2.25rem 2.5rem;
  background: rgba(235, 224, 196, 0.3);
  border-top: 1px solid var(--stone, #c9bca3);
  border-bottom: 1px solid var(--stone, #c9bca3);
  margin-bottom: 2rem;
}

.writings-entry-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.writings-entry-title {
  font-family: 'Cardo', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

.writings-entry-title a {
  color: var(--ink, #2a1f14);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  padding-bottom: 0.15rem;
}

.writings-entry-title a:hover {
  color: var(--rubric, #9b2c2c);
  border-color: var(--rubric, #9b2c2c);
}

.writings-entry-meta {
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  color: var(--ink-faint, #7a6a54);
  font-style: italic;
  margin: 0;
  letter-spacing: 0.02em;
}

.writings-entry-pullquote {
  border: none;
  background: none;
  padding: 1rem 1.5rem;
  margin: 0 auto 1.25rem;
  max-width: 32rem;
}

.writings-entry-pullquote p {
  font-family: 'Cardo', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink, #2a1f14);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.writings-entry-readlink {
  text-align: center;
  margin: 0;
}

.writings-entry-readlink a {
  font-family: 'EB Garamond', serif;
  font-size: 0.98rem;
  color: var(--lapis, #223b6b);
  text-decoration: none;
  border-bottom: 1px solid var(--lapis, #223b6b);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.writings-entry-readlink a:hover {
  color: var(--rubric, #9b2c2c);
  border-color: var(--rubric, #9b2c2c);
}

/* ═══════════════════════════════════════════════════════════════
   ESSAY PAGE (individual Writings entries)
   ═══════════════════════════════════════════════════════════════ */

.essay-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

/* ——— Essay header ——— */
.essay-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.essay-series {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 1rem;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: var(--rubric, #9b2c2c);
  margin: 0 0 0.75rem;
}

.essay-title {
  font-family: 'Cardo', serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  color: var(--ink, #2a1f14);
  margin: 0 0 0.85rem;
  line-height: 1.15;
  letter-spacing: 0.005em;
}

.essay-title em {
  font-style: italic;
  color: var(--lapis, #223b6b);
}

.essay-meta {
  font-family: 'EB Garamond', serif;
  font-size: 0.92rem;
  color: var(--ink-faint, #7a6a54);
  font-style: italic;
  margin: 0;
  letter-spacing: 0.02em;
}

.essay-divider {
  text-align: center;
  margin: 2rem 0 2.5rem;
}

/* ——— Essay body prose ——— */
.essay-body {
  font-family: 'EB Garamond', serif;
  font-size: 1.08rem;
  color: var(--ink, #2a1f14);
  line-height: 1.7;
}

.essay-body p {
  margin: 0 0 1.25rem;
}

.essay-body p + p {
  text-indent: 1.5em;
}

.essay-body p.no-indent,
.essay-body p:first-child,
.essay-body .essay-section-title + p,
.essay-body blockquote + p,
.essay-body p.essay-closing {
  text-indent: 0;
}

.essay-body em {
  font-style: italic;
}

/* ——— Section titles within essay ——— */
.essay-section-title {
  font-family: 'Cardo', serif;
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--rubric, #9b2c2c);
  margin: 2.5rem 0 1.25rem;
  text-align: left;
  letter-spacing: 0.01em;
}

/* ——— Essay quote blocks (English) ——— */
.essay-quote {
  border: none;
  border-left: 2px solid var(--stone, #c9bca3);
  background: none;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0 1.75rem;
}

.essay-quote p {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft, #4a3c2c);
  line-height: 1.55;
  margin: 0;
}

/* ——— Script blocks (Hebrew / Greek / Coptic) ——— */
.essay-script {
  border: 1px solid var(--stone, #c9bca3);
  background: rgba(235, 224, 196, 0.25);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0 1.75rem;
  text-align: center;
}

.essay-script p {
  margin: 0;
  line-height: 1.85;
  font-size: 1.3rem;
  text-indent: 0;
}

.essay-script-hebrew p {
  font-family: 'SBL Hebrew', 'Ezra SIL', 'Times New Roman', serif;
  direction: rtl;
  unicode-bidi: embed;
  font-size: 1.5rem;
  line-height: 2;
}

.essay-script-greek p {
  font-family: 'SBL Greek', 'New Athena Unicode', 'EB Garamond', serif;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.essay-script-coptic p {
  font-family: 'LoraCoptic', 'Antinoou', 'New Athena Unicode', serif;
  font-size: 1.5rem;
  line-height: 2;
}

/* ——— Inline script spans (small passages in body text) ——— */
.inline-coptic {
  font-family: 'LoraCoptic', 'Antinoou', serif;
  font-size: 1.05em;
  letter-spacing: 0.01em;
}

.inline-greek {
  font-family: 'SBL Greek', 'New Athena Unicode', 'EB Garamond', serif;
  font-size: 1em;
}

.inline-hebrew {
  font-family: 'SBL Hebrew', 'Ezra SIL', serif;
  direction: rtl;
  unicode-bidi: embed;
}

/* ——— Closing line ——— */
.essay-closing {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft, #4a3c2c);
  text-align: center;
  margin-top: 2.5rem !important;
  letter-spacing: 0.02em;
}

/* ——— Back to Writings link ——— */
.essay-back-link {
  text-align: center;
  margin: 1.5rem 0 1rem;
}

.essay-back-link a {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-soft, #4a3c2c);
  text-decoration: none;
  border-bottom: 1px solid var(--stone, #c9bca3);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.essay-back-link a:hover {
  color: var(--lapis, #223b6b);
  border-color: var(--lapis, #223b6b);
}

/* ——— Transliteration line beneath script blocks ——— */
.essay-script .essay-transliteration {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.94rem;
  color: #6b5a3f;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin: 0.6rem 0 0 0;
  direction: ltr;
  unicode-bidi: isolate;
}