*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:#fbf9f6;color:#172f50;font-family:"DM Sans",Arial,sans-serif;font-size:14px;line-height:1.65}a{color:inherit;text-decoration:none}.header{height:92px;background:#fbf8f3;position:sticky;top:0;z-index:20;box-shadow:0 2px 12px #172f5010}.nav-wrap{height:100%;max-width:1500px;margin:auto;padding:0 3.5%;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;min-width:255px}.brand img{width:58px;height:58px;object-fit:contain}.brand span,.footer-brand span{display:flex;flex-direction:column;line-height:1.25}.brand strong{font-family:"Playfair Display",serif;font-size:17px;line-height:1.2;color:#123f75;white-space:nowrap}.brand small{display:block;font-size:12px;line-height:1.3;color:#123f75}.header nav{display:flex;align-items:center;gap:clamp(9px,1.5vw,22px)}.header nav a{font-size:12px;font-weight:600;color:#0d3261;white-space:nowrap;position:relative}.header nav a.active:after{content:"";position:absolute;height:2px;background:#d5a43b;bottom:-10px;left:0;right:0}.header nav .contact-button{background:#20599a;color:#fff;padding:11px 18px;border-radius:30px}.menu-toggle{display:none;background:none;border:0}.menu-toggle i{display:block;width:24px;height:2px;background:#17477f;margin:5px}.profile-hero{min-height:390px;position:relative;display:flex;align-items:center;overflow:hidden;background:#fff}.hero-photo{position:absolute;right:0;top:0;width:66%;height:100%;background:url("assets/gereja-asli.jpg") center 52%/cover no-repeat}.profile-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fffdfa 0%,#fffdfa 30%,rgba(255,253,250,.94) 37%,rgba(255,253,250,.68) 44%,rgba(255,253,250,0) 60%)}.hero-copy{position:relative;z-index:1;width:49%;padding:30px 0 30px 3.5%;max-width:700px}.eyebrow{color:#c38d32;font-family:"Playfair Display",serif;font-size:18px;margin:0 0 5px}.hero-copy h1,.page-banner h1{font-family:"Playfair Display",serif;font-size:clamp(34px,3.2vw,47px);line-height:1.12;color:#123c72;margin:0}.gold-line,.mini-line{display:block;background:#d6a344;width:61px;height:2px;margin:17px 0}.hero-copy>p:not(.eyebrow){font-size:14px;line-height:1.8;color:#333943;max-width:530px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.button{display:inline-flex;padding:10px 17px;border-radius:25px;font-size:12px;font-weight:700}.button.gold{background:#dfb44e;color:#17395f}.button.outline{border:1px solid #1b4d83;color:#17477f}.button.blue{background:#20599a;color:#fff}.values{max-width:1500px;margin:0 auto;padding:9px 3.5% 12px;display:grid;grid-template-columns:1.45fr .86fr .94fr .82fr;gap:10px}.info-card{background:#fffdfa;border:1px solid #f0ece6;border-radius:13px;padding:18px 20px;box-shadow:0 2px 8px #382b1910;min-height:230px}.card-head,.details-title{display:flex;align-items:center;gap:15px}.round-icon{width:58px;height:58px;border-radius:50%;background:#285da1;color:white;display:grid;place-items:center;font-size:24px;flex:0 0 58px}.info-card h2,.details-title h2{font-size:19px;color:#10396e;margin:0;font-weight:600}.mini-line{width:35px;margin:7px 0 0;height:2px}.info-card p,.info-card li{font-size:12px;color:#30394b;line-height:1.65}.history p{margin:10px 0 0 73px}.center-copy{margin:13px 8px 0 73px}.info-card ul{margin:8px 0 0 73px;padding-left:16px}.info-card li{padding:0 0 6px}.motto blockquote{text-align:center;font-family:"Playfair Display",serif;font-style:italic;color:#123c72;font-size:18px;line-height:1.5;margin:15px 0 0}.more-link{display:inline-block;margin:10px 0 0 73px;color:#1c5793;font-size:12px;font-weight:700}.parish-details{max-width:1500px;margin:0 auto 22px;padding:15px 3.5%;display:grid;grid-template-columns:1fr 30%;grid-template-rows:auto 1fr;column-gap:22px;background:#f0f4f9;border:1px solid #e8edf4;border-radius:13px}.details-title{grid-column:1;grid-row:1;margin:0 0 0 8px}.details-grid{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:0 4px 0 15px;align-items:start}.detail{display:flex;gap:9px;color:#14396b}.detail-icon{font-size:19px;color:#245a9c}.detail b{font-size:12px}.detail p{font-size:11px;line-height:1.5;margin:2px 0;color:#17375f}.details-photo{grid-column:2;grid-row:1/3;width:100%;height:145px;object-fit:cover;border-radius:10px;align-self:center}.home-shortcuts,.content-section{max-width:1250px;margin:auto;padding:55px 4%}.section-heading{text-align:center;margin:0 auto 28px;max-width:680px}.section-heading h2,.content-section h2{font-family:"Playfair Display",serif;color:#123c72;font-size:30px;line-height:1.2;margin:0 0 10px}.section-heading h2 em{color:#bd9134;font-style:normal}.section-heading p:last-child{color:#718094;font-size:13px}.shortcut-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.shortcut-grid a{background:#fff;border:1px solid #eee9e1;border-radius:10px;padding:17px 20px;display:flex;flex-direction:column;gap:4px;transition:.2s}.shortcut-grid a:hover{transform:translateY(-3px);box-shadow:0 10px 24px #1b3b5a12}.shortcut-grid b{color:#143e72;font-size:15px}.shortcut-grid span{color:#7a8796;font-size:12px}.page-banner{min-height:250px;padding:45px 5%;background:#f1f4f8;display:flex;align-items:center;justify-content:space-between;gap:35px;overflow:hidden}.page-banner>div{max-width:650px}.page-banner h1 em{font-style:normal;color:#bd9134}.page-banner p:last-child{color:#64748a}.page-banner img{width:38%;height:190px;object-fit:cover;border-radius:12px;box-shadow:0 12px 30px #17365320}.page-banner.compact{min-height:205px}.page-banner.compact h1{font-size:42px}.two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:35px;align-items:start}.content-section p{color:#596a7e}.soft-panel{background:#f0f4f9;border-radius:12px;padding:25px}.soft-panel h3{font-family:"Playfair Display",serif;color:#173e6b;margin:0 0 15px;font-size:22px}.soft-panel dl{display:grid;grid-template-columns:100px 1fr;gap:10px;margin:0;font-size:13px}.soft-panel dt{color:#718094}.soft-panel dd{margin:0;color:#173e6b;font-weight:600}.values-page{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-top:0}.values-page .info-card{min-height:190px}.values-page .info-card p,.values-page .info-card ul{margin-left:0}.notice{max-width:1160px;margin:15px auto 35px;padding:14px 18px;background:#fff7e5;border-left:3px solid #d7a33c;color:#725b2c;font-size:12px}.table-wrap{overflow-x:auto;border:1px solid #e7ebf0;border-radius:10px;background:#fff}.table-wrap table{width:100%;border-collapse:collapse;min-width:650px}.table-wrap th,.table-wrap td{text-align:left;padding:14px 15px;border-bottom:1px solid #edf0f3;font-size:12px}.table-wrap th{background:#17477f;color:#fff;font-weight:600}.table-wrap td{color:#4c5c70}.announcement-list{display:grid;gap:13px}.announcement{padding:22px 25px;background:#fff;border:1px solid #e9edf2;border-radius:11px}.label{font-size:10px;letter-spacing:1.4px;color:#b4862c;font-weight:700}.announcement h3,.activity-card h3,.directory-grid h3{font-family:"Playfair Display",serif;color:#173f70;font-size:20px;margin:7px 0}.announcement p{margin:0 0 6px;font-size:13px}.announcement small{font-size:11px;color:#8b96a3}.directory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}.directory-grid .info-card{min-height:190px}.directory-grid h3{margin-bottom:5px}.activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.activity-card{background:#fff;border:1px solid #e9edf2;border-radius:11px;overflow:hidden}.activity-card img{width:100%;height:160px;object-fit:cover}.activity-card div{padding:17px}.activity-card h3{font-size:18px}.activity-card p{font-size:12px;margin:0}.news-empty{text-align:center;background:#f0f4f9;border-radius:13px;padding:45px 20px}.news-empty .round-icon{margin:auto}.news-empty h3{font-family:"Playfair Display",serif;color:#173f70;font-size:22px}.news-empty p{font-size:13px}.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.gallery-item{margin:0;background:#fff;border:1px solid #e9edf2;border-radius:11px;overflow:hidden}.gallery-item img{display:block;width:100%;height:260px;object-fit:cover}.gallery-item figcaption{padding:13px 16px;font-size:12px;color:#173f70;font-weight:600}.footer{background:#12365c;color:#dbe4ee;padding:22px 3.5%;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px}.footer-brand{display:flex;align-items:center;gap:10px}.footer-brand img{width:42px;height:42px;object-fit:contain;background:#fff;border-radius:50%}.footer-brand b{color:#fff;font-family:"Playfair Display",serif;font-size:13px}.footer-brand small{font-size:10px}.footer p{margin:0}.footer>a{color:#f0c66b}
@media(max-width:1120px){.header nav{gap:9px}.header nav a{font-size:10px}.brand{min-width:220px}.brand img{width:52px;height:52px}.brand strong{font-size:18px}.values{grid-template-columns:1.2fr 1fr 1fr}.motto{grid-column:span 3}.motto blockquote{margin-left:73px;text-align:left}.parish-details{grid-template-columns:1fr 27%}.details-grid{grid-template-columns:repeat(2,1fr);row-gap:10px}.details-photo{height:165px}}
@media(max-width:800px){.header{height:76px}.nav-wrap{padding:0 5%}.brand{min-width:0}.brand img{width:48px;height:48px}.brand strong{font-size:17px}.brand small{font-size:10px}.menu-toggle{display:block}.header nav{display:none;position:absolute;top:76px;left:0;right:0;background:#fffdfa;padding:16px 6% 22px;box-shadow:0 10px 20px #102e4b20;flex-direction:column;align-items:stretch;gap:14px;max-height:calc(100vh - 76px);overflow:auto}.header nav.open{display:flex}.header nav a{font-size:14px}.header nav .contact-button{text-align:center}.profile-hero{min-height:500px;align-items:flex-end}.hero-photo{width:100%;height:58%;background-position:center}.profile-hero:after{background:linear-gradient(0deg,#fffdfa 0%,#fffdfa 35%,rgba(255,253,250,.88) 49%,rgba(255,253,250,0) 76%)}.hero-copy{width:100%;padding:240px 6% 25px}.hero-copy h1{font-size:34px}.values{padding:12px 5%;grid-template-columns:1fr 1fr}.history,.motto{grid-column:span 2}.history p{margin-left:0}.center-copy,.info-card ul{margin-left:10px}.parish-details{margin:0 5% 20px;padding:17px;grid-template-columns:1fr;gap:14px}.details-title{grid-column:1;grid-row:1}.details-grid{grid-column:1;grid-row:2;padding:0;grid-template-columns:1fr 1fr}.details-photo{grid-column:1;grid-row:3;height:190px}.page-banner{padding:35px 6%;gap:20px}.page-banner img{width:40%;height:160px}.two-col{grid-template-columns:1fr}.values-page,.directory-grid,.activity-grid{grid-template-columns:1fr 1fr}.shortcut-grid{grid-template-columns:1fr 1fr}.footer{flex-wrap:wrap;padding:20px 5%}.footer p{order:3;width:100%}}
@media(max-width:500px){.hero-copy h1{font-size:29px}.values{grid-template-columns:1fr}.history,.motto{grid-column:auto}.info-card{min-height:0}.history p{margin-left:0}.motto blockquote{margin-left:0;text-align:center}.details-grid{grid-template-columns:1fr}.details-photo{height:170px}.page-banner{display:block}.page-banner img{width:100%;height:160px;margin-top:15px}.page-banner.compact h1{font-size:35px}.values-page,.directory-grid,.activity-grid,.shortcut-grid,.gallery-grid{grid-template-columns:1fr}.gallery-item img{height:220px}.content-section,.home-shortcuts{padding:38px 5%}.section-heading h2,.content-section h2{font-size:26px}.footer{gap:12px}.footer>a{margin-left:auto}}


.mass-schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:780px;margin:25px auto}.mass-schedule-card{background:#fff;border:1px solid #e9edf2;border-radius:13px;padding:28px;text-align:center;box-shadow:0 7px 22px #1839570c}.mass-day{display:block;color:#b4862c;font-size:12px;font-weight:700;letter-spacing:2px}.mass-schedule-card strong{display:block;font-family:"Playfair Display",serif;color:#153f72;font-size:48px;line-height:1.2;margin-top:10px}.mass-time{font-size:12px;color:#60748b;font-weight:700;letter-spacing:1px}.mass-schedule-card p{margin:12px 0 0;color:#617187;font-size:13px}.schedule-note{text-align:center;color:#8a7650!important;font-size:12px!important;max-width:760px;margin:5px auto 0}.home-mass-preview{max-width:1250px;margin:15px auto 0;padding:28px 4%;display:flex;align-items:center;justify-content:space-between;gap:25px;background:#f0f4f9;border-radius:13px}.home-mass-preview h2{font-family:"Playfair Display",serif;color:#123c72;font-size:27px;margin:0 0 6px}.home-mass-preview h2 em{font-style:normal;color:#bd9134}.home-mass-preview p:not(.eyebrow){font-size:12px;color:#6d7b8d;margin:0}.home-mass-times{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.home-mass-times div{display:flex;flex-direction:column;border-left:2px solid #d6a344;padding-left:12px}.home-mass-times span{font-size:11px;color:#758398}.home-mass-times strong{font-size:17px;color:#153f72}.home-mass-times a{font-size:12px;color:#20599a;font-weight:700}
@media(max-width:800px){.home-mass-preview{margin:12px 5% 0;display:block;padding:23px}.home-mass-times{margin-top:18px;gap:17px}.mass-schedule-grid{gap:10px}}
@media(max-width:500px){.mass-schedule-grid{grid-template-columns:1fr}.mass-schedule-card{padding:22px}.mass-schedule-card strong{font-size:42px}.home-mass-times{gap:12px}.home-mass-times strong{font-size:15px}}


.section-subheading{margin:28px 0 15px}.section-subheading h3{font-family:"Playfair Display",serif;color:#173f70;font-size:23px;margin:0 0 4px}.section-subheading p{font-size:12px;color:#788698;margin:0}.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.community-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e9edf2;border-radius:11px;padding:15px 18px;min-height:82px;box-shadow:0 3px 12px #18395708}.community-number{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:#edf3fa;color:#20599a;font-size:11px;font-weight:700}.community-card h3{font-family:"Playfair Display",serif;color:#173f70;font-size:17px;margin:0 0 2px}.community-card p{font-size:12px;color:#788698;margin:0}.religious-heading{margin-top:38px}.religious-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:650px){.community-grid,.religious-grid{grid-template-columns:1fr}.community-card{padding:13px 15px}}


.community-link{position:relative;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s}.community-link:hover{transform:translateY(-3px);border-color:#d9bd7c;box-shadow:0 10px 24px #17365312}.community-link h3{margin:0 0 2px}.community-arrow{margin-left:auto;color:#b4862c;font-size:20px;font-weight:700}.community-banner{background:linear-gradient(110deg,#f1f4f8,#fbf9f6)}.community-banner h1{font-size:clamp(32px,4vw,46px)}.community-banner h1 em{font-style:normal;color:#bd9134}.back-link{display:inline-block;margin-top:12px;color:#20599a;font-size:12px;font-weight:700}.community-detail-page{max-width:1100px}.community-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:25px 0 35px}.community-tabs a{background:#fff;border:1px solid #e8edf2;border-radius:11px;padding:18px;display:flex;flex-direction:column;gap:5px;transition:.2s}.community-tabs a:hover{border-color:#d7b66d;box-shadow:0 8px 20px #17365310}.community-tabs span{color:#bd9134;font-size:22px}.community-tabs b{color:#173f70;font-size:14px}.community-tabs small{color:#7b8796;font-size:11px}.community-info-card{background:#fff;border:1px solid #e8edf2;border-radius:12px;padding:24px;margin:16px 0;scroll-margin-top:110px}.community-info-card h2{font-size:24px;margin:5px 0 8px}.community-info-card p{font-size:13px}.placeholder-note{padding:12px 14px;border-left:3px solid #d7a33c;background:#fff8e9;color:#79643b;font-size:12px;margin-top:15px}
@media(max-width:700px){.community-tabs{grid-template-columns:1fr}.community-info-card{padding:18px}.community-arrow{font-size:18px}}


.profile-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:25px 0}.profile-fact{background:#fff;border:1px solid #e8edf2;border-radius:10px;padding:16px 18px;display:flex;flex-direction:column;gap:5px}.profile-fact span{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#b4862c;font-weight:700}.profile-fact strong{font-size:13px;color:#173f70;line-height:1.55}.profile-fact a,.omk-highlight a{color:#20599a}.source-note{font-size:11px;color:#8a7650;background:#fff7e5;padding:12px 15px;border-left:3px solid #d7a33c}.stream-link{display:inline-block;margin-top:10px;color:#20599a;font-size:11px;font-weight:700}.omk-highlight{background:#f0f4f9;border-radius:12px;padding:22px 25px;margin:0 0 20px}.omk-highlight h3{font-family:"Playfair Display",serif;color:#173f70;font-size:22px;margin:5px 0}.omk-highlight p{font-size:13px;margin:0 0 7px}.omk-highlight a{font-size:12px;font-weight:700}
@media(max-width:650px){.profile-facts-grid{grid-template-columns:1fr}}

.social-link{display:inline-block;color:#20599a;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.omk-panel{margin-top:0!important}

/* Gallery album refinements */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px;margin-top:22px}
.gallery-item{margin:0;overflow:hidden;border:1px solid var(--line,#e4e8ef);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(20,45,75,.06)}
.gallery-item img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .35s ease}
.gallery-item:hover img{transform:scale(1.025)}
.gallery-item figcaption{padding:13px 16px 15px;color:var(--text,#334155);font-size:.94rem;line-height:1.5}

/* Parish activity pages */
.activity-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0 12px}
.activity-category-card{display:block;padding:24px;border:1px solid #e3e8ef;border-radius:15px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 8px 24px rgba(20,45,75,.05);transition:transform .2s ease,box-shadow .2s ease}
.activity-category-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(20,45,75,.09)}
.activity-category-card>span{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:#edf3fa;color:#16477f;font-weight:700;font-size:.85rem}
.activity-category-card h3{font-family:'Playfair Display',serif;color:#16477f;font-size:1.35rem;margin:14px 0 8px}
.activity-category-card p{color:#66758a;line-height:1.6;margin:0 0 16px}
.activity-category-card b{color:#b7791f;font-size:.9rem}
.activity-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
.activity-tabs a{padding:10px 18px;border:1px solid #dfe6ef;border-radius:999px;color:#16477f;text-decoration:none;font-weight:600;background:#fff}
.activity-tabs a.active,.activity-tabs a:hover{background:#16477f;color:#fff;border-color:#16477f}
.activity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:22px}
.activity-card{overflow:hidden;border:1px solid #e4e9f0;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(20,45,75,.055)}
.activity-card img{display:block;width:100%;height:245px;object-fit:cover;background:#f3f4f6}
.activity-copy{padding:18px}
.activity-date{margin:0 0 8px;color:#8a6a37;font-size:.82rem;font-weight:700}
.activity-category{display:inline-block;margin-bottom:8px;padding:4px 9px;border-radius:999px;background:#edf3fa;color:#16477f;font-size:.72rem;font-weight:700}
.activity-copy h3{margin:0 0 9px;color:#16477f;font-family:'Playfair Display',serif;font-size:1.15rem;line-height:1.35}
.activity-copy p:last-child{margin:0;color:#64748b;line-height:1.65;font-size:.92rem}
@media(max-width:760px){.activity-category-grid{grid-template-columns:1fr}.activity-card img{height:220px}.activity-copy{padding:15px}}

.activity-illustration{display:block;color:#8b6b3e;font-size:.78rem;margin-bottom:8px}

/* Sejarah Paroki */
.history-intro{max-width:920px}
.history-intro>p{color:#536276;line-height:1.85;font-size:1.02rem}
.history-timeline{max-width:980px;margin:10px auto 0;border-left:2px solid #e5d5b8;padding-left:28px}
.history-entry{position:relative;display:grid;grid-template-columns:155px minmax(0,1fr);gap:22px;padding:0 0 34px}
.history-entry:before{content:"";position:absolute;left:-37px;top:5px;width:16px;height:16px;border-radius:50%;background:#b88942;border:4px solid #fbf9f5;box-shadow:0 0 0 1px #d9c49f}
.history-year{font-family:'Playfair Display',serif;color:#9b7133;font-weight:700;font-size:1.05rem;padding-top:1px}
.history-body{background:#fff;border:1px solid #e8e9eb;border-radius:14px;padding:22px 24px;box-shadow:0 7px 22px rgba(20,45,75,.04)}
.history-body h2,.history-closing h2{font-family:'Playfair Display',serif;color:#16477f;font-size:1.35rem;margin:0 0 12px}
.history-body p,.history-closing p{color:#536276;line-height:1.8;margin:0 0 12px}
.history-body p:last-child,.history-closing p:last-child{margin-bottom:0}
.history-closing .soft-panel{max-width:980px;margin:auto;padding:30px}
.history-sources{max-width:980px}
.history-sources ul{padding-left:22px;line-height:2}
.history-sources a{color:#16477f;text-decoration:underline;text-underline-offset:3px}
@media(max-width:680px){.history-timeline{padding-left:20px}.history-entry{grid-template-columns:1fr;gap:8px;padding-bottom:26px}.history-entry:before{left:-29px}.history-body{padding:18px}.history-year{font-size:.98rem}}


/* Mobile refinement and accessible dark-grey appearance */
.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid #d8e0e9;background:#fffdfa;color:#173f70;
  border-radius:999px;padding:8px 12px;font:600 11px "DM Sans",Arial,sans-serif;
  white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s,color .2s
}
.theme-toggle:hover{background:#edf3fa;border-color:#b8c9dc}
.theme-toggle:focus-visible,.menu-toggle:focus-visible{outline:3px solid #d5a43b;outline-offset:3px}
@media(max-width:800px){
  .header nav .theme-toggle{align-self:flex-start;margin:2px 0 4px;font-size:13px;padding:10px 15px}
  .header nav{padding-bottom:max(22px,env(safe-area-inset-bottom))}
}
@media(max-width:500px){
  html{scroll-padding-top:78px}
  .header{height:72px}
  .nav-wrap{gap:8px;padding-left:4%;padding-right:4%}
  .brand{gap:8px;max-width:calc(100% - 58px)}
  .brand img{width:43px;height:43px;flex:0 0 43px}
  .brand span{min-width:0}
  .brand strong{font-size:clamp(13px,3.7vw,16px);white-space:normal;line-height:1.15}
  .brand small{font-size:10px}
  .menu-toggle{padding:8px 4px}
  .header nav{top:72px;max-height:calc(100dvh - 72px)}
  .home-shortcuts,.content-section{padding:38px 5%}
  .page-banner{padding:32px 5%}
  .page-banner.compact{min-height:0}
  .page-banner.compact h1{font-size:clamp(30px,8vw,35px)}
  .section-heading h2,.content-section h2{font-size:clamp(24px,6vw,30px)}
  .activity-grid,.gallery-grid,.shortcut-grid{grid-template-columns:minmax(0,1fr)}
  .activity-card img{height:auto;aspect-ratio:16/10;object-fit:cover}
  .history-body{padding:16px}
  img{max-width:100%}
  .two-col{grid-template-columns:minmax(0,1fr);gap:22px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* Dark-grey theme: activated by the appearance control and remembered on this device */
body[data-theme="dark"]{background:#202327;color:#e5e7eb;color-scheme:dark}
body[data-theme="dark"] .header{background:#292d32;box-shadow:0 2px 14px #0006}
body[data-theme="dark"] .brand strong,body[data-theme="dark"] .brand small{color:#e7edf5}
body[data-theme="dark"] .header nav a{color:#e1e6ed}
body[data-theme="dark"] .header nav .contact-button{background:#496f9e;color:#fff}
body[data-theme="dark"] .theme-toggle{background:#3a4047;border-color:#59616b;color:#f2f4f7}
body[data-theme="dark"] .theme-toggle:hover{background:#4a525c}
body[data-theme="dark"] .menu-toggle i{background:#e7edf5}
body[data-theme="dark"] .header nav{background:#292d32}
body[data-theme="dark"] .profile-hero,
body[data-theme="dark"] .page-banner{background:#292e34}
body[data-theme="dark"] .profile-hero:after{background:linear-gradient(90deg,#292e34 0%,#292e34 30%,rgba(41,46,52,.94) 37%,rgba(41,46,52,.68) 44%,rgba(41,46,52,0) 60%)}
body[data-theme="dark"] .hero-copy h1,
body[data-theme="dark"] .page-banner h1,
body[data-theme="dark"] .section-heading h2,
body[data-theme="dark"] .content-section h2,
body[data-theme="dark"] .info-card h2,
body[data-theme="dark"] .details-title h2,
body[data-theme="dark"] .soft-panel h3,
body[data-theme="dark"] .activity-copy h3,
body[data-theme="dark"] .history-body h2,
body[data-theme="dark"] .history-closing h2{color:#d9e8fa}
body[data-theme="dark"] .hero-copy>p:not(.eyebrow),
body[data-theme="dark"] .page-banner p:last-child,
body[data-theme="dark"] .section-heading p:last-child,
body[data-theme="dark"] .content-section p,
body[data-theme="dark"] .info-card p,
body[data-theme="dark"] .info-card li,
body[data-theme="dark"] .history-intro>p,
body[data-theme="dark"] .history-body p,
body[data-theme="dark"] .history-closing p,
body[data-theme="dark"] .activity-copy p:last-child{color:#c0c8d2}
body[data-theme="dark"] .values,
body[data-theme="dark"] .parish-details,
body[data-theme="dark"] .soft-panel{background:#292e34;border-color:#3b424b}
body[data-theme="dark"] .info-card,
body[data-theme="dark"] .shortcut-grid a,
body[data-theme="dark"] .profile-fact,
body[data-theme="dark"] .community-card,
body[data-theme="dark"] .activity-card,
body[data-theme="dark"] .gallery-item,
body[data-theme="dark"] .history-body,
body[data-theme="dark"] .community-info-card{background:#2d3239;border-color:#424a54;box-shadow:0 6px 20px #0003}
body[data-theme="dark"] .shortcut-grid b,
body[data-theme="dark"] .detail,
body[data-theme="dark"] .profile-fact strong,
body[data-theme="dark"] .community-card h3,
body[data-theme="dark"] .community-info-card h3{color:#e0e9f4}
body[data-theme="dark"] .shortcut-grid span,
body[data-theme="dark"] .detail p,
body[data-theme="dark"] .activity-date,
body[data-theme="dark"] .profile-fact p{color:#b8c2ce}
body[data-theme="dark"] .activity-category,
body[data-theme="dark"] .activity-category-card>span{background:#3c4d61;color:#dbeafe}
body[data-theme="dark"] .activity-tabs a{background:#2d3239;border-color:#4a535e;color:#dce8f5}
body[data-theme="dark"] .activity-tabs a.active,
body[data-theme="dark"] .activity-tabs a:hover{background:#496f9e;color:#fff;border-color:#496f9e}
body[data-theme="dark"] .activity-category-card{background:#2d3239;border-color:#424a54}
body[data-theme="dark"] .activity-category-card h3{color:#d9e8fa}
body[data-theme="dark"] .activity-category-card p{color:#c0c8d2}
body[data-theme="dark"] .history-entry:before{border-color:#292e34}
body[data-theme="dark"] .history-timeline{border-color:#6b5b42}
body[data-theme="dark"] .history-year{color:#d7b77d}
body[data-theme="dark"] .history-sources a,
body[data-theme="dark"] .social-link{color:#9fc7f5}
body[data-theme="dark"] .button.outline{border-color:#9fc7f5;color:#c6def9}
body[data-theme="dark"] .footer{background:#191c20;color:#cbd5e1}
body[data-theme="dark"] .footer a{color:#cbd5e1}
body[data-theme="dark"] .footer-brand b{color:#e5edf7}
body[data-theme="dark"] .notice,
body[data-theme="dark"] .mass-schedule-card{background:#2d3239;border-color:#424a54;color:#e5e7eb}
body[data-theme="dark"] .mass-schedule-card p,
body[data-theme="dark"] .notice p{color:#c0c8d2}
body[data-theme="dark"] .header nav a.active:after{background:#d7b77d}


/* Gallery captions: high contrast on both light and dark themes */
.gallery-item figcaption{
  color:#ffffff !important;
  background:#30363d;
  font-weight:500;
}
body[data-theme="dark"] .gallery-item figcaption{
  color:#ffffff !important;
  background:#252a30;
}


/* Consistent gallery cards: equal caption treatment and aligned card bottoms */
.gallery-grid{
  align-items:stretch;
}
figure.gallery-item{
  display:flex;
  flex-direction:column;
  height:100%;
  background:#30363d !important;
}
figure.gallery-item > img{
  display:block;
  width:100%;
  aspect-ratio:3/2;
  height:auto;
  object-fit:cover;
  flex:0 0 auto;
}
figure.gallery-item > figcaption{
  display:flex;
  align-items:flex-start;
  flex:1 0 auto;
  min-height:74px;
  box-sizing:border-box;
  padding:13px 16px 15px;
  color:#fff !important;
  background-color:#30363d !important;
  font-size:.94rem;
  line-height:1.5;
  font-weight:500;
}
body[data-theme="dark"] figure.gallery-item,
body[data-theme="dark"] figure.gallery-item > figcaption{
  background-color:#30363d !important;
}


/* Parish governance directory: BPGDA and DPP */
.governance-menu{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 24px}
.governance-menu a{display:inline-flex;align-items:center;gap:24px;padding:11px 17px;border:1px solid #dce4ed;border-radius:999px;background:#fff;color:#16477f;font-weight:700}
.governance-menu a span{color:#b47b22;font-size:18px}
.governance-menu a:hover{background:#edf3fa;border-color:#b7c9dc}
.governance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.governance-card{padding:24px;border:1px solid #e4e9f0;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(20,45,75,.055);scroll-margin-top:110px}
.governance-kicker{color:#8a6a37;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.governance-card h3{margin:8px 0 10px;color:#16477f;font-family:"Playfair Display",serif;font-size:1.55rem}
.governance-card>p{color:#64748b;line-height:1.7}
.governance-placeholder{margin-top:18px;padding:16px;border:1px dashed #cbd5e1;border-radius:11px;background:#f7f9fc}
.governance-placeholder strong{color:#173f70}
.governance-placeholder p{margin:7px 0 0;color:#64748b;font-size:.9rem;line-height:1.6}
@media(max-width:700px){.governance-grid{grid-template-columns:1fr}.governance-card{padding:19px}}
body[data-theme="dark"] .governance-menu a{background:#2d3239;border-color:#4a535e;color:#dce8f5}
body[data-theme="dark"] .governance-menu a:hover{background:#3b4652}
body[data-theme="dark"] .governance-card{background:#2d3239;border-color:#424a54;box-shadow:0 6px 20px #0003}
body[data-theme="dark"] .governance-card h3{color:#d9e8fa}
body[data-theme="dark"] .governance-card>p{color:#c0c8d2}
body[data-theme="dark"] .governance-placeholder{background:#252a30;border-color:#59616b}
body[data-theme="dark"] .governance-placeholder strong{color:#e0e9f4}
body[data-theme="dark"] .governance-placeholder p{color:#b8c2ce}


/* Bidang pelayanan page */
.department-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.department-card{display:flex;align-items:center;gap:15px;padding:18px 20px;border:1px solid #e3e9f0;border-radius:14px;background:#fff;box-shadow:0 7px 20px rgba(20,45,75,.045);transition:transform .2s,border-color .2s}
.department-card:hover{transform:translateY(-2px);border-color:#b8c9dc}
.department-icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#edf3fa;color:#b47b22;font-size:19px}
.department-card-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.department-card-copy strong{color:#173f70;font-family:"Playfair Display",serif;font-size:1.05rem}
.department-card-copy small{color:#64748b;font-size:.84rem;line-height:1.5}
.department-arrow{margin-left:auto;color:#b47b22;font-size:21px}
.department-details{padding-top:18px}
.department-detail{margin:0 0 22px;padding:25px;border:1px solid #e3e9f0;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(20,45,75,.045);scroll-margin-top:110px}
.department-detail-heading{display:flex;align-items:center;gap:13px}
.department-detail-heading h2{margin:0;color:#173f70;font-family:"Playfair Display",serif}
.department-detail-heading .eyebrow{margin:0 0 4px}
.department-detail>p{color:#64748b;line-height:1.7}
.department-note{margin-top:17px;padding:16px;border:1px dashed #cbd5e1;border-radius:11px;background:#f7f9fc}
.department-note strong{color:#173f70}
.department-note p{margin:6px 0 0;color:#64748b;font-size:.9rem;line-height:1.6}
.community-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.community-minicard{padding:16px;border:1px solid #e4e9f0;border-radius:12px;background:#fdfefe}
.community-minicard h3{margin:0 0 5px;color:#173f70;font-family:"Playfair Display",serif}
.community-minicard p{margin:0 0 10px;color:#64748b;font-size:.88rem;line-height:1.5}
.community-minicard small{color:#8a6a37;line-height:1.5}
@media(max-width:760px){.department-menu{grid-template-columns:1fr}.community-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.department-detail{padding:19px}}
@media(max-width:420px){.community-mini-grid{grid-template-columns:1fr}.department-card{padding:15px}}
body[data-theme="dark"] .department-card,
body[data-theme="dark"] .department-detail{background:#2d3239;border-color:#424a54;box-shadow:0 6px 20px #0003}
body[data-theme="dark"] .department-icon{background:#3c4d61;color:#e2c58e}
body[data-theme="dark"] .department-card-copy strong,
body[data-theme="dark"] .department-detail-heading h2{color:#d9e8fa}
body[data-theme="dark"] .department-card-copy small,
body[data-theme="dark"] .department-detail>p{color:#c0c8d2}
body[data-theme="dark"] .department-note{background:#252a30;border-color:#59616b}
body[data-theme="dark"] .department-note strong{color:#e0e9f4}
body[data-theme="dark"] .department-note p{color:#b8c2ce}
body[data-theme="dark"] .community-minicard{background:#252a30;border-color:#424a54}
body[data-theme="dark"] .community-minicard h3{color:#d9e8fa}
body[data-theme="dark"] .community-minicard p{color:#c0c8d2}
body[data-theme="dark"] .community-minicard small{color:#d7b77d}


/* Header layout refinement: prevent the brand and navigation from colliding */
.header{height:82px}
.nav-wrap{gap:clamp(12px,2vw,28px);padding-left:clamp(18px,2.6vw,42px);padding-right:clamp(18px,2.6vw,42px)}
.brand{flex:0 1 auto;min-width:0;max-width:430px;gap:11px}
.brand img{flex:0 0 54px;width:54px;height:54px}
.brand span{min-width:0}
.brand strong{font-size:clamp(15px,1.25vw,18px);white-space:normal;line-height:1.12}
.brand small{font-size:12px}
.header nav{flex:0 1 auto;justify-content:flex-end;gap:clamp(8px,1.05vw,16px)}
.header nav a{font-size:clamp(10px,.82vw,12px)}
.menu-toggle{cursor:pointer;border:1px solid #dce4ed;border-radius:10px;padding:8px 9px;background:#fffdfa}
.menu-toggle i{width:22px}
@media(max-width:1350px){
  .header{height:80px}
  .nav-wrap{justify-content:space-between}
  .menu-toggle{display:block;flex:0 0 auto}
  .header nav{display:none;position:absolute;top:80px;right:clamp(18px,2.6vw,42px);left:auto;width:min(360px,calc(100vw - 36px));padding:15px;background:#fffdfa;border:1px solid #e7ebf0;border-radius:0 0 14px 14px;box-shadow:0 14px 28px #102e4b20;flex-direction:column;align-items:stretch;gap:3px;max-height:calc(100vh - 95px);overflow-y:auto}
  .header nav.open{display:flex}
  .header nav a{display:block;padding:10px 12px;font-size:13px;white-space:normal;border-radius:7px}
  .header nav a:hover{background:#f0f4f9}
  .header nav a.active:after{display:none}
  .header nav a.active{background:#edf3fa;color:#17477f}
  .header nav .contact-button{text-align:center;margin-top:6px;padding:11px 16px}
}
@media(max-width:800px){
  .header{height:76px}
  .nav-wrap{padding:0 5%}
  .brand{max-width:calc(100% - 58px)}
  .brand img{width:48px;height:48px;flex-basis:48px}
  .brand strong{font-size:clamp(14px,4vw,17px)}
  .header nav{top:76px;left:0;right:0;width:100%;border-radius:0 0 12px 12px;padding:14px 6% 20px}
}


/* Website visitor statistics */
.visitor-stats{background:#f3f5f7;padding:22px 5%;border-top:1px solid #e4e9ef}
.visitor-stats-inner{max-width:1120px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:17px 22px;background:#fff;border:1px solid #e1e7ee;border-radius:15px;box-shadow:0 5px 18px rgba(20,45,75,.055)}
.visitor-stats-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:13px;background:#edf3fa;color:#1b568e;font-size:25px;font-weight:700}
.visitor-stats-copy{display:flex;flex-direction:column;min-width:0}
.visitor-stats-kicker{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#8a98a8;font-weight:700}
.visitor-stats-copy strong{font-family:"Playfair Display",Georgia,serif;font-size:17px;color:#173f70;line-height:1.35}
.visitor-stats-copy small{font-size:12px;color:#718096;margin-top:2px}
.visitor-stats-number{margin-left:auto;min-width:145px;text-align:right;display:flex;flex-direction:column;align-items:flex-end}
.visitor-stats-number span{font-size:25px;font-weight:700;line-height:1.15;color:#173f70;font-variant-numeric:tabular-nums}
.visitor-stats-number small{font-size:11px;color:#718096}
body[data-theme="dark"] .visitor-stats{background:#20252b;border-color:#343c46}
body[data-theme="dark"] .visitor-stats-inner{background:#2d3239;border-color:#424a54;box-shadow:0 5px 18px #0003}
body[data-theme="dark"] .visitor-stats-icon{background:#3c4d61;color:#d9e8fa}
body[data-theme="dark"] .visitor-stats-copy strong,body[data-theme="dark"] .visitor-stats-number span{color:#e0eaf6}
body[data-theme="dark"] .visitor-stats-kicker,body[data-theme="dark"] .visitor-stats-copy small,body[data-theme="dark"] .visitor-stats-number small{color:#b6c0cc}
@media(max-width:600px){.visitor-stats{padding:16px 5%}.visitor-stats-inner{padding:15px;gap:12px;flex-wrap:wrap}.visitor-stats-icon{width:40px;height:40px;flex-basis:40px}.visitor-stats-copy{flex:1}.visitor-stats-copy strong{font-size:15px}.visitor-stats-number{width:100%;margin:7px 0 0;padding-top:11px;border-top:1px solid #e6ebf0;align-items:flex-start;text-align:left}.visitor-stats-number span{font-size:23px}body[data-theme="dark"] .visitor-stats-number{border-color:#424a54}}


/* Compact visitor counter positioned inside the blue footer */
.footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:clamp(10px,2vw,26px);padding:18px 3.5%;min-height:78px}
.footer-brand{flex:0 1 auto;min-width:0}
.footer p{order:0;width:auto;flex:1;text-align:center;font-size:11px;white-space:nowrap}
.footer .theme-toggle{flex:0 0 auto}
.footer-visitor-count{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:5px 10px;border:1px solid rgba(255,255,255,.24);border-radius:20px;background:rgba(255,255,255,.08);color:#fff;white-space:nowrap}
.footer-visitor-label{font-size:10px;color:#d6e1ee}
.footer-visitor-count strong{font-size:12px;line-height:1;color:#f0c66b;font-variant-numeric:tabular-nums}
.footer>a{flex:0 0 auto;margin-left:0;font-size:10px;white-space:nowrap;color:#f0c66b}
@media(max-width:900px){
  .footer{flex-wrap:wrap;justify-content:center;gap:12px 18px;padding:16px 5%}
  .footer-brand{margin-right:auto}
  .footer p{order:5;flex:1 0 100%;text-align:center;white-space:normal}
  .footer .theme-toggle{margin-left:auto}
}
@media(max-width:520px){
  .footer{justify-content:space-between;gap:10px;padding:14px 4%}
  .footer-brand{flex:1 0 100%;justify-content:center;margin:0 0 4px}
  .footer .theme-toggle{margin:0}
  .footer-visitor-count{padding:5px 8px;gap:5px}
  .footer-visitor-label{font-size:9px}
  .footer-visitor-count strong{font-size:11px}
  .footer>a{font-size:9px}
  .footer p{font-size:10px}
}


/* Dynamic content published from the parish admin dashboard */
.dynamic-post-card{background:var(--card,#fff);border:1px solid var(--line,#e2e8ef);border-radius:16px;overflow:hidden;box-shadow:0 8px 22px rgba(20,45,75,.06)}
.dynamic-post-card>img,.dynamic-cover img{width:100%;height:220px;object-fit:cover;display:block}
.dynamic-post-copy{padding:18px}.dynamic-post-copy small{color:var(--muted,#718096)}
.dynamic-post-copy h3{color:var(--navy,#173f70);margin:9px 0}.dynamic-post-copy p,.announcement details p,.activity-copy details p{line-height:1.7;white-space:normal}
.dynamic-post-copy details,.announcement details,.activity-copy details{margin-top:10px}
.dynamic-post-copy summary,.announcement summary,.activity-copy summary{cursor:pointer;color:#1b568e;font-weight:700}
.dynamic-cover{margin:-2px 0 14px}.dynamic-cover img{border-radius:10px}
.activity-grid .activity-card img{max-height:270px;object-fit:cover}

.dynamic-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
@media(max-width:850px){.dynamic-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dynamic-news-grid{grid-template-columns:1fr}}

.community-post{padding:16px;margin:12px 0;border:1px solid var(--line,#e2e8ef);border-radius:12px;background:var(--card,#fff)}
.community-post img{width:100%;max-height:240px;object-fit:cover;border-radius:9px;margin-bottom:10px}
.community-post small{color:var(--muted,#718096)}.community-post h3{margin:7px 0;color:var(--navy,#173f70)}

.admin-gallery-grid{margin-top:22px}
