/*
Theme Name: ROD Urodzaj Gliwice
Description: Prosty, responsywny motyw ogrodu działkowego inspirowany układem demo.rodmanager.pl.
Version: 3.11.22
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rod-urodzaj-gliwice
*/
:root{--green:#244d34;--dark:#183b2a;--cream:#f7f7f1;--line:#dce4d9;--muted:#5d6b60;--accent:#e7ae56}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:#223b2b;font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--green)}a:hover{text-decoration-color:var(--accent)}img{max-width:100%;height:auto}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;top:16px;z-index:20;background:#fff;padding:10px}.site-header{background:#fff;box-shadow:0 2px 14px #173b2912;position:sticky;top:0;z-index:100}.header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--dark);font-size:1.16rem;font-weight:800;line-height:1.15}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e8f0e3;color:var(--green);font-size:24px}.site-nav ul{display:flex;flex-wrap:wrap;gap:23px;list-style:none;margin:0;padding:0}.site-nav a{text-decoration:none;font-size:.93rem;font-weight:650}.site-nav a:hover,.site-nav .current-menu-item a{text-decoration:underline;text-underline-offset:7px}.hero{min-height:490px;display:flex;align-items:center;position:relative;isolation:isolate;background:#597c4e;overflow:hidden;color:white}.hero:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(105deg,#102c20dc 8%,#214629b8 55%,#57744d55),radial-gradient(circle at 76% 38%,#d8c890 0 5%,transparent 24%),linear-gradient(145deg,#304e36,#71915a 58%,#314d35)}.hero.has-image:before{background:linear-gradient(90deg,#102c20d9,#183a27a8 60%,#173c2460),var(--hero-image) center/cover}.hero-content{padding:100px 0 135px;max-width:1160px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.76rem;font-weight:800;color:#d3ebc5}.hero h1{font-size:clamp(2.5rem,5vw,4.6rem);line-height:1.08;max-width:760px;margin:12px 0 20px}.hero p{max-width:600px;font-size:1.13rem;margin:0 0 30px;color:#e9efe6}.buttons{display:flex;flex-wrap:wrap;gap:12px}.button{display:inline-block;border-radius:8px;padding:12px 21px;background:#fff;color:var(--dark);text-decoration:none;font-weight:750}.button.secondary{background:transparent;border:1px solid #e8f0e0;color:#fff}.highlights{position:relative;margin-top:-75px;z-index:1}.highlight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.highlight,.card,.quick-link,.content-panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px #2143290b}.highlight{padding:26px;min-height:205px}.highlight .label,.section-label{font-size:.73rem;text-transform:uppercase;letter-spacing:.14em;color:#718b68;font-weight:800}.highlight h3,.card h3{line-height:1.3;margin:11px 0}.highlight p,.card p{color:var(--muted);margin:0 0 14px}.highlight a,.card a{text-decoration:none;font-weight:750}.section{padding:72px 0 10px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}.section h2{font-size:clamp(1.8rem,3vw,2.45rem);line-height:1.2;margin:7px 0 0}.section-heading>a{font-weight:700;text-decoration:none;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{overflow:hidden}.card-body{padding:23px}.card-image{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.card-placeholder{aspect-ratio:16/9;background:linear-gradient(135deg,#dcebd2,#84a87b);display:grid;place-items:center;color:#31583b;font-size:3rem}.meta{font-size:.82rem;color:#69816b}.empty{grid-column:1/-1;padding:25px;background:#fff;border-radius:12px;color:var(--muted)}.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:75px auto}.quick-link{display:block;padding:28px;text-decoration:none}.quick-link strong{display:block;font-size:1.13rem;margin-bottom:7px}.quick-link span{color:var(--muted)}.site-footer{background:var(--dark);color:#e9f0e7;padding:53px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.site-footer a{color:#e9f0e7}.site-footer h2{font-size:1rem}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin-bottom:8px}.copyright{border-top:1px solid #ffffff24;margin-top:35px;padding-top:20px;font-size:.82rem;color:#bacbbd}.page-header{background:#e7eee2;padding:55px 0}.page-header h1{font-size:clamp(2rem,4vw,3rem);margin:0}.page-content{padding:55px 0 85px}.content-panel{padding:clamp(22px,4vw,50px)}.entry-content{max-width:790px}.entry-content>*:first-child{margin-top:0}.entry-content img{border-radius:10px}.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.pagination{margin-top:30px}.pagination .page-numbers{padding:8px 12px;background:#fff;border-radius:5px}.wp-block-button__link{background:var(--green)}@media(max-width:800px){.header-inner{align-items:flex-start;flex-direction:column;padding:18px 0}.site-nav ul{gap:10px 18px}.highlight-grid,.cards,.post-list,.quick-links{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.hero{min-height:420px}}@media(max-width:600px){.wrap{width:min(100% - 30px,1160px)}.hero-content{padding:70px 0 105px}.highlights{margin-top:-42px}.highlight-grid,.cards,.post-list,.quick-links,.footer-grid{grid-template-columns:1fr}.highlight{min-height:0}.section{padding-top:55px}.section-heading{align-items:start;flex-direction:column}.quick-links{margin:60px auto}}

/* Logo i menu zajmują osobne obszary; w węższych widokach menu przewija się poziomo. */
.site-header{isolation:isolate}
.brand{flex:0 0 auto;min-width:0;white-space:nowrap}
.brand-mark{flex:none}
.site-nav{min-width:0}
.site-nav ul{justify-content:flex-end;flex-wrap:nowrap;gap:clamp(10px,1.6vw,23px)}
.site-nav li,.site-nav a{white-space:nowrap}
.admin-bar .site-header{top:32px}
#main-content,#announcements,#news{scroll-margin-top:110px}
@media(max-width:1100px){
  .header-inner{flex-direction:column;align-items:stretch;gap:8px;padding:11px 0}
  .brand{align-self:flex-start;max-width:100%;font-size:1rem}
  .site-nav{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
  .site-nav ul{width:max-content;justify-content:flex-start;padding:5px 0 9px;gap:22px}
  #main-content,#announcements,#news{scroll-margin-top:150px}
}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:600px){
  .header-inner{padding:9px 0;gap:4px}
  .brand{font-size:.92rem;white-space:normal}
  .brand-mark{width:34px;height:34px;font-size:20px}
  .site-nav ul{gap:18px}
  .site-nav a{font-size:.86rem}
}

/* Pełne białe tło i najwyżej dwa rzędy pozycji menu. */
.site-header,.site-nav,.site-nav ul{background:#fff;opacity:1;filter:none;backdrop-filter:none}
.site-header{box-shadow:0 3px 15px rgba(24,59,42,.16)}
@media(max-width:1100px){
  .site-nav{overflow:visible}
  .site-nav ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:0 10px;padding:0 0 4px}
  .site-nav li{min-width:0}
  .site-nav li:nth-child(n+7){display:none}
  .site-nav a{display:block;white-space:normal;text-align:center;line-height:1.2;padding:9px 2px;font-size:clamp(.75rem,1.3vw,.92rem)}
}
@media(max-width:600px){.site-nav a{font-size:clamp(.72rem,3.4vw,.86rem)}}

/* Nieprzezroczysty nagłówek nad zawartością strony. */
.site-header{z-index:9999!important;background-color:#fff!important;background-image:none!important;opacity:1!important;filter:none!important;backdrop-filter:none!important}
.site-header::before{content:"";position:absolute;inset:0;background:#fff;z-index:-1;pointer-events:none}
.menu-toggle{display:none;cursor:pointer;border:0;border-radius:8px;background:#276b42;color:#fff;font:700 .9rem/1 system-ui,sans-serif;letter-spacing:.05em;padding:12px 14px}
.menu-toggle span{margin-left:9px;font-size:1.1rem}
@media(max-width:700px){
  .header-inner{flex-direction:row;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 0}
  .brand{font-size:clamp(.86rem,3.5vw,1.06rem)}
  .menu-toggle{display:block;margin-left:auto}
  .site-nav{flex:0 0 100%;width:100%}
  .js-menu .site-nav{display:none}
  .js-menu .site-nav.is-open{display:block}
  .site-nav ul{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 0;border-top:1px solid var(--line)}
  .site-nav a{font-size:clamp(.72rem,3.2vw,.9rem);padding:11px 2px}
  #main-content,#announcements,#news{scroll-margin-top:120px}
}

/* Własna lista linków omija dodatkowy mobilny przycisk wtyczki menu. */
.site-header{position:sticky;top:0;background:#fff!important;isolation:auto;transform:none;will-change:auto}
.site-header::before{display:none}
.header-inner{position:relative;z-index:1;background:#fff}
.site-nav,.site-nav .rod-menu,.brand,.brand img,.brand span{background:#fff!important;opacity:1!important;filter:none!important;backdrop-filter:none!important;transform:none!important}
.site-nav .rod-menu{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px 8px;width:100%;padding:8px 0}
.site-nav .rod-menu li{display:block!important;min-width:0}
.site-nav .rod-menu a{display:block;font-size:.78rem;line-height:1.2;text-align:center;white-space:normal;padding:7px 2px;color:var(--green)}
@media(min-width:701px){
  .header-inner{display:block;padding:10px 0}
  .brand{width:max-content;margin-bottom:2px}
  .site-nav{width:100%}
}
@media(max-width:700px){
  .header-inner{display:flex}
  .site-nav .rod-menu{display:block;max-height:min(65vh,540px);overflow-y:auto;padding:8px 0}
  .site-nav .rod-menu li{border-bottom:1px solid var(--line)}
  .site-nav .rod-menu a{text-align:left;padding:12px 14px;font-size:1rem}
  .js-menu .site-nav{display:none}
  .js-menu .site-nav.is-open{display:block}
}

/* Desktop: logo po lewej, większe napisy w dwóch rzędach. */
@media(min-width:1101px){
  .header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:110px;padding:10px 0}
  .brand{flex:0 0 215px;width:215px;margin:0;font-size:1.1rem}
  .site-nav{flex:1 1 auto;width:auto;min-width:0}
  .site-nav .rod-menu{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px 8px;padding:4px 0}
  .site-nav .rod-menu a{font-size:.93rem;font-weight:700;padding:8px 2px}
}
@media(min-width:701px) and (max-width:1100px){
  .site-nav .rod-menu{grid-template-columns:repeat(7,minmax(0,1fr))}
  .site-nav .rod-menu a{font-size:.86rem;font-weight:700}
}

.page-header.has-banner{display:flex;align-items:center;min-height:275px;background-image:linear-gradient(90deg,rgba(18,48,31,.8),rgba(18,48,31,.18)),var(--page-banner);background-position:center;background-size:cover;color:#fff}
.page-header.has-banner h1{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.3)}
.page-header.has-banner .meta{color:#e8f2e6}
@media(max-width:700px){.page-header.has-banner{min-height:210px}}

/* Zwarta podstrona: treść wykorzystuje całą szerokość białego panelu. */
.page-header{padding:28px 0}
.page-header.has-banner{min-height:170px;padding:24px 0}
.page-header h1{font-size:clamp(1.65rem,3vw,2.35rem)}
.page-content{padding:30px 0 60px}
.content-panel{padding:clamp(20px,3vw,34px)}
.entry-content{width:100%;max-width:none}
.entry-content .wp-block-table,.entry-content table{max-width:100%}
@media(max-width:700px){
  .page-header.has-banner{min-height:135px;padding:18px 0}
  .page-content{padding:20px 0 45px}
}

/* Mały tytuł oraz ilustracja w treści, poza nagłówkiem. */
.page-header{min-height:0;padding:18px 0;background:#e7eee2}
.page-header h1{font-size:clamp(1.45rem,2.4vw,1.9rem);line-height:1.25}
.page-illustration{float:right;width:min(34%,360px);margin:0 0 22px 30px}
.page-illustration img,.archive-illustration img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px}
.entry-content::after{content:"";display:block;clear:both}
.archive-illustration{width:min(100%,360px);margin:0 0 24px auto}
@media(max-width:700px){
  .page-header{padding:14px 0}
  .page-illustration{float:none;width:100%;max-width:420px;margin:0 0 20px}
  .archive-illustration{margin:0 auto 20px}
}

/* Menu wyrównane do lewej i zielony stan aktywny. */
@media(min-width:701px){
  .site-nav .rod-menu{display:flex;flex-wrap:wrap;justify-content:flex-start;align-content:center;column-gap:5px;row-gap:3px}
  .site-nav .rod-menu li{flex:0 0 auto}
  .site-nav .rod-menu a{text-align:left;padding:9px 11px;border-radius:7px}
}
.site-nav .rod-menu a:hover,.site-nav .rod-menu a:focus-visible{background:#277447!important;color:#fff!important;text-decoration:none;outline:none}
.site-nav .rod-menu a:focus-visible{box-shadow:0 0 0 3px #a8d6b0}

/* Szersze ilustracje w treści podstron. */
.page-illustration,.archive-illustration{float:none;width:100%;max-width:none;margin:0 0 28px}
.page-illustration img,.archive-illustration img{width:100%;aspect-ratio:3/1;max-height:390px;object-fit:cover}
@media(max-width:700px){.page-illustration img,.archive-illustration img{aspect-ratio:16/9;max-height:none}}

/* Podstrony menu, np. Media → Galeria. */
.site-nav .rod-menu li{position:relative}
.site-nav .rod-menu .menu-item-has-children>a::after{content:" ▾";font-size:.8em}
@media(min-width:701px){
  .site-nav .rod-menu .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:20;width:max-content;min-width:180px;max-width:280px;margin:0;padding:6px;list-style:none;background:#fff;box-shadow:0 12px 25px rgba(19,51,30,.2);border:1px solid var(--line);border-radius:9px}
  .site-nav .rod-menu .sub-menu .sub-menu{top:0;left:100%}
  .site-nav .rod-menu li:hover>.sub-menu,.site-nav .rod-menu li:focus-within>.sub-menu{display:block}
  .site-nav .rod-menu .sub-menu a{white-space:normal;padding:10px 12px}
}
@media(max-width:700px){
  .site-nav .rod-menu .sub-menu{display:block;position:static;width:100%;margin:0;padding:0 0 4px 14px;list-style:none;background:#f1f7ef!important}
  .site-nav .rod-menu .sub-menu li{border-bottom:0}
  .site-nav .rod-menu .sub-menu a{padding:9px 12px;font-size:.94rem}
}

.weather-card .weather-reading{font-size:2.3rem;font-weight:800;line-height:1.2;margin:14px 0;color:var(--green)}
.weather-card .weather-reading span{font-size:2.5rem}
.weather-card small{color:var(--muted)}

.footer-grid{grid-template-columns:1.3fr 2fr 1fr}
.footer-link-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.broken-content-image{display:none!important}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr 1.6fr}.footer-grid>div:last-child{grid-column:1/-1}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr}.footer-grid>div:last-child{grid-column:auto}}

.site-nav .rod-menu .menu-parent-label{display:block;padding:9px 11px;border-radius:7px;font-size:.93rem;font-weight:700;line-height:1.2;color:var(--green);cursor:default}
.site-nav .rod-menu .menu-parent-label::after{content:" ▾";font-size:.8em}
.site-nav .rod-menu .menu-parent-label:hover,.site-nav .rod-menu .menu-parent-label:focus-visible{background:#277447;color:#fff;outline:none}
@media(max-width:700px){.site-nav .rod-menu .menu-parent-label{padding:12px 14px;font-size:1rem}}

.hero .button{transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.hero .button:hover,.hero .button:focus-visible{background:#277447;color:#fff;border-color:#277447;text-decoration:none;transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.2)}
.hero .button:focus-visible{outline:3px solid #d2e7b9;outline-offset:2px}

.quick-link{transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.quick-link:hover,.quick-link:focus-visible{background:#277447;color:#fff;text-decoration:none;transform:translateY(-3px);box-shadow:0 12px 25px rgba(19,51,30,.18)}
.quick-link:hover span,.quick-link:focus-visible span{color:#e6f3e8}
.quick-link:focus-visible{outline:3px solid #7cbd8d;outline-offset:2px}

/* Cała powierzchnia kart informacyjnych jest odnośnikiem. */
.highlight-clickable{padding:0;transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease}
.highlight-link{display:block;min-height:205px;padding:26px;color:inherit;text-decoration:none;border-radius:14px;font-weight:400}
.highlight-link h3{font-size:1.17em;font-weight:750}
.highlight-link p{font-weight:400}
.highlight-link .highlight-action{color:var(--green);font-weight:750}
.highlight-clickable:hover,.highlight-clickable:focus-within{background:#277447;transform:translateY(-3px);box-shadow:0 12px 25px rgba(19,51,30,.18)}
.highlight-clickable:hover .highlight-link,.highlight-clickable:focus-within .highlight-link{color:#fff;text-decoration:none}
.highlight-clickable:hover :is(.label,p,.highlight-action),.highlight-clickable:focus-within :is(.label,p,.highlight-action){color:#e6f3e8}
.highlight-link:focus-visible{outline:3px solid #7cbd8d;outline-offset:2px}
@media(max-width:600px){.highlight-link{min-height:0}}

/* Galeria: równe miniatury i czytelne grupy zdjęć. */
.rod-gallery-page .entry-content>h2,.rod-gallery-page .entry-content>h3{clear:both;margin:42px 0 18px;padding-bottom:10px;border-bottom:2px solid #dce9da;color:var(--dark)}
.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery){display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:18px 0 38px;padding:0}
.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery)>:is(figure,.gallery-item){width:100%!important;max-width:none!important;margin:0!important;position:relative;overflow:hidden;border-radius:13px;background:#edf2e9;box-shadow:0 5px 16px #173b2915}
.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery) :is(img,.gallery-icon img){display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;border:0;transition:transform .22s ease,filter .22s ease}
.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery) a:hover img,.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery) a:focus-visible img{transform:scale(1.045);filter:brightness(.9)}
.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery) figcaption,.rod-gallery-page .entry-content .gallery-caption{position:absolute;inset:auto 0 0;margin:0;padding:20px 12px 10px;color:#fff;background:linear-gradient(transparent,#102c20c9);font-size:.88rem;line-height:1.35;text-align:left}
.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery) :is(.gallery-icon,a){display:block;height:100%}
.rod-gallery-page .entry-content .gallery>br{display:none}
@media(max-width:950px){.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery){grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:520px){.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery){grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}}
@media(max-width:380px){.rod-gallery-page .entry-content :is(.wp-block-gallery,.gallery){grid-template-columns:repeat(3,minmax(0,1fr))}}

.important-highlight{background:linear-gradient(135deg,#f0f8ed,#fff 76%);border-color:#8fbca0;border-top:5px solid #277447;box-shadow:0 12px 30px #27744724}
.highlight-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.important-highlight .highlight-link{padding-top:21px}
.important-highlight .label{display:inline-block;padding:4px 10px;border-radius:100px;background:#dcefe0;color:#226b3c;letter-spacing:.1em}
.important-highlight h3{color:#17452a}
.important-highlight:hover h3,.important-highlight:focus-within h3{color:#fff}
.important-highlight:hover .label,.important-highlight:focus-within .label{background:#fff;color:#1e6238}

/* Panel: ta sama biała powierzchnia treści co na pozostałych podstronach. */
.rod-panel-page,.rod-panel-page main,.rod-panel-page .page-content,.rod-panel-page .content-panel,.rod-panel-page .entry-content{background:#fff}
.rod-panel-page .content-panel{box-shadow:0 10px 30px #2143290b}
.rod-panel-page .page-header{background:#e7eee2;color:var(--dark)}
.rod-panel-page .page-header h1{color:var(--dark)!important;text-shadow:none}

/* Układ nagłówka na stronie Panel odporny na style osadzonej treści. */
body.rod-panel-page>.site-header{position:sticky;top:0;background:#fff!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;z-index:9999}
body.rod-panel-page>.site-header .site-nav .rod-menu{margin:0;list-style:none}
body.rod-panel-page>.site-header .site-nav .rod-menu li{list-style:none}
body.rod-panel-page>.site-header .brand{display:flex;align-items:center;gap:12px;text-decoration:none}
@media(min-width:1101px){
  body.rod-panel-page>.site-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:110px;padding:10px 0}
  body.rod-panel-page>.site-header .brand{flex:0 0 215px;width:215px;margin:0;font-size:1.1rem}
  body.rod-panel-page>.site-header .site-nav{flex:1 1 auto;width:auto;min-width:0}
}
@media(min-width:701px){body.rod-panel-page>.site-header .site-nav .rod-menu{display:flex;flex-wrap:wrap;justify-content:flex-start;align-content:center;column-gap:5px;row-gap:3px}}
@media(max-width:700px){
  body.rod-panel-page>.site-header .header-inner{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}
  body.rod-panel-page>.site-header .site-nav{flex:0 0 100%;width:100%}
  body.rod-panel-page>.site-header.js-menu .site-nav:not(.is-open){display:none}
  body.rod-panel-page>.site-header.js-menu .site-nav.is-open{display:block}
}
.footer-contact-inline{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin:12px 0}
.footer-contact-inline a{display:inline-flex;align-items:center;gap:6px;max-width:100%;overflow-wrap:anywhere}
.footer-contact-inline a span:first-child{display:inline-grid;place-items:center;flex:none;width:1.25em;color:#bde0c1;font-size:1.15em}
.grecaptcha-badge{visibility:hidden}
.copyright{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 18px}
.recaptcha-credit{font-size:.72rem;color:#bacbbd}
.recaptcha-credit a{color:inherit;text-decoration:underline}
.footer-facebook-link{display:inline-flex;align-items:center;gap:7px}
.facebook-icon{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:4px;background:#d5e9d8;color:#183b2a;font:bold 15px/1 Arial,sans-serif}

/* Czytelniejszy układ strony Odczyty, bez zmieniania jej treści. */
.rod-readings-page .entry-content{font-size:1.04rem;line-height:1.75}
.rod-readings-page .entry-content>p,.rod-readings-page .entry-content>ul,.rod-readings-page .entry-content>ol{max-width:76ch}
.rod-readings-page .entry-content :is(h2,h3){line-height:1.3;color:var(--dark)}
.rod-readings-page .entry-content h2{margin:38px 0 16px;padding:0 0 10px;border-bottom:2px solid #d7e8d6;font-size:clamp(1.35rem,2.4vw,1.75rem)}
.rod-readings-page .entry-content h3{margin:28px 0 12px;font-size:1.2rem}
.rod-readings-page .entry-content li{padding-left:4px;margin-bottom:8px}
.readings-quick-links{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 30px;padding:14px 16px;border:1px solid #d8e8d5;border-radius:12px;background:#f3f8f0}
.readings-quick-links span{margin-right:6px;font-weight:750;color:var(--dark)}
.readings-quick-links a{display:inline-block;padding:6px 14px;border-radius:7px;background:#fff;border:1px solid #c8dcc6;font-weight:700;text-decoration:none}
.readings-quick-links a:hover,.readings-quick-links a:focus-visible{background:#277447;color:#fff;border-color:#277447}
.rod-readings-page .entry-content :is(.wp-block-table,table){max-width:100%;overflow-x:auto}
.rod-readings-page .entry-content table{display:block;width:100%;border-collapse:collapse;margin:20px 0 30px;white-space:nowrap}
.rod-readings-page .entry-content :is(th,td){padding:10px 14px;border:1px solid #dce6d9;text-align:left}
.rod-readings-page .entry-content th{background:#e9f2e6;color:#183b2a;font-weight:750}
.rod-readings-page .entry-content tr:nth-child(even) td{background:#f7faf5}
.rod-readings-page .entry-content :is(input[type="text"],input[type="number"],input[type="email"],select,textarea){max-width:100%;padding:10px 12px;border:1px solid #b9cdb8;border-radius:7px;background:#fff;font:inherit}
.rod-readings-page .entry-content label{font-weight:650}

.readings-intro{max-width:780px;margin:0 0 22px}
.readings-intro>span{display:block;color:#477c50;font-size:.78rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.rod-readings-page .entry-content .readings-intro h2{border:0;padding:0;margin:5px 0 8px;font-size:clamp(1.5rem,2.5vw,2rem)}
.readings-intro p{margin:0;color:#53695a;line-height:1.6}
.rod-readings-page .wpcf7{max-width:780px;padding:clamp(20px,3vw,32px);background:#f7faf5;border:1px solid #d6e6d3;border-radius:14px}
.rod-readings-page .wpcf7 form>p{margin:0 0 20px}
.rod-readings-page .wpcf7 form>p:last-of-type{margin-bottom:0}
.rod-readings-page .wpcf7 label{display:block;color:#254730;font-weight:700;line-height:1.45}
.rod-readings-page .wpcf7 .wpcf7-form-control-wrap{display:block;margin-top:7px}
.rod-readings-page .wpcf7 :is(input[type="text"],input[type="number"],input[type="email"]){display:block;width:100%;max-width:480px;min-height:44px;padding:10px 12px;background:#fff;border:1px solid #adc6ac;border-radius:8px;box-shadow:none;font:inherit}
.rod-readings-page .wpcf7 input[type="number"]{max-width:240px}
.rod-readings-page .wpcf7 :is(input[type="text"],input[type="number"],input[type="file"]):focus-visible{outline:3px solid #9acaa2;outline-offset:2px}
.rod-readings-page .wpcf7 .wpcf7-list-item{display:inline-flex;align-items:center;margin:6px 10px 0 0;padding:7px 12px;background:#fff;border:1px solid #c9ddc7;border-radius:8px}
.rod-readings-page .wpcf7 .wpcf7-list-item label{display:inline-flex;align-items:center;gap:7px;font-weight:600;cursor:pointer}
.rod-readings-page .wpcf7 input[type="checkbox"]{width:18px;height:18px;margin:0;accent-color:#277447}
.rod-readings-page .wpcf7 input[type="file"]{max-width:100%;padding:10px;background:#fff;border:1px dashed #a6c5a4;border-radius:8px;font:inherit}
.rod-readings-page .entry-content .wpcf7 :is(input[type="submit"],button[type="submit"],.wpcf7-submit){display:inline-block;min-height:46px;padding:10px 24px;border:0;border-radius:8px;background:#277447!important;color:#fff!important;opacity:1;visibility:visible;font:750 1rem/1.3 system-ui,sans-serif;cursor:pointer}
.rod-readings-page .entry-content .wpcf7 :is(input[type="submit"],button[type="submit"],.wpcf7-submit):hover,.rod-readings-page .entry-content .wpcf7 :is(input[type="submit"],button[type="submit"],.wpcf7-submit):focus-visible{background:#1c5935!important;color:#fff!important;box-shadow:0 5px 15px #183b2a33}
.rod-readings-page .wpcf7 .wpcf7-not-valid-tip{display:block;margin-top:5px;color:#a32626;font-size:.86rem}
.rod-readings-page .wpcf7 .wpcf7-response-output{margin:18px 0 0;padding:12px 15px;border-radius:8px}
.rod-readings-page .readings-quick-links{max-width:780px;margin:24px 0 0}
@media(max-width:700px){.rod-readings-page .wpcf7{padding:18px}.rod-readings-page .wpcf7 input[type="file"]{width:100%}}

/* Dyżury zarządu: najbliższy termin i rozwijany kalendarz. */
.duty-card{padding:0;align-self:start;border-top:4px solid #277447;overflow:hidden}.duty-summary{padding:23px 26px;cursor:pointer;list-style:none;transition:background .18s,color .18s}.duty-summary::-webkit-details-marker{display:none}.duty-summary::marker{content:""}.duty-summary:hover{background:#edf6ed}.duty-summary:focus-visible{outline:3px solid #277447;outline-offset:-4px}.duty-next,.duty-hours,.duty-place,.duty-toggle{display:block}.duty-next{font-size:1.08rem;font-weight:750;color:var(--dark);line-height:1.4;margin:0 0 8px}.duty-hours{font-size:1.35rem;font-weight:800;color:var(--green)}.duty-place{font-size:.91rem;color:var(--muted);margin:2px 0 14px}.duty-toggle{font-weight:750;color:var(--green);font-size:.92rem}.duty-toggle>span{display:inline-block;transition:transform .18s}.duty-details[open]>.duty-summary .duty-toggle>span{transform:rotate(180deg)}.duty-calendar{padding:0 26px 23px;border-top:1px solid var(--line)}.duty-calendar h4{font-size:1rem;margin:17px 0 12px}.duty-list{list-style:none;margin:0;padding:0}.duty-list li{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.9rem}.duty-list time{font-weight:650;color:var(--dark)}.duty-list li>span,.duty-empty{color:var(--muted);font-size:.85rem}.duty-history{margin-top:16px}.duty-history>summary{cursor:pointer;font-size:.85rem;color:var(--muted)}.highlight-grid{align-items:start}@media(max-width:600px){.duty-summary{padding:22px}.duty-calendar{padding:0 22px 22px}}

/* Spójne kafelki na stronie głównej i kolory ważnych informacji. */
.highlight-grid>.highlight{min-height:290px;border-top-width:4px;border-top-style:solid;border-top-color:#277447;border-radius:14px;box-shadow:0 10px 30px #2143290b}.highlight-grid .highlight-link,.highlight-grid .duty-summary{min-height:285px;padding:24px}.highlight-grid .weather-card{padding:24px}.highlight-grid h3{font-size:1.17rem;font-weight:750;line-height:1.3;margin:12px 0}.highlight-grid .label{display:inline-block;padding:4px 10px;border-radius:100px;background:#edf4e9;color:#325e3d;font-size:.72rem;letter-spacing:.09em}
.highlight-grid>.important-highlight{background:#fff3f2;border-color:#edc4c0;border-top-color:#b52e2e;box-shadow:0 10px 30px #8a252512}.important-highlight .label{background:#f9dcd9;color:#922424}.important-highlight h3{color:#852323}.important-highlight .highlight-action{color:#a12828}.important-highlight:hover,.important-highlight:focus-within{background:#a52c2c;border-color:#a52c2c}.important-highlight:hover h3,.important-highlight:focus-within h3{color:#fff}.important-highlight:hover .label,.important-highlight:focus-within .label{background:#fff;color:#922424}.important-highlight:hover .highlight-action,.important-highlight:focus-within .highlight-action{color:#fff}
.highlight-grid>.duty-card{background:#fff9df;border-color:#e6d391;border-top-color:#d6a126;box-shadow:0 10px 30px #b18b1912}.duty-card .label{background:#f8e8ad;color:#705312}.duty-card h3,.duty-card .duty-next{color:#5e4817}.duty-card .duty-hours,.duty-card .duty-toggle{color:#725417}.duty-card .duty-place{color:#706441}.duty-card .duty-summary:hover{background:#fff0bd}.duty-card .duty-summary:focus-visible{outline-color:#9d7416}.duty-card .duty-calendar,.duty-card .duty-list li{border-color:#e9dcae}.duty-card .duty-list time{color:#5e4817}.duty-card .duty-list li>span,.duty-card .duty-history>summary,.duty-card .duty-empty{color:#706441}
@media(max-width:600px){.highlight-grid>.highlight{min-height:0}.highlight-grid .highlight-link,.highlight-grid .duty-summary{min-height:0;padding:22px}.highlight-grid .weather-card{padding:22px}}

/* Kafelki w jednym wierszu mają wspólną wysokość wynikającą z treści. */
.highlight-grid{align-items:stretch}.highlight-grid>.highlight{height:100%}.highlight-grid>.highlight-clickable{display:flex}.highlight-grid>.highlight-clickable>.highlight-link{flex:1;width:100%}.highlight-grid>.duty-card{align-self:stretch}.duty-card>.duty-details{height:100%}.duty-details:not([open])>.duty-summary{height:100%}.highlight-grid .weather-card .weather-reading{font-size:2rem;margin:12px 0;line-height:1.15}.highlight-grid .weather-card .weather-reading span{font-size:2.1rem}.highlight-grid .weather-card p{margin-bottom:9px}.highlight-grid .weather-card small{display:block;font-size:.76rem;line-height:1.4}
@media(max-width:600px){.highlight-grid>.highlight,.duty-card>.duty-details,.duty-details:not([open])>.duty-summary{height:auto}}

/* Wariant spokojny: białe kafelki z subtelnymi akcentami. */
.highlight-grid>.important-highlight,.highlight-grid>.duty-card{background:#fff;border-color:var(--line);box-shadow:0 10px 30px #2143290b}.highlight-grid>.important-highlight{border-top-color:#b52e2e}.highlight-grid>.duty-card{border-top-color:#d6a126}.important-highlight h3,.duty-card h3,.duty-card .duty-next{color:var(--dark)}.important-highlight .highlight-action,.duty-card .duty-hours,.duty-card .duty-toggle{color:var(--green)}.duty-card .duty-place,.duty-card .duty-list li>span,.duty-card .duty-history>summary,.duty-card .duty-empty{color:var(--muted)}.duty-card .duty-list time{color:var(--dark)}.duty-card .duty-calendar,.duty-card .duty-list li{border-color:var(--line)}.important-highlight .label,.important-highlight:hover .label,.important-highlight:focus-within .label{background:#fff0ee;color:#922424}.duty-card .label{background:#fff5d9;color:#785719}
.important-highlight .label::before{content:"!";display:inline-grid;place-items:center;width:17px;height:17px;border:1.5px solid currentColor;border-radius:50%;margin-right:7px;font-weight:800;letter-spacing:0;line-height:1}.duty-card .label::before{content:"";display:inline-block;width:15px;height:15px;margin-right:8px;vertical-align:-3px;border:1.5px solid currentColor;border-radius:3px;background:linear-gradient(currentColor,currentColor) 0 3px/100% 1.5px no-repeat}
.highlight-grid>.important-highlight:hover,.highlight-grid>.important-highlight:focus-within{background:#fff8f7;border-color:#e8c8c3;border-top-color:#b52e2e;transform:none;box-shadow:0 12px 28px #6b272714}.important-highlight:hover .highlight-link,.important-highlight:focus-within .highlight-link{color:inherit}.important-highlight:hover h3,.important-highlight:focus-within h3{color:var(--dark)}.important-highlight:hover p,.important-highlight:focus-within p{color:var(--muted)}.important-highlight:hover .highlight-action,.important-highlight:focus-within .highlight-action{color:var(--green)}.important-highlight .highlight-link:focus-visible{outline-color:#b52e2e}.duty-card{transition:box-shadow .18s,border-color .18s}.highlight-grid>.duty-card:hover,.highlight-grid>.duty-card:focus-within{border-color:#e5d8b3;border-top-color:#d6a126;box-shadow:0 12px 28px #745b1914}.duty-card .duty-summary:hover{background:#fffaf0}

/* Jasny kafelek ważnej informacji nie dziedziczy białego tekstu z zielonych kafelków. */
.highlight-grid>.important-highlight:is(:hover,:focus-within) .highlight-link{color:var(--dark)}.highlight-grid>.important-highlight:is(:hover,:focus-within) .highlight-link p{color:var(--muted)}.highlight-grid>.important-highlight:is(:hover,:focus-within) .highlight-link h3{color:var(--dark)}.highlight-grid>.important-highlight:is(:hover,:focus-within) .highlight-link .highlight-action{color:var(--green)}.highlight-grid>.important-highlight:is(:hover,:focus-within) .highlight-link .label{color:#922424;background:#fff0ee}

/* Mniejszy obraz wyróżniający wewnątrz wpisu, z zachowaniem proporcji. */
.entry-content>.post-featured-image{margin:0 0 24px}.entry-content>.post-featured-image img{display:block;width:auto;height:auto;max-width:min(100%,520px);max-height:300px;object-fit:contain;border-radius:10px}

/* Nagłówek procedury na telefonie jest wyrównany do lewej. */
@media(max-width:782px){.entry-content .rod-document-procedure,.entry-content .rod-document-procedure *{text-align:left!important}}

/* Procedura jest odnośnikiem PDF: wyrównaj również układ samego przycisku. */
@media(max-width:782px){.entry-content :is(a,button).rod-document-procedure,.entry-content .rod-document-procedure :is(a,button){display:flex!important;align-items:center;justify-content:flex-start!important;text-align:left!important;gap:12px;white-space:normal!important}.entry-content :is(a,button).rod-document-procedure :is(i,svg,img),.entry-content .rod-document-procedure :is(a,button) :is(i,svg,img){flex-shrink:0}.entry-content .rod-document-procedure :is(span,strong,b){text-align:left!important}}

/* Wszystkie opisy i przyciski dokumentów wyrównane do lewej na telefonach. */
@media(max-width:782px){.rod-documents-page .entry-content,.rod-documents-page .entry-content *{text-align:left!important}.rod-documents-page .entry-content :is(.wp-block-buttons,.wp-block-button){justify-content:flex-start!important}.rod-documents-page .entry-content :is(a[class*="btn"],a[class*="button"],a.wp-block-button__link,button){display:flex!important;align-items:center;justify-content:flex-start!important;gap:12px;white-space:normal!important;max-width:100%}.rod-documents-page .entry-content :is(a[class*="btn"],a[class*="button"],a.wp-block-button__link,button) :is(i,svg,img){flex-shrink:0}}

/* Nagłówki poszczególnych galerii bliżej zdjęć, z odstępem od poprzedniej sekcji. */
.rod-gallery-page .entry-content :is(h2,h3,h4){margin-top:36px;margin-bottom:10px}.rod-gallery-page .entry-content :is(h2,h3,h4)+:is(.wp-block-gallery,.gallery,.wp-block-shortcode,.wp-block-group){margin-top:0}.rod-gallery-page .entry-content :is(h2,h3,h4):first-child{margin-top:18px}
@media(max-width:600px){.rod-gallery-page .entry-content :is(h2,h3,h4){margin-top:28px;margin-bottom:8px}}

/* Nagłówki galerii bezpośrednio nad zdjęciami. */
.rod-gallery-page .entry-content :is(h2,h3,h4){margin-top:44px;margin-bottom:2px!important}.rod-gallery-page .entry-content :is(h2,h3,h4)+:is(.wp-block-gallery,.gallery,.wp-block-shortcode,.wp-block-group){margin-top:0!important;padding-top:0}.rod-gallery-page .entry-content :is(h2,h3,h4)+p:empty{display:none}

/* Rzeczywiste tytuły galerii to akapity w widżetach tekstowych Elementora. */
.rod-gallery-page .entry-content .elementor-widget-text-editor{margin-bottom:0!important}.rod-gallery-page .entry-content .elementor-widget-text-editor .elementor-widget-container>p{margin-top:28px!important;margin-bottom:2px!important}.rod-gallery-page .entry-content .elementor-widget-image-gallery{margin-top:0!important}.rod-gallery-page .entry-content .elementor-widget-image-gallery .elementor-widget-container,.rod-gallery-page .entry-content .elementor-image-gallery{margin-top:0!important;padding-top:0!important}.rod-gallery-page .entry-content .elementor-image-gallery>.gallery{margin-top:0!important}

/* Panel zarządu: wspólny wygląd odnośników-kafelków. */
.rod-panel-page .entry-content :is(.elementor-button,.wp-block-button__link,.rb-control-link,.elementor-icon-box-wrapper,.elementor-image-box-wrapper){box-sizing:border-box;background:#fff!important;background-image:none!important;color:#244d34!important;border:1px solid #d5e5d4!important;border-top:4px solid #277447!important;border-radius:12px!important;padding:22px!important;box-shadow:0 8px 25px #244d3410!important;text-decoration:none!important;transition:background-color .18s,border-color .18s,box-shadow .18s;white-space:normal;text-align:left!important;line-height:1.45}
.rod-panel-page .entry-content :is(.elementor-button,.wp-block-button__link){display:flex;align-items:center;min-height:100px;width:100%;font-size:1.2rem!important;font-weight:700!important}
.rod-panel-page .entry-content :is(.elementor-button-content-wrapper,.elementor-button-text){text-align:left!important;justify-content:flex-start}
.rod-panel-page .entry-content :is(.elementor-icon-box-title,.elementor-image-box-title){margin:0 0 8px!important;font-size:1.2rem!important;line-height:1.4;color:#244d34!important}
.rod-panel-page .entry-content :is(.elementor-icon-box-title,.elementor-image-box-title) a{color:inherit!important;text-decoration:none}
.rod-panel-page .entry-content :is(.elementor-icon-box-description,.elementor-image-box-description){color:#5d6b60!important;font-size:.95rem;line-height:1.5;margin:0}
.rod-panel-page .entry-content .elementor-icon{color:#277447!important;fill:#277447!important;background:transparent!important}
.rod-panel-page .entry-content :is(.elementor-button,.wp-block-button__link,.rb-control-link,.elementor-icon-box-wrapper,.elementor-image-box-wrapper):is(:hover,:focus-visible,:focus-within){background:#eef6e9!important;color:#244d34!important;border-color:#99bd9c!important;border-top-color:#277447!important;box-shadow:0 10px 28px #244d341a!important}
.rod-panel-page .entry-content :is(.elementor-button,.wp-block-button__link,.rb-control-link):focus-visible{outline:3px solid #277447;outline-offset:3px}
.rod-panel-page .entry-content .wp-block-buttons{gap:20px;align-items:stretch}
.rod-panel-page .entry-content .wp-block-button{flex:1 1 240px}
.rod-panel-page .entry-content .rb-panel-link{margin-top:20px}
.rod-panel-page .entry-content .rb-control-link{max-width:none;min-height:100px}
@media(max-width:600px){.rod-panel-page .entry-content :is(.elementor-button,.wp-block-button__link,.rb-control-link,.elementor-icon-box-wrapper,.elementor-image-box-wrapper){padding:18px!important}.rod-panel-page .entry-content .wp-block-button{flex-basis:100%}}

/* Rzeczywiste odnośniki z treści panelu: Frekwencja i Zaniedbane działki. */
.rod-panel-page .entry-content a.rod-panel-tile{display:inline-flex;align-items:center;justify-content:flex-start;box-sizing:border-box;vertical-align:top;width:calc(50% - 12px);min-height:100px;margin:0 16px 20px 0;padding:22px;background:#fff!important;background-image:none!important;border:1px solid #d5e5d4;border-top:4px solid #277447;border-radius:12px;color:#244d34!important;font-size:1.2rem;font-weight:700;line-height:1.45;letter-spacing:normal;text-align:left;text-decoration:none!important;box-shadow:0 8px 25px #244d3410;transition:background-color .18s,border-color .18s,box-shadow .18s;transform:none!important}
.rod-panel-page .entry-content a.rod-panel-tile:is(:hover,:focus-visible){background:#eef6e9!important;color:#244d34!important;border-color:#99bd9c;border-top-color:#277447;box-shadow:0 10px 28px #244d341a;transform:none!important}
.rod-panel-page .entry-content a.rod-panel-tile:hover *{color:#244d34!important}
.rod-panel-page .entry-content a.rod-panel-tile:focus-visible{outline:3px solid #277447;outline-offset:3px}
.rod-panel-page .startpage-wrapper{max-width:none;margin:0;padding:0;text-align:left}
.rod-panel-page .startpage-wrapper .grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.rod-panel-page .grid a.rod-panel-tile{width:100%;margin:0}
@media(max-width:600px){.rod-panel-page .entry-content a.rod-panel-tile{width:100%;margin:0 0 16px;padding:18px}}

/* Wszystkie trzy kafelki panelu w jednej siatce. */
.rod-panel-page .entry-content .rod-panel-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0;width:100%;text-align:left}
.rod-panel-page .entry-content .rod-panel-tool{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:190px;padding:22px;background:#fff!important;border:1px solid #d5e5d4;border-top:4px solid #277447;border-radius:12px;color:#244d34!important;text-decoration:none!important;box-shadow:0 8px 25px #244d3410;transition:background-color .18s,border-color .18s,box-shadow .18s}
.rod-panel-page .entry-content .rod-panel-tool strong{display:block;font-size:1.2rem;line-height:1.4;font-weight:700;margin:0 0 10px;color:#244d34!important}
.rod-panel-page .entry-content .rod-panel-tool-description{display:block;flex:1;font-size:.95rem;line-height:1.5;color:#5d6b60!important;margin:0 0 18px}
.rod-panel-page .entry-content .rod-panel-tool-action{display:block;font-size:.95rem;font-weight:700;line-height:1.4;color:#277447!important}
.rod-panel-page .entry-content .rod-panel-tool:is(:hover,:focus-visible){background:#eef6e9!important;border-color:#99bd9c;border-top-color:#277447;box-shadow:0 10px 28px #244d341a}
.rod-panel-page .entry-content .rod-panel-tool:focus-visible{outline:3px solid #277447;outline-offset:3px}
.rod-panel-page .grid:has(>.rod-panel-tools){display:block}
@media(max-width:700px){.rod-panel-page .entry-content .rod-panel-tools{grid-template-columns:1fr;gap:16px}.rod-panel-page .entry-content .rod-panel-tool{min-height:170px;padding:20px}}

.hero .button:has(.rod-panel-icon){display:inline-flex;align-items:center;gap:10px}.hero .rod-panel-icon{flex-shrink:0}

.site-nav .rod-panel-menu-icon{display:inline-block;vertical-align:-3px;margin-right:7px;flex-shrink:0}.site-nav .rod-panel-menu-item a{white-space:nowrap}

/* Wyróżniony dostęp do panelu zarządu. */
.site-header .site-nav .rod-menu .rod-panel-menu-item>a{background:#edf6ed;border:1px solid #277447;border-radius:9px;color:#244d34;padding:8px 12px;text-decoration:none;transition:background-color .18s,color .18s}
.site-header .site-nav .rod-menu .rod-panel-menu-item>a:is(:hover,:focus-visible){background:#277447;border-color:#277447;color:#fff;text-decoration:none}
.site-header .site-nav .rod-menu .rod-panel-menu-item>a:focus-visible{outline:3px solid #a5cba8;outline-offset:3px}

/* Szerszy nagłówek, jeden wiersz menu na komputerze. */
@media(min-width:1101px){
 body .site-header .header-inner{width:min(1680px,calc(100% - 48px));display:flex!important;flex-direction:row;align-items:center;gap:24px!important}
 body .site-header .brand{flex:0 0 auto!important;width:auto!important;margin:0!important}
 body .site-header .site-nav{flex:1 1 auto!important;min-width:0;width:auto!important}
 body .site-header .site-nav .rod-menu{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:flex-start;gap:4px!important}
 body .site-header .site-nav .rod-menu>li{flex:0 0 auto}
 body .site-header .site-nav .rod-menu>li>a,body .site-header .site-nav .rod-menu>li>.menu-parent-label{white-space:nowrap!important;padding-left:9px;padding-right:9px}
 body .site-header.rod-menu-collapsed .header-inner{flex-wrap:wrap!important}
 body .site-header.rod-menu-collapsed .menu-toggle{display:block;margin-left:auto}
 body .site-header.rod-menu-collapsed .site-nav{flex:0 0 100%!important;width:100%!important;display:none!important}
 body .site-header.rod-menu-collapsed .site-nav.is-open{display:block!important}
 body .site-header.rod-menu-collapsed .site-nav .rod-menu{display:block!important;max-height:65vh;overflow-y:auto}
 body .site-header.rod-menu-collapsed .site-nav .rod-menu>li>a,body .site-header.rod-menu-collapsed .site-nav .menu-parent-label{text-align:left;padding:12px 14px}
 body .site-header.rod-menu-collapsed .site-nav .rod-menu .sub-menu{display:block;position:static;width:auto;min-width:0;max-width:none;box-shadow:none;border:0;margin-left:14px}
}


/* Telefon: do lewej, z miejscem na pasek przewijania. */
@media(max-width:700px){
 body .site-header .site-nav .rod-menu{box-sizing:border-box;width:100%;padding:8px 16px!important;scrollbar-gutter:stable both-edges;overscroll-behavior:contain}
 body .site-header .site-nav .rod-menu>li{text-align:left}
 body .site-header .site-nav .rod-menu a,body .site-header .site-nav .rod-menu .menu-parent-label{display:block;text-align:left!important;white-space:normal;overflow-wrap:anywhere;padding:12px 10px!important}
 body .site-header .site-nav .rod-menu .sub-menu{box-sizing:border-box;margin:0!important;padding:0 0 6px 14px!important;width:100%;text-align:left}
 body .site-header .site-nav .rod-menu .sub-menu a{text-align:left!important;padding:10px!important}
 body .site-header .site-nav .rod-menu .rod-panel-menu-item>a{margin:8px 0}
}
/* Komputer: wyśrodkowane menu obok logo. */
@media(min-width:701px){body .site-header .site-nav .rod-menu{justify-content:center!important}}
@media(min-width:1101px){body .site-header.rod-menu-collapsed .site-nav .rod-menu{justify-content:flex-start!important}}

/* Logo i menu jako jedna wyśrodkowana grupa na komputerze. */
@media(min-width:1101px){
 body .site-header:not(.rod-menu-collapsed) .header-inner{justify-content:center!important;gap:20px!important}
 body .site-header:not(.rod-menu-collapsed) .site-nav{flex:0 1 auto!important;width:auto!important}
 body .site-header:not(.rod-menu-collapsed) .brand{flex:0 0 auto!important}
}
