/* Light iconographic style: Marian blue and gold leaf on white and pale sky blue.
   Headings in Old Standard TT (a classic Russian book face), body in Alegreya Sans. */
:root{
 --lapis:#2f5d9e;--lapis-deep:#1e3f73;--night:#1e3f73;--sky:#eaf1fa;--sky-2:#d7e5f5;
 --gold:#c9a24a;--gold-light:#ecd9a0;--gold-deep:#9c7a2c;
 --cinnabar:#2f5d9e;--parchment:#fbf8f1;--vellum:#ffffff;
 --ink:#1f2633;--muted:#5a6475;--line:#e6dcc0;
 --serif:"Old Standard TT",Georgia,serif;--sans:"Alegreya Sans",system-ui,sans-serif;
 --ornament:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M14 1l6 6-6 6-6-6z' fill='none' stroke='%23c9a24a' stroke-width='1.4'/%3E%3Ccircle cx='14' cy='7' r='1.6' fill='%23c9a24a'/%3E%3Ccircle cx='1' cy='7' r='1.2' fill='%23c9a24a'/%3E%3Ccircle cx='27' cy='7' r='1.2' fill='%23c9a24a'/%3E%3Cpath d='M0 0.5h28M0 13.5h28' stroke='%23c9a24a' stroke-width='1'/%3E%3C/svg%3E");
}
*{box-sizing:border-box;min-width:0}
html{font-size:18px}
body{margin:0;background:var(--parchment);color:var(--ink);font-family:var(--sans);line-height:1.6;overflow-x:clip}
a{color:var(--cinnabar)}
a:hover{color:var(--lapis)}
img{max-width:100%;height:auto}
.wrap{max-width:1140px;margin:0 auto;padding:0 1.25rem}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:#fff;padding:.5rem;z-index:10}
h1,h2,h3{font-family:var(--serif);color:var(--lapis-deep);line-height:1.15;font-weight:700;text-wrap:balance}
h1{font-size:clamp(2rem,4.2vw,2.8rem);margin:.2em 0}
h2{font-size:1.65rem;margin:1.6em 0 .5em}
.prose h2::after{content:"";display:block;width:84px;height:14px;margin-top:.35em;background:var(--ornament) repeat-x}
h3{font-size:1.25rem}
.kicker{font-family:var(--serif);font-style:italic;font-size:1rem;color:var(--cinnabar);margin:0}
.kicker a{color:inherit;text-decoration:none}
.lead{font-size:1.15rem;color:var(--muted);max-width:44rem}
.small{font-size:.88rem;color:var(--muted)}
.notice{background:var(--vellum);border:1px solid var(--line);border-left:4px solid var(--cinnabar);padding:1rem 1.25rem}
.ornament{height:14px;background:var(--ornament) repeat-x center}

/* header */
.site-header{background:#fff;color:var(--lapis-deep);position:relative}
.site-header::after{content:"";position:absolute;left:0;right:0;bottom:-14px;height:14px;background:#fff var(--ornament) repeat-x center;z-index:2}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.9rem;padding-bottom:.9rem;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.8rem;color:var(--lapis-deep);text-decoration:none}
.halo{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 40% 35%,var(--gold-light),var(--gold) 55%,var(--gold-deep));box-shadow:0 0 0 2px #fff,0 0 0 3px var(--gold)}
.halo .cross{width:22px;height:36px;color:var(--lapis-deep)}
.halo.big{width:min(240px,44vw);height:min(240px,44vw);box-shadow:0 0 0 6px #fff,0 0 0 8px var(--gold),0 0 60px 10px rgba(201,162,74,.3)}
.halo.big .cross{width:38%;height:62%;color:var(--lapis-deep)}
.brand-title{display:block;font-family:var(--serif);font-size:1.3rem;font-weight:700;line-height:1.1}
.brand-sub{display:block;font-size:.85rem;color:var(--gold-deep);font-style:italic}
.site-nav{display:flex;align-items:center;gap:.1rem;flex-wrap:wrap}
.site-nav a{color:var(--lapis-deep);text-decoration:none;padding:.4rem .6rem;border-radius:3px;font-size:.95rem}
.site-nav a:hover,.site-nav a[aria-current]{color:var(--lapis);box-shadow:inset 0 -2px 0 var(--gold)}
.site-nav a.btn{margin-left:.4rem;box-shadow:none}
.nav-toggle,.nav-button{display:none}
@media (max-width:920px){
 .nav-button{display:block;cursor:pointer;border:1px solid var(--gold);padding:.35rem .9rem;border-radius:3px;color:var(--lapis-deep);min-height:44px;line-height:1.9}
 .site-nav{display:none;width:100%;flex-direction:column;align-items:stretch}
 .nav-toggle:checked ~ .site-nav{display:flex}
 .site-nav a{padding:.6rem}
 .site-nav a.btn{margin:.4rem 0 .4rem;text-align:center}
}

/* buttons */
.btn{display:inline-block;padding:.65rem 1.3rem;border-radius:3px;background:var(--cinnabar);color:#fff;text-decoration:none;font-weight:700;border:1px solid var(--cinnabar);min-height:44px}
.btn:hover{background:var(--lapis-deep);color:#fff}
.btn-gold{background:linear-gradient(180deg,var(--gold-light),var(--gold));border-color:var(--gold-deep);color:var(--lapis-deep)!important}
.btn-gold:hover{background:var(--gold-light)}
.btn-ghost{background:#fff;border-color:var(--lapis);color:var(--lapis-deep)}
.btn-ghost:hover{background:var(--sky);color:var(--lapis-deep)}
.btn-big{font-size:1.15rem;padding:.9rem 1.8rem}

/* hero: an icon panel, gold halo on lapis */
.hero{background:radial-gradient(ellipse at 20% 40%,#fff 0%,var(--sky) 45%,var(--sky-2) 100%);color:var(--ink);padding:4.5rem 0 5rem}
.hero-inner{display:grid;grid-template-columns:auto 1fr;gap:3.5rem;align-items:center}
.hero-icon{padding:1.5rem;border:2px solid var(--gold);border-radius:50% 50% 6px 6px / 38% 38% 6px 6px;background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.2))}
.hero h1{color:var(--lapis-deep)}
.hero .lead{color:var(--muted);margin:0 0 1.6rem}
.hero .kicker{color:var(--gold-deep)}
@media (max-width:760px){.hero-inner{grid-template-columns:1fr;text-align:center;gap:2rem}.hero-icon{justify-self:center}.hero .lead{margin:0 auto 1.6rem}}

/* page head */
.page-head{background:var(--sky);color:var(--ink);padding:3rem 0 2.4rem;margin-bottom:2rem;border-bottom:14px solid transparent;border-image:var(--ornament) 0 0 14 0 repeat}
.page-head h1{color:var(--lapis-deep)}
.page-head .lead{color:var(--muted)}
.page-head .kicker{color:var(--gold-deep)}
.prose{max-width:820px;padding-bottom:3.5rem}
.prose ul{padding-left:1.2rem}
.prose li::marker{color:var(--gold-deep)}

/* cards */
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
@media (max-width:820px){.grid-3,.grid-2{grid-template-columns:1fr}}
.home-cards{margin-top:-2.5rem;margin-bottom:3.5rem;position:relative}
.card{background:var(--vellum);border:1px solid var(--gold);outline:4px double var(--line);outline-offset:-9px;border-radius:4px;padding:1.6rem 1.7rem;box-shadow:0 8px 24px rgba(20,31,69,.08)}
.card h2{margin-top:0;font-size:1.4rem}
.card.feature{margin:1rem 0 2rem}
.service-list{list-style:none;padding:0;margin:0 0 1rem}
.service-list li{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px dotted var(--gold)}
.service-list strong{color:var(--lapis-deep);white-space:nowrap}
.service-list.wide{max-width:540px}
.news-mini{padding:.5rem 0;border-bottom:1px dotted var(--gold)}
.news-mini a{display:block;font-weight:700}
.news-item{display:flex;gap:1.25rem;padding:1.25rem 0;border-bottom:1px solid var(--line)}
.news-item img{width:200px;height:140px;object-fit:cover;border-radius:4px;border:1px solid var(--gold)}
.news-item h2{margin:.1em 0 .3em}
.news-item h2::after{display:none}
.post-image{border-radius:4px;margin:1rem 0;border:1px solid var(--gold)}
.mag-list{list-style:none;padding:0}.mag-list li{padding:.35rem 0}
.plain{list-style:none;padding:0}.plain li{padding:.25rem 0}
.calendar-box{font-size:.95rem}
.calendar-box .small{margin-top:.8rem}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem;padding-bottom:3rem}
.gallery img{width:100%;height:220px;object-fit:cover;border-radius:3px;border:1px solid var(--gold)}
.map{width:100%;height:380px;border:1px solid var(--gold);border-radius:4px;margin-top:1.5rem}
.pdf-view{width:100%;height:80vh;border:1px solid var(--gold);border-radius:4px}

/* donate band & footer */
.band{background:#f6ecd2;color:var(--ink);padding:2.8rem 0;border-top:14px solid transparent;border-image:var(--ornament) 14 0 0 0 repeat}
.band h2{color:var(--lapis-deep);margin-top:0}
.band-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.band p{color:var(--muted);max-width:44rem}
.site-footer{background:var(--sky-2);color:var(--ink);padding:2.8rem 0 1rem;border-top:3px solid var(--gold)}
.site-footer h2{color:var(--lapis-deep);font-size:1.2rem;margin-top:0}
.site-footer a{color:var(--lapis-deep)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr}}
.copyright{font-size:.82rem;color:var(--muted);border-top:1px solid rgba(201,162,74,.5);padding-top:1rem;margin-top:1.5rem}
@media (prefers-reduced-motion:no-preference){.halo.big{animation:glow 6s ease-in-out infinite alternate}@keyframes glow{to{box-shadow:0 0 0 6px #fff,0 0 0 8px var(--gold),0 0 90px 18px rgba(201,162,74,.45)}}}
/* Orthodox calendar */
.calendar-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.2rem}
.calendar-nav .btn{font-size:.9rem;padding:.45rem .9rem}
.calendar-output{font-size:1rem}
.calendar-output p{margin:.4em 0 .8em}
.calendar-output b,.calendar-output strong{color:var(--lapis-deep)}
.calendar-output .headerheader,.calendar-output .headerfast{font-family:var(--serif)}
.card .calendar-output{max-height:22rem;overflow:auto}
/* clergy */
.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:1.5rem;margin:0 0 2.5rem}
.person{margin:0;text-align:center}
.person img,.person-ph{width:100%;aspect-ratio:4/5;object-fit:cover;border:1px solid var(--gold);outline:4px double var(--line);outline-offset:-9px;border-radius:50% 50% 4px 4px / 30% 30% 4px 4px;background:var(--sky)}
.person-ph{display:grid;place-items:center;color:var(--gold)}
.person-ph .cross{width:30%;height:40%}
.person figcaption{margin-top:.7rem;line-height:1.3}
.person strong{display:block;font-family:var(--serif);color:var(--lapis-deep);font-size:1.1rem}
.person span{font-size:.9rem;color:var(--muted);font-style:italic}
/* larger title banner: centred name over the menu */
.header-inner{flex-direction:column;justify-content:center;padding-top:1.6rem;padding-bottom:.6rem;gap:.9rem}
.brand{flex-direction:column;text-align:center;gap:.7rem}
.site-header .halo{width:86px;height:86px}
.site-header .halo .cross{width:34px;height:56px}
.brand-title{font-size:clamp(1.7rem,3.6vw,2.6rem)}
.brand-title .and{display:block;font-size:.62em;font-weight:400;font-style:italic;margin-top:.15em}
.brand-sub{font-size:1rem;margin-top:.35rem;letter-spacing:.02em}
.site-nav{justify-content:center;border-top:1px solid var(--line);padding-top:.5rem;width:100%}
@media (max-width:920px){.header-inner{flex-direction:row;flex-wrap:wrap}.brand{width:100%}.nav-button{margin:0 auto}}
.hero{padding:3.5rem 0 5rem;text-align:center}
.hero-inner{display:block}
.hero .lead{margin:0 auto 1.6rem}
