/* Theme Name: Hram Staroe Simonovo
Version: 2.0.0 */
@font-face{font-family:Philosopher;src:url(assets/Philosopher-Regular.ttf);font-weight:400;font-display:swap}@font-face{font-family:Philosopher;src:url(assets/Philosopher-Bold.ttf);font-weight:700;font-display:swap}
:root{--paper:#f1f1f3;--ink:#546471;--heading:#566777;--gold:#c69043;--muted:#a3abb2;--serif:Philosopher,Georgia,serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/24px Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}img{max-width:100%;height:auto}button{font:inherit;cursor:pointer}h1,h2,h3{font-family:var(--serif);font-weight:400;color:var(--heading)}a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.site-shell{width:min(1180px,calc(100% - 48px));margin:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:20px;top:10px;background:white;z-index:200}.site-header{height:250px;background:white;border-radius:0 0 36px 36px}.home .site-header{height:270px;background:transparent}.brand{display:flex;align-items:center;justify-content:center;gap:15px;width:465px;max-width:100%;height:140px;margin:auto;font:24px/1.15 var(--serif)}.brand>span:last-child{width:360px}.home .brand{height:150px;width:620px;gap:20px;font-size:32px}.home .brand>span:last-child{width:480px}.brand-symbol{position:relative;flex-shrink:0;width:60px;height:90px;display:grid;place-items:center}.home .brand-symbol{width:80px;height:120px}.brand-symbol:before{content:'';position:absolute;top:23%;left:0;width:100%;aspect-ratio:1;border-radius:50%;background:#e7e8ed}.brand-symbol picture{position:relative;line-height:0}.brand-symbol img{max-width:none}.nav-ornament{height:25px;overflow:hidden;display:flex;align-items:center;justify-content:center}.nav-ornament img{max-width:none;flex-shrink:0}.nav-links{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:19px auto 0;font:18px/1.2 var(--serif);text-align:center}.nav-links a{max-width:210px}.menu-toggle,.menu-close{display:none}.church-hero{position:relative;height:700px;max-width:1600px;margin:auto;overflow:hidden;border-radius:40px}.church-hero>img{position:absolute;width:101.08%;max-width:none;height:auto;left:-.5%;top:-21.3%;transform:rotate(.68deg)}.hero-shade{position:absolute;inset:0;background:linear-gradient(transparent 71%,#0006)}.home-content{padding-top:100px;padding-bottom:140px}.section-title,.section-heading h2{font-size:42px;line-height:46px;margin:0 0 30px}.home-grid{display:grid;grid-template-columns:minmax(0,770fr) minmax(0,358fr);gap:50px;align-items:start}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:80px 30px}.news-lead{grid-column:1/-1}.news-image{display:block;width:100%;height:240px;object-fit:cover;border-radius:20px}.news-lead .news-image{height:420px}.news-card h2,.video-card h3{font:28px/32px var(--serif);color:var(--gold);margin:20px 0 16px}.news-card p{font-size:18px;line-height:24px;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.news-card time,.video-card time{font:14px/16px Arial,sans-serif;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--gold);color:white;border:0;border-radius:12px;padding:12px 24px;font:18px/24px Arial,sans-serif}.button:hover{background:#e5ae5f;color:white}.button:active{background:#8f642c}.button img{max-width:none}.more-wrap{text-align:center;margin-top:80px}.side-rail{display:grid;gap:8px}.church-card{position:relative;display:block;height:420px;overflow:hidden;border-radius:20px;color:white}.church-card>img:first-child{position:absolute;height:136%;max-width:none;width:106%;left:-3.5%;top:-4.5%;object-fit:cover}.church-card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 39%,#c69043cc 84%)}.church-card strong{position:absolute;z-index:1;left:28px;bottom:24px;font:700 24px/28px var(--serif);color:white}.church-card .card-arrow{position:absolute;right:22px;bottom:24px;z-index:1;max-width:none}.service-card{display:flex;align-items:center;gap:20px;height:140px;padding:20px;background:white;border-radius:20px;color:var(--gold)}.service-card:hover{box-shadow:0 12px 30px #54647126}.service-card strong{font:700 24px/28px var(--serif)}.service-icon{position:relative;display:grid;place-items:center;width:80px;height:80px;flex-shrink:0}.service-icon img{max-width:none}.icon-bg{position:absolute}.icon-fg{position:relative}.video-section,.related-section{margin-top:120px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px}.section-heading>a{color:var(--gold);font-size:18px}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.video-thumb{position:relative;display:block;border-radius:20px;height:240px;overflow:hidden;background:#dfe2e5}.video-thumb>img{width:100%;height:100%;object-fit:cover}.play-ring{position:absolute;inset:0;display:grid;place-items:center}.play-ring img{position:absolute;max-width:none}.play-triangle{transform:translateX(4px) rotate(90deg)}.site-footer{background:#566777;color:white;padding:46px 0 60px}.footer-grid{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.footer-contact{display:flex;gap:10px;font-size:18px;line-height:24px}.footer-contact>img{max-width:none;flex-shrink:0;margin-top:4px;align-self:flex-start}.footer-contact small{display:block;font-size:14px;margin-bottom:4px}.footer-contact a,.footer-contact span{display:block}.social-link{display:flex;gap:12px;align-items:center;background:#07f;color:white;border-radius:12px;padding:9px 16px 9px 20px;white-space:nowrap}.social-link img{max-width:none}.copyright{margin:64px 0 0;text-align:center;font-size:14px;line-height:20px;opacity:.6}.inner-main{padding-top:80px;padding-bottom:120px}.breadcrumbs{font-size:14px;line-height:20px;margin:0 0 24px}.breadcrumbs a{color:var(--gold)}.entry-title{font-size:42px;line-height:46px;margin:0 0 40px}.article-cover{width:100%;height:640px;object-fit:cover;border-radius:40px;display:block;margin-bottom:60px}.entry-content{max-width:580px;margin:0 auto;line-height:24px;overflow-wrap:anywhere}.entry-content p{margin:0 0 24px}.entry-content h2{font-size:28px;line-height:32px;margin:40px 0 24px}.entry-content h3{font-size:24px;line-height:28px}.entry-content img{max-width:100%!important;height:auto!important;border-radius:20px}.entry-content table{max-width:100%;width:100%!important;border-collapse:collapse}.entry-content td{padding:8px;vertical-align:top}.entry-content iframe,.entry-content video{max-width:100%}.entry-content a{color:var(--gold)}.entry-content figure{margin:24px 0}.article-meta{max-width:580px;margin:48px auto 0;border-top:1px solid #e2b87c;padding-top:24px;font-size:14px;color:var(--muted)}.clergy-card{background:white;border-radius:20px;padding:24px 30px;display:flex;gap:30px;align-items:center;margin-bottom:16px;min-height:240px}.clergy-portrait{width:180px;height:180px;object-fit:cover;object-position:top;border-radius:50%;border:2px solid #e2b87c;flex-shrink:0}.clergy-card>div{flex:1}.clergy-card h2{font-size:28px;line-height:32px;color:var(--gold);margin:0 0 16px}.clergy-card .button{float:right;padding:8px 16px}.schedule-content{max-width:900px}.pagination{margin:60px 0 0;text-align:center}.pagination a,.pagination span{padding:8px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1100px){.nav-links{gap:15px;font-size:16px}.home-grid{gap:30px;grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}.footer-grid{flex-wrap:wrap}.church-hero{height:50vw;min-height:400px}.church-hero>img{height:120%;width:100%;object-fit:cover;top:-10%}.service-card{gap:12px;padding:16px}.service-card strong{font-size:22px}.clergy-card{padding:20px;gap:20px}.clergy-portrait{width:130px;height:130px}.article-cover{height:50vw}}
@media(max-width:680px){.site-shell{width:calc(100% - 40px)}.site-header,.home .site-header{height:90px;border-radius:0 0 20px 20px}.brand,.home .brand{position:relative;margin:0;padding:16px 0;width:279px;height:86px;font-size:14.4px;gap:9px;justify-content:flex-start}.brand>span:last-child,.home .brand>span:last-child{width:216px}.brand-symbol,.home .brand-symbol{width:36px;height:54px}.menu-toggle{display:flex;position:absolute;right:20px;top:35px;flex-direction:column;justify-content:space-between;width:20px;height:18px;padding:0;border:0;background:transparent}.menu-toggle span{width:20px;height:1.5px;border-radius:2px;background:#e2b87c}.nav-ornament{display:none}.nav-links{display:none;position:fixed;inset:0;z-index:100;background:white;margin:0;padding:80px 20px 40px;overflow-y:auto;text-align:left;font:24px/1.2 var(--serif)}.nav-links.is-open{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:28px}.nav-links a{max-width:none}.menu-close{display:block;position:absolute;right:25px;top:24px;border:0;background:none;color:#e2b87c;font-size:36px}.menu-open{overflow:hidden}.church-hero{height:320px;min-height:0;border-radius:20px}.church-hero>img{height:354px;width:539px;max-width:none;left:50%;top:-25px;transform:translateX(-50%) rotate(.68deg)}.home-content{padding-top:80px;padding-bottom:80px}.section-title,.section-heading h2{font-size:28px;line-height:36px;margin-bottom:30px}.home-grid{display:flex;flex-direction:column;gap:80px}.home-grid>div,.home-grid>section,.side-rail{width:100%}.news-grid,.archive-grid{grid-template-columns:1fr;gap:40px}.news-image,.news-lead .news-image{height:200px;border-radius:16px}.news-card h2,.video-card h3{font-size:22px;line-height:26px;margin:24px 0 16px}.news-card p{font-size:16px;line-height:24px}.more-wrap{margin-top:40px}.church-card{height:420px}.side-rail{gap:8px}.service-card{height:120px;padding:20px;gap:20px}.service-card strong{font-size:24px;line-height:28px}.video-section,.related-section{margin-top:80px}.video-thumb{height:200px;border-radius:16px}.section-heading>a{font-size:14px}.footer-grid{flex-direction:column;gap:24px;align-items:flex-start}.site-footer{padding:40px 0 60px}.footer-contact{font-size:16px}.footer-contact small{font-size:12px}.social-link{align-self:center}.copyright{margin-top:40px}.inner-main{padding-top:40px;padding-bottom:80px}.entry-title{font-size:28px;line-height:32px;margin-bottom:30px}.breadcrumbs{font-size:12px}.article-cover{height:200px;border-radius:20px;margin-bottom:40px}.entry-content{width:100%;max-width:none;font-size:16px;line-height:24px}.entry-content table{display:block;overflow-x:auto}.entry-content h2{font-size:24px;line-height:28px}.clergy-card{flex-direction:column;align-items:center;text-align:center;padding:24px 20px;gap:16px;min-height:0}.clergy-portrait{width:180px;height:180px}.clergy-card h2{font-size:24px;line-height:28px}.clergy-card .button{float:none}}

/* Geometry corrections from frames 36:2, 47:3 and 91:1712. */
@media(min-width:681px){
 .site-header .brand{height:138px;padding-top:24px;padding-bottom:24px}
 .home .site-header .brand{height:155px;padding-top:20px;padding-bottom:15px}
 .nav-ornament{height:18.45px}
 .nav-links{margin-top:22.55px}
 .home .brand>span:last-child{min-height:82px;display:flex;align-items:flex-end}
 .news-lead h2{margin-top:22px}
 .news-lead p{-webkit-line-clamp:3}
 .footer-contact small{margin-bottom:0;line-height:24px}
 .copyright{margin-top:65px}
 .site-footer{padding-bottom:61px}
}
.news-card time,.video-card time{display:block}
@media(max-width:680px){
 .brand,.home .brand{justify-content:center}
 .brand>span:last-child,.home .brand>span:last-child{min-height:36.9px;display:flex;align-items:flex-end}
 .news-card p{-webkit-line-clamp:4}
}
/* Inner screens and navigation from the supplied design frames. */
[hidden]{display:none!important}.nav-item{position:relative;flex-shrink:1}.nav-label{display:flex;align-items:center;justify-content:center;gap:5px}.submenu-toggle{padding:0;border:0;background:none;color:var(--gold);font-size:16px}.submenu{position:absolute;top:100%;left:0;z-index:30;min-width:220px;padding:20px;background:white;border-radius:12px;box-shadow:0 8px 24px #54647120;text-align:left}.submenu a{display:block;margin:0 0 16px;max-width:none}.submenu a:last-child{margin:0}.hero-pagination{position:absolute;bottom:41px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:20px;height:18px}.hero-pagination button{border:0;background:none;color:white;padding:0;line-height:18px;font-size:30px}.hero-pagination .slide-dot{width:10px;height:10px;border-radius:50%;background:#fff8}.hero-pagination .slide-dot[aria-pressed=true]{background:white}.church-hero>img:not(:first-child){width:100%;height:100%;object-fit:cover;inset:0;transform:none}.clergy-role{font-size:14px;margin:0 0 6px}.profile-banner{position:relative;isolation:isolate;display:flex;align-items:center;gap:60px;min-height:300px;padding:36px 60px;background:white;border-radius:20px;margin:60px 0;overflow:hidden}.profile-banner>div{max-width:516px;z-index:1}.profile-banner h1{font:400 52px/52px var(--serif);color:var(--gold);margin:16px 0}.profile-banner p{margin:0}.profile-role{font-size:20px;line-height:26px;font-weight:bold}.profile-church{position:absolute;right:-30px;bottom:-120px;width:350px;z-index:-1;mask-image:linear-gradient(to right,transparent,black 35%)}.profile-content{margin-left:300px}.profile-content h2{font:700 24px/28px var(--serif);margin:36px 0 12px}.profile-content ul{padding-left:24px}.profile-content li{margin-bottom:8px}.article-ornament{display:block;max-width:100%;margin:60px 0 0}.about-content{max-width:none}.about-intro{max-width:580px;margin:0 auto}.about-intro .article-lead{font-size:20px;line-height:28px}.about-intro h2{font:700 24px/28px var(--serif);margin:60px 0 42px}.chapel-row{max-width:980px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin:0 auto 40px}.chapel-row>img{width:460px;height:300px!important;object-fit:cover}.chapel-reverse>img{grid-column:2;grid-row:1}.chapel-reverse>p{grid-column:1;grid-row:1}.about-intro details{margin-top:60px}.about-intro summary,.schedule-archive summary{cursor:pointer;color:var(--gold)}.schedule-controls{display:flex;justify-content:space-between;gap:30px;margin:32px 0 60px}.schedule-controls select{font:18px/24px Arial;color:var(--ink);background:transparent;border:1px solid var(--muted);border-radius:12px;padding:12px;max-width:100%}.schedule-controls>select{width:560px}.month-control{display:flex;align-items:center;border:1px solid var(--muted);border-radius:12px;min-width:280px}.month-control select{border:0;flex:1;text-align:center;appearance:none}.month-control button{border:0;background:none;color:var(--muted);font-size:28px;padding:0 16px}.month-control button:disabled{opacity:.3;cursor:default}.enhanced .schedule-submit{display:none}.schedule-notice{color:var(--muted);margin-top:-36px;font-size:14px}.schedule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.schedule-card{background:white;border-radius:20px;padding:28px 20px 36px}.schedule-card h2{font:24px/28px var(--serif);color:var(--gold);margin:0 0 12px}.schedule-card>time{font-size:14px;color:var(--muted)}.schedule-card section{margin-top:32px}.schedule-card h3{display:inline-block;margin:0 0 16px;background:var(--paper);color:var(--muted);border-radius:20px;padding:2px 20px;font:18px/24px var(--serif)}.service-time{display:flex;gap:14px;margin:0 0 8px;font-size:14px;line-height:20px}.service-time time{flex:0 0 40px}.schedule-archive{margin-top:60px}.schedule-archive .entry-content{padding-top:30px}.entry-content img{display:block;margin:24px auto}.entry-content .chapel-row img{margin:0}.entry-content .article-ornament{margin:60px auto 0}.entry-content iframe{width:100%;aspect-ratio:16/9;height:auto}.entry-content table{font-size:14px}.news-card h2{overflow-wrap:anywhere}
@media(min-width:681px) and (max-width:1100px){.nav-links{gap:8px;font-size:14px}.profile-banner{padding:30px;gap:30px}.profile-banner h1{font-size:40px;line-height:44px}.profile-content{margin:auto}.profile-church{opacity:.3}.schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-controls>select{width:50%}}
@media(max-width:680px){.nav-links.is-open{gap:24px}.nav-label{justify-content:space-between}.submenu{position:static;padding:20px 0 0;box-shadow:none;font:18px/24px var(--serif)}.submenu a{margin-bottom:14px}.hero-pagination{bottom:21px;gap:16px}.profile-banner{margin:40px 0;padding:24px 20px;flex-direction:column;gap:20px;text-align:center;min-height:0}.profile-banner>div{width:100%}.profile-banner h1{font-size:28px;line-height:32px;margin:12px 0}.profile-role{font-size:16px;line-height:24px}.profile-church{display:none}.profile-content{margin:0}.profile-content h2{font-size:24px}.about-intro{max-width:none}.about-intro .article-lead{font-size:18px;line-height:26px}.about-intro h2{margin:40px 0 30px}.chapel-row{display:flex;flex-direction:column;gap:24px;align-items:stretch;margin-bottom:40px}.chapel-row>img{width:100%;height:210px!important}.chapel-row>p{margin:0}.schedule-controls{flex-direction:column;gap:14px;margin:30px 0 40px}.schedule-controls>select{width:100%;font-size:16px}.month-control{min-width:0;width:100%}.month-control select{font-size:16px}.schedule-grid{grid-template-columns:1fr;gap:20px}.schedule-card{padding:30px 20px}.schedule-notice{margin-top:-20px}.profile-content .article-ornament{width:100%}}
.section-heading>a{display:flex;align-items:center;gap:12px;white-space:nowrap}.section-heading>a img{max-width:none}.nav-label>a{white-space:nowrap}.nav-item:nth-child(1) .nav-label>a,.nav-item:nth-child(5) .nav-label>a,.nav-item:nth-child(6) .nav-label>a,.nav-item:nth-child(9) .nav-label>a{white-space:normal}.clergy-card h2{max-width:350px}.profile-content .article-ornament{border-radius:0}.about-content .article-ornament{margin:60px auto 0;display:block}
@media(max-width:680px){.nav-label>a{white-space:normal}.section-heading{gap:10px}.section-heading>a{font-size:14px;gap:6px}.profile-banner h1{font-weight:700}.profile-role{font-weight:400}.profile-banner{padding:36px 20px}.inner-main{padding-top:64px}.breadcrumbs{margin-bottom:40px}.profile-banner{margin-top:0}.clergy-card .clergy-role{font-size:12px}.section-heading h2{font-size:28px}.about-content .article-ornament{width:100%}}
/* Exact desktop title and navigation geometry. */
@media(min-width:1101px){.nav-links{gap:18px}.nav-item{flex-shrink:0}.nav-label>a,.nav-item:nth-child(1) .nav-label>a,.nav-item:nth-child(5) .nav-label>a,.nav-item:nth-child(6) .nav-label>a,.nav-item:nth-child(9) .nav-label>a{white-space:nowrap}.nav-label{gap:3px}.nav-links a{max-width:none}.nav-item:nth-child(5){max-width:230px}}
@media(min-width:681px){.entry-title{font-size:52px;line-height:52px}.breadcrumbs{margin-bottom:20px}.about-cover{object-fit:cover;object-position:center 54%}.page-id-514 .side-rail,.page-id-524 .side-rail{margin-top:-40px}}
@media(max-width:680px){.nav-label br{display:none}.nav-label br:after{content:' '}.nav-label a{max-width:100%}.entry-title{font-size:28px;line-height:36px}.page-id-513 .article-cover{height:200px}}

/* Phone touch targets preserve the visual size of the designer's icons. */
.menu-toggle:after,.submenu-toggle:after,.hero-pagination button:after{content:'';position:absolute;inset:-12px}
.submenu-toggle,.hero-pagination button{position:relative}.menu-close{min-width:44px;min-height:44px}
.hero-pagination{gap:22px}.hero-pagination .slide-dot:after{inset:-9px}
.month-control select{min-width:0}.schedule-controls>select{min-height:48px}.month-control button{min-width:44px;min-height:44px}
@media(max-width:900px){
 .site-header,.home .site-header{height:90px;border-radius:0 0 20px 20px}
 .brand,.home .brand{position:relative;margin:0;padding:16px 0;width:279px;height:86px;font-size:14.4px;gap:9px;justify-content:center}
 .site-header .brand,.home .site-header .brand{height:86px;padding:16px 0}
 .brand>span:last-child,.home .brand>span:last-child{width:216px;min-height:36.9px}
 .brand-symbol,.home .brand-symbol{width:36px;height:54px}
 .menu-toggle{display:flex;position:absolute;right:20px;top:35px;flex-direction:column;justify-content:space-between;width:20px;height:18px;padding:0;border:0;background:transparent}
 .menu-toggle span{width:20px;height:1.5px;background:#e2b87c}.nav-ornament{display:none}
 .nav-links{display:none;position:fixed;inset:0;z-index:100;background:white;margin:0;padding:80px 20px 40px;overflow-y:auto;overscroll-behavior:contain;text-align:left;font:24px/1.2 var(--serif)}
 .nav-links.is-open{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:24px}.nav-links a{max-width:none}
 .nav-item:nth-child(5){max-width:none}.nav-label{justify-content:space-between}.nav-label>a{white-space:normal}.nav-label br{display:none}
 .submenu{position:static;padding:20px 0 0;box-shadow:none;font:18px/24px var(--serif)}.submenu a{margin-bottom:14px}
 .menu-close{display:block;position:absolute;right:20px;top:18px;border:0;background:none;color:#e2b87c;font-size:36px}.menu-open{overflow:hidden}
}
@media(max-width:350px){.brand,.home .brand{width:242px;gap:7px;justify-content:flex-start}.brand>span:last-child,.home .brand>span:last-child{width:195px;font-size:13px}.footer-contact{font-size:14px}.section-heading{flex-wrap:wrap;gap:0 10px}.section-heading>a{margin-bottom:24px}}
.section-heading>a img{transform:rotate(-90deg);margin:0 7px}
/* Portrait decoration and card geometry from the exported clergy frames. */
.portrait-frame{position:relative;display:grid;place-items:center;width:228px;height:228px;flex:0 0 228px;background:url(assets/7f15d.png) center/cover;border-radius:50%;isolation:isolate}
.portrait-frame:before,.portrait-frame:after{content:'';position:absolute;inset:0;pointer-events:none;background:center/contain no-repeat}
.portrait-frame:before{background-image:url(assets/9944f.svg);mix-blend-mode:soft-light}.portrait-frame:after{background-image:url(assets/18655.svg);mix-blend-mode:screen}
.portrait-frame .clergy-portrait{position:relative;width:180px;height:180px;border:0;z-index:1}
.portrait-ring{position:absolute;left:23px;top:23px;z-index:2;max-width:none;pointer-events:none}
@media(min-width:1101px){.clergy-card{position:relative;padding:6px;gap:6px}.clergy-card>div{padding-right:24px}.clergy-card h2{width:320px;max-width:100%;margin-bottom:0}.clergy-role{font-size:18px;line-height:24px;margin-bottom:16px}.clergy-card .button{position:absolute;right:30px;bottom:30px;padding:12px 20px 12px 24px;min-width:180px}.profile-banner{padding:36px;gap:36px}.profile-banner>div{max-width:516px}}
@media(max-width:680px){.portrait-frame{margin:-24px 0 -20px}.clergy-card{gap:16px}.clergy-card h2{margin-bottom:16px}.profile-banner .portrait-frame{margin:-12px 0 -4px}}
.portrait-frame{background-size:814.71px 570.8px;background-position:-559.3px -280.7px;background-repeat:no-repeat}
.portrait-frame .clergy-portrait{z-index:3}
/* Typography audited against desktop/mobile Figma frame text styles. */
body{font-synthesis:none}
.brand,.home .brand{line-height:normal}
.nav-links{line-height:normal}
@media(max-width:680px){
 .news-card p{font:400 16px/22px Arial,sans-serif}
 .clergy-card .clergy-role{font:400 18px/24px Arial,sans-serif}
 .profile-role{font:400 18px/24px Arial,sans-serif}
 .profile-content{font:400 14px/20px Arial,sans-serif}
 .profile-content h2{font:700 20px/30px var(--serif)}
 .about-content{font:400 14px/22px Arial,sans-serif}
 .about-intro .article-lead{font:400 18px/24px Arial,sans-serif}
 .about-intro h2{font:700 18px/24px var(--serif)}
 .single-post .entry-content:not(.schedule-content){font:400 14px/22px Arial,sans-serif}
 .single-post .entry-content:not(.schedule-content)>p:first-of-type{font:400 18px/24px Arial,sans-serif}
 .single-post .article-meta{font:400 12px/16px Arial,sans-serif}
 .church-card strong{line-height:24px}
}
/* Article image viewer. */
.photo-viewer-trigger{cursor:zoom-in}.photo-viewer-trigger:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.photo-viewer-open{overflow:hidden}
.photo-viewer{padding:0;border:0;border-radius:20px;background:var(--paper);color:var(--ink);width:min(820px,calc(100vw - 32px));max-width:none;max-height:90vh;max-height:90dvh;box-shadow:0 20px 80px #0006;overflow:auto}
.photo-viewer::backdrop{background:#16212bc9}.photo-viewer-box{padding:12px 16px 18px}.photo-viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px}.photo-viewer-count{font:14px/20px Arial,sans-serif}.photo-viewer button{border:0;min-width:44px;min-height:44px;border-radius:50%;background:white;color:var(--ink);font:32px/1 Arial,sans-serif}.photo-viewer button:hover{background:var(--gold);color:white}.photo-viewer button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.photo-viewer-stage{position:relative;display:grid;place-items:center;min-height:180px;height:min(58vh,560px);height:min(58dvh,560px);margin-top:8px;background:#e7e8ed;border-radius:12px;overflow:hidden;touch-action:pan-y pinch-zoom}.photo-viewer-image{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;margin:0}.photo-viewer-prev,.photo-viewer-next{position:absolute;top:50%;transform:translateY(-50%);opacity:.95}.photo-viewer-prev{left:8px}.photo-viewer-next{right:8px}.photo-viewer-status{position:absolute;max-width:70%;text-align:center;pointer-events:none;font:14px/20px Arial,sans-serif}.photo-viewer-caption{font:16px/24px Arial,sans-serif;margin:14px 4px 0;overflow-wrap:anywhere;white-space:pre-line}
@media(max-width:680px){.photo-viewer{width:calc(100vw - 24px);border-radius:16px}.photo-viewer-box{padding:8px 10px 16px}.photo-viewer-caption{font-size:14px;line-height:20px}.photo-viewer-stage{height:50vh;height:50dvh}.photo-viewer-prev{left:4px}.photo-viewer-next{right:4px}}
.topic-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0 0 32px}.topic-links a{color:var(--gold);font:18px/24px var(--serif)}
@media(min-width:901px){.submenu{min-width:280px;max-width:320px;max-height:calc(100vh - 260px);overflow-y:auto}.submenu a{font:400 18px/24px var(--serif);padding:4px 0;white-space:normal}.nav-item:focus-within>.nav-label{color:var(--gold)}}
@media(max-width:900px){.submenu{max-height:none;min-width:0}.submenu a{padding:6px 0}.topic-links{flex-direction:column}}

/* Static pages: shared editorial rhythm, preserving the site's Figma palette and fonts. */
.static-article>.entry-title{max-width:1080px;margin-bottom:48px;overflow-wrap:break-word;text-wrap:balance}
.entry-content.editorial-content{max-width:800px;font:400 18px/1.65 Arial,sans-serif;overflow-wrap:break-word;display:flow-root}
.editorial-content>p{margin:0 0 24px}.editorial-content h2{font:400 32px/1.2 var(--serif);color:var(--gold);margin:48px 0 20px;text-wrap:balance;scroll-margin-top:28px}
.editorial-content h3{font:400 26px/1.3 var(--serif)}
.editorial-content p,.editorial-content li{text-align:left}.editorial-content li{margin:10px 0}.editorial-content ul{padding-left:24px}.editorial-content li::marker{color:var(--gold)}
.entry-content.editorial-content a:not(.button){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.entry-content.editorial-content figure{margin:32px 0}.editorial-content .editorial-photo>a{display:block;border-radius:18px}.editorial-content .editorial-photo img{display:block;width:auto;max-width:100%;max-height:580px;object-fit:contain;margin:0 auto;border-radius:16px}
.editorial-content figcaption{font:400 15px/1.5 Arial,sans-serif;text-align:center;margin:16px auto 0;max-width:640px;color:var(--ink)}
.editorial-content .editorial-lead{font-size:22px;line-height:1.45;color:var(--heading);margin-bottom:32px}
.editorial-toc{padding:24px 28px;background:#fff;border-radius:20px;margin-bottom:40px;display:flex;flex-wrap:wrap;gap:10px 24px;font:16px/24px Arial,sans-serif}
.editorial-toc strong{flex-basis:100%;font-weight:400;color:var(--heading);margin-bottom:4px}.editorial-toc a{max-width:100%}
.editorial-subjects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px}
.editorial-contact-label{margin-top:36px!important;margin-bottom:8px!important}.editorial-phone{display:inline-block;font:400 28px/1.4 var(--serif);padding:8px 0}
.editorial-note,.editorial-empty{padding:32px;background:#fff;border-radius:20px;margin:36px 0}.editorial-note h2{margin-top:0}.editorial-note p:last-child,.editorial-empty p:last-child{margin-bottom:0}.editorial-empty .button{margin-top:8px;white-space:normal}
.donation-details{background:#fff;padding:24px 28px;border-radius:16px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.donation-details b{font-weight:400}
.page-id-516 .editorial-content{max-width:1080px}.icon-feature{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:48px;align-items:center;margin:0 0 48px}.icon-feature h2{margin:0 0 20px}.entry-content.editorial-content .icon-feature figure{margin:0}.icon-feature figcaption{display:none}.entry-content.editorial-content .icon-feature img{height:360px!important;width:100%;object-fit:contain;background:#fff;padding:16px}
.icon-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.entry-content.editorial-content .icon-gallery figure{margin:0;padding:18px;background:#fff;border-radius:20px;display:flex;flex-direction:column}.entry-content.editorial-content .icon-gallery img{height:280px!important;width:100%;object-fit:contain;border-radius:10px}.icon-gallery figcaption{font:400 21px/1.3 var(--serif);color:var(--heading);margin-top:20px}
.editorial-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.entry-content.editorial-content .editorial-gallery figure{margin:12px 0}.editorial-gallery img{max-height:360px}.editorial-gallery figcaption{display:none}
.static-article .about-content details{padding:24px;background:#fff;border-radius:20px}.static-article .about-content details>summary{margin-bottom:16px}.static-article .about-content details p{text-align:left}
@media(max-width:900px){.icon-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.icon-feature{grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:28px}}
@media(max-width:680px){.static-article>.entry-title{margin-bottom:32px}.entry-content.editorial-content{font-size:16px;line-height:1.6}.editorial-content h2{font-size:26px;margin:36px 0 18px}.editorial-content .editorial-lead{font-size:19px;line-height:1.5}.editorial-content>p{margin-bottom:20px}.editorial-toc{padding:22px;gap:12px;flex-direction:column}.editorial-subjects{grid-template-columns:1fr;gap:0}.icon-feature{grid-template-columns:1fr;gap:24px}.icon-feature h2{margin-top:0}.entry-content.editorial-content .icon-feature img{height:320px!important}.icon-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.entry-content.editorial-content .icon-gallery figure{padding:12px}.entry-content.editorial-content .icon-gallery img{height:220px!important}.icon-gallery figcaption{font-size:18px}.editorial-note,.editorial-empty{padding:24px}.donation-details{padding:20px}.editorial-phone{font-size:24px}.editorial-gallery{gap:16px}.static-article .about-content details{padding:20px}}
@media(max-width:420px){.icon-gallery,.editorial-gallery{grid-template-columns:1fr}.entry-content.editorial-content .icon-gallery img{height:280px!important}.editorial-toc{padding:20px}}
