/*
Theme Name: Парафія Преміум Плюс
Author URI: https://parafiya.online/
Theme URI: https://example.com/parafiia-premium-plus
Author: Parafiia Online
Description: Повноцінна адаптивна WordPress-тема для парафіяльного порталу: богослужіння, календар подій, оголошення, онлайн-записки, замовлення треб, підписка та пожертви.
Version: 3.8.6
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: parafiia-premium-plus
*/
:root{
  --ppp-primary:#541d20;
  --ppp-primary-dark:#321113;
  --ppp-accent:#c98b2d;
  --ppp-accent-dark:#9e6719;
  --ppp-paper:#fffdf9;
  --ppp-soft:#faf6ee;
  --ppp-soft-2:#f4eee3;
  --ppp-line:#ded7cc;
  --ppp-text:#25211f;
  --ppp-muted:#716a63;
  --ppp-danger:#b3291f;
  --ppp-white:#fff;
  --ppp-shadow:0 10px 30px rgba(53,30,23,.12);
  --ppp-radius:6px;
  --ppp-container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#edf0f1;color:var(--ppp-text);font-family:Arial,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.55}
a{color:inherit;text-decoration:none}
a:hover{color:var(--ppp-accent-dark)}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ppp-site{width:min(100% - 24px,var(--ppp-container));margin:18px auto;background:var(--ppp-paper);box-shadow:var(--ppp-shadow);border-radius:var(--ppp-radius);overflow:hidden}
.ppp-container{width:min(100% - 44px,1134px);margin-inline:auto}
.ppp-topbar{background:linear-gradient(90deg,var(--ppp-primary-dark),var(--ppp-primary));color:#fff;font-size:12px}
.ppp-topbar-inner{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.ppp-top-contact,.ppp-top-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.ppp-inline{display:inline-flex;align-items:center;gap:7px}
.ppp-inline svg,.ppp-service-icon svg,.ppp-card-icon svg,.ppp-contact-list svg{width:17px;height:17px;flex:0 0 auto;overflow:visible;display:block}
.ppp-socials{display:flex;gap:7px}
.ppp-socials a{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:11px}
.ppp-top-link{padding-left:14px;border-left:1px solid rgba(255,255,255,.18)}
.ppp-header{background:#fff;border-bottom:1px solid var(--ppp-line)}
.ppp-header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.ppp-brand{display:flex;align-items:center;gap:12px;min-width:255px}
.ppp-brand-mark{width:47px;height:58px;color:var(--ppp-accent);flex:0 0 auto}
.ppp-brand-logo,.ppp-brand-logo .custom-logo-link,.ppp-brand-mark-link{display:inline-flex;align-items:center;flex:0 0 auto}
.ppp-brand-copy{display:grid;color:inherit;text-decoration:none;line-height:1.08}
.ppp-brand-title{font-family:Georgia,serif;font-size:19px;font-weight:700;line-height:1.08}
.ppp-brand-subtitle{font-size:12px;color:var(--ppp-muted);margin-top:3px}
.custom-logo{max-height:68px;width:auto}
.ppp-nav-wrap{display:flex;align-items:center;gap:12px}
.ppp-nav ul{display:flex;align-items:center;gap:27px;list-style:none;margin:0;padding:0}
.ppp-nav a{font-size:13px;font-weight:700}
.ppp-search-link{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:1px solid transparent;font-size:22px}
.ppp-search-link:hover{border-color:var(--ppp-line)}
.ppp-menu-toggle{display:none;border:0;background:var(--ppp-primary);color:#fff;border-radius:4px;padding:9px 12px;cursor:pointer}
.ppp-service-strip{background:linear-gradient(180deg,#fbf8f2,#f4eee3);border-bottom:1px solid var(--ppp-line)}
.ppp-service-strip-inner{display:grid;grid-template-columns:repeat(5,1fr)}
.ppp-service-link{min-height:78px;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 18px;border-right:1px solid var(--ppp-line);font-size:13px;font-weight:700;text-align:left}
.ppp-service-link:first-child{border-left:1px solid var(--ppp-line)}
.ppp-service-icon{width:35px;height:35px;display:grid;place-items:center;color:var(--ppp-accent);flex:0 0 auto}
.ppp-service-icon svg{width:24px;height:24px;overflow:visible;display:block}
.ppp-layout{display:grid;grid-template-columns:minmax(0,1fr) 322px;align-items:start}
.ppp-main{min-width:0;background:#fff;border-right:1px solid var(--ppp-line)}
.ppp-sidebar{padding:18px;background:linear-gradient(180deg,#fcf9f2,#f6f0e6);min-height:100%}
.ppp-hero{position:relative;height:410px;overflow:hidden;background:#1f1713}
.ppp-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .7s ease;display:flex;align-items:center}
.ppp-slide.is-active{opacity:1;z-index:1}
.ppp-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,12,8,.77),rgba(20,12,8,.18) 68%,rgba(20,12,8,.06))}
.ppp-hero-content{position:relative;z-index:2;padding:50px 54px;max-width:650px;color:#fff}
.ppp-hero h1{font-family:Georgia,serif;font-size:45px;line-height:1.06;margin:0 0 14px;text-shadow:0 2px 9px rgba(0,0,0,.5)}
.ppp-hero p{font-size:18px;margin:0 0 24px;color:rgba(255,255,255,.92)}
.ppp-button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:11px 24px;border:0;border-radius:4px;background:var(--ppp-accent);color:#fff;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.16)}
.ppp-button:hover{background:var(--ppp-accent-dark);color:#fff}
.ppp-button--primary{background:var(--ppp-primary)}
.ppp-button--primary:hover{background:var(--ppp-primary-dark)}
.ppp-hero-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:38px;height:54px;border:0;background:rgba(0,0,0,.24);color:#fff;font-size:24px;cursor:pointer}
.ppp-hero-arrow:hover{background:rgba(0,0,0,.46)}
.ppp-hero-prev{left:0}.ppp-hero-next{right:0}
.ppp-section{padding:34px 34px;border-bottom:1px solid var(--ppp-line)}
.ppp-section-heading{font-family:Georgia,serif;font-size:25px;line-height:1.2;margin:0 0 20px}
.ppp-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.ppp-more{font-size:13px;font-weight:700;color:var(--ppp-accent-dark)}
.ppp-more:hover{text-decoration:underline}
.ppp-service-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.ppp-service-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;padding:22px 16px;border:1px solid var(--ppp-line);border-radius:6px;text-align:center;background:linear-gradient(180deg,#fff,#fdfaf5);transition:transform .18s ease,box-shadow .18s ease}
.ppp-service-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(73,46,31,.11)}
.ppp-card-icon{width:72px;height:72px;display:grid;place-items:center;color:var(--ppp-accent);margin-bottom:15px}
.ppp-card-icon svg{width:58px;height:58px}
.ppp-service-card h3{font-size:15px;margin:0 0 8px}
.ppp-service-card p{font-size:12px;color:var(--ppp-muted);margin:0}
.ppp-news-form-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(235px,.85fr);gap:28px;align-items:start}
.ppp-news-list{display:grid;gap:18px}
.ppp-news-item{display:grid;grid-template-columns:150px 1fr;gap:16px;align-items:start}
.ppp-news-item img{width:150px;height:112px;object-fit:cover;border-radius:5px}
.ppp-news-item h3{font-size:16px;line-height:1.25;margin:0 0 6px}
.ppp-meta{font-size:11px;color:var(--ppp-muted);margin-bottom:8px}
.ppp-news-item p{font-size:13px;margin:0 0 7px;color:#4d4742}
.ppp-form-card{border-left:1px solid var(--ppp-line);padding-left:24px}
.ppp-form-card h3{font-family:Georgia,serif;font-size:20px;margin:0 0 15px}
.ppp-field{display:grid;gap:6px;margin-bottom:12px}
.ppp-field label{font-size:12px;font-weight:700}
.ppp-field input,.ppp-field select,.ppp-field textarea{width:100%;padding:10px 11px;border:1px solid var(--ppp-line);border-radius:4px;background:#fff;color:var(--ppp-text)}
.ppp-field textarea{min-height:88px;resize:vertical}
.ppp-notice{padding:11px 13px;border-radius:4px;margin-bottom:14px;font-size:13px}
.ppp-notice--success{background:#e9f6ea;border:1px solid #b9ddb9;color:#245e2b}
.ppp-notice--error{background:#fff0ee;border:1px solid #e3b4ad;color:#8a271f}
.ppp-widget{background:#fff;border:1px solid var(--ppp-line);border-radius:6px;padding:20px;margin-bottom:17px;box-shadow:0 2px 6px rgba(0,0,0,.025)}
.ppp-widget-title{font-family:Georgia,serif;font-size:18px;margin:0 0 17px}
.ppp-next-service .ppp-service-day{font-weight:700;font-size:13px;margin-bottom:8px}
.ppp-next-service .ppp-service-time{font-family:Georgia,serif;font-size:27px;font-weight:700;margin-bottom:6px}
.ppp-next-service .ppp-service-name{font-weight:700;font-size:14px;margin-bottom:4px}
.ppp-next-service p{font-size:12px;color:var(--ppp-muted);margin:0 0 13px}
.ppp-calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:13px;font-weight:700}
.ppp-calendar{width:100%;border-collapse:collapse;font-size:11px;text-align:center}
.ppp-calendar th{font-weight:500;color:var(--ppp-muted);padding:3px}
.ppp-calendar td{padding:4px 2px}
.ppp-calendar a,.ppp-calendar span{width:25px;height:25px;display:grid;place-items:center;margin:auto;border-radius:50%}
.ppp-calendar .has-event{background:#efe3d2;color:var(--ppp-primary);font-weight:700}
.ppp-calendar .today{background:var(--ppp-primary);color:#fff;font-weight:700}
.ppp-alert{background:#fff6e6;border-left:4px solid #d34d31;border-radius:4px;padding:11px 12px;margin-bottom:13px}
.ppp-alert strong{display:block;color:var(--ppp-danger);font-size:13px;margin-bottom:4px}
.ppp-alert p{font-size:12px;margin:0}
.ppp-donation{
  background:linear-gradient(145deg,#fff0e9 0%,#f5ddd2 100%);
  border:1px solid #d8a995;
  border-left:5px solid var(--ppp-primary);
  box-shadow:0 8px 22px rgba(84,29,32,.10);
}
.ppp-donation .ppp-widget-title{color:var(--ppp-primary)}
.ppp-donation p{font-size:13px;margin-top:0;color:#53383a}
.widget ul{list-style:none;margin:0;padding:0}.widget li+li{margin-top:8px}
.ppp-footer{background:linear-gradient(145deg,var(--ppp-primary),var(--ppp-primary-dark));color:#fff;padding:42px 0 25px}
.ppp-footer-grid{display:grid;grid-template-columns:1.15fr .78fr .9fr 1.12fr;gap:34px}
.ppp-footer h3{font-family:Georgia,serif;font-size:17px;margin:0 0 16px}
.ppp-footer p,.ppp-footer li,.ppp-footer a{font-size:12px;color:rgba(255,255,255,.9)}
.ppp-footer ul{list-style:none;margin:0;padding:0}.ppp-footer li+li{margin-top:7px}
.ppp-contact-list{display:grid;gap:9px;margin-bottom:16px}
.ppp-footer-bottom{margin-top:27px;padding-top:16px;border-top:1px solid rgba(255,255,255,.15);display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:11px;color:rgba(255,255,255,.64)}
.ppp-payments{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ppp-payment{padding:4px 7px;border-radius:3px;background:rgba(255,255,255,.94);color:#241b19;font-weight:700;font-size:10px}
.ppp-content{padding:42px 44px;background:#fff;min-height:450px}
.ppp-content article+article{border-top:1px solid var(--ppp-line);padding-top:28px;margin-top:28px}
.ppp-entry-title{font-family:Georgia,serif;font-size:34px;line-height:1.15;margin:0 0 12px}
.ppp-entry-content{font-size:17px}.ppp-entry-content img{border-radius:5px}
.search-form{display:flex;gap:8px}.search-field{width:100%;padding:10px 12px;border:1px solid var(--ppp-line);border-radius:4px}.search-submit{border:0;background:var(--ppp-accent);color:#fff;padding:10px 14px;border-radius:4px;cursor:pointer}
@media(max-width:1020px){
  .ppp-nav ul{gap:16px}.ppp-layout{grid-template-columns:minmax(0,1fr) 290px}.ppp-section{padding:30px 28px}.ppp-hero-content{padding:44px 38px}.ppp-hero h1{font-size:40px}.ppp-service-link{padding:10px 9px}.ppp-service-cards{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:840px){
  .ppp-site{width:100%;margin:0;border-radius:0}.ppp-topbar-inner{padding-block:8px}.ppp-header{position:relative}.ppp-header-inner{min-height:76px}.ppp-menu-toggle{display:block}.ppp-nav{display:none;position:absolute;z-index:80;top:76px;left:0;right:0;background:#fff;border-top:1px solid var(--ppp-line);box-shadow:0 12px 24px rgba(0,0,0,.14)}.ppp-nav.is-open{display:block}.ppp-nav ul{display:block;padding:12px 22px}.ppp-nav li{border-bottom:1px solid #eee}.ppp-nav a{display:block;padding:12px 0}.ppp-search-link{display:none}.ppp-service-strip-inner{grid-template-columns:repeat(2,1fr)}.ppp-service-link{border-bottom:1px solid var(--ppp-line)}.ppp-layout{display:block}.ppp-main{border-right:0}.ppp-sidebar{border-top:1px solid var(--ppp-line)}.ppp-news-form-grid{grid-template-columns:1fr}.ppp-form-card{border-left:0;border-top:1px solid var(--ppp-line);padding:24px 0 0}.ppp-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .ppp-top-actions,.ppp-top-contact .ppp-inline:first-child{display:none}.ppp-topbar-inner{justify-content:center}.ppp-brand{min-width:0}.ppp-brand-title{font-size:16px}.ppp-brand-subtitle{display:none}.ppp-brand-mark{width:38px;height:47px}.ppp-container{width:min(100% - 24px,1134px)}.ppp-service-strip-inner{grid-template-columns:1fr}.ppp-service-link{justify-content:flex-start}.ppp-hero{height:350px}.ppp-hero-content{padding:42px 25px}.ppp-hero h1{font-size:34px}.ppp-hero p{font-size:15px}.ppp-section,.ppp-content{padding:27px 21px}.ppp-section-heading{font-size:23px}.ppp-service-cards{grid-template-columns:1fr}.ppp-service-card{min-height:180px}.ppp-news-item{grid-template-columns:105px 1fr;gap:12px}.ppp-news-item img{width:105px;height:88px}.ppp-news-item p{display:none}.ppp-footer-grid{grid-template-columns:1fr}.ppp-footer-bottom{display:block}.ppp-payments{justify-content:flex-start;margin-top:12px}.ppp-entry-title{font-size:28px}
}

/* Branding layout: keep parish subtitle below the parish name. */
.ppp-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}
.ppp-brand-title,
.ppp-brand-subtitle {
  display: block;
  width: 100%;
}
.ppp-brand-subtitle { margin-top: 5px; }

/* Authorization links */
.ppp-auth-links{display:flex;align-items:center;gap:10px}
.ppp-auth-links .ppp-top-link{white-space:nowrap}


/* Featured image layout for single news and pages */
.ppp-entry-media--float{float:left;width:min(42%,390px);margin:0 26px 18px 0}
.ppp-entry-media--float img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 12px 30px rgba(18,13,24,.16)}
.ppp-entry-content::after{content:"";display:block;clear:both}
@media(max-width:760px){
  .ppp-entry-media--float{float:none;width:100%;max-width:none;margin:0 0 18px}
}


/* Refined article image and heading styles */
.ppp-entry-media--float{float:left;width:min(36%,340px);margin:4px 28px 22px 0;padding:7px;background:#fff;border:1px solid var(--ppp-line);border-radius:16px;box-shadow:0 14px 34px rgba(53,30,23,.14)}
.ppp-entry-media--float img{display:block;width:100%;height:auto;border-radius:11px;box-shadow:none}
.ppp-entry-content h2,.ppp-entry-content h3,.ppp-entry-content h4{font-family:Georgia,serif;line-height:1.24;color:var(--ppp-primary);margin:1.45em 0 .7em}
.ppp-entry-content h2{font-size:clamp(28px,3vw,38px);padding-bottom:10px;border-bottom:1px solid var(--ppp-line);position:relative}
.ppp-entry-content h2::after{content:"";position:absolute;left:0;bottom:-1px;width:76px;height:3px;background:var(--ppp-accent);border-radius:999px}
.ppp-entry-content h3{font-size:clamp(23px,2.2vw,30px);padding-left:16px;border-left:4px solid var(--ppp-accent)}
.ppp-entry-content h4{font-size:21px;color:var(--ppp-accent-dark)}
.ppp-entry-content p{margin:0 0 1em;line-height:1.72}
@media(max-width:760px){.ppp-entry-media--float{float:none;width:100%;max-width:none;margin:0 0 18px;padding:6px}}


/* Rich content styling: quotes, lists, tables, galleries */
.ppp-entry-content blockquote{margin:1.6em 0;padding:22px 24px 22px 26px;background:var(--ppp-soft);border:1px solid var(--ppp-line);border-left:5px solid var(--ppp-accent);border-radius:14px;color:var(--ppp-text);font-size:1.05em;font-style:italic;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.ppp-entry-content blockquote p:last-child{margin-bottom:0}
.ppp-entry-content blockquote cite,
.ppp-entry-content blockquote footer{display:block;margin-top:10px;font-size:.92em;font-style:normal;color:var(--ppp-muted);font-weight:600}
.ppp-entry-content ul,
.ppp-entry-content ol{margin:0 0 1.2em 0;padding-left:1.35em}
.ppp-entry-content ul li,
.ppp-entry-content ol li{margin:0 0 .55em;padding-left:.18em;line-height:1.72}
.ppp-entry-content ul li::marker{color:var(--ppp-accent)}
.ppp-entry-content ol li::marker{color:var(--ppp-accent-dark);font-weight:700}
.ppp-entry-content table{width:100%;border-collapse:collapse;margin:1.7em 0;background:#fff;border:1px solid var(--ppp-line);border-radius:14px;overflow:hidden;box-shadow:0 10px 25px rgba(0,0,0,.05);font-size:.98em}
.ppp-entry-content th,
.ppp-entry-content td{padding:14px 16px;border-bottom:1px solid var(--ppp-line);text-align:left;vertical-align:top}
.ppp-entry-content th{background:var(--ppp-soft);color:var(--ppp-text);font-weight:700}
.ppp-entry-content tr:nth-child(even) td{background:rgba(255,255,255,.65)}
.ppp-entry-content tr:last-child td{border-bottom:0}
.ppp-entry-content figure{margin:1.7em 0}
.ppp-entry-content figure img{border-radius:14px}
.ppp-entry-content figcaption{margin-top:10px;font-size:.92em;line-height:1.5;color:var(--ppp-muted);text-align:center}
.ppp-entry-content .wp-block-gallery,
.ppp-entry-content .blocks-gallery-grid,
.ppp-entry-content .gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:1.7em 0;padding:0}
.ppp-entry-content .wp-block-gallery .blocks-gallery-item,
.ppp-entry-content .gallery .gallery-item{margin:0;list-style:none}
.ppp-entry-content .wp-block-gallery .blocks-gallery-item figure,
.ppp-entry-content .gallery .gallery-item{height:100%}
.ppp-entry-content .wp-block-gallery img,
.ppp-entry-content .gallery img{width:100%;height:100%;object-fit:cover;border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.08)}
.ppp-entry-content .gallery-caption{margin-top:8px;font-size:.88em;color:var(--ppp-muted);text-align:center}
@media (max-width:760px){
  .ppp-entry-content table{display:block;overflow-x:auto;white-space:nowrap;border-radius:12px}
  .ppp-entry-content .wp-block-gallery,
  .ppp-entry-content .blocks-gallery-grid,
  .ppp-entry-content .gallery{grid-template-columns:1fr 1fr;gap:12px}
}
@media (max-width:520px){
  .ppp-entry-content blockquote{padding:18px 18px 18px 20px}
  .ppp-entry-content .wp-block-gallery,
  .ppp-entry-content .blocks-gallery-grid,
  .ppp-entry-content .gallery{grid-template-columns:1fr}
}


/* Footer logo block */
.ppp-footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.ppp-footer-brand .ppp-brand-logo,
.ppp-footer-brand .ppp-brand-logo .custom-logo-link,
.ppp-footer-brand .ppp-brand-mark-link{display:inline-flex;align-items:center;flex:0 0 auto}
.ppp-footer-brand .custom-logo{max-height:60px;width:auto}
.ppp-footer-brand .ppp-brand-copy{display:grid;line-height:1.08;color:#fff;text-decoration:none}
.ppp-footer-brand .ppp-brand-title{font-family:Georgia,serif;font-size:21px;font-weight:700;color:#fff}
.ppp-footer-brand .ppp-brand-subtitle{font-size:12px;color:rgba(255,255,255,.72);margin-top:4px}
.ppp-footer-brand .ppp-brand-mark{color:var(--ppp-accent)}


/* Interactive content buttons, alerts and video embeds */
.ppp-entry-content .wp-block-button,
.ppp-entry-content .wp-element-button{margin:1.2em 0}
.ppp-entry-content .wp-block-button__link,
.ppp-entry-content a.wp-element-button,
.ppp-entry-content .content-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:10px;background:var(--ppp-accent);border:1px solid var(--ppp-accent);color:#fff !important;font-weight:700;line-height:1.2;text-decoration:none;box-shadow:0 10px 24px rgba(0,0,0,.08);transition:transform .18s ease, box-shadow .18s ease, background .18s ease}
.ppp-entry-content .wp-block-button__link:hover,
.ppp-entry-content a.wp-element-button:hover,
.ppp-entry-content .content-button:hover{background:var(--ppp-accent-dark);border-color:var(--ppp-accent-dark);transform:translateY(-1px);box-shadow:0 14px 28px rgba(0,0,0,.12)}
.ppp-entry-content .is-style-outline .wp-block-button__link{background:transparent;color:var(--ppp-accent-dark) !important;border:2px solid var(--ppp-accent);box-shadow:none}
.ppp-entry-content .is-style-outline .wp-block-button__link:hover{background:var(--ppp-soft);color:var(--ppp-accent-dark) !important}
.ppp-entry-content .content-alert,
.ppp-entry-content .notice-box,
.ppp-entry-content .important-box,
.ppp-entry-content .is-style-warning{margin:1.5em 0;padding:18px 20px 18px 22px;background:var(--ppp-soft);border:1px solid var(--ppp-line);border-left:5px solid var(--ppp-accent);border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.ppp-entry-content .content-alert strong,
.ppp-entry-content .notice-box strong,
.ppp-entry-content .important-box strong{color:var(--ppp-accent-dark)}
.ppp-entry-content .wp-block-embed,
.ppp-entry-content .wp-block-video,
.ppp-entry-content .video-wrap,
.ppp-entry-content .responsive-video{margin:1.8em 0}
.ppp-entry-content .wp-block-embed__wrapper,
.ppp-entry-content .video-wrap,
.ppp-entry-content .responsive-video{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:16px;box-shadow:0 14px 34px rgba(0,0,0,.10);background:#000}
.ppp-entry-content .wp-block-embed__wrapper iframe,
.ppp-entry-content .video-wrap iframe,
.ppp-entry-content .responsive-video iframe,
.ppp-entry-content iframe[src*='youtube.com'],
.ppp-entry-content iframe[src*='youtu.be']{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:16px}
.ppp-entry-content > iframe[src*='youtube.com'],
.ppp-entry-content > iframe[src*='youtu.be']{position:relative;display:block;aspect-ratio:16 / 9;height:auto;min-height:260px;padding:0;overflow:hidden}
@media (max-width:520px){
  .ppp-entry-content .wp-block-button__link,
  .ppp-entry-content a.wp-element-button,
  .ppp-entry-content .content-button{width:100%;justify-content:center}
}


/* Unified form styling */
.ppp-site form{max-width:100%}
.ppp-site form p{margin:0 0 16px}
.ppp-site form label{display:block;margin:0 0 7px;color:var(--ppp-text);font-size:13px;font-weight:700;line-height:1.4}
.ppp-site form input[type='text'],
.ppp-site form input[type='email'],
.ppp-site form input[type='tel'],
.ppp-site form input[type='url'],
.ppp-site form input[type='password'],
.ppp-site form input[type='search'],
.ppp-site form input[type='number'],
.ppp-site form input[type='date'],
.ppp-site form input[type='time'],
.ppp-site form select,
.ppp-site form textarea{width:100%;min-height:46px;padding:12px 14px;border:1px solid var(--ppp-line);border-radius:10px;background:#fff;color:var(--ppp-text);font:inherit;line-height:1.45;box-shadow:0 4px 14px rgba(0,0,0,.03);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.ppp-site form textarea{min-height:130px;resize:vertical}
.ppp-site form select{appearance:auto}
.ppp-site form input::placeholder,
.ppp-site form textarea::placeholder{color:var(--ppp-muted);opacity:.75}
.ppp-site form input:focus,
.ppp-site form select:focus,
.ppp-site form textarea:focus{outline:none;border-color:var(--ppp-accent);box-shadow:0 0 0 4px color-mix(in srgb, var(--ppp-accent) 18%, transparent);background:#fff}
.ppp-site form input[type='checkbox'],
.ppp-site form input[type='radio']{width:18px;height:18px;margin:0 8px 0 0;vertical-align:-3px;accent-color:var(--ppp-accent)}
.ppp-site form .form-row,
.ppp-site form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ppp-site form .form-row--full,
.ppp-site form .form-field--full{grid-column:1/-1}
.ppp-site form button,
.ppp-site form input[type='submit'],
.ppp-site form input[type='button'],
.ppp-site form .button,
.ppp-site form .wp-element-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;border:1px solid var(--ppp-accent);border-radius:10px;background:var(--ppp-accent);color:#fff;font-weight:800;line-height:1.2;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.08);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.ppp-site form button:hover,
.ppp-site form input[type='submit']:hover,
.ppp-site form input[type='button']:hover,
.ppp-site form .button:hover,
.ppp-site form .wp-element-button:hover{background:var(--ppp-accent-dark);border-color:var(--ppp-accent-dark);color:#fff;transform:translateY(-1px);box-shadow:0 14px 28px rgba(0,0,0,.12)}
.ppp-site form button:disabled,
.ppp-site form input:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.ppp-site .comment-form,
.ppp-site .wpcf7-form,
.ppp-site .wpforms-form,
.ppp-site .gform_wrapper form,
.ppp-site .form-card{padding:24px;background:var(--ppp-soft);border:1px solid var(--ppp-line);border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.05)}
.ppp-site .wpcf7-not-valid-tip,
.ppp-site .form-error,
.ppp-site .error-message{display:block;margin-top:6px;color:#a32828;font-size:12px;font-weight:600}
.ppp-site .wpcf7-response-output,
.ppp-site .form-notice,
.ppp-site .form-success,
.ppp-site .form-error-box{margin:16px 0 0;padding:13px 15px;border-radius:10px;font-size:13px;line-height:1.5}
.ppp-site .form-success{background:#e9f6ec;border:1px solid #b7dfc0;color:#276238}
.ppp-site .form-error-box{background:#fff0ee;border:1px solid #e1b7b1;color:#812b22}
.ppp-site .search-form{display:flex;align-items:stretch;gap:8px}
.ppp-site .search-form .search-field{flex:1;min-width:0}
.ppp-site .search-form .search-submit{flex:0 0 auto}
@media(max-width:700px){
  .ppp-site form .form-row,
  .ppp-site form .form-grid{grid-template-columns:1fr}
  .ppp-site form .form-row--full,
  .ppp-site form .form-field--full{grid-column:auto}
  .ppp-site form button,
  .ppp-site form input[type='submit'],
  .ppp-site form .button{width:100%}
  .ppp-site .search-form{display:grid;grid-template-columns:1fr}
}


/* Working site search */
.ppp-search-form{display:flex;align-items:center;width:210px;border:1px solid var(--ppp-line);border-radius:6px;overflow:hidden;background:#fff}
.ppp-search-form input{min-width:0;width:168px;border:0!important;box-shadow:none!important;padding:8px 10px;background:transparent}
.ppp-search-form button{width:38px;min-height:36px;border:0;background:var(--ppp-primary);color:#fff;cursor:pointer}
.ppp-search-results{display:grid;gap:18px}
.ppp-search-result{display:grid;grid-template-columns:170px 1fr;gap:20px;padding:18px;border:1px solid var(--ppp-line);border-radius:10px;background:#fff}
.ppp-search-thumb img{width:170px;height:118px;object-fit:cover;border-radius:8px}
.ppp-search-result h2{margin:0 0 8px;font-family:Georgia,serif;color:var(--ppp-primary)}
@media(max-width:1050px){.ppp-search-form{width:180px}.ppp-search-form input{width:138px}}
@media(max-width:760px){.ppp-search-form{width:100%;margin:10px 22px}.ppp-search-form input{width:100%}.ppp-search-result{grid-template-columns:1fr}.ppp-search-thumb img{width:100%;height:auto}}


/* Compact search icon and dedicated search page */
.ppp-search-form{display:none!important}
.ppp-search-icon{display:inline-grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid var(--ppp-line);border-radius:50%;color:var(--ppp-primary);background:#fff}
.ppp-search-icon svg{width:17px;height:17px}
.ppp-search-icon:hover{background:var(--ppp-soft);color:var(--ppp-accent-dark)}
.site-search-page{max-width:680px}
.ppp-search-page-form{display:flex;gap:10px;margin-top:24px}
.ppp-search-page-form input{flex:1;min-width:0;padding:13px 15px;border:1px solid var(--ppp-line);border-radius:7px}
.ppp-search-page-form button{padding:13px 22px;border:0;border-radius:7px;background:var(--ppp-primary);color:#fff;font-weight:700;cursor:pointer}
@media(max-width:760px){.ppp-search-icon{margin-left:auto}.ppp-search-page-form{display:grid}.ppp-search-page-form button{width:100%}}


/* Full worship service archive */
.ppp-section--archive-services{padding-top:0}
.ppp-schedule{border:1px solid var(--ppp-line);border-radius:6px;overflow:hidden;background:#fff}
.ppp-schedule-row{display:grid;grid-template-columns:1.35fr .62fr 1.2fr .95fr;align-items:stretch;min-height:60px}
.ppp-schedule-row + .ppp-schedule-row{border-top:1px solid var(--ppp-line)}
.ppp-schedule-cell{padding:14px 16px;font-size:14px;display:flex;flex-direction:column;justify-content:center}
.ppp-schedule-cell + .ppp-schedule-cell{border-left:1px solid var(--ppp-line)}
.ppp-schedule-date{font-weight:700}
.ppp-schedule-row--head{background:var(--ppp-soft);font-weight:700;color:var(--ppp-primary)}
.ppp-schedule-row--head .ppp-schedule-cell{font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.ppp-service-link-archive{color:var(--ppp-primary);text-decoration:none;font-weight:700}
.ppp-service-link-archive:hover{color:var(--ppp-accent)}
.ppp-service-excerpt{margin-top:4px;font-size:13px;line-height:1.55;color:var(--ppp-muted)}
.ppp-pagination{display:flex;justify-content:center;margin-top:24px}
.ppp-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;margin:0 4px;padding:0 10px;border:1px solid var(--ppp-line);border-radius:999px;background:#fff;color:var(--ppp-primary);text-decoration:none;font-weight:700}
.ppp-pagination .page-numbers.current,
.ppp-pagination .page-numbers:hover{background:var(--ppp-primary);border-color:var(--ppp-primary);color:#fff}
@media(max-width:980px){
  .ppp-schedule-row{grid-template-columns:1.1fr .55fr 1fr .8fr}
}
@media(max-width:760px){
  .ppp-schedule-row--head{display:none}
  .ppp-schedule-row{grid-template-columns:1fr}
  .ppp-schedule-cell + .ppp-schedule-cell{border-left:0;border-top:1px dashed #e4ddd1}
}


/* News category archive */
.ppp-news-archive-header{margin-bottom:28px}
.ppp-news-archive-header p{margin:8px 0 0;color:var(--ppp-muted)}
.ppp-news-archive-list{display:grid;gap:20px}
.ppp-news-archive-item{display:grid;grid-template-columns:220px minmax(0,1fr);overflow:hidden;border:1px solid var(--ppp-line);border-radius:12px;background:#fff;box-shadow:0 8px 22px rgba(53,30,23,.08)}
.ppp-news-archive-image{display:block;min-height:180px;overflow:hidden}
.ppp-news-archive-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.ppp-news-archive-item:hover .ppp-news-archive-image img{transform:scale(1.03)}
.ppp-news-archive-body{padding:20px}
.ppp-news-archive-body h2{margin:7px 0 10px;font-family:Georgia,serif;font-size:24px;line-height:1.25;color:var(--ppp-primary)}
.ppp-news-archive-body p{margin:0 0 14px;color:var(--ppp-muted);line-height:1.65}
.ppp-news-pagination{margin-top:30px}
.ppp-news-pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.ppp-news-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 11px;border:1px solid var(--ppp-line);border-radius:999px;background:#fff;color:var(--ppp-primary);font-weight:700}
.ppp-news-pagination .page-numbers.current,
.ppp-news-pagination .page-numbers:hover{background:var(--ppp-primary);border-color:var(--ppp-primary);color:#fff}
@media(max-width:760px){
  .ppp-news-archive-item{grid-template-columns:1fr}
  .ppp-news-archive-image{min-height:auto;aspect-ratio:16/10}
}

/* Latest news below an opened news item */
.ppp-news-below{clear:both;margin-top:44px;padding-top:30px;border-top:1px solid var(--ppp-line)}
.ppp-news-below-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ppp-news-below-item{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;padding:12px;border:1px solid var(--ppp-line);border-radius:10px;background:#fff}
.ppp-news-below-thumb img{width:96px;height:72px;object-fit:cover;border-radius:7px}
.ppp-news-below-item h3{margin:4px 0 0;font-family:Georgia,serif;font-size:17px;line-height:1.3;color:var(--ppp-primary)}
@media(max-width:760px){.ppp-news-below-list{grid-template-columns:1fr}}

/* Ten related news items and monthly archive */
.ppp-news-below-list{display:grid;grid-template-columns:1fr;gap:12px}
.ppp-news-below-item{grid-template-columns:112px minmax(0,1fr);min-height:92px}
.ppp-news-below-thumb img{width:112px;height:80px}
.ppp-news-calendar-archive{margin-top:34px;padding-top:28px;border-top:1px solid var(--ppp-line)}
.ppp-news-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:0}
.ppp-news-months li{margin:0}
.ppp-news-months a{display:block;padding:12px 14px;border:1px solid var(--ppp-line);border-radius:9px;background:var(--ppp-soft);color:var(--ppp-primary);font-weight:700;text-align:center}
.ppp-news-months a:hover{background:var(--ppp-primary);border-color:var(--ppp-primary);color:#fff}

/* Announcement archive */
.ppp-announcement-header{margin-bottom:26px}
.ppp-announcement-header p{margin:8px 0 0;color:var(--ppp-muted)}
.ppp-announcement-list{display:grid;gap:16px}
.ppp-announcement-card{display:grid;grid-template-columns:135px minmax(0,1fr);gap:0;border:1px solid var(--ppp-line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(53,30,23,.07)}
.ppp-announcement-date{display:flex;align-items:center;justify-content:center;padding:20px;background:var(--ppp-soft);color:var(--ppp-primary);font-weight:700;text-align:center;border-right:1px solid var(--ppp-line)}
.ppp-announcement-content{padding:20px}
.ppp-announcement-content h2{margin:0 0 10px;font-family:Georgia,serif;font-size:23px;line-height:1.25;color:var(--ppp-primary)}
.ppp-announcement-content p{margin:0 0 13px;color:var(--ppp-muted);line-height:1.65}
@media(max-width:760px){
  .ppp-news-months{grid-template-columns:1fr 1fr}
  .ppp-announcement-card{grid-template-columns:1fr}
  .ppp-announcement-date{justify-content:flex-start;border-right:0;border-bottom:1px solid var(--ppp-line);padding:12px 18px}
}
@media(max-width:520px){
  .ppp-news-below-item{grid-template-columns:92px minmax(0,1fr)}
  .ppp-news-below-thumb img{width:92px;height:70px}
  .ppp-news-months{grid-template-columns:1fr}
}

/* Uniform news display everywhere */
.ppp-uniform-news-list{display:grid;gap:16px}
.ppp-uniform-news-item{display:grid;grid-template-columns:190px minmax(0,1fr);overflow:hidden;border:1px solid var(--ppp-line);border-radius:12px;background:#fff;box-shadow:0 8px 22px rgba(53,30,23,.07)}
.ppp-uniform-news-image{display:block;min-height:145px;overflow:hidden}
.ppp-uniform-news-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.ppp-uniform-news-item:hover .ppp-uniform-news-image img{transform:scale(1.03)}
.ppp-uniform-news-body{padding:18px 20px}
.ppp-uniform-news-body h3{margin:6px 0 9px;font-family:Georgia,serif;font-size:22px;line-height:1.25;color:var(--ppp-primary)}
.ppp-uniform-news-body p{margin:0 0 12px;color:var(--ppp-muted);line-height:1.62}
.ppp-news-list,
.ppp-news-archive-list,
.ppp-news-below-list{display:none!important}
@media(max-width:760px){
  .ppp-uniform-news-item{grid-template-columns:1fr}
  .ppp-uniform-news-image{min-height:auto;aspect-ratio:16/9}
}

/* Reliable archive formatting */
.category .ppp-content,
.archive .ppp-content,
.blog .ppp-content{padding-top:38px}
.ppp-archive-description{margin-top:10px;color:var(--ppp-muted);line-height:1.65}
.category .ppp-uniform-news-list,
.archive .ppp-uniform-news-list,
.blog .ppp-uniform-news-list{display:grid!important;gap:16px!important}
.category .ppp-uniform-news-item,
.archive .ppp-uniform-news-item,
.blog .ppp-uniform-news-item{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important}
@media(max-width:760px){
  .category .ppp-uniform-news-item,
  .archive .ppp-uniform-news-item,
  .blog .ppp-uniform-news-item{grid-template-columns:1fr!important}
}

/* YouTube video archive and sidebar widget */
.ppp-uniform-video-list{display:grid;gap:16px}
.ppp-uniform-video-item{display:grid;grid-template-columns:190px minmax(0,1fr);overflow:hidden;border:1px solid var(--ppp-line);border-radius:12px;background:#fff;box-shadow:0 8px 22px rgba(53,30,23,.07)}
.ppp-uniform-video-image{position:relative;display:block;min-height:145px;overflow:hidden;background:#111}
.ppp-uniform-video-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.ppp-uniform-video-item:hover .ppp-uniform-video-image img{transform:scale(1.03)}
.ppp-uniform-video-body{padding:18px 20px}
.ppp-uniform-video-body h2{margin:6px 0 9px;font-family:Georgia,serif;font-size:22px;line-height:1.25;color:var(--ppp-primary)}
.ppp-uniform-video-body p{margin:0 0 12px;color:var(--ppp-muted);line-height:1.62}
.ppp-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:rgba(84,29,32,.9);color:#fff;font-size:20px;box-shadow:0 8px 20px rgba(0,0,0,.28)}
.ppp-video-embed{position:relative;aspect-ratio:16/9;margin:24px 0;border-radius:16px;overflow:hidden;background:#000;box-shadow:0 14px 34px rgba(0,0,0,.14)}
.ppp-video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ppp-latest-video-widget{margin-top:17px}
.ppp-latest-video-thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:#111;margin-bottom:12px}
.ppp-latest-video-thumb img{width:100%;height:100%;object-fit:cover}
.ppp-latest-video-widget h4{margin:6px 0 8px;font-family:Georgia,serif;font-size:17px;line-height:1.3;color:var(--ppp-primary)}
.ppp-latest-video-widget p{margin:0 0 12px;color:var(--ppp-muted);font-size:12px;line-height:1.55}
.ppp-latest-video-widget .ppp-video-play{width:44px;height:44px;font-size:17px}
@media(max-width:760px){
  .ppp-uniform-video-item{grid-template-columns:1fr}
  .ppp-uniform-video-image{min-height:auto;aspect-ratio:16/9}
}


/* Search and authorization icons in the top contact bar */
.ppp-top-icon{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.34);border-radius:50%;color:#fff;transition:background .18s ease,border-color .18s ease}
.ppp-top-icon svg{width:16px;height:16px}
.ppp-top-icon:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff}
@media(max-width:700px){
  .ppp-top-actions{display:flex!important;margin-left:auto;gap:7px}
  .ppp-top-actions .ppp-socials,.ppp-top-actions .ppp-language{display:none}
  .ppp-top-contact .ppp-inline:first-child{display:none}
  .ppp-topbar-inner{justify-content:space-between}
}

/* Top bar alignment: contacts left, icons right */
.ppp-topbar-inner{display:flex;align-items:center;justify-content:space-between}
.ppp-top-contact{display:flex;align-items:center;gap:18px;margin-right:auto}
.ppp-top-actions{display:flex;align-items:center;gap:9px;margin-left:auto}
@media(max-width:700px){
  .ppp-topbar-inner{justify-content:space-between}
  .ppp-top-contact{margin-right:12px;gap:10px}
  .ppp-top-actions{margin-left:auto}
}

/* Do not duplicate the services strip on mobile */
@media(max-width:700px){
  .ppp-service-strip{display:none}
}

/* Subscription page */
.ppp-subscribe-page{max-width:720px}
.ppp-subscribe-header{
	display:flex;
	align-items:center;
	gap:18px;
	margin-bottom:28px;
}
.ppp-subscribe-header p{
	margin:8px 0 0;
	color:var(--ppp-muted);
	line-height:1.65;
}
.ppp-subscribe-icon{
	display:grid;
	place-items:center;
	flex:0 0 auto;
	width:62px;
	height:62px;
	border-radius:50%;
	background:var(--ppp-soft);
	color:var(--ppp-primary);
}
.ppp-subscribe-icon svg{width:30px;height:30px}
.ppp-subscribe-card{
	padding:28px;
	border:1px solid var(--ppp-line);
	border-radius:14px;
	background:#fff;
	box-shadow:0 12px 30px rgba(53,30,23,.08);
}
.ppp-subscribe-consent{
	display:flex;
	align-items:flex-start;
	gap:10px;
	margin:6px 0 22px;
	color:var(--ppp-muted);
	font-size:13px;
	line-height:1.55;
}
.ppp-subscribe-consent input{
	width:18px;
	height:18px;
	margin-top:2px;
	flex:0 0 auto;
}
@media(max-width:600px){
	.ppp-subscribe-header{align-items:flex-start}
	.ppp-subscribe-icon{width:50px;height:50px}
	.ppp-subscribe-card{padding:21px}
}

/* Ten latest news with monthly archive */
.ppp-news-calendar-archive{margin-top:34px;padding-top:28px;border-top:1px solid var(--ppp-line)}
.ppp-news-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:0}
.ppp-news-months li{margin:0}
.ppp-news-months a{display:block;padding:12px 14px;border:1px solid var(--ppp-line);border-radius:9px;background:var(--ppp-soft);color:var(--ppp-primary);font-weight:700;text-align:center}
.ppp-news-months a:hover{background:var(--ppp-primary);border-color:var(--ppp-primary);color:#fff}
@media(max-width:760px){.ppp-news-months{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.ppp-news-months{grid-template-columns:1fr}}

/* Available-language flags in the upper-right top bar */
.ppp-language-switcher{display:flex;align-items:center;justify-content:flex-end;gap:5px}
.ppp-language-flag{
	display:grid;
	place-items:center;
	width:28px;
	height:28px;
	border:1px solid rgba(255,255,255,.34);
	border-radius:50%;
	background:rgba(255,255,255,.07);
	font-size:17px;
	line-height:1;
	text-decoration:none;
	transition:transform .15s ease,background .15s ease,border-color .15s ease;
}
.ppp-language-flag:hover{transform:translateY(-1px);background:rgba(255,255,255,.16);border-color:#fff}
.ppp-language-flag.is-current{background:rgba(255,255,255,.22);border-color:#fff}
@media(max-width:700px){
	.ppp-language-switcher{display:flex}
	.ppp-language-flag{width:27px;height:27px;font-size:16px}
}

/* Responsive iframe embeds */
.parafiia-iframe-wrap{
	position:relative;
	width:100%;
	max-width:100%;
	overflow:hidden;
	margin:24px 0;
	border-radius:10px;
	background:#f2f2f2;
}
.parafiia-responsive-iframe,
.parafiia-iframe-wrap iframe{
	display:block;
	width:100%;
	max-width:100%;
	border:0;
}
.entry-content iframe{
	max-width:100%;
}


/* Sidebar latest news with dependable image sizing */
.ppp-mini-news{
	display:grid;
	grid-template-columns:70px minmax(0,1fr);
	gap:11px;
	align-items:start;
	margin-bottom:14px;
}
.ppp-mini-news-thumb{
	display:block;
	width:70px;
	height:58px;
	overflow:hidden;
	border-radius:4px;
	background:#eee;
}
.ppp-mini-news img{
	display:block;
	width:70px;
	height:58px;
	object-fit:cover;
	border-radius:4px;
}
.ppp-mini-news h4{
	font-size:13px;
	line-height:1.25;
	margin:1px 0 4px;
}
.ppp-mini-news .ppp-meta{
	font-size:11px;
}


/* Collapsible note and treba forms */
.ppp-service-forms-title{margin:0 0 16px}
.ppp-form-accordion{display:grid;gap:12px}
.ppp-form-section{border:1px solid var(--ppp-line);border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(73,46,31,.05)}
.ppp-form-section-toggle{width:100%;display:grid;grid-template-columns:42px 1fr 24px;align-items:center;gap:12px;padding:14px 16px;border:0;background:linear-gradient(180deg,#fff,#fdfaf5);color:var(--ppp-text);text-align:left;cursor:pointer}
.ppp-form-section-toggle:hover{background:#fbf4e9}
.ppp-form-section-toggle strong{display:block;font-size:15px}
.ppp-form-section-toggle small{display:block;margin-top:3px;color:var(--ppp-muted);font-size:12px;font-weight:400}
.ppp-form-section-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:rgba(137,84,45,.1);color:var(--ppp-accent)}
.ppp-form-section-icon svg{width:23px;height:23px;display:block;overflow:visible}
.ppp-form-section-chevron{font-size:22px;line-height:1;transition:transform .2s ease}
.ppp-form-section.is-open .ppp-form-section-chevron{transform:rotate(180deg)}
.ppp-form-section-panel{padding:16px;border-top:1px solid var(--ppp-line);background:#fff}
.ppp-form-section-panel[hidden]{display:none}
.ppp-form-section-panel form{display:grid;gap:12px}
@media (max-width:600px){.ppp-form-section-toggle{grid-template-columns:36px 1fr 20px;padding:12px}.ppp-form-section-icon{width:34px;height:34px}.ppp-form-section-panel{padding:13px}}


/* Worship schedule: isolated styles, protected from header service-link rules */
.ppp-schedule-service-link{
	display:inline;
	min-height:0;
	padding:0;
	border:0;
	font-size:14px;
	font-weight:700;
	text-align:left;
	color:var(--ppp-primary);
	text-decoration:none;
}
.ppp-schedule-service-link:hover{
	color:var(--ppp-accent);
	text-decoration:underline;
}
.ppp-schedule-footer{
	padding:13px 16px;
	border-top:1px solid var(--ppp-line);
	background:#fff;
	text-align:right;
}
.ppp-schedule--archive .ppp-schedule-row{
	grid-template-columns:1.35fr .62fr 1.5fr 1fr;
}
.ppp-service-excerpt{
	margin-top:5px;
	font-size:12px;
	line-height:1.45;
	color:var(--ppp-muted);
	font-weight:400;
}

/* Sidebar: next worship service */
.ppp-next-service{
	border:1px solid var(--ppp-line);
	border-radius:6px;
	background:#fff;
	padding:16px;
}
.ppp-next-service .ppp-widget-title{
	margin:0 0 12px;
}
.ppp-next-service .ppp-service-day{
	font-weight:700;
	font-size:13px;
	margin-bottom:8px;
	color:var(--ppp-primary);
}
.ppp-next-service .ppp-service-time{
	font-family:Georgia,serif;
	font-size:27px;
	line-height:1.1;
	font-weight:700;
	margin-bottom:6px;
	color:var(--ppp-accent);
}
.ppp-next-service .ppp-service-name{
	font-weight:700;
	font-size:14px;
	line-height:1.4;
	margin-bottom:5px;
}
.ppp-next-service .ppp-service-name a{
	color:var(--ppp-primary);
	text-decoration:none;
}
.ppp-next-service .ppp-service-name a:hover{
	color:var(--ppp-accent);
}
.ppp-next-service p{
	font-size:12px;
	line-height:1.45;
	color:var(--ppp-muted);
	margin:0 0 13px;
}

@media (max-width:700px){
	.ppp-schedule,
	.ppp-schedule--archive{
		overflow:visible;
		border-radius:6px;
	}
	.ppp-schedule-row,
	.ppp-schedule--archive .ppp-schedule-row{
		display:grid;
		grid-template-columns:1fr;
		min-height:0;
	}
	.ppp-schedule-row--head{
		display:none;
	}
	.ppp-schedule-cell{
		padding:10px 13px;
		min-width:0;
	}
	.ppp-schedule-cell + .ppp-schedule-cell{
		border-left:0;
		border-top:1px dashed #e4ddd1;
	}
	.ppp-schedule-service-link{
		display:inline;
	}
	.ppp-schedule-footer{
		text-align:left;
	}
}

/* Optional advertising block */
.ppp-advertising-widget{overflow:hidden}
.ppp-advertising-link{display:block;color:inherit;text-decoration:none}
.ppp-advertising-image{display:block;width:100%;height:auto;border-radius:6px}
.ppp-advertising-text{margin:10px 0 0;line-height:1.55;font-size:13px}
.ppp-advertising-link:hover .ppp-advertising-text{text-decoration:underline}


/* News presentation aligned with the "Парафія" theme */
.ppp-news-page{
  padding:52px 0 64px;
  background:#fff;
}

.ppp-news-archive-header{
  margin-bottom:28px;
  padding-bottom:20px;
  border-bottom:1px solid var(--ppp-line);
}

.ppp-news-archive-header h1{
  margin:0 0 8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(30px,4vw,42px);
  line-height:1.18;
  color:var(--ppp-text);
}

.ppp-news-archive-header p{
  margin:0;
  color:var(--ppp-muted);
  line-height:1.65;
}

.ppp-uniform-news-list{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  width:100%;
}

.ppp-uniform-news-item{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  width:100%;
  min-height:170px;
  overflow:hidden;
  border:1px solid var(--ppp-line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 22px rgba(43,31,22,.07);
  transition:transform .18s ease,box-shadow .18s ease;
}

.ppp-uniform-news-item:hover{
  transform:translateY(-2px);
  box-shadow:0 13px 28px rgba(43,31,22,.11);
}

.ppp-uniform-news-image{
  display:block;
  min-height:170px;
  overflow:hidden;
  background:#ebe5dd;
}

.ppp-uniform-news-image img{
  width:100%;
  height:100%;
  min-height:170px;
  object-fit:cover;
  transition:transform .25s ease;
}

.ppp-uniform-news-item:hover .ppp-uniform-news-image img{
  transform:scale(1.025);
}

.ppp-uniform-news-body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:22px 25px;
}

.ppp-uniform-news-body .ppp-meta{
  margin:0 0 6px;
  color:var(--ppp-muted);
  font-size:12px;
}

.ppp-uniform-news-body h2{
  margin:0 0 9px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  line-height:1.3;
}

.ppp-uniform-news-body h2 a{
  color:var(--ppp-text);
}

.ppp-uniform-news-body h2 a:hover{
  color:var(--ppp-accent-dark);
}

.ppp-uniform-news-body p{
  margin:0 0 13px;
  color:#5b534d;
  font-size:14px;
  line-height:1.65;
}

.ppp-uniform-news-body .ppp-more{
  align-self:flex-start;
  margin-top:auto;
}

.ppp-single-news-page .ppp-entry-header{
  margin:0 0 28px;
  padding:0 0 20px;
  border-bottom:1px solid var(--ppp-line);
}

.ppp-single-news-page .ppp-entry-title{
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(31px,4vw,48px);
  line-height:1.18;
  color:var(--ppp-text);
}

.ppp-single-news-page .ppp-entry-media--float{
  float:left;
  width:min(36%,340px);
  margin:4px 30px 22px 0;
  padding:7px;
  background:#fff;
  border:1px solid var(--ppp-line);
  border-radius:16px;
  box-shadow:0 14px 34px rgba(37,29,24,.12);
}

.ppp-single-news-page .ppp-entry-media--float img{
  width:100%;
  height:auto;
  border-radius:11px;
  box-shadow:none;
}

.ppp-single-news-page .ppp-entry-content{
  color:#403a35;
  font-size:17px;
  line-height:1.78;
}

.ppp-single-news-page .ppp-entry-content::after{
  content:"";
  display:block;
  clear:both;
}

.ppp-single-news-page .ppp-entry-content > :first-child{margin-top:0}
.ppp-single-news-page .ppp-entry-content > :last-child{margin-bottom:0}

.ppp-single-news-page .ppp-entry-content h2,
.ppp-single-news-page .ppp-entry-content h3,
.ppp-single-news-page .ppp-entry-content h4{
  font-family:Georgia,serif;
  line-height:1.24;
  color:var(--ppp-text);
  margin:1.45em 0 .7em;
}

.ppp-single-news-page .ppp-entry-content h2{
  font-size:clamp(28px,3vw,38px);
  padding-bottom:10px;
  border-bottom:1px solid var(--ppp-line);
}

.ppp-single-news-page .ppp-entry-content h3{
  font-size:clamp(23px,2.3vw,30px);
  padding-left:15px;
  border-left:4px solid var(--ppp-accent);
}

.ppp-single-news-page .ppp-entry-content blockquote{
  margin:1.6em 0;
  padding:22px 24px 22px 26px;
  background:var(--ppp-soft);
  border:1px solid var(--ppp-line);
  border-left:5px solid var(--ppp-accent);
  border-radius:14px;
  font-style:italic;
}

.ppp-single-news-page .ppp-entry-content img,
.ppp-single-news-page .ppp-entry-content figure img{
  border-radius:14px;
}

.ppp-news-below{
  clear:both;
  margin-top:44px;
  padding-top:30px;
  border-top:1px solid var(--ppp-line);
}

.ppp-news-heading-row{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:26px;
}

.ppp-news-heading-row .ppp-section-heading{
  margin:0;
  font-size:clamp(27px,3vw,38px);
  line-height:1.2;
}

@media (max-width:760px){
  .ppp-uniform-news-item{
    grid-template-columns:140px minmax(0,1fr);
    min-height:130px;
  }
  .ppp-uniform-news-image,
  .ppp-uniform-news-image img{
    min-height:130px;
  }
  .ppp-uniform-news-body{
    padding:17px 18px;
  }
  .ppp-uniform-news-body h2{
    font-size:19px;
  }
  .ppp-uniform-news-body p{
    display:none;
  }
  .ppp-single-news-page .ppp-entry-media--float{
    float:none;
    width:100%;
    max-width:none;
    margin:0 0 18px;
    padding:6px;
  }
}

@media (max-width:520px){
  .ppp-uniform-news-item{
    grid-template-columns:1fr;
  }
  .ppp-uniform-news-image{
    aspect-ratio:16/9;
    min-height:0;
  }
  .ppp-uniform-news-image img{
    min-height:0;
    aspect-ratio:16/9;
  }
  .ppp-uniform-news-body p{
    display:block;
  }
  .ppp-news-heading-row{
    display:block;
  }
  .ppp-news-heading-row .ppp-more{
    display:inline-block;
    margin-top:10px;
  }
}


/* Keep the Premium sidebar on news pages */
.ppp-news-layout .ppp-news-page{
  padding-top:36px;
  padding-bottom:48px;
  min-width:0;
}

.ppp-news-layout .ppp-sidebar{
  padding-top:36px;
}

@media (max-width:900px){
  .ppp-news-layout .ppp-sidebar{
    padding-top:0;
  }
}




/* Inline image for a single news post, preserving the previous layout */
.po-news-inline-media {
  float: left;
  width: min(38%, 330px);
  margin: 2px 22px 16px 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f1eb;
  box-shadow: 0 12px 28px rgba(30, 24, 20, 0.10);
}

.po-news-inline-media img,
.po-news-inline-image {
  display: block;
  width: 100%;
  height: auto;
}

.ppp-entry-content::after {
  content: "";
  display: block;
  clear: both;
}

.ppp-entry-content img,
.ppp-entry-content .wp-block-image img,
.ppp-entry-content .gallery img {
  border-radius: 12px;
}

.ppp-entry-content .wp-block-gallery,
.ppp-entry-content .blocks-gallery-grid,
.ppp-entry-content .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 1.4em 0;
}

.ppp-entry-content .gallery .gallery-item,
.ppp-entry-content .wp-block-gallery .blocks-gallery-item {
  width: 100%;
  margin: 0;
}

.ppp-entry-content .gallery br {
  display: none;
}

.ppp-entry-content .wp-block-image figcaption,
.ppp-entry-content .gallery-caption,
.ppp-entry-content figcaption {
  margin-top: 8px;
  color: #6f655c;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 760px) {
  .po-news-inline-media {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
  }
}


/* Universal News archive route */
.ppp-news-archive-page{
  padding-top:36px;
  padding-bottom:52px;
  min-width:0;
  background:#fff;
}

.ppp-news-archive-header{
  margin:0 0 28px;
  padding:0 0 20px;
  border-bottom:1px solid var(--ppp-line);
}

.ppp-news-archive-header h1{
  margin:0 0 8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(30px,4vw,42px);
  line-height:1.18;
}

.ppp-news-archive-header p{
  margin:0;
  color:var(--ppp-muted);
  line-height:1.65;
}

.ppp-news-archive-page .page-numbers{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  list-style:none;
  margin:28px 0 0;
  padding:0;
}

.ppp-news-archive-page .page-numbers li{
  margin:0;
}

.ppp-news-archive-page .page-numbers a,
.ppp-news-archive-page .page-numbers span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 11px;
  border:1px solid var(--ppp-line);
  border-radius:50px;
  background:#fff;
  font-weight:700;
}

.ppp-news-archive-page .page-numbers .current,
.ppp-news-archive-page .page-numbers a:hover{
  border-color:var(--ppp-accent);
  background:var(--ppp-accent);
  color:#fff;
}

.ppp-news-empty{
  padding:18px 20px;
  border:1px solid var(--ppp-line);
  border-radius:10px;
  background:var(--ppp-soft);
}


/* News design copied from the "Парафія" template */
.parafiia-news-shell {
  --parafiia-accent:#b7791f;
  --parafiia-accent-dark:#8c5b16;
  --parafiia-text:#231f1b;
  --parafiia-muted:#6d665f;
  --parafiia-soft:#f7f4ef;
  --parafiia-line:#e8e1d8;
  min-width:0;
}

.parafiia-archive-page {
  padding:52px 0 64px;
  background:#fff;
}

.parafiia-archive-header {
  margin-bottom:28px;
  padding-bottom:20px;
  border-bottom:1px solid var(--parafiia-line);
}

.parafiia-archive-header h1 {
  margin:0 0 8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(30px,4vw,42px);
  line-height:1.18;
  color:var(--parafiia-text);
}

.parafiia-archive-header p {
  margin:0;
  color:var(--parafiia-muted);
  line-height:1.65;
}

.parafiia-uniform-list {
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  width:100%;
}

.parafiia-uniform-item {
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  width:100%;
  min-height:170px;
  overflow:hidden;
  border:1px solid var(--parafiia-line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 22px rgba(43,31,22,.07);
  transition:transform .18s ease,box-shadow .18s ease;
}

.parafiia-uniform-item:hover {
  transform:translateY(-2px);
  box-shadow:0 13px 28px rgba(43,31,22,.11);
}

.parafiia-uniform-image {
  display:block;
  min-height:170px;
  overflow:hidden;
  background:#ebe5dd;
}

.parafiia-uniform-image img {
  width:100%;
  height:100%;
  min-height:170px;
  object-fit:cover;
  transition:transform .25s ease;
}

.parafiia-uniform-item:hover .parafiia-uniform-image img {
  transform:scale(1.025);
}

.parafiia-uniform-body {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:22px 25px;
}

.parafiia-uniform-body .news-meta {
  margin:0 0 6px;
  color:var(--parafiia-muted);
  font-size:12px;
}

.parafiia-uniform-body h2 {
  margin:0 0 9px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  line-height:1.3;
}

.parafiia-uniform-body h2 a {
  color:var(--parafiia-text);
}

.parafiia-uniform-body h2 a:hover {
  color:var(--parafiia-accent-dark);
}

.parafiia-uniform-body p {
  margin:0 0 13px;
  color:#5b534d;
  font-size:14px;
  line-height:1.65;
}

.parafiia-uniform-body .read-more {
  align-self:flex-start;
  margin-top:auto;
  color:var(--parafiia-accent-dark);
  font-size:13px;
  font-weight:750;
}

.parafiia-news-shell.content-area {
  padding:52px 0 64px;
  background:#fff;
}

.parafiia-news-shell .entry-header {
  margin:0 0 28px;
  padding:0 0 20px;
  border-bottom:1px solid var(--parafiia-line);
}

.parafiia-news-shell .entry-title {
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(31px,4vw,48px);
  line-height:1.18;
  color:var(--parafiia-text);
}

.parafiia-news-shell .entry-meta {
  margin-top:10px;
  color:var(--parafiia-muted);
  font-size:13px;
}

.parafiia-news-shell .entry-content {
  color:#403a35;
  font-size:17px;
  line-height:1.78;
}

.parafiia-news-shell .entry-content::after {
  content:"";
  display:block;
  clear:both;
}

.po-news-inline-media {
  float:left;
  width:min(38%,330px);
  margin:2px 22px 16px 0;
  border-radius:14px;
  overflow:hidden;
  background:#f5f1eb;
  box-shadow:0 12px 28px rgba(30,24,20,.10);
}

.po-news-inline-media img {
  display:block;
  width:100%;
  height:auto;
}

.parafiia-news-shell .entry-content h2,
.parafiia-news-shell .entry-content h3,
.parafiia-news-shell .entry-content h4 {
  font-family:Georgia,serif;
  line-height:1.24;
  color:var(--parafiia-text);
  margin:1.45em 0 .7em;
}

.parafiia-news-shell .entry-content h2 {
  font-size:clamp(28px,3vw,38px);
  padding-bottom:10px;
  border-bottom:1px solid var(--parafiia-line);
}

.parafiia-news-shell .entry-content h3 {
  font-size:clamp(23px,2.3vw,30px);
  padding-left:15px;
  border-left:4px solid var(--parafiia-accent);
}

.parafiia-news-shell .entry-content blockquote {
  margin:1.6em 0;
  padding:22px 24px 22px 26px;
  background:var(--parafiia-soft);
  border:1px solid var(--parafiia-line);
  border-left:5px solid var(--parafiia-accent);
  border-radius:14px;
  font-style:italic;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
}

.parafiia-news-shell .entry-content img,
.parafiia-news-shell .entry-content figure img {
  border-radius:14px;
}

.parafiia-news-shell .entry-content .wp-block-gallery,
.parafiia-news-shell .entry-content .blocks-gallery-grid,
.parafiia-news-shell .entry-content .gallery {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;
  margin:1.7em 0;
  padding:0;
}

.parafiia-news-below {
  clear:both;
  margin-top:44px;
  padding-top:30px;
  border-top:1px solid var(--parafiia-line);
}

.parafiia-news-heading-row {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:26px;
}

.parafiia-news-heading-row .section-heading {
  margin:0;
}

.parafiia-news-calendar-archive {
  margin-top:36px;
  padding-top:30px;
  border-top:1px solid var(--parafiia-line);
}

.parafiia-news-calendar-archive .section-heading {
  margin:0 0 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
  line-height:1.2;
  color:var(--parafiia-text);
}

.parafiia-news-months {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
}

.parafiia-news-months li {
  margin:0;
}

.parafiia-news-months a {
  display:block;
  padding:12px 14px;
  border:1px solid var(--parafiia-line);
  border-radius:9px;
  background:var(--parafiia-soft);
  color:var(--parafiia-text);
  font-weight:700;
  text-align:center;
}

.parafiia-news-months a:hover {
  border-color:var(--parafiia-accent);
  background:var(--parafiia-accent);
  color:#fff;
}

.parafiia-news-shell .navigation.pagination {
  margin-top:28px;
}

.parafiia-news-shell .navigation.pagination .nav-links {
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}

.parafiia-news-shell .navigation.pagination .page-numbers {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 11px;
  border:1px solid var(--parafiia-line);
  border-radius:50px;
  background:#fff;
  color:var(--parafiia-text);
  font-weight:700;
}

.parafiia-news-shell .navigation.pagination .page-numbers.current,
.parafiia-news-shell .navigation.pagination .page-numbers:hover {
  border-color:var(--parafiia-accent);
  background:var(--parafiia-accent);
  color:#fff;
}

@media (max-width:760px) {
  .parafiia-uniform-item {
    grid-template-columns:140px minmax(0,1fr);
    min-height:130px;
  }

  .parafiia-uniform-image,
  .parafiia-uniform-image img {
    min-height:130px;
  }

  .parafiia-uniform-body {
    padding:17px 18px;
  }

  .parafiia-uniform-body h2 {
    font-size:19px;
  }

  .parafiia-uniform-body p {
    display:none;
  }

  .po-news-inline-media {
    float:none;
    width:100%;
    max-width:none;
    margin:0 0 16px;
  }

  .parafiia-news-months {
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:520px) {
  .parafiia-uniform-item {
    grid-template-columns:1fr;
  }

  .parafiia-uniform-image {
    aspect-ratio:16/9;
    min-height:0;
  }

  .parafiia-uniform-image img {
    min-height:0;
    aspect-ratio:16/9;
  }

  .parafiia-uniform-body p {
    display:block;
  }

  .parafiia-news-heading-row {
    display:block;
  }

  .parafiia-news-heading-row .more-link {
    display:inline-block;
    margin-top:10px;
  }

  .parafiia-news-months {
    grid-template-columns:1fr;
  }
}


/* Full-width News section container, matching the Parafiia theme */
.parafiia-news-container {
  width: min(calc(100% - 64px), 1030px);
  margin-inline: auto;
}
@media (max-width: 760px) {
  .parafiia-news-container {
    width: min(calc(100% - 32px), 1030px);
  }
}


/* Preserve the Premium sidebar in the News section */
.ppp-news-layout .parafiia-news-shell {
  padding-top:36px;
  padding-bottom:52px;
  min-width:0;
}

.ppp-news-layout > .ppp-sidebar {
  padding-top:36px;
}

@media (max-width:900px) {
  .ppp-news-layout > .ppp-sidebar {
    padding-top:0;
  }
}


/* News and announcements: linked sections with polished archives */
.parafiia-announcement-page,
.parafiia-single-announcement-page {
  min-width:0;
  padding-top:42px;
  padding-bottom:56px;
}

.parafiia-announcement-header {
  margin-bottom:30px;
  padding:28px 30px;
  border:1px solid var(--ppp-line);
  border-radius:16px;
  background:linear-gradient(135deg,#fff 0%,var(--ppp-soft) 100%);
  box-shadow:0 12px 30px rgba(38,27,20,.07);
}

.parafiia-section-kicker,
.parafiia-announcement-badge {
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(183,121,31,.12);
  color:#8c5b16;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.parafiia-announcement-header h1 {
  margin:12px 0 8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(32px,4vw,46px);
  line-height:1.15;
}

.parafiia-announcement-header p {
  margin:0;
  color:var(--ppp-muted);
  font-size:16px;
  line-height:1.65;
}

.parafiia-announcement-list {
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.parafiia-announcement-card {
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  overflow:hidden;
  border:1px solid var(--ppp-line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 9px 25px rgba(39,27,20,.07);
  transition:transform .18s ease,box-shadow .18s ease;
}

.parafiia-announcement-card:hover {
  transform:translateY(-2px);
  box-shadow:0 15px 34px rgba(39,27,20,.11);
}

.parafiia-announcement-image {
  display:block;
  min-height:172px;
  overflow:hidden;
  background:#eee7de;
}

.parafiia-announcement-image img {
  display:block;
  width:100%;
  height:100%;
  min-height:172px;
  object-fit:cover;
}

.parafiia-announcement-body {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:22px 25px;
}

.parafiia-announcement-meta {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
  color:var(--ppp-muted);
  font-size:12px;
}

.parafiia-announcement-body h2 {
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  line-height:1.28;
}

.parafiia-announcement-body h2 a {
  color:var(--ppp-primary);
}

.parafiia-announcement-body p {
  margin:0 0 14px;
  color:var(--ppp-muted);
  line-height:1.65;
}

.parafiia-announcement-more {
  align-self:flex-start;
  margin-top:auto;
  color:#8c5b16;
  font-size:13px;
  font-weight:800;
}

.parafiia-announcement-calendar {
  margin-top:38px;
  padding-top:30px;
  border-top:1px solid var(--ppp-line);
}

.parafiia-announcement-calendar .section-heading {
  margin:0 0 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
}

.parafiia-announcement-months {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
}

.parafiia-announcement-months a {
  display:block;
  padding:12px 14px;
  border:1px solid var(--ppp-line);
  border-radius:9px;
  background:var(--ppp-soft);
  color:var(--ppp-primary);
  font-weight:700;
  text-align:center;
}

.parafiia-announcement-months a:hover {
  border-color:#b7791f;
  background:#b7791f;
  color:#fff;
}

.parafiia-single-announcement-header {
  margin-bottom:26px;
  padding-bottom:20px;
  border-bottom:1px solid var(--ppp-line);
}

.parafiia-single-announcement-header h1 {
  margin:12px 0 8px;
}

.parafiia-single-announcement-header time {
  color:var(--ppp-muted);
  font-size:13px;
}

.parafiia-single-announcement-content {
  font-size:17px;
  line-height:1.78;
}

.parafiia-single-announcement-content::after {
  content:"";
  display:block;
  clear:both;
}

.parafiia-single-announcement-image {
  float:left;
  width:min(40%,360px);
  margin:2px 24px 18px 0;
  overflow:hidden;
  border-radius:14px;
  box-shadow:0 12px 28px rgba(30,24,20,.10);
}

.parafiia-single-announcement-image img {
  display:block;
  width:100%;
  height:auto;
}

.parafiia-other-announcements {
  clear:both;
  margin-top:46px;
  padding-top:30px;
  border-top:1px solid var(--ppp-line);
}

.parafiia-announcement-heading-row {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}

.parafiia-announcement-heading-row h2 {
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
}

.parafiia-announcement-empty {
  padding:20px;
  border:1px solid var(--ppp-line);
  border-radius:12px;
  background:var(--ppp-soft);
  color:var(--ppp-muted);
}

.ppp-nav .current-menu-item > a,
.ppp-nav .current_page_item > a {
  color:#b7791f;
}

@media(max-width:760px) {
  .parafiia-announcement-card {
    grid-template-columns:140px minmax(0,1fr);
  }
  .parafiia-announcement-image,
  .parafiia-announcement-image img {
    min-height:140px;
  }
  .parafiia-announcement-body {
    padding:18px;
  }
  .parafiia-announcement-body p {
    display:none;
  }
  .parafiia-announcement-months {
    grid-template-columns:1fr 1fr;
  }
  .parafiia-single-announcement-image {
    float:none;
    width:100%;
    margin:0 0 18px;
  }
}

@media(max-width:520px) {
  .parafiia-announcement-card {
    grid-template-columns:1fr;
  }
  .parafiia-announcement-image {
    aspect-ratio:16/9;
    min-height:0;
  }
  .parafiia-announcement-image img {
    min-height:0;
    aspect-ratio:16/9;
  }
  .parafiia-announcement-body p {
    display:block;
  }
  .parafiia-announcement-months {
    grid-template-columns:1fr;
  }
  .parafiia-announcement-heading-row {
    display:block;
  }
  .parafiia-announcement-heading-row a {
    display:inline-block;
    margin-top:10px;
  }
}


/* Latest news directly below the Announcements block */
.ppp-latest-news-widget {
  display:block;
}

.ppp-latest-news-widget .ppp-mini-news {
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--ppp-line);
}

.ppp-latest-news-widget .ppp-mini-news:first-of-type {
  padding-top:0;
}

.ppp-latest-news-widget .ppp-mini-news:last-of-type {
  border-bottom:0;
}

.ppp-latest-news-widget .ppp-mini-news-thumb {
  display:block;
  width:76px;
  height:64px;
  overflow:hidden;
  border-radius:9px;
  background:#eee8df;
}

.ppp-latest-news-widget .ppp-mini-news-thumb img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.ppp-latest-news-widget .ppp-mini-news-body {
  min-width:0;
}

.ppp-latest-news-widget .ppp-mini-news-body h4 {
  margin:0 0 5px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  line-height:1.3;
}

.ppp-latest-news-widget .ppp-mini-news-body h4 a {
  color:inherit;
}

.ppp-latest-news-widget .ppp-meta {
  font-size:12px;
  opacity:.72;
}


/* Comfortable inner spacing for the News list and a single News post */
.ppp-news-layout > .ppp-main.parafiia-news-shell {
  box-sizing: border-box;
  padding-left: 30px;
  padding-right: 30px;
}

.ppp-news-layout .parafiia-archive-header,
.ppp-news-layout .parafiia-uniform-list,
.ppp-news-layout .parafiia-news-calendar-archive,
.ppp-news-layout .navigation.pagination,
.ppp-news-layout .entry-header,
.ppp-news-layout .entry-content,
.ppp-news-layout .parafiia-news-below {
  max-width: 100%;
}

@media (max-width: 760px) {
  .ppp-news-layout > .ppp-main.parafiia-news-shell {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* Single News and Announcement: image left, wrapped justified text */
.ppp-news-layout .entry-content,
.parafiia-single-announcement-content {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.ppp-news-layout .entry-content > p,
.parafiia-single-announcement-content > p {
  text-align: justify;
  text-justify: inter-word;
}

.ppp-news-layout .entry-content h1,
.ppp-news-layout .entry-content h2,
.ppp-news-layout .entry-content h3,
.ppp-news-layout .entry-content h4,
.ppp-news-layout .entry-content h5,
.ppp-news-layout .entry-content h6,
.ppp-news-layout .entry-content ul,
.ppp-news-layout .entry-content ol,
.ppp-news-layout .entry-content blockquote,
.parafiia-single-announcement-content h1,
.parafiia-single-announcement-content h2,
.parafiia-single-announcement-content h3,
.parafiia-single-announcement-content h4,
.parafiia-single-announcement-content h5,
.parafiia-single-announcement-content h6,
.parafiia-single-announcement-content ul,
.parafiia-single-announcement-content ol,
.parafiia-single-announcement-content blockquote {
  text-align: left;
}

.po-news-inline-media,
.parafiia-single-announcement-image {
  float: left;
  width: min(38%, 330px);
  max-width: 330px;
  margin: 2px 24px 18px 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f1eb;
  box-shadow: 0 12px 28px rgba(30,24,20,.10);
}

.po-news-inline-media img,
.po-news-inline-image,
.parafiia-single-announcement-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.ppp-news-layout .entry-content::after,
.parafiia-single-announcement-content::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 760px) {
  .po-news-inline-media,
  .parafiia-single-announcement-image {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
  }

  .ppp-news-layout .entry-content,
  .ppp-news-layout .entry-content > p,
  .parafiia-single-announcement-content,
  .parafiia-single-announcement-content > p {
    text-align: left;
  }
}

/* Forced single News and Announcement layout */

.ppp-news-layout .entry-content,
.parafiia-single-announcement-content {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
}

.ppp-news-layout .po-news-inline-media,
.parafiia-single-announcement-content > .parafiia-single-announcement-image {
    float: left !important;
    display: block !important;
    width: 38% !important;
    max-width: 330px !important;
    margin: 2px 24px 18px 0 !important;
    padding: 0 !important;
}

.ppp-news-layout .po-news-inline-media img,
.parafiia-single-announcement-content > .parafiia-single-announcement-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

.ppp-news-layout .entry-content::after,
.parafiia-single-announcement-content::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 760px) {
    .ppp-news-layout .po-news-inline-media,
    .parafiia-single-announcement-content > .parafiia-single-announcement-image {
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 18px !important;
    }

    .ppp-news-layout .entry-content,
    .parafiia-single-announcement-content {
        text-align: left !important;
    }
}



/* Centered additional-photo gallery below a News post */
.parafiia-news-extra-gallery {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin: 34px auto 8px;
  padding-top: 22px;
  border-top: 1px solid var(--ppp-line);
}

.parafiia-news-extra-gallery figure,
.parafiia-news-extra-gallery p {
  flex: 0 1 250px;
  width: min(100%, 250px);
  margin: 0 !important;
  text-align: center !important;
}

.parafiia-news-extra-gallery a {
  display: block;
}

.parafiia-news-extra-gallery img {
  display: block;
  width: 100%;
  height: 178px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(30,24,20,.10);
}

.parafiia-news-extra-gallery figcaption {
  margin-top: 8px;
  color: #6f655c;
  font-size: 13px;
  line-height: 1.45;
  text-align: center !important;
}

@media (max-width: 620px) {
  .parafiia-news-extra-gallery {
    gap: 14px;
    margin-top: 26px;
  }

  .parafiia-news-extra-gallery figure,
  .parafiia-news-extra-gallery p {
    flex-basis: min(100%, 280px);
    width: min(100%, 280px);
  }

  .parafiia-news-extra-gallery img {
    height: auto;
    max-height: 300px;
    object-fit: contain;
  }
}


/* Force additional News photos into a horizontal centered row */
.parafiia-news-extra-gallery {
  clear: both !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 34px auto 8px !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid var(--ppp-line) !important;
  box-sizing: border-box !important;
}

.parafiia-news-extra-gallery > figure,
.parafiia-news-extra-gallery > p,
.parafiia-news-extra-gallery > div,
.parafiia-news-extra-gallery > a {
  flex: 0 1 calc(50% - 9px) !important;
  width: calc(50% - 9px) !important;
  max-width: 340px !important;
  min-width: 220px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.parafiia-news-extra-gallery figure,
.parafiia-news-extra-gallery p {
  margin: 0 !important;
}

.parafiia-news-extra-gallery a {
  display: block !important;
}

.parafiia-news-extra-gallery img {
  display: block !important;
  width: 100% !important;
  height: 220px !important;
  max-width: none !important;
  margin: 0 auto !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(30,24,20,.10) !important;
}

.parafiia-news-extra-gallery figcaption {
  margin: 8px 0 0 !important;
  color: #6f655c !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

@media (max-width: 620px) {
  .parafiia-news-extra-gallery {
    gap: 14px !important;
    margin-top: 26px !important;
  }

  .parafiia-news-extra-gallery > figure,
  .parafiia-news-extra-gallery > p,
  .parafiia-news-extra-gallery > div,
  .parafiia-news-extra-gallery > a {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 360px !important;
    min-width: 0 !important;
  }

  .parafiia-news-extra-gallery img {
    height: auto !important;
    max-height: 340px !important;
    object-fit: contain !important;
  }
}


/* Monthly Calendar of Events archive */
.ppp-calendar-nav {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ppp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ppp-primary);
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.ppp-calendar-nav:hover {
  border-color: var(--ppp-accent);
  background: var(--ppp-accent);
  color: #fff;
}

.ppp-calendar-wrap {
  position: relative;
}

.ppp-calendar td {
  position: relative;
}

.ppp-calendar-day-link {
  position: absolute;
  inset: 0;
  border-radius: 8px;
}

.ppp-calendar-wrap--large {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--ppp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(53,30,23,.08);
}

.ppp-calendar-wrap--large .ppp-calendar-head {
  margin-bottom: 20px;
  font-size: 20px;
}

.ppp-calendar-wrap--large .ppp-calendar {
  table-layout: fixed;
  font-size: 14px;
}

.ppp-calendar-wrap--large .ppp-calendar th {
  padding: 10px 6px;
  font-weight: 700;
}

.ppp-calendar-wrap--large .ppp-calendar td {
  height: 116px;
  padding: 8px;
  vertical-align: top;
  border: 1px solid var(--ppp-line);
  background: #fff;
  text-align: left;
}

.ppp-calendar-wrap--large .ppp-calendar td.has-event {
  background: #fff8ec;
}

.ppp-calendar-wrap--large .ppp-calendar-day-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 50%;
  font-weight: 700;
}

.ppp-calendar-wrap--large .ppp-calendar td.today .ppp-calendar-day-number {
  background: var(--ppp-primary);
  color: #fff;
}

.ppp-calendar-day-events {
  display: grid;
  gap: 5px;
  list-style: none;
  margin: 7px 0 0;
  padding: 0;
}

.ppp-calendar-day-events li {
  margin: 0;
}

.ppp-calendar-day-events a {
  display: block;
  padding: 5px 7px;
  border-radius: 6px;
  background: #efe3d2;
  color: var(--ppp-primary);
  font-size: 12px;
  line-height: 1.3;
  text-decoration: none;
}

.ppp-calendar-day-events a:hover {
  background: var(--ppp-accent);
  color: #fff;
}

.ppp-events-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ppp-line);
}

.ppp-events-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--ppp-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ppp-events-header h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
}

.ppp-events-header p {
  margin: 0;
  color: var(--ppp-muted);
  line-height: 1.65;
}

.ppp-events-month-list {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--ppp-line);
}

.ppp-events-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.ppp-events-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.ppp-events-section-heading > a {
  color: var(--ppp-accent);
  font-size: 13px;
  font-weight: 700;
}

.ppp-event-cards {
  display: grid;
  gap: 16px;
}

.ppp-event-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--ppp-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(53,30,23,.06);
}

.ppp-event-card-date {
  display: grid;
  place-content: center;
  padding: 20px;
  border-right: 1px solid var(--ppp-line);
  background: var(--ppp-soft);
  color: var(--ppp-primary);
  text-align: center;
}

.ppp-event-card-date strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  line-height: 1;
}

.ppp-event-card-date span {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ppp-event-card-content {
  padding: 20px 22px;
}

.ppp-event-card-meta {
  margin-bottom: 6px;
  color: var(--ppp-muted);
  font-size: 12px;
}

.ppp-event-card-content h2 {
  margin: 0 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.25;
}

.ppp-event-card-content p {
  margin: 0 0 12px;
  color: var(--ppp-muted);
  line-height: 1.65;
}

.ppp-events-empty {
  padding: 18px 20px;
  border: 1px solid var(--ppp-line);
  border-radius: 10px;
  background: var(--ppp-soft);
  color: var(--ppp-muted);
}

.ppp-single-event-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ppp-line);
}

.ppp-single-event-date {
  color: var(--ppp-muted);
  font-size: 14px;
}

.ppp-single-event-image {
  float: left;
  width: min(38%, 340px);
  margin: 2px 24px 18px 0;
  overflow: hidden;
  border-radius: 14px;
}

.ppp-single-event-image img {
  display: block;
  width: 100%;
  height: auto;
}

.ppp-single-event-page .ppp-entry-content {
  text-align: justify;
}

.ppp-single-event-page .ppp-entry-content::after {
  content: "";
  display: block;
  clear: both;
}

.ppp-single-event-back {
  clear: both;
  margin-top: 28px;
}

@media (max-width: 760px) {
  .ppp-calendar-wrap--large {
    padding: 12px;
    overflow-x: auto;
  }

  .ppp-calendar-wrap--large .ppp-calendar {
    min-width: 720px;
  }

  .ppp-event-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .ppp-event-card-date {
    padding: 14px 10px;
  }

  .ppp-event-card-content {
    padding: 16px;
  }

  .ppp-single-event-image {
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }

  .ppp-single-event-page .ppp-entry-content {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .ppp-events-section-heading {
    display: block;
  }

  .ppp-events-section-heading > a {
    display: inline-block;
    margin-top: 8px;
  }
}


/* Selected date in the large Calendar of Events */
.ppp-calendar-wrap--large .ppp-calendar-select-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 8px;
  border-radius: 10px;
  color: var(--ppp-primary);
  text-decoration: none;
}

.ppp-calendar-wrap--large .ppp-calendar-select-day:hover {
  background: var(--ppp-soft);
}

.ppp-calendar-wrap--large td.is-selected {
  background: #fff4dc;
  box-shadow: inset 0 0 0 2px var(--ppp-accent);
}

.ppp-calendar-wrap--large td.is-selected .ppp-calendar-day-number {
  background: var(--ppp-accent);
  color: #fff;
}

.ppp-calendar-event-dot {
  display: block;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--ppp-accent);
}

.ppp-events-date-materials {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--ppp-line);
}

.ppp-events-selected-label {
  display: block;
  margin-bottom: 5px;
  color: var(--ppp-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ppp-events-date-materials .ppp-events-section-heading h2 {
  margin: 0;
}

@media (max-width: 760px) {
  .ppp-calendar-wrap--large .ppp-calendar-select-day {
    min-height: 78px;
  }
}




/* Premium announcement archive layout enforced in Premium Plus */
.post-type-archive-announcement .parafiia-announcement-page {
  min-width: 0 !important;
  padding-top: 42px !important;
  padding-bottom: 56px !important;
}

.post-type-archive-announcement .parafiia-announcement-header {
  display: block !important;
  margin-bottom: 30px !important;
  padding: 28px 30px !important;
  border: 1px solid var(--ppp-line) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg,#fff 0%,var(--ppp-soft) 100%) !important;
  box-shadow: 0 12px 30px rgba(38,27,20,.07) !important;
}

.post-type-archive-announcement .parafiia-announcement-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.post-type-archive-announcement .parafiia-announcement-card {
  display: grid !important;
  grid-template-columns: 210px minmax(0,1fr) !important;
  overflow: hidden !important;
  border: 1px solid var(--ppp-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 9px 25px rgba(39,27,20,.07) !important;
}

.post-type-archive-announcement .parafiia-announcement-image {
  display: block !important;
  min-height: 172px !important;
  overflow: hidden !important;
  background: #eee7de !important;
}

.post-type-archive-announcement .parafiia-announcement-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 172px !important;
  object-fit: cover !important;
}

.post-type-archive-announcement .parafiia-announcement-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 22px 25px !important;
}

.post-type-archive-announcement .parafiia-announcement-meta {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.post-type-archive-announcement .parafiia-announcement-body h2 {
  margin: 0 0 10px !important;
  font-family: Georgia,"Times New Roman",serif !important;
  font-size: 23px !important;
  line-height: 1.28 !important;
}

.post-type-archive-announcement .parafiia-announcement-body p {
  display: block !important;
  margin: 0 0 14px !important;
  color: var(--ppp-muted) !important;
  line-height: 1.65 !important;
}

.post-type-archive-announcement .parafiia-announcement-calendar {
  display: block !important;
  margin-top: 38px !important;
  padding-top: 30px !important;
  border-top: 1px solid var(--ppp-line) !important;
}

@media (max-width: 760px) {
  .post-type-archive-announcement .parafiia-announcement-card {
    grid-template-columns: 140px minmax(0,1fr) !important;
  }

  .post-type-archive-announcement .parafiia-announcement-image,
  .post-type-archive-announcement .parafiia-announcement-image img {
    min-height: 140px !important;
  }

  .post-type-archive-announcement .parafiia-announcement-body {
    padding: 18px !important;
  }

  .post-type-archive-announcement .parafiia-announcement-body p {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .post-type-archive-announcement .parafiia-announcement-card {
    grid-template-columns: 1fr !important;
  }

  .post-type-archive-announcement .parafiia-announcement-image {
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
  }

  .post-type-archive-announcement .parafiia-announcement-image img {
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }

  .post-type-archive-announcement .parafiia-announcement-body p {
    display: block !important;
  }
}


/* Customizer: text, headings, backgrounds, blocks and menu size */
:root{
  --ppp-heading:#25211f;
  --ppp-page-bg:#edf0f1;
  --ppp-block-bg:#ffffff;
  --ppp-menu-size:13px;
}
body{background:var(--ppp-page-bg)!important;color:var(--ppp-text)}
.ppp-site,
.ppp-header,
.ppp-main,
.ppp-widget,
.ppp-schedule,
.ppp-service-card,
.ppp-event-card,
.ppp-form-card,
.ppp-subscribe-card,
.ppp-payment,
.ppp-search-result,
.ppp-news-archive-item,
.parafiia-announcement-card,
.parafiia-announcement-header,
.parafiia-archive-header,
.parafiia-uniform-item{background:var(--ppp-block-bg)!important}
.ppp-site h1,
.ppp-site h2,
.ppp-site h3,
.ppp-site h4,
.ppp-site h5,
.ppp-site h6,
.ppp-brand-title,
.ppp-entry-title,
.ppp-section-heading,
.ppp-widget-title{color:var(--ppp-heading)!important}
.ppp-hero h1,
.ppp-hero h2,
.ppp-topbar h1,
.ppp-topbar h2,
.ppp-footer h1,
.ppp-footer h2,
.ppp-footer h3,
.ppp-footer h4,
.ppp-donation h1,
.ppp-donation h2,
.ppp-donation h3{color:inherit!important}
.ppp-nav a{font-size:var(--ppp-menu-size)!important}


/* Back to top button */
.ppp-back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(173, 124, 49, 0.26);
	border-radius: 999px;
	background: var(--ppp-accent, #be8b37);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
	box-shadow: 0 14px 30px rgba(58, 12, 20, 0.2);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(16px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background-color .25s ease;
}

.ppp-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.ppp-back-to-top:hover,
.ppp-back-to-top:focus-visible {
	background: var(--ppp-heading, #581b21);
	outline: none;
}

@media (max-width: 782px) {
	.ppp-back-to-top {
		right: 14px;
		bottom: 14px;
		min-width: 108px;
		padding: 0.8rem 0.95rem;
		font-size: 0.9rem;
	}
}


/* Platform credit supplied by parish-platform-core */
.ppp-footer-bottom .parish-platform-credit {
  margin-left: auto;
  color: inherit;
  text-align: right;
}

.ppp-footer-bottom .parish-platform-credit a {
  color: #fff;
  font-weight: 700;
}

.ppp-footer-bottom .parish-platform-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .ppp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
  }

  .ppp-footer-bottom .parish-platform-credit {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
}


/* Fixed footer appearance and adjustable footer menu size */
.ppp-footer {
  background: linear-gradient(145deg, #541d20, #321113) !important;
  color: #ffffff !important;
}
.ppp-footer,
.ppp-footer p,
.ppp-footer li,
.ppp-footer span,
.ppp-footer h1,
.ppp-footer h2,
.ppp-footer h3,
.ppp-footer h4,
.ppp-footer h5,
.ppp-footer h6,
.ppp-footer a,
.ppp-footer .ppp-brand-title,
.ppp-footer .ppp-brand-subtitle,
.ppp-footer .parish-platform-credit,
.ppp-footer .parish-platform-credit a {
  color: #ffffff !important;
}
.ppp-footer ul a {
  font-size: var(--ppp-footer-menu-size, 12px) !important;
}

/* Restore the original header text colours. Footer text remains white. */
.ppp-header {
  background: #fff !important;
  border-bottom-color: #ded7cc !important;
  color: #25211f !important;
}
.ppp-header .ppp-brand-copy,
.ppp-header .ppp-brand-title { color: #25211f !important; }
.ppp-header .ppp-brand-subtitle { color: #716a63 !important; opacity: 1 !important; }
.ppp-header .ppp-nav a,
.ppp-header .ppp-search-link { color: #25211f !important; }
.ppp-header .ppp-nav a:hover,
.ppp-header .ppp-nav a:focus { color: var(--ppp-accent-dark, #9e6719) !important; }
.ppp-header .ppp-menu-toggle {
  background: var(--ppp-primary, #541d20) !important;
  color: #fff !important;
  border-color: transparent !important;
}
@media (max-width: 900px) {
  .ppp-header .ppp-nav { background: #fff !important; border-color: #ded7cc !important; }
  .ppp-header .ppp-nav li { border-color: #eee !important; }
  .ppp-header .ppp-nav a { color: #25211f !important; }
}

.ppp-schedule-service-link,
.ppp-service-name a {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}

.ppp-schedule-service-link:hover,
.ppp-schedule-service-link:focus-visible,
.ppp-service-name a:hover,
.ppp-service-name a:focus-visible {
	color: var(--ppp-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ppp-service-single__entry {
	margin-bottom: 28px;
}

.ppp-service-single__schedule {
	padding-top: 24px;
	border-top: 1px solid var(--ppp-line);
}


/* Social sharing */
.parish-share {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(127, 127, 127, .25);
}
.parish-share__title {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}
.parish-share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.parish-share__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--ppp-accent, #c98b2d);
    border-radius: 5px;
    background: transparent;
    color: var(--ppp-accent-dark, #9e6719);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.parish-share__button:hover,
.parish-share__button:focus-visible {
    background: var(--ppp-accent, #c98b2d);
    border-color: var(--ppp-accent, #c98b2d);
    color: #fff;
    text-decoration: none;
    outline: none;
}
.parish-share__native {
    display: none;
    background: var(--ppp-accent, #c98b2d);
    color: #fff;
}
.parish-share__native.is-supported {
    display: inline-flex;
}
@media (max-width: 600px) {
    .parish-share__buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .parish-share__button {
        width: 100%;
    }
}


/* Optional day or feast title in the worship schedule. */
.ppp-schedule-day-title,
.ppp-service-day-title {
    margin-top: 4px;
    color: var(--ppp-muted);
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.35;
}

/* Keep headings and decorative lines clear of floated page images. */
.ppp-entry-media--float + .ppp-entry-content h1,
.ppp-entry-media--float + .ppp-entry-content h2,
.ppp-entry-media--float + .ppp-entry-content h3,
.ppp-entry-media--float + .ppp-entry-content h4,
.ppp-entry-media--float + .ppp-entry-content h5,
.ppp-entry-media--float + .ppp-entry-content h6,
.ppp-entry-content .alignleft + h1,
.ppp-entry-content .alignleft + h2,
.ppp-entry-content .alignleft + h3,
.ppp-entry-content .alignleft + h4,
.ppp-entry-content .alignleft + h5,
.ppp-entry-content .alignleft + h6 {
	display: flow-root;
	min-width: 0;
	overflow: hidden;
}

.ppp-entry-media--float + .ppp-entry-content > h1:first-child,
.ppp-entry-media--float + .ppp-entry-content > h2:first-child,
.ppp-entry-media--float + .ppp-entry-content > h3:first-child,
.ppp-entry-media--float + .ppp-entry-content > h4:first-child,
.ppp-entry-media--float + .ppp-entry-content > h5:first-child,
.ppp-entry-media--float + .ppp-entry-content > h6:first-child {
	margin-top: 0;
}

@supports not (display: flow-root) {
	.ppp-entry-media--float + .ppp-entry-content h1,
	.ppp-entry-media--float + .ppp-entry-content h2,
	.ppp-entry-media--float + .ppp-entry-content h3,
	.ppp-entry-media--float + .ppp-entry-content h4,
	.ppp-entry-media--float + .ppp-entry-content h5,
	.ppp-entry-media--float + .ppp-entry-content h6 {
		overflow: hidden;
	}
}


/* Structured information on a single worship-service page. */
.ppp-service-single__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-bottom: 30px;
	border: 1px solid var(--ppp-line);
	border-radius: 8px;
	overflow: hidden;
	background: var(--ppp-line);
}

.ppp-service-single__meta-item {
	display: grid;
	gap: 6px;
	align-content: start;
	min-height: 94px;
	padding: 17px 19px;
	background: var(--ppp-soft);
}

.ppp-service-single__meta-label,
.ppp-service-single__time-label {
	color: var(--ppp-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ppp-service-single__meta-item strong {
	font-family: Georgia, serif;
	font-size: 20px;
	line-height: 1.3;
}

.ppp-service-single__weekday {
	text-transform: capitalize;
}

.ppp-service-single__meta-item--feast strong,
.ppp-schedule-day-title,
.ppp-service-day-title {
	color: var(--ppp-primary);
	font-weight: 800;
}

.ppp-service-single__main {
	margin-bottom: 22px;
}

.ppp-service-single__time {
	margin: 4px 0 8px;
	color: var(--ppp-accent-dark);
	font-family: Georgia, serif;
	font-size: clamp(34px, 5vw, 52px);
	font-weight: 700;
	line-height: 1;
}

.ppp-service-single__main .ppp-entry-title {
	margin-bottom: 0;
}

.ppp-service-single__entry .ppp-entry-content {
	margin-top: 18px;
}

@media (max-width: 700px) {
	.ppp-service-single__meta {
		grid-template-columns: 1fr;
	}

	.ppp-service-single__meta-item {
		min-height: 0;
	}
}

/* Simple popup gallery for additional news photos. */
.parafiia-lightbox-trigger {
  cursor: zoom-in;
}

body.parafiia-lightbox-open {
  overflow: hidden;
}

.parafiia-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 82px;
  background: rgba(0, 0, 0, .88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.parafiia-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.parafiia-lightbox__figure {
  max-width: min(1180px, 88vw);
  max-height: 88vh;
  margin: 0;
  text-align: center;
}

.parafiia-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: scale(.96);
  transition: opacity .2s ease, transform .25s ease;
}

.parafiia-lightbox__image.is-ready {
  opacity: 1;
  transform: scale(1);
}

.parafiia-lightbox__caption {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}

.parafiia-lightbox__close,
.parafiia-lightbox__arrow {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.parafiia-lightbox__close:hover,
.parafiia-lightbox__close:focus-visible,
.parafiia-lightbox__arrow:hover,
.parafiia-lightbox__arrow:focus-visible {
  background: rgba(255, 255, 255, .28);
  outline: none;
}

.parafiia-lightbox__close {
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 40px;
}

.parafiia-lightbox__arrow {
  top: 50%;
  width: 48px;
  height: 58px;
  border-radius: 10px;
  font-size: 46px;
  line-height: 48px;
  transform: translateY(-50%);
}

.parafiia-lightbox__arrow--prev {
  left: 18px;
}

.parafiia-lightbox__arrow--next {
  right: 18px;
}

.parafiia-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .42);
  font-size: 13px;
}

@media (max-width: 700px) {
  .parafiia-lightbox {
    padding: 58px 48px 48px;
  }

  .parafiia-lightbox__arrow {
    width: 40px;
    height: 52px;
    font-size: 39px;
  }

  .parafiia-lightbox__arrow--prev {
    left: 4px;
  }

  .parafiia-lightbox__arrow--next {
    right: 4px;
  }

  .parafiia-lightbox__close {
    top: 8px;
    right: 8px;
  }
}

/* Mobile worship schedule: clear card layout instead of a compressed table. */
@media (max-width: 700px) {
	.ppp-schedule,
	.ppp-schedule--archive {
		display: grid;
		gap: 14px;
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.ppp-schedule-row--head {
		display: none;
	}

	.ppp-schedule-row:not(.ppp-schedule-row--head),
	.ppp-schedule--archive .ppp-schedule-row:not(.ppp-schedule-row--head) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"date time"
			"service service";
		min-height: 0;
		overflow: hidden;
		border: 1px solid var(--ppp-line);
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 8px 22px rgba(53, 30, 23, .08);
	}

	.ppp-schedule-row + .ppp-schedule-row {
		border-top: 1px solid var(--ppp-line);
	}

	.ppp-schedule-cell {
		display: flex;
		min-width: 0;
		padding: 14px 16px;
		border: 0 !important;
		font-size: 14px;
	}

	.ppp-schedule-cell::before {
		display: block;
		margin-bottom: 5px;
		color: var(--ppp-muted);
		font-size: 10px;
		font-weight: 800;
		letter-spacing: .08em;
		line-height: 1.2;
		text-transform: uppercase;
	}

	.ppp-schedule-cell--date {
		grid-area: date;
		background: var(--ppp-soft);
		font-size: 15px;
		line-height: 1.45;
	}

	.ppp-schedule-cell--date::before {
		content: none;
		display: none;
	}

	.ppp-schedule-cell--time {
		grid-area: time;
		align-items: flex-end;
		justify-content: flex-start;
		min-width: 94px;
		background: var(--ppp-soft);
		color: var(--ppp-accent-dark);
		font-family: Georgia, "Times New Roman", serif;
		font-size: 24px;
		font-weight: 700;
		line-height: 1.1;
		text-align: right;
	}

	.ppp-schedule-cell--time::before {
		content: none;
		display: none;
	}

	.ppp-schedule-cell--service {
		grid-area: service;
		padding-top: 16px;
		padding-bottom: 17px;
		border-top: 1px solid var(--ppp-line) !important;
		background: var(--ppp-block-bg, #fff);
		line-height: 1.5;
	}

	.ppp-schedule-cell--service::before {
		content: none;
		display: none;
	}

	.ppp-schedule-day-title {
		margin-top: 5px;
		color: var(--ppp-accent-dark);
		font-size: 13px;
		font-weight: 800;
	}

	.ppp-schedule-service-link {
		display: inline-block;
		font-size: 16px;
		line-height: 1.35;
	}

	.ppp-service-excerpt {
		margin-top: 7px;
		font-size: 13px;
		line-height: 1.55;
	}

	.ppp-schedule-row--empty {
		grid-template-columns: 1fr !important;
		grid-template-areas: "date" !important;
	}

	.ppp-schedule-row--empty .ppp-schedule-cell--date {
		background: #fff;
	}

	.ppp-schedule-row--empty .ppp-schedule-cell--date::before,
	.ppp-schedule-row--empty .ppp-schedule-cell--time,
	.ppp-schedule-row--empty .ppp-schedule-cell--service {
		display: none;
	}

	.ppp-schedule-footer {
		padding: 12px 14px;
		border: 1px solid var(--ppp-line);
		border-radius: 12px;
		background: var(--ppp-soft);
		text-align: center;
	}

	.ppp-schedule-footer .ppp-more {
		display: block;
		width: 100%;
	}
}



/* News photo gallery heading */
.parafiia-news-gallery-block {
  margin: 34px 0 0;
  padding: 18px 20px 10px;
  border: 1px solid var(--ppp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.parafiia-news-gallery-title {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ppp-accent);
}

.parafiia-news-gallery-title::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.parafiia-news-gallery-block .parafiia-news-extra-gallery {
  margin-top: 0;
}

@media (max-width: 640px) {
  .parafiia-news-gallery-block {
    padding: 16px 14px 8px;
    margin-top: 28px;
  }
}


/* Unified photo gallery heading with icon */
.parafiia-news-gallery-block {
  margin: 34px 0 18px;
  padding: 18px 20px 12px;
  border: 1px solid var(--ppp-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.parafiia-news-gallery-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ppp-accent);
}

.parafiia-news-gallery-title::before {
  content: "📷";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1;
  flex: 0 0 38px;
}

.parafiia-news-gallery-block .parafiia-news-extra-gallery,
.parafiia-news-gallery-block .wp-block-gallery,
.parafiia-news-gallery-block .gallery {
  margin-top: 16px;
}

@media (max-width: 640px) {
  .parafiia-news-gallery-block {
    padding: 16px 14px 10px;
    margin-top: 28px;
  }

  .parafiia-news-gallery-title::before {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}


/* Runtime gallery heading: visible even when older post markup is used */
.single-post .parafiia-news-gallery-block {
  display: block !important;
}
.single-post .parafiia-news-gallery-title {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Worship schedule table: emphasize date and feast title beautifully. */
.ppp-schedule--archive .ppp-schedule-cell--date {
	background: linear-gradient(180deg, #f8f4ed 0%, #ffffff 100%);
	box-shadow: inset 4px 0 0 var(--ppp-accent);
	color: #1f4d73;
	font-size: clamp(18px, 1.35vw, 21px);
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -0.015em;
}

.ppp-schedule--archive .ppp-schedule-day-title {
	display: block;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(158, 46, 46, .15);
	color: #9e2e2e;
	font-size: clamp(18px, 1.55vw, 22px);
	font-weight: 800;
	line-height: 1.32;
	text-wrap: balance;
}

.ppp-schedule--archive .ppp-schedule-cell--time {
	font-size: clamp(24px, 1.8vw, 30px);
	font-weight: 700;
	color: var(--ppp-accent-dark);
}

@media (max-width: 700px) {
	.ppp-schedule--archive .ppp-schedule-cell--date {
		font-size: 16px;
		line-height: 1.3;
	}

	.ppp-schedule--archive .ppp-schedule-day-title {
		margin-top: 8px;
		padding-top: 8px;
		font-size: 15px;
		line-height: 1.35;
	}
}


/* Match the date and feast-title text size to the service name. */
.ppp-schedule--archive .ppp-schedule-cell--date,
.ppp-schedule--archive .ppp-schedule-day-title {
	font-size: 14px;
}

@media (max-width: 700px) {
	.ppp-schedule--archive .ppp-schedule-cell--date,
	.ppp-schedule--archive .ppp-schedule-day-title {
		font-size: 16px;
	}
}


/* Exact equal text size for date, feast and service name in every schedule table. */
.ppp-schedule .ppp-schedule-cell--date,
.ppp-schedule .ppp-schedule-day-title,
.ppp-schedule .ppp-schedule-service-link {
	font-size: 14px !important;
	line-height: 1.45;
}

@media (max-width: 700px) {
	.ppp-schedule .ppp-schedule-cell--date,
	.ppp-schedule .ppp-schedule-day-title,
	.ppp-schedule .ppp-schedule-service-link {
		font-size: 16px !important;
		line-height: 1.4;
	}
}

/* Remove divider between the date and feast title. */
.ppp-schedule-day-title,
.ppp-schedule--archive .ppp-schedule-day-title {
	border-top: 0 !important;
	padding-top: 0 !important;
}


/* Print button and clean printed worship schedule. */
.ppp-schedule-tools {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 18px;
}

.ppp-schedule-print-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	padding: 10px 17px;
	border: 1px solid var(--ppp-accent);
	border-radius: 9px;
	background: var(--ppp-accent);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.ppp-schedule-print-button:hover,
.ppp-schedule-print-button:focus-visible {
	border-color: var(--ppp-accent-dark);
	background: var(--ppp-accent-dark);
	color: #fff;
	transform: translateY(-1px);
	outline: none;
}

.ppp-schedule-print-icon {
	font-size: 19px;
	line-height: 1;
}

@media (max-width: 560px) {
	.ppp-schedule-tools {
		justify-content: stretch;
	}

	.ppp-schedule-print-button {
		width: 100%;
	}
}

@media print {
	@page {
		size: auto;
		margin: 12mm;
	}

	html,
	body {
		background: #fff !important;
	}

	body * {
		visibility: hidden !important;
	}

	.ppp-print-schedule,
	.ppp-print-schedule * {
		visibility: visible !important;
	}

	.ppp-print-schedule {
		position: absolute;
		inset: 0 auto auto 0;
		width: 100%;
		padding: 0;
		background: #fff;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.ppp-schedule-tools,
	.ppp-schedule-print-button {
		display: none !important;
	}

	.ppp-entry-header {
		margin: 0 0 8mm !important;
		padding: 0 0 4mm !important;
		border-bottom: 1px solid #bbb !important;
	}

	.ppp-entry-title {
		margin: 0 0 2mm !important;
		font-size: 20pt !important;
		color: #000 !important;
	}

	.ppp-entry-header p {
		margin: 0 !important;
		font-size: 10pt !important;
		color: #666 !important;
	}

	.ppp-section--archive-services {
		padding: 0 !important;
		background: #fff !important;
	}

	.ppp-schedule--archive {
		display: block !important;
		border: 1px solid #777 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		background: #fff !important;
	}

	.ppp-schedule--archive .ppp-schedule-row {
		display: grid !important;
		grid-template-columns: 1.25fr .62fr 1.45fr !important;
		grid-template-areas: none !important;
		min-height: 0 !important;
		break-inside: avoid;
		page-break-inside: avoid;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	.ppp-schedule--archive .ppp-schedule-row + .ppp-schedule-row {
		border-top: 1px solid #999 !important;
	}

	.ppp-schedule--archive .ppp-schedule-row--head {
		display: grid !important;
		background: #eee !important;
	}

	.ppp-schedule--archive .ppp-schedule-cell {
		display: block !important;
		padding: 3mm 3.5mm !important;
		border: 0 !important;
		font-size: 10pt !important;
		line-height: 1.3 !important;
		color: #000 !important;
		background: #fff !important;
	}

	.ppp-schedule--archive .ppp-schedule-cell + .ppp-schedule-cell {
		border-left: 1px solid #aaa !important;
	}

	.ppp-schedule--archive .ppp-schedule-cell::before {
		display: none !important;
		content: none !important;
	}

	.ppp-schedule--archive .ppp-schedule-row--head .ppp-schedule-cell {
		font-weight: 800 !important;
		background: #eee !important;
	}

	.ppp-schedule--archive .ppp-schedule-cell--date {
		box-shadow: none !important;
		font-size: 10pt !important;
		font-weight: 700 !important;
		color: #1f4d73 !important;
	}

	.ppp-schedule--archive .ppp-schedule-day-title {
		margin-top: 1.5mm !important;
		padding-top: 0 !important;
		border: 0 !important;
		font-size: 10pt !important;
		font-weight: 700 !important;
		color: #9e2e2e !important;
	}

	.ppp-schedule--archive .ppp-schedule-cell--time,
	.ppp-schedule--archive .ppp-schedule-service-link {
		font-size: 10pt !important;
		color: #000 !important;
	}

	.ppp-service-excerpt {
		margin-top: 1.5mm !important;
		font-size: 9pt !important;
		color: #666 !important;
	}

	a,
	a:visited {
		text-decoration: none !important;
	}
}

/* Final repair for the full worship-schedule page. */
.ppp-section--archive-services {
	padding: 0;
	background: transparent;
}

.ppp-schedule--archive {
	width: 100%;
	max-width: 100%;
	border-radius: 10px;
}

@media (min-width: 701px) {
	.ppp-schedule--archive .ppp-schedule-row {
		display: grid;
		grid-template-columns: minmax(220px, 1.15fr) minmax(100px, .48fr) minmax(260px, 1.55fr);
		align-items: stretch;
		min-height: 64px;
	}

	.ppp-schedule--archive .ppp-schedule-cell {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-width: 0;
		padding: 14px 16px;
		overflow-wrap: anywhere;
	}

	.ppp-schedule--archive .ppp-schedule-row--head .ppp-schedule-cell {
		justify-content: center;
	}
}

.ppp-schedule .ppp-schedule-day-title,
.ppp-schedule--archive .ppp-schedule-day-title {
	margin-top: 2px !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}

@media (max-width: 700px) {
	.ppp-schedule--archive .ppp-schedule-cell {
		flex-direction: column;
	}

	.ppp-schedule--archive .ppp-schedule-day-title {
		margin-top: 2px !important;
	}
}

/* Dedicated print document for the worship schedule. */
.ppp-print-document {
	display: none;
}

@media print {
	@page {
		size: A4 portrait;
		margin: 8mm 8mm;
	}

	html,
	body,
	.ppp-site,
	.ppp-layout,
	.ppp-main,
	.ppp-content,
	.ppp-print-schedule {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
		box-shadow: none !important;
		overflow: visible !important;
		visibility: visible !important;
	}

	body * {
		visibility: visible !important;
	}

	#wpadminbar,
	.ppp-site > header,
	.ppp-site > footer,
	.ppp-layout > .ppp-sidebar,
	.ppp-back-to-top,
	.ppp-screen-schedule {
		display: none !important;
	}

	.ppp-print-schedule {
		position: static !important;
		inset: auto !important;
	}

	.ppp-print-document {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		font-family: Arial, "Helvetica Neue", sans-serif;
		font-size: 10pt;
		color: #111;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.ppp-print-document__header {
		width: 100% !important;
		margin: 0 0 4mm;
		text-align: center;
		break-after: avoid;
		page-break-after: avoid;
	}

	.ppp-print-document__header h1 {
		margin: 0 0 1.5mm;
		font-family: Georgia, "Times New Roman", serif;
		font-size: 18pt;
		font-weight: 700;
		line-height: 1.2;
		color: #111;
	}

	.ppp-print-document__header h2 {
		margin: 0;
		font-family: Georgia, "Times New Roman", serif;
		font-size: 15pt;
		font-weight: 700;
		line-height: 1.2;
		color: #333;
	}

	.ppp-print-table {
		display: table !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto;
		box-sizing: border-box;
		border-collapse: collapse;
		border-spacing: 0;
		table-layout: fixed;
		border: 1px solid #666;
		font-size: 10pt;
		line-height: 1.25;
		color: #111;
	}

	.ppp-print-table__date-column { width: 33%; }
	.ppp-print-table__time-column { width: 12%; }
	.ppp-print-table__service-column { width: 55%; }

	.ppp-print-table thead {
		display: table-header-group !important;
	}

	.ppp-print-table tbody {
		display: table-row-group !important;
	}

	.ppp-print-table tr {
		display: table-row !important;
		break-inside: avoid !important;
		page-break-inside: avoid !important;
	}

	.ppp-print-table th,
	.ppp-print-table td {
		display: table-cell !important;
		box-sizing: border-box;
		padding: 2mm 2.2mm;
		border: 1px solid #888;
		vertical-align: middle;
		text-align: left;
		overflow-wrap: anywhere;
		break-inside: avoid !important;
		page-break-inside: avoid !important;
	}

	.ppp-print-table th {
		padding-top: 1.8mm;
		padding-bottom: 1.8mm;
		background: #ececec !important;
		font-size: 9pt;
		font-weight: 800;
		letter-spacing: .03em;
		text-transform: uppercase;
	}

	.ppp-print-table__date,
	.ppp-print-table__feast,
	.ppp-print-table__service,
	.ppp-print-table__excerpt {
		display: block;
	}

	.ppp-print-table__date,
	.ppp-print-table__service {
		font-size: 10.5pt;
		font-weight: 700;
	}

	.ppp-print-table__feast {
		margin-top: .5mm;
		font-size: 10pt;
		font-weight: 700;
		color: #8f2525 !important;
	}

	.ppp-print-table__time {
		font-size: 10.5pt;
		font-weight: 700;
		text-align: center !important;
		white-space: nowrap;
	}

	.ppp-print-table__excerpt {
		margin-top: .7mm;
		font-size: 8.5pt;
		font-weight: 400;
		line-height: 1.25;
		color: #666 !important;
	}
}


/* Refined printed schedule: compact layout and a subtle parish-logo watermark. */
.ppp-print-watermark {
	display: none;
}

@media print {
	.ppp-print-document {
		position: relative !important;
		isolation: isolate;
	}

	.ppp-print-watermark {
		display: block !important;
		position: fixed !important;
		top: 54% !important;
		left: 50% !important;
		width: 92mm !important;
		height: 92mm !important;
		max-width: 48vw !important;
		max-height: 48vh !important;
		object-fit: contain !important;
		transform: translate(-50%, -50%) !important;
		filter: grayscale(1) !important;
		opacity: .045 !important;
		z-index: 0 !important;
		pointer-events: none !important;
		user-select: none !important;
	}

	.ppp-print-document__header,
	.ppp-print-table {
		position: relative !important;
		z-index: 1 !important;
	}

	.ppp-print-document__header {
		margin-bottom: 3.5mm !important;
	}

	.ppp-print-document__header h1 {
		font-size: 20pt !important;
		line-height: 1.12 !important;
	}

	.ppp-print-document__header h2 {
		font-size: 17pt !important;
		line-height: 1.14 !important;
	}

	.ppp-print-table {
		line-height: 1.22 !important;
	}

	.ppp-print-table th,
	.ppp-print-table td {
		padding: 1.65mm 1.8mm !important;
	}

	.ppp-print-table th {
		padding-top: 1.45mm !important;
		padding-bottom: 1.45mm !important;
	}

	.ppp-print-table__date,
	.ppp-print-table__service {
		line-height: 1.2 !important;
	}

	.ppp-print-table__feast {
		margin-top: .35mm !important;
		line-height: 1.2 !important;
	}

	.ppp-print-table__excerpt {
		margin-top: .55mm !important;
		font-size: 8.5pt !important;
		line-height: 1.22 !important;
		color: #6a6a6a !important;
	}
}


/* Printed schedule: add jurisdiction and centered contact block. */
@media print {
	.ppp-print-document__jurisdiction {
		margin: 6px 0 14px;
		font-size: 12pt;
		font-weight: 500;
		line-height: 1.35;
		text-align: center;
		color: #444 !important;
	}

	.ppp-print-document__header h2 {
		margin-top: 18px;
	}

	.ppp-print-document__footer {
		margin-top: 18px;
		text-align: center;
		position: relative;
		z-index: 1;
	}

	.ppp-print-document__phone,
	.ppp-print-document__site {
		font-size: 12pt;
		line-height: 1.45;
		color: #222 !important;
	}

	.ppp-print-document__site {
		margin-top: 4px;
		font-size: 11pt;
		color: #444 !important;
	}
}


/* Print size enlargement and wider footer spacing. */
@media print {
	.ppp-print-document {
		font-size: 12pt !important;
		line-height: 1.35 !important;
	}

	.ppp-print-document__header {
		margin-bottom: 5mm !important;
	}

	.ppp-print-document__header h1 {
		font-size: 24pt !important;
		line-height: 1.15 !important;
	}

	.ppp-print-document__jurisdiction {
		font-size: 13pt !important;
		line-height: 1.4 !important;
		margin: 8px 0 18px !important;
	}

	.ppp-print-document__header h2 {
		font-size: 19pt !important;
		line-height: 1.18 !important;
		margin-top: 22px !important;
	}

	.ppp-print-table {
		font-size: 12pt !important;
		line-height: 1.3 !important;
	}

	.ppp-print-table th,
	.ppp-print-table td {
		padding: 2.2mm 2.4mm !important;
	}

	.ppp-print-table th {
		font-size: 11pt !important;
	}

	.ppp-print-table__date,
	.ppp-print-table__service,
	.ppp-print-table__time {
		font-size: 12.5pt !important;
		line-height: 1.25 !important;
	}

	.ppp-print-table__feast {
		font-size: 12.5pt !important;
		line-height: 1.22 !important;
		margin-top: .3mm !important;
	}

	.ppp-print-table__excerpt {
		font-size: 9.5pt !important;
		line-height: 1.28 !important;
		color: #777 !important;
		margin-top: .8mm !important;
	}

	.ppp-print-document__footer {
		margin-top: 34px !important;
		padding-top: 8px !important;
		text-align: center !important;
	}

	.ppp-print-document__phone,
	.ppp-print-document__site {
		display: block !important;
		width: 100% !important;
		text-align: center !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.ppp-print-document__phone {
		font-size: 13pt !important;
		line-height: 1.45 !important;
	}

	.ppp-print-document__site {
		font-size: 11.5pt !important;
		line-height: 1.45 !important;
		margin-top: 6px !important;
	}
}


/* Final print refinements: larger overall text, larger titles, bolder phone. */
@media print {
	.ppp-print-document {
		font-size: 12.8pt !important;
		line-height: 1.38 !important;
	}

	.ppp-print-document__header {
		margin-bottom: 6mm !important;
	}

	.ppp-print-document__header h1 {
		font-size: 26pt !important;
		line-height: 1.12 !important;
		font-weight: 700 !important;
	}

	.ppp-print-document__jurisdiction {
		font-size: 14pt !important;
		line-height: 1.4 !important;
		margin: 8px 0 20px !important;
	}

	.ppp-print-document__header h2 {
		font-size: 21pt !important;
		line-height: 1.16 !important;
		margin-top: 24px !important;
	}

	.ppp-print-table {
		font-size: 12pt !important;
		line-height: 1.3 !important;
	}

	.ppp-print-table th {
		font-size: 11pt !important;
	}

	.ppp-print-table__date,
	.ppp-print-table__service,
	.ppp-print-table__time,
	.ppp-print-table__feast {
		font-size: 12.6pt !important;
		line-height: 1.23 !important;
	}

	.ppp-print-table__excerpt {
		font-size: 9.2pt !important;
		line-height: 1.28 !important;
		color: #777 !important;
	}

	.ppp-print-document__footer {
		margin-top: 42px !important;
		padding-top: 10px !important;
		text-align: center !important;
	}

	.ppp-print-document__phone {
		font-size: 14pt !important;
		font-weight: 800 !important;
		line-height: 1.45 !important;
		text-align: center !important;
	}

	.ppp-print-document__site {
		font-size: 12pt !important;
		line-height: 1.45 !important;
		text-align: center !important;
	}
}


/* Print polish: bigger headings, slightly stronger watermark, better A4 fit. */
@media print {
	@page {
		size: A4 portrait;
		margin: 10mm 8mm 12mm;
	}

	.ppp-print-document {
		font-size: 13.2pt !important;
		line-height: 1.4 !important;
	}

	.ppp-print-watermark {
		width: 108mm !important;
		height: 108mm !important;
		opacity: .06 !important;
		top: 56% !important;
	}

	.ppp-print-document__header h1 {
		font-size: 29pt !important;
		line-height: 1.08 !important;
		letter-spacing: .01em !important;
	}

	.ppp-print-document__jurisdiction {
		font-size: 15pt !important;
		margin: 10px 0 24px !important;
	}

	.ppp-print-document__header h2 {
		font-size: 24pt !important;
		line-height: 1.12 !important;
		margin-top: 28px !important;
	}

	.ppp-print-table {
		width: 100% !important;
		max-width: 100% !important;
		table-layout: fixed !important;
		border-collapse: collapse !important;
		font-size: 12.4pt !important;
	}

	.ppp-print-table th,
	.ppp-print-table td {
		padding: 2mm 1.6mm !important;
		vertical-align: top !important;
		overflow-wrap: anywhere !important;
		word-break: normal !important;
	}

	.ppp-print-table th:nth-child(1),
	.ppp-print-table td:nth-child(1) {
		width: 19% !important;
	}

	.ppp-print-table th:nth-child(2),
	.ppp-print-table td:nth-child(2) {
		width: 17% !important;
	}

	.ppp-print-table th:nth-child(3),
	.ppp-print-table td:nth-child(3) {
		width: 29% !important;
	}

	.ppp-print-table th:nth-child(4),
	.ppp-print-table td:nth-child(4) {
		width: 35% !important;
	}

	.ppp-print-table__date,
	.ppp-print-table__service,
	.ppp-print-table__time,
	.ppp-print-table__feast {
		font-size: 12.9pt !important;
		line-height: 1.22 !important;
	}

	.ppp-print-table__feast {
		margin-top: .15mm !important;
	}

	.ppp-print-table__excerpt {
		font-size: 9.4pt !important;
		line-height: 1.27 !important;
		color: #787878 !important;
	}

	.ppp-print-document__footer {
		margin-top: 52px !important;
		padding-top: 16px !important;
		text-align: center !important;
	}

	.ppp-print-document__phone {
		font-size: 15pt !important;
		font-weight: 800 !important;
		text-align: center !important;
	}

	.ppp-print-document__site {
		font-size: 12.5pt !important;
		text-align: center !important;
	}
}


/* Hide mobile schedule field labels */
@media (max-width: 700px) {
	.ppp-schedule-cell::before {
		display: none !important;
		content: none !important;
	}
}


/* Definitive mobile schedule header removal */
@media screen and (max-width: 900px) {
    .ppp-schedule > .ppp-schedule-row--head,
    .ppp-schedule--archive > .ppp-schedule-row--head,
    .ppp-schedule-row.ppp-schedule-row--head {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    .ppp-schedule-row--head .ppp-schedule-cell {
        display: none !important;
    }
}


/* Desktop schedule header refinement */
@media screen and (min-width: 901px) {
	.ppp-schedule > .ppp-schedule-row--head,
	.ppp-schedule--archive > .ppp-schedule-row--head,
	.ppp-schedule-row.ppp-schedule-row--head {
		display: grid !important;
		background: #ebe5db !important;
		color: var(--ppp-primary) !important;
	}

	.ppp-schedule-row--head .ppp-schedule-cell {
		font-size: 13px !important;
		font-weight: 800 !important;
		text-transform: uppercase;
		letter-spacing: .04em;
		color: var(--ppp-primary) !important;
		text-align: center !important;
		align-items: center !important;
		justify-content: center !important;
	}
}


/* Final responsive schedule header rules */
@media screen and (min-width: 901px) {
  .ppp-schedule > .ppp-schedule-row--head,
  .ppp-schedule--archive > .ppp-schedule-row--head,
  .ppp-schedule-row.ppp-schedule-row--head {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #ece7df !important;
    color: var(--ppp-primary) !important;
  }

  .ppp-schedule-row--head .ppp-schedule-cell,
  .ppp-schedule--archive .ppp-schedule-row--head .ppp-schedule-cell {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 16px !important;
    background: transparent !important;
    color: var(--ppp-primary) !important;
    font-family: Arial, "Helvetica Neue", sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: .04em !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }
}

@media screen and (max-width: 900px) {
  .ppp-schedule > .ppp-schedule-row--head,
  .ppp-schedule--archive > .ppp-schedule-row--head,
  .ppp-schedule-row.ppp-schedule-row--head {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  .ppp-schedule-cell::before,
  .ppp-schedule-cell--date::before,
  .ppp-schedule-cell--time::before,
  .ppp-schedule-cell--service::before {
    display: none !important;
    content: none !important;
  }
}


/* Mobile phone fix: hide schedule table header only on phones/touch devices */
@media screen and (max-width: 900px), screen and (hover: none) and (pointer: coarse) {
  .ppp-schedule > .ppp-schedule-row--head,
  .ppp-schedule--archive > .ppp-schedule-row--head,
  .ppp-schedule .ppp-schedule-row:first-child.ppp-schedule-row--head,
  .ppp-schedule-row.ppp-schedule-row--head {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  .ppp-schedule-row--head *,
  .ppp-schedule-row--head .ppp-schedule-cell,
  .ppp-schedule-row--head .ppp-schedule-cell--date,
  .ppp-schedule-row--head .ppp-schedule-cell--time,
  .ppp-schedule-row--head .ppp-schedule-cell--service {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  .ppp-schedule-cell::before,
  .ppp-schedule-cell--date::before,
  .ppp-schedule-cell--time::before,
  .ppp-schedule-cell--service::before {
    display: none !important;
    content: none !important;
  }
}


/* VERIFIED FINAL SCHEDULE HEADER FIX */
/* Desktop: uniform header. Mobile: hide the whole header row. */
@media screen and (min-width: 901px) {
  .ppp-schedule .ppp-schedule-row--head,
  .ppp-schedule--archive .ppp-schedule-row--head {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 56px !important;
    background: #e9e3d9 !important;
    color: #7b1717 !important;
  }

  .ppp-schedule .ppp-schedule-row--head > .ppp-schedule-cell,
  .ppp-schedule--archive .ppp-schedule-row--head > .ppp-schedule-cell {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    background: #e9e3d9 !important;
    color: #7b1717 !important;
    font-family: Arial, "Helvetica Neue", sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
    border-top: 0 !important;
  }

  .ppp-schedule .ppp-schedule-row--head > .ppp-schedule-cell::before,
  .ppp-schedule--archive .ppp-schedule-row--head > .ppp-schedule-cell::before {
    display: none !important;
    content: none !important;
  }
}

@media screen and (max-width: 900px) {
  .ppp-schedule .ppp-schedule-row--head,
  .ppp-schedule--archive .ppp-schedule-row--head {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  .ppp-schedule .ppp-schedule-row--head *,
  .ppp-schedule--archive .ppp-schedule-row--head * {
    display: none !important;
  }
}


/* Print header refinement merged with all previous schedule fixes */
@media print {
	.ppp-print-document__header {
		text-align: left !important;
	}

	.ppp-print-document__brand {
		display: flex !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		gap: 18px !important;
		width: 100% !important;
		margin: 0 !important;
	}

	.ppp-print-document__logo {
		display: block !important;
		width: 70px !important;
		max-width: 70px !important;
		height: auto !important;
		flex: 0 0 70px !important;
		object-fit: contain !important;
		margin: 2px 0 0 !important;
	}

	.ppp-print-document__titles {
		flex: 1 1 auto !important;
		min-width: 0 !important;
	}

	.ppp-print-document__header h1,
	.ppp-print-document__jurisdiction {
		text-align: left !important;
	}

	.ppp-print-document__header h1 {
		margin: 0 0 8px !important;
	}

	.ppp-print-document__jurisdiction {
		margin: 0 !important;
	}

	.ppp-print-document__header h2 {
		margin-top: 18px !important;
	}

	.ppp-print-table th {
		text-align: center !important;
		vertical-align: middle !important;
	}
}


/* Final print layout: preserve watermark/formatting, center title, suppress site chrome. */
@page {
	margin: 12mm;
}

@media print {
	html,
	body {
		margin: 0 !important;
		padding: 0 !important;
	}

	.ppp-print-document__header h2 {
		width: 100% !important;
		margin: 18px 0 14px !important;
		text-align: center !important;
	}

	.ppp-print-table thead th {
		text-align: center !important;
		vertical-align: middle !important;
	}

	.ppp-print-document__footer {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		gap: 20px !important;
	}
}


/* Compact spacing for standard content pages */
.ppp-content {
  padding-top: 30px;
  padding-bottom: 54px;
}

.ppp-content .ppp-entry-title {
  margin-top: 0;
  margin-bottom: 18px;
}

@media (max-width: 560px) {
  .ppp-content {
    padding-top: 22px;
    padding-bottom: 42px;
  }

  .ppp-content .ppp-entry-title {
    margin-bottom: 16px;
  }
}


/* H1 uses the same visual style as H2 on standard content pages */
.ppp-content .ppp-entry-title,
.ppp-entry-content h1 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.24;
  color: var(--ppp-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ppp-line);
  position: relative;
}

.ppp-content .ppp-entry-title::after,
.ppp-entry-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 76px;
  height: 3px;
  background: var(--ppp-accent);
  border-radius: 999px;
}

.ppp-entry-content h1 {
  margin: 1.45em 0 .7em;
}

/* Refined content hierarchy: H2 is smaller than H1 and has no underline */
.ppp-entry-content h2 {
  font-family: Georgia, serif;
  font-size: clamp(24px, 2.35vw, 32px);
  line-height: 1.28;
  color: var(--ppp-primary);
  margin: 1.35em 0 .62em;
  padding-bottom: 0;
  border-bottom: 0;
  position: static;
}

.ppp-entry-content h2::after {
  content: none;
  display: none;
}


/* Final corrections: single-news heading and printed schedule hierarchy. */
.single-post .entry-header {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

@media print {
  .ppp-print-document__header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .ppp-print-document__logo {
    display: block !important;
    margin: 0 auto 7px !important;
  }
  .ppp-print-document__header h1 {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }
  .ppp-print-document__jurisdiction {
    width: 100% !important;
    margin: 3px 0 0 !important;
    text-align: center !important;
  }
  .ppp-print-document__header h2 {
    width: 100% !important;
    margin: 18px 0 14px !important;
    text-align: center !important;
  }
  .ppp-print-document__footer {
    display: block !important;
    margin-top: 16px !important;
    text-align: left !important;
  }
  .ppp-print-document__phone,
  .ppp-print-document__site {
    margin: 3px 0 !important;
  }
  .ppp-print-document__quote {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 20px !important;
    text-align: center !important;
    line-height: 1.35 !important;
  }
  .ppp-print-document__quote span {
    margin-top: 3px !important;
    font-style: italic !important;
  }
}

/* Final centered order for printed schedule */
@media print {
  .ppp-print-document__quote { margin-top: 20px !important; text-align: center !important; }
  .ppp-print-document__footer { display: block !important; margin-top: 14px !important; padding-top: 0 !important; text-align: center !important; }
  .ppp-print-document__phone, .ppp-print-document__site { margin: 3px 0 !important; text-align: center !important; }
}


/* ABSOLUTE FINAL PRINT CENTERING 2026-07-24 */
@media print {
  .ppp-print-document { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; text-align:center !important; }
  .ppp-print-document__header, .ppp-print-document__header h1, .ppp-print-document__header h2, .ppp-print-document__jurisdiction, .ppp-print-document__quote, .ppp-print-document__footer, .ppp-print-document__phone, .ppp-print-document__site { width:100% !important; max-width:none !important; margin-left:auto !important; margin-right:auto !important; text-align:center !important; }
  .ppp-print-document__header { display:block !important; }
  .ppp-print-document__logo { display:block !important; float:none !important; margin:0 auto 7px !important; }
  .ppp-print-document__quote { display:block !important; clear:both !important; margin-top:30px !important; line-height:1.4 !important; }
  .ppp-print-document__quote em, .ppp-print-document__quote span { display:block !important; text-align:center !important; }
  .ppp-print-document__quote span { margin-top:4px !important; }
  .ppp-print-document__footer { display:block !important; margin-top:14px !important; padding-top:0 !important; }
  .ppp-print-document__phone, .ppp-print-document__site { margin-top:4px !important; }
}

/* Final correction: no separator line between the news date and article text. */
.single-post .entry-header,
.single-post .parafiia-news-shell .entry-header,
.single-post .content-area .entry-header {
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
}
/* Home page: no divider between the worship schedule and service cards. */
#schedule.ppp-section {
	border-bottom: 0;
}

/* Home page: compact spacing between the worship schedule and service cards. */
#schedule.ppp-section {
  padding-bottom: 12px;
  border-bottom: 0;
}
#schedule.ppp-section + #services.ppp-section {
  padding-top: 12px;
}

/* Match platform credit typography to the other footer signatures */
.ppp-footer-bottom .parish-platform-credit,
.ppp-footer-bottom .parish-platform-credit * {
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.ppp-footer-bottom .parish-platform-credit a {
  color: inherit !important;
}
