/* Pastor bot one-page sites (pdk-*.pages.dev). Conference look: blue-hour sea, warm horizon accent used sparingly. */
@font-face{font-family:"Noto Sans";src:url(noto-sans-cyrillic.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Noto Sans";src:url(noto-sans-latin.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--deep:#081827;--navy:#0d2438;--paper:#f7f4ef;--tint:#efe7dc;--ink:#16212c;--muted:#56626e;--accent:#e09a5a;--accent-ink:#9a5418;--line:rgba(22,33,44,.13);--edge:max(22px,(100% - 1120px)/2)}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--deep)}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.62 "Noto Sans",system-ui,-apple-system,"Segoe UI",sans-serif;overflow-wrap:break-word;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{font-weight:700;line-height:1.16;letter-spacing:-.012em;margin:0 0 .5em;text-wrap:balance}
h1{font-size:clamp(2.15rem,8.6vw,4.7rem);line-height:1.07;font-weight:760;padding-bottom:.08em}
h2{font-size:clamp(1.5rem,4.8vw,2.35rem)}
h3{font-size:1.2rem}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.22em}
a:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:2px}
ul,ol{padding-left:1.2em}
.wrap{width:100%;max-width:700px;margin-inline:auto}
.muted,.note{color:var(--muted);font-size:15px}

/* hero: dark sea by default, a pastor photo through style="--hero:url(photo-1.jpg)" */
.hero{position:relative;color:#fff;background-color:var(--deep);background-image:linear-gradient(180deg,rgba(8,24,39,.30) 0%,rgba(8,24,39,.50) 42%,rgba(8,24,39,.93) 100%),var(--hero,url(sea.jpg));background-size:cover;background-position:center 68%;background-repeat:no-repeat;min-height:min(92svh,880px);display:flex;flex-direction:column;justify-content:flex-end;padding:112px var(--edge) 52px}
.hero.short{min-height:0;padding-top:120px}
.hero .sign{position:absolute;top:26px;left:var(--edge);width:46px;height:auto;margin:0}
.kicker{font-size:15px;font-weight:500;color:rgba(255,255,255,.84);margin:0 0 14px}
.hero h1{max-width:15ch;margin-bottom:.4em}
.lead{font-size:clamp(1.12rem,2.7vw,1.38rem);line-height:1.5;max-width:36ch}
.hero .lead{color:rgba(255,255,255,.9)}
.facts{list-style:none;margin:30px 0 26px;padding:0;display:grid;gap:16px 44px;grid-template-columns:1fr}
.facts li{font-size:17px;font-weight:600;line-height:1.35}
.facts li span{display:block;font-size:13px;font-weight:500;color:color-mix(in srgb,currentColor 64%,transparent);margin-bottom:3px}
@media (min-width:720px){.facts{grid-template-columns:repeat(auto-fit,minmax(170px,max-content))}}
/* phone: the hero hugs its text, title in the first screen (26.11.2026: 390px had ~350px of empty sky first) */
@media (max-width:719px){
.hero{min-height:min(64svh,580px);padding:92px var(--edge) 40px;background-image:linear-gradient(180deg,rgba(8,24,39,.22) 0%,rgba(8,24,39,.42) 38%,rgba(8,24,39,.88) 100%),var(--hero,url(sea.jpg))}
.hero .sign{top:22px;width:40px}
.kicker{margin-bottom:10px}
.facts{margin:22px 0 18px;gap:12px}
}

/* quiet actions: text link with a thin accent underline and a Phosphor arrow */
.link{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:16px;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.32em;text-decoration-color:var(--accent)}
.link::after{content:"";width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:url(arrow.svg) center/contain no-repeat;mask:url(arrow.svg) center/contain no-repeat;transition:transform .2s ease}
.link:hover::after{transform:translateX(3px)}
.links{display:flex;flex-wrap:wrap;gap:0 30px}

/* content blocks: the text column is set by the block itself, .wrap is optional */
.section{padding:clamp(52px,8vw,104px) var(--edge)}
.section > *{max-width:700px}
.section.wide > *{max-width:none}
@media (min-width:900px){body{font-size:18px}}
.section.tint{background:var(--tint)}
.section.dark{background:var(--navy);color:#fff}
.section.dark .muted,.section.dark .note{color:rgba(255,255,255,.7)}
.section > h2:first-child,.wrap > h2:first-child{margin-top:0}
.section .lead{color:var(--ink)}
.section.dark .lead{color:#fff}

.schedule{list-style:none;margin:10px 0 0;padding:0}
.schedule li{display:grid;grid-template-columns:72px 1fr;gap:16px;padding:15px 0;border-top:1px solid var(--line)}
.schedule li:last-child{border-bottom:1px solid var(--line)}
.schedule time{font-weight:700;font-variant-numeric:tabular-nums;color:var(--accent-ink)}
.schedule p{margin:0}
.dark .schedule li{border-color:rgba(255,255,255,.15)}
.dark .schedule time{color:var(--accent)}

.photo{margin:30px 0}
.photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.photo figcaption{font-size:14px;color:var(--muted);margin-top:10px}
body > .photo{margin:0}
body > .photo img{aspect-ratio:16/9;max-height:86vh}
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:30px 0}
.gallery img{width:100%;aspect-ratio:1;object-fit:cover}
.gallery img:first-child:nth-last-child(odd){grid-column:1/-1;aspect-ratio:16/10}
@media (min-width:900px){.gallery{grid-template-columns:repeat(3,1fr)}.gallery img:first-child:nth-last-child(odd){grid-column:auto;aspect-ratio:1}}

.quote{margin:0;font-size:clamp(1.25rem,3.4vw,1.62rem);line-height:1.45;font-weight:500;max-width:30ch}
.quote cite{display:block;margin-top:14px;font-size:15px;font-style:normal;font-weight:500;color:var(--muted)}
.dark .quote cite{color:rgba(255,255,255,.7)}

.contacts{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-direction:column}
details{padding:6px 0;border-top:1px solid var(--line)}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}
dl{margin:0}
dt{font-weight:700;margin-top:14px}
dd{margin:2px 0 0}
table{width:100%;border-collapse:collapse;font-size:16px}
th,td{text-align:left;padding:10px 12px 10px 0;border-top:1px solid var(--line);vertical-align:top}

/* footer is added by the bot on every page */
.pb-foot{background:var(--deep);color:rgba(255,255,255,.74);padding:34px var(--edge) 38px;display:flex;align-items:center;gap:14px;font-size:14px;line-height:1.45}
.pb-foot img{width:30px;flex:none}
.pb-foot p{margin:0}

/* taken-down page */
.hero.gone{min-height:calc(100svh - 108px)}
