/* Article pages (/articles/<slug>/). Design picked 2026-11-09 from the mockups in Non-Website/2026.11.09 - Article Page Design Options/.
   Everything is scoped to body.ap so the site-wide rules in style.css and Bootstrap (button height 65px with a sand fill,
   capitalised headings, list bullets, paragraph margins) don't reach in. Colours are the site's own. */

.ap {
  --ap-page: #F3F2EC;
  --ap-card: #FFFEFB;
  --ap-ink: #2f2f2f;
  --ap-body: #575757;
  --ap-text: #666666;
  --ap-label: #6e6e6e;      /* 4.55:1 on the page colour */
  --ap-line: #E2DBCD;
  --ap-dash: #d3c8b6;
  --ap-sand: #C5A992;
  --ap-olive: #74642f;
  --ap-tint: #F4EDE3;
  --ap-icon: #a99f8d;
  --ap-wrong: #a4483a;
  --ap-shadow: 0 1px 2px rgba(120, 96, 70, .05), 0 14px 40px -18px rgba(120, 96, 70, .25);
  --ap-shadow-lift: 0 1px 2px rgba(70, 56, 40, .06), 0 12px 36px rgba(70, 56, 40, .12);
  --ap-serif: "Prata", Georgia, serif;
  --ap-sans: "Raleway", sans-serif;
  --ap-caps: "Jost", sans-serif;
  --ap-read: var(--ap-serif);         /* letters setting */
  --ap-scale: 1;                      /* text size setting */
  --ap-lh: 1.95;                      /* line spacing setting */
  background: var(--ap-page);
  -webkit-font-smoothing: antialiased;
}
/* The article's own parts (not the site footer, which keeps the look it has on every page) */
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl, .ap-toast) { color: var(--ap-text); font-family: var(--ap-sans); font-size: 16px; line-height: 1.7; }
html[data-ap-page="night"] .ap #footer-placeholder { background: #F3F2EC; }
html[data-ap-size="1"] .ap { --ap-scale: .86; }
html[data-ap-size="2"] .ap { --ap-scale: .93; }
html[data-ap-size="4"] .ap { --ap-scale: 1.1; }
html[data-ap-size="5"] .ap { --ap-scale: 1.22; }
html[data-ap-spacing="snug"] .ap { --ap-lh: 1.7; }
html[data-ap-spacing="airy"] .ap { --ap-lh: 2.2; }
html[data-ap-letters="sans"] .ap { --ap-read: var(--ap-sans); }
/* Night page */
html[data-ap-page="night"] .ap {
  --ap-page: #1f1e1c; --ap-card: #2a2926; --ap-ink: #ece7dd; --ap-body: #d6d0c4; --ap-text: #c9c2b5; --ap-label: #b3ab9d;
  --ap-line: #3b3934; --ap-dash: #4a463f; --ap-olive: #cbb68a; --ap-tint: #34312b; --ap-icon: #9b927f; --ap-wrong: #e0897a;
  --ap-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 40px -18px rgba(0, 0, 0, .6);
  --ap-shadow-lift: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 36px rgba(0, 0, 0, .5);
}
html[data-ap-page="night"] { background: #1f1e1c; }

/* ---------- resets against style.css / Bootstrap ---------- */
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) h1, .ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) h2, .ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) h3, .ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) h4 { margin: 0; text-transform: none; color: var(--ap-ink); font-family: var(--ap-serif); font-weight: 400; letter-spacing: 0; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) p { margin: 0; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) ul, .ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) ol { list-style: none; margin: 0; padding: 0; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) li { margin: 0; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) figure { margin: 0; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) img { display: block; max-width: 100%; height: auto; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) a { color: inherit; text-decoration: none; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) a:hover { color: inherit; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) button { height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; font-weight: inherit;
  text-transform: none; letter-spacing: inherit; line-height: inherit; white-space: normal; box-shadow: none; cursor: pointer; z-index: auto; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) button:active { box-shadow: none; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) legend { float: none; width: auto; margin: 0; padding: 0; }
.ap :where(.ap-bar, #ap-main, .ap-aa, .ap-player, .ap-sheet, .ap-hl) mark { padding: 0; }
.ap :focus-visible { outline: 2px solid var(--ap-olive); outline-offset: 2px; }

/* ---------- small type, pills, round buttons ---------- */
.ap .ap-label { font-family: var(--ap-caps); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ap-label); line-height: 1.4; }
.ap .ap-note { font-style: italic; font-size: 13px; color: var(--ap-label); }
.ap .ap-dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--ap-sand); vertical-align: middle; margin: 0 10px; }
.ap .ap-ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* Buttons hover like the navbar "Read Online" button: transparent, sand text and border, never move */
.ap .ap-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ap-caps); font-weight: 500; font-size: 11.5px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--ap-ink); border: 1px solid var(--ap-ink); border-radius: 30px; padding: 6px 13px; line-height: 1.2;
  background: transparent; white-space: nowrap; transition: color .3s ease, border-color .3s ease; }
.ap .ap-pill .ap-ic { width: 15px; height: 15px; }
.ap .ap-pill:hover, .ap .ap-round:hover { color: #c5a992; border-color: #c5a992; background: transparent; }
.ap .ap-pill:disabled { color: #a9a49b; border-color: #cfc8bb; cursor: default; }
.ap .ap-round { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ap-ink); display: inline-flex; align-items: center; justify-content: center;
  color: var(--ap-ink); background: transparent; flex: none; transition: color .3s ease, border-color .3s ease; }
.ap .ap-round .ap-ic { width: 16px; height: 16px; }

.ap .ap-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ap-card); padding: 8px 14px; border-radius: 6px; color: var(--ap-ink); }
.ap .ap-skip:focus { left: 16px; }

/* ---------- top bar ---------- */
.ap .ap-bar { position: sticky; top: 0; z-index: 50; height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 max(24px, calc((100% - 1272px) / 2)); background: var(--ap-page); border-bottom: 1px solid var(--ap-line); }
.ap .ap-logo img { width: 100px; height: 21px; }
html[data-ap-page="night"] .ap .ap-logo img { filter: invert(1) brightness(1.6); }
/* site menu (the links of the site's navbar, smaller) */
.ap .ap-nav { display: flex; align-items: center; justify-content: center; gap: 22px; min-width: 0; }
.ap .ap-nav ul { display: flex; align-items: center; }
.ap .ap-nav ul a { display: block; padding: 8px 11px; font-family: var(--ap-caps); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-label); line-height: 1; white-space: nowrap; transition: color .3s ease; }
.ap .ap-nav ul a:hover { color: #c5a992; }
.ap .ap-nav ul a.ap-cur { color: var(--ap-ink); }
.ap .ap-readonline { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--ap-ink); border-radius: 30px; font-family: var(--ap-caps); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--ap-ink); white-space: nowrap; transition: border-color .3s ease, color .3s ease, background-color .3s ease; }
.ap .ap-readonline:hover { background: transparent; color: #c5a992; border-color: #c5a992; }
.ap .ap-menu-btn { display: none; }
.ap .ap-bar-tools { justify-self: end; display: flex; gap: 10px; align-items: center; }
.ap .ap-bar-tools .ap-round { width: 40px; height: 40px; }
.ap .ap-aa-btn { font-family: var(--ap-serif); font-size: 16px; }
.ap .ap-aa-btn[aria-expanded="true"] { background: var(--ap-ink); color: var(--ap-page); border-color: var(--ap-ink); }
.ap .ap-bar-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.ap .ap-bar-prog span { display: block; height: 100%; width: 0; background: var(--ap-olive); }

/* ---------- cards and the reading-settings panel ---------- */
.ap .ap-card { background: var(--ap-card); border-radius: 8px; box-shadow: var(--ap-shadow); }
.ap .ap-aa { position: fixed; right: max(24px, calc((100% - 1272px) / 2)); top: 80px; width: 330px; padding: 24px 26px; z-index: 60; }
.ap .ap-aa[hidden] { display: none; }
.ap .ap-grp1 + .ap-grp1 { margin-top: 22px; }
.ap .ap-aa .ap-label { margin-bottom: 10px; display: block; }
.ap .ap-slider { display: flex; align-items: center; gap: 14px; }
.ap .ap-slider span { font-family: var(--ap-serif); color: var(--ap-ink); }
.ap .ap-a1 { font-size: 14px; } .ap .ap-a2 { font-size: 24px; }
.ap .ap-slider input { flex: 1; accent-color: var(--ap-ink); }
.ap .ap-seg { display: flex; border: 1px solid var(--ap-ink); border-radius: 30px; padding: 3px; }
.ap .ap-seg label { flex: 1; margin: 0; cursor: pointer; }
.ap .ap-seg input, .ap .ap-sw input { position: absolute; opacity: 0; pointer-events: none; }
.ap .ap-seg span { display: block; text-align: center; font-family: var(--ap-caps); font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ap-label); padding: 6px 0; border-radius: 30px; }
.ap .ap-seg input:checked + span { background: var(--ap-ink); color: var(--ap-page); }
.ap .ap-seg input:focus-visible + span, .ap .ap-sw input:focus-visible + span { outline: 2px solid var(--ap-olive); outline-offset: 2px; }
.ap .ap-sw { display: flex; gap: 12px; }
.ap .ap-sw label { flex: 1; margin: 0; cursor: pointer; }
.ap .ap-sw span { display: block; border-radius: 8px; padding: 12px 14px; font-size: 13.5px; border: 1px solid var(--ap-line); }
.ap .ap-sw b { display: block; font-family: var(--ap-serif); font-weight: 400; font-size: 18px; }
.ap .ap-paper span { background: #F3F2EC; color: #2f2f2f; }
.ap .ap-night span { background: #2f2f2f; color: #E2DBCD; }
.ap .ap-sw input:checked + span { box-shadow: 0 0 0 2px var(--ap-ink); border-color: transparent; }
.ap .ap-aa .ap-note { margin-top: 18px; }

/* ---------- Listen: player under the bar (phones: docked at the bottom) ---------- */
.ap .ap-listen-btn[aria-expanded="true"] { background: var(--ap-ink); color: var(--ap-page); border-color: var(--ap-ink); }
.ap .ap-player { position: fixed; right: max(24px, calc((100% - 1272px) / 2)); top: 80px; width: 360px; padding: 22px 24px 20px; z-index: 60; }
.ap .ap-player[hidden] { display: none; }
.ap .ap-ph { display: flex; justify-content: space-between; align-items: center; }
.ap .ap-player .ap-x { font-size: 20px; line-height: 1; color: var(--ap-label); padding: 2px 4px; }
.ap .ap-pt { font-family: var(--ap-serif); font-size: 17px; line-height: 1.4; color: var(--ap-ink); margin-top: 8px; }
.ap .ap-pc-row { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.ap .ap-play { width: 46px; height: 46px; border-radius: 50%; background: var(--ap-ink); color: var(--ap-page); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background-color .3s ease; }
.ap .ap-play .ap-ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.ap .ap-play[data-state="pause"] .ap-ic { fill: none; stroke: currentColor; stroke-width: 2.4; }
.ap .ap-play:hover { background: #c5a992; }
.ap .ap-play[aria-busy="true"] { opacity: .6; }
.ap .ap-scrub { flex: 1; min-width: 0; }
.ap .ap-scrub input { width: 100%; accent-color: var(--ap-ink); margin: 0; }
.ap .ap-tm { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--ap-caps); font-size: 11.5px; letter-spacing: 1.2px; color: var(--ap-label); }
.ap .ap-player .ap-speed { margin-top: 16px; }
.ap .ap-speed-btn { display: none; align-items: center; justify-content: center; font-family: var(--ap-caps); font-size: 12px; letter-spacing: 1px; color: var(--ap-ink); border: 1px solid var(--ap-ink); border-radius: 20px; padding: 3px 9px; min-width: 44px; min-height: 28px; }
.ap .ap-player .ap-note { margin-top: 12px; }

/* ---------- title ---------- */
.ap .ap-head { width: 640px; max-width: 100%; margin: 0 auto; padding-top: 90px; text-align: center; }
.ap .ap-kicker { font-family: var(--ap-sans); font-weight: 700; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--ap-label); }
.ap .ap-head h1 { font-size: 60px; line-height: 1.12; margin-top: 20px; text-wrap: balance; }
.ap .ap-dek { font-family: var(--ap-serif); font-size: 23px; line-height: 1.45; color: var(--ap-text); margin-top: 18px; text-wrap: balance; }
.ap .ap-by { font-family: var(--ap-serif); font-size: 19px; color: var(--ap-ink); margin-top: 32px; }
.ap .ap-au { border-bottom: 1px solid var(--ap-sand); padding-bottom: 1px; color: var(--ap-ink); transition: color .3s ease, border-color .3s ease; }
.ap .ap-au:hover, .ap .ap-au[aria-expanded="true"] { color: var(--ap-olive); border-bottom-color: var(--ap-olive); }
.ap .ap-meta { margin-top: 8px; font-family: var(--ap-caps); font-size: 12.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ap-label); }
.ap .ap-meta b { font-weight: 500; color: var(--ap-ink); }
.ap .ap-meta a:hover { color: var(--ap-olive); }
/* a piece with no byline (editorial team): the meta line takes the byline's place, and its space, under the title */
.ap .ap-head h1 + .ap-meta, .ap .ap-head .ap-dek + .ap-meta { margin-top: 32px; }

/* author card (opens beside the byline, joined to the name by a thin line) */
.ap .ap-authcard { position: absolute; z-index: 40; width: 288px; padding: 22px 22px 18px; }
.ap .ap-authcard[hidden], .ap .ap-authline[hidden] { display: none; }
.ap .ap-authline { position: absolute; z-index: 39; height: 1px; background: var(--ap-sand); }
.ap .ap-authline::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ap-sand); }
.ap .ap-ah { display: flex; gap: 14px; align-items: center; }
.ap .ap-ah img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1); flex: none; }
.ap .ap-ah b { display: block; font-family: var(--ap-serif); font-weight: 400; font-size: 19px; color: var(--ap-ink); line-height: 1.3; }
.ap .ap-ah span { font-size: 13px; color: var(--ap-label); line-height: 1.4; display: block; margin-top: 2px; }
.ap .ap-authcard > .ap-label { margin-top: 18px; }
.ap .ap-elsewhere { margin-top: 24px; font-family: var(--ap-sans); font-size: 14px; line-height: 1.65; color: var(--ap-text); }
.ap .ap-elsewhere a { color: var(--ap-olive); font-weight: 600; text-decoration: none; transition: color .3s ease; }
.ap .ap-elsewhere a:hover { color: var(--ap-ink); }
.ap .ap-elsewhere .ap-nw { white-space: nowrap; }
.ap .ap-elsewhere .ap-ic { width: 14px; height: 14px; margin-left: 5px; vertical-align: -2px; transition: transform .3s ease; }
.ap .ap-elsewhere a:hover .ap-ic { transform: translateX(3px); }
.ap .ap-authcard .ap-elsewhere { font-size: 13.5px; }
.ap .ap-authcard .ap-elsewhere .ap-ew-go { display: block; white-space: nowrap; }
.ap .ap-authcard .ap-elsewhere .ap-ew-many { white-space: normal; }
/* pages built before 2026-11-23 (the whole "Read them on …" is the link): keep it on its own line until they are rebuilt */
.ap .ap-authcard .ap-elsewhere > a { display: block; white-space: nowrap; }
.ap .ap-authcard .ap-x { position: absolute; right: 14px; top: 10px; font-size: 20px; color: var(--ap-label); line-height: 1; padding: 4px; }
.ap .ap-wl { margin-top: 8px; }
.ap .ap-wl li { border-bottom: 1px solid var(--ap-line); }
.ap .ap-wl li:first-child { border-top: 1px solid var(--ap-line); }
.ap .ap-w { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 0; }
.ap .ap-w img { display: none; }
.ap .ap-w b { display: block; font-family: var(--ap-serif); font-weight: 400; font-size: 16px; line-height: 1.4; color: var(--ap-ink); }
.ap .ap-w span span { font-size: 12.5px; color: var(--ap-label); }
.ap .ap-cur b { color: var(--ap-label); }
.ap a.ap-w:hover b { color: var(--ap-olive); }
.ap .ap-w .ap-ic { width: 15px; height: 15px; color: var(--ap-label); }

/* ---------- three columns: left pane | article | margin notes ---------- */
.ap .ap-grid { width: 1272px; max-width: calc(100% - 48px); margin: 44px auto 0; display: grid; grid-template-columns: minmax(0, 316px) 640px minmax(0, 316px); justify-content: space-between; position: relative; }
.ap .ap-article { min-width: 0; }

/* left pane: stays in view, scrolls on its own when taller than the window, no scrollbar shown */
.ap .ap-rail { position: sticky; top: 100px; align-self: start; width: 242px; margin-left: -6px; padding: 34px 6px 24px;
  max-height: calc(100vh - 124px); overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  background: linear-gradient(var(--ap-line), var(--ap-line)) 6px 0 / 230px 1px no-repeat local; }
.ap .ap-rail::-webkit-scrollbar { display: none; }
.ap .ap-rail .ap-label { margin-bottom: 16px; }
.ap .ap-toc li a { display: block; padding: 9px 0 9px 18px; font-size: 14.5px; line-height: 1.45; color: var(--ap-label); border-left: 1px solid var(--ap-line); transition: color .2s ease; }
.ap .ap-toc li.ap-sub a { padding-left: 34px; font-size: 13.5px; }
.ap .ap-toc li a:hover { color: var(--ap-ink); }
.ap .ap-toc li.ap-on a { color: var(--ap-ink); font-weight: 600; border-left: 2px solid var(--ap-ink); padding-left: 17px; }
.ap .ap-toc li.ap-sub.ap-on a { padding-left: 33px; }
.ap .ap-endm { display: flex; align-items: center; gap: 10px; padding: 14px 0 10px; font-family: var(--ap-caps); font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ap-label); }
.ap .ap-endm i { width: 8px; height: 8px; background: var(--ap-sand); flex: none; margin-left: -4px; }
.ap .ap-after { border-left: 1px dashed var(--ap-dash); }
.ap .ap-after a { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0 6px 18px; font-size: 13px; line-height: 1.35; color: var(--ap-label); }
.ap .ap-after a:hover { color: var(--ap-ink); }
.ap .ap-after .ap-ic { width: 14px; height: 14px; margin-top: 1px; color: var(--ap-icon); stroke-width: 1.4; }
.ap .ap-prog { margin: 22px 0 6px; height: 3px; background: var(--ap-line); border-radius: 3px; overflow: hidden; }
.ap .ap-prog b { display: block; width: 0; height: 100%; background: var(--ap-olive); }
.ap .ap-small { font-size: 13px; color: var(--ap-label); }
.ap .ap-grp { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--ap-line); }
.ap .ap-icons { display: flex; gap: 10px; }
/* the Share section turns into the "Thank you for reading" card at the end of the article */
.ap .ap-sharegrp { transition: background-color .7s ease, box-shadow .7s ease, padding .7s ease, border-color .7s ease, border-radius .7s ease; }
.ap .ap-sharegrp .ap-tyx { display: block; max-height: 0; opacity: 0; overflow: hidden; visibility: hidden; transition: max-height .7s ease, opacity .5s ease .2s, visibility 0s .7s; }
.ap .ap-sharegrp .ap-sl { max-height: 30px; overflow: hidden; transition: max-height .5s ease, opacity .3s ease, margin .5s ease; }
.ap .ap-sharegrp.ap-done { background: var(--ap-card); box-shadow: var(--ap-shadow); border-radius: 8px; padding: 20px 20px 18px; border-top-color: transparent; }
.ap .ap-sharegrp.ap-done .ap-tyx { max-height: 240px; opacity: 1; visibility: visible; transition: max-height .7s ease, opacity .5s ease .2s, visibility 0s; }
.ap .ap-sharegrp.ap-done .ap-sl { max-height: 0; opacity: 0; margin: 0; }
.ap .ap-tyh { font-family: var(--ap-serif); font-size: 20px; line-height: 1.3; color: var(--ap-ink); margin-top: 4px; }
.ap .ap-typ { font-size: 13.5px; line-height: 1.5; color: var(--ap-text); margin: 6px 0 14px; }
.ap .ap-rail .ap-tytop .ap-label { margin-bottom: 0; }
.ap .ap-tynx { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ap-line); }
.ap .ap-sharegrp .ap-tynx { margin-top: 0; padding-top: 0; border: 0; }
.ap .ap-sharegrp.ap-done a.ap-tynx { display: grid; }
.ap .ap-sharegrp .ap-tynx > span { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ap-line); }
.ap .ap-tynx .ap-label { display: block; margin: 0; }
.ap .ap-tynx b { display: block; font-family: var(--ap-serif); font-weight: 400; font-size: 16.5px; line-height: 1.35; color: var(--ap-ink); margin-top: 2px; }
.ap .ap-tynx:hover b { color: var(--ap-olive); }
.ap .ap-tynx .ap-ic { width: 16px; height: 16px; margin-bottom: 3px; color: var(--ap-ink); }

/* ---------- article text ---------- */
.ap .ap-hero img { width: 640px; height: 360px; object-fit: cover; border-radius: 4px; }
.ap .ap-hero figcaption { margin-top: 8px; font-style: italic; font-size: 13px; color: var(--ap-label); }
.ap .ap-secbar { display: none; }
.ap .ap-prose { margin-top: 48px; font-family: var(--ap-read); font-size: calc(20.5px * var(--ap-scale)); line-height: var(--ap-lh); color: var(--ap-ink); }
.ap .ap-prose p + p { margin-top: 1.1em; }
.ap .ap-prose h2 { font-size: calc(32px * var(--ap-scale)); line-height: 1.3; margin: 1.7em 0 .7em; scroll-margin-top: 110px; }
.ap .ap-prose h3 { font-family: var(--ap-caps); font-weight: 500; font-size: calc(14px * var(--ap-scale)); letter-spacing: 2.4px; text-transform: uppercase; margin: 2em 0 .8em; scroll-margin-top: 110px; }
.ap .ap-prose em { font-style: italic; }
.ap .ap-prose blockquote { margin: 1.3em 0; padding: 2px 0 2px 26px; border-left: 2px solid var(--ap-sand); }
.ap .ap-prose blockquote p { font-family: var(--ap-sans); font-style: italic; font-size: calc(19px * var(--ap-scale)); line-height: 1.75; color: var(--ap-ink); }
.ap .ap-prose blockquote cite { display: block; font-style: normal; margin-top: 8px; }
.ap .ap-prose blockquote cite .ap-ref { font-family: var(--ap-caps); font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; border: 0; }
.ap .ap-ref { color: var(--ap-olive); border-bottom: 1px dotted var(--ap-sand); white-space: nowrap; font-style: normal; transition: color .2s ease; }
.ap .ap-ref:hover { color: var(--ap-ink); }
.ap .ap-ref.ap-open { background: var(--ap-tint); border-bottom: 1px solid var(--ap-olive); padding: 0 3px; }
.ap .ap-pull { margin: 1.6em 0; padding: 34px 40px; text-align: center; border-top: 1px solid var(--ap-sand); border-bottom: 1px solid var(--ap-sand); }
.ap .ap-prose .ap-pull p { font-family: var(--ap-serif); font-size: calc(28px * var(--ap-scale)); line-height: 1.5; color: var(--ap-ink); }
.ap .ap-pull p::before { content: "“"; } .ap .ap-pull p::after { content: "”"; }
.ap .ap-pull + p { margin-top: 0; }
.ap .ap-endmark { display: inline-block; width: 9px; height: 9px; background: var(--ap-sand); margin-left: 8px; vertical-align: 1px; }
.ap .ap-prose .ap-endonly .ap-endmark { margin-left: 0; }
.ap .ap-prose blockquote cite.ap-qsrc { font-family: var(--ap-caps); font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ap-label); }
/* lists printed as lists in the magazine */
.ap .ap-prose .ap-list { margin: 1.1em 0; padding-left: 1.3em; }
.ap .ap-prose ul.ap-list { list-style: disc; }
.ap .ap-prose ol.ap-list { list-style: decimal; }
.ap .ap-prose .ap-list li { padding-left: .3em; }
.ap .ap-prose .ap-list li + li { margin-top: .5em; }
.ap .ap-prose .ap-list li::marker { color: var(--ap-olive); }
/* a poem: stanzas, one line per line; a line too long for the screen wraps with a hanging indent */
.ap .ap-prose .ap-poem p + p { margin-top: 1.5em; }
.ap .ap-poem .ap-pl { display: block; padding-left: 1.4em; text-indent: -1.4em; }
.ap .ap-poem br { display: none; }
/* pages without headings have no section list on phones, so the end card carries the magazine link */
.ap .ap-typhone .ap-tymag { margin-top: 18px; }
.ap .ap-typhone .ap-tymag .ap-label { margin-bottom: 10px; }
/* the translation after a Bible reference when a quotation is not from the ESV ("ROMANS 5:12 NKJV") */
.ap .ap-prose blockquote cite .ap-ver { font-family: var(--ap-caps); font-size: 12.5px; letter-spacing: 1.6px; color: var(--ap-label); }
/* a second Bible-translation notice directly under the ESV one */
.ap .ap-esv.ap-esv2 { margin-top: 8px; padding-top: 0; border-top: 0; }
@media (max-width: 599px) { .ap .ap-prose .ap-poem { font-size: calc(16.5px * var(--ap-scale)); } }
/* an interview: the interviewer's questions in the sans, a little heavier, close to the answer below */
.ap .ap-prose .ap-ask { font-family: var(--ap-sans); font-weight: 600; font-size: calc(17.5px * var(--ap-scale)); line-height: 1.5; color: var(--ap-ink); margin-top: 1.9em; }
.ap .ap-prose .ap-ask + p { margin-top: .55em; }
/* a small printed note at the end of a section ("Name has been changed for privacy.") */
.ap .ap-prose .ap-pnote { font-family: var(--ap-sans); font-style: italic; font-size: calc(14.5px * var(--ap-scale)); line-height: 1.6; color: var(--ap-label); }
/* a short piece without headings: no section list in the left pane */
.ap .ap-rail.ap-nosec .ap-prog { margin-top: 0; }
/* a side panel printed in a box in the magazine */
.ap .ap-box { margin: 1.8em 0; padding: 28px 32px 30px; background: var(--ap-card); border-radius: 8px; box-shadow: var(--ap-shadow);
  font-family: var(--ap-sans); font-size: calc(16.5px * var(--ap-scale)); line-height: 1.75; color: var(--ap-body); }
.ap .ap-prose .ap-box .ap-boxt { font-family: var(--ap-serif); font-size: calc(22px * var(--ap-scale)); line-height: 1.35; color: var(--ap-ink); margin-bottom: .7em; }
.ap .ap-prose .ap-box p + p { margin-top: .9em; }
.ap .ap-prose .ap-box h4 { font-family: var(--ap-caps); font-weight: 500; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ap-ink); margin: 1.4em 0 .5em; }
.ap .ap-prose .ap-box .ap-list { margin: .8em 0; }
.ap .ap-prose .ap-box .ap-boxt.ap-long { font-size: calc(18px * var(--ap-scale)); line-height: 1.5; }
/* a table printed in the article */
.ap .ap-table { margin: 1.6em 0; font-family: var(--ap-sans); overflow-x: auto; }
/* photos printed with the article (fig blocks): one across the column, or a pair side by side as in the magazine */
.ap .ap-prose .ap-fig { margin: 2em 0; break-inside: avoid; }
.ap .ap-prose .ap-fig img { display: block; width: 100%; height: auto; border-radius: 4px; }
.ap .ap-prose .ap-fig2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ap .ap-table table { width: 100%; margin: 0; border-collapse: collapse; font-size: calc(15px * var(--ap-scale)); line-height: 1.45; color: var(--ap-body); }
.ap .ap-table th, .ap .ap-table td { padding: 10px 12px; border-bottom: 1px solid var(--ap-line); text-align: left; vertical-align: top; font-weight: 400; }
.ap .ap-table thead th { font-family: var(--ap-caps); font-weight: 500; font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ap-label); border-bottom: 1px solid var(--ap-sand); vertical-align: bottom; }
.ap .ap-table tbody th { color: var(--ap-ink); font-weight: 600; }
.ap .ap-table tbody tr:last-child { background: var(--ap-card); }
.ap .ap-table tbody tr:last-child th, .ap .ap-table tbody tr:last-child td { color: var(--ap-ink); font-weight: 600; border-bottom-color: var(--ap-sand); }
.ap .ap-table td:last-child, .ap .ap-table thead th:last-child { text-align: right; }
.ap .ap-table figcaption { margin-top: 8px; font-style: italic; font-size: 13px; color: var(--ap-label); }
/* web addresses printed in the article */
.ap .ap-ext { color: var(--ap-olive); border-bottom: 1px dotted var(--ap-sand); overflow-wrap: anywhere; transition: color .2s ease; }
.ap .ap-ext:hover { color: var(--ap-ink); }
/* footnote numbers in the text */
.ap .ap-fn { position: relative; top: -.6em; vertical-align: baseline; font-family: var(--ap-caps); font-size: calc(12.5px * var(--ap-scale)); font-weight: 500; line-height: 0; font-style: normal; }
.ap .ap-fn a { color: var(--ap-olive); padding: 0 1px 0 2px; transition: color .2s ease; scroll-margin-top: 130px; }
.ap .ap-fn a:hover { color: var(--ap-ink); }
.ap .ap-prose .ap-source { margin-top: 2em; font-family: var(--ap-sans); font-style: italic; font-size: 15px; line-height: 1.6; color: var(--ap-text); }
.ap .ap-source a { color: var(--ap-olive); border-bottom: 1px dotted var(--ap-sand); font-style: normal; }
.ap ::selection { background: #e9dcc9; color: #2f2f2f; }

/* margin notes (Bible references) */
.ap .ap-notes { position: relative; margin-left: 28px; }
.ap .ap-vcard { position: absolute; left: 0; width: 100%; padding: 18px 20px; font-size: 14.5px; line-height: 1.6; color: var(--ap-body); }
.ap .ap-vcard::before { content: ""; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px; background: var(--ap-card); transform: rotate(45deg); box-shadow: -2px 2px 3px rgba(120, 96, 70, .08); }
.ap .ap-vcard .ap-label { color: var(--ap-olive); padding-right: 22px; }
.ap .ap-vq { font-family: var(--ap-serif); font-size: 17px; line-height: 1.55; color: var(--ap-ink); margin-top: 6px; }
.ap .ap-vnone { font-size: 14px; color: var(--ap-text); margin-top: 6px; }
.ap .ap-vfoot { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ap-label); }
.ap .ap-vfoot a { color: var(--ap-olive); display: inline-flex; gap: 6px; align-items: center; }
.ap .ap-vfoot .ap-ic { width: 14px; height: 14px; }
.ap .ap-vcard .ap-x { position: absolute; right: 12px; top: 10px; font-size: 18px; color: var(--ap-label); line-height: 1; padding: 4px; }
.ap .ap-notes .ap-vcard { z-index: 2; }
/* footnotes beside their number (wide screens) */
.ap .ap-fnote { position: absolute; left: 0; width: 100%; display: flex; gap: 12px; padding: 2px 0 2px 18px; border-left: 1px solid var(--ap-sand); font-size: 14px; line-height: 1.6;
  color: var(--ap-body); overflow-wrap: anywhere; border-radius: 0 4px 4px 0; }
.ap .ap-fnote .ap-nn, .ap .ap-nlist .ap-nn { font-family: var(--ap-caps); font-weight: 500; font-size: 13px; color: var(--ap-olive); padding-top: 1px; flex: none; }
.ap .ap-fnote em, .ap .ap-nlist em, .ap .ap-fsheet em { font-style: italic; }
.ap .ap-fnote .ap-ref, .ap .ap-fnote .ap-ext { white-space: normal; }
.ap .ap-fnote .ap-go { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ap-label); }
.ap .ap-fnote.ap-flash { animation: ap-flash 1.8s ease; }
@keyframes ap-flash { 0%, 45% { background: var(--ap-tint); } 100% { background: transparent; } }
.ap .ap-fsheet { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--ap-body); overflow-wrap: anywhere; }
.ap .ap-fsheet .ap-ref, .ap .ap-fsheet .ap-ext { white-space: normal; }

/* phone-only end card */
.ap .ap-typhone { display: none; }

/* ---------- sections below the article ---------- */
.ap .ap-after-article { width: 1272px; max-width: calc(100% - 48px); margin: 0 auto 120px; }
.ap .ap-sec { display: grid; grid-template-columns: 300px 1fr; gap: 50px; padding: 44px 0; border-top: 1px solid var(--ap-line); scroll-margin-top: 80px; }
.ap .ap-author { margin-top: 90px; border-top-color: var(--ap-sand); }
.ap .ap-scripture { margin-top: 40px; border-top-color: var(--ap-sand); }
.ap .ap-sh h2 { font-size: 34px; line-height: 1.25; margin-top: 4px; }
.ap .ap-shp { margin-top: 10px; font-size: 15.5px; line-height: 1.6; }
.ap .ap-author-in { display: grid; grid-template-columns: 170px 1fr; gap: 40px; align-items: start; }
.ap .ap-author-in > img { width: 170px; height: 220px; object-fit: cover; object-position: 50% 20%; border-radius: 4px; filter: grayscale(1); }
.ap .ap-author-in.ap-nophoto { grid-template-columns: 1fr; }
/* Notes: the article's footnotes, straight after the article */
.ap .ap-notes-end { margin-top: 90px; border-top-color: var(--ap-sand); }
.ap .ap-notes-end + .ap-author { margin-top: 0; border-top-color: var(--ap-line); }
/* a piece with no author section (editorial team) and no notes: the first section under the article gets the
   author section's space and sand line (otherwise Scripture's 40px, or nothing for books/dinner, sits under the text) */
.ap .ap-before-band > .ap-sec:first-child:not(.ap-author):not(.ap-notes-end) { margin-top: 90px; border-top-color: var(--ap-sand); }
.ap .ap-nlist li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: start; padding: 0 0 12px; font-size: 16px; line-height: 1.7; color: var(--ap-body);
  overflow-wrap: anywhere; scroll-margin-top: 90px; border-radius: 4px; }
.ap .ap-nlist .ap-nn { font-size: 14px; padding-top: 2px; }
.ap .ap-nlist .ap-ref, .ap .ap-nlist .ap-ext { white-space: normal; }
.ap .ap-nlist li:target { background: var(--ap-tint); box-shadow: 0 0 0 8px var(--ap-tint); }
.ap .ap-back { color: var(--ap-label); padding: 3px; transition: color .2s ease; }
.ap .ap-back .ap-ic { width: 14px; height: 14px; }
.ap .ap-back:hover { color: var(--ap-olive); }
.ap .ap-bio { font-family: var(--ap-serif); font-size: 19px; line-height: 1.75; color: var(--ap-ink); }
.ap .ap-author-in .ap-label { margin-top: 26px; }
.ap .ap-author .ap-w { padding: 14px 0; }
.ap .ap-author .ap-w b { font-size: 19px; }
.ap .ap-author .ap-w span span { font-size: 14px; }
.ap .ap-author .ap-elsewhere { margin-top: 34px; font-size: 16px; }
.ap .ap-author .ap-elsewhere .ap-ic { width: 15px; height: 15px; }
/* several sites: a small column after "Read them on", every arrow at the column's right edge */
.ap .ap-elsewhere .ap-sites { display: inline-grid; grid-template-columns: max-content; row-gap: 2px; }
.ap .ap-elsewhere .ap-sites a, .ap .ap-authcard .ap-elsewhere .ap-sites a { display: flex; align-items: center; justify-content: space-between; white-space: nowrap; }
.ap .ap-cnt { font-size: 16px; color: var(--ap-text); }
.ap .ap-vwrap > .ap-cnt { padding: 6px 0 22px; border-bottom: 1px solid var(--ap-line); }
.ap .ap-cnt b { font-weight: 600; color: var(--ap-ink); }
.ap .ap-tog { display: flex; align-items: center; gap: 12px; font-family: var(--ap-caps); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ap-ink); white-space: nowrap; }
.ap .ap-tog .ap-round { width: 40px; height: 40px; transition: transform .3s ease; }
/* Scripture list: the first two passages show; the button opens the rest */
.ap .ap-vmore { margin-top: 26px; cursor: pointer; }
.ap .ap-vmore:hover .ap-round { color: #c5a992; border-color: #c5a992; background: transparent; }
.ap .ap-vwrap:not(.ap-open) .ap-vlist li:nth-child(n+3) { display: none; }
.ap .ap-vwrap.ap-open .ap-tog .ap-round { transform: rotate(180deg); }
.ap .ap-hide { display: none; }
.ap .ap-vwrap.ap-open .ap-show { display: none; }
.ap .ap-vwrap.ap-open .ap-hide { display: inline; }
/* two columns, read down the left column then the right (option S1); a passage never splits between columns */
.ap .ap-vlist { column-count: 2; column-gap: 50px; }
.ap .ap-vlist li { display: block; break-inside: avoid; padding: 20px 0; border-bottom: 1px solid var(--ap-line); }
.ap .ap-vref { font-family: var(--ap-caps); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ap-olive); }
.ap .ap-vref a:hover { color: var(--ap-ink); }
.ap .ap-vtext { font-family: var(--ap-serif); font-size: 17px; line-height: 1.65; color: var(--ap-ink); margin-top: 8px; }
.ap .ap-vlist .ap-vnone { font-size: 15px; margin-top: 8px; }
.ap .ap-vnone a { color: var(--ap-olive); border-bottom: 1px dotted var(--ap-sand); }
/* ESV notice: once, at the end of the page (the article and the Scripture list quote the ESV) */
.ap .ap-esv { margin-top: 70px; padding-top: 22px; border-top: 1px solid var(--ap-line); font-size: 12.5px; line-height: 1.6; color: var(--ap-label); }
.ap .ap-esv a { color: var(--ap-olive); border-bottom: 1px dotted var(--ap-sand); }
.ap .ap-starter { font-family: var(--ap-serif); font-size: 22px; line-height: 1.6; color: var(--ap-ink); }
.ap .ap-st-intro { display: block; font-family: var(--ap-sans); font-size: 16px; line-height: 1.6; color: var(--ap-text); margin-bottom: 8px; }
.ap .ap-bkgrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 46px; }
.ap .ap-bk { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--ap-line); }
.ap .ap-bk img { width: 74px; height: 106px; object-fit: cover; box-shadow: 2px 3px 8px rgba(40, 30, 20, .22); }
.ap .ap-bk b { display: block; font-family: var(--ap-serif); font-weight: 400; font-size: 18px; line-height: 1.35; color: var(--ap-ink); }
.ap .ap-ba { display: block; font-size: 13.5px; color: var(--ap-olive); margin-top: 2px; }
.ap .ap-bk p { font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
.ap a.ap-bk b { transition: color .3s ease; }
.ap a.ap-bk:hover b { color: var(--ap-olive); }
.ap .ap-bkgrid > li { display: block; }
/* Free printable: a full-width band between the books and the questions (option D4, in the card white) */
.ap .ap-after-article.ap-before-band { margin-bottom: 0; }
.ap .ap-ws { margin-top: 50px; padding: 64px 0; background: var(--ap-card); border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); scroll-margin-top: 68px; }
.ap .ap-ws-in { width: 1272px; max-width: calc(100% - 48px); margin: 0 auto; display: grid; grid-template-columns: 300px 1fr 400px; gap: 50px; align-items: center; }
.ap .ap-wst { font-family: var(--ap-serif); font-size: 20px; line-height: 1.6; color: var(--ap-ink); }
.ap .ap-wsf { margin-top: 10px; font-size: 15px; line-height: 1.65; }
.ap .ap-ws .ap-pill { margin-top: 22px; }
.ap .ap-ws img { width: 400px; height: 280px; object-fit: cover; object-position: top; border-radius: 4px; transform: rotate(-2.5deg);
  box-shadow: 0 2px 4px rgba(90, 70, 50, .08), 0 24px 50px -18px rgba(90, 70, 50, .45); }
.ap .ap-after-band > .ap-sec:first-child { border-top: 0; }
.ap .ap-quiz { margin-top: 60px; border-top-color: var(--ap-sand); }
.ap .ap-after-band > .ap-quiz:first-child { margin-top: 20px; }
.ap .ap-qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.ap .ap-qc { padding: 26px 28px 26px; }
.ap .ap-qc > .ap-label { display: block; }
.ap .ap-qc > legend.ap-label { float: left; width: 100%; font-weight: 400; margin-bottom: 12px; }
.ap .ap-qc > legend + .ap-qt { margin-top: 0; }
.ap .ap-qc > legend + * { clear: both; }
.ap .ap-qt { display: block; font-family: var(--ap-serif); font-size: 18px; line-height: 1.55; color: var(--ap-ink); margin: 12px 0 10px; font-weight: 400; }
.ap .ap-qt b { font-weight: 400; }
.ap .ap-opt { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ap-body); padding: 8px 12px; margin: 4px 0 0; border-radius: 6px; cursor: pointer; font-weight: 400; }
.ap .ap-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ap .ap-mk { width: 20px; height: 20px; border-radius: 4px; flex: none; border: 1px solid #9b9384; background: var(--ap-card); margin-top: 1px; position: relative; }
.ap .ap-radio .ap-mk { border-radius: 50%; }
.ap .ap-opt input:checked + .ap-mk { background: var(--ap-ink); border-color: var(--ap-ink); }
.ap .ap-opt input:checked + .ap-mk::after { content: ""; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px; border: solid var(--ap-page); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.ap .ap-radio input:checked + .ap-mk::after { left: 5px; top: 5px; width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--ap-page); transform: none; }
.ap .ap-opt input:focus-visible + .ap-mk { outline: 2px solid var(--ap-olive); outline-offset: 2px; }
.ap .ap-ot { flex: 1; }
.ap .ap-why { font-family: var(--ap-caps); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; white-space: nowrap; padding-top: 2px; }
.ap .ap-opt.ap-right { background: var(--ap-tint); color: var(--ap-ink); }
.ap .ap-opt.ap-right input:checked + .ap-mk { background: var(--ap-olive); border-color: var(--ap-olive); }
.ap .ap-opt.ap-right .ap-why, .ap .ap-opt.ap-missed .ap-why { color: var(--ap-olive); }
.ap .ap-opt.ap-missed .ap-mk { border: 1.5px solid var(--ap-olive); }
.ap .ap-opt.ap-wrong input:checked + .ap-mk { background: var(--ap-card); border-color: var(--ap-wrong); }
.ap .ap-opt.ap-wrong input:checked + .ap-mk::after { border-color: var(--ap-wrong); }
.ap .ap-opt.ap-wrong .ap-why { color: var(--ap-wrong); }
/* "what readers chose": a bar and percentage under each answer once enough readers have answered */
.ap .ap-pb, .ap .ap-pct { display: none; }
.ap .ap-plab { display: block; font-family: var(--ap-caps); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ap-olive); margin-top: 4px; }
.ap .ap-plab:empty { display: none; }
.ap .ap-polled .ap-pb { display: block; height: 6px; margin-top: 7px; background: var(--ap-line); border-radius: 6px; overflow: hidden; }
.ap .ap-polled .ap-pb i { display: block; height: 100%; width: 0; background: #cfc5b4; border-radius: 6px; transition: width .6s ease; }
.ap .ap-polled .ap-most .ap-pb i { background: var(--ap-olive); }
.ap .ap-polled .ap-pct { display: block; font-family: var(--ap-serif); font-weight: 400; font-size: 18px; line-height: 1.2; color: var(--ap-ink); min-width: 44px; text-align: right; }
.ap .ap-qrow { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.ap .ap-score { font-family: var(--ap-caps); font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ap-olive); }
.ap .ap-fb { margin-top: 14px; font-size: 14px; line-height: 1.6; font-style: italic; color: var(--ap-body); }
.ap .ap-qc textarea:focus { outline: none; border-color: var(--ap-olive); box-shadow: 0 0 0 1px var(--ap-olive); }
.ap .ap-qc textarea { width: 100%; margin-top: 6px; border: 1px solid var(--ap-line); border-radius: 6px; background: var(--ap-page); color: var(--ap-ink); padding: 12px 14px; font: 15px/1.5 var(--ap-sans); resize: vertical; }
.ap .ap-qc .ap-note { margin-top: 10px; }
.ap .ap-says { margin-top: 14px; background: var(--ap-tint); border-radius: 6px; padding: 16px 18px; }
.ap .ap-says .ap-label { color: var(--ap-olive); }
.ap .ap-says p:last-child { font-family: var(--ap-serif); font-size: 16px; line-height: 1.6; color: var(--ap-ink); margin-top: 6px; }
.ap .ap-more { margin-top: 70px; border-top-color: var(--ap-sand); }
.ap .ap-lst li a { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--ap-line); }
.ap .ap-lst li:first-child a { border-top: 1px solid var(--ap-line); }
.ap .ap-lst b { display: block; font-family: var(--ap-serif); font-weight: 400; font-size: 21px; color: var(--ap-ink); line-height: 1.35; }
.ap .ap-lst span span { font-size: 14px; color: var(--ap-label); }
.ap .ap-lst a:hover b { color: var(--ap-olive); }
.ap .ap-lst .ap-ic { width: 16px; height: 16px; color: var(--ap-label); }

/* ---------- bottom sheet, highlight toolbar, toast ---------- */
.ap .ap-dim { position: fixed; inset: 0; background: rgba(47, 47, 47, .32); z-index: 70; }
.ap .ap-dim[hidden], .ap .ap-sheet[hidden], .ap .ap-hl[hidden] { display: none; }
.ap .ap-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; max-height: 85vh; overflow-y: auto; overscroll-behavior: contain; background: var(--ap-card);
  border-radius: 18px 18px 0 0; padding: 10px 22px 30px; box-shadow: 0 -20px 50px -20px rgba(40, 30, 20, .4); }
.ap .ap-sheet-in { max-width: 640px; margin: 0 auto; }
.ap .ap-handle { width: 38px; height: 4px; border-radius: 4px; background: var(--ap-line); margin: 0 auto 18px; }
.ap .ap-shead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ap .ap-shead .ap-x { font-size: 22px; color: var(--ap-label); line-height: 1; padding: 4px 6px; }
.ap .ap-sheet .ap-label.ap-olive { color: var(--ap-olive); }
.ap .ap-sheet-in > .ap-ah { margin-top: 14px; }
.ap .ap-sheet-in > p.ap-label { margin-top: 20px; }
.ap .ap-sheet .ap-vq { font-size: 19px; margin-top: 12px; }
.ap .ap-sheet .ap-w img { display: block; width: 64px; height: 48px; object-fit: cover; border-radius: 3px; }
.ap .ap-sheet .ap-w { grid-template-columns: 64px 1fr auto; gap: 14px; }
.ap .ap-sheet .ap-cur .ap-w { grid-template-columns: 64px 1fr; }
.ap .ap-sheet .ap-w.ap-noimg { grid-template-columns: 1fr auto; }
.ap .ap-sheet .ap-cur .ap-w.ap-noimg { grid-template-columns: 1fr; }
.ap .ap-sheet .ap-toc li a { font-size: 15px; padding-top: 10px; padding-bottom: 10px; }
.ap .ap-sheet .ap-after a { font-size: 14px; }
.ap .ap-sheet .ap-sheet-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ap-line); }
.ap .ap-hl { position: absolute; z-index: 45; display: flex; background: #2f2f2f; border-radius: 24px; padding: 4px; box-shadow: var(--ap-shadow-lift); }
.ap .ap-hl button { padding: 7px 14px; font-family: var(--ap-caps); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; border-radius: 20px; }
.ap .ap-hl button + button { border-left: 1px solid rgba(255, 255, 255, .2); border-radius: 0 20px 20px 0; }
.ap .ap-hl button:hover { color: #c5a992; }
.ap .ap-hl::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: #2f2f2f; transform: rotate(45deg); }
.ap .ap-toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); z-index: 80; background: #2f2f2f; color: #fff; padding: 10px 18px; border-radius: 24px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.ap .ap-toast.ap-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- narrower screens ---------- */
/* No room for the margin notes: Bible references and the author card open as a panel from the bottom */
@media (max-width: 1279px) {
  .ap .ap-grid { grid-template-columns: 290px 640px; justify-content: center; }
  .ap .ap-notes { display: none; }
  .ap .ap-after-article .ap-sec { grid-template-columns: 260px 1fr; gap: 40px; }
  .ap .ap-ws-in { grid-template-columns: 260px 1fr 320px; gap: 40px; }
  .ap .ap-ws img { width: 320px; height: 224px; }
}
@media (max-width: 1199px) {
  .ap .ap-nav ul a { padding: 8px 8px; font-size: 12px; letter-spacing: .12em; }
  .ap .ap-nav .ap-readonline { display: none; }
}
/* Tablet and phone: one column; the left pane becomes the "In this article" bar; the site menu opens from the menu button */
@media (max-width: 1023px) {
  .ap .ap-bar { height: 56px; padding: 0 14px 0 20px; grid-template-columns: auto 1fr; }
  .ap .ap-logo img { width: 88px; height: 19px; }
  .ap .ap-menu-btn { display: inline-flex; }
  .ap .ap-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 22px;
    background: var(--ap-page); border-bottom: 1px solid var(--ap-line); box-shadow: 0 18px 30px -22px rgba(70, 56, 40, .35); }
  .ap .ap-nav.ap-open { display: flex; }
  .ap .ap-nav ul { flex-direction: column; align-items: stretch; }
  .ap .ap-nav ul li { border-bottom: 1px solid var(--ap-line); }
  .ap .ap-nav ul a { padding: 15px 2px; font-size: 13px; letter-spacing: .14em; }
  .ap .ap-nav .ap-readonline { display: inline-flex; align-self: flex-start; margin-top: 18px; height: 36px; }
  .ap .ap-menu-btn[aria-expanded="true"] { background: var(--ap-ink); color: var(--ap-page); border-color: var(--ap-ink); }
  .ap .ap-bar-tools { gap: 8px; }
  .ap .ap-bar-tools .ap-round { width: 36px; height: 36px; }
  .ap .ap-aa { right: 10px; top: 64px; width: auto; left: 10px; max-width: 360px; margin-left: auto; }
  /* phones: one compact row docked at the bottom, as in the mockup (play | title + progress | speed | close) */
  .ap .ap-player { top: auto; bottom: 12px; left: 10px; right: 10px; width: auto; max-width: 560px; margin: 0 auto; padding: 10px 12px 8px 12px; border-radius: 14px; box-shadow: var(--ap-shadow-lift);
    display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "play title speed close" "play scrub scrub scrub"; column-gap: 12px; align-items: center; }
  .ap .ap-player[hidden] { display: none; }
  .ap .ap-player .ap-ph, .ap .ap-player .ap-pc-row { display: contents; }
  .ap .ap-player .ap-ph .ap-label, .ap .ap-player .ap-speed, .ap .ap-player .ap-note { display: none; }
  .ap .ap-player .ap-play { grid-area: play; width: 42px; height: 42px; }
  .ap .ap-player .ap-pt { grid-area: title; font-size: 14.5px; margin-top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .ap .ap-player .ap-scrub { grid-area: scrub; }
  .ap .ap-player .ap-tm { font-size: 10.5px; margin-top: 0; }
  .ap .ap-player .ap-speed-btn { display: inline-flex; grid-area: speed; }
  .ap .ap-player .ap-x { grid-area: close; }
  body.ap.ap-listening { padding-bottom: 96px; }
  .ap .ap-head { padding: 40px 22px 0; }
  .ap .ap-head h1 { font-size: 38px; line-height: 1.15; margin-top: 16px; }
  .ap .ap-dek { font-size: 19px; margin-top: 12px; }
  .ap .ap-box { padding: 22px 20px 24px; margin: 1.5em 0; }
  .ap .ap-by { font-size: 17px; margin-top: 22px; }
  .ap .ap-meta { font-size: 11.5px; margin-top: 6px; }
  .ap .ap-head h1 + .ap-meta, .ap .ap-head .ap-dek + .ap-meta { margin-top: 22px; }
  .ap .ap-grid { display: block; width: auto; max-width: none; margin-top: 30px; }
  .ap .ap-rail { display: none; }
  .ap .ap-hero img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
  .ap .ap-hero figcaption { padding: 0 22px; }
  .ap .ap-secbar { position: sticky; top: 56px; z-index: 30; display: flex; align-items: center; gap: 12px; width: 100%; height: 50px; padding: 0 20px; margin-top: 26px;
    background: var(--ap-page); border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); text-align: left; color: var(--ap-ink); }
  .ap .ap-secbar .ap-ic { width: 17px; height: 17px; }
  .ap .ap-secname { flex: 1; min-width: 0; font-size: 14px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ap .ap-secname small { display: block; font-family: var(--ap-caps); font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ap-label); }
  .ap .ap-secname span { display: block; overflow: hidden; text-overflow: ellipsis; }
  .ap .ap-pc { font-family: var(--ap-caps); font-size: 12px; letter-spacing: 1px; color: var(--ap-label); }
  .ap .ap-prose { max-width: 640px; margin: 26px auto 0; padding: 0 22px; font-size: calc(18.5px * var(--ap-scale)); }
  .ap .ap-prose h2 { font-size: calc(26px * var(--ap-scale)); scroll-margin-top: 120px; }
  .ap .ap-prose h3 { font-size: calc(13px * var(--ap-scale)); scroll-margin-top: 120px; }
  .ap .ap-prose blockquote { padding-left: 18px; }
  .ap .ap-prose blockquote p { font-size: calc(17px * var(--ap-scale)); line-height: 1.7; }
  .ap .ap-prose .ap-pull p { font-size: calc(23px * var(--ap-scale)); }
  .ap .ap-pull { padding: 26px 8px; }
  .ap .ap-typhone { display: block; max-width: 596px; margin: 46px auto 0; padding: 28px 24px; }
  .ap .ap-typhone .ap-tyh { font-size: 24px; }
  .ap .ap-typhone .ap-icons { margin-top: 4px; }
  .ap .ap-after-article { max-width: 640px; width: auto; margin: 0 auto 90px; padding: 0 22px; }
  .ap .ap-after-article .ap-sec { display: block; padding: 30px 0; }
  .ap .ap-author { margin-top: 46px; }
  .ap .ap-before-band > .ap-sec:first-child:not(.ap-author):not(.ap-notes-end) { margin-top: 46px; }
  .ap .ap-sh h2 { font-size: 28px; }
  .ap .ap-sh { margin-bottom: 16px; }
  .ap .ap-author-in { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; }
  .ap .ap-w b { overflow-wrap: break-word; }
  .ap .ap-author-in > img { width: 110px; height: 140px; }
  .ap .ap-bio { font-size: 16px; line-height: 1.65; }
  .ap .ap-vlist { column-count: 1; }
  .ap .ap-starter { font-size: 20px; }
  .ap .ap-bkgrid { grid-template-columns: 1fr; }
  .ap .ap-bk { grid-template-columns: 58px 1fr; gap: 16px; }
  .ap .ap-bk img { width: 58px; height: 84px; }
  .ap .ap-ws { margin-top: 30px; padding: 40px 0 50px; }
  .ap .ap-ws-in { display: block; width: auto; max-width: 640px; padding: 0 22px; }
  .ap .ap-ws img { width: 100%; max-width: 380px; height: auto; aspect-ratio: 10 / 7; margin-top: 34px; transform: rotate(-1.5deg); }
  .ap .ap-wst { font-size: 18px; }
  .ap .ap-qgrid { grid-template-columns: 1fr; gap: 18px; }
  .ap .ap-qc { padding: 22px 20px; }
  .ap .ap-lst b { font-size: 18px; }
}
/* very narrow phones: the author photo above the text, so "The Gospel Network" stays on one line */
@media (max-width: 359px) {
  .ap .ap-author-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) and (min-width: 700px) {
  .ap .ap-hero { max-width: 640px; margin: 0 auto; }
  .ap .ap-hero img { border-radius: 4px; }
  .ap .ap-hero figcaption { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ap .ap-rail { scroll-behavior: auto; }
  .ap .ap-sharegrp, .ap .ap-sharegrp .ap-tyx, .ap .ap-sharegrp .ap-sl, .ap .ap-toast, .ap .ap-tog .ap-round { transition: none; }
}

/* ---------- print: the article and its sources only ---------- */
@media print {
  .ap .ap-bar, .ap .ap-rail, .ap .ap-notes, .ap .ap-secbar, .ap .ap-typhone, .ap .ap-aa, .ap .ap-authcard, .ap .ap-ws, .ap .ap-quiz, .ap .ap-more, .ap .ap-pull,
  .ap .ap-sheet, .ap .ap-dim, .ap .ap-hl, .ap .ap-toast, .ap #footer-placeholder, .ap .ap-tog, .ap .ap-back,
  .ap .ap-scripture.ap-qonly { display: none !important; }   /* passages only from the questions, which don't print */
  .ap .ap-box { box-shadow: none; border: 1px solid #ccc; }
  .ap { background: #fff; }
  .ap .ap-grid { display: block; width: auto; max-width: none; }
  .ap .ap-head { padding-top: 0; }
  .ap .ap-prose { font-size: 12pt; line-height: 1.6; }
  .ap .ap-hero img { width: 100%; height: auto; }
  .ap .ap-after-article { width: auto; max-width: none; }
  .ap .ap-vlist { display: block; column-count: 1; }
  .ap .ap-vwrap:not(.ap-open) .ap-vlist li:nth-child(n+3) { display: block; }
}
