/* A small portrait beside the text, with one photographic scale across the site. */
.pastor-frame, .staff-feature .staff-photo {--portrait:112px}
.pastor-frame, .pastor-frame.sticky, .pastor-frame.home {width:var(--portrait);max-width:100%;margin:0}
.pastor-frame img, .staff-feature .staff-photo {
  display:block;width:var(--portrait);max-width:100%;height:auto;aspect-ratio:35/45;
  border:3px solid #fff;border-radius:5px;background:#eff3f7;
  box-shadow:0 0 0 1px #d7e0e8,0 5px 14px -8px #18375265;
}
.pastor-frame img, .staff-feature .staff-photo img {object-fit:cover;object-position:50% 29%}
.staff-feature .staff-photo img {display:block;width:100%;height:100%}
.pastor-frame figcaption {display:grid;gap:1px;margin-top:12px;font-size:17px;line-height:1.45}
.pastor-frame figcaption small {font-size:12px;font-weight:650;color:#42627c}
.greeting-layout,.greeting-home,.staff-feature {grid-template-columns:112px minmax(0,1fr);gap:clamp(32px,4vw,58px)}
.staff-feature {align-items:start;padding-bottom:32px}
.staff-feature .staff-copy h3 {font-size:clamp(24px,2vw,34px)}
.staff-feature .staff-quote {font-size:17px!important;margin:12px 0 6px!important}
.greeting-layout:not(:has(.pastor-frame)),.greeting-home:not(:has(.pastor-frame)){grid-template-columns:minmax(0,1fr)}
.history-layout {--line:#d7e2ed;--deep:#163953;display:grid;grid-template-columns:minmax(165px,225px) minmax(0,1fr);gap:clamp(36px,5vw,82px);align-items:start}
.history-nav {position:sticky;top:108px;display:flex;flex-direction:column;gap:4px}
.history-nav a {display:grid;gap:3px;padding:13px 15px;border-left:2px solid var(--line);line-height:1.5;color:#52687a;transition:background .2s,color .2s}
.history-nav small,.era-head small {font-variant-numeric:tabular-nums;font-size:12px;letter-spacing:.06em}
.history-nav a[aria-current],.history-nav a:hover {border-color:#195cb9;background:#eff5fc;color:#154c90}
.history-nav span {font-size:15px;font-weight:650}
.history-era {scroll-margin-top:20px}
.history-era + .history-era {margin-top:76px}
.era-head {display:flex;align-items:center;gap:18px;color:var(--deep);border-top:2px solid var(--deep);border-bottom:1px solid var(--line);padding:24px 0;background:transparent}
.era-head>span {font:italic 42px/1 Georgia,serif;letter-spacing:-.06em;color:#6887a4}
.era-head h2 {margin:2px 0 0;font-size:clamp(23px,2.3vw,33px);line-height:1.35}
.era-head small {display:block;color:#516b83}
.history-year {display:grid;grid-template-columns:clamp(70px,8vw,118px) minmax(0,1fr);padding-top:32px}
.history-year h3 {margin:0;font-size:clamp(23px,2.4vw,34px);font-weight:650;letter-spacing:-.055em;line-height:1.3;color:var(--deep)}
.history-year ol {margin:0;padding:0;list-style:none;border-left:1px solid var(--line)}
.history-event {padding:0 0 20px 24px;position:relative}
.history-event:last-child {padding-bottom:6px}
.history-event::before {content:'';position:absolute;left:-4px;top:9px;width:7px;height:7px;border-radius:50%;background:#32659a;box-shadow:0 0 0 4px white}
.history-date {display:block;font-size:13px;font-weight:700;color:#376085;font-variant-numeric:tabular-nums;margin-bottom:2px}
.history-event p {margin:0;white-space:pre-line;font-size:17px;line-height:1.65}
.history-event .history-note {color:#495c6b;font-size:15px;margin-top:4px}
@media(max-width:800px){
  .history-layout {display:block}
  .history-nav {top:var(--history-sticky-top,72px);z-index:3;background:white;flex-direction:row;overflow-x:auto;gap:6px;padding:8px 0;border-bottom:1px solid var(--line);margin-bottom:20px;scrollbar-width:thin}
  .history-nav a {flex:none;padding:6px 12px;border:1px solid var(--line);border-radius:6px}
  .history-nav a small {font-size:11px}
  .history-nav a span {font-size:13px}
  .history-era {scroll-margin-top:var(--history-nav-height,70px)}
  .history-era+.history-era {margin-top:45px}
}
@media(max-width:700px){
  .pastor-frame,.staff-feature .staff-photo {--portrait:91px}
  .greeting-layout,.greeting-home {grid-template-columns:minmax(0,1fr);gap:24px}
  .pastor-frame.sticky,.pastor-frame.home {position:static;display:flex;align-items:center;gap:16px;width:auto}
  .pastor-frame img {flex:none}
  .pastor-frame figcaption {margin:0}
  .staff-feature {grid-template-columns:91px minmax(0,1fr);gap:18px}
  .staff-feature .staff-quote {font-size:15px!important}
  .history-year {grid-template-columns:58px minmax(0,1fr);padding-top:24px}
  .history-event {padding-left:15px;padding-bottom:17px}
  .history-event p {font-size:16px}
  .history-event .history-note {font-size:14px}
  .era-head {padding:16px 0;gap:12px}
  .era-head>span {font-size:32px}
}

#main:is([data-route="/about"],[data-route="/history"],[data-route="/staff"])>.section:first-child {padding-top:clamp(42px,5vw,76px)}
#main:is([data-route="/about"],[data-route="/history"],[data-route="/staff"]) .page-title {padding-bottom:24px;margin-bottom:20px}
#main:is([data-route="/about"],[data-route="/history"],[data-route="/staff"]) .about-tabs {margin-bottom:clamp(24px,3vw,44px)}
