/* Jedlec cinematic header — isolated theme overrides */
:root { --jedlec-gold:#dbb35f; }
body { overflow-x:hidden; }
#masthead.jedlec-site-header { position:absolute!important; inset:0 0 auto; height:84px; z-index:1000; background:linear-gradient(180deg,rgba(7,12,17,.91),rgba(7,12,17,.68))!important; border-bottom:1px solid rgba(255,255,255,.14); color:#fff; }
body.admin-bar #masthead.jedlec-site-header {top:32px;}
#masthead .jedlec-nav-shell {width:min(1810px,calc(100% - 72px));height:100%; margin:auto; display:flex; align-items:center; gap:32px; justify-content:space-between;}
#masthead .jedlec-nav-brand {display:flex; align-items:center; gap:13px; flex:0 0 auto; min-width:0; color:#fff!important; text-decoration:none; font:400 clamp(16px,1.22vw,23px)/1.2 Georgia,serif; letter-spacing:-.25px; white-space:nowrap;}
#masthead .jedlec-nav-brand:hover{color:var(--jedlec-gold)!important;}
#masthead .jedlec-cross{width:34px;height:50px;color:var(--jedlec-gold);flex:none}
#masthead .jedlec-nav-area{flex:1;min-width:0;display:flex;justify-content:flex-end;}
#masthead .nav-wrap {position:static!important;display:flex!important;background:transparent!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;flex:none!important;width:auto!important;box-shadow:none!important;}
#masthead .nav-wrap .main-navigation {display:block;flex:initial;}
#masthead .nav-wrap .main-navigation > ul {display:flex;align-items:center;gap:clamp(11px,1.5vw,29px);flex-wrap:nowrap;}
#masthead .main-navigation ul li {margin:0!important; font-size:clamp(9px,.68vw,12px)!important;line-height:1.4!important;font-weight:700!important;white-space:nowrap;}
#masthead .main-navigation ul li a {font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.25px;color:#f8f7f3!important;padding:32px 0 26px!important;border-bottom:3px solid transparent!important;text-transform:uppercase;text-decoration:none;}
#masthead .main-navigation ul li a:after {display:none!important;}
#masthead .main-navigation ul li.current-menu-item>a,#masthead .main-navigation ul li.current_page_item>a,#masthead .main-navigation ul li a:hover {color:var(--jedlec-gold)!important;border-bottom-color:var(--jedlec-gold)!important;}
#masthead .main-navigation ul ul{background:#141820!important;}
#masthead .main-navigation ul ul li a{padding:13px 18px!important;}
#masthead .jedlec-mobile-toggle,#masthead .jedlec-mobile-menu {display:none;}
/* One cohesive image hero on every page */
header.page-header.parish-hero, .jedlec-home-banner {position:relative!important; isolation:isolate;box-sizing:border-box;min-height:min(760px,88svh); margin:0!important;padding:150px 0 82px!important;display:flex;align-items:center; background-size:cover!important;background-position:center 47%!important;background-repeat:no-repeat!important;color:white;text-align:left!important;font-style:normal!important;font-weight:400!important;}
header.page-header.parish-hero::after, .jedlec-home-banner::after {content:''!important;display:block!important;position:absolute!important;inset:0!important;z-index:-1!important;padding:0!important;background:linear-gradient(90deg,rgba(2,7,9,.87) 0%,rgba(3,7,9,.69) 26%,rgba(5,8,10,.25) 54%,rgba(3,6,9,.12) 100%),linear-gradient(0deg,rgba(3,6,6,.33),transparent 45%)!important;}
header.page-header.parish-hero>.container,.jedlec-hero-container {width:min(1450px,calc(100% - 10%))!important;max-width:1450px!important;margin:auto!important;position:relative;z-index:1;}
.jedlec-hero-content {max-width:790px;text-align:left;}
.jedlec-hero-rule{display:block;background:var(--jedlec-gold);width:110px;height:2px;margin-bottom:26px;}
.jedlec-hero-title {font:400 clamp(44px,4.5vw,80px)/1.03 Georgia,'Times New Roman',serif!important;letter-spacing:-1.5px;color:#fff!important;margin:0 0 22px!important;text-transform:none!important;text-shadow:0 2px 18px rgba(0,0,0,.13);}
.jedlec-hero-title em {display:block;color:var(--jedlec-gold)!important;font-style:normal;}
.jedlec-hero-subtitle{margin:0 0 34px!important;color:#ddd9d2!important;letter-spacing:3.5px;font:500 clamp(11px,1.05vw,17px)/1.6 Arial,sans-serif!important;}
.jedlec-hero-button {display:inline-flex;align-items:center;gap:18px;border:1.5px solid var(--jedlec-gold);border-radius:50px;padding:13px 25px;color:#fff!important;background:rgba(0,0,0,.25);text-decoration:none!important;font:600 14px/1.3 Arial,sans-serif;transition:background .2s, color .2s,transform .2s;}
.jedlec-hero-button:hover,.jedlec-hero-button:focus-visible {background:var(--jedlec-gold);color:#141820!important;transform:translateY(-2px);}
.jedlec-hero-button span{font-size:23px;line-height:15px;}
.jedlec-hero-eyebrow {color:var(--jedlec-gold);letter-spacing:2px;text-transform:uppercase;font:600 13px/1.6 Arial,sans-serif;margin:0 0 13px;}
header.page-header.parish-hero .page-title{color:#fff!important;text-align:left!important;font:400 clamp(38px,4.2vw,68px)/1.1 Georgia,serif!important;margin:0 0 17px!important;}
header.page-header.parish-hero #crumbs,header.page-header.parish-hero .breadcrumb-wrapper{text-align:left!important;color:#efebe7!important;}
header.page-header.parish-hero #crumbs a{font-size:inherit!important;color:var(--jedlec-gold)!important;}
.jedlec-scroll-hint{position:absolute;right:4%;bottom:42px;z-index:2;display:flex;flex-direction:column;gap:8px;align-items:center;color:#fff!important;text-decoration:none!important;font:11px Arial,sans-serif;}
.jedlec-scroll-hint span{display:grid;place-items:center;width:31px;height:52px;border:1px solid rgba(255,255,255,.9);border-radius:20px;font-size:27px;}
.jedlec-home-anchor{scroll-margin-top:20px;}
/* avoid sticky-header duplicate navigation from the parent theme */
#masthead .sticky-header {display:none!important;}
@media(max-width:1450px){#masthead .jedlec-nav-shell{width:calc(100% - 42px);gap:18px} #masthead .jedlec-nav-brand{font-size:17px} #masthead .jedlec-nav-brand .jedlec-brand-place{display:none} #masthead .nav-wrap .main-navigation>ul{gap:14px}}
@media(max-width:1080px){#masthead.jedlec-site-header{height:74px;} #masthead .jedlec-nav-area{display:none!important} #masthead .jedlec-nav-brand .jedlec-brand-place{display:inline} #masthead .jedlec-mobile-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;cursor:pointer;background:transparent;border:1px solid rgba(255,255,255,.4);border-radius:9px;width:46px;height:42px;padding:11px;box-shadow:none;} #masthead .jedlec-mobile-toggle span{height:2px;width:100%;background:#fff;display:block;} #masthead .jedlec-mobile-menu:not([hidden]){display:block!important;position:absolute;top:74px;left:0;right:0;background:rgba(11,16,22,.97);border-bottom:1px solid rgba(219,179,95,.4);padding:12px 24px 23px;max-height:calc(100svh - 74px);overflow-y:auto;} #masthead .jedlec-mobile-menu ul{list-style:none;margin:0;padding:0} #masthead .jedlec-mobile-menu ul ul{margin-left:18px} #masthead .jedlec-mobile-menu a{display:block;color:white;text-decoration:none;padding:12px 5px;font:600 13px Arial,sans-serif;border-bottom:1px solid rgba(255,255,255,.1);} #masthead .jedlec-mobile-menu .current-menu-item>a{color:var(--jedlec-gold)} header.page-header.parish-hero,.jedlec-home-banner{min-height:650px;}}
@media(max-width:600px){#masthead .jedlec-nav-shell{width:calc(100% - 28px)} #masthead .jedlec-nav-brand{font-size:14px;white-space:normal;max-width:calc(100% - 65px)} #masthead .jedlec-cross{width:24px;height:40px} header.page-header.parish-hero,.jedlec-home-banner{min-height:620px;padding-top:125px!important;padding-bottom:65px!important;background-position:60% center!important;} header.page-header.parish-hero>.container,.jedlec-hero-container{width:calc(100% - 38px)!important;} .jedlec-hero-title{font-size:clamp(38px,10vw,56px)!important;letter-spacing:-1px;} .jedlec-hero-subtitle{font-size:11px!important;letter-spacing:2px;margin-bottom:28px!important;} .jedlec-hero-rule{width:80px;margin-bottom:22px;} .jedlec-scroll-hint{display:none;} body.admin-bar #masthead.jedlec-site-header{top:46px}}
@media(prefers-reduced-motion:reduce){.jedlec-hero-button{transition:none}}


/* === JEDLEC: nawigacja wg pierwotnej makiety (15.11.2026) ===========
   Nadpisujemy WYŁĄCZNIE nagłówek. Tło hero i jego kadrowanie pozostają bez zmian. */
#masthead.jedlec-site-header {
    height: 70px !important;
    background: rgba(8, 12, 16, .79) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
}
#masthead .jedlec-nav-shell {
    width: calc(100% - 128px) !important;
    max-width: 1860px !important;
    margin: 0 auto;
    height: 100%;
    gap: 48px !important;
    justify-content: initial;
}
#masthead .jedlec-nav-brand {
    flex: 0 0 auto;
    gap: 15px;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(17px,1.23vw,21px) !important;
    font-weight: 400 !important;
    letter-spacing: -.4px;
    color: #f4f0eb !important;
}
#masthead .jedlec-nav-brand .jedlec-brand-place {display: inline !important;}
#masthead .jedlec-nav-brand::after {
    content: '';
    display: block;
    height: 30px;
    width: 1px;
    margin-left: 48px;
    background: rgba(240,237,229,.31);
}
#masthead .jedlec-cross {width: 31px; height: 46px; color: #e2b84e;}
#masthead .jedlec-nav-area {
    display: flex !important;
    flex: 1 1 0;
    min-width: 0;
    justify-content: stretch;
}
#masthead .nav-wrap {
    flex: 1 1 0 !important;
    width: 100% !important;
    min-width: 0;
    justify-content: stretch !important;
}
#masthead .nav-wrap .main-navigation {flex: 1 1 0 !important; width: 100%; min-width: 0;}
#masthead .nav-wrap .main-navigation > ul {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between;
    width: 100%;
    gap: clamp(12px,1.55vw,26px) !important;
}
#masthead .main-navigation > ul > li {
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(9px,.70vw,11.5px) !important;
    font-weight: 600 !important;
    letter-spacing: .08px;
    line-height: 1.15 !important;
}
#masthead .main-navigation > ul > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 70px;
    padding: 2px 0 0 !important;
    line-height: 1.2 !important;
    border-bottom: 3px solid transparent !important;
    color: #f5f4f1 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: .08px;
}
#masthead .main-navigation > ul > li.current-menu-item > a,
#masthead .main-navigation > ul > li.current_page_item > a,
#masthead .main-navigation > ul > li.current-menu-ancestor > a,
#masthead .main-navigation > ul > li > a:hover,
#masthead .main-navigation > ul > li > a:focus-visible {
    color: #e0b65e !important;
    border-bottom-color: #e0b65e !important;
}
/* Pozioma złota linia jest 12px NAD dolną krawędzią, jak na wzorze. */
#masthead .main-navigation > ul > li > a,
#masthead .main-navigation > ul > li.current-menu-item > a,
#masthead .main-navigation > ul > li.current_page_item > a,
#masthead .main-navigation > ul > li.current-menu-ancestor > a,
#masthead .main-navigation > ul > li > a:hover,
#masthead .main-navigation > ul > li > a:focus-visible {border-bottom-color:transparent!important;}
#masthead .main-navigation > ul > li::after {
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:12px;
    height:3px;
    background:#e0b65e;
    opacity:0;
    pointer-events:none;
    transition:opacity .15s;
}
#masthead .main-navigation > ul > li.current-menu-item::after,
#masthead .main-navigation > ul > li.current_page_item::after,
#masthead .main-navigation > ul > li.current-menu-ancestor::after,
#masthead .main-navigation > ul > li:hover::after,
#masthead .main-navigation > ul > li:focus-within::after{opacity:1;}
#masthead .main-navigation ul ul li a {
    height: auto !important;
    display: block;
    padding: 13px 18px !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
}
#masthead .jedlec-search {
    display: block;
    flex: 0 0 auto;
    position: relative;
    margin-left: 4px;
    padding-left: 22px;
    border-left: 1px solid rgba(240,237,229,.27);
    color: #fff;
    z-index: 10;
}
#masthead .jedlec-search summary {
    display: flex;
    width: 32px;
    height: 34px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    list-style: none;
    color: #f6f5f2;
    transition: color .2s;
}
#masthead .jedlec-search summary::-webkit-details-marker{display:none;}
#masthead .jedlec-search summary:hover,
#masthead .jedlec-search[open] summary{color:#e0b65e;}
#masthead .jedlec-search summary:focus-visible {
    outline: 2px solid #e0b65e;
    outline-offset: 4px;
    border-radius: 3px;
}
#masthead .jedlec-search-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 19px);
    width: min(350px,calc(100vw - 30px));
    padding: 16px;
    background: rgba(9,14,18,.97);
    border: 1px solid rgba(224,182,94,.36);
    border-radius: 4px;
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
}
#masthead .jedlec-search-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 0;
}
#masthead .jedlec-search-form input[type=search] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d7d6d1;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
    color: #202020;
    box-shadow: none;
}
#masthead .jedlec-search-form button {
    flex: 0 0 auto;
    background: #e0b65e;
    color: #151515;
    border: 0;
    border-radius: 3px;
    height: 40px;
    padding: 0 12px;
    font: 600 12px Arial,sans-serif;
    cursor: pointer;
}
#masthead .jedlec-search-form button:hover{background:#f0cc78;}
#masthead .jedlec-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
/* Przy węższych desktopach przełączamy się wcześniej na mobilne menu,
   zamiast ściskać nazwę parafii i wielowierszowo zawijać nawigację. */
@media(max-width: 1320px) {
    #masthead .jedlec-nav-shell {width:calc(100% - 56px) !important;gap:14px !important;}
    #masthead .jedlec-nav-brand::after{display:none;}
    #masthead .jedlec-nav-area{display:none !important;}
    #masthead .jedlec-search{margin-left:auto;}
    #masthead .jedlec-mobile-toggle {
        display:flex;
        flex-direction:column;
        justify-content:center;
        gap:6px;
        flex:0 0 auto;
        background:transparent;
        border:1px solid rgba(255,255,255,.40);
        border-radius:6px;
        width:44px;
        height:40px;
        padding:10px;
        cursor:pointer;
    }
    #masthead .jedlec-mobile-toggle span {height:2px;width:100%;background:#fff;display:block;}
    #masthead .jedlec-mobile-menu:not([hidden]) {
        display:block !important;
        position:absolute;
        top:70px;
        left:0;
        right:0;
        padding:12px 24px 23px;
        max-height:calc(100svh - 70px);
        overflow-y:auto;
        background:rgba(11,16,22,.97);
        border-bottom:1px solid rgba(219,179,95,.40);
    }
    #masthead .jedlec-mobile-menu ul{list-style:none;margin:0;padding:0;}
    #masthead .jedlec-mobile-menu ul ul{margin-left:18px;}
    #masthead .jedlec-mobile-menu a{display:block;color:white;text-decoration:none;padding:12px 5px;font:600 13px Arial,sans-serif;border-bottom:1px solid rgba(255,255,255,.1);}
    #masthead .jedlec-mobile-menu .current-menu-item > a {color:var(--jedlec-gold);}
}
@media(max-width:1080px) {
    #masthead.jedlec-site-header {height:70px !important;}
    #masthead .jedlec-mobile-menu:not([hidden]) {top:70px;}
}
@media(max-width:600px) {
    #masthead .jedlec-nav-shell{width:calc(100% - 28px) !important;gap:10px !important;}
    #masthead .jedlec-nav-brand{font-size:clamp(12px,3.4vw,16px) !important;}
    #masthead .jedlec-cross{width:25px;height:38px;}
    #masthead .jedlec-search{padding-left:9px;border-left:0;margin-left:auto;}
    #masthead .jedlec-search summary{width:30px;}
    #masthead .jedlec-search-panel{right:-52px;}
    #masthead .jedlec-mobile-toggle{width:40px;height:38px;padding:9px;}
}
@media(max-width:390px) {
    #masthead .jedlec-nav-brand{font-size:12px!important;gap:8px;}
    #masthead .jedlec-search{padding-left:0;}
}


/* JEDLEC — animated scroll cue (initial design) — 15.11.2026
   Compatible with both parish-hero (PHP) and home banner (original theme).
   No image or navigation changes. */
header.page-header.parish-hero .jedlec-scroll-hint,
.jedlec-home-banner .jedlec-scroll-hint {
    position: absolute !important;
    right: clamp(22px, 3.85vw, 80px) !important;
    bottom: clamp(28px, 4.5vw, 60px) !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 88px;
    color: #fff !important;
    background: none !important;
    text-decoration: none !important;
    font: 400 12px/1.25 Arial, Helvetica, sans-serif !important;
    text-align: center;
    text-shadow: 0 1px 10px rgba(0,0,0,.65);
    transition: opacity .2s ease;
}
header.page-header.parish-hero .jedlec-scroll-hint span,
.jedlec-home-banner .jedlec-scroll-hint span {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 56px;
    border: 1.5px solid rgba(255,255,255,.92);
    border-radius: 22px;
    background: rgba(6,10,14,.12);
    box-shadow: 0 0 16px rgba(0,0,0,.15);
    color: #fff !important;
    font: 300 27px/1 Arial, Helvetica, sans-serif;
    animation: jedlec-scroll-arrow 1.7s ease-in-out infinite;
}
header.page-header.parish-hero .jedlec-scroll-hint small,
.jedlec-home-banner .jedlec-scroll-hint small {
    display: block;
    color: #fff !important;
    font: 600 11px/1.25 Arial, Helvetica, sans-serif;
    white-space: nowrap;
    letter-spacing: .15px;
}
header.page-header.parish-hero .jedlec-scroll-hint:hover,
.jedlec-home-banner .jedlec-scroll-hint:hover { opacity: .75; }
header.page-header.parish-hero .jedlec-scroll-hint:focus-visible,
.jedlec-home-banner .jedlec-scroll-hint:focus-visible {outline: 2px solid var(--jedlec-gold);outline-offset: 7px;border-radius:4px;}
@keyframes jedlec-scroll-arrow {
    0%,100% { padding-top:0; opacity: .95; }
    50% { padding-top:13px; opacity: .68; }
}
@media (max-width:600px) {
    header.page-header.parish-hero .jedlec-scroll-hint,
    .jedlec-home-banner .jedlec-scroll-hint {
        display:flex !important;
        right: 16px !important;
        bottom: 16px !important;
        min-width: 72px;
        gap: 6px;
    }
    header.page-header.parish-hero .jedlec-scroll-hint span,
    .jedlec-home-banner .jedlec-scroll-hint span {width: 27px;height: 43px;font-size:22px;}
    header.page-header.parish-hero .jedlec-scroll-hint small,
    .jedlec-home-banner .jedlec-scroll-hint small {font-size:10px;}
}
@media (prefers-reduced-motion: no-preference) {
    html:has(.jedlec-scroll-hint) {scroll-behavior:smooth;}
}
@media (prefers-reduced-motion: reduce) {
    header.page-header.parish-hero .jedlec-scroll-hint span,
    .jedlec-home-banner .jedlec-scroll-hint span {animation:none !important;}
}


/* ==========================================================
   JEDLEC MAIN — design continuation under the cinematic hero
   Theme: Blossom Spa | homepage/posts listing only.
   Previous nav, hero and scroll indicator rules above stay intact.
   All posts, thumbnails, categories, links and widgets stay dynamic.
   ========================================================== */
body:is(.blog, .archive, .search):not(.woocommerce) .site-content {
    background:
        radial-gradient(ellipse 660px 700px at -12% 22%, rgba(179,125,46,.14), transparent 74%),
        radial-gradient(ellipse 600px 450px at 101% 80%, rgba(189,137,63,.075), transparent 80%),
        linear-gradient(112deg, #172026 0%, #111c25 54%, #101920 100%);
}
body:is(.blog, .archive, .search):not(.woocommerce) #content-main {
    box-sizing: border-box;
    width: min(1500px, calc(100% - 80px)) !important;
    max-width: 1500px !important;
    padding: clamp(35px,4.2vw,68px) 0 96px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 2.17fr) minmax(300px, 1fr);
    gap: clamp(24px,2.6vw,42px);
    align-items: start;
    float: none !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #content-main::before,
body:is(.blog, .archive, .search):not(.woocommerce) #content-main::after { content: none !important; display: none !important; }
body:is(.blog, .archive, .search):not(.woocommerce) #content-main > #primary,
body:is(.blog, .archive, .search):not(.woocommerce) #content-main > #secondary {
    box-sizing: border-box;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #content-main #main {
    display: block !important;
    min-width: 0;
}
body:is(.blog, .archive, .search):not(.woocommerce) .jedlec-feed-heading {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin: 1px 0 30px;
    color: #f7efe0;
}
body:is(.blog, .archive, .search):not(.woocommerce) .jedlec-feed-accent {
    display: block;
    width: 46px;
    height: 2px;
    margin-top: 22px;
    flex: 0 0 auto;
    background: #dfb75f;
}
body:is(.blog, .archive, .search):not(.woocommerce) .jedlec-feed-heading h2 {
    margin: 0 0 9px !important;
    color: #f5eee1 !important;
    font: 400 clamp(32px,3.2vw,47px)/1.14 Georgia,'Times New Roman',serif !important;
    letter-spacing: -.7px;
}
body:is(.blog, .archive, .search):not(.woocommerce) .jedlec-feed-heading p {
    margin: 0;
    color: #d4c09b;
    font: 600 10px/1.5 Arial,Helvetica,sans-serif;
    letter-spacing: 3.1px;
}
/* Article grid: genuine WordPress entries, never static/dummy cards. */
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: minmax(180px,31%) minmax(0,1fr);
    width: 100% !important;
    margin: 0 0 17px !important;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(215,182,126,.22) !important;
    border-radius: 14px !important;
    background: linear-gradient(108deg,rgba(58,58,55,.78),rgba(26,37,44,.94)) !important;
    box-shadow: 0 14px 32px rgba(0,0,0,.18) !important;
    text-align: left;
    color: #ece8e2;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page):hover,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page):focus-within {
    transform: translateY(-2px);
    border-color: rgba(225,184,93,.58) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.24) !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail {
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    min-height: 192px;
    height: 100%;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    background: #242b2c;
    position: relative;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail > a,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail > a img,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail > .svg-holder,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail img {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail > a {position: absolute; inset:0;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail .category {
    top: 13px !important;
    left: 14px !important;
    right: 10px !important;
    z-index: 3;
    display: block;
    width: max-content;
    max-width: calc(100% - 24px);
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .category a {
    display: inline-block;
    margin: 0 4px 4px 0;
    padding: 5px 10px !important;
    border: 1px solid rgba(237,192,108,.55);
    border-radius: 5px;
    background: linear-gradient(120deg,#8a622b,#b78a47) !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.17);
    font: 700 10px/1.2 Arial,Helvetica,sans-serif;
    color: #fff !important;
    letter-spacing: .35px;
    text-transform: uppercase;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .content-wrap {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    width: 100% !important;
    padding: 22px clamp(19px,2.1vw,32px) !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    text-align: left;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-header,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-footer {width:100%;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title {
    margin: 0 0 10px !important;
    color: #f5eee4 !important;
    font: 400 clamp(22px,1.75vw,29px)/1.16 Georgia,'Times New Roman',serif !important;
    letter-spacing: -.35px;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title a {
    color: inherit !important;
    text-decoration: none !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title a:hover,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title a:focus-visible {color:#e8bd6a !important;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-meta {
    margin: 0 0 9px !important;
    padding: 0;
    color: #d8b46c !important;
    font: 600 12px/1.5 Arial,Helvetica,sans-serif;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-meta a,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-meta svg {
    color: #dbb566 !important;
    fill: currentColor;
    font-style: normal;
    font-weight: 600;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content {
    margin: 0 0 13px !important;
    color: #e6e4de;
    font: 400 clamp(13px,.93vw,16px)/1.55 Arial,Helvetica,sans-serif;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content p {margin:0 0 8px;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content a {color:#e2be75;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-footer { margin: auto 0 0 !important; padding: 0 !important; }
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-footer a.btn-readmore {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 15px;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 9px 16px !important;
    border: 1px solid #d7aa57 !important;
    border-radius: 7px !important;
    background: linear-gradient(125deg,#b88c43,#865c23) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.17);
    transform: none !important;
    text-indent: 0 !important;
    white-space: normal;
    color: #fff !important;
    font: 700 12px/1.3 Arial,Helvetica,sans-serif !important;
    text-decoration: none !important;
    width: auto !important;
    min-height: 0 !important;
    height: auto !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-footer a.btn-readmore::before {content:none!important;display:none!important;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-footer a.btn-readmore::after {
    content:'→' !important;
    position: static !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    color: inherit;
    font: 21px/12px Georgia,serif;
    transform: none !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-footer a.btn-readmore:hover,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-footer a.btn-readmore:focus-visible {
    background: linear-gradient(125deg,#d3a85a,#a17131) !important;
    color: #fff !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .edit-link a {
    display: inline-block;
    margin: 9px 0 0 !important;
    padding: 4px 8px;
    border: 1px solid rgba(225,183,105,.45);
    border-radius: 4px;
    color: #d7b87b !important;
    font: 700 10px/1.4 Arial,Helvetica,sans-serif;
    text-decoration:none;
}
/* All posts share the highlighted, warm paper card from the approved design. */
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) {
    border-color: rgba(238,190,97,.7) !important;
    background: linear-gradient(120deg,#dfc59d 0%,#f6e6cc 45%,#f8ebdc 100%) !important;
    box-shadow: 0 2px 0 rgba(238,191,97,.32),0 18px 38px rgba(0,0,0,.22) !important;
    margin-bottom: 20px !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail {min-height: 250px;background:#b78f60;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .content-wrap {padding: clamp(22px,2.5vw,38px) !important;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title {
    font-size: clamp(25px,2.15vw,36px) !important;
    color: #171a1a !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title a:hover {color:#91642e !important;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content {color: #302b27 !important;font-size:clamp(14px,.98vw,16px);}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content a {color:#91642e;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-meta,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-meta a,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-meta svg {color: #7b562b !important;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .edit-link a {color:#795425 !important;border-color:rgba(121,84,37,.4);}

/* Ensure excerpts remain readable when the theme sets nested text colors. */
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content p,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content span,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content li,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content strong {
    color: #302b27 !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-content a {
    color: #91642e !important;
}

/* Sidebar widgets: keep their contents, links, embeds and behavior. */
body:is(.blog, .archive, .search):not(.woocommerce) #secondary {padding-top: 1px !important;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary > .widget {
    box-sizing: border-box;
    margin: 0 0 16px !important;
    padding: clamp(18px,2vw,28px) !important;
    border: 1px solid rgba(226,196,146,.21);
    border-radius: 15px;
    background: linear-gradient(125deg,rgba(58,60,59,.69),rgba(24,32,38,.92));
    box-shadow: 0 10px 27px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.035);
    color: #f3eee7 !important;
    overflow-wrap: anywhere;
}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget .widget-title,
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .wp-block-heading {
    display: block;
    margin: 0 0 16px !important;
    padding: 0 0 13px !important;
    color: #faf2e4 !important;
    font: 400 clamp(23px,2vw,31px)/1.18 Georgia,'Times New Roman',serif !important;
    letter-spacing: -.25px;
    text-transform: none;
}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget .widget-title::after {
    content:'';
    width: 100%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg,#e6b95d 0%,#d8a84d 67%,rgba(232,179,92,.18) 100%) !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget,
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget p,
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget li,
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget span,
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget strong {color:#eeeae3;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget a {color:#f1e9d8 !important;text-decoration:none;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget a:hover,
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget a:focus-visible {color:#e6bc6e !important;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget svg:not([fill="none"]),
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget i:not([class*="facebook"]) {color: #d9ac58;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget ul li {line-height:1.47;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget_recent_entries ul {counter-reset:jedlec-recent;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget_recent_entries ul li {
    counter-increment:jedlec-recent;
    position:relative;
    padding: 0 0 0 36px !important;
    margin: 0 0 15px !important;
    font: 400 15px/1.48 Arial,Helvetica,sans-serif;
}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget_recent_entries ul li::before {
    content: counter(jedlec-recent) '.' !important;
    position:absolute;
    left:0;
    top:0;
    font:400 26px/1 Georgia,serif;
    color:#dcb060;
}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget_recent_entries ul li:last-child{margin-bottom:0!important;}
/* Archive grouping progressive enhancement: only changes presentation. */
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-groups {display:grid;gap:7px;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year {
    border:1px solid rgba(232,215,183,.14);
    border-radius:9px;
    background: rgba(255,255,255,.04);
    overflow:hidden;
}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year summary {
    display:flex;
    align-items:center;
    gap:12px;
    padding:11px 14px;
    color:#f7ede0;
    cursor:pointer;
    list-style:none;
    font:600 15px/1.3 Arial,Helvetica,sans-serif;
}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year summary::-webkit-details-marker {display:none;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year summary::before{content:'▦';color:#e4b55d;font:23px/1 Arial,Helvetica,sans-serif;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year summary::after {
    content:'⌄';margin-left:auto;color:#e8c07a;font:24px/1 Arial,Helvetica,sans-serif;transform:translateY(-4px);
}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year[open] summary::after{transform:rotate(180deg) translateY(2px);}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year summary:focus-visible{outline:2px solid #e6b65c;outline-offset:-3px;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year ul {list-style:none;margin:0 !important;padding:3px 14px 13px !important;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year li {
    display:block !important;
    padding:8px 0 !important;
    margin:0 !important;
    border-bottom:1px solid rgba(255,255,255,.1);
    font:500 13px/1.35 Arial,Helvetica,sans-serif;
}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year li:last-child{border-bottom:0;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .jedlec-archive-year li a{color:#f2e7d5!important;}
/* Keep social plugin iframe legible; do not restyle inside Facebook iframe. */
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget iframe {max-width:100%;}
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget.widget_text img,
body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget.widget_media_image img {max-width:100%;height:auto;}
/* Original WordPress pagination retains its links. */
body:is(.blog, .archive, .search):not(.woocommerce) #primary .navigation.pagination,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .posts-navigation {margin:36px 0;color:#f3e8d4;}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .navigation.pagination a,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .navigation.pagination span,
body:is(.blog, .archive, .search):not(.woocommerce) #primary .posts-navigation a {
    color:#f7e7cc !important;
    border-color:rgba(221,177,92,.45) !important;
}
body:is(.blog, .archive, .search):not(.woocommerce) #primary .navigation.pagination .current {background:#9a6b30;color:#fff !important;}
@media (max-width:1200px) {
    body:is(.blog, .archive, .search):not(.woocommerce) #content-main {
        width: calc(100% - 44px) !important;
        grid-template-columns: minmax(0,1.72fr) minmax(275px,1fr);
        gap: 22px;
    }
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) {grid-template-columns:minmax(145px,35%) minmax(0,1fr);}
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .content-wrap {padding:19px 20px!important;}
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title{font-size:22px!important;}
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title{font-size:28px!important;}
}
@media (max-width:900px) {
    body:is(.blog, .archive, .search):not(.woocommerce) #content-main {
        display:flex !important;
        flex-direction:column;
        align-items:stretch;
        width: min(710px, calc(100% - 34px)) !important;
        padding: 42px 0 70px !important;
    }
    body:is(.blog, .archive, .search):not(.woocommerce) #content-main > #primary,body:is(.blog, .archive, .search):not(.woocommerce) #content-main > #secondary {width:100% !important;}
    body:is(.blog, .archive, .search):not(.woocommerce) #secondary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
    body:is(.blog, .archive, .search):not(.woocommerce) #secondary > .widget{margin:0 !important;}
}
@media (max-width:600px) {
    body:is(.blog, .archive, .search):not(.woocommerce) #content-main {width:calc(100% - 28px) !important;padding-top:32px !important;}
    body:is(.blog, .archive, .search):not(.woocommerce) .jedlec-feed-heading {gap:12px;margin-bottom:23px;}
    body:is(.blog, .archive, .search):not(.woocommerce) .jedlec-feed-accent{width:24px;margin-top:17px;}
    body:is(.blog, .archive, .search):not(.woocommerce) .jedlec-feed-heading h2{font-size:30px!important;}
    body:is(.blog, .archive, .search):not(.woocommerce) .jedlec-feed-heading p{font-size:9px;letter-spacing:1.75px;}
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) {
        grid-template-columns:1fr !important;
        margin-bottom:14px !important;
    }
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail,
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail {height:195px;min-height:0;}
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .post-thumbnail>a{height:100%;}
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .content-wrap,
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > .content-wrap{padding:21px!important;}
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title{font-size:23px!important;}
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) .entry-title{font-size:26px!important;}
    body:is(.blog, .archive, .search):not(.woocommerce) #secondary{display:block;}
    body:is(.blog, .archive, .search):not(.woocommerce) #secondary > .widget{margin:0 0 14px!important;}
    body:is(.blog, .archive, .search):not(.woocommerce) #secondary .widget .widget-title{font-size:25px!important;}
}
@media (prefers-reduced-motion: reduce) {
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page){transition:none;}
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page):hover{transform:none;}
}


/* =============================================================
   JEDLEC v3 — desktop post images: show the WHOLE featured image.
   Previously object-fit:cover cropped the announcement lettering.
   Only >600px; mobile cards retain their existing appearance.
   ============================================================= */
@media (min-width: 601px) {
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > figure.post-thumbnail {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        height: 100% !important;
        min-height: 230px;
        padding: 58px clamp(13px, 1.3vw, 20px) 24px !important;
        background: linear-gradient(135deg, #efddc0 0%, #e6cfac 100%) !important;
    }

    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > figure.post-thumbnail > a {
        position: relative !important;
        inset: auto !important;
        display: flex !important;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        height: auto !important;
        max-height: 270px;
        aspect-ratio: 8 / 5;
        margin: 0 auto !important;
        overflow: hidden;
        border-radius: 8px;
        background: #f4e5cc;
        box-shadow: 0 5px 18px rgba(86, 60, 27, .13);
    }

    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > figure.post-thumbnail > a > img,
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > figure.post-thumbnail > a > .svg-holder,
    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > figure.post-thumbnail > a > svg {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    body:is(.blog, .archive, .search):not(.woocommerce) #primary .site-main article:is(.post, .page) > figure.post-thumbnail .category {
        top: 17px !important;
        left: clamp(13px, 1.3vw, 20px) !important;
        right: auto !important;
    }
}


/* Jedlec v4: archive, category, tag, author, date and search listings.
   Shares the blog cards + sidebar without modifying the hero or single pages. */
body:is(.archive,.search):not(.woocommerce) #primary .jedlec-feed-heading {
    margin-bottom: 16px;
}
body:is(.archive,.search):not(.woocommerce) #primary .showing-result {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 7px 12px;
    margin: 0 0 25px !important;
    border: 1px solid rgba(220,177,99,.4);
    border-radius: 99px;
    background: rgba(242,225,190,.075);
    color: #e7cd9d !important;
    font: 500 12px/1.45 Arial,Helvetica,sans-serif;
    white-space: normal;
}
body:is(.archive,.search):not(.woocommerce) #primary .no-results {
    box-sizing: border-box;
    padding: clamp(22px,3vw,40px);
    border: 1px solid rgba(227,184,112,.55);
    border-radius: 14px;
    background: linear-gradient(115deg,#f4e1c3,#f9ede0);
    box-shadow: 0 14px 32px rgba(0,0,0,.16);
    color: #2a2725;
}
body:is(.archive,.search):not(.woocommerce) #primary .no-results .entry-title,
body:is(.archive,.search):not(.woocommerce) #primary .no-results p {
    color: #282522 !important;
}
body:is(.archive,.search):not(.woocommerce) #primary .no-results a {
    color: #815522 !important;
}
body:is(.archive,.search):not(.woocommerce) #primary .no-results input[type="search"] {
    max-width: 100%;
}
@media (max-width: 600px) {
    body:is(.archive,.search):not(.woocommerce) #primary .showing-result {
        font-size: 11px;
        margin-bottom: 17px !important;
    }
}


/* ====================================================================
   JEDLEC V5 — PAGES (Galeria, Historia, Kontakt, Standardy i inne)
   Styles are scoped to regular WordPress pages only; existing hero,
   header, navigation, scroll cue, blog cards and archive templates
   above are NOT modified. No content or widgets are hard-coded.
   ==================================================================== */

body.page:not(.home):not(.front-page):not(.woocommerce) .site-content {
    background:
        radial-gradient(ellipse 650px 670px at -13% 20%, rgba(181,133,64,.13), transparent 72%),
        radial-gradient(ellipse 480px 400px at 104% 86%, rgba(196,147,62,.08), transparent 77%),
        linear-gradient(115deg, #172128 0%, #111d25 55%, #101a21 100%);
}
body.page:not(.home):not(.front-page):not(.woocommerce) #content-main {
    box-sizing:border-box;
    display:grid !important;
    grid-template-columns:minmax(0,2.17fr) minmax(295px,1fr);
    gap:clamp(22px,2.7vw,42px);
    align-items:start;
    width:min(1500px,calc(100% - 80px)) !important;
    max-width:1500px !important;
    padding:clamp(35px,4.3vw,68px) 0 96px !important;
    margin:0 auto !important;
    float:none !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #content-main::before,
body.page:not(.home):not(.front-page):not(.woocommerce) #content-main::after {content:none !important;display:none !important;}
body.page:not(.home):not(.front-page):not(.woocommerce) #content-main > #primary,
body.page:not(.home):not(.front-page):not(.woocommerce) #content-main > #secondary {
    box-sizing:border-box;
    float:none !important;
    width:auto !important;
    max-width:none !important;
    min-width:0;
    padding:0 !important;
    margin:0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #content-main:not(:has(> #secondary)) {
    display:block !important;
    max-width:1100px !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #content-main #primary #main {display:block !important;min-width:0;}

/* One warm, readable surface for long WordPress page content. */
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page {
    box-sizing:border-box;
    display:block !important;
    width:100% !important;
    min-width:0;
    margin:0 !important;
    padding:clamp(24px,3vw,45px) !important;
    border:1px solid rgba(237,186,95,.65) !important;
    border-radius:15px !important;
    background:linear-gradient(130deg,#f3e1c5 0%,#f9ede0 35%,#faf4e9 100%) !important;
    box-shadow:0 2px 0 rgba(221,173,85,.22),0 17px 38px rgba(0,0,0,.19) !important;
    color:#272320 !important;
    overflow-wrap:anywhere;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content {
    display:flow-root;
    margin:0 !important;
    color:#2e2926 !important;
    font:400 clamp(16px,1.15vw,18px)/1.77 Arial,Helvetica,sans-serif;
    letter-spacing:0;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(p,li,span,strong,em,div) {
    color:inherit;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content p {
    margin:0 0 1.2em;
    overflow-wrap:anywhere;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(h1,h2,h3,h4,h5,h6) {
    color:#202324 !important;
    font-family:Georgia,'Times New Roman',serif !important;
    font-weight:400 !important;
    line-height:1.25 !important;
    margin:1.4em 0 .65em !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content h1 {font-size:clamp(28px,2.45vw,39px)!important;}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content h2 {font-size:clamp(25px,2vw,34px)!important;}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content h3 {font-size:clamp(22px,1.7vw,29px)!important;}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(h1,h2,h3):first-child {
    margin-top:0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content a {
    color:#855922 !important;
    text-decoration-color:rgba(135,87,33,.35);
    text-underline-offset:3px;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content a:hover,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content a:focus-visible {
    color:#4c351a !important;
    text-decoration-color:currentColor;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(ul,ol) {
    padding-left:1.45em;
    margin:.4em 0 1.35em;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content li {
    padding-left:.15em;
    margin:.3em 0;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content li::marker {color:#a87935;}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(blockquote,.wp-block-quote) {
    margin:1.6em 0;
    padding:15px 22px;
    border-left:3px solid #c49a4f;
    background:rgba(210,173,107,.15);
    color:#383128;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(img,video,iframe) {
    max-width:100%;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(img,video) {height:auto;}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(hr,.wp-block-separator) {
    border-color:rgba(164,116,53,.35);
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(.wp-block-file__button,.wp-element-button,.wp-block-button__link) {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:10px 20px !important;
    background:linear-gradient(120deg,#bc9048,#885e27) !important;
    border:1px solid #d2a55d;
    border-radius:8px;
    color:#fff !important;
    font:700 13px/1.35 Arial,Helvetica,sans-serif !important;
    text-decoration:none !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content :is(.wp-block-file__button,.wp-element-button,.wp-block-button__link):hover {
    background:#744b1d !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-footer .edit-link a {
    display:inline-block;
    padding:5px 11px;
    border:1px solid #bd965d;
    border-radius:4px;
    color:#745126 !important;
    font:700 11px/1.4 Arial,Helvetica,sans-serif;
    text-decoration:none;
}

/* Gallery shortcode and Gutenberg galleries: same photos/links, better grid. */
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px !important;
    margin:0 0 24px !important;
    padding:0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery::before,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery::after {content:none !important;display:none !important;}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery .gallery-item {
    display:block !important;
    box-sizing:border-box;
    float:none !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery .gallery-icon,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery .gallery-icon a {
    display:block !important;
    width:100%;
    height:100%;
    margin:0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery .gallery-icon a,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .wp-block-gallery figure a,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .blocks-gallery-grid figure a {
    overflow:hidden;
    border:1px solid rgba(164,117,48,.3);
    border-radius:10px;
    box-shadow:0 6px 15px rgba(56,39,17,.11);
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery .gallery-icon img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:4/3;
    object-fit:cover;
    border:0 !important;
    border-radius:10px;
    transition:transform .25s ease;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery a:hover img {transform:scale(1.035);}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery .gallery-caption {
    margin:7px 0 0;
    color:#61503b;
    font:400 12px/1.5 Arial,Helvetica,sans-serif;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content :is(.wp-block-gallery,.blocks-gallery-grid) {
    gap:14px !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content :is(.wp-block-gallery,.blocks-gallery-grid) figure img {
    border-radius:9px;
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Existing contact tables, other tables and long policy documents. */
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content table {
    width:100% !important;
    max-width:100%;
    margin:12px 0 26px !important;
    border-collapse:separate !important;
    border-spacing:0;
    border:1px solid rgba(172,129,63,.3) !important;
    border-radius:9px;
    overflow:hidden;
    background:#fffaf2;
    color:#302923 !important;
    font:400 clamp(14px,1vw,17px)/1.55 Arial,Helvetica,sans-serif;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content :is(th,td) {
    padding:13px 16px !important;
    text-align:left;
    vertical-align:top;
    border-color:rgba(171,126,63,.14) !important;
    color:#2d2923 !important;
    overflow-wrap:anywhere;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content table tr:nth-child(even) {background:rgba(218,188,142,.17);}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content table :is(th,thead td) {
    background:linear-gradient(90deg,#b48a4e,#946c33) !important;
    color:#fff !important;
    font-weight:700;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content table :is(th,td) a {color:#80551d !important;}
/* Respect older author-edited first rows used as table section headings. */
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content table tr:first-child > td:only-child {
    background:linear-gradient(90deg,#b48a4e,#946c33) !important;
    color:#fff !important;
    font-weight:700;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .wp-block-file {
    border:1px solid rgba(175,132,67,.28);
    border-radius:8px;
    padding:14px;
    background:rgba(255,255,255,.4);
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content pre {
    max-width:100%;
    overflow:auto;
    background:rgba(63,44,24,.09);
    padding:18px;
    border-radius:8px;
    color:#2d2b29;
}

/* Identical widget treatment as on the blog and archive pages. */
/* Sidebar widgets: keep their contents, links, embeds and behavior. */
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary {padding-top: 1px !important;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary > .widget {
    box-sizing: border-box;
    margin: 0 0 16px !important;
    padding: clamp(18px,2vw,28px) !important;
    border: 1px solid rgba(226,196,146,.21);
    border-radius: 15px;
    background: linear-gradient(125deg,rgba(58,60,59,.69),rgba(24,32,38,.92));
    box-shadow: 0 10px 27px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.035);
    color: #f3eee7 !important;
    overflow-wrap: anywhere;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget .widget-title,
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .wp-block-heading {
    display: block;
    margin: 0 0 16px !important;
    padding: 0 0 13px !important;
    color: #faf2e4 !important;
    font: 400 clamp(23px,2vw,31px)/1.18 Georgia,'Times New Roman',serif !important;
    letter-spacing: -.25px;
    text-transform: none;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget .widget-title::after {
    content:'';
    width: 100%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg,#e6b95d 0%,#d8a84d 67%,rgba(232,179,92,.18) 100%) !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget,
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget p,
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget li,
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget span,
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget strong {color:#eeeae3;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget a {color:#f1e9d8 !important;text-decoration:none;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget a:hover,
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget a:focus-visible {color:#e6bc6e !important;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget svg:not([fill="none"]),
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget i:not([class*="facebook"]) {color: #d9ac58;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget ul li {line-height:1.47;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget_recent_entries ul {counter-reset:jedlec-recent;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget_recent_entries ul li {
    counter-increment:jedlec-recent;
    position:relative;
    padding: 0 0 0 36px !important;
    margin: 0 0 15px !important;
    font: 400 15px/1.48 Arial,Helvetica,sans-serif;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget_recent_entries ul li::before {
    content: counter(jedlec-recent) '.' !important;
    position:absolute;
    left:0;
    top:0;
    font:400 26px/1 Georgia,serif;
    color:#dcb060;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget_recent_entries ul li:last-child{margin-bottom:0!important;}
/* Archive grouping progressive enhancement: only changes presentation. */
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-groups {display:grid;gap:7px;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year {
    border:1px solid rgba(232,215,183,.14);
    border-radius:9px;
    background: rgba(255,255,255,.04);
    overflow:hidden;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year summary {
    display:flex;
    align-items:center;
    gap:12px;
    padding:11px 14px;
    color:#f7ede0;
    cursor:pointer;
    list-style:none;
    font:600 15px/1.3 Arial,Helvetica,sans-serif;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year summary::-webkit-details-marker {display:none;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year summary::before{content:'▦';color:#e4b55d;font:23px/1 Arial,Helvetica,sans-serif;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year summary::after {
    content:'⌄';margin-left:auto;color:#e8c07a;font:24px/1 Arial,Helvetica,sans-serif;transform:translateY(-4px);
}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year[open] summary::after{transform:rotate(180deg) translateY(2px);}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year summary:focus-visible{outline:2px solid #e6b65c;outline-offset:-3px;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year ul {list-style:none;margin:0 !important;padding:3px 14px 13px !important;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year li {
    display:block !important;
    padding:8px 0 !important;
    margin:0 !important;
    border-bottom:1px solid rgba(255,255,255,.1);
    font:500 13px/1.35 Arial,Helvetica,sans-serif;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year li:last-child{border-bottom:0;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .jedlec-archive-year li a{color:#f2e7d5!important;}
/* Keep social plugin iframe legible; do not restyle inside Facebook iframe. */
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget iframe {max-width:100%;}
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget.widget_text img,
body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget.widget_media_image img {max-width:100%;height:auto;}


@media (max-width:1200px) {
  body.page:not(.home):not(.front-page):not(.woocommerce) #content-main {
    width:calc(100% - 44px) !important;
    grid-template-columns:minmax(0,1.72fr) minmax(270px,1fr);
    gap:23px;
  }
}
@media (max-width:900px) {
  body.page:not(.home):not(.front-page):not(.woocommerce) #content-main {
    display:flex !important;
    flex-direction:column;
    align-items:stretch;
    width:min(710px,calc(100% - 34px)) !important;
    padding:40px 0 72px !important;
  }
  body.page:not(.home):not(.front-page):not(.woocommerce) #content-main > #primary,
  body.page:not(.home):not(.front-page):not(.woocommerce) #content-main > #secondary {width:100% !important;}
  body.page:not(.home):not(.front-page):not(.woocommerce) #secondary {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }
  body.page:not(.home):not(.front-page):not(.woocommerce) #secondary > .widget {margin:0 !important;}
}
@media (max-width:600px) {
  body.page:not(.home):not(.front-page):not(.woocommerce) #content-main {
    width:calc(100% - 28px) !important;
    padding-top:27px !important;
    padding-bottom:55px !important;
  }
  body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page {
    padding:21px 18px !important;
    border-radius:12px !important;
  }
  body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content {font-size:15px;line-height:1.72;}
  body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px !important;
  }
  body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content :is(th,td) {padding:11px 10px !important;font-size:13px;}
  body.page:not(.home):not(.front-page):not(.woocommerce) #secondary {display:block;}
  body.page:not(.home):not(.front-page):not(.woocommerce) #secondary > .widget {margin:0 0 14px !important;}
  body.page:not(.home):not(.front-page):not(.woocommerce) #secondary .widget .widget-title {font-size:25px !important;}
}
@media (max-width:390px) {
  body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery {grid-template-columns:1fr 1fr;}
  body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content table {font-size:12px;}
}
@media (prefers-reduced-motion:reduce) {
  body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery img {transition:none;}
  body.page:not(.home):not(.front-page):not(.woocommerce) #primary .entry-content .gallery a:hover img {transform:none;}
}
/* Keep plain, legible output when visitors print long documents. */
@media print {
  body.page:not(.home):not(.front-page):not(.woocommerce) .site-content {background:#fff !important;}
  body.page:not(.home):not(.front-page):not(.woocommerce) #content-main {display:block !important;width:100% !important;padding:0 !important;}
  body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page {
    background:#fff !important;color:#000 !important;border:0 !important;box-shadow:none !important;padding:0 !important;
  }
  body.page:not(.home):not(.front-page):not(.woocommerce) #secondary, body.page:not(.home):not(.front-page):not(.woocommerce) .jedlec-scroll-hint {display:none !important;}
}

/* =========================================================
   Jedlec single post redesign
   Keeps existing functionality, refreshes the look of post pages.
   ========================================================= */
/* The single-post church image must use the same visible area as the home hero. */
body.single-post:not(.woocommerce) .parish-hero {
    min-height: min(760px, 88svh);
}
/* Avoid adding a second full-height content box inside the already padded hero. */
body.single-post:not(.woocommerce) .parish-hero > .container {
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:0;
    padding-top:0;
    padding-bottom:0;
}
body.single-post:not(.woocommerce) .parish-hero .jedlec-hero-content {
    margin-bottom:14px;
}
body.single-post:not(.woocommerce) .parish-hero .page-title {
    max-width:min(1100px, 92%);
    margin:10px 0 12px !important;
    color:#fff !important;
    font:400 clamp(42px,4.8vw,76px)/1.05 Georgia,'Times New Roman',serif !important;
    letter-spacing:-1.35px;
    text-wrap:balance;
}
body.single-post:not(.woocommerce) .parish-hero .entry-meta {
    display:flex;
    flex-wrap:wrap;
    gap:10px 18px;
    margin:0 0 14px;
    color:#f7efdf;
    font:700 14px/1.4 Arial,Helvetica,sans-serif;
}
body.single-post:not(.woocommerce) .parish-hero .entry-meta > span,
body.single-post:not(.woocommerce) .parish-hero .entry-meta a {color:inherit !important;}
body.single-post:not(.woocommerce) .parish-hero .cat-links,
body.single-post:not(.woocommerce) .parish-hero .cat-links a {
    color:#e5bb66 !important;
    font:700 13px/1.35 Arial,Helvetica,sans-serif;
    letter-spacing:.16em;
    text-transform:uppercase;
    text-decoration:none;
}
body.single-post:not(.woocommerce) .parish-hero .breadcrumb-wrapper {margin:10px 0 0 !important;}
body.single-post:not(.woocommerce) .parish-hero .breadcrumb-wrapper .container {padding:0;min-height:auto;display:block;}
body.single-post:not(.woocommerce) .parish-hero #crumbs,
body.single-post:not(.woocommerce) .parish-hero #crumbs a,
body.single-post:not(.woocommerce) .parish-hero #crumbs .current {color:#e9bc62 !important;}
body.single-post:not(.woocommerce) .parish-hero #crumbs {
    font:500 14px/1.55 Arial,Helvetica,sans-serif;
    max-width:min(1000px, 94%);
}

body.single-post:not(.woocommerce) #content-main {
    box-sizing:border-box;
    display:grid !important;
    grid-template-columns:minmax(0,2.14fr) minmax(295px,1fr);
    gap:clamp(22px,2.7vw,42px);
    align-items:start;
    width:min(1500px,calc(100% - 80px)) !important;
    max-width:1500px !important;
    padding:clamp(35px,4.3vw,68px) 0 96px !important;
    margin:0 auto !important;
    float:none !important;
}
body.single-post:not(.woocommerce) #content-main::before,
body.single-post:not(.woocommerce) #content-main::after {content:none !important;display:none !important;}
body.single-post:not(.woocommerce) #content-main > #primary,
body.single-post:not(.woocommerce) #content-main > #secondary {
    box-sizing:border-box;
    float:none !important;
    width:auto !important;
    max-width:none !important;
    min-width:0;
    padding:0 !important;
    margin:0 !important;
}
body.single-post:not(.woocommerce) #primary #main {display:block !important;min-width:0;}

body.single-post:not(.woocommerce) .jedlec-single-card {
    box-sizing:border-box;
    display:block;
    margin:0 !important;
    padding:clamp(24px,3vw,42px) !important;
    border:1px solid rgba(237,186,95,.65) !important;
    border-radius:18px !important;
    background:linear-gradient(130deg,#f3e1c5 0%,#f7ebdc 42%,#fbf5ea 100%) !important;
    box-shadow:0 2px 0 rgba(221,173,85,.22),0 18px 38px rgba(0,0,0,.18) !important;
    color:#272320 !important;
    overflow:hidden;
}
body.single-post:not(.woocommerce) .jedlec-single-card__meta {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0 0 18px;
}
body.single-post:not(.woocommerce) .jedlec-single-chip {
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:36px;
    padding:7px 13px;
    border:1px solid rgba(181,133,65,.28);
    border-radius:999px;
    background:rgba(255,255,255,.46);
    color:#795225;
    font:700 12px/1.3 Arial,Helvetica,sans-serif;
    letter-spacing:.07em;
    text-transform:uppercase;
    text-decoration:none;
}
body.single-post:not(.woocommerce) .jedlec-single-chip--category:hover,
body.single-post:not(.woocommerce) .jedlec-single-chip--category:focus-visible {
    background:rgba(181,133,65,.15);
    color:#523516;
}
body.single-post:not(.woocommerce) .jedlec-single-chip--date::before {content:'◷';font-size:15px;line-height:1;}
body.single-post:not(.woocommerce) .jedlec-single-intro {
    margin:0 0 24px;
    padding:18px 20px;
    border-left:4px solid #c7954b;
    border-radius:12px;
    background:rgba(203,156,84,.14);
}
body.single-post:not(.woocommerce) .jedlec-single-intro p {
    margin:0;
    color:#3d352d;
    font:400 clamp(17px,1.2vw,20px)/1.75 Georgia,'Times New Roman',serif;
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content {
    display:flow-root;
    margin:0 !important;
    color:#2e2926 !important;
    font:400 clamp(16px,1.15vw,18px)/1.82 Arial,Helvetica,sans-serif;
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content > :first-child {margin-top:0 !important;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content > :last-child {margin-bottom:0 !important;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(p,li,span,strong,em,div) {color:inherit;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content p {margin:0 0 1.22em;overflow-wrap:anywhere;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(h1,h2,h3,h4,h5,h6) {
    color:#1f2123 !important;
    font-family:Georgia,'Times New Roman',serif !important;
    font-weight:400 !important;
    line-height:1.18 !important;
    margin:1.45em 0 .65em !important;
    text-wrap:balance;
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content h1 {font-size:clamp(28px,2.5vw,40px)!important;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content h2 {font-size:clamp(25px,2.05vw,34px)!important;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content h3 {font-size:clamp(22px,1.72vw,29px)!important;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(h1,h2,h3):first-child {margin-top:0 !important;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content a {
    color:#855922 !important;
    text-decoration-color:rgba(135,87,33,.35);
    text-underline-offset:3px;
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content a:hover,
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content a:focus-visible {color:#4c351a !important;text-decoration-color:currentColor;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(ul,ol) {padding-left:1.45em;margin:.4em 0 1.35em;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content li {padding-left:.15em;margin:.35em 0;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content li::marker {color:#a87935;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(blockquote,.wp-block-quote) {
    margin:1.6em 0;
    padding:16px 22px;
    border-left:3px solid #c49a4f;
    border-radius:12px;
    background:rgba(210,173,107,.15);
    color:#383128;
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(img,video,iframe) {max-width:100%;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(img,video) {height:auto;border-radius:12px;}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(hr,.wp-block-separator) {border-color:rgba(164,116,53,.35);}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(.wp-block-file__button,.wp-element-button,.wp-block-button__link) {
    display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 20px !important;
    background:linear-gradient(120deg,#bc9048,#885e27) !important;border:1px solid #d2a55d;border-radius:8px;
    color:#fff !important;font:700 13px/1.35 Arial,Helvetica,sans-serif !important;text-decoration:none !important;
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content table {
    width:100% !important;max-width:100%;margin:12px 0 26px !important;border-collapse:separate !important;border-spacing:0;
    border:1px solid rgba(172,129,63,.3) !important;border-radius:9px;overflow:hidden;background:#fffaf2;color:#302923 !important;
    font:400 clamp(14px,1vw,17px)/1.55 Arial,Helvetica,sans-serif;
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content :is(th,td) {
    padding:13px 16px !important;text-align:left;vertical-align:top;border-color:rgba(171,126,63,.14) !important;
    color:#2d2923 !important;overflow-wrap:anywhere;
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content table tr:nth-child(even) {background:rgba(218,188,142,.17);}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content table :is(th,thead td),
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content table tr:first-child > td:only-child {
    background:linear-gradient(90deg,#b48a4e,#946c33) !important;color:#fff !important;font-weight:700;
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content .wp-block-file {
    border:1px solid rgba(175,132,67,.28);border-radius:8px;padding:14px;background:rgba(255,255,255,.4);
}
body.single-post:not(.woocommerce) .jedlec-single-card .entry-content pre {
    max-width:100%;overflow:auto;background:rgba(63,44,24,.09);padding:18px;border-radius:8px;color:#2d2b29;
}

body.single-post:not(.woocommerce) .jedlec-single-actions {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
    gap:14px 18px;
    margin:28px 0 0;
    padding-top:22px;
    border-top:1px solid rgba(159,117,58,.2);
}
body.single-post:not(.woocommerce) .jedlec-btn,
body.single-post:not(.woocommerce) .jedlec-inline-action {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:46px;
    padding:11px 18px;
    border-radius:999px;
    font:700 13px/1.2 Arial,Helvetica,sans-serif;
    text-decoration:none;
    letter-spacing:.04em;
    transition:transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
body.single-post:not(.woocommerce) .jedlec-btn--ghost {
    border:1px solid rgba(166,119,56,.32);
    background:rgba(255,255,255,.56);
    color:#654222;
}
body.single-post:not(.woocommerce) .jedlec-btn--ghost:hover,
body.single-post:not(.woocommerce) .jedlec-btn--ghost:focus-visible {transform:translateY(-1px);background:#fff;color:#4e3117;}
body.single-post:not(.woocommerce) .jedlec-single-actions__right {display:flex;flex-wrap:wrap;gap:10px;}
body.single-post:not(.woocommerce) .jedlec-inline-action {
    border:1px solid #c89c57;
    background:linear-gradient(120deg,#b88841,#8d5d24);
    color:#fff;
    box-shadow:0 10px 20px rgba(95,63,25,.13);
    cursor:pointer;
}
body.single-post:not(.woocommerce) .jedlec-inline-action:hover,
body.single-post:not(.woocommerce) .jedlec-inline-action:focus-visible {transform:translateY(-1px);background:#774a18;color:#fff;}
body.single-post:not(.woocommerce) .jedlec-single-edit {margin-top:14px;}
body.single-post:not(.woocommerce) .jedlec-single-edit a {
    display:inline-block;padding:5px 11px;border:1px solid #bd965d;border-radius:4px;color:#745126 !important;
    font:700 11px/1.4 Arial,Helvetica,sans-serif;text-decoration:none;
}

body.single-post:not(.woocommerce) .jedlec-related-posts {
    margin-top:28px;
}
body.single-post:not(.woocommerce) .jedlec-section-heading {
    display:flex;
    align-items:center;
    gap:16px;
    margin:0 0 18px;
}
body.single-post:not(.woocommerce) .jedlec-section-heading h2 {
    margin:0;
    color:#f7f0e4;
    font:400 clamp(28px,2.3vw,40px)/1.1 Georgia,'Times New Roman',serif;
}
body.single-post:not(.woocommerce) .jedlec-section-heading__rule {
    flex:1;
    height:1px;
    background:linear-gradient(90deg,rgba(228,184,94,.95),rgba(228,184,94,.1));
}
body.single-post:not(.woocommerce) .jedlec-related-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
body.single-post:not(.woocommerce) .jedlec-related-card {
    display:grid;
    grid-template-columns:minmax(160px,210px) minmax(0,1fr) auto;
    gap:18px;
    align-items:stretch;
    margin:0 !important;
    padding:16px !important;
    border:1px solid rgba(226,196,146,.21);
    border-radius:16px !important;
    background:linear-gradient(125deg,rgba(58,60,59,.68),rgba(24,32,38,.92)) !important;
    box-shadow:0 10px 27px rgba(0,0,0,.17), inset 0 1px 0 rgba(255,255,255,.035) !important;
}
body.single-post:not(.woocommerce) .jedlec-related-card__thumb {
    display:block;
    min-height:145px;
    border-radius:12px;
    overflow:hidden;
    border:1px solid rgba(232,196,132,.2);
    background:rgba(255,255,255,.06);
}
body.single-post:not(.woocommerce) .jedlec-related-card__thumb img {
    width:100%;height:100%;object-fit:cover;display:block;
}
body.single-post:not(.woocommerce) .jedlec-related-card__thumb-fallback {
    display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:145px;color:#e7dbc7;font:700 13px/1.4 Arial,Helvetica,sans-serif;
}
body.single-post:not(.woocommerce) .jedlec-related-card__content {display:flex;flex-direction:column;justify-content:center;min-width:0;}
body.single-post:not(.woocommerce) .jedlec-related-card__title {
    margin:0 0 10px;
    font:400 clamp(24px,1.95vw,34px)/1.12 Georgia,'Times New Roman',serif;
}
body.single-post:not(.woocommerce) .jedlec-related-card__title a {color:#f7f0e3 !important;text-decoration:none;}
body.single-post:not(.woocommerce) .jedlec-related-card__title a:hover {color:#e7bc6b !important;}
body.single-post:not(.woocommerce) .jedlec-related-card__meta {color:#dfbf7d;font:700 12px/1.4 Arial,Helvetica,sans-serif;letter-spacing:.06em;text-transform:uppercase;}
body.single-post:not(.woocommerce) .jedlec-related-card__arrow {
    align-self:center;
    display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;border-radius:999px;border:1px solid rgba(228,186,96,.55);
    color:#f0cf8f !important;text-decoration:none;font:400 26px/1 Arial,Helvetica,sans-serif;
}
body.single-post:not(.woocommerce) .jedlec-related-card__arrow:hover {background:rgba(228,186,96,.12);}

body.single-post:not(.woocommerce) .jedlec-comments-wrap {
    margin-top:28px;
    padding:clamp(20px,2.4vw,32px);
    border:1px solid rgba(226,196,146,.21);
    border-radius:16px;
    background:linear-gradient(125deg,rgba(58,60,59,.68),rgba(24,32,38,.92));
    color:#f0e8dc;
}
body.single-post:not(.woocommerce) .jedlec-comments-wrap .comments-title,
body.single-post:not(.woocommerce) .jedlec-comments-wrap .comment-reply-title {
    color:#f8f1e6 !important;
    font:400 clamp(26px,2vw,36px)/1.12 Georgia,'Times New Roman',serif !important;
}
body.single-post:not(.woocommerce) .jedlec-comments-wrap a {color:#f2d18d !important;}
body.single-post:not(.woocommerce) .jedlec-comments-wrap input,
body.single-post:not(.woocommerce) .jedlec-comments-wrap textarea {
    border:1px solid rgba(233,200,141,.26);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;
}
body.single-post:not(.woocommerce) .jedlec-comments-wrap input[type='submit'] {
    display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 18px;border-radius:999px;
    background:linear-gradient(120deg,#b88841,#8d5d24);border:1px solid #c89c57;color:#fff !important;font:700 13px/1.2 Arial,Helvetica,sans-serif;
}

body.single-post:not(.woocommerce) #secondary {padding-top:1px !important;}
body.single-post:not(.woocommerce) #secondary > .widget {
    box-sizing:border-box;
    margin:0 0 16px !important;
    padding:clamp(18px,2vw,28px) !important;
    border:1px solid rgba(226,196,146,.21);
    border-radius:15px;
    background:linear-gradient(125deg,rgba(58,60,59,.69),rgba(24,32,38,.92));
    box-shadow:0 10px 27px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.035);
    color:#f3eee7 !important;
    overflow-wrap:anywhere;
}
body.single-post:not(.woocommerce) #secondary .widget .widget-title,
body.single-post:not(.woocommerce) #secondary .wp-block-heading {
    display:block;margin:0 0 16px !important;padding:0 0 13px !important;color:#faf2e4 !important;
    font:400 clamp(23px,2vw,31px)/1.18 Georgia,'Times New Roman',serif !important;letter-spacing:-.25px;text-transform:none;
}
body.single-post:not(.woocommerce) #secondary .widget .widget-title::after {
    content:'';width:100%;height:2px;left:0;bottom:0;background:linear-gradient(90deg,#e6b95d 0%,#d8a84d 67%,rgba(232,179,92,.18) 100%) !important;
}
body.single-post:not(.woocommerce) #secondary .widget,
body.single-post:not(.woocommerce) #secondary .widget p,
body.single-post:not(.woocommerce) #secondary .widget li,
body.single-post:not(.woocommerce) #secondary .widget span,
body.single-post:not(.woocommerce) #secondary .widget strong {color:#eeeae3;}
body.single-post:not(.woocommerce) #secondary .widget a {color:#f1e9d8 !important;text-decoration:none;}
body.single-post:not(.woocommerce) #secondary .widget a:hover,
body.single-post:not(.woocommerce) #secondary .widget a:focus-visible {color:#e6bc6e !important;}
body.single-post:not(.woocommerce) #secondary .widget svg:not([fill='none']),
body.single-post:not(.woocommerce) #secondary .widget i:not([class*='facebook']) {color:#d9ac58;}
body.single-post:not(.woocommerce) #secondary .widget ul li {line-height:1.47;}
body.single-post:not(.woocommerce) #secondary .widget_recent_entries ul {counter-reset:jedlec-recent;}
body.single-post:not(.woocommerce) #secondary .widget_recent_entries ul li {
    counter-increment:jedlec-recent;position:relative;padding:0 0 0 36px !important;margin:0 0 15px !important;font:400 15px/1.48 Arial,Helvetica,sans-serif;
}
body.single-post:not(.woocommerce) #secondary .widget_recent_entries ul li::before {
    content:counter(jedlec-recent) '.' !important;position:absolute;left:0;top:0;font:400 26px/1 Georgia,serif;color:#dcb060;
}
body.single-post:not(.woocommerce) #secondary .widget_recent_entries ul li:last-child {margin-bottom:0!important;}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-groups {display:grid;gap:7px;}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year {
    border:1px solid rgba(232,215,183,.14);border-radius:9px;background:rgba(255,255,255,.04);overflow:hidden;
}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year summary {
    display:flex;align-items:center;gap:12px;padding:11px 14px;color:#f7ede0;cursor:pointer;list-style:none;font:600 15px/1.3 Arial,Helvetica,sans-serif;
}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year summary::-webkit-details-marker {display:none;}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year summary::before {content:'▦';color:#e4b55d;font:23px/1 Arial,Helvetica,sans-serif;}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year summary::after {content:'⌄';margin-left:auto;color:#e8c07a;font:24px/1 Arial,Helvetica,sans-serif;transform:translateY(-4px);}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year[open] summary::after {transform:rotate(180deg) translateY(2px);}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year summary:focus-visible {outline:2px solid #e6b65c;outline-offset:-3px;}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year ul {list-style:none;margin:0 !important;padding:3px 14px 13px !important;}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year li {display:block !important;padding:8px 0 !important;margin:0 !important;border-bottom:1px solid rgba(255,255,255,.1);font:500 13px/1.35 Arial,Helvetica,sans-serif;}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year li:last-child {border-bottom:0;}
body.single-post:not(.woocommerce) #secondary .jedlec-archive-year li a {color:#f2e7d5!important;}
body.single-post:not(.woocommerce) #secondary .widget iframe {max-width:100%;}
body.single-post:not(.woocommerce) #secondary .widget.widget_text img,
body.single-post:not(.woocommerce) #secondary .widget.widget_media_image img {max-width:100%;height:auto;}

@media (max-width:1200px) {
  body.single-post:not(.woocommerce) #content-main {
    width:calc(100% - 44px) !important;
    grid-template-columns:minmax(0,1.72fr) minmax(270px,1fr);
    gap:23px;
  }
}
@media (max-width:1000px) {
  body.single-post:not(.woocommerce) .jedlec-related-grid {grid-template-columns:1fr;}
  body.single-post:not(.woocommerce) .jedlec-related-card {grid-template-columns:minmax(140px,190px) minmax(0,1fr) auto;}
}
@media (max-width:900px) {
  body.single-post:not(.woocommerce) #content-main {
    display:flex !important;
    flex-direction:column;
    align-items:stretch;
    width:min(710px,calc(100% - 34px)) !important;
    padding:40px 0 72px !important;
  }
  body.single-post:not(.woocommerce) #content-main > #primary,
  body.single-post:not(.woocommerce) #content-main > #secondary {width:100% !important;}
  body.single-post:not(.woocommerce) #secondary {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;
  }
  body.single-post:not(.woocommerce) .parish-hero .page-title {max-width:100%;font-size:clamp(34px,8vw,56px) !important;}
}
@media (max-width:700px) {
  body.single-post:not(.woocommerce) .jedlec-related-card {
    grid-template-columns:1fr;
    gap:14px;
  }
  body.single-post:not(.woocommerce) .jedlec-related-card__arrow {justify-self:flex-start;}
}
@media (max-width:600px) {
  body.single-post:not(.woocommerce) #content-main {
    width:calc(100% - 28px) !important;
    padding-top:27px !important;
    padding-bottom:55px !important;
  }
  body.single-post:not(.woocommerce) .jedlec-single-card {
    padding:21px 18px !important;
    border-radius:14px !important;
  }
  body.single-post:not(.woocommerce) .jedlec-single-card .entry-content {font-size:15px;line-height:1.74;}
  body.single-post:not(.woocommerce) .jedlec-single-actions {align-items:stretch;}
  body.single-post:not(.woocommerce) .jedlec-single-actions__right {width:100%;}
  body.single-post:not(.woocommerce) .jedlec-single-actions__right > * {flex:1 1 180px;}
  body.single-post:not(.woocommerce) #secondary {display:block;}
  body.single-post:not(.woocommerce) #secondary > .widget {margin:0 0 14px !important;}
  body.single-post:not(.woocommerce) #secondary .widget .widget-title {font-size:25px !important;}
}
@media print {
  body.single-post:not(.woocommerce) .site-content {background:#fff !important;}
  body.single-post:not(.woocommerce) .site-header,
  body.single-post:not(.woocommerce) .parish-hero,
  body.single-post:not(.woocommerce) #secondary,
  body.single-post:not(.woocommerce) .jedlec-related-posts,
  body.single-post:not(.woocommerce) .jedlec-comments-wrap,
  body.single-post:not(.woocommerce) .jedlec-scroll-hint,
  body.single-post:not(.woocommerce) .site-footer,
  body.single-post:not(.woocommerce) #content-main {display:block !important;width:100% !important;padding:0 !important;}
  body.single-post:not(.woocommerce) .jedlec-single-card {
    background:#fff !important;color:#000 !important;border:0 !important;box-shadow:none !important;padding:0 !important;
  }
  body.single-post:not(.woocommerce) .jedlec-single-actions,
  body.single-post:not(.woocommerce) .jedlec-single-edit {display:none !important;}
}

/* ===============================================================
   JEDLEC V7: single post aligned with homepage Dark & Gold.
   Fix the missing dark site background and bring related cards
   back to the exact warm cream palette used for the homepage.
   Header, hero, navigation and other page types are unchanged.
   =============================================================== */
body.single-post:not(.woocommerce) #content.site-content {
  background:
    radial-gradient(ellipse 660px 700px at -12% 22%,rgba(179,125,46,.14),transparent 74%),
    radial-gradient(ellipse 600px 450px at 101% 80%,rgba(189,137,63,.075),transparent 80%),
    linear-gradient(112deg,#172026 0%,#111c25 54%,#101920 100%) !important;
  color:#eee7db;
}
body.single-post:not(.woocommerce) #content-main,
body.single-post:not(.woocommerce) #primary,
body.single-post:not(.woocommerce) #primary > #main {
  background:transparent !important;
}
/* One uninterrupted cream reading card, not nested theme-style panels. */
body.single-post:not(.woocommerce) #primary .jedlec-single-card {
  border:1px solid rgba(237,186,95,.65) !important;
  background:linear-gradient(130deg,#f3e1c5 0%,#f9ede0 35%,#faf4e9 100%) !important;
  box-shadow:0 2px 0 rgba(221,173,85,.22),0 17px 38px rgba(0,0,0,.19) !important;
}
body.single-post:not(.woocommerce) #primary .jedlec-single-card > .entry-content {
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  width:100% !important;
  max-width:100%;
}
/* Heading should be visible against the now-dark page canvas. */
body.single-post:not(.woocommerce) .jedlec-section-heading h2 {
  color:#f7f0e4 !important;
  font-size:clamp(27px,2.1vw,36px) !important;
  line-height:1.2 !important;
  letter-spacing:-.3px;
}
/* Related posts use the same warm, gold-bordered cards as the post list. */
body.single-post:not(.woocommerce) .jedlec-related-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card {
  display:grid !important;
  grid-template-columns:clamp(112px,9vw,148px) minmax(0,1fr) 28px !important;
  align-items:center;
  gap:14px;
  min-height:145px;
  padding:12px !important;
  border:1px solid rgba(237,186,95,.65) !important;
  border-radius:15px !important;
  background:linear-gradient(130deg,#f3e1c5 0%,#f9ede0 45%,#faf4e9 100%) !important;
  box-shadow:0 2px 0 rgba(221,173,85,.22),0 12px 28px rgba(0,0,0,.19) !important;
  color:#2d271f !important;
  overflow:hidden;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__thumb {
  width:100%;
  height:118px;
  min-height:0;
  overflow:hidden;
  border-radius:9px;
  border:1px solid rgba(162,116,54,.23);
  background:#eae0cf;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__thumb img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__thumb-fallback {
  min-height:0;
  height:100%;
  color:#815e33;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__content {
  min-width:0;
  justify-content:center;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__title {
  margin:0 0 10px !important;
  color:#242322 !important;
  font:400 clamp(17px,1.15vw,21px)/1.24 Georgia,'Times New Roman',serif !important;
  letter-spacing:-.25px;
  overflow-wrap:anywhere;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__title a {
  color:#242322 !important;
  text-decoration:none !important;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__title a:hover,
body.single-post:not(.woocommerce) #primary .jedlec-related-card__title a:focus-visible {
  color:#90602a !important;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__meta {
  color:#865c2c !important;
  font:700 11px/1.35 Arial,Helvetica,sans-serif !important;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__arrow {
  width:28px;
  height:28px;
  align-self:center;
  border:0;
  border-radius:50%;
  color:#936422 !important;
  font-size:23px;
}
body.single-post:not(.woocommerce) #primary .jedlec-related-card__arrow:hover,
body.single-post:not(.woocommerce) #primary .jedlec-related-card__arrow:focus-visible {
  background:rgba(156,103,37,.14);
}
/* Neutralize a too-large base-theme article heading for related cards. */
body.single-post:not(.woocommerce) #primary .jedlec-related-card h3,
body.single-post:not(.woocommerce) #primary .jedlec-related-card h3 a {
  text-transform:none !important;
}
@media (max-width:1280px) {
  body.single-post:not(.woocommerce) .jedlec-related-grid {
    grid-template-columns:1fr !important;
  }
  body.single-post:not(.woocommerce) #primary .jedlec-related-card {
    grid-template-columns:150px minmax(0,1fr) 30px !important;
  }
}
@media (max-width:600px) {
  body.single-post:not(.woocommerce) .jedlec-related-grid {gap:12px;}
  body.single-post:not(.woocommerce) #primary .jedlec-related-card {
    grid-template-columns:96px minmax(0,1fr) 24px !important;
    min-height:114px;
    gap:10px;
    padding:9px !important;
    border-radius:12px !important;
  }
  body.single-post:not(.woocommerce) #primary .jedlec-related-card__thumb {
    height:94px;
  }
  body.single-post:not(.woocommerce) #primary .jedlec-related-card__title {
    font-size:16px !important;
    line-height:1.25 !important;
    margin-bottom:6px !important;
  }
  body.single-post:not(.woocommerce) #primary .jedlec-related-card__meta {font-size:10px !important;}
  body.single-post:not(.woocommerce) #primary .jedlec-related-card__arrow {width:24px;height:24px;font-size:20px;}
}
@media (max-width:350px) {
  body.single-post:not(.woocommerce) #primary .jedlec-related-card {
    grid-template-columns:80px minmax(0,1fr) 22px !important;
  }
  body.single-post:not(.woocommerce) #primary .jedlec-related-card__thumb {height:82px;}
}
@media print {
  body.single-post:not(.woocommerce) #content.site-content {background:#fff !important;color:#000;}
}
/* Prevent native theme list markers from appearing next to the gold counters. */
body.single-post:not(.woocommerce) #secondary .widget_recent_entries ul {
  list-style:none !important;
  margin-left:0 !important;
  padding-left:0 !important;
}
body.single-post:not(.woocommerce) #secondary .widget_recent_entries ul li {
  list-style:none !important;
}
body.single-post:not(.woocommerce) #secondary .widget_recent_entries ul li::marker {content:'';}

/* ========================================================
   JEDLEC v1.0 — pagination + footer (2026-11)
   Does not change the hero, posts, pages or sidebars.
   ======================================================== */

/* Pagination — native WordPress link structure and navigation are retained. */
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination {
    display:block !important;
    width:100% !important;
    margin:clamp(35px,4vw,58px) auto 12px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:13px !important;
    float:none !important;
    width:100% !important;
    margin:0 auto !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers {
    box-sizing:border-box;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto;
    float:none !important;
    min-width:51px;
    width:51px;
    height:51px;
    margin:0 !important;
    padding:0 11px !important;
    border:1px solid rgba(214,155,63,.85) !important;
    border-radius:999px !important;
    background:rgba(8,21,30,.8) !important;
    color:#f3e6cb !important;
    font:600 17px/1 Arial,Helvetica,sans-serif !important;
    text-align:center !important;
    text-decoration:none !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045) !important;
    transition:background-color .2s,border-color .2s,transform .2s,box-shadow .2s;
}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers.current {
    background:linear-gradient(135deg,#bf8b42,#946125) !important;
    border-color:#d9a553 !important;
    color:#fff !important;
    font-weight:700 !important;
    box-shadow:0 7px 18px rgba(1,6,10,.2),inset 0 1px 0 rgba(255,255,255,.15) !important;
    cursor:default;
}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > a.page-numbers:hover,
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > a.page-numbers:focus-visible {
    background:rgba(172,117,43,.25) !important;
    border-color:#f1c16d !important;
    color:#fff !important;
    transform:translateY(-2px);
}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > a.page-numbers:focus-visible {outline:2px solid #e9b760;outline-offset:3px;}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers.dots {
    cursor:default;
    font-size:17px !important;
}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers:is(.next,.prev) {
    width:auto;
    min-width:143px;
    padding:0 22px !important;
    font-size:13px !important;
    font-weight:700 !important;
    letter-spacing:.065em;
    text-transform:uppercase;
}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers.next {
    background:linear-gradient(125deg,#b78849,#8d622e) !important;
    color:#fff !important;
    border-color:#c99348 !important;
}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers.prev {
    background:linear-gradient(130deg,rgba(36,40,41,.9),rgba(10,18,22,.95)) !important;
    border-color:#b88742 !important;
}
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers.next:hover,
body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers.prev:hover {background:#bc8945 !important;}

/* The footer keeps the existing plugin hooks and scroll-to-top button. */
footer#colophon.site-footer {
    position:relative;
    background:#091721 !important;
    color:#f8ebd8;
}
footer#colophon.site-footer .jedlec-footer-b {
    position:relative;
    z-index:0;
    box-sizing:border-box;
    overflow:hidden;
    margin:0 !important;
    padding:0 !important;
    border-top:2px solid #b78543;
    background:
        radial-gradient(ellipse at 17% 5%,rgba(49,64,64,.24),transparent 48%),
        linear-gradient(140deg,#0b1923 0%,#0d202b 53%,#081620 100%) !important;
    color:#efe7d9 !important;
    box-shadow:inset 0 5px 20px rgba(0,0,0,.13);
}
footer#colophon.site-footer .jedlec-footer-b::before {
    content:'';
    position:absolute;
    z-index:-1;
    top:0;
    right:0;
    bottom:0;
    width:min(460px,38%);
    background-image:url('../images/jedlec-hero.webp');
    background-position:62% 58%;
    background-size:cover;
    background-repeat:no-repeat;
    filter:grayscale(1);
    opacity:.09;
    -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 66%);
    mask-image:linear-gradient(to right,transparent 0%,#000 66%);
    pointer-events:none;
}
footer#colophon.site-footer .jedlec-footer-b > .jedlec-footer-container {
    position:relative;
    box-sizing:border-box;
    display:block !important;
    float:none !important;
    width:min(1720px,calc(100% - 80px)) !important;
    max-width:1720px !important;
    margin:0 auto !important;
    padding:clamp(37px,4vw,64px) 0 clamp(25px,3vw,43px) !important;
    background:transparent !important;
    text-align:left !important;
}
footer#colophon.site-footer .jedlec-footer-main {
    display:grid;
    grid-template-columns:minmax(295px,.9fr) minmax(0,1.9fr);
    gap:clamp(22px,3.3vw,62px);
    align-items:center;
    margin:0 0 37px;
}
footer#colophon.site-footer .jedlec-footer-brand {
    display:flex;
    align-items:center;
    gap:23px;
    min-width:0;
    color:#f5e6cc;
}
footer#colophon.site-footer .jedlec-footer-symbol {
    display:block;
    flex:0 0 auto;
    width:61px;
    height:76px;
    color:#dca44f;
}
footer#colophon.site-footer .jedlec-footer-brand__rule {
    flex:0 0 auto;
    width:2px;
    height:65px;
    background:linear-gradient(#c69240,#efc177,#aa7938);
}
footer#colophon.site-footer .jedlec-footer-brand__name {
    color:#f6e9d4 !important;
    font:400 clamp(22px,1.7vw,31px)/1.21 Georgia,'Times New Roman',serif !important;
    letter-spacing:-.2px;
    text-wrap:balance;
}
footer#colophon.site-footer .jedlec-footer-contact {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:15px 24px;
    min-width:0;
}
footer#colophon.site-footer .jedlec-footer-contact__item {
    display:inline-flex;
    align-items:center;
    gap:12px;
    min-width:0;
    color:#f1e8d8 !important;
    font:500 clamp(13px,1vw,17px)/1.5 Arial,Helvetica,sans-serif !important;
    text-decoration:none !important;
    overflow-wrap:anywhere;
    transition:color .2s;
}
footer#colophon.site-footer a.jedlec-footer-contact__item:hover,
footer#colophon.site-footer a.jedlec-footer-contact__item:focus-visible {color:#f1bd69 !important;}
footer#colophon.site-footer .jedlec-footer-contact__item svg {
    flex:0 0 auto;
    width:35px;
    height:35px;
    padding:6px;
    border:1px solid rgba(209,151,67,.8);
    border-radius:10px;
    color:#dca44f !important;
}
footer#colophon.site-footer .jedlec-footer-legal {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:11px 26px;
    padding-top:25px;
    /* Short separator stops before the decorative church illustration. */
    border-top:0;
    background-image:linear-gradient(90deg,rgba(225,166,75,.72) 0%,rgba(225,166,75,.56) 65%,transparent 100%);
    background-position:left top;
    background-repeat:no-repeat;
    background-size:62% 1px;
}
footer#colophon.site-footer .jedlec-footer-legal p {
    padding:0 !important;
    margin:0 !important;
    color:#e2d7c6 !important;
    font:400 clamp(12px,.95vw,16px)/1.55 Arial,Helvetica,sans-serif !important;
}
footer#colophon.site-footer .jedlec-footer-legal a {color:#edbd6b !important;font-weight:700;text-decoration:none !important;}
footer#colophon.site-footer .jedlec-footer-legal a:hover {text-decoration:underline !important;}
footer#colophon.site-footer .jedlec-footer-legal__divider {
    display:inline-block;
    width:1px;
    height:16px;
    margin:0 16px;
    background:rgba(228,185,105,.55);
    vertical-align:middle;
}
footer#colophon.site-footer .jedlec-footer-b .footer-social {
    width:100% !important;
    max-width:none !important;
    margin:15px 0 0;
    text-align:left !important;
}
footer#colophon.site-footer .jedlec-footer-b .footer-social ul.social-list {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}
footer#colophon.site-footer .jedlec-footer-b .footer-social ul.social-list a {
    background:rgba(236,181,100,.12);
    border:1px solid rgba(236,181,100,.35);
    border-radius:50%;
    color:#f8e5c3;
}
footer#colophon.site-footer .footer-t {
    background:#0c1a24;
    color:#f7eddc;
}
@media (max-width:1250px) {
    footer#colophon.site-footer .jedlec-footer-main {grid-template-columns:minmax(0,1fr);gap:22px;}
    footer#colophon.site-footer .jedlec-footer-contact {justify-content:flex-start;gap:14px 28px;}
}
@media (max-width:700px) {
    footer#colophon.site-footer .jedlec-footer-b > .jedlec-footer-container {width:calc(100% - 38px) !important;padding:34px 0 27px !important;}
    footer#colophon.site-footer .jedlec-footer-main {gap:23px;margin-bottom:29px;}
    footer#colophon.site-footer .jedlec-footer-brand {gap:16px;}
    footer#colophon.site-footer .jedlec-footer-symbol {width:46px;height:60px;}
    footer#colophon.site-footer .jedlec-footer-brand__rule {height:51px;}
    footer#colophon.site-footer .jedlec-footer-brand__name {font-size:clamp(20px,5.3vw,26px) !important;}
    footer#colophon.site-footer .jedlec-footer-contact {flex-direction:column;align-items:flex-start;gap:13px;}
    footer#colophon.site-footer .jedlec-footer-contact__item {font-size:14px !important;}
    footer#colophon.site-footer .jedlec-footer-contact__item svg {width:32px;height:32px;}
    footer#colophon.site-footer .jedlec-footer-legal {align-items:flex-start;flex-direction:column;gap:8px;}
    body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links {gap:9px !important;}
    body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers {width:43px;min-width:43px;height:43px;font-size:15px !important;}
    body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers:is(.next,.prev) {min-width:112px;padding:0 14px !important;font-size:11px !important;}
}
@media (max-width:400px) {
    body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers {width:39px;min-width:39px;height:39px;}
    body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers:is(.next,.prev) {min-width:98px;}
    footer#colophon.site-footer .jedlec-footer-legal__divider {margin:0 9px;}
}
@media (prefers-reduced-motion:reduce) {
    body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination .nav-links > .page-numbers {transition:none;}
}
@media print {
    footer#colophon.site-footer .jedlec-footer-b {display:none !important;}
    body:is(.blog,.archive,.search):not(.woocommerce) #primary nav.navigation.pagination {display:none !important;}
}

/* ================================================================
   Jedlec v15 — fixed navigation and refined compact scroll state.
   All previous hero/main/footer rules remain unchanged.
   ================================================================ */
#masthead.jedlec-site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    transition: height .25s ease, background-color .25s ease,
                border-color .25s ease, box-shadow .25s ease,
                backdrop-filter .25s ease;
}
#masthead.jedlec-site-header .jedlec-nav-brand,
#masthead.jedlec-site-header .jedlec-cross,
#masthead.jedlec-site-header .jedlec-nav-brand::after,
#masthead.jedlec-site-header .main-navigation > ul > li > a {
    transition: height .25s ease, width .25s ease, font-size .25s ease,
                color .2s ease;
}
#masthead.jedlec-site-header.jedlec-nav-compact {
    height: 58px !important;
    background: rgba(8, 19, 27, .94) !important;
    border-bottom: 1px solid rgba(218, 175, 98, .35) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .23);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-nav-brand {
    font-size: clamp(15px, 1.05vw, 18px) !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-cross {
    height: 36px;
    width: 25px;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-nav-brand::after {
    height: 24px;
}
#masthead.jedlec-site-header.jedlec-nav-compact .main-navigation > ul > li > a {
    height: 58px;
}
#masthead.jedlec-site-header.jedlec-nav-compact .main-navigation > ul > li::after {
    bottom: 6px;
    height: 2px;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-search-panel {
    top: calc(100% + 13px);
}
/* Old scroll-to-top control is removed in footer.php. Safeguard against duplicates. */
footer#colophon.site-footer .jedlec-footer-b .back-to-top {
    display: none !important;
}
@media (max-width: 1320px) {
    #masthead.jedlec-site-header.jedlec-nav-compact .jedlec-mobile-menu:not([hidden]) {
        top: 58px;
        max-height: calc(100svh - 58px);
    }
}
@media (max-width: 600px) {
    /* On narrow WordPress admin screens, the toolbar scrolls away. */
    body.admin-bar #masthead.jedlec-site-header.jedlec-nav-compact { top: 0 !important; }
    #masthead.jedlec-site-header.jedlec-nav-compact {
        height: 56px !important;
    }
    #masthead.jedlec-site-header.jedlec-nav-compact .jedlec-nav-brand {
        font-size: clamp(12px, 3.35vw, 14px) !important;
    }
    #masthead.jedlec-site-header.jedlec-nav-compact .jedlec-cross {
        height: 32px;
        width: 22px;
    }
    #masthead.jedlec-site-header.jedlec-nav-compact .jedlec-mobile-menu:not([hidden]) {
        top: 56px;
        max-height: calc(100svh - 56px);
    }
}
@media (prefers-reduced-motion: reduce) {
    #masthead.jedlec-site-header,
    #masthead.jedlec-site-header .jedlec-nav-brand,
    #masthead.jedlec-site-header .jedlec-cross,
    #masthead.jedlec-site-header .jedlec-nav-brand::after,
    #masthead.jedlec-site-header .main-navigation > ul > li > a {
        transition: none !important;
    }
}

/* ==============================================================
 * v18 — Gold Glass sticky navbar
 * Basis: v15. Changes colors ONLY in compact (scrolled) mode.
 * All geometry, active-line positioning, menu and hero remain v15.
 * ============================================================== */
#masthead.jedlec-site-header.jedlec-nav-compact {
    background: linear-gradient(105deg,
        rgba(153, 106, 45, .91) 0%,
        rgba(124, 85, 35, .91) 55%,
        rgba(94, 65, 34, .92) 100%) !important;
    border-bottom-color: rgba(250, 214, 149, .66) !important;
    box-shadow: 0 9px 28px rgba(15, 13, 10, .26),
                inset 0 1px 0 rgba(255, 246, 223, .14) !important;
    -webkit-backdrop-filter: blur(17px) saturate(125%);
    backdrop-filter: blur(17px) saturate(125%);
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-nav-brand {
    color: #fff6e9 !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-cross {
    color: #ffe0a1 !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-nav-brand::after,
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-search {
    border-color: rgba(255, 241, 218, .34) !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-nav-brand::after {
    background: rgba(255, 241, 218, .34) !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .main-navigation > ul > li > a {
    color: #fff7eb !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .main-navigation > ul > li:is(.current-menu-item,.current_page_item,.current-menu-ancestor) > a,
#masthead.jedlec-site-header.jedlec-nav-compact .main-navigation > ul > li > a:hover,
#masthead.jedlec-site-header.jedlec-nav-compact .main-navigation > ul > li > a:focus-visible {
    color: #ffedbd !important;
}
/* Color only; v15 retains the position and geometry of the active marker. */
#masthead.jedlec-site-header.jedlec-nav-compact .main-navigation > ul > li::after {
    background-color: #ffe1a4 !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-search summary {
    color: #fff7eb !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-search summary:hover,
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-search[open] summary {
    color: #ffedbd !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-mobile-toggle {
    border-color: rgba(255, 241, 218, .55) !important;
    background: rgba(49, 32, 12, .10) !important;
}
#masthead.jedlec-site-header.jedlec-nav-compact .jedlec-mobile-toggle span {
    background: #fff7eb !important;
}

/* ============================================================
   Jedlec v19 — ciepłe światło parafialne / delikatne złote promienie
   Efekt dotyczy tylko tła treści strony. Nie zmienia kart, navbara,
   hero, widgetów ani stopki. Oparty na pełnym CSS v18.
   ============================================================ */
body:is(.blog, .archive, .search, .page, .single-post):not(.woocommerce) #content.site-content {
    background-color: #19262c !important;
    background-image:
        /* subtelna poświata witrażu u góry, po prawej */
        radial-gradient(ellipse 520px 710px at 101% 17%, rgba(240,179,77,.21) 0%, rgba(215,147,60,.095) 38%, transparent 78%),
        /* ciepłe odbicie świec po lewej */
        radial-gradient(ellipse 450px 650px at -5% 29%, rgba(231,168,79,.19) 0%, rgba(178,117,47,.09) 44%, transparent 78%),
        /* bardzo miękkie światło w centrum */
        radial-gradient(ellipse 560px 620px at 55% 42%, rgba(206,150,77,.085) 0%, transparent 79%),
        /* dalsze poświaty widoczne podczas przewijania długich wpisów */
        radial-gradient(ellipse 460px 760px at 105% 64%, rgba(222,156,65,.19) 0%, rgba(222,156,65,.07) 38%, transparent 80%),
        radial-gradient(ellipse 510px 700px at 4% 81%, rgba(236,178,89,.15) 0%, transparent 78%),
        /* rozproszone promienie, bez widocznych ostrych granic */
        linear-gradient(116deg, transparent 14%, rgba(239,177,86,.025) 21%, transparent 28%, transparent 47%, rgba(224,171,94,.029) 52%, transparent 60%),
        /* trochę cieplejszy granat zamiast niemal czarnego */
        linear-gradient(115deg,#1c292e 0%,#18262c 43%,#19252c 71%,#1b292e 100%) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Mobile Safari obsługuje background-attachment: fixed nierówno;
   zwykłe przewijanie zapobiega migotaniu na telefonach. */
@media (max-width: 800px) {
    body:is(.blog, .archive, .search, .page, .single-post):not(.woocommerce) #content.site-content {
        background-attachment: scroll !important;
        background-image:
            radial-gradient(ellipse 340px 550px at -12% 12%, rgba(230,167,78,.22), transparent 78%),
            radial-gradient(ellipse 370px 600px at 107% 47%, rgba(224,158,75,.18), transparent 78%),
            radial-gradient(ellipse 340px 600px at -9% 80%, rgba(221,159,71,.14), transparent 80%),
            linear-gradient(115deg,#1d292e 0%,#19262c 55%,#1b282d 100%) !important;
    }
}

@media print {
    body:is(.blog, .archive, .search, .page, .single-post):not(.woocommerce) #content.site-content {
        background: #fff !important;
    }
}

/* Match the homepage's responsive hero minimum heights on single posts. */
@media (max-width:1080px) {
    body.single-post:not(.woocommerce) .parish-hero { min-height:650px; }
}
@media (max-width:600px) {
    body.single-post:not(.woocommerce) .parish-hero { min-height:620px; }
}

/* =============================================================
   Parafia Jedlec 1.0.2 — dyskretny przycisk edycji dla redaktorów
   Tylko wygląd linków generowanych przez edit_post_link().
   ============================================================= */
body:not(.woocommerce) #primary .edit-link,
body.single-post:not(.woocommerce) #primary .jedlec-single-edit {
    display: inline-block;
    width: auto;
    max-width: 100%;
}
body:not(.woocommerce) #primary .edit-link > a,
body.single-post:not(.woocommerce) #primary .jedlec-single-edit > a {
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 35px;
    margin: 11px 0 0 !important;
    padding: 8px 14px !important;
    border: 1px solid rgba(161, 110, 42, .50) !important;
    border-radius: 9px !important;
    background: rgba(255, 250, 240, .76) !important;
    box-shadow: 0 2px 7px rgba(65, 43, 17, .08) !important;
    color: #69451e !important;
    font: 700 12px/1.35 Arial, Helvetica, sans-serif !important;
    letter-spacing: .015em;
    text-transform: none !important;
    text-decoration: none !important;
    opacity: 1 !important;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
body:not(.woocommerce) #primary .edit-link > a::before,
body.single-post:not(.woocommerce) #primary .jedlec-single-edit > a::before {
    content: '✎' !important;
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: none !important;
    color: #a97938 !important;
    font: 700 17px/1 Arial, Helvetica, sans-serif;
    transform: none !important;
    opacity: 1 !important;
}
body:not(.woocommerce) #primary .edit-link > a::after,
body.single-post:not(.woocommerce) #primary .jedlec-single-edit > a::after {
    content: none !important;
    display: none !important;
}
body:not(.woocommerce) #primary .edit-link > a:hover,
body:not(.woocommerce) #primary .edit-link > a:focus-visible,
body.single-post:not(.woocommerce) #primary .jedlec-single-edit > a:hover,
body.single-post:not(.woocommerce) #primary .jedlec-single-edit > a:focus-visible {
    background: #f4e1c1 !important;
    border-color: #ba8741 !important;
    box-shadow: 0 3px 12px rgba(107, 68, 23, .16) !important;
    color: #472d12 !important;
}
body:not(.woocommerce) #primary .edit-link > a:focus-visible,
body.single-post:not(.woocommerce) #primary .jedlec-single-edit > a:focus-visible {
    outline: 2px solid #a97836;
    outline-offset: 3px;
}
@media print {
    body:not(.woocommerce) #primary .edit-link,
    body.single-post:not(.woocommerce) #primary .jedlec-single-edit {
        display: none !important;
    }
}


/* Parafia Jedlec v1.0.3 — administrator's Edit link at the bottom-right of each feed card.
   The edit permission/link comes from WordPress; only its presentation changes.
   The already-positioned .content-wrap is the containing block, so the button
   follows each card's bottom edge without moving the normal Read More button. */
@media (min-width: 761px) {
    body:is(.blog, .archive, .search):not(.woocommerce)
    #primary .site-main article:is(.post, .page) > .content-wrap {
        position: relative !important;
    }

    body:is(.blog, .archive, .search):not(.woocommerce)
    #primary .site-main article:is(.post, .page) .entry-footer .edit-link {
        position: absolute !important;
        right: 15px !important;
        bottom: 14px !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
        max-width: calc(100% - 30px);
        margin: 0 !important;
        padding: 0 !important;
        z-index: 2;
    }

    body:is(.blog, .archive, .search):not(.woocommerce)
    #primary .site-main article:is(.post, .page) .entry-footer .edit-link > a {
        margin: 0 !important;
    }
}

/* On phones preserve the original inline positioning, so the link never
   overlaps the normal reading action in the narrow card. */
@media (max-width: 760px) {
    body:is(.blog, .archive, .search):not(.woocommerce)
    #primary .site-main article:is(.post, .page) .entry-footer .edit-link {
        position: static !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: auto;
    }
}


/* ==============================================================
   Parafia Jedlec v1.0.5 — edit links for logged-in editors.
   Restores the modern button after other theme changes without
   changing WordPress permissions, content or the v1.0.3 location.
   ============================================================== */
body:not(.woocommerce) #primary :is(.edit-link, .jedlec-single-edit) > a,
body:not(.woocommerce) #primary :is(.edit-link, .jedlec-single-edit) > a.post-edit-link {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 8px 13px !important;
    border: 1px solid rgba(164, 117, 55, .53) !important;
    border-radius: 9px !important;
    background: #fff8ec !important;
    box-shadow: 0 3px 10px rgba(74, 46, 22, .10) !important;
    color: #765122 !important;
    font: 700 12px/1.25 Arial, Helvetica, sans-serif !important;
    letter-spacing: .01em !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap;
    opacity: 1 !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
body:not(.woocommerce) #primary :is(.edit-link, .jedlec-single-edit) > a::before {
    content: '✎' !important;
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #a4783a !important;
    font: 700 17px/1 Arial, Helvetica, sans-serif !important;
    transform: none !important;
    opacity: 1 !important;
}
body:not(.woocommerce) #primary :is(.edit-link, .jedlec-single-edit) > a::after {
    content: none !important;
    display: none !important;
}
body:not(.woocommerce) #primary :is(.edit-link, .jedlec-single-edit) > a:hover,
body:not(.woocommerce) #primary :is(.edit-link, .jedlec-single-edit) > a:focus-visible {
    background: #f3e0c2 !important;
    color: #523417 !important;
    border-color: #ad7b3d !important;
    box-shadow: 0 5px 13px rgba(92, 56, 19, .15) !important;
}
body:not(.woocommerce) #primary :is(.edit-link, .jedlec-single-edit) > a:focus-visible {
    outline: 2px solid #ba914e !important;
    outline-offset: 2px !important;
}
/* The absolute right-bottom placement from v1.0.3 remains untouched. */
@media (prefers-reduced-motion: reduce) {
    body:not(.woocommerce) #primary :is(.edit-link, .jedlec-single-edit) > a {
        transition: none !important;
    }
}


/* v1.0.6: Facebook icon — blue symbol matching the outline, solid blue on hover.
   Scope is intentionally limited to Facebook in the sidebar social-networks widget.
   Earlier widget icon rules set SVG colors to gold, so override both SVG and path. */
#secondary .widget .contact-info ul.social-networks a[href*="facebook"] {
    border-color: #3b5998 !important;
    background: transparent !important;
    color: #3b5998 !important;
    transition: background-color .22s ease, color .22s ease,
                border-color .22s ease, box-shadow .22s ease;
}
#secondary .widget .contact-info ul.social-networks a[href*="facebook"] svg,
#secondary .widget .contact-info ul.social-networks a[href*="facebook"] svg path,
#secondary .widget .contact-info ul.social-networks a[href*="facebook"] i {
    color: #3b5998 !important;
    fill: currentColor !important;
    transition: color .22s ease, fill .22s ease;
}
#secondary .widget .contact-info ul.social-networks a[href*="facebook"]:is(:hover,:focus-visible) {
    background: #3b5998 !important;
    border-color: #3b5998 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(59,89,152,.24) !important;
}
#secondary .widget .contact-info ul.social-networks a[href*="facebook"]:is(:hover,:focus-visible) svg,
#secondary .widget .contact-info ul.social-networks a[href*="facebook"]:is(:hover,:focus-visible) svg path,
#secondary .widget .contact-info ul.social-networks a[href*="facebook"]:is(:hover,:focus-visible) i {
    color: #ffffff !important;
    fill: currentColor !important;
}
@media (prefers-reduced-motion: reduce) {
    #secondary .widget .contact-info ul.social-networks a[href*="facebook"],
    #secondary .widget .contact-info ul.social-networks a[href*="facebook"] svg,
    #secondary .widget .contact-info ul.social-networks a[href*="facebook"] svg path {
        transition: none;
    }
}


/* ==============================================================
   Parafia Jedlec · Kontakt v1.0.7 (Classic Editor content)
   Scoped to .jedlec-contact-layout, no effect on other pages.
   ============================================================== */
body.page .jedlec-contact-layout {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    color: #273039;
    font-family: Arial, Helvetica, sans-serif;
}
body.page .jedlec-contact-layout *,
body.page .jedlec-contact-layout *::before,
body.page .jedlec-contact-layout *::after { box-sizing: border-box; }
body.page .jedlec-contact-layout .jedlec-contact-heading {
    margin: 0 0 29px;
    padding: 0;
}
body.page .jedlec-contact-layout .jedlec-contact-heading__rule {
    display: block;
    width: 62px;
    height: 3px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: linear-gradient(90deg,#b9883f,#e5b66a);
}
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout .jedlec-contact-heading h2 {
    margin: 0 0 11px !important;
    color: #26303a !important;
    font: 400 clamp(29px,2.8vw,42px)/1.13 Georgia,'Times New Roman',serif !important;
    letter-spacing: -.5px;
}
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout .jedlec-contact-heading p {
    margin: 0 !important;
    color: #736452 !important;
    font: 400 15px/1.55 Arial,Helvetica,sans-serif !important;
}
body.page .jedlec-contact-layout .jedlec-contact-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin: 0 0 16px;
}
body.page .jedlec-contact-layout .jedlec-contact-tile {
    position: relative;
    min-width: 0;
    min-height: 180px;
    padding: 23px 23px 22px;
    border: 1px solid #e6d3b5;
    border-radius: 13px;
    background: #fff9f0;
    box-shadow: 0 6px 18px rgba(106,75,38,.05);
}
body.page .jedlec-contact-layout .jedlec-contact-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    margin: 0 0 17px;
    border: 1px solid rgba(179,129,64,.26);
    border-radius: 10px;
    background: rgba(218,183,120,.16);
}
body.page .jedlec-contact-layout .jedlec-contact-tile__icon::before,
body.page .jedlec-contact-layout .jedlec-contact-bank__copy-icon {
    content: '';
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background: #a87939;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout .jedlec-contact-tile__label {
    margin: 0 0 7px !important;
    color: #9b7139 !important;
    font: 700 11px/1.35 Arial,Helvetica,sans-serif !important;
    letter-spacing: 1.7px;
}
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout .jedlec-contact-tile__value,
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout a.jedlec-contact-tile__value {
    display: block;
    max-width: 100%;
    margin: 0 !important;
    color: #26313b !important;
    font: 600 clamp(16px,1.35vw,20px)/1.48 Arial,Helvetica,sans-serif !important;
    letter-spacing: -.1px;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout a.jedlec-contact-tile__value:hover,
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout a.jedlec-contact-tile__value:focus-visible {
    color: #945f20 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout .jedlec-contact-tile__note {
    margin: 8px 0 0 !important;
    color: #8b7862 !important;
    font: 400 13px/1.55 Arial,Helvetica,sans-serif !important;
}
body.page .jedlec-contact-layout .jedlec-contact-tile--wide {
    min-height: 0;
    margin: 0 0 16px;
    padding: 22px 23px;
}
body.page .jedlec-contact-layout .jedlec-contact-tile--wide .jedlec-contact-tile__icon {
    margin-bottom: 12px;
}
body.page .jedlec-contact-layout .jedlec-contact-bank {
    min-width: 0;
    margin: 0;
    padding: 23px;
    border: 1px solid #cba76f;
    border-radius: 13px;
    background: linear-gradient(120deg,#f0dec2,#e9d3b1);
}
body.page .jedlec-contact-layout .jedlec-contact-bank__header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}
body.page .jedlec-contact-layout .jedlec-contact-bank__header .jedlec-contact-tile__icon {
    margin: 0;
    background: rgba(158,109,47,.14);
}
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout .jedlec-contact-bank__header h3 {
    min-width: 0;
    margin: 0 !important;
    color: #65471f !important;
    font: 600 clamp(17px,1.35vw,20px)/1.35 Arial,Helvetica,sans-serif !important;
}
body.page .jedlec-contact-layout .jedlec-contact-bank__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout .jedlec-contact-bank__number {
    min-width: 0;
    margin: 0 !important;
    color: #2c2925 !important;
    font: 700 clamp(15px,1.35vw,20px)/1.5 Arial,Helvetica,sans-serif !important;
    letter-spacing: .35px;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout a.jedlec-contact-bank__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #b7833b;
    border-radius: 999px;
    background: rgba(255,252,246,.75);
    color: #6f4d22 !important;
    font: 700 12px/1.25 Arial,Helvetica,sans-serif !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 3px 9px rgba(91,63,25,.08);
    transition: background .2s, color .2s, transform .2s;
}
body.page .jedlec-contact-layout .jedlec-contact-bank__copy-icon { width: 17px;height:17px; }
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout a.jedlec-contact-bank__copy:hover,
body.page:not(.home):not(.front-page) #primary .entry-content .jedlec-contact-layout a.jedlec-contact-bank__copy:focus-visible {
    background: #9b7139;
    color: #fff !important;
    transform: translateY(-1px);
}
body.page .jedlec-contact-layout .jedlec-contact-bank__copy:hover .jedlec-contact-bank__copy-icon,
body.page .jedlec-contact-layout .jedlec-contact-bank__copy:focus-visible .jedlec-contact-bank__copy-icon {background: #fff;}
body.page .jedlec-contact-layout .jedlec-contact-bank__status {
    display: block;
    min-height: 0;
    margin-top: 0;
    color: #65471f;
    font: 600 12px/1.3 Arial,Helvetica,sans-serif;
}
body.page .jedlec-contact-layout .jedlec-contact-bank__status:not(:empty) {margin-top: 10px;}
body.page .jedlec-contact-layout a:focus-visible {outline: 2px solid #b78543;outline-offset: 3px;}
@media (max-width: 1150px) {
    body.page .jedlec-contact-layout .jedlec-contact-grid {grid-template-columns:1fr;}
    body.page .jedlec-contact-layout .jedlec-contact-tile {min-height:0;}
}
@media (max-width: 900px) {
    body.page .jedlec-contact-layout .jedlec-contact-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 680px) {
    body.page .jedlec-contact-layout .jedlec-contact-heading {margin-bottom:22px;}
    body.page .jedlec-contact-layout .jedlec-contact-grid {grid-template-columns:1fr;gap:12px;margin-bottom:12px;}
    body.page .jedlec-contact-layout .jedlec-contact-tile {padding:19px;}
    body.page .jedlec-contact-layout .jedlec-contact-tile--wide {margin-bottom:12px;}
    body.page .jedlec-contact-layout .jedlec-contact-bank {padding:19px;}
    body.page .jedlec-contact-layout .jedlec-contact-bank__bottom {gap:14px;}
}
@media (prefers-reduced-motion:reduce) {
    body.page .jedlec-contact-layout .jedlec-contact-bank__copy {transition:none !important;}
}

body.page .jedlec-contact-layout .jedlec-contact-tile__icon--phone::before { mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.92v3a2%202%200%200%201-2.18%202A19.79%2019.79%200%200%201%203.09%205.18%202%202%200%200%201%205.08%203h3a2%202%200%200%201%202%201.72l.47%203a2%202%200%200%201-.57%201.72L8.1%2011.3a16%2016%200%200%200%204.6%204.6l1.86-1.86a2%202%200%200%201%201.72-.57l3%20.47A2%202%200%200%201%2022%2016.92Z%22%2F%3E%3C%2Fsvg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.92v3a2%202%200%200%201-2.18%202A19.79%2019.79%200%200%201%203.09%205.18%202%202%200%200%201%205.08%203h3a2%202%200%200%201%202%201.72l.47%203a2%202%200%200%201-.57%201.72L8.1%2011.3a16%2016%200%200%200%204.6%204.6l1.86-1.86a2%202%200%200%201%201.72-.57l3%20.47A2%202%200%200%201%2022%2016.92Z%22%2F%3E%3C%2Fsvg%3E"); }
body.page .jedlec-contact-layout .jedlec-contact-tile__icon--mail::before { mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m2%206%2010%207%2010-7%22%2F%3E%3C%2Fsvg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m2%206%2010%207%2010-7%22%2F%3E%3C%2Fsvg%3E"); }
body.page .jedlec-contact-layout .jedlec-contact-tile__icon--pin::before { mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%206-8%2012-8%2012S4%2016%204%2010a8%208%200%201%201%2016%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%206-8%2012-8%2012S4%2016%204%2010a8%208%200%201%201%2016%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E"); }
body.page .jedlec-contact-layout .jedlec-contact-tile__icon--bank::before { mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207%22%2F%3E%3Cpath%20d%3D%22M5%2010v10M10%2010v10M14%2010v10M19%2010v10M3%2021h18M3%2010h18%22%2F%3E%3C%2Fsvg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207%22%2F%3E%3Cpath%20d%3D%22M5%2010v10M10%2010v10M14%2010v10M19%2010v10M3%2021h18M3%2010h18%22%2F%3E%3C%2Fsvg%3E"); }
body.page .jedlec-contact-layout .jedlec-contact-bank__copy-icon { mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2213%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M16%208V5a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h3%22%2F%3E%3C%2Fsvg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2213%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M16%208V5a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h3%22%2F%3E%3C%2Fsvg%3E"); }

/* ===================================================================
   Parafia Jedlec • Kontakt v1.0.9 — resilient layout for Classic Editor
   No grid placement inside cards: WP may wrap inline nodes in <p> tags.
   =================================================================== */
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)) !important;
    gap: 13px !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #2c3237 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-heading {
    grid-column: 1 / -1 !important;
    margin: 0 0 5px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid rgba(175, 131, 67, .25);
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-heading h2 {
    margin: 0 0 4px !important;
    font: 700 clamp(21px, 2vw, 27px)/1.28 Arial, Helvetica, sans-serif !important;
    color: #283039 !important;
    letter-spacing: -.2px !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-heading p {
    margin: 0 !important;
    font: 400 13px/1.55 Arial, Helvetica, sans-serif !important;
    color: #67605a !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-heading__rule {
    width: 43px !important;
    height: 2px !important;
    margin: 0 0 12px !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-grid {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout :is(.jedlec-contact-tile,.jedlec-contact-bank) {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 18px 18px 18px 64px !important;
    border: 1px solid #e3cdaa !important;
    border-radius: 11px !important;
    background: #fff9f0 !important;
    box-shadow: 0 3px 12px rgba(80, 52, 21, .04) !important;
    text-align: left !important;
    font-family: Arial, Helvetica, sans-serif !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank {
    border-color: #d4b783 !important;
    background: #f4e5cd !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile__icon {
    position: absolute !important;
    top: 18px !important;
    left: 17px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(179, 129, 64, .24) !important;
    border-radius: 8px !important;
    background: rgba(195, 151, 86, .12) !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile__icon::before {
    width: 17px !important;
    height: 17px !important;
}
/* wpautop can wrap icon and linked value in paragraphs; remove wrapper spacing. */
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout :is(.jedlec-contact-tile,.jedlec-contact-bank) p:has(> .jedlec-contact-tile__icon) {
    height: 0 !important;
    min-height: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile__label,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__header h3 {
    display: block !important;
    width: auto !important;
    margin: 0 0 9px !important;
    color: #95703b !important;
    font: 700 11px/1.3 Arial, Helvetica, sans-serif !important;
    letter-spacing: .9px !important;
    text-transform: uppercase !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile__value,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout a.jedlec-contact-tile__value,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__number {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #28313a !important;
    font: 600 15px/1.5 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    overflow: visible !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout a.jedlec-contact-tile__value:hover,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout a.jedlec-contact-tile__value:focus-visible {
    color: #875b28 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile__note {
    display: block !important;
    margin: 8px 0 0 !important;
    color: #6d665e !important;
    font: 400 12px/1.45 Arial, Helvetica, sans-serif !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout :is(.jedlec-contact-tile,.jedlec-contact-bank) p:has(> a.jedlec-contact-tile__value) {
    margin: 0 !important;
    padding: 0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__header,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__bottom {
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__header .jedlec-contact-tile__icon {
    margin: 0 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout a.jedlec-contact-bank__copy {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: none !important;
    min-height: 33px !important;
    margin: 12px 0 0 !important;
    padding: 7px 11px !important;
    border: 1px solid #cba46a !important;
    border-radius: 8px !important;
    background: #fffaf3 !important;
    box-shadow: none !important;
    color: #765025 !important;
    font: 700 11px/1.25 Arial, Helvetica, sans-serif !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__copy-icon {
    width: 14px !important;
    height: 14px !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__status {
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    font: 600 11px/1.4 Arial, Helvetica, sans-serif !important;
    color: #6f4b21 !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__status:not(:empty) { margin-top: 6px !important; }
@media (max-width: 600px) {
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout {
        gap: 10px !important;
    }
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout :is(.jedlec-contact-tile,.jedlec-contact-bank) {
        padding: 16px 14px 16px 57px !important;
    }
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile__icon {
        top: 16px !important;
        left: 14px !important;
    }
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout a.jedlec-contact-tile__value.jedlec-contact-tile__value--email {
        font: 600 13px/1.45 Arial, Helvetica, sans-serif !important;
    }
}

/* ===== Kontakt v1.0.10: niższe dolne kafelki + poprawiony hover przycisku kopiowania ===== */
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile--wide,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank {
    min-height: 132px !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    align-self: start !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__header {
    margin-bottom: 12px !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__bottom {
    gap: 12px !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout a.jedlec-contact-bank__copy {
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout a.jedlec-contact-bank__copy:hover,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout a.jedlec-contact-bank__copy:focus-visible {
    background: #f8efdf !important;
    color: #7b5426 !important;
    border-color: #b7833b !important;
    box-shadow: 0 3px 10px rgba(91,63,25,.10) !important;
    transform: none !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__copy-icon,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__copy:hover .jedlec-contact-bank__copy-icon,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__copy:focus-visible .jedlec-contact-bank__copy-icon {
    background: currentColor !important;
}
@media (max-width: 600px) {
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile--wide,
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank {
        min-height: 0 !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }
}

/* ===== Kontakt v1.0.11: lepiej dobrane wielkości nagłówków w kafelkach ===== */
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile__label,
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__header h3 {
    margin: 0 0 10px !important;
    color: #9a7236 !important;
    font: 700 13px/1.35 Arial, Helvetica, sans-serif !important;
    letter-spacing: 1.1px !important;
    text-transform: uppercase !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__header h3 {
    line-height: 1.4 !important;
}
@media (max-width: 680px) {
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile__label,
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__header h3 {
        font-size: 12px !important;
        letter-spacing: 1px !important;
    }
}

/* Parafia Jedlec — Kontakt v1.0.12: jednakowa barwa i proporcje kafelka rachunku */
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank {
    background: #fff9f0 !important;
    border-color: #e3cdaa !important;
    box-shadow: 0 3px 12px rgba(80, 52, 21, .04) !important;
    align-self: start !important;
    box-sizing: border-box !important;
    height: fit-content !important;
    max-height: none !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank__header {
    margin-bottom: 8px !important;
}
body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout a.jedlec-contact-bank__copy {
    margin-top: 8px !important;
}
@media (min-width: 1201px) {
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-tile--wide,
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank {
        height: 164px !important;
        min-height: 164px !important;
    }
}
@media (max-width: 1200px) {
    body.page:not(.home):not(.front-page):not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-contact-layout .jedlec-contact-bank {
        height: fit-content !important;
        min-height: 0 !important;
    }
}


/* ====================================================================
   Parafia Jedlec v1.0.13 — enlarged photo grid, on /galeria/ only.
   Native WP galleries and Classic Editor inline photos are both supported.
   ==================================================================== */
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content :is(
    .gallery, .wp-block-gallery, .blocks-gallery-grid, .ngg-galleryoverview, .jedlec-gallery-grid
) {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    gap: clamp(12px, 1.55vw, 20px) !important;
    padding: 0 !important;
    margin: 0 0 18px !important;
    list-style: none !important;
}
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content :is(
    .gallery-item, .wp-block-gallery > figure, .blocks-gallery-grid > li, .ngg-gallery-thumbnail-box, .jedlec-gallery-photo
) {
    box-sizing: border-box !important;
    float: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    border: 0 !important;
}
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-gallery-photo,
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content :is(.gallery-item .gallery-icon, .wp-block-gallery > figure, .blocks-gallery-grid > li, .ngg-gallery-thumbnail-box) {
    overflow: hidden !important;
    border: 1px solid rgba(181, 131, 64, .35) !important;
    border-radius: 13px !important;
    background: #e8d9c2 !important;
    box-shadow: 0 8px 20px rgba(57, 37, 19, .12);
}
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content :is(
    .jedlec-gallery-photo, .gallery-icon, .wp-block-gallery figure, .blocks-gallery-grid figure
) > a,
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-gallery-photo > figure,
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content .jedlec-gallery-photo > img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content :is(
    .gallery, .wp-block-gallery, .blocks-gallery-grid, .ngg-galleryoverview, .jedlec-gallery-grid
) img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform .3s ease, filter .3s ease;
}
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content :is(
    .jedlec-gallery-photo, .gallery-item, .wp-block-gallery figure, .blocks-gallery-grid figure
):hover img {
    transform: scale(1.035);
    filter: saturate(1.06);
}
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content .gallery-caption,
body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content figcaption {
    padding: 8px 12px !important;
    margin: 0 !important;
    color: #4c3a24 !important;
    font: 400 12px/1.45 Arial, Helvetica, sans-serif !important;
    text-align: center;
}
@media (max-width: 1050px) {
    body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content :is(
        .gallery, .wp-block-gallery, .blocks-gallery-grid, .ngg-galleryoverview, .jedlec-gallery-grid
    ) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 620px) {
    body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content :is(
        .gallery, .wp-block-gallery, .blocks-gallery-grid, .ngg-galleryoverview, .jedlec-gallery-grid
    ) { grid-template-columns: 1fr !important; gap: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.page.jedlec-gallery-page:not(.woocommerce) #primary .site-main article.page .entry-content :is(
        .gallery, .wp-block-gallery, .blocks-gallery-grid, .ngg-galleryoverview, .jedlec-gallery-grid
    ) img { transition: none !important; }
}
