/* ==========================================================================
   Migne JP — Patrologia Latina 日本語対訳
   Shared stylesheet for all volumes/works. Nothing here is Apologeticus-specific.
   ========================================================================== */

:root {
  /* paper & ink */
  --paper:        #fbf9f5;
  --paper-2:      #f4f0e8;
  --paper-3:      #ece6da;
  --ink:          #201d19;
  --ink-2:        #4a443c;
  --ink-3:        #7d746a;
  --ink-4:        #a79d90;
  --rule:         #e2dbcd;
  --rule-2:       #d3c9b6;
  --accent:       #7c2d2d;   /* oxblood — citations, links */
  --accent-soft:  #f0e4e0;
  --gold:         #8a6b2f;
  --hl:           #fdf3d9;   /* search highlight */
  --sel:          #f6efe0;   /* active section */

  --serif-la: "EB Garamond", "Cardo", "Iowan Old Style", "Palatino Linotype",
              Palatino, Georgia, "Times New Roman", serif;
  --serif-ja: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho",
              "YuMincho", "MS PMincho", serif;
  --sans:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
              "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", Arial, sans-serif;

  --measure: 1360px;
  --fs-body: 1.0625rem;
  --lh-la: 1.72;
  --lh-ja: 1.95;
}

html[data-theme="dark"] {
  --paper:       #15130f;
  --paper-2:     #1c1a15;
  --paper-3:     #24211b;
  --ink:         #e9e3d7;
  --ink-2:       #c5bdb0;
  --ink-3:       #968d80;
  --ink-4:       #6f665b;
  --rule:        #2e2a23;
  --rule-2:      #3c372e;
  --accent:      #c98b7f;
  --accent-soft: #2a201d;
  --gold:        #b99a5c;
  --hl:          #4a3d1c;
  --sel:         #201d16;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }

/* ---------- masthead ---------------------------------------------------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
}
.masthead__inner { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }

.masthead__series {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1.6rem;
}
.masthead__series a { color: inherit; }

.masthead__author {
  font-family: var(--serif-la);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 .5rem;
}
.masthead__title {
  font-family: var(--serif-la);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: .01em;
  line-height: 1.05;
  margin: 0 0 .35rem;
}
.masthead__title-ja {
  font-family: var(--serif-ja);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 400;
  color: var(--ink-2);
  margin: 0 0 1.8rem;
  letter-spacing: .08em;
}
.masthead__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  font-size: .8rem;
  color: var(--ink-3);
}
.masthead__meta dt {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 .25rem;
}
.masthead__meta dd { margin: 0; color: var(--ink-2); font-family: var(--serif-la); font-size: .95rem; }
.masthead__meta div { min-width: 0; }

/* ---------- toolbar ------------------------------------------------------ */

.toolbar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.toolbar__inner {
  display: flex; align-items: center; gap: .75rem;
  min-height: 3.4rem; padding-top: .45rem; padding-bottom: .45rem;
  flex-wrap: wrap;
}
.toolbar__locus {
  font-family: var(--serif-la);
  font-size: .9rem; color: var(--ink-3);
  white-space: nowrap; min-width: 8.5rem;
}
.toolbar__locus strong { color: var(--ink); font-weight: 500; }
.toolbar__spacer { flex: 1 1 auto; }

.btn {
  font-family: inherit; font-size: .78rem; letter-spacing: .04em;
  color: var(--ink-2); background: transparent;
  border: 1px solid var(--rule-2); border-radius: 2px;
  padding: .42rem .7rem; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--paper-3); color: var(--ink); }
.btn[aria-pressed="true"], .btn.is-active {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.seg { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 2px; overflow: hidden; }
.seg .btn { border: 0; border-radius: 0; border-right: 1px solid var(--rule-2); }
.seg .btn:last-child { border-right: 0; }

.field {
  display: flex; align-items: center; gap: .45rem;
  border: 1px solid var(--rule-2); border-radius: 2px;
  padding: .3rem .6rem; background: var(--paper);
  min-width: 15rem; flex: 0 1 22rem;
}
.field input {
  border: 0; outline: 0; background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: .85rem; width: 100%; padding: .12rem 0;
}
.field input::placeholder { color: var(--ink-4); }
.field svg { flex: 0 0 auto; color: var(--ink-4); }

/* ---------- chapter navigation ------------------------------------------ */

.chapnav { border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.chapnav__inner { display: flex; flex-wrap: wrap; gap: .2rem; padding: .8rem 0; }
.chapnav a {
  font-family: var(--serif-la); font-size: .82rem;
  color: var(--ink-3); padding: .22rem .5rem; border-radius: 2px;
  min-width: 2.6rem; text-align: center;
}
.chapnav a:hover { background: var(--paper-3); color: var(--accent); text-decoration: none; }
.chapnav a.is-current { color: var(--paper); background: var(--ink); }

/* ---------- reading area ------------------------------------------------- */

.reader { padding: clamp(2rem, 5vw, 3.5rem) 0 8rem; }

.colheads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  position: sticky; top: 3.4rem; z-index: 30;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  padding: .55rem 0;
  margin-bottom: 2.5rem;
}
.colheads span {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-4);
}

.chapter { margin: 0 0 clamp(3rem, 7vw, 5.5rem); scroll-margin-top: 7rem; }

.chapter__head {
  display: flex; align-items: baseline; gap: 1rem;
  padding-bottom: .9rem; margin-bottom: 2rem;
  border-bottom: 2px solid var(--ink);
}
.chapter__num {
  font-family: var(--serif-la); font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem); color: var(--ink);
}
.chapter__num-ja { font-family: var(--serif-ja); font-size: .95rem; color: var(--ink-3); }
.chapter__cite {
  margin-left: auto; font-family: var(--serif-la); font-size: .8rem;
  color: var(--ink-4); letter-spacing: .04em; white-space: nowrap;
}

/* the paired row — this IS the synchronisation mechanism */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 1.15rem 0 1.35rem;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 7.5rem;
  position: relative;
  transition: background .35s ease;
}
.pair:last-child { border-bottom: 0; }
.pair.is-active { background: var(--sel); }
.pair.is-target {
  background: var(--accent-soft);
  box-shadow: -0.9rem 0 0 var(--accent-soft), 0.9rem 0 0 var(--accent-soft);
}

.pair__la, .pair__ja { position: relative; min-width: 0; }

.pair__la {
  font-family: var(--serif-la);
  font-size: 1.075rem;
  line-height: var(--lh-la);
  color: var(--ink);
  hyphens: auto;
}
.pair__ja {
  font-family: var(--serif-ja);
  font-size: .965rem;
  line-height: var(--lh-ja);
  color: var(--ink);
  text-align: justify;
  word-break: normal;
  line-break: strict;
}
.pair p { margin: 0 0 .75em; }
.pair p:last-child { margin-bottom: 0; }

/* section number + permalink */
.pair__n {
  position: absolute;
  left: -2.6rem; top: .15rem;
  font-family: var(--serif-la); font-size: .78rem;
  color: var(--ink-4);
  text-decoration: none;
  padding: .1rem .25rem;
  border-radius: 2px;
}
.pair__n:hover { color: var(--accent); background: var(--paper-3); text-decoration: none; }
@media (max-width: 1500px) {
  .pair__n { position: static; float: left; margin: .18rem .5rem 0 0; }
}

.pair__cite {
  font-family: var(--serif-la);
  font-size: .7rem; letter-spacing: .05em;
  color: var(--ink-4);
  margin-top: .55rem;
  display: block;
  opacity: .75;
}
.pair__cite[data-precision="estimated"]::after { content: " ·"; color: var(--gold); }

.badge {
  display: inline-block; vertical-align: 2px;
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .1rem .35rem; margin-left: .5rem;
  border: 1px solid var(--rule-2); border-radius: 2px;
  color: var(--ink-4); font-family: var(--sans);
  cursor: help;
}
.badge--revised { color: var(--accent); border-color: var(--accent); }
.badge--pending { color: var(--gold); border-color: var(--gold); }

.origtrans {
  margin-top: .8rem; padding: .7rem .9rem;
  background: var(--paper-2); border-left: 2px solid var(--rule-2);
  font-family: var(--serif-ja); font-size: .875rem; line-height: 1.85;
  color: var(--ink-3);
}
.origtrans__label {
  display: block; font-family: var(--sans);
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: .4rem;
}
.origtrans__reason { margin-top: .55rem; font-size: .82rem; color: var(--ink-3); }
[hidden] { display: none !important; }

/* view modes */
body[data-view="la"] .pair { grid-template-columns: 1fr; }
body[data-view="la"] .pair__ja, body[data-view="la"] .colheads span:last-child { display: none; }
body[data-view="ja"] .pair { grid-template-columns: 1fr; }
body[data-view="ja"] .pair__la, body[data-view="ja"] .colheads span:first-child { display: none; }
body[data-view="la"] .colheads, body[data-view="ja"] .colheads { grid-template-columns: 1fr; }

/* type scale */
body[data-size="l"]  { --fs-body: 1.125rem; }
body[data-size="l"]  .pair__la { font-size: 1.19rem; }
body[data-size="l"]  .pair__ja { font-size: 1.06rem; }
body[data-size="xl"] { --fs-body: 1.2rem; }
body[data-size="xl"] .pair__la { font-size: 1.32rem; }
body[data-size="xl"] .pair__ja { font-size: 1.16rem; }

/* ---------- search panel ------------------------------------------------- */

.search {
  position: fixed; inset: 0; z-index: 80;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: clamp(1rem, 5vh, 4rem) 0 6rem;
}
.search[hidden] { display: none; }
.search__bar { display: flex; gap: .75rem; align-items: center; margin-bottom: 1.5rem; }
.search__bar .field { flex: 1 1 auto; min-width: 0; }
.search__count {
  font-size: .78rem; color: var(--ink-3); margin-bottom: 1.6rem;
  padding-bottom: .8rem; border-bottom: 1px solid var(--rule);
}
.hit { display: block; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); color: inherit; }
a.hit:hover { text-decoration: none; background: var(--paper-2); }
.hit__head {
  display: flex; gap: .9rem; align-items: baseline;
  font-family: var(--serif-la); font-size: .8rem; color: var(--ink-3);
  margin-bottom: .5rem;
}
.hit__ref { color: var(--accent); font-weight: 500; }
.hit__body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.hit__la { font-family: var(--serif-la); font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.hit__ja { font-family: var(--serif-ja); font-size: .88rem; line-height: 1.8; color: var(--ink-2); }
mark { background: var(--hl); color: inherit; padding: 0 .1em; border-radius: 1px; }

.search__empty { color: var(--ink-3); font-size: .9rem; padding: 2rem 0; }
.search__hint { color: var(--ink-4); font-size: .8rem; margin-top: .6rem; }

/* ---------- footer ------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--rule); background: var(--paper-2);
  padding: 3rem 0 4rem; font-size: .8rem; color: var(--ink-3);
}
.footer h2 {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 .8rem; font-weight: 500;
}
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.footer p { margin: 0 0 .6rem; line-height: 1.7; }
.footer ul { margin: 0; padding-left: 1.1rem; line-height: 1.8; }

/* ---------- responsive --------------------------------------------------- */

@media (max-width: 900px) {
  .colheads { display: none; }
  .pair {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.4rem 0 1.6rem;
  }
  .pair__ja {
    padding-top: 1rem;
    border-top: 1px dotted var(--rule-2);
  }
  body[data-view="la"] .pair__ja, body[data-view="ja"] .pair__la { display: none; }
  body[data-view="la"] .pair__la, body[data-view="ja"] .pair__ja { border-top: 0; padding-top: 0; }
  .hit__body { grid-template-columns: 1fr; gap: .7rem; }
  /* one scrollable row instead of a wrapping block that eats the viewport */
  .toolbar__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-height: 2.9rem;
  }
  .toolbar__inner::-webkit-scrollbar { display: none; }
  .toolbar__locus {
    font-size: .76rem;
    position: sticky; left: 0; z-index: 3;
    background: var(--paper);
    padding-right: .7rem;
    max-width: 8.5rem; min-width: 0;
    overflow: hidden; text-overflow: ellipsis;
  }
  .toolbar__spacer { flex: 0 0 .4rem; }
  .btn { padding: .38rem .6rem; font-size: .74rem; }
  .field { min-width: 0; flex: 1 1 100%; order: 10; }
  .chapnav__inner { max-height: 6.4rem; overflow-y: auto; }
}

@media print {
  .toolbar, .chapnav, .search, .footer, .pair__n { display: none !important; }
  body { background: #fff; }
  .pair { break-inside: avoid; }
}

/* ==========================================================================
   Page furniture introduced by the multi-page build: compact chapter headers,
   index cards, tables of contents, the translation notice, and the pager.
   ========================================================================== */

.pagehead {
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  padding: clamp(1.6rem, 4vw, 2.6rem) 0 clamp(1.2rem, 3vw, 1.8rem);
}
.pagehead__crumbs {
  margin: 0 0 1rem; font-size: .72rem; letter-spacing: .1em;
  color: var(--ink-4); text-transform: uppercase;
}
.pagehead__crumbs a { color: var(--ink-3); }
.pagehead__title {
  font-family: var(--serif-la); font-style: italic; font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 .4rem;
}
.pagehead__title-ja {
  font-family: var(--serif-ja); font-style: normal; font-weight: 400;
  font-size: .5em; color: var(--ink-3); margin-left: .8rem; letter-spacing: .06em;
}
.pagehead__meta { margin: 0; font-size: .82rem; color: var(--ink-3); font-family: var(--serif-la); }
.pagehead__meta code { font-family: var(--sans); font-size: .95em; }

/* translation disclosure ---------------------------------------------------- */
.notice {
  border: 1px solid var(--rule-2);
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  padding: 1.4rem 1.6rem; margin: 0 0 3rem;
  border-radius: 2px;
}
.notice__head {
  font-family: var(--serif-ja); font-size: 1rem; font-weight: 500;
  margin: 0 0 .8rem; color: var(--ink); letter-spacing: .04em;
}
.notice p { margin: 0 0 .7rem; font-size: .88rem; line-height: 1.9; color: var(--ink-2); font-family: var(--serif-ja); }
.notice p:last-child { margin-bottom: 0; }
.notice--compact { margin-bottom: 2.5rem; }
.notice--compact p { font-size: .85rem; }

/* provenance ---------------------------------------------------------------- */
.prov { margin: 0 0 3rem; }
.prov h2, .toc__head, .prose h2 {
  font-family: var(--serif-la); font-size: 1.1rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 1.1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--rule);
}
.prov dl { margin: 0; display: grid; gap: .8rem; }
.prov dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; }
.prov dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); padding-top: .2rem; }
.prov dd { margin: 0; font-size: .9rem; color: var(--ink-2); font-family: var(--serif-la); line-height: 1.6; }
.prov__note { margin: 1rem 0 0; font-size: .8rem; color: var(--ink-3); line-height: 1.8; }
.prov__table { width: 100%; border-collapse: collapse; font-size: .82rem; margin: 0 0 1.2rem; }
.prov__table th, .prov__table td {
  text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--rule);
  vertical-align: top; color: var(--ink-2);
}
.prov__table th { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; }

/* table of contents --------------------------------------------------------- */
.toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 2rem; }
.toc__item {
  display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: baseline;
  padding: .62rem .3rem; border-bottom: 1px solid var(--rule); color: inherit;
}
.toc__item:hover { background: var(--paper-2); text-decoration: none; }
.toc__num { font-family: var(--serif-la); font-style: italic; font-size: .95rem; color: var(--ink); min-width: 5.2rem; }
.toc__ja { font-family: var(--serif-ja); font-size: .78rem; color: var(--ink-4); }
.toc__cite { font-family: var(--serif-la); font-size: .72rem; color: var(--ink-4); }
.toc__n { font-size: .7rem; color: var(--ink-4); }
.toc__foot { margin: 2.5rem 0 0; font-size: .85rem; color: var(--ink-3); }

/* index cards --------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.card {
  display: block; padding: 1.3rem 1.4rem; border: 1px solid var(--rule);
  border-radius: 2px; background: var(--paper-2); color: inherit;
  transition: border-color .15s, background .15s;
}
.card:hover { border-color: var(--rule-2); background: var(--paper-3); text-decoration: none; }
.card__title { display: block; font-family: var(--serif-la); font-style: italic; font-size: 1.25rem; margin-bottom: .35rem; }
.card__sub { display: block; font-family: var(--serif-ja); font-size: .84rem; color: var(--ink-2); margin-bottom: .5rem; }
.card__meta { display: block; font-family: var(--serif-la); font-size: .74rem; color: var(--ink-4); }

/* pager --------------------------------------------------------------------- */
.pager { border-top: 1px solid var(--rule); background: var(--paper-2); }
.pager__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; }
.pager a { font-family: var(--serif-la); font-size: 1rem; color: var(--ink-2); }
.pager a span { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: .2rem; }
.pager__next { text-align: right; }
.pager__up { font-size: .8rem; color: var(--ink-3); }

/* prose (about page) --------------------------------------------------------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.8rem; }
.prose p { font-family: var(--serif-ja); font-size: .92rem; line-height: 2; color: var(--ink-2); margin: 0 0 1rem; }

/* search filters ------------------------------------------------------------- */
.search__filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.search__filters .btn { font-size: .72rem; }
/* Result excerpts mix Latin and Japanese in one run, so the stack lists the
   Latin serif first and the Japanese serif behind it. */
.hit__excerpt, .hit__sub {
  font-family: var(--serif-la), var(--serif-ja);
  font-size: .92rem; line-height: 1.85; color: var(--ink-2);
}
.hit__sub {
  display: block; padding: .45rem 0 .45rem .9rem;
  border-left: 2px solid var(--rule); margin-top: .5rem;
  color: var(--ink-2); text-decoration: none;
}
.hit__sub:hover { border-left-color: var(--accent); background: var(--paper-2); text-decoration: none; }
.hit__head { text-decoration: none; }
.hit__head:hover .hit__ref { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .prov dl div { grid-template-columns: 1fr; gap: .2rem; }
  .toc { grid-template-columns: 1fr; }
  .pagehead__title-ja { display: block; margin: .3rem 0 0; }
}

/* Visually hidden section headings: the anchor target for permalinks and the
   unit Pagefind uses to build section-level search results. Absolutely
   positioned so it consumes no grid cell inside .pair. */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
  scroll-margin-top: 7.5rem;
}

/* ==========================================================================
   Greek (Patrologia Graeca and Second Temple texts).
   Declared now so that adding PG is a data change, not a restyling job.
   ========================================================================== */

:root {
  --serif-grc: "GFS Didot", "New Athena Unicode", "Gentium Plus",
               "Palatino Linotype", Palatino, "EB Garamond", Georgia, serif;
}

[lang="grc"], [lang="grc-x-koine"], .pair__grc {
  font-family: var(--serif-grc);
  font-size: 1.06rem;
  line-height: 1.8;
  /* Polytonic Greek sits low and needs a little more room for breathings
     and circumflexes than the Latin face does. */
  font-feature-settings: "kern" 1, "liga" 1;
}
body[data-size="l"]  [lang="grc"] { font-size: 1.18rem; }
body[data-size="xl"] [lang="grc"] { font-size: 1.30rem; }
