/* The same book-style masthead frames the parish's own name and photographs. */
body.pfv-piotr {--piotr-rule:color-mix(in srgb,var(--pf-brand) 18%,var(--pf-paper));--piotr-ink:color-mix(in srgb,var(--pf-brand) 63%,#241e1c)}
body.pfv-piotr .pfv-masthead .pfv-brand {min-width:0;max-width:100%}
body.pfv-piotr .pfv-masthead .pfv-brand strong {text-wrap:balance;overflow-wrap:break-word}
body.pfv-piotr .pfv-masthead .pfv-brand small {text-transform:uppercase;font:600 .74rem/1.45 system-ui,sans-serif;letter-spacing:.15em}
body.pfv-piotr .pfv-nav .pfv-menu>li>a {text-underline-offset:.24em}
body.pfv-piotr .pfv-quick {grid-template-columns:repeat(auto-fit,minmax(min(100%,10em),1fr))}
body.pfv-piotr .pfv-quick>a {text-decoration:none;min-width:0;height:auto}
body.pfv-piotr .pfv-quick>a b {display:grid;place-items:center;width:1rem;height:1rem;flex:none;font-size:0;line-height:1}
body.pfv-piotr .pfv-quick>a b::before {content:"";width:.56rem;height:.56rem;border-inline-end:2px solid currentColor;border-block-start:2px solid currentColor;transform:rotate(45deg)}
body.pfv-piotr .pfv-quick>a:is(:hover,:focus-visible) strong {text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:.06em}
body.pfv-piotr .pfv-information>.pfv-block {min-width:0}
body.pfv-piotr .pfv-information .pfw-today {background:none;border:0;padding:0;margin:.55rem 0;box-shadow:none;display:grid;gap:.18rem}
body.pfv-piotr .pfv-information .pfw-today strong {font:600 .83rem/1.5 system-ui,sans-serif;color:var(--piotr-ink)}
body.pfv-piotr .pfv-information .pfw-today .pfw-lines {font:600 clamp(1.18rem,2vw,1.65rem)/1.35 var(--pf-serif);color:var(--pf-brand);letter-spacing:.015em}
body.pfv-piotr .pfv-information .pfv-text-link {display:inline-flex;align-items:center;gap:.4rem;min-height:2.75rem;font:600 .88rem/1.45 system-ui,sans-serif;color:var(--pf-brand)}
body.pfv-piotr .pfv-information .pfv-text-link svg {width:1rem;height:1rem}
body.pfv-piotr .pfv-home .pfv-expanded {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(2rem,4vw,4rem);align-items:start;padding-block:clamp(1.8rem,3.5vw,3.2rem)}
body.pfv-piotr .pfv-home .pfv-expanded>.pfv-block {min-width:0;grid-area:auto;margin:0;padding:0}
body.pfv-piotr .pfv-home .pfv-expanded>.pfv-news,
body.pfv-piotr .pfv-home .pfv-expanded>.pfv-block:only-child,
body.pfv-piotr .pfv-home .pfv-expanded:has(>.pfv-news):not(:has(>.pfv-events))>.pfv-notice,
body.pfv-piotr .pfv-home .pfv-expanded:has(>.pfv-news):not(:has(>.pfv-notice))>.pfv-events {grid-column:1/-1}
body.pfv-piotr .pfv-section-title,body.pfv-piotr .pfx-home .pfx-heading {gap:.5rem 1rem;align-items:baseline;margin-block:0 1rem;flex-wrap:wrap}
body.pfv-piotr .pfv-home .pfv-expanded .pfv-section-title h2,
body.pfv-piotr .pfx-home .pfx-heading h2 {font:500 clamp(1.65rem,2.5vw,2.5rem)/1.15 var(--pf-title);text-wrap:balance;color:var(--piotr-ink)}
body.pfv-piotr .pfv-news .pfv-stories {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:0 clamp(1.5rem,4vw,4.25rem)}
body.pfv-piotr .pfv-news .pfv-stories>article {display:grid;grid-template-columns:clamp(5rem,8vw,8rem) minmax(0,1fr);gap:1.1rem;align-content:start;align-items:start;border:0;border-bottom:1px solid var(--piotr-rule);border-radius:0;background:none;padding:.9rem 0;margin:0}
body.pfv-piotr .pfv-news .pfv-story-photo {max-height:none;display:block;width:100%;height:auto;aspect-ratio:1.38;min-height:0;overflow:hidden}
body.pfv-piotr .pfv-news .pfv-story-photo :is(img,svg) {display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body.pfv-piotr .pfv-news .pfv-story-copy {min-width:0}
body.pfv-piotr .pfv-news .pfv-story-copy time {font:600 .76rem/1.45 system-ui,sans-serif;color:var(--piotr-ink)}
body.pfv-piotr .pfv-news .pfv-story-copy h3 {margin:.32rem 0 .5rem;font:600 clamp(1.08rem,1.4vw,1.4rem)/1.22 var(--pf-serif)}
body.pfv-piotr .pfv-news .pfv-story-copy h3 a {color:var(--piotr-ink)}
body.pfv-piotr .pfv-news .pfv-story-copy p {font-size:1rem;line-height:1.52;margin:.55rem 0}
body.pfv-piotr .pfv-news .pfv-stories>article:first-child {display:block;grid-row:span 4;border:0;padding-top:0}
body.pfv-piotr .pfv-news .pfv-stories>article:first-child .pfv-story-photo {aspect-ratio:1.85}
body.pfv-piotr .pfv-news .pfv-stories>article:first-child .pfv-story-copy {padding-top:.85rem}
body.pfv-piotr .pfv-news .pfv-stories>article:first-child h3 {font-size:clamp(1.5rem,2.3vw,2.25rem);line-height:1.13;text-wrap:balance}
body.pfv-piotr .pfv-news .pfv-stories>article:not(:first-child) .pfv-story-copy p {display:none}
body.pfv-piotr .pfv-news .pfv-story-copy>.pfv-text-link {display:none}
body.pfv-piotr .pfv-news>.pfv-text-link {display:inline-flex;align-items:center;gap:.55rem;min-height:2.75rem;margin-top:.6rem}
body.pfv-piotr .pfv-home .pfv-expanded :is(.pfv-notice,.pfv-events) article {border-bottom:1px solid var(--piotr-rule)}
body.pfv-piotr .pfv-home .pfv-expanded .pfv-row-arrow {display:none}
body.pfv-piotr .pfx-home>.pfe-container,body.pfv-piotr .pfe-essentials>.pfe-container {width:min(87.5%,84rem);max-width:none;margin-inline:auto;padding-inline:0}
body.pfv-piotr .pfx-home .pfx-week {gap:clamp(2rem,4vw,4rem)}
body.pfv-piotr .pfx-home .pfx-week>.pfe-card {border:0;border-top:2px solid var(--pf-brand);background:none;box-shadow:none;padding:1.25rem 0 0;min-width:0}
body.pfv-piotr .pfx-home .pfx-section {border-top:1px solid var(--piotr-rule);padding-block:clamp(1.65rem,3.4vw,3rem);margin:0}
body.pfv-piotr .pfx-home .pfx-sacraments {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:.35rem clamp(1rem,2.6vw,2.2rem)}
body.pfv-piotr .pfx-home .pfx-sacraments .pfx-tile {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;border:0;border-bottom:1px solid var(--piotr-rule);border-radius:0;background:none;padding:.7rem 0;box-shadow:none;min-height:0}
body.pfv-piotr .pfx-home .pfx-sacraments .pfx-tile:not(:has(>img)){grid-template-columns:minmax(0,1fr) auto}
body.pfv-piotr .pfx-home .pfx-sacraments .pfx-tile>img {grid-column:auto;width:3.75rem;height:3.75rem;aspect-ratio:1;object-fit:cover;border-radius:50%}
body.pfv-piotr .pfx-home .pfx-sacraments .pfx-tile>span {padding:0;display:grid;gap:.18rem;min-width:0}
body.pfv-piotr .pfx-home .pfx-sacraments .pfx-tile strong {font:600 1.18rem/1.2 var(--pf-serif);color:var(--piotr-ink)}
body.pfv-piotr .pfx-home .pfx-sacraments .pfx-tile small {font:normal .88rem/1.45 system-ui,sans-serif;color:var(--piotr-ink)}
body.pfv-piotr .pfx-home .pfx-sacraments .pfx-tile>svg {position:static;width:1rem;height:1rem;margin:0}
body.pfv-piotr .pfx-home .pfx-groups .pfx-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:clamp(1.25rem,2.6vw,2.25rem)}
body.pfv-piotr .pfx-home .pfx-groups article.pfx-tile {display:grid;grid-template-columns:auto 1fr;gap:1rem;align-content:start;align-items:start;border:0;border-top:2px solid var(--pf-accent);border-radius:0;padding:1.1rem 0 0;margin:0;background:none;box-shadow:none}
body.pfv-piotr .pfx-home .pfx-groups article.pfx-tile:not(:has(img)) {grid-template-columns:1fr}
body.pfv-piotr .pfx-home .pfx-groups article.pfx-tile>img {width:clamp(4rem,6.8vw,6rem);height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:2.8rem 2.8rem .1rem .1rem}
body.pfv-piotr .pfx-home .pfx-groups article.pfx-tile>div {padding:0}
body.pfv-piotr .pfx-home .pfx-groups article h3 {font:600 1.3rem/1.22 var(--pf-serif);margin:0 0 .45rem}
body.pfv-piotr .pfx-home .pfx-groups article p {font-size:.97rem;line-height:1.55;margin:0}
body.pfv-piotr .pfx-home .pfx-albums .pfx-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:clamp(.8rem,2vw,1.65rem)}
body.pfv-piotr .pfx-home .pfx-albums article {position:relative;display:flex;flex-direction:column;min-width:0;padding:0;background:none;border:0;box-shadow:none}
body.pfv-piotr .pfx-home .pfx-albums article>img {width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;display:block}
body.pfv-piotr .pfx-home .pfx-albums article>div {padding:.75rem 0;border-bottom:1px solid var(--piotr-rule)}
body.pfv-piotr .pfx-home .pfx-albums article h3 {margin:0;font:500 1.3rem/1.25 var(--pf-serif)}
body.pfv-piotr .pfx-home .pfx-albums article h3 a::after {content:"";position:absolute;inset:0}
body.pfv-piotr .pfx-home .pfx-albums article:focus-within {outline:2px solid var(--pf-brand);outline-offset:3px}
body.pfv-piotr .pfv-home .pfw-participation {width:min(87.5%,84rem);padding:0;margin:1rem auto 1.8rem;display:block}
body.pfv-piotr .pfv-home .pfw-participation .pfw-card {border:0;border-block:1px solid var(--piotr-rule);padding:1.25rem 0;border-radius:0;background:none}
body.pfv-piotr .pfv-home .pfw-participation h2 {color:var(--piotr-ink);font:500 clamp(1.5rem,2.25vw,2.1rem)/1.2 var(--pf-title)}
@media(min-width:64rem){
 body.pfv-piotr .pfv-header .pfv-masthead .pfv-brand strong {font-size:clamp(2.15rem,3.1vw,3.15rem)}
}
@media(max-width:55rem){
 body.pfv-piotr .pfv-home .pfv-expanded {grid-template-columns:minmax(0,1fr)}
 body.pfv-piotr .pfv-news .pfv-stories {grid-template-columns:minmax(0,1fr)}
 body.pfv-piotr .pfv-news .pfv-stories>article:first-child {grid-row:auto}
 body.pfv-piotr .pfx-home>.pfe-container,body.pfv-piotr .pfe-essentials>.pfe-container {width:min(90%,84rem)}
}
@media(max-width:40rem){
 body.pfv-piotr .pfv-masthead .pfv-brand small {font-size:.66rem;letter-spacing:.1em}
 body.pfv-piotr .pfv-ceremonial .pfv-intro {display:flex;align-items:end;min-height:clamp(18rem,80vw,24rem);height:auto}
 body.pfv-piotr .pfv-ceremonial .pfv-intro-copy {position:relative;inset:auto;align-self:end;margin:0;width:100%;padding:4rem 1.25rem 1.45rem;max-width:none}
 body.pfv-piotr .pfv-ceremonial .pfv-intro-photo::after {background:linear-gradient(180deg,transparent 4%,rgba(24,18,21,.12) 26%,rgba(24,18,21,.88) 100%)}
 body.pfv-piotr .pfv-ceremonial .pfv-intro-photo img {object-position:center 38%}
 body.pfv-piotr .pfv-ceremonial .pfv-intro-copy h1 {font-size:clamp(1.85rem,8vw,2.65rem);line-height:1.04}
 body.pfv-piotr .pfv-ceremonial .pfv-intro-copy .pfv-rule {width:3.65rem;margin:.5rem 0}
 body.pfv-piotr .pfv-ceremonial .pfv-intro-copy .pfv-lead {max-width:30ch;margin:0;font-size:1rem;line-height:1.32}
 body.pfv-piotr .pfv-ceremonial .pfv-quick {position:relative;inset:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,5.55em),1fr));width:100%;max-width:none;margin:0;padding:.65rem 1rem;gap:.45rem;height:auto}
 body.pfv-piotr .pfv-ceremonial .pfv-quick>a {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.35rem;min-width:0;min-height:4.6rem;padding:.6rem .2rem;text-align:center;border:1px solid var(--piotr-rule);border-radius:.18rem;box-shadow:none}
 body.pfv-piotr .pfv-ceremonial .pfv-quick>a .pfv-icon {width:1.32rem;height:1.32rem;flex:none}
 body.pfv-piotr .pfv-ceremonial .pfv-quick strong {font:600 1rem/1.12 var(--pf-serif);overflow-wrap:break-word}
 body.pfv-piotr .pfv-ceremonial .pfv-quick b {display:none}
 body.pfv-piotr .pfv-home .pfv-information {width:calc(100% - 2rem);padding-block:.65rem .8rem;gap:.9rem}
 body.pfv-piotr .pfv-information>.pfv-block+.pfv-block {padding-top:1rem}
 body.pfv-piotr .pfv-home .pfv-information h2 {font-size:1.4rem;margin:0}
 body.pfv-piotr .pfv-home .pfv-information h2 .pfv-icon {width:1.5rem;height:1.5rem}
 body.pfv-piotr .pfv-information .pfv-sacraments>p {margin-bottom:.25rem}
 body.pfv-piotr .pfv-home .pfv-expanded {padding-top:1.6rem}
 body.pfv-piotr .pfv-home .pfv-expanded .pfv-news .pfv-story-photo {aspect-ratio:1.38}
 body.pfv-piotr .pfv-home .pfv-expanded .pfv-news article:first-child .pfv-story-photo {aspect-ratio:1.75}
 body.pfv-piotr .pfv-news .pfv-stories>article {gap:.8rem}
}


@media(max-width:40rem) {
 body.pfv-piotr .pfv-masthead .pfv-brand strong {width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere}
 body.pfv-piotr .pfv-ceremonial .pfv-quick {display:flex;flex-wrap:wrap}
 body.pfv-piotr .pfv-ceremonial .pfv-quick>a {flex:1 1 5.5em;min-width:min-content;max-width:100%}
 body.pfv-piotr .pfv-ceremonial .pfv-quick>a span {max-width:100%}
}
@media(max-width:22rem) {
 body.pfv-piotr .pfv-header .pfv-masthead .pfv-emblem {display:none}
}

