/* Pages and navigation (2026-10-09; docs/superpowers/specs/2026-10-09-pages-and-navigation-design.md):
   the long reads, the story sidebar and the information-first pages. Loaded after wp.css. */

/* ------------------------------------------------------------------ long reads --
   Across the frame, not centered in it (the user, 2026-10-14: "dont make it centered just for the
   sake of centering, make it balance"; docs/superpowers/specs/2026-10-14-balanced-pages-and-scroll-
   cue-design.md): the title from the frame's left edge; the opening and the text in a column on its
   right edge (about 75 characters a line); beside it, on the left edge, a rail with the page's
   parts and its section, kept in view as the text scrolls. One column under 1024px. */
.lr-grid{--rail:300px;--main:760px}
.lr-h h1{max-width:20ch}
.lr__intro{margin:22px 0 0;font-size:clamp(20px,2vw,24px);line-height:1.55;color:var(--ink-2)}
.lr__intro a{color:inherit}
.lr__hero{margin:clamp(24px,3vw,40px) 0 0}
.lr__hero img{display:block;width:100%;height:auto;aspect-ratio:16/7;object-fit:cover;background:var(--stone-2)}
@media (min-width:1024px){
  .lr-grid{display:grid;grid-template-columns:minmax(0,var(--rail)) minmax(0,var(--main));justify-content:space-between;column-gap:48px;align-items:start}
  .lr-grid>.crumb,.lr-grid>h1{grid-column:1/-1}
  .lr-grid>.lr__intro,.lr-grid>.lr-body{grid-column:2}
  .lr-grid>.lr-rail{grid-column:1;grid-row:1;position:sticky;top:calc(var(--top-h) + 24px);max-height:calc(100vh - var(--top-h) - 48px);overflow:auto}
  .admin-bar .lr-grid>.lr-rail{top:calc(var(--top-h) + var(--wpbar) + 24px);max-height:calc(100vh - var(--top-h) - var(--wpbar) - 48px)}
  .lr-body.prose p{font-size:19px;line-height:1.7}
}

/* the text: photos keep their own size up to the column's width, caption under, as wide as the
   photo (many of the old site's are 500 to 740 pixels wide) */
.lr-body.prose p{max-width:none}
.lr-body>h2{margin-top:clamp(36px,4vw,56px)}
.lr-body>h3{margin-top:clamp(28px,3vw,40px)}
.prose.lr-body>figure{margin:clamp(28px,3.4vw,44px) 0}
.lr-body>figure img{display:block;width:100%;height:auto;background:var(--stone-2)}
.lr-body>figure.lr-photo{width:fit-content;max-width:100%}
.lr-body>figure.lr-photo img{width:auto;max-width:100%}
.lr-body>figure figcaption{contain:inline-size;margin-top:12px;font-size:15px;line-height:1.55;color:var(--ink-2)}
.lr-body>.ts-video,.lr-videos .ts-video{aspect-ratio:16/9;margin:0;background:var(--ink)}
.lr-body .ts-video iframe{display:block;width:100%;height:100%;border:0}
/* videos one after another, two a row (one on a phone) */
.lr-body>.lr-videos{margin:clamp(28px,3.4vw,44px) 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (max-width:720px){.lr-body>.lr-videos{grid-template-columns:minmax(0,1fr)}}
.prose.lr-body>blockquote{margin:clamp(32px,4vw,56px) 0}
.prose.lr-body>blockquote p{font-size:clamp(24px,2.6vw,34px);line-height:1.3;letter-spacing:-.01em}
.lr-body>table{display:block;max-width:100%;overflow-x:auto}

/* the rail: the page's parts (the one being read marked as the page scrolls) and its section */
.lr-rail{display:grid;gap:36px;align-content:start}
.lr-toc summary,.lr-sib h2{display:block;margin:0 0 4px;padding-bottom:10px;border-bottom:2px solid var(--ink);font-size:18px;font-weight:800;line-height:1.3;color:var(--ink);list-style:none}
.lr-toc summary::-webkit-details-marker{display:none}
.lr-sib h2 a{color:inherit;text-decoration:none}
.lr-sib h2 a:hover{text-decoration:underline;text-underline-offset:3px}
.lr-sib__ev{margin:12px 0 0;font-size:15px;font-weight:700;color:var(--ink)}
.lr-toc ol,.lr-sib ul{list-style:none;margin:0;padding:0}
.lr-toc li,.lr-sib li{border-bottom:1px solid var(--rule)}
.lr-toc a,.lr-sib li a{display:block;padding:11px 0 11px 14px;font-size:15px;line-height:1.4;color:var(--ink-2);text-decoration:none;box-shadow:inset 3px 0 0 transparent}
.lr-toc a:hover,.lr-sib li a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.lr-toc a[aria-current],.lr-sib li a[aria-current]{color:var(--ink);font-weight:700;box-shadow:inset 3px 0 0 var(--ink)}
.lr-toc .lr-toc__sub a{padding-left:28px;font-size:14px}
/* the text starts soon after the title, not a screen later */
.lr-h + .lr-sec,.lr-h + .hold + .lr-sec{padding-top:clamp(32px,4vw,56px)}
@media (max-width:1023px){
  .lr-rail{margin-bottom:clamp(28px,6vw,40px)}
  .lr-sib{display:none} /* the cards at the end show the section's pages, with their photos */
  .lr-toc summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:44px}
  .lr-toc summary::after{content:"";width:9px;height:9px;margin-right:4px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg) translateY(-3px)}
  .lr-toc[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
}

/* the Journey's events, as linked cards in the text column, in rows that are full or centered
   (the user, 2026-10-09: "atleast balance it"): three to a row, two when there are 2 or 4 (so no
   card is left alone), two on a phone */
.prose .lr-events{--per:3;--gap:20px;list-style:none;margin:clamp(28px,3vw,40px) 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:26px var(--gap);max-width:none}
@media (min-width:561px){
  .prose .lr-events:is(:has(>:nth-child(2):last-child),:has(>:nth-child(4):last-child)){--per:2}
}
.prose .lr-ev{margin:0;flex:0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));min-width:0}
.prose .lr-ev a{display:block;padding:0;text-decoration:none;color:var(--ink)}
.prose .lr-ev img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;margin:0;background:var(--stone-2)}
.lr-ev span{display:block;margin-top:10px;font-size:13px;font-weight:700;color:var(--ink-3)}
.lr-ev b{display:block;margin-top:2px;font-size:17px;line-height:1.3}
.lr-ev a:hover b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
@media (max-width:560px){
  .prose .lr-events{--per:2;--gap:12px;row-gap:20px}
  .lr-ev b{font-size:15px}
}

/* what to read next: More about us, More on <page>, Other missions, What we do's eight: rows full
   or centered, as above; one a row on a phone, two on a tablet, four (or three) on a desktop */
.lr-cards{--per:1;--gap:24px;list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:30px var(--gap)}
@media (min-width:600px){.lr-cards{--per:2}}
@media (min-width:1024px){
  .lr-cards{--per:4}
  .lr-cards:is(:has(>:nth-child(2):last-child),:has(>:nth-child(3):last-child),:has(>:nth-child(5):last-child),:has(>:nth-child(6):last-child),:has(>:nth-child(9):last-child)){--per:3}
}
.lr-card{flex:0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));min-width:0}
.lr-card a{display:block;text-decoration:none;color:var(--ink)}
.lr-card img,.lr-card__ph{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;background:var(--stone-2)}
.lr-card b{display:block;margin-top:12px;font-size:19px;line-height:1.25}
.lr-card span{display:block;margin-top:6px;font-size:15px;line-height:1.5;color:var(--ink-2)}
.lr-card a:hover b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.lr-more+.lr-more{padding-top:0}
/* --------------------------------------------------------------- story sidebar --
   inc/sidebar.php: more from the section with photos, the programs, then a give card that
   stays in view for the rest of a long story (the column runs the story's full height); under
   1121px the column follows the story, giving first. */
.side.sd{position:static;align-self:stretch;display:flex;flex-direction:column;gap:40px}
.sd h2{margin:0 0 4px;padding-bottom:10px;border-bottom:2px solid var(--ink);font-size:20px;font-weight:800}
.sd ul{list-style:none;margin:0;padding:0;columns:auto}
.sd li{border-bottom:1px solid var(--rule)}
.side.sd .sd-more__i a{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:start;padding:14px 0}
.sd-more__img{display:block;width:96px;height:64px;object-fit:cover;background:var(--stone-2)}
.side.sd .sd-more__t b{font-size:15px}
.sd-more__t span{display:block;margin-top:4px;font-size:13px;color:var(--ink-2)}
.side.sd .sd-help span{font-size:14px;line-height:1.45}
.sd-give{position:sticky;top:calc(var(--top-h) + 24px);padding:22px 22px 24px;background:var(--paper);border:2px solid var(--ink)}
.sd .sd-give h2{margin:0 0 8px;padding:0;border:0;line-height:1.2}
.sd-give p{margin:0 0 16px;font-size:15px;line-height:1.5;color:var(--ink-2)}
.sd-amts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
.side.sd a.sd-amt{display:block;padding:10px 0;text-align:center;border:2px solid var(--ink);border-radius:var(--pill);font-weight:700;color:var(--ink)}
.side.sd a.sd-amt:hover{background:var(--ink);color:var(--paper)}
@media (max-width:1120px){
  .sd-give{order:-1;position:static;max-width:520px}
  .side.sd{gap:32px}
}

/* --------------------------------------------------------------------- careers --
   page-templates/careers.php: how many roles are open beside the title, then the roles as 03's
   cards (the user, 2026-10-09: "position > then apply button > then form of application. also
   make it card"), Apply for another role, the form in its card, centered, open once Apply is
   pressed, then how to apply. */
.cr-h__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);gap:28px 64px;align-items:end}
.cr-sum{padding:22px 24px 24px;background:var(--paper);border:2px solid var(--ink)}
.cr-sum__n{margin:0;font-size:18px;font-weight:700}
.cr-sum__n b{margin-right:6px;font-size:46px;font-weight:800;letter-spacing:-.03em;line-height:1}
.cr-sum__p{margin:8px 0 18px;font-size:15px;line-height:1.5;color:var(--ink-2)}
.cr-any{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 24px;margin-top:clamp(28px,3vw,40px);text-align:center}
.cr-any p{margin:0;max-width:60ch;font-size:16px;line-height:1.5;color:var(--ink-2)}
.cr-any .line{min-height:44px}
.cr-apply[hidden]{display:none}
.cr-apply__in,.cr-ways__in{max-width:780px;margin-inline:auto}
.cr-apply .sh,.cr-ways .sh{text-align:center}
.cr-how{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.cr-how li{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--rule)}
.cr-how b{font-size:16px}
.cr-how span{font-size:16px;line-height:1.5;color:var(--ink-2)}
.cr-more .fig{margin:0 0 20px}
@media (max-width:900px){
  .cr-h__in{grid-template-columns:minmax(0,1fr)}
}

/* ----------------------------------------------------------------- free clinic --
   page-templates/free-clinic.php: booking in the first screen, then services and what to
   bring side by side, then the questions, each opening when tapped. */
.fc-h__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:28px 64px;align-items:center}
.fc-book{padding:22px 24px 20px;background:var(--paper);border:2px solid var(--ink)}
.fc-book p{margin:8px 0 18px;font-size:14px;line-height:1.5;color:var(--ink-2)}
.fc-book .line{min-height:48px}
.fc-book p.fc-book__q{margin:4px 0 0;padding-top:14px;border-top:1px solid var(--rule);font-size:15px}
.fc-svc,.fc-bring{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.fc-svc li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:16px;padding:15px 0;border-bottom:1px solid var(--rule)}
.fc-svc b{font-size:17px}
.fc-svc span{font-size:15px;line-height:1.5;color:var(--ink-2)}
.fc-bring li{position:relative;padding:14px 0 14px 28px;border-bottom:1px solid var(--rule);font-size:16px;line-height:1.5}
.fc-bring li::before{content:"";position:absolute;left:4px;top:22px;width:9px;height:9px;background:var(--medicine)}
.fc-where{margin:28px 0 6px;font-size:18px}
.fc-where__p{margin:0;font-size:16px;line-height:1.55;color:var(--ink-2)}
.fc-faq{border-top:2px solid var(--ink)}
.fc-faq details{border-bottom:1px solid var(--rule)}
.fc-faq summary{position:relative;padding:18px 40px 18px 0;cursor:pointer;list-style:none;font-size:18px;font-weight:700;line-height:1.35}
.fc-faq summary::-webkit-details-marker{display:none}
.fc-faq summary::after{content:"+";position:absolute;right:6px;top:14px;font-size:26px;font-weight:400;line-height:1}
.fc-faq details[open] summary::after{content:"\2212"}
.fc-faq details p{margin:0 0 20px;max-width:62ch;font-size:16px;line-height:1.6;color:var(--ink-2)}
@media (max-width:900px){
  .fc-h__in{grid-template-columns:minmax(0,1fr)}
  .fc-svc li{grid-template-columns:minmax(0,1fr);gap:4px}
}

/* ----------------------------------------------------------------- scholarship --
   page-templates/scholarship.php: open or closed first, who can apply, then everything to
   prepare. Closed shows a grey dot, open a green one with Apply now. */
.sc-h__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:28px 64px;align-items:center}
.sc-status{padding:20px 22px;background:var(--paper);border:2px solid var(--ink)}
.sc-status__s{display:flex;gap:10px;align-items:baseline;margin:0;font-size:18px;font-weight:800;line-height:1.3}
.sc-status__dot{flex:none;width:11px;height:11px;border-radius:50%;background:var(--ink-3);transform:translateY(-1px)}
.sc-status.is-open .sc-status__dot{background:var(--charity)}
.sc-status__p{margin:8px 0 0;font-size:15px;line-height:1.5;color:var(--ink-2)}
.sc-status .solid{margin-top:16px}
.sc-who{max-width:70ch;margin:28px 0 0;padding-top:20px;border-top:1px solid var(--rule);font-size:clamp(17px,1.4vw,19px);line-height:1.55}
.sc-req,.sc-docs,.sc-steps{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.sc-req li{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--rule)}
.sc-req b{font-size:16px}
.sc-req span{font-size:16px;line-height:1.5;color:var(--ink-2)}
.sc-docs li{position:relative;padding:12px 0 12px 30px;border-bottom:1px solid var(--rule);font-size:16px;line-height:1.45}
.sc-docs li::before{content:"";position:absolute;left:2px;top:15px;width:14px;height:14px;border:2px solid var(--ink)}
.sc-note{margin:16px 0 0;font-size:15px;font-weight:700}
.sc-schools,.sc-courses{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.sc-schools{display:grid;grid-template-columns:minmax(0,1fr);gap:0;border-top:2px solid var(--ink)}
.sc-school{padding:12px 0;border-bottom:1px solid var(--rule);font-size:16px;font-weight:700}
.sc-course{padding:7px 14px;background:var(--paper);border:1px solid var(--rule);border-radius:var(--pill);font-size:15px}
.sc-steps{counter-reset:sc}
.sc-steps li{counter-increment:sc;position:relative;display:grid;gap:4px;padding:14px 0 14px 46px;border-bottom:1px solid var(--rule)}
.sc-steps li::before{content:counter(sc);position:absolute;left:0;top:13px;width:30px;height:30px;border-radius:50%;
  display:grid;place-items:center;background:var(--ink);color:var(--paper);font-size:14px;font-weight:800}
.sc-steps b{font-size:16px}
.sc-steps span{font-size:15px;line-height:1.5;color:var(--ink-2)}
@media (max-width:900px){
  .sc-h__in{grid-template-columns:minmax(0,1fr)}
  .sc-req li{grid-template-columns:minmax(0,1fr);gap:2px}
}

/* What we do: the eight footprints, each with its mission's colour */
.lr-card b .key{display:inline-block;width:12px;height:12px;margin-right:9px;vertical-align:1px;background:var(--m)}
.lr-missions+.lr-more,.lr-sec+.lr-missions{padding-top:0}

/* ------------------------------------------------- get involved, programs, volunteer --
   Doors: each a photograph, what it is, one line and where it goes, the whole card one link.
   Four a row on wide screens (Get involved), two for Programs; one a row on a phone. */
.doors{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:34px 24px}
@media (min-width:1100px){.doors--4{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:760px){.doors--2{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 32px}}
.doors>li{display:flex;flex-direction:column;gap:14px;min-width:0}
.door{display:flex;flex-direction:column;flex:1;text-decoration:none;color:var(--ink)}
.door__img{display:block;overflow:hidden;background:var(--stone-2)}
.door__img img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.doors--2 .door__img img{aspect-ratio:16/9}
.door__t{display:block;margin-top:14px;font-size:24px;font-weight:800;line-height:1.2;letter-spacing:-.01em}
.door__d{display:block;margin-top:8px;font-size:16px;line-height:1.55;color:var(--ink-2)}
.door__s{display:flex;gap:10px;align-items:baseline;margin-top:12px;font-size:16px;font-weight:700;line-height:1.4}
.door__dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--ink-3);transform:translateY(-1px)}
.door__s.is-open .door__dot{background:var(--charity)}
.door__go{display:block;margin-top:auto;padding-top:14px;font-size:16px;font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.door:hover .door__t,.door:hover .door__go{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:4px}
.door:hover .door__img img{opacity:.92}
.door__act{align-self:flex-start}
.doors--2 .door__go{margin-top:0}

/* who to call: what about, the numbers, a note */
.gi-calls__p{margin:0;font-size:17px;line-height:1.65;color:var(--ink-2);max-width:46ch}
.gi-calls{margin:0;border-top:2px solid var(--ink)}
.gi-calls>div{display:grid;grid-template-columns:minmax(0,11em) minmax(0,1fr);gap:6px 20px;padding:16px 0;border-bottom:1px solid var(--rule)}
.gi-calls dt{font-size:17px;font-weight:800;line-height:1.4}
.gi-calls dd{margin:0;display:flex;flex-direction:column;gap:4px;font-size:17px;line-height:1.5}
.gi-calls__l a{color:var(--ink);font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;font-variant-numeric:tabular-nums}
.gi-calls__n{font-size:15px;line-height:1.5;color:var(--ink-2)}
.gi-calls__n a{color:var(--ink);font-weight:700}
@media (max-width:560px){.gi-calls>div{grid-template-columns:1fr}}

/* the volunteer form: a real one, so it has a bot trap to hide and a server's answer to show */
.tc-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.sg-form[hidden],.sg-thanks[hidden]{display:none}
.sg-err--top{margin:0 0 20px;padding:12px 14px;border-left:4px solid var(--err);background:var(--stone)}
.sg-thanks:focus{outline:none}

/* ------------------------------------------------- offices in the Philippines, as cards --
   White cards on the warm ground, three a row; the headquarters across two, its photo beside
   the details; two a row on a tablet, one on a phone. */
.op-map{margin:16px 0 0}
.offices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.office{display:flex;flex-direction:column;min-width:0;background:var(--paper)}
.office--hq{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.office__ph{background:var(--stone-2)}
.office__img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.office--hq .office__img{height:100%;min-height:300px;aspect-ratio:auto}
.office__b{display:flex;flex-direction:column;gap:12px;padding:20px 22px 24px;min-width:0}
.office--hq .office__b{padding:28px 30px 30px}
.office__t{margin:0;font-size:21px;font-weight:800;line-height:1.25;letter-spacing:-.01em;text-wrap:balance}
.office--hq .office__t{font-size:clamp(24px,2.3vw,30px)}
.office__sub{margin:-6px 0 0;font-size:15px;line-height:1.4;color:var(--ink-2)}
.office__addr{margin:0;font-size:16px;line-height:1.55}
/* the ways to reach an office as round icons that act (the user, 2026-10-15: "let's make it a
   logo instead of immediately showing the information"); each one's words on hover */
.office__i{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.office__ic{display:inline-grid;place-items:center;width:44px;height:44px;border:1.5px solid var(--line);border-radius:50%;
            background:var(--paper);color:var(--ink);transition:background-color .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease)}
.office__ic:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.office__ic:active{transform:translateY(1px)}
.office__ic:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (prefers-reduced-motion:reduce){ .office__ic{transition:none} .office__ic:active{transform:none} }
.office__h{margin:0;padding-top:12px;border-top:1px solid var(--rule);font-size:15px;color:var(--ink-2)}
.office a:hover{text-decoration-thickness:3px}
@media (max-width:1099px){.offices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:699px){
  .offices{grid-template-columns:minmax(0,1fr);gap:22px}
  .office--hq{grid-column:auto;display:flex}
  .office--hq .office__img{height:auto;min-height:0;aspect-ratio:16/9}
  .office--hq .office__b{padding:20px 22px 24px}
}
/* a province office's own page, at the foot of its card (inc/offices.php) */
.office__more{margin:auto 0 0;padding-top:6px}

/* A feature's page (inc/feature-page.php): name and line, its photo, the article with where to
   find it beside it, then its news. */
.ft-photo figure{margin:0;width:fit-content;max-width:100%}
.ft-photo img{display:block;width:100%;height:auto;max-height:640px;object-fit:cover}
.ft-photo figcaption{contain:inline-size;margin-top:10px;font-size:15px;line-height:1.5;color:var(--ink-2)}
/* the article on the frame's left edge, where to find it on its right, kept in view */
.ft-about__two{display:grid;grid-template-columns:minmax(0,760px) minmax(0,400px);justify-content:space-between;column-gap:48px;align-items:start}
.ft-about__two .ft-where{position:sticky;top:calc(var(--top-h) + 24px)}
.admin-bar .ft-about__two .ft-where{top:calc(var(--top-h) + var(--wpbar) + 24px)}
.ft-text.prose p{font-size:19px;line-height:1.7}
.ft-text>figure{margin:0 0 clamp(24px,3vw,36px)}
.ft-text>figure img{display:block;width:auto;max-width:100%;height:auto;background:var(--stone-2)}
.ft-text>figure figcaption{contain:inline-size;margin-top:12px;font-size:15px;line-height:1.55;color:var(--ink-2)}
.ft-where h2{margin:0 0 16px;font-size:22px;font-weight:800;letter-spacing:-.01em}
.ft-office{grid-template-columns:minmax(0,1fr)}
.ft-office .office{border:1px solid var(--rule)}
/* the headquarters' wide card, beside an article, is an ordinary card */
.ft-about__two .ft-office .office--hq{grid-column:auto;display:flex}
.ft-about__two .ft-office .office--hq .office__img{height:auto;min-height:0;aspect-ratio:16/9}
.ft-about__two .ft-office .office--hq .office__b{padding:20px 22px 24px}
.ft-about__two .ft-office .office--hq .office__t{font-size:21px}
/* alone (a province with no article yet), the office runs across the frame, photo beside details */
@media (min-width:700px){
  .ft-about>.hold:not(.ft-about__two) .ft-office .office{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
  .ft-about>.hold:not(.ft-about__two) .ft-office .office__ph{position:relative;min-height:320px}
  .ft-about>.hold:not(.ft-about__two) .ft-office .office__img{position:absolute;inset:0;height:100%;aspect-ratio:auto}
  .ft-about>.hold:not(.ft-about__two) .ft-office .office__b{padding:28px 30px 30px}
}
@media (max-width:1023px){
  .ft-about__two{grid-template-columns:minmax(0,1fr);row-gap:40px}
  .ft-about__two .ft-where{position:static}
}
/* under the title, the jump down to its news; its news on the page, as cards */
.ft-h__go{margin:24px 0 0}
/* the count is a small pill beside the heading, part of it, not a line standing apart */
.ft-news__h{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;max-width:none}
.ft-news__h p.ft-news__n{display:inline-flex;align-items:center;min-height:34px;margin:0;padding:4px 14px;border:1px solid var(--rule);
  border-radius:var(--pill);background:var(--paper);font-size:15px;font-weight:700;line-height:1;color:var(--ink);
  font-variant-numeric:tabular-nums}
.mn-more__all{margin:28px 0 0}

/* News: the header and its feature chips are in wp.css (.nw-h) */

/* Mission pages' Eight Footprints: one whose page is not published shows, without a link
   (inc/mission-page.php) */
.mn-idx__off>span{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:center;padding:14px 0}
/* this mission is marked by a bar in the gutter beside it, not by pushing it in: every icon and
   name stays on one line (the user, 2026-10-15: "fix the drift in icon") */
.mn-idx .is-here{position:relative;padding-left:0;box-shadow:none}
.mn-idx .is-here::before{content:"";position:absolute;left:-14px;top:12px;bottom:12px;width:4px;background:var(--ink)}

/* the job application form: full-width fields inside the grid keep the grid's gap (03's
   .sg-f--wide margin is for the note box after it), and the CV field's hint */
.sg-fgrid>.sg-f--wide{margin-top:0}
.sg-hint{display:block;margin-top:6px;font-size:15px;color:var(--ink-2)}
.sg-f input[type=file]{padding:10px 12px;background:var(--paper)}

/* Scholarship and Free Clinic (2026-10-09): a photograph in the header beside the title and the
   open-or-closed line; the buttons at the end, after the fine print */
.sc-h__in,.fc-h__in{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}
.sc-h__ph,.fc-h__ph{overflow:hidden;background:var(--stone-2)}
.sc-h__ph img,.fc-h__ph img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.pg-h__s{display:flex;gap:10px;align-items:baseline;margin:18px 0 0;font-size:17px;font-weight:800;line-height:1.35}
.pg-h__dot{flex:none;width:11px;height:11px;border-radius:50%;background:var(--ink-3);transform:translateY(-1px)}
.pg-h__s.is-open .pg-h__dot{background:var(--charity)}
#apply-now .sc-status{max-width:640px}
.fc-book--end{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px;max-width:880px;padding:26px 28px 22px}
.fc-book--end p{margin:10px 0 0}
.fc-book--end .fc-book__q{grid-column:1/-1;margin:0}
@media (max-width:700px){.fc-book--end{grid-template-columns:minmax(0,1fr)}}

/* the Free Clinic's Book a visit and the Scholarship's Apply now in the middle of the page, like
   the questions above them (the user, 2026-10-09: "center the Book a Visit") */
#book .sh,#apply-now .sh{margin-inline:auto;text-align:center}
.fc-book--end,#apply-now .sc-status{margin-inline:auto;text-align:center}
#apply-now .sc-status__s{justify-content:center}

/* ---- a mission's page (inc/mission-page.php; the user, 2026-10-09: "story telling is bad"):
   the photograph of a person rises out of the mission's colour, Dharma Master Cheng Yen's words,
   the story, then the parts in turn, each heading on the left edge of the page ---- */
.mn-h{padding-bottom:clamp(120px,15vw,210px)}
.mn-h.mn-h--plain{padding-bottom:clamp(36px,4.6vw,64px)}
.mn-photo-w{margin-top:calc(-1 * clamp(92px,12vw,170px))}
.mn-photo,.mn-story__f,.mn-world__f{margin:0;max-width:min(100%,var(--w,100%))}
.mn-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:var(--stone-2)}
.mn-photo figcaption,.mn-story__f figcaption,.mn-world__f figcaption{margin-top:12px;max-width:76ch;font-size:15px;line-height:1.55;color:var(--ink-2)}
.mn-when{color:var(--ink-3)}

.mn-say{padding-top:clamp(56px,7vw,104px)}
.mn-saying{margin:0;max-width:940px}
.mn-saying blockquote{margin:0}
.mn-saying blockquote::before{content:"";display:block;width:56px;height:4px;margin-bottom:24px;background:var(--m)}
.mn-saying p{margin:0;font-size:clamp(28px,3.4vw,46px);font-weight:800;line-height:1.14;letter-spacing:-.03em;color:var(--ink);text-wrap:balance}
.mn-saying figcaption{margin-top:18px;font-size:17px;color:var(--ink-2)}
.mn-saying cite{font-style:normal;font-weight:700;color:var(--ink)}

.mn-say+.mn-story{padding-top:clamp(48px,6vw,88px)}
.mn-story__in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,5vw,80px);align-items:start}
.mn-story__in--one{grid-template-columns:minmax(0,1fr)}
.mn-story__t h2{margin:0;font-size:clamp(28px,3vw,40px);font-weight:800;line-height:1.1;letter-spacing:-.025em;text-wrap:balance}
.mn-story__t h2 a{color:var(--ink);text-decoration:none}
.mn-story__t h2 a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.mn-story__t .meta{margin:14px 0 26px}
.mn-story__go{margin:28px 0 0}
.mn-story__ph{display:grid;gap:clamp(26px,3vw,40px);position:sticky;top:calc(var(--top-h) + 24px)}
.mn-story__f img{display:block;width:100%;height:auto;background:var(--stone-2)}

.mn-figs .mn-figs__l{grid-template-columns:repeat(var(--n,3),minmax(0,1fr))}
.mn-figs__l--1{--n:1}
.mn-figs__l--2{--n:2}
.mn-figs .mn-figs__l dt{font-size:clamp(44px,5.2vw,72px)}
.mn-figs .mn-figs__l dd{font-size:17px}
.mn-figs__src{margin:18px 0 0;font-size:15px;color:var(--ink-3)}

.mn-split{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(24px,5vw,80px);align-items:start}
.mn-split__h h2{margin:0;font-size:clamp(30px,3.6vw,48px);font-weight:800;letter-spacing:-.025em;line-height:1.05;text-wrap:balance}
.mn-world__f{margin-top:clamp(22px,2.6vw,32px)}
.mn-world__f img{display:block;width:100%;height:auto;background:var(--stone-2)}
.mn-world .prose p{max-width:66ch}

/* a mission with one program: the card as a row, photo beside its words */
.mn-help .lr-cards:has(>.lr-card:only-child){justify-content:flex-start}
.mn-help .lr-card:only-child{flex:1 1 100%;max-width:900px}
.mn-help .lr-card:only-child a{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto auto;column-gap:clamp(22px,3vw,40px)}
.mn-help .lr-card:only-child img,.mn-help .lr-card:only-child .lr-card__ph{grid-row:1/3}
.mn-help .lr-card:only-child b{grid-column:2;align-self:end;margin-top:0;font-size:clamp(21px,2vw,26px)}
.mn-help .lr-card:only-child span{grid-column:2;align-self:start;margin-top:8px}

.mn-more .mg3{margin-top:0}

.mn-take__l{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(24px,3vw,44px)}
.mn-take__l li{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:22px;border-top:2px solid var(--ink)}
.mn-take__l h3{margin:0;font-size:24px;font-weight:800;letter-spacing:-.015em}
.mn-take__l p{margin:0;font-size:17px;line-height:1.6;color:var(--ink-2);max-width:38ch}
.mn-take__l .line{margin-top:auto}

@media (max-width:900px){
  .mn-split,.mn-story__in{grid-template-columns:minmax(0,1fr)}
  .mn-story__ph{position:static}
  .mn-take__l{grid-template-columns:minmax(0,1fr);row-gap:30px}
}
@media (max-width:700px){
  .mn-help .lr-card:only-child a{display:block}
  .mn-help .lr-card:only-child b{margin-top:12px}
  .mn-h{padding-bottom:clamp(92px,26vw,140px)}
  .mn-photo-w{margin-top:calc(-1 * clamp(70px,20vw,110px))}
  .mn-figs .mn-figs__l{grid-template-columns:minmax(0,1fr)}
}

/* the home page's scroll cue on a phone (front-page.php): a dark pill near the foot of the screen
   while a pinned scene is under way, a bar filling with the scene; it floats, so it has a shadow.
   It replaces the hint at the foot of the opening there. */
.scue{display:none}
@media (max-width:899px){
  .mo .op__hint{display:none}
  .scue{position:fixed;z-index:85;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:6px;
        padding:11px 18px 13px;border-radius:var(--pill);background:var(--ink);color:var(--paper);font-size:15px;font-weight:700;line-height:1.2;white-space:nowrap;
        box-shadow:0 10px 26px rgba(23,32,27,.22);pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%,8px);
        transition:opacity .25s var(--ease),transform .25s var(--ease),visibility 0s linear .25s}
  .scue.is-on{opacity:1;visibility:visible;transform:translate(-50%,0);transition:opacity .25s var(--ease),transform .25s var(--ease),visibility 0s}
  .scue svg{flex:none;animation:op-bob 1.8s var(--ease) infinite}
  .scue__bar{position:absolute;left:18px;right:18px;bottom:5px;height:2px;border-radius:2px;background:rgba(255,255,255,.28);overflow:hidden}
  .scue__bar i{display:block;width:100%;height:100%;background:var(--paper);transform-origin:left center;transform:scaleX(var(--p,0))}
  .dock-up .scue{bottom:calc(var(--dock-h,0px) + 16px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){.scue svg{animation:none}}
/* the article starts close under the title, as on the long reads */
.ft-h + .sec,.ft-h + .hold + .sec{padding-top:clamp(32px,4vw,56px)}
