/* ==========================================================================
   PGT Online — The Pillar & Ground of Truth
   Reader styles: masthead, issues, article typography, rendered body blocks,
   comments, and print. Mobile first; breakpoints 768px / 1024px.
   ========================================================================== */

:root {
  --pgt-navy: #1a3a5c;
  --pgt-navy-dark: #0f2640;
  --pgt-gold: #b08d57;          /* rules and ornaments */
  --pgt-gold-ink: #85662f;      /* gold for text (AA on paper) */
  --pgt-gold-wash: #f3ead8;
  --pgt-paper: #faf8f3;
  --pgt-paper-deep: #f3efe6;
  --pgt-white: #fff;
  --pgt-ink: #1f2328;
  --pgt-muted: #5f6670;
  --pgt-rule: #e6e0d4;
  --pgt-rule-strong: #d6cdbb;
  --pgt-danger: #a23b2a;

  --pgt-f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --pgt-f-body: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --pgt-f-ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --pgt-nav-h: 3.5rem;          /* fixed site navbar (siteB5.css) */
  --pgt-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1400px) { :root { --pgt-nav-h: 5rem; } }

html { scroll-padding-top: calc(var(--pgt-nav-h) + 1rem); }

/* --------------------------------------------------------------------------
   Page frame
   -------------------------------------------------------------------------- */
.pgt {
  background: var(--pgt-paper);
  color: var(--pgt-ink);
  font-family: var(--pgt-f-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;              /* belt and braces: never scroll sideways */
  padding-bottom: 3.5rem;
}
.pgt *, .pgt *::before, .pgt *::after { box-sizing: border-box; }
.pgt img { max-width: 100%; height: auto; }
.pgt a { color: var(--pgt-navy); text-decoration-color: color-mix(in srgb, var(--pgt-gold) 70%, transparent); text-underline-offset: .18em; }
.pgt a:hover { color: var(--pgt-navy-dark); text-decoration-color: var(--pgt-gold); }
.pgt :focus-visible { outline: 2px solid var(--pgt-gold); outline-offset: 3px; border-radius: 2px; }
.pgt h1, .pgt h2, .pgt h3, .pgt h4 { color: var(--pgt-navy); }

.pgt-wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.pgt-col  { width: min(100% - 2rem, 42rem); margin-inline: auto; }
.pgt-col--wide { width: min(100% - 2rem, 50rem); }

/* Small caps kicker: "Article · Volume 2 · Issue 2" */
.pgt-kicker {
  font-family: var(--pgt-f-ui);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pgt-gold-ink);
  margin: 0 0 .9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .6rem;
}
.pgt-kicker > * + *::before { content: "·"; margin-right: .6rem; color: var(--pgt-gold); }
.pgt-kicker a { color: inherit; text-decoration: none; }
.pgt-kicker a:hover { color: var(--pgt-navy); text-decoration: underline; }

/* Section heading with gold hairline running to the edge */
.pgt-section-h {
  font-family: var(--pgt-f-ui);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pgt-gold-ink) !important;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.25rem;
}
.pgt-section-h::after { content: ""; flex: 1; height: 1px; background: var(--pgt-gold); opacity: .55; }
.pgt-section-h--tight { margin: 2rem 0 .25rem; }

.pgt-lock {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--pgt-f-ui);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pgt-navy);
  background: var(--pgt-gold-wash);
  border-radius: 999px;
  padding: .12rem .5rem .12rem .45rem;
  white-space: nowrap;
  line-height: 1.4;
}
.pgt-lock i { font-size: .62rem; color: var(--pgt-gold-ink); }
.pgt-kicker .pgt-lock { letter-spacing: .06em; }
.pgt-kicker > .pgt-lock::before { content: none; }

.pgt-muted-note { font-family: var(--pgt-f-ui); font-size: .9rem; color: var(--pgt-muted); }

/* Buttons */
.pgt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.5rem;
  padding: .55rem 1.2rem;
  font-family: var(--pgt-f-ui);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  color: #fff !important;
  background: var(--pgt-navy);
  border: 1px solid var(--pgt-navy);
  border-radius: 999px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .15s var(--pgt-ease), box-shadow .15s var(--pgt-ease), transform .15s var(--pgt-ease);
}
.pgt-btn:hover { background: var(--pgt-navy-dark); box-shadow: 0 6px 18px -8px rgba(15, 38, 64, .55); }
.pgt-btn:active { transform: translateY(1px); }
.pgt-btn:disabled, .pgt-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pgt-btn--lg { min-height: 2.9rem; padding: .7rem 1.5rem; font-size: .95rem; }
.pgt-btn--sm { min-height: 2.1rem; padding: .35rem .95rem; font-size: .8rem; }
.pgt-btn--ghost { background: transparent; color: var(--pgt-navy) !important; border-color: var(--pgt-rule-strong); }
.pgt-btn--ghost:hover { background: var(--pgt-white); border-color: var(--pgt-navy); }
.pgt-btn--danger { background: var(--pgt-danger); border-color: var(--pgt-danger); }
.pgt-btn--danger:hover { background: #82291b; }
.pgt-btn i { font-size: .85em; }

/* --------------------------------------------------------------------------
   Wordmark (shared by masthead, band and mini covers)
   -------------------------------------------------------------------------- */
.pgt-wordmark { display: inline-flex; flex-direction: column; align-items: center; font-family: var(--pgt-f-display); line-height: .9; color: var(--pgt-navy); }
.pgt-wordmark__the { font-style: italic; font-weight: 500; font-size: .8rem; color: var(--pgt-gold-ink); align-self: flex-start; margin-left: .1rem; }
.pgt-wordmark__pg { font-variant: small-caps; font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; white-space: nowrap; }
.pgt-wordmark__amp { font-style: italic; font-weight: 500; color: var(--pgt-gold); font-size: .75em; margin: 0 .12em; font-variant: normal; }
.pgt-wordmark__of { font-weight: 600; font-size: .52rem; letter-spacing: .42em; text-transform: uppercase; color: var(--pgt-muted); margin-top: .2rem; padding-left: .42em; }

/* --------------------------------------------------------------------------
   Home masthead
   -------------------------------------------------------------------------- */
.pgt-masthead {
  text-align: center;
  padding: 2.75rem 0 2.25rem;
  background:
    radial-gradient(120% 80% at 50% 0%, #fff 0%, rgba(255, 255, 255, 0) 70%),
    var(--pgt-paper);
  border-bottom: 1px solid var(--pgt-rule);
}
.pgt-masthead__title { margin: 0; font-family: var(--pgt-f-display); line-height: .86; color: var(--pgt-navy); }
.pgt-mh-the {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 4.5vw, 2rem);
  color: var(--pgt-gold-ink);
  margin-bottom: .1em;
}
.pgt-mh-pg {
  display: block;
  font-variant: small-caps;
  font-weight: 700;
  font-size: clamp(2.5rem, 11.5vw, 5.75rem);
  letter-spacing: .005em;
}
.pgt-mh-amp { font-style: italic; font-weight: 500; font-variant: normal; color: var(--pgt-gold); font-size: .7em; margin: 0 .14em; }
.pgt-mh-of {
  display: block;
  font-weight: 600;
  font-size: clamp(.78rem, 2.6vw, 1.1rem);
  letter-spacing: .55em;
  padding-left: .55em;
  text-transform: uppercase;
  color: var(--pgt-muted);
  margin-top: .65em;
}
.pgt-rule-double {
  width: min(32rem, 82%);
  height: 4px;
  margin: 1.5rem auto 1.1rem;
  border-top: 1px solid var(--pgt-gold);
  border-bottom: 1px solid var(--pgt-gold);
}
.pgt-strap {
  font-family: var(--pgt-f-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pgt-muted);
  margin: 0 0 .9rem;
}
.pgt-verse { margin: 0 auto 1.75rem; max-width: 30rem; font-style: italic; color: #4a515a; font-size: 1rem; line-height: 1.5; }
.pgt-verse__text { display: block; text-wrap: balance; }
.pgt-verse__ref {
  display: block;
  margin-top: .35rem;
  font-style: normal;
  font-family: var(--pgt-f-ui);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pgt-gold-ink);
}
.pgt-staff-link { margin: 1rem 0 0; font-family: var(--pgt-f-ui); font-size: .8rem; }

/* Search box */
.pgt-search {
  display: flex;
  align-items: center;
  width: min(100%, 28rem);
  margin: 0 auto;
  background: var(--pgt-white);
  border: 1px solid var(--pgt-rule-strong);
  border-radius: 999px;
  padding: .25rem;
  transition: border-color .15s, box-shadow .15s;
}
.pgt-search:focus-within { border-color: var(--pgt-navy); box-shadow: 0 0 0 3px rgba(176, 141, 87, .25); }
.pgt-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .5rem .9rem;
  font-family: var(--pgt-f-ui);
  font-size: 1rem;              /* >= 16px: no iOS zoom */
  color: var(--pgt-ink);
}
.pgt-search__input:focus { outline: none; }
.pgt-search__input::placeholder { color: #8b9098; }
.pgt-search__btn {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 0;
  background: var(--pgt-navy);
  color: #fff;
  cursor: pointer;
}
.pgt-search__btn:hover { background: var(--pgt-navy-dark); }

/* Empty state */
.pgt-empty { text-align: center; padding: 4rem 0 3rem; }
.pgt-empty__orn { font-size: 1.75rem; color: var(--pgt-gold); margin: 0 0 .75rem; }
.pgt-empty__text { font-family: var(--pgt-f-display); font-size: clamp(1.6rem, 5vw, 2.2rem); font-style: italic; color: var(--pgt-navy); margin: 0 0 .25rem; }
.pgt-empty__sub { font-family: var(--pgt-f-ui); color: var(--pgt-muted); font-size: .9rem; }

/* --------------------------------------------------------------------------
   Mini cover ("sheet") — a printed cover in miniature
   -------------------------------------------------------------------------- */
.pgt-sheet-box { container-type: inline-size; width: 100%; }
.pgt-sheet {
  aspect-ratio: 1 / 1.38;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pgt-rule);
  padding: 7% 7% 5%;
  padding: 7cqi 7cqi 5cqi;
  box-shadow: 0 1px 2px rgba(15, 38, 64, .06), 0 18px 34px -18px rgba(15, 38, 64, .38);
  color: var(--pgt-navy);
  transition: transform .25s var(--pgt-ease), box-shadow .25s var(--pgt-ease);
}
.pgt-sheet__mast { display: flex; flex-direction: column; align-items: center; font-family: var(--pgt-f-display); line-height: .88; }
.pgt-sheet__the { align-self: flex-start; margin-left: 12%; font-style: italic; font-weight: 500; font-size: .8rem; font-size: 6.5cqi; color: var(--pgt-gold-ink); }
.pgt-sheet__pg { font-variant: small-caps; font-weight: 700; font-size: 1.5rem; font-size: 12.5cqi; white-space: nowrap; }
.pgt-sheet__amp { font-style: italic; font-weight: 500; font-variant: normal; color: var(--pgt-gold); font-size: .7em; margin: 0 .1em; }
.pgt-sheet__of { font-weight: 600; font-size: .5rem; font-size: 4cqi; letter-spacing: .45em; padding-left: .45em; text-transform: uppercase; color: var(--pgt-muted); margin-top: .4em; }
.pgt-sheet__img {
  flex: 1;
  min-height: 0;
  margin: 6% 0 4%;
  margin: 6cqi 0 4cqi;
  border-top: 1px solid var(--pgt-ink);
  padding-top: 3%;
  padding-top: 3cqi;
  overflow: hidden;
}
.pgt-sheet__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pgt-sheet__blank {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--pgt-gold);
  font-size: 2rem;
  font-size: 14cqi;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(160deg, var(--pgt-navy) 0%, var(--pgt-navy-dark) 100%);
}
.pgt-sheet__foot {
  display: flex;
  justify-content: space-between;
  gap: .5em;
  font-family: var(--pgt-f-ui);
  font-size: .55rem;
  font-size: 3.6cqi;
  font-weight: 500;
  color: var(--pgt-muted);
  white-space: nowrap;
  overflow: hidden;
}
.pgt-sheet__foot span:first-child { font-weight: 600; color: var(--pgt-navy); text-overflow: ellipsis; overflow: hidden; }

/* --------------------------------------------------------------------------
   Home: latest issue feature
   -------------------------------------------------------------------------- */
.pgt-feature { padding: 2.75rem 0 1rem; }
.pgt-feature__grid { display: grid; gap: 2.25rem; }
.pgt-feature__cover { width: min(100%, 20rem); margin-inline: auto; }
.pgt-feature__sheet { display: block; text-decoration: none !important; color: inherit !important; }
.pgt-feature__sheet:hover .pgt-sheet { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 1px 2px rgba(15, 38, 64, .06), 0 26px 40px -20px rgba(15, 38, 64, .45); }
.pgt-feature__caption {
  margin: 1rem 0 0;
  font-style: italic;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--pgt-muted);
  text-align: center;
  text-wrap: balance;
}
.pgt-feature__title {
  font-family: var(--pgt-f-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.02;
  margin: 0 0 .5rem;
  text-wrap: balance;
}
.pgt-feature__title a { color: var(--pgt-navy); text-decoration: none; }
.pgt-feature__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.pgt-feature__meta { font-family: var(--pgt-f-ui); font-size: .85rem; color: var(--pgt-muted); margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0 .6rem; }
.pgt-feature__meta span + span::before { content: "·"; margin-right: .6rem; color: var(--pgt-gold); }
.pgt-feature__summary { font-size: 1.075rem; line-height: 1.6; color: #3a4048; margin: 0 0 .5rem; max-width: 36rem; }
.pgt-feature__body .pgt-btn { margin-top: 1.75rem; }

@media (min-width: 768px) {
  .pgt-feature { padding-top: 3.75rem; }
  .pgt-feature__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
  .pgt-feature__cover { width: 100%; max-width: 22rem; position: sticky; top: calc(var(--pgt-nav-h) + 1.5rem); }
}

/* --------------------------------------------------------------------------
   Contents list (TOC)
   -------------------------------------------------------------------------- */
.pgt-toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pgt-rule); }
.pgt-toc__item { border-bottom: 1px solid var(--pgt-rule); }
.pgt-toc__link {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0 .9rem;
  padding: 1.1rem .25rem 1.15rem 0;
  color: inherit !important;
  text-decoration: none !important;
  transition: background-color .15s;
}
.pgt-toc__link:hover { background: linear-gradient(90deg, rgba(176, 141, 87, .07), transparent 80%); }
.pgt-toc__no {
  font-family: var(--pgt-f-display);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--pgt-gold);
  font-variant-numeric: lining-nums tabular-nums;
  padding-top: .1rem;
}
.pgt-toc__main { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.pgt-toc__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-family: var(--pgt-f-ui);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pgt-gold-ink);
}
.pgt-toc__title {
  font-family: var(--pgt-f-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.12;
  color: var(--pgt-navy);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.pgt-toc__link:hover .pgt-toc__title { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--pgt-gold); text-underline-offset: .15em; }
.pgt-toc__sub { font-style: italic; color: #4a515a; font-size: 1rem; line-height: 1.4; }
.pgt-toc__by { display: flex; flex-wrap: wrap; gap: 0 .55rem; font-family: var(--pgt-f-ui); font-size: .8rem; color: var(--pgt-muted); margin-top: .15rem; }
.pgt-toc__by > span + span::before { content: "·"; margin-right: .55rem; color: var(--pgt-gold); }
.pgt-toc__time i { font-size: .9em; }
.pgt-toc__excerpt { font-size: .97rem; line-height: 1.55; color: #454b53; margin-top: .4rem; }
.pgt-toc--compact .pgt-toc__link { padding: .8rem 0 .85rem; grid-template-columns: 2.1rem minmax(0, 1fr); }
.pgt-toc--compact .pgt-toc__no { font-size: 1.35rem; }
.pgt-toc--compact .pgt-toc__title { font-size: 1.22rem; }

@media (min-width: 768px) {
  .pgt-toc:not(.pgt-toc--compact) .pgt-toc__link { grid-template-columns: 4rem minmax(0, 1fr); padding: 1.5rem .5rem 1.55rem 0; }
  .pgt-toc:not(.pgt-toc--compact) .pgt-toc__no { font-size: 2.6rem; }
  .pgt-toc:not(.pgt-toc--compact) .pgt-toc__title { font-size: 1.75rem; }
}

/* --------------------------------------------------------------------------
   Home: past issues shelf
   -------------------------------------------------------------------------- */
.pgt-archive { padding: 3.5rem 0 1rem; }
.pgt-volume + .pgt-volume { margin-top: 2.75rem; }
.pgt-volume__h {
  font-family: var(--pgt-f-display);
  font-weight: 600;
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
}
.pgt-shelf {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
}
@media (min-width: 640px) { .pgt-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.75rem; } }
@media (min-width: 1024px) { .pgt-shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 2.25rem; } }
.pgt-cover { display: block; color: inherit !important; text-decoration: none !important; }
.pgt-cover:hover .pgt-sheet { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(15, 38, 64, .06), 0 26px 40px -20px rgba(15, 38, 64, .45); }
.pgt-cover__meta { display: flex; flex-direction: column; gap: .1rem; margin-top: .9rem; }
.pgt-cover__label { font-family: var(--pgt-f-ui); font-size: .78rem; font-weight: 600; color: var(--pgt-navy); }
.pgt-cover__title { font-family: var(--pgt-f-display); font-size: 1.15rem; font-weight: 600; line-height: 1.15; color: var(--pgt-navy); }
.pgt-cover__date { font-family: var(--pgt-f-ui); font-size: .76rem; color: var(--pgt-muted); }
.pgt-cover:hover .pgt-cover__label { text-decoration: underline; text-decoration-color: var(--pgt-gold); }

/* --------------------------------------------------------------------------
   Band (slim masthead on inner pages)
   -------------------------------------------------------------------------- */
.pgt-band { background: var(--pgt-paper); border-bottom: 1px solid var(--pgt-rule); position: relative; }
.pgt-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--pgt-rule); }
.pgt-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0 .9rem; }
.pgt-band__brand { text-decoration: none !important; flex: none; }
.pgt-band__nav { display: flex; align-items: center; gap: .25rem; font-family: var(--pgt-f-ui); font-size: .8rem; }
.pgt-band__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.25rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  color: var(--pgt-muted) !important;
  text-decoration: none !important;
  font-weight: 500;
}
.pgt-band__link:hover, .pgt-band__link[aria-current="page"] { color: var(--pgt-navy) !important; background: var(--pgt-paper-deep); }
.pgt-band__link--staff { color: var(--pgt-gold-ink) !important; }
@media (max-width: 479px) { .pgt-band__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* --------------------------------------------------------------------------
   Issue page
   -------------------------------------------------------------------------- */
.pgt-issue-hero { padding: 2.5rem 0 2.5rem; border-bottom: 1px solid var(--pgt-rule); background: linear-gradient(180deg, #fff 0%, var(--pgt-paper) 100%); }
.pgt-issue-hero__grid { display: grid; gap: 2rem; }
.pgt-issue-hero__cover { width: min(100%, 17rem); margin-inline: auto; }
.pgt-issue-hero__text { text-align: center; }
.pgt-issue-hero__text .pgt-kicker { justify-content: center; }
.pgt-issue-hero__title { font-family: var(--pgt-f-display); font-weight: 600; font-size: clamp(2.2rem, 7.5vw, 3.75rem); line-height: 1; margin: 0 0 .5rem; text-wrap: balance; }
.pgt-issue-hero__date { font-family: var(--pgt-f-ui); font-size: .9rem; color: var(--pgt-muted); margin: 0 0 1.5rem; letter-spacing: .02em; }
.pgt-issue-hero__verse { margin: 0 auto 1.25rem; max-width: 34rem; padding: 1rem 0; border-top: 1px solid var(--pgt-gold); border-bottom: 1px solid var(--pgt-gold); }
.pgt-issue-hero__verse p { margin: 0; font-style: italic; font-size: 1.02rem; line-height: 1.6; color: #3a4048; text-wrap: pretty; }
.pgt-issue-hero__summary { font-size: 1.05rem; line-height: 1.6; color: #3a4048; max-width: 34rem; margin: 0 auto; }
.pgt-foreword {
  display: grid;
  gap: .15rem;
  margin: 1.75rem auto 0;
  max-width: 34rem;
  padding: 1.1rem 1.25rem;
  background: var(--pgt-white);
  border: 1px solid var(--pgt-rule);
  border-left: 3px solid var(--pgt-gold);
  text-align: left;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow .2s;
}
.pgt-foreword:hover { box-shadow: 0 12px 28px -18px rgba(15, 38, 64, .45); }
.pgt-foreword__label { font-family: var(--pgt-f-ui); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--pgt-gold-ink); }
.pgt-foreword__title { font-family: var(--pgt-f-display); font-size: 1.35rem; font-weight: 600; color: var(--pgt-navy); line-height: 1.15; }
.pgt-foreword__by { font-family: var(--pgt-f-ui); font-size: .8rem; color: var(--pgt-muted); }
.pgt-foreword__go { font-family: var(--pgt-f-ui); font-size: .82rem; font-weight: 500; color: var(--pgt-navy); margin-top: .4rem; display: inline-flex; gap: .45rem; align-items: center; }
@media (min-width: 768px) {
  .pgt-issue-hero { padding: 3.5rem 0; }
  .pgt-issue-hero__grid { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
  .pgt-issue-hero__cover { width: 100%; }
  .pgt-issue-hero__text { text-align: left; }
  .pgt-issue-hero__text .pgt-kicker { justify-content: flex-start; }
  .pgt-issue-hero__verse, .pgt-issue-hero__summary, .pgt-foreword { margin-left: 0; }
}

.pgt-contents { padding: 3rem 0 1rem; }

/* Masthead credits (print style) */
.pgt-credits { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 2px solid var(--pgt-navy); }
.pgt-credits__list { margin: 0; display: grid; gap: .65rem; }
.pgt-credits__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem; }
.pgt-credits dt { font-family: var(--pgt-f-ui); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pgt-navy); }
.pgt-credits dd { margin: 0; font-size: .95rem; color: #3a4048; }
.pgt-credits__name { display: inline; }
.pgt-credits__name + .pgt-credits__name::before { content: ", "; }
@media (min-width: 576px) {
  .pgt-credits__row { grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
  .pgt-credits__name { display: block; }
  .pgt-credits__name + .pgt-credits__name::before { content: none; }
}

/* --------------------------------------------------------------------------
   Pager (prev/next)
   -------------------------------------------------------------------------- */
.pgt-pager { padding: 2.5rem 0 0; }
.pgt-pager__grid { display: grid; gap: .75rem; }
.pgt-pager__link {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--pgt-rule);
  background: var(--pgt-white);
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color .15s, box-shadow .15s;
}
.pgt-pager__link:hover { border-color: var(--pgt-gold); box-shadow: 0 12px 26px -20px rgba(15, 38, 64, .5); }
.pgt-pager__link--next { text-align: right; align-items: flex-end; }
.pgt-pager__dir { font-family: var(--pgt-f-ui); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pgt-gold-ink); }
.pgt-pager__title { font-family: var(--pgt-f-display); font-size: 1.25rem; font-weight: 600; line-height: 1.15; color: var(--pgt-navy); overflow-wrap: break-word; }
.pgt-pager__sub { font-family: var(--pgt-f-ui); font-size: .78rem; color: var(--pgt-muted); }
.pgt-pager__grid > span:empty { display: none; }
@media (min-width: 640px) {
  .pgt-pager__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .pgt-pager__grid > span:empty { display: block; }
}
.pgt-back { text-align: center; margin: 1.75rem 0 0; font-family: var(--pgt-f-ui); font-size: .85rem; }
.pgt-back a { text-decoration: none; font-weight: 500; }
.pgt-back a::before { content: "←"; margin-right: .4rem; color: var(--pgt-gold); }

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */
.pgt-ribbon {
  position: sticky;
  top: var(--pgt-nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: repeating-linear-gradient(-45deg, #8a2b1d 0 14px, #9a3324 14px 28px);
  color: #fff;
  font-family: var(--pgt-f-ui);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pgt-article__head { text-align: center; padding: 2.75rem 0 1.75rem; }
.pgt-article__head .pgt-kicker { justify-content: center; }
.pgt-article__title {
  font-family: var(--pgt-f-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 8vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -.005em;
  margin: 0 0 .75rem;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.pgt-article__dek {
  font-style: italic;
  font-size: clamp(1.1rem, 3.4vw, 1.35rem);
  line-height: 1.45;
  color: #4a515a;
  margin: 0 auto;
  max-width: 34rem;
  text-wrap: balance;
}
.pgt-orn { width: 3rem; height: 1px; background: var(--pgt-gold); margin: 1.5rem auto; position: relative; }
.pgt-orn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; background: var(--pgt-gold); transform: translate(-50%, -50%) rotate(45deg); }
.pgt-byline { margin: 0 0 .5rem; display: flex; flex-direction: column; gap: .15rem; align-items: center; }
.pgt-byline__name { font-family: var(--pgt-f-ui); font-weight: 600; font-size: .92rem; color: var(--pgt-ink); letter-spacing: .01em; }
.pgt-byline__note { font-style: italic; font-size: .9rem; color: var(--pgt-muted); max-width: 30rem; text-wrap: balance; }
.pgt-meta { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3rem .6rem; font-family: var(--pgt-f-ui); font-size: .78rem; color: var(--pgt-muted); }
.pgt-meta > span + span::before { content: "·"; margin-right: .6rem; color: var(--pgt-gold); }
.pgt-meta__ref i { color: var(--pgt-gold-ink); }

.pgt-hero-fig { margin: .5rem auto 2.5rem; width: min(100%, 1100px); }
.pgt-hero-fig img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: cover; }
.pgt-hero-fig figcaption { margin-top: .5rem; text-align: right; }
@media (min-width: 1140px) { .pgt-hero-fig { width: 1100px; } }

.pgt-correction {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin: 0 0 2rem;
  padding: .9rem 1.1rem;
  background: var(--pgt-white);
  border: 1px solid var(--pgt-rule);
  border-left: 3px solid var(--pgt-gold);
  font-family: var(--pgt-f-ui);
  font-size: .85rem;
  line-height: 1.5;
  color: #3a4048;
}
.pgt-correction i { color: var(--pgt-gold-ink); margin-top: .2rem; }
.pgt-correction p { margin: 0; }
.pgt-correction strong { color: var(--pgt-navy); font-weight: 600; }

.pgt-end { text-align: center; color: var(--pgt-gold); font-size: 1.1rem; margin: 2.5rem 0 0; clear: both; }

/* Locked (members-only) */
.pgt-standfirst { font-size: 1.15rem; line-height: 1.65; color: #3a4048; margin: 0 0 2rem; position: relative; }
.pgt-locked {
  text-align: center;
  background: var(--pgt-white);
  border: 1px solid var(--pgt-rule);
  border-top: 3px solid var(--pgt-gold);
  padding: 2.25rem 1.5rem 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 20px 40px -32px rgba(15, 38, 64, .5);
}
.pgt-locked__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--pgt-gold-wash);
  color: var(--pgt-gold-ink);
  margin-bottom: 1rem;
}
.pgt-locked__title { font-family: var(--pgt-f-display); font-weight: 600; font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.15; margin: 0 0 .6rem; text-wrap: balance; }
.pgt-locked__text { color: var(--pgt-muted); font-size: 1rem; line-height: 1.55; max-width: 28rem; margin: 0 auto 1.5rem; }

/* --------------------------------------------------------------------------
   Rendered article body (modules/pgt/blocks.js)
   -------------------------------------------------------------------------- */
.pgt-body {
  font-family: var(--pgt-f-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--pgt-ink);
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
@media (min-width: 768px) { .pgt-body { font-size: 1.15rem; line-height: 1.75; hyphens: manual; -webkit-hyphens: manual; } }
.pgt-body::after { content: ""; display: block; clear: both; }

.pgt-body p { margin: 0 0 1.2em; }
.pgt-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--pgt-f-display);
  font-weight: 600;
  font-size: 4.35em;
  line-height: .78;
  margin: .07em .09em 0 0;
  color: var(--pgt-navy);
}
.pgt-body h2, .pgt-body h3, .pgt-body h4 { scroll-margin-top: calc(var(--pgt-nav-h) + 1rem); }
.pgt-body h2 { font-family: var(--pgt-f-display); font-weight: 600; font-size: 1.85em; line-height: 1.12; margin: 2em 0 .55em; text-wrap: balance; }
.pgt-body h3 { font-family: var(--pgt-f-display); font-weight: 600; font-style: italic; font-size: 1.45em; line-height: 1.2; margin: 1.7em 0 .45em; }
.pgt-body h4 { font-family: var(--pgt-f-ui); font-weight: 600; font-size: .78em; letter-spacing: .14em; text-transform: uppercase; color: var(--pgt-gold-ink); margin: 2em 0 .6em; }
.pgt-body a { color: var(--pgt-navy); text-decoration: underline; text-decoration-thickness: 1px; }
.pgt-body b, .pgt-body strong { font-weight: 600; }
.pgt-body mark { background: linear-gradient(transparent 35%, #f2e3bf 35%); padding: 0 .1em; color: inherit; }
.pgt-body code { font-size: .86em; background: var(--pgt-paper-deep); padding: .1em .3em; border-radius: 3px; color: var(--pgt-ink); }
.pgt-body sup, .pgt-body sub { font-size: .7em; line-height: 0; }

.pgt-body .pgt-list { margin: 0 0 1.3em; padding-left: 1.5em; }
.pgt-body .pgt-list .pgt-list, .pgt-body li > ul, .pgt-body li > ol { margin: .35em 0 .35em; }
.pgt-body li { margin: 0 0 .4em; padding-left: .2em; }
.pgt-body li::marker { color: var(--pgt-gold-ink); font-family: var(--pgt-f-ui); font-size: .85em; }
.pgt-body ul.pgt-list li::marker { color: var(--pgt-gold); }

/* Quotes */
.pgt-quote { margin: 1.8em 0; }
.pgt-quote p:last-of-type { margin-bottom: 0; }
.pgt-quote cite {
  display: block;
  margin-top: .65em;
  font-style: normal;
  font-family: var(--pgt-f-ui);
  font-size: .72em;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--pgt-muted);
}
.pgt-quote cite:empty { display: none; }
.pgt-quote cite::before { content: "— "; color: var(--pgt-gold); }
.pgt-quote--block { padding: .15em 0 .15em 1.25em; border-left: 2px solid var(--pgt-gold); color: #343a42; font-size: .97em; }
.pgt-quote--pull {
  position: relative;
  text-align: center;
  margin: 2.4em auto;
  padding: 1.4em 0 1.3em;
  max-width: 34rem;
  font-family: var(--pgt-f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 5vw, 1.9rem);
  line-height: 1.3;
  color: var(--pgt-navy);
  text-wrap: balance;
  clear: both;
}
.pgt-quote--pull::before, .pgt-quote--pull::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 4.5rem;
  height: 1px;
  background: var(--pgt-gold);
  transform: translateX(-50%);
}
.pgt-quote--pull::before { top: 0; }
.pgt-quote--pull::after { bottom: 0; }
.pgt-quote--pull p::before { content: "“"; color: var(--pgt-gold); margin-right: .05em; }
.pgt-quote--pull p:last-of-type::after { content: "”"; color: var(--pgt-gold); margin-left: .05em; }
.pgt-quote--pull cite { font-size: .42em; letter-spacing: .14em; text-transform: uppercase; margin-top: 1em; }
.pgt-quote--pull cite::before { content: none; }

/* Section break ornament */
.pgt-body hr.pgt-divider, hr.pgt-divider {
  border: 0;
  height: auto;
  margin: 2.6em 0;
  background: none;
  opacity: 1;
  color: var(--pgt-gold);
  text-align: center;
  overflow: visible;
  clear: both;
}
hr.pgt-divider::before { content: "◆ ◆ ◆"; display: block; font-size: .55rem; letter-spacing: 1.1em; padding-left: 1.1em; line-height: 1; }

/* Tables */
.pgt-table-wrap { margin: 1.8em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 2px solid var(--pgt-navy); border-bottom: 1px solid var(--pgt-rule-strong); }
.pgt-table { width: 100%; border-collapse: collapse; font-family: var(--pgt-f-ui); font-size: .8em; line-height: 1.45; }
.pgt-table th, .pgt-table td { padding: .65em .8em; border-bottom: 1px solid var(--pgt-rule); text-align: left; vertical-align: top; min-width: 7em; }
.pgt-table thead th { font-weight: 600; font-size: .85em; letter-spacing: .08em; text-transform: uppercase; color: var(--pgt-navy); background: var(--pgt-paper-deep); }
.pgt-table tbody tr:last-child td { border-bottom: 0; }

/* Callout (scripture reading, aside) */
.pgt-callout {
  margin: 2em 0;
  padding: 1.3em 1.4em 1.35em;
  background: var(--pgt-white);
  border: 1px solid var(--pgt-rule);
  border-top: 3px solid var(--pgt-gold);
  clear: both;
}
.pgt-callout__title {
  font-family: var(--pgt-f-ui) !important;
  font-size: .72em !important;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pgt-gold-ink);
  margin: 0 0 .7em !important;
}
.pgt-callout__text { font-size: .95em; line-height: 1.65; color: #343a42; }
.pgt-callout__text p:last-child { margin-bottom: 0; }

/* Figures */
.pgt-figure { margin: 2em 0; }
.pgt-figure img, .pgt-img { display: block; width: 100%; height: auto; background: var(--pgt-paper-deep); }
.pgt-figure figcaption, .pgt-hero-fig figcaption {
  margin-top: .6rem;
  font-family: var(--pgt-f-ui);
  font-size: .78rem;
  line-height: 1.5;
  color: #4a515a;
}
.pgt-caption { color: #3a4048; }
.pgt-credit { color: var(--pgt-muted); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; white-space: normal; }
.pgt-figure--wide figcaption { padding-inline: 0; }

@media (min-width: 900px) {
  .pgt-figure--wide, .pgt-figure--grid {
    margin-left: calc(50% - min(550px, 50vw - 1rem));
    margin-right: calc(50% - min(550px, 50vw - 1rem));
    max-width: none;
  }
  .pgt-figure--wide figcaption, .pgt-figure--grid > figcaption { max-width: 42rem; margin-left: auto; margin-right: auto; }
}
@media (min-width: 768px) {
  .pgt-figure--inset-left, .pgt-figure--inset-right { width: 40%; margin-top: .35em; margin-bottom: 1em; }
  .pgt-figure--inset-left { float: left; margin-right: 1.75em; }
  .pgt-figure--inset-right { float: right; margin-left: 1.75em; }
  .pgt-figure--inset-left figcaption, .pgt-figure--inset-right figcaption { font-size: .72rem; }
}
@media (min-width: 1200px) {
  .pgt-figure--inset-left { margin-left: -4rem; width: calc(40% + 2rem); }
  .pgt-figure--inset-right { margin-right: -4rem; width: calc(40% + 2rem); }
}

/* Multi-image grid */
.pgt-grid { display: grid; gap: .5rem; grid-template-columns: minmax(0, 1fr); }
.pgt-figure--n4 .pgt-grid, .pgt-figure--n5 .pgt-grid, .pgt-figure--n6 .pgt-grid,
.pgt-figure--n7 .pgt-grid, .pgt-figure--n8 .pgt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 480px) { .pgt-figure--n2 .pgt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .pgt-figure--n3 .pgt-grid, .pgt-figure--n5 .pgt-grid, .pgt-figure--n6 .pgt-grid,
  .pgt-figure--n7 .pgt-grid, .pgt-figure--n8 .pgt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pgt-grid__item { margin: 0; min-width: 0; }
.pgt-grid__item .pgt-img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; }
.pgt-grid__caption { margin-top: .35rem; font-family: var(--pgt-f-ui); font-size: .72rem; line-height: 1.45; color: #4a515a; }
.pgt-grid__caption:empty { display: none; }

/* Footnotes */
.pgt-noteref { line-height: 0; }
.pgt-noteref a {
  font-family: var(--pgt-f-ui);
  font-size: .78em;
  font-weight: 600;
  color: var(--pgt-gold-ink) !important;
  text-decoration: none !important;
  padding: 0 .12em;
}
.pgt-noteref a:hover { color: var(--pgt-navy) !important; text-decoration: underline !important; }
.pgt-notes { clear: both; margin-top: 3em; padding-top: 1.25em; border-top: 1px solid var(--pgt-rule-strong); }
.pgt-body .pgt-notes__title, .pgt-notes__title {
  font-family: var(--pgt-f-ui);
  font-size: .7rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pgt-gold-ink);
  margin: 0 0 .9rem;
}
.pgt-notes ol { margin: 0; padding-left: 1.6em; font-size: .82rem; line-height: 1.6; color: #3a4048; }
.pgt-notes li { margin-bottom: .45em; border-radius: 3px; scroll-margin-top: calc(var(--pgt-nav-h) + 2rem); }
.pgt-notes li::marker { font-family: var(--pgt-f-ui); color: var(--pgt-gold-ink); }
.pgt-notes li:target, .pgt-noteref a:target { background: var(--pgt-gold-wash); box-shadow: 0 0 0 .25em var(--pgt-gold-wash); }
.pgt-backref { text-decoration: none !important; margin-left: .25em; color: var(--pgt-gold-ink) !important; }

/* --------------------------------------------------------------------------
   Discussion
   -------------------------------------------------------------------------- */
.pgt-discussion {
  margin-top: 3.5rem;
  padding: 2.75rem 0 1rem;
  background: var(--pgt-white);
  border-top: 1px solid var(--pgt-rule);
  box-shadow: inset 0 3px 0 -2px var(--pgt-rule);
  --av: 28px;
  --indent: 30px;
}
@media (min-width: 768px) { .pgt-discussion { --av: 34px; --indent: 44px; } }
.pgt-discussion__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.pgt-discussion__title { font-family: var(--pgt-f-display); font-weight: 600; font-size: 1.9rem; margin: 0; line-height: 1.1; }
.pgt-discussion__count { color: var(--pgt-muted); font-weight: 500; }
.pgt-sort { display: inline-flex; padding: 3px; background: var(--pgt-paper-deep); border-radius: 999px; font-family: var(--pgt-f-ui); font-size: .78rem; }
.pgt-sort__opt { padding: .35rem .85rem; border-radius: 999px; color: var(--pgt-muted) !important; text-decoration: none !important; font-weight: 500; }
.pgt-sort__opt[aria-current] { background: var(--pgt-white); color: var(--pgt-navy) !important; box-shadow: 0 1px 2px rgba(15, 38, 64, .15); }
.pgt-newnote {
  margin: -.5rem 0 1.25rem;
  font-family: var(--pgt-f-ui);
  font-size: .8rem;
  color: var(--pgt-gold-ink);
}
.pgt-newnote button { background: none; border: 0; padding: 0; color: var(--pgt-navy); text-decoration: underline; font: inherit; cursor: pointer; }

.pgt-join {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.4rem;
  background: var(--pgt-paper);
  border: 1px solid var(--pgt-rule);
}
.pgt-join__text { margin: 0; font-size: 1rem; color: #3a4048; flex: 1 1 14rem; }
.pgt-join__text strong { color: var(--pgt-navy); font-weight: 600; }

/* Composer + inline forms */
.pgt-compose { display: grid; grid-template-columns: var(--av) minmax(0, 1fr); gap: .75rem; margin-bottom: 2rem; }
.pgt-textarea {
  display: block;
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  padding: .75rem .9rem;
  font-family: var(--pgt-f-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--pgt-ink);
  background: var(--pgt-paper);
  border: 1px solid var(--pgt-rule-strong);
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.pgt-textarea:focus { outline: none; background: #fff; border-color: var(--pgt-navy); box-shadow: 0 0 0 3px rgba(176, 141, 87, .25); }
.pgt-textarea--sm { min-height: 2.75rem; }
.pgt-input {
  display: block;
  width: 100%;
  padding: .55rem .8rem;
  font-family: var(--pgt-f-ui);
  font-size: 1rem;
  border: 1px solid var(--pgt-rule-strong);
  border-radius: 8px;
  background: var(--pgt-paper);
}
.pgt-input:focus { outline: none; background: #fff; border-color: var(--pgt-navy); box-shadow: 0 0 0 3px rgba(176, 141, 87, .25); }
.pgt-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: .55rem; }
.pgt-form__hint { font-family: var(--pgt-f-ui); font-size: .74rem; color: var(--pgt-muted); display: inline-flex; gap: .6rem; flex-wrap: wrap; }
.pgt-form__count:empty { display: none; }
.pgt-form__count.is-near { color: var(--pgt-danger); font-weight: 600; }
.pgt-form__btns { display: inline-flex; gap: .4rem; margin-left: auto; }
.pgt-form__error {
  margin: .6rem 0 0;
  padding: .55rem .8rem;
  font-family: var(--pgt-f-ui);
  font-size: .82rem;
  color: #6e2216;
  background: #fbefec;
  border: 1px solid #efcfc7;
  border-radius: 8px;
}
.pgt-form__error a { color: #6e2216; font-weight: 600; }
.pgt-inline { margin: .6rem 0 .5rem; animation: pgt-in .18s var(--pgt-ease); }
.pgt-inline__label { display: block; font-family: var(--pgt-f-ui); font-size: .76rem; font-weight: 500; color: var(--pgt-muted); margin-bottom: .35rem; }
.pgt-inline--confirm { padding: .75rem .9rem; background: #fbefec; border: 1px solid #efcfc7; border-radius: 10px; font-family: var(--pgt-f-ui); font-size: .85rem; color: #6e2216; }
.pgt-inline--confirm p { margin: 0 0 .6rem; }

/* Thread */
.pgt-comment-list { position: relative; }
.pgt-thread-empty { font-style: italic; color: var(--pgt-muted); text-align: center; padding: 1.5rem 0 1rem; border-top: 1px solid var(--pgt-rule); margin: 0; }
.pgt-thread { list-style: none; margin: 0; padding: 0; }
.pgt-comment-list > .pgt-thread > .pgt-c { border-top: 1px solid var(--pgt-rule); padding-top: .35rem; padding-bottom: .5rem; }
.pgt-comment-list > .pgt-thread > .pgt-c:last-child { border-bottom: 1px solid var(--pgt-rule); }
.pgt-c { position: relative; }

.pgt-comment {
  display: grid;
  grid-template-columns: var(--av) minmax(0, 1fr);
  gap: 0 .7rem;
  padding: .8rem .35rem .2rem 0;
  border-radius: 10px;
  scroll-margin-top: calc(var(--pgt-nav-h) + 2rem);
}
.pgt-comment:focus { outline: none; }
.pgt-comment:focus-visible { outline: 2px solid var(--pgt-gold); outline-offset: 2px; }
.pgt-comment:target, .pgt-comment.pgt-flash { animation: pgt-flash 2.4s ease-out; }

.pgt-avatar {
  width: var(--av);
  height: var(--av);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-family: var(--pgt-f-ui);
  font-size: calc(var(--av) * .36);
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  background: var(--pgt-navy);
  user-select: none;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px var(--pgt-white);
}
.pgt-av--1 { background: #85662f; }
.pgt-av--2 { background: #4f6447; }
.pgt-av--3 { background: #7b3f3f; }
.pgt-av--4 { background: #3c5d78; }
.pgt-av--5 { background: #5f4f75; }
.pgt-comment--deleted .pgt-avatar { background: var(--pgt-rule-strong); }

.pgt-comment__main { min-width: 0; }
.pgt-comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .55rem; font-family: var(--pgt-f-ui); font-size: .85rem; line-height: 1.35; min-height: var(--av); padding-top: calc((var(--av) - 1.15rem) / 2); }
.pgt-comment__author { font-weight: 600; color: var(--pgt-ink); }
.pgt-comment__author--gone { font-weight: 500; color: var(--pgt-muted); font-style: italic; }
.pgt-comment__time { font-size: .76rem; color: var(--pgt-muted) !important; text-decoration: none !important; }
.pgt-comment__time:hover { text-decoration: underline !important; }
.pgt-comment__edited { font-size: .74rem; color: var(--pgt-muted); font-style: italic; }
.pgt-comment__edited::before { content: "·"; margin-right: .55rem; font-style: normal; color: var(--pgt-gold); }
.pgt-new {
  display: inline-block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--pgt-gold-ink);
  padding: .1rem .42rem;
  border-radius: 999px;
  align-self: center;
}
.pgt-comment__re { margin: .1rem 0 0; font-family: var(--pgt-f-ui); font-size: .76rem; color: var(--pgt-muted); }
.pgt-comment__re a { font-weight: 500; text-decoration: none; }
.pgt-comment__re a:hover { text-decoration: underline; }
.pgt-comment__body { margin-top: .3rem; font-size: 1rem; line-height: 1.6; color: var(--pgt-ink); overflow-wrap: anywhere; }
.pgt-comment__body p { margin: 0 0 .6em; }
.pgt-comment__body p:last-child { margin-bottom: 0; }
.pgt-comment__body a { word-break: break-word; }
.pgt-comment__placeholder { margin: .3rem 0 .35rem; font-style: italic; color: var(--pgt-muted); font-size: .95rem; }
.pgt-comment--hidden .pgt-comment__body { opacity: .55; }
.pgt-comment__modnote {
  display: inline-block;
  margin: .35rem 0 .1rem;
  padding: .2rem .55rem;
  font-family: var(--pgt-f-ui);
  font-size: .74rem;
  color: #6b4a12;
  background: #fbf1dc;
  border: 1px solid #efdcb2;
  border-radius: 6px;
}

.pgt-comment__actions { display: flex; flex-wrap: wrap; gap: .1rem; margin: .3rem 0 0 -.5rem; }
.pgt-act {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 2rem;
  padding: .25rem .5rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: var(--pgt-f-ui);
  font-size: .76rem;
  font-weight: 500;
  color: var(--pgt-muted);
  cursor: pointer;
  transition: background-color .12s, color .12s;
}
.pgt-act:hover, .pgt-act[aria-expanded="true"] { background: var(--pgt-paper-deep); color: var(--pgt-navy); }
.pgt-act i { font-size: .85em; }
.pgt-act--mod { color: #8a5a12; }

/* Nesting rails: a thin line runs from the parent's avatar down beside its replies */
.pgt-replies { margin-left: var(--indent); position: relative; }
.pgt-rail {
  position: absolute;
  left: 0;
  top: calc(.8rem + var(--av) + .1rem);
  bottom: .4rem;
  width: var(--av);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 0;
}
.pgt-comment-list > .pgt-thread > .pgt-c > .pgt-rail { top: calc(1.15rem + var(--av) + .1rem); }
.pgt-rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--pgt-rule);
  border-radius: 2px;
  transition: background-color .15s, width .15s;
}
.pgt-rail:hover::before, .pgt-rail:focus-visible::before { background: var(--pgt-gold); width: 3px; }
.pgt-rail:focus-visible { outline: none; }
.pgt-rail:hover ~ .pgt-replies > .pgt-thread > .pgt-c::before { border-color: var(--pgt-gold); }
/* Elbow connector from the rail to each reply's avatar */
.pgt-replies > .pgt-thread > .pgt-c::before {
  content: "";
  position: absolute;
  left: calc(var(--indent) * -1 + var(--av) / 2 - 1px);
  top: 0;
  width: calc(var(--indent) - var(--av) / 2 - 2px);
  height: calc(.8rem + var(--av) / 2);
  border-left: 2px solid var(--pgt-rule);
  border-bottom: 2px solid var(--pgt-rule);
  border-bottom-left-radius: 12px;
  pointer-events: none;
  transition: border-color .15s;
}
.pgt-replies.is-collapsed > .pgt-thread { display: none; }
.pgt-collapsed {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: .3rem 0 .6rem;
  padding: .3rem .8rem .3rem .35rem;
  border: 1px solid var(--pgt-rule);
  border-radius: 999px;
  background: var(--pgt-paper);
  font-family: var(--pgt-f-ui);
  font-size: .78rem;
  font-weight: 500;
  color: var(--pgt-navy);
  cursor: pointer;
  max-width: 100%;
  text-align: left;
}
.pgt-collapsed[hidden] { display: none; }
.pgt-collapsed:hover { border-color: var(--pgt-gold); background: #fff; }
.pgt-collapsed__icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--pgt-navy);
  color: #fff;
  font-size: .9rem;
  line-height: 1;
}

/* Toast (non-blocking messages) */
.pgt-toast {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 1080;
  width: max-content;
  max-width: calc(100vw - 2rem);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem .9rem .75rem 1rem;
  font-family: var(--pgt-f-ui);
  font-size: .86rem;
  line-height: 1.45;
  color: #fff;
  background: var(--pgt-navy-dark);
  border-radius: 10px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
  animation: pgt-in .2s var(--pgt-ease);
}
.pgt-toast--error { background: #5c1f15; }
.pgt-toast a { color: #f3dfb6 !important; font-weight: 600; }
.pgt-toast button { flex: none; background: none; border: 0; color: #fff; opacity: .75; font-size: 1.1rem; line-height: 1; padding: 0 .1rem; cursor: pointer; }
.pgt-toast button:hover { opacity: 1; }

/* Visually hidden fallback (Bootstrap provides .visually-hidden too) */
.pgt .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@keyframes pgt-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pgt-toast { animation-name: pgt-toast-in; }
@keyframes pgt-toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes pgt-flash { 0%, 30% { background: var(--pgt-gold-wash); box-shadow: 0 0 0 6px var(--pgt-gold-wash); } 100% { background: transparent; box-shadow: 0 0 0 6px transparent; } }

/* --------------------------------------------------------------------------
   Search page
   -------------------------------------------------------------------------- */
.pgt-search-head { padding: 2.75rem 0 2rem; text-align: center; border-bottom: 1px solid var(--pgt-rule); }
.pgt-search-head__title { font-family: var(--pgt-f-display); font-weight: 600; font-size: clamp(2rem, 7vw, 2.8rem); margin: 0 0 1.25rem; }
.pgt-search--page { width: 100%; max-width: 34rem; }
.pgt-search-head__count { margin: 1rem 0 0; font-family: var(--pgt-f-ui); font-size: .85rem; color: var(--pgt-muted); }
.pgt-search-head__count q { color: var(--pgt-navy); font-weight: 600; quotes: "“" "”"; }
.pgt-results { padding: 1.5rem 0 1rem; }
.pgt-results__list { list-style: none; margin: 0; padding: 0; }
.pgt-result { padding: 1.5rem 0; border-bottom: 1px solid var(--pgt-rule); }
.pgt-result .pgt-kicker { margin-bottom: .4rem; }
.pgt-result__title { font-family: var(--pgt-f-display); font-weight: 600; font-size: 1.55rem; line-height: 1.15; margin: 0 0 .25rem; overflow-wrap: break-word; }
.pgt-result__title a { text-decoration: none; }
.pgt-result__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.pgt-result__by { font-family: var(--pgt-f-ui); font-size: .8rem; color: var(--pgt-muted); margin: 0 0 .5rem; }
.pgt-result__snippet { margin: 0; font-size: .98rem; line-height: 1.6; color: #3a4048; overflow-wrap: break-word; }
.pgt-result__snippet mark, .pgt-result__snippet b { background: linear-gradient(transparent 35%, #f2e3bf 35%); color: inherit; padding: 0 .08em; font-weight: 600; }
.pgt-noresults { text-align: center; padding: 2rem 0; }
.pgt-noresults p { margin: 0 0 .5rem; }
.pgt-noresults > p:nth-child(2) { font-family: var(--pgt-f-display); font-size: 1.6rem; font-style: italic; color: var(--pgt-navy); }
.pgt-noresults__orn { color: var(--pgt-gold); font-size: 1.4rem; }
.pgt-noresults .pgt-btn { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pgt *, .pgt *::before, .pgt *::after, .pgt-toast {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .pgt-cover:hover .pgt-sheet, .pgt-feature__sheet:hover .pgt-sheet { transform: none; }
}

/* --------------------------------------------------------------------------
   Print — articles read like the magazine page
   -------------------------------------------------------------------------- */
@media print {
  @page { margin: 18mm 16mm 20mm; }
  #main-navbar, #main-mobile-navbar, .navbar-submenu, #footer,
  .pgt-band, .pgt-discussion, .pgt-pager, .pgt-back, .pgt-ribbon, .pgt-search,
  .pgt-toast, .pgt-btn, .pgt-staff-link { display: none !important; }
  #main-body { padding-top: 0 !important; }
  html, body { background: #fff !important; }
  .pgt { background: #fff; padding: 0; overflow: visible; color: #000; }
  .pgt-col, .pgt-col--wide, .pgt-wrap { width: 100%; max-width: none; }
  .pgt-article__head { padding: 0 0 8mm; }
  .pgt-article__title { font-size: 26pt; }
  .pgt-article__dek { font-size: 13pt; }
  .pgt-hero-fig { width: 100%; margin: 0 0 6mm; }
  .pgt-hero-fig img { max-height: 9cm; }
  .pgt-body { font-size: 10.5pt; line-height: 1.5; hyphens: auto; color: #000; orphans: 3; widows: 3; }
  .pgt-body h2, .pgt-body h3, .pgt-body h4 { break-after: avoid; page-break-after: avoid; }
  .pgt-figure, .pgt-quote, .pgt-callout, .pgt-table-wrap, .pgt-grid__item { break-inside: avoid; page-break-inside: avoid; }
  .pgt-figure--wide, .pgt-figure--grid { margin-left: 0 !important; margin-right: 0 !important; }
  .pgt-figure--inset-left, .pgt-figure--inset-right { width: 40%; margin-top: 0; }
  .pgt-figure--inset-left { float: left; margin: 0 5mm 3mm 0; }
  .pgt-figure--inset-right { float: right; margin: 0 0 3mm 5mm; }
  .pgt-table-wrap { overflow: visible; }
  .pgt-body a { color: #000; text-decoration: none; }
  .pgt-body p a[href^="http"]::after { content: " (" attr(href) ")"; font-family: var(--pgt-f-ui); font-size: .75em; color: #555; word-break: break-all; }
  .pgt-notes { break-before: auto; }
  .pgt-correction, .pgt-callout, .pgt-locked { background: #fff; }
  .pgt-sheet, .pgt-locked { box-shadow: none; }
  .pgt-end { margin-top: 6mm; }
}
