body.wp-theme-parafeo-piotr-demo {
    --pt-ink: #332a24;
    --pt-rule: color-mix(in srgb, var(--pf-brand,#6d182b) 22%, var(--pf-paper,#faf5ec));
    --pt-paper: var(--pf-paper,#faf5ec);
    --pt-accent: var(--pf-brand,#6d182b);
    --pt-serif: Georgia, "Times New Roman", serif;
}
body.wp-theme-parafeo-piotr-demo main.pt-interior.wrap, body.pfv-piotr main.pfx-archive {
    width:min(1120px, calc(100% - clamp(36px,8vw,104px))); max-width:none; margin:0 auto;
    padding:clamp(1.1rem,3vw,2.8rem) 0 clamp(2.5rem,5vw,4.5rem);
    color:var(--pt-ink);
}
.pt-interior *, .pt-interior *::after {box-sizing:border-box}
body .pt-interior article.pt-article {margin:0; padding:0; max-width:none; width:100%; background:none; border:none; box-shadow:none}
body .pt-interior .pt-title {
    display:block; text-align:start; margin:0 0 clamp(1.4rem,3vw,2.4rem);
    padding:0 0 clamp(1.1rem,2.5vw,2rem); border:0; border-bottom:1px solid var(--pt-rule);
}
body .pt-interior .pt-title h1, body.pfv-piotr main.pfx-archive > h1 {
    margin:0; max-width:26ch; font:400 clamp(2.05rem,4.35vw,3.9rem)/1.1 var(--pt-serif);
    letter-spacing:-.035em; color:var(--pt-accent); text-wrap:balance; overflow-wrap:anywhere;
}
body .pt-interior .pt-title p {margin:.65em 0 0; max-width:68ch}
body .pt-interior .pt-back {
    display:inline-flex; align-items:center; gap:.4em; min-height:38px; margin:0 0 .4rem;
    color:var(--pt-accent); font:600 .93rem/1.35 system-ui,sans-serif; text-decoration:none;
}
.pt-back span {font:1.4em/1 var(--pt-serif)}
body .pt-interior .pt-today {display:inline-flex;align-items:center;gap:.65em;min-height:44px;padding:.5rem .95rem;color:var(--pt-accent);border:1px solid currentColor;text-decoration:none}
body .pt-interior .pt-today:hover {background:var(--pt-accent);color:white}
body.wp-theme-parafeo-piotr-demo .pfe-section-heading > :is(p,span) {display:none}
body .pt-interior .pt-back:hover {text-decoration:underline;text-underline-offset:.24em}
body .pt-interior .pt-illustrated {
    display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
    background:var(--pt-accent); padding:0; border:0; align-items:stretch; overflow:hidden;
}
body .pt-interior .pt-illustrated .pt-heading-copy {align-self:center;padding:clamp(1.35rem,3.5vw,3.5rem);min-width:0}
body .pt-interior .pt-illustrated :is(h1,.pt-back,.post-date) {color:#fffaf0}
body .pt-interior .pt-illustrated .pt-back {opacity:.92}
body .pt-interior .pt-opening-photo img {display:block;width:100%;height:100%;min-height:220px;max-height:360px;object-fit:cover;object-position:50% 42%;margin:0;border-radius:0}
body .pt-interior .pt-prose {max-width:78ch;margin-inline:auto;font-size:clamp(1rem,1.05vw,1.14rem);line-height:1.67;overflow-wrap:break-word}
body .pt-interior .pt-prose :is(h2,h3,h4) {font-family:var(--pt-serif);color:var(--pt-accent);letter-spacing:-.019em;line-height:1.22;scroll-margin-top:6.5rem;overflow-wrap:anywhere}
body .pt-interior .pt-prose h2 {font-size:clamp(1.45rem,2.2vw,2rem);margin:1.35em 0 .44em}
body .pt-interior .pt-prose h3 {font-size:clamp(1.25rem,1.6vw,1.55rem)}
body .pt-interior .pt-prose p {margin:.2em 0 1.05em}
body .pt-interior .pt-prose li + li {margin-top:.3em}
body .pt-interior .pt-prose :is(ol,ul){padding-inline-start:1.5em}
body .pt-interior .pt-prose > :first-child,body .pt-interior .parafeo-module > :first-child {margin-top:0}
body .pt-interior .pt-prose:has(.pt-chapters){display:grid;grid-template-columns:minmax(170px,.65fr) minmax(0,2fr);gap:clamp(1.5rem,4vw,4rem);max-width:100%;align-items:start}
body .pt-interior .pt-chapters {position:sticky;top:4.5rem;border-block:1px solid var(--pt-rule);padding:.2rem 0}
.pt-chapters summary {padding:.65em .1em;cursor:pointer;font-weight:700;color:var(--pt-accent)}
body .pt-interior .pt-chapters ol {padding:0 0 .65rem;list-style:none;margin:0}
.pt-chapters a {display:block;line-height:1.4;padding:.4em .1em;font-size:.97rem}
body .pt-interior .pt-prose:has(.pt-rites),body .pt-interior article.galeria .pt-prose,
body .pt-interior .pt-prose:has(.parafeo-people) {max-width:none}
.pt-rites {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));column-gap:clamp(1rem,3vw,2.4rem)}
body .pt-interior .pt-rites .pt-rite {min-width:0;border-top:1px solid var(--pt-rule);padding:.72rem 0}
body .pt-interior .pt-rites h2 {margin:0;font:400 clamp(1.25rem,1.65vw,1.5rem)/1.22 var(--pt-serif)}
.pt-rites a {display:flex;align-items:center;gap:.9rem;min-height:56px;color:var(--pt-accent);text-decoration:none}
.pt-rites a:hover {text-decoration:underline;text-underline-offset:.16em}
.pt-rites img {display:block;flex:0 0 auto;object-fit:cover;width:64px;height:64px;border-radius:50% 50% 3px 3px}
body .pt-interior .pt-rites .pt-rite p {font-size:.96rem;margin:.45rem 0}
body .pt-interior .post-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.35rem,3.5vw,2.75rem);margin:0}
body .pt-interior .pt-card {position:relative;display:block;padding:0;margin:0;border:0;min-width:0;border-radius:0;background:none;box-shadow:none}
body .pt-interior .pt-card .pt-card-photo {display:block;border-radius:0;overflow:hidden;margin:0 0 .85rem}
body .pt-interior .pt-card .pt-card-photo img {display:block;width:100%;height:auto;aspect-ratio:1.62;object-fit:cover}
body .pt-interior .pt-card h2 {margin:.3rem 0 .45rem;font:400 clamp(1.28rem,2.05vw,1.85rem)/1.19 var(--pt-serif);overflow-wrap:anywhere}
body .pt-interior .pt-card h2 a {color:var(--pt-accent);text-decoration:none}
body .pt-interior .pt-card h2 a:hover {text-decoration:underline;text-underline-offset:.14em}
body .pt-interior .pt-card .entry-content {font:inherit;line-height:1.58;color:var(--pt-ink)}
body .pt-interior .pt-card p {margin:.25rem 0 .6rem}
body .pt-interior .post-date {font:600 .86rem/1.4 system-ui,sans-serif;letter-spacing:.02em}
body .pt-interior .post-grid.pt-ledger {display:block;max-width:840px}
body .pt-interior .pt-ledger .pt-card {padding:1rem 0;border-bottom:1px solid var(--pt-rule)}
body .pt-interior .pt-ledger h2 {font-size:clamp(1.25rem,1.8vw,1.6rem)}
body .pt-interior .pt-albums {grid-template-columns:repeat(2,minmax(0,1fr))}
body .pt-interior article.galeria .gallery,body .pt-interior .parafeo-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.7rem,2vw,1.6rem);margin:1.25rem 0}
body .pt-interior article.galeria .gallery-item,body .pt-interior .parafeo-gallery figure {width:auto;max-width:none;margin:0;float:none;text-align:start}
body .pt-interior article.galeria .gallery-item img,body .pt-interior .parafeo-gallery figure img {width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;display:block}
body .pt-interior article.galeria figcaption {font-size:.88rem;line-height:1.44;margin:.45em 0}
body.wp-theme-parafeo-piotr-demo :is(.pt-interior,.pfx-archive) :is(a,button,summary):focus-visible {outline:3px solid var(--pt-accent);outline-offset:3px}
body.pfv-piotr #pfr-dialog {border:1px solid var(--pt-rule);background:var(--pt-paper);color:var(--pt-ink)}
body.pfv-piotr #pfr-dialog .pfr-dialog-head {background:var(--pt-accent);color:white}
body.pfv-piotr #pfr-dialog .pfr-dialog-head h2 {font-family:var(--pt-serif);color:inherit}
body.pfv-piotr #pfr-dialog [data-pfr-close] {color:white;border:1px solid currentColor;background:transparent}
@media(max-width:780px){
 body .pt-interior .post-grid.pt-stories {grid-template-columns:repeat(2,minmax(0,1fr))}
 body .pt-interior .pt-prose:has(.pt-chapters){display:block}
 body .pt-interior .pt-chapters {position:static;margin-bottom:1.4rem}
}
@media(max-width:620px){
 body.wp-theme-parafeo-piotr-demo main.pt-interior.wrap,body.pfv-piotr main.pfx-archive {width:calc(100% - 40px)}
 body .pt-interior .pt-illustrated {grid-template-columns:1fr}
 body .pt-interior .pt-opening-photo img {height:auto;min-height:0;max-height:220px;aspect-ratio:2.05}
 body .pt-interior .pt-illustrated .pt-heading-copy {padding:1.2rem}
 body .pt-interior .post-grid.pt-stories,body .pt-interior .pt-albums {grid-template-columns:1fr}
 body .pt-interior .pt-stories .pt-card:not(:first-child):has(.pt-card-photo) {display:grid;grid-template-columns:minmax(76px,28%) minmax(0,1fr);gap:.9rem;align-items:start;border-top:1px solid var(--pt-rule);padding-top:1rem}
 body .pt-interior .pt-stories .pt-card:not(:first-child) .pt-card-photo img {aspect-ratio:1}
 body .pt-interior article.galeria .gallery,body .pt-interior .parafeo-gallery {grid-template-columns:repeat(2,minmax(0,1fr))}
}

