
:root{--blue:#075a9c;--navy:#073a70;--deep:#082f60;--ochre:#d99a1e;--gold:#e6ac35;--ink:#122b50;--bg:#f7fafc;--wide:1660px;--berry:#0a5a99;--berry-dark:#073a70;--line:#e3eaf1}
body{background:var(--bg);color:var(--ink)}.container{max-width:var(--wide);padding-inline:30px}
.topline{background:linear-gradient(90deg,#063367,#075ea6);color:white}.topline-inner{height:38px;font-size:11px;letter-spacing:.3px}
.site-header{box-shadow:0 3px 12px #13376710}.header-inner{min-height:100px;gap:18px}.brand{min-width:270px;gap:8px}.brand-symbol,.brand-symbol svg{width:78px}.brand-symbol{color:var(--navy)}.brand-name{font-family:Georgia,'Times New Roman',serif;font-size:35px;letter-spacing:-1.3px;color:#082f60;white-space:nowrap}.brand-name b{color:var(--ochre)}.brand-name small{font-family:Arial,sans-serif;font-size:9px;letter-spacing:1.8px;color:#7587a2;font-weight:750;margin-top:7px}.brand-custom{max-height:76px}
.nav-links{gap:15px}.nav-links a{font-size:12px;color:#102b4c}.nav-links a:hover{color:var(--blue)}
.pm4-search{border:1px solid #dce6f0;border-radius:5px;display:flex;align-items:center;min-width:180px;width:185px;height:42px}.pm4-search input{border:0;background:transparent;min-width:0;padding:9px 7px 9px 12px;width:100%;font-size:12px}.pm4-search button{background:none;border:0;font-size:25px;color:#073a70;padding:0 10px;cursor:pointer}.pm4-topic{white-space:nowrap}.pm4-topic-chevron{margin-left:auto}.pm4-topic-grid .pm4-topic{white-space:normal}.pm4-topic:not(.pm4-topic-grid .pm4-topic){text-align:center}.header-inner>.pm4-topic{display:block;padding:13px 15px;background:var(--ochre);color:#fff;border-radius:5px;font-weight:750;font-size:12px}.header-inner>.pm4-topic:hover{background:#bf8618}
.header-search{display:none}
.pm4-home{padding-top:18px;padding-bottom:22px}.pm4-main-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:16px}.pm4-editorial,.pm4-rail{min-width:0}.pm4-hero-grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(350px,1fr);gap:14px;min-height:430px}.pm4-lead{min-height:430px;border-radius:7px;overflow:hidden;position:relative;background:linear-gradient(0deg,#06182de8,transparent 73%),var(--pm4-image) center /cover no-repeat,#5d8cab}.pm4-lead-copy{position:absolute;bottom:0;left:0;right:0;padding:25px;color:#fff}.pm4-lead h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(29px,2.55vw,43px);line-height:1.08;letter-spacing:-.8px;margin:8px 0}.pm4-lead a:hover{color:#ffdf8a}.pm4-lead p{font-size:14px;max-width:610px;line-height:1.45;margin:0 0 10px}.pm4-lead-meta{font-size:11px;color:#ebedf1}.pm4-label{display:inline-block;background:#1466a6;color:#fff;font-size:10px;font-weight:800;letter-spacing:.4px;padding:6px 8px;border-radius:2px;text-transform:uppercase}.pm4-label-gold{background:#e5a623;color:#172a41}.pm4-hero-side{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.pm4-square-news{border-radius:6px;border:1px solid #e6edf4;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0}.pm4-square-photo{aspect-ratio:1/1;background-position:center;background-size:cover}.pm4-square-copy{padding:13px;flex:1}.pm4-square-copy h2{font-family:Georgia,serif;font-size:17px;line-height:1.14;margin:9px 0}.pm4-square-copy p{font-size:12px;line-height:1.4;color:#53647e;margin:0}.pm4-placeholder-art{background-image:linear-gradient(135deg,#c7d9ee 0%,#eaf1fa 35%,#b4cfe5 35%,#acc9e6 53%,#699bc4 54%,#b4d6eb 80%,#477cad 100%);background-position:center;background-size:cover}
.pm4-section{margin-top:19px}.pm4-section-head{display:flex;align-items:center;gap:14px;margin:0 0 9px;border-bottom:2px solid #e0a22c}.pm4-section-head h2{font-family:Georgia,serif;font-size:25px;letter-spacing:-.3px;background:var(--bg);padding-right:15px;margin:0 0 -2px}.pm4-section-head span{font-size:11px;color:#69788d;margin-left:auto;background:var(--bg);padding-left:14px}
.pm4-latest-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.pm4-tile{background:#fff;border:1px solid #e6edf4;border-radius:5px;overflow:hidden;min-width:0}.pm4-tile-img{height:108px;background-size:cover;background-position:center}.pm4-tile-body{padding:0 11px 12px}.pm4-tile .pm4-label{position:relative;margin-top:-11px}.pm4-tile h3{font-family:Georgia,serif;font-size:16px;line-height:1.16;margin:9px 0}.pm4-tile p{font-size:12px;color:#62718b;line-height:1.37;margin:0 0 13px}.pm4-tile small{font-size:10px;color:#8290a1}
.pm4-rail{display:flex;flex-direction:column;gap:13px}.pm4-rail-box{background:#fff;border:1px solid #e6edf4;border-radius:6px;padding:13px}.pm4-rail-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e6edf4;padding-bottom:8px}.pm4-rail-head h2{font-family:Georgia,serif;font-size:20px;margin:0;letter-spacing:-.4px}.pm4-rail-head a{font-size:11px;color:var(--blue)}.pm4-popular{list-style:none;padding:0;margin:0}.pm4-popular li{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #edf0f4;font-family:Georgia,serif;font-size:14px;font-weight:650;line-height:1.25}.pm4-popular li:last-child{border:0}.pm4-rank{height:34px;width:34px;min-width:34px;border-radius:50%;background:#f7ecd8;display:grid;place-items:center;color:#17345d;font-size:21px}.pm4-event{display:flex;gap:12px;border-bottom:1px solid #e9eef3;padding:10px 0}.pm4-event:last-child{border:0}.pm4-event-day{background:#e9f3fc;border-radius:5px;color:var(--deep);height:57px;min-width:58px;display:flex;align-items:center;justify-content:center;flex-direction:column}.pm4-event-day strong{font-family:Georgia,serif;font-size:26px;line-height:1}.pm4-event-day small{font-size:11px;font-weight:700}.pm4-event>div:nth-child(2) a{font-size:13px;font-weight:750}.pm4-event>div:nth-child(2) small{display:block;color:#75859a;font-size:10px;margin-top:5px}.pm4-empty-events{font-size:12px;color:#71839d}
.pm4-contact{background:#e8f3fb;border-radius:6px;padding:17px;border:1px solid #dceaf5}.pm4-contact h2{margin:0 0 6px;font-family:Georgia,serif;font-size:20px}.pm4-contact p{font-size:12px;color:#506683;line-height:1.45}.pm4-contact span{font-size:9px;letter-spacing:1px;font-weight:850;color:var(--blue)}
.pm4-topics{margin-top:14px}.pm4-topic-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.pm4-topic-grid .pm4-topic{display:flex;align-items:center;gap:10px;border:1px solid #e0eaf2;background:#fff;border-radius:5px;padding:12px 9px;min-height:64px}.pm4-topic-icon{font-size:27px;color:var(--ochre)}.pm4-topic:nth-child(even) .pm4-topic-icon{color:var(--blue)}.pm4-topic strong{font-size:12px;display:block;line-height:1.2}.pm4-topic small{display:block;font-size:10px;color:#71819a;line-height:1.2;margin-top:3px}.pm4-topic-chevron{color:var(--blue);font-size:22px}
.site-footer{background:linear-gradient(90deg,#063667,#0861a6);color:#fff;padding:19px 0}.pm4-footer-content{display:flex;align-items:center;justify-content:space-between;gap:25px}.pm4-footer-content strong{font-family:Georgia,serif;font-size:24px;display:block}.pm4-footer-content small{font-size:9px;letter-spacing:1px}.pm4-footer-content nav{display:flex;gap:22px;font-size:12px}.pm4-footer-content>span{font-size:10px;color:#d8e9f8}
/* Wnętrze artykułu odziedziczone po 3.9 z niebiesko-ochrowymi akcentami */
@media(max-width:1350px){.pm4-main-layout{grid-template-columns:minmax(0,1fr) 280px}.pm4-hero-grid{grid-template-columns:1.15fr 1fr}.pm4-latest-grid{grid-template-columns:repeat(3,1fr)}.pm4-topic-grid{grid-template-columns:repeat(3,1fr)}.pm4-search{display:none}}
@media(max-width:1000px){.pm4-main-layout{grid-template-columns:1fr}.pm4-rail{display:grid;grid-template-columns:1fr 1fr}.pm4-hero-grid{grid-template-columns:1fr 1fr}.pm4-hero-side{grid-template-columns:1fr}.pm4-square-news{display:grid;grid-template-columns:42% 58%}.pm4-square-photo{aspect-ratio:auto;height:100%}.pm4-contact{grid-column:1/-1}.pm4-footer-content nav{display:none}}
@media(max-width:760px){.container{padding-inline:16px}.topline-inner{height:29px;font-size:9px}.topline-inner span:last-child{display:none}.header-inner{min-height:78px;gap:8px}.brand{min-width:0}.brand-symbol,.brand-symbol svg{width:50px}.brand-name{font-size:24px}.brand-name small{font-size:6px}.header-inner>.pm4-topic{display:none}.pm4-main-layout{display:block}.pm4-hero-grid{display:flex;flex-direction:column;min-height:0}.pm4-lead{min-height:340px}.pm4-lead h1{font-size:29px}.pm4-hero-side{display:grid;grid-template-columns:1fr 1fr}.pm4-square-news{display:block}.pm4-square-photo{aspect-ratio:1}.pm4-square-copy{padding:9px}.pm4-square-copy h2{font-size:15px}.pm4-square-copy p{display:none}.pm4-latest-grid{grid-template-columns:repeat(2,1fr)}.pm4-tile-img{height:120px}.pm4-topic-grid{grid-template-columns:repeat(2,1fr)}.pm4-rail{margin-top:22px;display:flex}.pm4-section-head h2{font-size:21px}.pm4-section-head span{display:none}.pm4-footer-content{flex-wrap:wrap}.pm4-footer-content strong{font-size:23px}}
@media(max-width:400px){.pm4-hero-side{grid-template-columns:1fr}.pm4-square-news{display:grid;grid-template-columns:38% 62%}.pm4-square-photo{height:100%}.pm4-latest-grid{grid-template-columns:1fr 1fr}.pm4-tile h3{font-size:14px}.pm4-topic-grid{grid-template-columns:1fr}.brand-name{font-size:20px}}

/* 4.1 – editorial: stacked teasers, four article cards, more breathing room */
:root{--wide:1770px}
.pm4-home{padding-top:24px}
.header-inner{min-height:111px}
.brand{min-width:310px}
.brand-symbol,.brand-symbol svg{width:90px}
.brand-name{font-size:39px}
.brand-name small{font-size:9.3px}
.pm4-main-layout{grid-template-columns:minmax(0,1fr) 322px;gap:19px}
.pm4-hero-grid{grid-template-columns:minmax(0,1.43fr) minmax(350px,1fr);min-height:450px;gap:15px}
.pm4-lead{min-height:450px}
.pm4-hero-side{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:13px}
.pm4-square-news{display:grid;grid-template-columns:41% minmax(0,1fr);min-height:0}
.pm4-square-photo{aspect-ratio:auto;height:100%;min-height:0;align-self:stretch}
.pm4-square-copy{padding:15px 17px;align-self:center;display:flex;flex-direction:column;justify-content:center}
.pm4-square-copy h2{font-size:clamp(17px,1.3vw,21px);line-height:1.22;margin:10px 0}
.pm4-square-copy p{font-size:13px;line-height:1.5}
.pm4-latest-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.pm4-tile-img{height:156px}
.pm4-tile-body{padding:0 15px 16px}
.pm4-tile h3{font-size:19px;line-height:1.24;margin:10px 0}
.pm4-tile p{font-size:13px;line-height:1.5}
.pm4-section{margin-top:24px}.pm4-section-head{margin-bottom:14px}
.pm4-topic-grid{gap:12px}.pm4-topic-grid .pm4-topic{min-height:78px;padding:15px 13px}
.pm4-topic-icon{font-size:32px}
.pm4-rail-box{padding:16px}.pm4-popular li{padding:13px 0}
.pm4-popular-empty{font-family:Arial,sans-serif!important;font-size:13px!important;font-weight:400!important;color:#667b93}
.pm4-placeholder-art.pm4-placeholder-0{background-image:url('../images/placeholder-0.svg')}
.pm4-placeholder-art.pm4-placeholder-1{background-image:url('../images/placeholder-1.svg')}
.pm4-placeholder-art.pm4-placeholder-2{background-image:url('../images/placeholder-2.svg')}
.pm4-placeholder-art.pm4-placeholder-3{background-image:url('../images/placeholder-3.svg')}
.site-footer{padding:25px 0;background:linear-gradient(100deg,#073567,#0869b2)}
.pm4-footer-content strong{font-size:28px}.pm4-footer-content nav{gap:28px}
@media(max-width:1450px){.pm4-main-layout{grid-template-columns:minmax(0,1fr) 285px}.pm4-hero-grid{grid-template-columns:1.25fr 1fr}.pm4-latest-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pm4-tile h3{font-size:17px}.pm4-tile-img{height:135px}}
@media(max-width:1150px){.pm4-main-layout{grid-template-columns:1fr}.pm4-rail{display:grid;grid-template-columns:1fr 1fr}.pm4-contact{grid-column:1/-1}.pm4-hero-grid{grid-template-columns:1.25fr 1fr}.pm4-topic-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.header-inner{min-height:82px}.brand{min-width:0}.brand-symbol,.brand-symbol svg{width:53px}.brand-name{font-size:23px}.brand-name small{font-size:6px}.pm4-hero-grid{display:flex;flex-direction:column;min-height:0}.pm4-lead{min-height:365px}.pm4-hero-side{grid-template-columns:1fr;grid-template-rows:none}.pm4-square-news{grid-template-columns:38% minmax(0,1fr);min-height:165px}.pm4-square-photo{height:auto;min-height:165px}.pm4-square-copy h2{font-size:17px}.pm4-square-copy p{font-size:12px;display:block}.pm4-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pm4-tile-img{height:130px}.pm4-topic-grid{grid-template-columns:repeat(2,1fr)}.pm4-rail{display:flex}.pm4-tile h3{font-size:16px}.pm4-footer-content strong{font-size:24px}}
@media(max-width:400px){.pm4-square-news{grid-template-columns:38% minmax(0,1fr)}.pm4-latest-grid{grid-template-columns:1fr 1fr}.pm4-tile h3{font-size:15px}.pm4-topic-grid{grid-template-columns:1fr}}

/* v4.2 — obrazkowe etykiety, spójne menu, responsywność i przycisk */
.pm4-square-photo,.pm4-tile-img{position:relative}
.pm4-image-label{position:absolute!important;left:12px;bottom:10px;z-index:2;margin:0!important;max-width:calc(100% - 24px)}
.pm4-tile-body{padding-top:13px}
.pm4-square-copy{padding-top:11px}
.header-inner>.pm4-topic{background:#e1a021;min-width:140px;display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:16px 20px;font-size:14px;border-radius:7px;box-shadow:0 2px 5px #b076162c;color:#fff}
.header-inner>.pm4-topic span{font-size:20px;line-height:1}
.header-inner>.pm4-topic:hover{background:#cb8c16;color:#fff}
.pm4-hero-side .pm4-label{white-space:normal}
.pm4-topic-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1500px){.header-inner{gap:12px}.brand{min-width:0}.brand-name{font-size:32px}.brand-symbol,.brand-symbol svg{width:72px}.nav-links{gap:10px}.nav-links a{font-size:11px}.pm4-search{width:140px;min-width:140px}.header-inner>.pm4-topic{min-width:120px;padding:13px 11px;font-size:12px}}
@media(max-width:1150px){.header-inner{flex-wrap:wrap;justify-content:space-between;row-gap:12px;padding-block:15px}.main-nav{order:3;width:100%}.nav-links{justify-content:center;flex-wrap:wrap}.pm4-search{display:flex}.pm4-hero-side{min-height:0}}
@media(max-width:760px){.header-inner{flex-wrap:nowrap;padding-block:9px}.main-nav{order:initial;width:auto}.pm4-search{display:none}.header-inner>.pm4-topic{display:none}.menu-toggle{display:flex}.main-nav{display:none}.main-nav.is-open{display:block}.pm4-image-label{left:9px;bottom:8px}.pm4-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.brand-name{font-size:19px}.brand-symbol,.brand-symbol svg{width:42px}.pm4-topic-grid{grid-template-columns:1fr}}
/* Article layout: constrain image/text/sidebar at all widths; avoid inherited fixed/overflow styles */
.pm-article-page{overflow-x:clip;width:100%;max-width:100%}
.pm-article-header,.pm-article-hero,.pm-article-layout{max-width:min(1160px,100%);margin-inline:auto}
.pm-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:36px;align-items:start}
.pm-article-body,.pm-rich-content,.article-copy{min-width:0;max-width:100%;overflow-wrap:break-word}
.pm-rich-content img,.pm-rich-content figure,.pm-rich-content iframe,.pm-rich-content video{max-width:100%;height:auto}
.pm-rich-content .alignwide,.pm-rich-content .alignfull{width:100%;max-width:100%;margin-left:0;transform:none}
.pm-article-sidebar{min-width:0;position:static}
.pm-article-header h1{overflow-wrap:break-word}
.pm-article-hero img{width:100%;max-width:100%;height:auto;object-fit:cover;max-height:420px}
.pm-article-category{background:#fff2d7;color:#083768}
.pm-demo-flag,.pm-nav-caption,.pm-article-end .pm-end-pulse{color:#0b62a4}
@media(max-width:900px){.pm-article-layout{grid-template-columns:minmax(0,1fr);gap:22px}.pm-article-sidebar{width:100%;display:none}.pm-article-header,.pm-article-hero,.pm-article-layout{padding-inline:20px}.pm-article-header h1{font-size:clamp(30px,5vw,50px)}}
@media(max-width:760px){.pm-article-header,.pm-article-hero,.pm-article-layout{padding-inline:16px}.pm-article-header h1{font-size:clamp(28px,7vw,40px);letter-spacing:-.8px;line-height:1.1}.pm-article-hero img{max-height:300px}.pm-article-layout{display:block}.pm-rich-content{width:100%;font-size:16px;line-height:1.65}.pm-rich-content>*{max-width:100%}.pm-article-nav .pm-related-grid{grid-template-columns:1fr}}


/* 4.2.1 — desktop article layout repair. Force a full-width article canvas;
   previous theme versions left responsive constraints inherited across templates. */
body.single-post,body.single-post #main,body.single-post .pm-article-page,
body.single-post article.pm-article{width:100%!important;max-width:none!important;min-width:0;margin-left:0!important;margin-right:0!important;}
body.single-post .topline,body.single-post .site-header,body.single-post .site-footer{width:100%;max-width:none;}
body.single-post .pm-article-header.container{width:100%!important;max-width:1040px!important;margin-inline:auto!important;padding-inline:30px!important;}
body.single-post .pm-article-hero.container{width:100%!important;max-width:1240px!important;margin-inline:auto!important;padding-inline:30px!important;}
body.single-post .pm-article-layout.container{width:100%!important;max-width:1140px!important;margin-inline:auto!important;padding-inline:30px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;gap:42px!important;align-items:start;}
body.single-post .pm-article-body{width:100%;min-width:0;max-width:none;}
body.single-post .pm-article-sidebar{display:grid!important;width:100%;min-width:0;position:sticky;top:20px;align-self:start;}
body.single-post .pm-article-header h1{font-size:clamp(36px,3.9vw,58px);line-height:1.12;max-width:100%;}
body.single-post .pm-article-hero img{display:block;width:100%;max-height:470px;object-fit:cover;}
body.single-post .header-inner{min-width:0;}
@media(max-width:1020px){
 body.single-post .header-inner{flex-wrap:wrap;row-gap:10px;justify-content:space-between;padding-block:12px;}
 body.single-post .header-inner .main-nav{order:3;width:100%;}
 body.single-post .header-inner .nav-links{justify-content:center;flex-wrap:wrap;}
 body.single-post .pm-article-layout.container{grid-template-columns:minmax(0,1fr) 220px!important;gap:22px!important;}
}
@media(max-width:760px){
 body.single-post .header-inner{flex-wrap:nowrap;}
 body.single-post .header-inner .main-nav{display:none;width:auto;order:initial;}
 body.single-post .header-inner .main-nav.is-open{display:block;position:absolute;top:100%;left:0;right:0;width:100%;background:#fff;padding:14px;box-shadow:0 8px 18px #07356720;z-index:30;}
 body.single-post .header-inner .menu-toggle{display:flex;}
 body.single-post .pm-article-header.container,body.single-post .pm-article-hero.container,body.single-post .pm-article-layout.container{padding-inline:18px!important;}
 body.single-post .pm-article-layout.container{display:block!important;}
 body.single-post .pm-article-sidebar{display:none!important;}
 body.single-post .pm-article-header h1{font-size:clamp(29px,7vw,40px);letter-spacing:-.8px;}
 body.single-post .pm-article-hero img{max-height:320px;}
}

/* 4.2.2: reset legacy narrow single-page canvas, NOT applied to homepage */
html:has(body.single), html:has(body.single-post) {width:100%!important;min-width:0!important;max-width:none!important;}
body.single, body.single-post {display:block!important;float:none!important;position:static!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;zoom:1!important;overflow-x:clip!important;}
body.single > .topline,body.single > .site-header,body.single > #main,body.single > .site-footer,
body.single-post > .topline,body.single-post > .site-header,body.single-post > #main,body.single-post > .site-footer {display:block;width:100%!important;min-width:0!important;max-width:none!important;margin-inline:0!important;float:none!important;transform:none!important;}
body.single .topline-inner,body.single .header-inner,body.single .footer-grid,body.single .pm4-footer-content,
body.single-post .topline-inner,body.single-post .header-inner,body.single-post .footer-grid,body.single-post .pm4-footer-content {max-width:1770px!important;width:100%!important;margin-inline:auto!important;}
body.single .pm-article, body.single-post .pm-article {width:100%!important;max-width:none!important;float:none!important;display:block!important;}
@media(min-width:1021px){
body.single .pm-article-header.container,body.single-post .pm-article-header.container{max-width:1080px!important;width:100%!important;}
body.single .pm-article-hero.container,body.single-post .pm-article-hero.container{max-width:1280px!important;width:100%!important;}
body.single .pm-article-layout.container,body.single-post .pm-article-layout.container{max-width:1180px!important;width:100%!important;grid-template-columns:minmax(0,1fr) 270px!important;display:grid!important;}
}
@media(max-width:760px){body.single .pm-article-layout.container,body.single-post .pm-article-layout.container{display:block!important;width:100%!important;}body.single .pm-article-sidebar,body.single-post .pm-article-sidebar{display:none!important;}}

/* 4.3 — panel ustawień i formularz */
.pm43-footer-menu{display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0}.pm43-footer-menu a{color:#fff}.pm43-footer-menu a:hover{color:#f5dba4}
.pm43-contact-page{max-width:760px;margin:30px auto}.pm43-mail{background:#ecf4fb;padding:18px;border-radius:9px}.pm43-mail a{color:var(--blue);font-weight:700}.pm43-contact-form{display:grid;gap:18px;margin:25px 0}.pm43-contact-form label{display:grid;gap:6px;font-size:14px;font-weight:700}.pm43-contact-form input,.pm43-contact-form textarea{width:100%;padding:12px 14px;border:1px solid #ccd9e6;border-radius:6px;background:white;color:#20314a;font:inherit}.pm43-contact-form input:focus,.pm43-contact-form textarea:focus{outline:2px solid var(--ochre)}.pm43-form-notice{font-size:12px;color:#5a6675}.pm43-send{background:var(--ochre);border:0;color:#152944;font-weight:800;padding:14px 22px;border-radius:6px;cursor:pointer;justify-self:start}.pm43-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}.pm43-form-status{padding:14px;background:#fff5df;border-left:4px solid var(--ochre)}
@media(max-width:760px){.pm43-footer-menu{flex-wrap:wrap;gap:10px}.pm43-contact-page{margin:12px auto}}

/* PulsMogilan 4.4 */
.topline-inner .pm44-top-items{display:flex;align-items:center;gap:0;min-width:0}
.pm44-top-items>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;letter-spacing:.1px}
.pm44-top-items>span+span:before{content:"";height:13px;border-left:1px solid #ffffff70;margin:0 12px 0 10px}
.topline-inner .pm44-motto{white-space:nowrap}
.pm44-footer-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:24px;font-size:13px;font-weight:700}
.pm44-footer-actions a{color:#fff;display:inline-flex;align-items:center;gap:6px}.pm44-footer-actions a:hover{color:#ffde98}
.pm44-fb svg{display:block}
.pm43-contact-page{max-width:760px;margin:10px auto 40px;background:#fff;padding:32px 34px;border:1px solid #e1e9f2;border-radius:16px;box-shadow:0 14px 45px #0b33600a}
.pm43-contact-page>p:first-child{font-size:16px;color:#334760;margin:0 0 18px;line-height:1.65}
.pm43-mail{background:#edf5fc;border:1px solid #dcecf8;padding:16px 18px;border-radius:9px;line-height:1.6;margin:0 0 24px}
.pm43-contact-form{gap:20px;margin:10px 0 0}.pm43-contact-form label{font-size:14px;gap:9px;color:#1a3455}
.pm43-contact-form input,.pm43-contact-form textarea{min-height:48px;padding:13px 15px;border-radius:9px;border:1px solid #cfdbe8;font-size:15px;font-weight:400;line-height:1.5}
.pm43-contact-form textarea{min-height:190px;resize:vertical}
.pm43-form-notice{background:#f6f9fc;padding:13px 15px;border-radius:7px;line-height:1.7;margin:0;color:#51677f}
.pm43-send{padding:15px 28px;border-radius:8px;font-size:15px;min-height:48px}.pm43-send:hover{filter:brightness(.96)}
body.page .single-article:has(.pm43-contact-page){max-width:880px}body.page .single-article:has(.pm43-contact-page)>h1{text-align:center;color:#12355d;margin:0 0 25px}body.page .single-article:has(.pm43-contact-page)>.inner-kicker{text-align:center;margin-bottom:15px}
.pm44-archive-lead{margin:-8px 0 32px;color:#65768a;font-size:15px}
@media(max-width:760px){.topline-inner .pm44-motto{display:none}.pm44-top-items>span{font-size:10px}.pm44-top-items>span+span:before{margin:0 7px;border-color:#ffffff66}.pm44-footer-actions{width:100%;margin-left:0;justify-content:flex-start}.pm43-contact-page{padding:20px 17px}.pm43-contact-form textarea{min-height:160px}}
@media(max-width:390px){.pm44-datetime{max-width:163px;overflow:hidden;text-overflow:ellipsis}}

/* v4.5 — zwięzły prawy panel */
.pm45-popular-box .pm4-popular li{padding:10px 0;gap:10px;font-size:13px}
.pm45-popular-box .pm4-rank{width:30px;min-width:30px;height:30px;font-size:17px}
.pm45-preliminary{font:11px/1.4 Arial,sans-serif;color:#74849a;margin:10px 0 2px}
.pm45-calendar .pm4-event{padding:8px 0;gap:10px}
.pm45-calendar .pm4-event-day{height:47px;min-width:49px}
.pm45-calendar .pm4-event-day strong{font-size:21px}
.pm45-calendar .pm4-event>div:nth-child(2) a{font-size:12px;line-height:1.25}
.pm45-calendar .pm4-event>div:nth-child(2) small{font-size:10px;margin-top:3px}
.pm45-namedays{background:#f5d57a;border:1px solid #e3b849;border-radius:8px;padding:15px 17px;color:#273b52}
.pm45-namedays-eyebrow{display:block;font-size:9px;font-weight:850;letter-spacing:1.5px;color:#71571c;margin-bottom:6px}
.pm45-namedays h2{font-family:Georgia,serif;font-size:19px;margin:0 0 7px;line-height:1.2;color:#1a3252}
.pm45-namedays p{font-size:13px;line-height:1.5;margin:0;color:#3a3d40;font-weight:650}
.pm45-namedays .pm45-namedays-unavailable{font-weight:400;font-size:12px}
.pm45-contact{padding:13px 16px}
.pm45-contact h2{font-size:18px;margin:0 0 5px}
.pm45-contact p{margin:4px 0 9px;font-size:12px;line-height:1.4}
.pm45-contact a{font-weight:750;font-size:13px}


.pm4-topic-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px}
.pm4-topic-icon svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.pm46-calendar-page{padding-top:54px;padding-bottom:64px}
.pm46-lead{max-width:860px;color:#617286;font-size:18px;line-height:1.65;margin:14px 0 28px}
.pm46-calendar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:28px}
.pm46-month-card{background:#fff;border:1px solid #dfe8f1;border-radius:8px;overflow:hidden;box-shadow:0 10px 28px rgba(12,39,73,.04)}
.pm46-month-head{padding:18px 20px;border-bottom:1px solid #e7eef5;background:#fbfdff}
.pm46-month-head h2{margin:0;font-family:Georgia,serif;font-size:29px;color:#153761;text-transform:capitalize}
.pm46-calendar-table{width:100%;border-collapse:collapse;table-layout:fixed}
.pm46-calendar-table th{padding:10px 6px;border-bottom:1px solid #edf2f7;font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:#617286;background:#fbfdff}
.pm46-calendar-table td{vertical-align:top;min-height:118px;height:118px;padding:9px 8px;border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7;background:#fff}
.pm46-calendar-table tr td:last-child,.pm46-calendar-table tr th:last-child{border-right:0}
.pm46-calendar-table td.is-empty{background:#fafcfe}
.pm46-calendar-table td.has-event{background:#fffdf7}
.pm46-day-number{font-weight:800;color:#14355d;font-size:15px;margin-bottom:6px}
.pm46-day-events{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.pm46-day-events li a{display:block;padding:5px 6px;border-radius:5px;background:#eaf3fc;color:#0e4f86;font-size:11px;line-height:1.25;font-weight:700}
.pm46-day-events li a:hover{background:#d7e8f9}
.pm46-more{font-size:11px;color:#7b8697;padding-left:4px}
.pm46-upcoming-list{margin-top:10px}
.pm46-event-row{padding:12px 0}
@media(max-width:1100px){.pm46-calendar-grid{grid-template-columns:1fr}.pm46-calendar-table td{height:105px;min-height:105px}}
@media(max-width:700px){.pm46-calendar-page{padding-top:32px}.pm46-month-head h2{font-size:24px}.pm46-calendar-table th{font-size:10px;padding:8px 4px}.pm46-calendar-table td{padding:6px 5px;height:88px;min-height:88px}.pm46-day-number{font-size:13px}.pm46-day-events li a{font-size:10px;padding:4px}}

/* v4.7: images scale naturally inside article body; preserve aspect ratio. */
.pm-article-body .pm-rich-content figure.wp-block-image:not(.alignleft):not(.alignright),
.pm-article-body .pm-rich-content figure.wp-block-image:not(.alignleft):not(.alignright) > img,
.pm-article-body .pm-rich-content figure.wp-block-image:not(.alignleft):not(.alignright) > a,
.pm-article-body .pm-rich-content figure.wp-block-image:not(.alignleft):not(.alignright) > a > img,
.pm-article-body .pm-rich-content figure.wp-block-image:not(.alignleft):not(.alignright) .components-resizable-box__container {width:100%;max-width:100%;}
.pm-article-body .pm-rich-content figure.wp-block-image img,
.pm-article-body .pm-rich-content .wp-block-gallery img,
.pm-article-body .pm-rich-content figure img{height:auto;max-width:100%;object-fit:contain;}
.pm-article-body .pm-rich-content figure.wp-block-image:not(.alignleft):not(.alignright) img{display:block;width:100%;height:auto;}
.pm47-back-to-news{display:inline-flex;align-items:center;gap:9px;margin-top:19px;padding:11px 18px;border:1px solid #bed3e9;border-radius:7px;background:#fff;color:var(--navy,#0b477f);font-size:14px;font-weight:750;transition:background .15s ease,border-color .15s ease;}
.pm47-back-to-news:hover{background:#eaf4fd;border-color:#78a8d4;color:var(--navy,#0b477f)}

/* PulsMogilan 4.8: dwie naprzemienne wersje ilustracji zastępczych. */
.pm4-placeholder-art.pm48-placeholder-0{background-image:url('../images/placeholder-blue.svg')!important;background-size:cover}
.pm4-placeholder-art.pm48-placeholder-1{background-image:url('../images/placeholder-yellow.svg')!important;background-size:cover}
/* W bocznych poziomych kafelkach pokazuj prawą stronę krajobrazu i słońce. */
.pm4-square-photo.pm48-placeholder-0,.pm4-square-photo.pm48-placeholder-1{background-position:right center!important}
/* Delikatniejsza ochra; równie wysokie dwa dolne kafelki. */
.pm45-namedays{background:#f5e6ba;border-color:#e9d9a6}
.pm45-namedays,.pm45-contact{min-height:130px;box-sizing:border-box}
.pm45-contact{display:flex;flex-direction:column;justify-content:center}
.pm45-namedays{display:flex;flex-direction:column;justify-content:center}
.pm44-footer-actions{display:flex;align-items:center;gap:18px}
.pm44-fb{display:inline-flex;align-items:center;gap:6px}
.pm44-fb svg{width:20px;height:20px}
@media(max-width:760px){.pm45-namedays,.pm45-contact{min-height:0}}

/* 4.8.1: osobna kompozycja dla pionowych zdjęć bocznych, słońce w całości w kadrze. */
.pm4-square-photo.pm4-placeholder-art.pm48-placeholder-0{background-image:url('../images/placeholder-blue.svg')!important;background-size:cover!important;background-position:right center!important;background-repeat:no-repeat!important}
.pm4-square-photo.pm4-placeholder-art.pm48-placeholder-1{background-image:url('../images/placeholder-yellow.svg')!important;background-size:cover!important;background-position:right center!important;background-repeat:no-repeat!important}

/* 4.8.2 – wyraźne ikonki górnego paska */
.pm48-top-icon{width:15px;height:15px;flex:0 0 15px;display:inline-block;fill:none;stroke:#ffffff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;opacity:1}
.pm44-top-items>span{gap:7px}
@media(max-width:760px){.pm48-top-icon{width:13px;height:13px;flex-basis:13px}.pm44-top-items>span{gap:4px}}

/* 4.8.3: placeholders use only two fully consistent variants; side cards crop instead of stretching. */

/* 4.8.5: stopka przy dolnej krawędzi na krótkiej stronie głównej.
   Flex pozwala zachować naturalne przewijanie długich podstron. */
body:has(> main.pm4-home){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;}
body:has(> main.pm4-home)>main.pm4-home{flex:1 0 auto;width:100%;}
body:has(> main.pm4-home)>.site-footer{margin-top:auto;width:100%;}

/* Puls Mogilan 4.9.0 — hero, event detail, footer and responsive navigation */
.pm4-lead-copy{padding-right:105px}
.pm49-hero-arrow{position:absolute;right:24px;bottom:24px;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#e9a91c;color:#082e58;box-shadow:0 5px 15px #061c3a44;z-index:2;transition:transform .18s,background .18s}
.pm49-hero-arrow:hover,.pm49-hero-arrow:focus-visible{background:#f8be37;color:#082e58;transform:translateX(3px)}
.pm49-hero-arrow svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linejoin:round;stroke-linecap:round}
@media(max-width:600px){.pm4-lead-copy{padding-right:76px}.pm49-hero-arrow{width:50px;height:50px;right:12px;bottom:14px}.pm49-hero-arrow svg{width:24px;height:24px}}
/* Footers pinned on short archives / calendar / search, never overlap long pages. */
body:not(.wp-admin){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body:not(.wp-admin)>main{flex:1 0 auto;width:100%}
body:not(.wp-admin)>.site-footer{margin-top:auto;width:100%}
/* Break into mobile navigation before the desktop nav wraps. */
.pm49-search-toggle{display:none;background:#fff;border:1px solid #dce6f0;border-radius:7px;color:#093b70;align-items:center;justify-content:center;width:42px;height:42px;cursor:pointer}
.pm49-search-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(max-width:1250px){
 .site-header .header-inner{flex-wrap:nowrap;position:relative;gap:12px;min-height:88px;padding-block:12px}
 .site-header .header-inner>.brand{margin-right:auto;min-width:0}
 .site-header .menu-toggle{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #dce6f0;padding:10px;border-radius:7px;font-size:12px;order:4;flex-shrink:0}
 .site-header .header-inner>.main-nav{display:none;position:absolute;top:100%;right:20px;left:auto;width:min(340px,calc(100vw - 40px));order:initial;background:#fff;padding:12px 16px;box-shadow:0 12px 25px #0b325b30;border:1px solid #e2ebf3;border-radius:0 0 10px 10px;z-index:50}
 .site-header .header-inner>.main-nav.is-open{display:block}
 .site-header .main-nav .nav-links{display:flex;flex-direction:column;align-items:stretch;gap:0;flex-wrap:nowrap}
 .site-header .main-nav .nav-links a{display:block;padding:11px 9px;font-size:14px}
 .site-header .main-nav .sub-menu{position:static;display:block;box-shadow:none;padding:0 10px}
 .site-header .header-inner>.pm4-search{display:none;position:absolute;right:20px;top:calc(100% + 4px);width:min(340px,calc(100vw - 40px));min-width:0;background:#fff;box-shadow:0 12px 25px #0b325b30;z-index:60;padding:3px;height:52px}
 .site-header .header-inner>.pm4-search.pm49-search-open{display:flex}
 .site-header .header-inner>.pm49-search-toggle{display:flex;order:3;flex-shrink:0}
 .site-header .header-inner>.pm4-topic{order:2;display:inline-flex}
}
@media(max-width:760px){.site-header .header-inner>.pm4-topic{display:none}.site-header .header-inner>.brand{flex:1}.site-header .header-inner>.menu-toggle{order:4}.site-header .header-inner>.pm49-search-toggle{order:3}}
@media(max-width:390px){.site-header .brand-name{font-size:19px}.site-header .brand-symbol,.site-header .brand-symbol svg{width:39px}.site-header .menu-toggle span{display:none}}
/* Event details without post meta and next-article navigation. */
.pm49-event-detail{max-width:1030px}
.pm49-event-detail h1{margin:16px 0 28px;color:#13365d}
.pm49-calendar-back{display:inline-flex;align-items:center;padding:10px 14px;border-radius:6px;border:1px solid #c9daeb;color:#104f83;background:#fff;font-weight:700;font-size:13px}
.pm49-calendar-back:hover{background:#edf5fc}
.pm49-event-article{margin:20px 0 36px}
.pm49-event-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:30px}
.pm49-event-details>div{background:#fff;border:1px solid #dfe8f0;border-top:4px solid #e5a623;border-radius:8px;padding:18px;min-width:0}
.pm49-detail-label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;color:#6b7d90;letter-spacing:.7px;margin-bottom:9px}
.pm49-event-details strong{display:block;font-size:17px;color:#113c67;overflow-wrap:anywhere}
.pm49-event-description{font-size:17px;line-height:1.75;max-width:780px;color:#2a3647}
.pm49-calendar-bottom{margin-top:24px}
@media(max-width:700px){.pm49-event-details{grid-template-columns:1fr}.pm49-event-detail{padding-top:28px}.pm49-event-details>div{padding:13px 16px}}
/* Two-month calendar: marked dates, accessible quick jump to list. */
.pm46-calendar-table td.has-event{background:#fff4d9;box-shadow:inset 0 0 0 1px #ebcc8b}
.pm46-day-number{display:inline-flex;justify-content:center;align-items:center;width:29px;height:29px;border-radius:50%}
.pm46-calendar-table td.has-event .pm46-day-number{background:#e9a91c;color:#082e58}
.pm46-event-row:target{background:#fff4d9;border-radius:7px;outline:2px solid #e9a91c}
@media(max-width:700px){.pm46-day-events{display:none}.pm46-calendar-table td{height:55px;min-height:55px;padding:6px 3px}.pm46-calendar-table td.has-event .pm46-day-number{background:#e9a91c}}

/* PulsMogilan 4.9.1 — compact monthly calendars, editorial event page, footer alignment */
html{min-height:100%}
body:not(.wp-admin){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body:not(.wp-admin)>main{flex-grow:1!important;flex-shrink:0;width:100%}
body:not(.wp-admin)>.site-footer{margin-top:auto!important;flex-shrink:0;width:100%}
/* Date cells remain legible, but take much less vertical space on desktop. */
.pm46-calendar-page{padding-top:38px;padding-bottom:45px}
.pm46-calendar-page>.pm46-calendar-grid{max-width:1050px;margin:0 auto 25px;gap:16px}
.pm46-calendar-page>.pm46-calendar-grid .pm46-month-head h2{font-size:23px}
.pm46-calendar-page .pm46-calendar-table td{height:76px;min-height:76px;padding:6px 7px}
.pm46-calendar-page .pm46-calendar-table th{padding:7px 4px;font-size:10px}
.pm46-calendar-page .pm46-day-number{font-size:12px;width:24px;height:24px;margin-bottom:3px}
.pm46-calendar-page .pm46-day-events li a{font-size:10px;padding:3px 4px;line-height:1.18}
.pm46-calendar-page .pm46-upcoming-list{max-width:1050px;margin:0 auto}
/* Single event is deliberately a centered editorial card, not a full-width post. */
.pm50-event-page{padding-top:38px;padding-bottom:55px}
.pm50-event-wrap{max-width:980px;width:calc(100% - 40px);margin:0 auto}
.pm50-event-card{margin:20px 0 10px;overflow:hidden;border:1px solid #e1e9f2;border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(10,54,100,.065)}
.pm50-event-heading{display:flex;gap:28px;align-items:center;padding:30px 34px;background:linear-gradient(120deg,#f4f8fd,#ffffff);border-bottom:1px solid #e5edf5}
.pm50-event-date-badge{width:110px;min-width:110px;height:118px;border-radius:11px;background:#fff1cf;border:1px solid #efd28d;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#133b69}
.pm50-event-date-badge span{font-family:Georgia,serif;font-size:42px;font-weight:800;line-height:1}
.pm50-event-date-badge strong{font-size:15px;margin-top:5px;letter-spacing:1px}
.pm50-event-date-badge small{font-size:12px;margin-top:3px;color:#587087}
.pm50-event-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.2px;color:#bd8115}
.pm50-event-title h1{color:#13365d;font-size:clamp(27px,3vw,39px);line-height:1.18;margin:9px 0 18px;letter-spacing:-.8px}
.pm50-event-meta{display:flex;gap:13px 22px;flex-wrap:wrap}
.pm50-event-meta span{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:650;color:#45607c}
.pm50-event-meta svg{width:17px;height:17px;flex:none;fill:none;stroke:#be881e;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pm50-event-content{padding:25px 35px;font-size:16px;line-height:1.75;color:#26384b}
.pm50-event-content p{margin:0 0 16px}.pm50-event-content p:last-child{margin-bottom:0}
.pm50-event-card-footer{background:#f8fbff;border-top:1px solid #e9eff6;padding:16px 35px}
.pm50-event-card-footer a{font-weight:750;color:#125081;font-size:14px}
@media(max-width:1100px){.pm46-calendar-page>.pm46-calendar-grid{grid-template-columns:1fr;max-width:560px}.pm46-calendar-page .pm46-calendar-table td{height:73px;min-height:73px}}
@media(max-width:700px){.pm50-event-wrap{width:calc(100% - 30px)}.pm50-event-heading{padding:22px;gap:16px;align-items:flex-start}.pm50-event-date-badge{width:72px;min-width:72px;height:86px}.pm50-event-date-badge span{font-size:31px}.pm50-event-title h1{font-size:27px;margin-bottom:12px}.pm50-event-content{padding:23px}.pm50-event-card-footer{padding:15px 23px}.pm46-calendar-page .pm46-calendar-table td{height:56px;min-height:56px;padding:4px 3px}}
@media(max-width:420px){.pm50-event-heading{flex-direction:column}.pm50-event-date-badge{width:82px;height:81px}}

/* 4.9.2: Holiday annotation is supplemental; local events always remain most prominent. */
.pm492-legend{display:flex;gap:10px 19px;flex-wrap:wrap;font-size:12px;color:#536783;margin:0 auto 16px;max-width:1050px}
.pm492-legend>span{display:inline-flex;align-items:center;gap:7px}
.pm492-dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex:none}
.pm492-dot.pm492-local{background:#e9a91c}
.pm492-dot.pm492-national{background:#5489c0}
.pm492-dot.pm492-religious{background:#9575b9}
.pm46-calendar-table td.pm492-national:not(.has-event){background:#f0f6fd}
.pm46-calendar-table td.pm492-religious:not(.has-event){background:#f6f1fa}
.pm492-holiday-label{display:block;font-size:9px;line-height:1.18;font-weight:700;padding:2px 3px;margin:2px 0;overflow-wrap:anywhere;border-left:3px solid #5489c0;color:#32587d}
.pm492-holiday-label.pm492-religious{border-color:#9575b9;color:#71518d}
.pm46-calendar-table td.has-event .pm492-holiday-label{margin-top:2px}
@media(max-width:700px){.pm492-holiday-label{font-size:0;padding:0;border:0;background:transparent;width:6px;height:6px;border-radius:50%;background:#5489c0;display:inline-block;margin:1px 3px 2px 0}.pm492-holiday-label.pm492-religious{background:#9575b9}.pm492-legend{font-size:11px}}

/* 4.9.3: Scoped defensive event layout; icons must never expand to viewport-sized SVGs. */
body.single-pm_event .pm50-event-wrap {width:min(980px, calc(100% - 40px));margin-inline:auto;}
body.single-pm_event .pm50-event-card {display:block;width:100%;}
body.single-pm_event .pm50-event-heading {display:flex;gap:28px;align-items:center;}
body.single-pm_event .pm50-event-date-badge {flex:0 0 110px;}
body.single-pm_event .pm50-event-title {min-width:0;flex:1;}
body.single-pm_event .pm50-event-meta svg {display:inline-block!important;width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important;min-width:17px!important;vertical-align:middle;fill:none!important;stroke:#be881e!important;stroke-width:1.9;flex:none;}
body.single-pm_event .pm50-event-meta span {display:inline-flex;align-items:center;gap:7px;}
@media(max-width:700px){body.single-pm_event .pm50-event-heading{gap:16px;align-items:flex-start}body.single-pm_event .pm50-event-date-badge{flex:0 0 72px}}
@media(max-width:420px){body.single-pm_event .pm50-event-heading{flex-direction:column}body.single-pm_event .pm50-event-date-badge{flex:0 0 auto}}

/* PulsMogilan 4.9.4 — kalendarz miesięczny, pogoda i stabilna stopka */
/* Starsze style pojedynczych wpisów ustawiają display:block!important na body;
   jawne nadpisanie jest konieczne, by stopka przylegała do dolnej krawędzi. */
body.single-pm_event{display:flex!important;flex-direction:column!important;min-height:100vh!important;min-height:100dvh!important}
body.single-pm_event>main.pm50-event-page{flex:1 0 auto!important;width:100%!important}
body.single-pm_event>.site-footer{margin-top:auto!important;flex-shrink:0}
/* Jedna czytelna plansza z nawigacją miesięcy. */
.pm46-calendar-page>.pm494-calendar-grid{display:block;max-width:1080px;margin:0 auto 28px}
.pm494-calendar-grid>.pm46-month-card{width:100%;border-radius:12px;border:1px solid #c8d9e9;box-shadow:0 12px 28px rgba(17,54,89,.07)}
.pm494-calendar-grid .pm46-month-head{background:#e9f3fb;padding:15px 22px;border-bottom:2px solid #c5ddec}
.pm46-calendar-page>.pm494-calendar-grid .pm46-month-head h2{font-size:27px}
.pm46-calendar-page .pm494-calendar-grid .pm46-calendar-table td{height:103px;min-height:103px;padding:9px 12px;border-color:#dfe9f2}
.pm46-calendar-page .pm494-calendar-grid .pm46-calendar-table th{background:#f0f6fc;color:#244b76;font-size:12px;padding:12px 5px}
.pm46-calendar-page .pm494-calendar-grid .pm46-day-number{font-size:15px;height:29px;width:29px;font-weight:750}
.pm46-calendar-page .pm494-calendar-grid .pm46-day-events li a{font-size:12px;line-height:1.3;padding:5px 6px}
.pm494-month-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;max-width:1080px;margin:14px auto 12px}
.pm494-month-nav strong{font-family:Georgia,serif;font-size:17px;color:#153761;text-align:center}
.pm494-month-nav a{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;background:#fff;border:1px solid #cddfed;border-radius:8px;font-size:13px;font-weight:750;color:#0e4b80;width:max-content;transition:background .16s}
.pm494-month-nav a:hover,.pm494-month-nav a:focus-visible{background:#e4f1fc}
.pm494-month-next{justify-self:end}
.pm494-month-disabled{color:#9aa9b8;font-size:13px}
.pm494-month-nav>.pm494-month-disabled:last-child{text-align:right}
.pm46-calendar-page .pm46-upcoming-list{max-width:1080px}
@media(max-width:760px){.pm46-calendar-page .pm494-calendar-grid .pm46-calendar-table td{height:79px;min-height:79px;padding:6px 5px}.pm46-calendar-page .pm494-calendar-grid .pm46-calendar-table th{font-size:10px;padding:9px 2px}.pm46-calendar-page .pm494-calendar-grid .pm46-day-number{font-size:13px;width:25px;height:25px}.pm494-month-nav a{padding:9px 10px;font-size:12px}.pm494-month-nav strong{font-size:14px}}
@media(max-width:440px){.pm46-calendar-page .pm494-calendar-grid .pm46-calendar-table td{height:66px;min-height:66px;padding:4px 2px}.pm494-month-nav a span{display:none}.pm494-month-nav{gap:5px}.pm494-month-nav strong{font-size:13px}}
/* Wyraźny link do pełnego kalendarza w bocznej kolumnie. */
.pm45-calendar .pm4-rail-head{gap:12px}
.pm45-calendar .pm4-rail-head .pm494-calendar-link{font-size:11px;font-weight:800;display:inline-flex;align-items:center;gap:5px;padding:8px 10px;white-space:nowrap;background:#fff2cd;border:1px solid #efcb78;color:#825400;border-radius:7px;line-height:1.2;transition:background .16s}
.pm45-calendar .pm4-rail-head .pm494-calendar-link:hover{background:#f7d780;color:#553900}
.pm494-calendar-link span{font-size:16px;line-height:1}
/* Zachowujemy błękit kontaktu, dodając czytelną ikonę poczty. */
.pm45-contact h2{display:flex;align-items:center;gap:9px}
.pm494-mail-icon{width:23px;height:23px;flex:none;fill:none;stroke:#17649c;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Karta Pogoda na dziś zastępuje imieniny. */
.pm494-weather{border:1px solid #bad9e9;border-radius:10px;padding:18px 19px;background:linear-gradient(138deg,#d9edfa 0%,#f2f9fe 62%,#fff5dd 100%);color:#13375c;min-height:155px}
.pm494-weather-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.pm494-weather-eyebrow{font-size:10px;letter-spacing:1.2px;color:#4a7697;font-weight:850}
.pm494-weather h2{font-family:Georgia,serif;font-size:23px;line-height:1.2;margin:6px 0 0;color:#16385a}
.pm494-weather-art{width:66px;height:66px;flex:none}
.pm494-weather-main{display:flex;align-items:baseline;gap:13px;margin:-12px 0 12px}
.pm494-weather-main strong{font-size:42px;letter-spacing:-1.5px;line-height:1;font-weight:800;color:#073b6d}
.pm494-weather-main span{font-size:13px;font-weight:650;color:#466581}
.pm494-weather-details{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:12px}
.pm494-weather-details span{background:#ffffffb5;border:1px solid #d3e7f3;padding:6px 9px;border-radius:6px;font-size:11px;color:#4b6b84}
.pm494-weather-details b{color:#13375c}
.pm494-weather-source{font-size:10px;color:#52748b}
.pm494-weather-source a{text-decoration:underline;color:#135a8f}
.pm494-weather-unavailable{font-size:13px;margin:15px 0;color:#526c80}
@media(max-width:390px){.pm45-calendar .pm4-rail-head .pm494-calendar-link{font-size:10px;padding:6px}}

/* 4.9.7: Udostępnianie zwykłych artykułów. */
.pm497-sharing{margin:32px 0 22px;padding:22px 24px;background:#f6fafe;border:1px solid #dce8f3;border-radius:12px}
.pm497-sharing-title{font-family:Georgia,serif;font-weight:750;font-size:20px;line-height:1.3;color:#12365f;margin:0 0 15px}
.pm497-sharing-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pm497-sharing-buttons a,.pm497-sharing-buttons button{font:inherit;font-size:13px;font-weight:750;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 15px;border-radius:8px;border:1px solid transparent;cursor:pointer;transition:background .2s,border-color .2s}
.pm497-share-facebook{color:#fff!important;background:#1877f2}
.pm497-share-facebook:hover,.pm497-share-facebook:focus-visible{color:#fff;background:#0d5ec3}
.pm497-copy-link{color:#123b65;background:#fff;border-color:#cbdcea!important}
.pm497-copy-link:hover,.pm497-copy-link:focus-visible{background:#e9f3fc}
.pm497-sharing-buttons svg{display:block;flex:none}
.pm497-sharing-status{display:block;color:#245c77;font-size:12px;margin-top:8px;min-height:1em}
.pm497-sharing-status:empty{min-height:0;margin:0}
@media(max-width:470px){.pm497-sharing{padding:17px 15px}.pm497-sharing-buttons>*{width:100%}}

/* 4.9.8: Social sharing as button: prevents privacy extensions hiding href-based widgets. */
.pm497-sharing-buttons .pm498-share-social{background:#1877f2;color:#fff!important;border-color:#1877f2;appearance:none}
.pm497-sharing-buttons .pm498-share-social:hover,.pm497-sharing-buttons .pm498-share-social:focus-visible{background:#0d5ec3;border-color:#0d5ec3;color:#fff!important}
