/*
Theme Name: Ustronie
Description: Strona ROD Ustronie z obsługą bbPress.
Version: 2.4.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: ustronie
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{--forest:#244d3b;--deep:#173a2b;--text:#243c31;--muted:#5d6c61;--cream:#f7f7f0;--line:#dce2d5;--sage:#eaf0e2;--orange:#b35c33;--white:#fff;--scale:1}
*{box-sizing:border-box}html{scroll-behavior:smooth;font-size:calc(16px * var(--scale));scroll-padding-top:30px}body{margin:0;color:var(--text);background:var(--cream);font-family:Arial,Helvetica,sans-serif;line-height:1.55}h1,h2,h3,p{margin:0}h1,h2,.serif{font-family:Georgia,'Times New Roman',serif;font-weight:400}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #b35c33;outline-offset:5px}button{color:inherit}img{max-width:100%;display:block}.wrap{width:min(1200px,calc(100% - 80px));margin:auto}.icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.arrow{width:20px;height:20px}small{font-size:.78rem}.eyebrow{font-size:.72rem;letter-spacing:.15em;font-weight:700;text-transform:uppercase}.muted{color:var(--muted)}.skip{position:absolute;left:20px;top:-80px;padding:12px;background:var(--white);z-index:20}.skip:focus{top:20px}.concept-bar{background:var(--forest);color:#fff;font-size:.72rem;letter-spacing:.035em;padding:8px 0}.concept-bar .wrap{display:flex;justify-content:space-between;gap:20px}.concept-bar a{text-decoration:underline;text-underline-offset:3px}header{background:var(--cream)}.nav{display:flex;align-items:center;gap:36px;min-height:108px}.brand{display:flex;gap:12px;align-items:center;margin-right:auto}.brandmark{width:48px;height:48px;border-radius:50%;background:var(--forest);color:#fff;display:flex;align-items:center;justify-content:center}.brandmark .icon{width:29px;height:29px}.brandname{font-family:Georgia,serif;font-size:1.8rem;line-height:1}.brand-sub{display:block;font-size:.61rem;letter-spacing:.14em;text-transform:uppercase;margin-top:8px}.navlinks{display:flex;gap:27px;font-size:.88rem;align-items:center}.navlinks a:hover,.textlink:hover{text-decoration:underline;text-underline-offset:5px}.navtools{display:flex;gap:9px;align-items:center}.tool{border:1px solid var(--line);background:transparent;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:.85rem}.menu{display:none}.hero{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center;padding:35px 0 46px}.hero-copy{max-width:525px}.hero .eyebrow{color:var(--forest);margin-bottom:24px}.hero h1{font-size:4.05rem;line-height:1.03;letter-spacing:-.045em;margin-bottom:24px}.hero h1 em{font-weight:400;color:#577755}.hero-description{font-size:1.02rem;line-height:1.8;color:var(--muted);max-width:440px}.actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:13px 21px;border-radius:6px;border:1px solid var(--forest);background:var(--forest);color:white;font-weight:700;font-size:.87rem;min-height:48px}.btn:hover{background:var(--deep)}.btn.secondary{background:transparent;color:var(--forest);border-color:var(--line)}.btn.secondary:hover{background:var(--sage)}.hero-note{margin-top:29px;font-size:.76rem;display:flex;align-items:center;gap:8px;color:var(--muted)}.hero-art{position:relative}.hero-art img{width:100%}.art-label{position:absolute;bottom:9px;right:30px;font-size:.58rem;color:#41563f;background:#f7f7f0e6;padding:4px 10px;border-radius:20px}.alert{display:flex;align-items:center;gap:18px;padding:21px 26px;border:1px solid #e3cead;background:#fcf2e2;border-radius:10px;margin-bottom:35px}.alert-icon{color:#9c552f;background:#f3dec0;display:flex;align-items:center;justify-content:center;width:43px;height:43px;flex-shrink:0;border-radius:50%}.alert strong{font-size:.98rem}.alert p{font-size:.82rem;color:#715e49;margin-top:3px}.alert .textlink{margin-left:auto;color:#7d442b;white-space:nowrap}.textlink{display:inline-flex;gap:12px;align-items:center;font-size:.83rem;font-weight:700;border:0;background:none;padding:0}.quick{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:10px;background:var(--white);margin-bottom:64px;overflow:hidden}.quick a{padding:22px 24px;display:flex;gap:15px;align-items:center;border-right:1px solid var(--line)}.quick a:last-child{border:0}.quick a:hover{background:var(--sage)}.quick .icon{color:#597951;width:26px;height:26px}.quick strong{display:block;font-size:.94rem}.quick small{display:block;color:var(--muted);margin-top:2px;font-size:.7rem}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.sectionhead .eyebrow{color:#69815f;margin-bottom:9px}h2{font-size:2.3rem;letter-spacing:-.035em;line-height:1.15}.sectionhead p{margin-top:12px;color:var(--muted);font-size:.9rem}.news-controls{display:flex;align-items:center;gap:18px;justify-content:space-between;margin-bottom:23px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter{border:1px solid var(--line);padding:8px 16px;border-radius:30px;background:transparent;font-size:.76rem}.filter[aria-pressed=true]{background:var(--forest);color:#fff;border-color:var(--forest)}.searchfield{display:flex;align-items:center;gap:9px;border:1px solid var(--line);padding:8px 13px;background:var(--white);border-radius:6px;width:300px}.searchfield .icon{width:18px;height:18px;color:var(--muted)}.searchfield input{border:0;background:transparent;min-width:0;width:100%;font-size:.78rem;padding:3px;outline-offset:2px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.news-card{background:var(--white);border:1px solid var(--line);border-radius:11px;padding:25px;display:flex;flex-direction:column;min-height:263px}.news-card[hidden]{display:none}.cardmeta{display:flex;align-items:center;justify-content:space-between;font-size:.66rem;gap:8px;margin-bottom:22px}.tag{font-weight:700;background:var(--sage);color:#4a6842;padding:4px 9px;border-radius:4px}.tag.amber{background:#f8edda;color:#8c5832}.cardmeta time{color:var(--muted)}.news-card h3{font-size:1.18rem;line-height:1.4;letter-spacing:-.02em;margin-bottom:13px}.news-card p{font-size:.83rem;color:var(--muted);line-height:1.7;margin-bottom:23px}.news-card .textlink{margin-top:auto;justify-content:space-between;width:100%;font-size:.76rem}.empty{padding:35px;border:1px dashed var(--line);border-radius:10px;color:var(--muted)}.utility-grid{display:grid;grid-template-columns:1.07fr 1fr;gap:64px;margin:64px 0}.dates{background:#edf1e5;border-radius:12px;padding:30px}.dates .eyebrow{color:#597551;margin-bottom:8px}.dates h2{font-size:1.85rem;margin-bottom:22px}.date-row{display:flex;gap:20px;align-items:center;padding:17px 0;border-top:1px solid #d4dccb}.date-box{text-align:center;min-width:46px}.date-box b{font-family:Georgia,serif;font-weight:400;font-size:2rem;line-height:1;display:block}.date-box span{font-size:.6rem;text-transform:uppercase;letter-spacing:.11em}.date-content b{font-size:.84rem;display:block;margin-bottom:3px}.date-content p{font-size:.73rem;color:var(--muted)}.date-row .textlink{margin-left:auto;padding:6px}.resources{padding:12px 0}.resources .eyebrow{color:#69815f;margin-bottom:9px}.resources h2{font-size:1.9rem;margin-bottom:22px}.resource{display:flex;align-items:center;gap:17px;padding:21px 0;border-bottom:1px solid var(--line)}.resource .resource-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#eaf0e2;border-radius:8px;color:#52754b}.resource strong{font-size:.89rem}.resource small{display:block;color:var(--muted);font-size:.73rem;margin-top:3px}.resource>.icon{margin-left:auto;width:19px;height:19px}.resource:hover strong{text-decoration:underline;text-underline-offset:4px}.about{background:var(--forest);color:#fff;border-radius:13px;display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:45px 48px;align-items:center;margin-bottom:58px}.about .eyebrow{color:#c6d9b5;margin-bottom:17px}.about h2{font-size:2.45rem;max-width:420px;line-height:1.15}.about p{font-size:.87rem;line-height:1.85;color:#e0e8dc}.about .textlink{margin-top:20px;color:white}.contact{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;padding-bottom:42px}.contact h2{font-size:2rem}.contact .eyebrow{color:#69815f;margin-bottom:10px}.contact p{font-size:.84rem;color:var(--muted);margin-top:13px}.contact-detail{display:flex;gap:14px;padding-top:12px}.contact-detail>.icon{color:#638257}.contact-detail strong{font-size:.84rem}.contact-detail p{margin-top:6px;font-size:.8rem}.contact-detail .textlink{margin-top:15px;font-size:.74rem}.footer{border-top:1px solid var(--line);padding:20px 0 25px;color:var(--muted);font-size:.67rem}.footer-top{display:flex;justify-content:space-between;gap:30px;margin-bottom:12px}.footer-links{display:flex;gap:22px}.footer a{text-decoration:underline;text-underline-offset:3px}.prototype-note{max-width:1020px;line-height:1.6;font-size:.63rem}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.print-only{display:none}
dialog{width:min(620px,calc(100% - 32px));max-height:85vh;border:1px solid var(--line);border-radius:14px;padding:34px;background:var(--cream);color:var(--text);box-shadow:0 20px 80px #173a2b30}dialog::backdrop{background:#173a2b88;backdrop-filter:blur(3px)}dialog h2{font-size:2rem;padding-right:22px;margin:16px 0 20px}dialog p,dialog li{font-size:.94rem;line-height:1.85}dialog p+p{margin-top:15px}dialog .btn{margin-top:24px}.close-modal{position:absolute;top:15px;right:15px}.dialog-meta{color:var(--muted);font-size:.7rem;letter-spacing:.1em}.dialog-source{font-size:.73rem!important;margin-top:20px!important;color:var(--muted)}.dialog-source a{text-decoration:underline}.contrast{--forest:#113321;--deep:#001807;--text:#101c14;--muted:#344638;--cream:#fff;--line:#6b7b69;--sage:#e4efdd}.contrast .art-label{background:#fff}.contrast .alert p{color:#48301a}.contrast .about{background:#113321}.contrast .about p{color:#fff}
@media(min-width:1450px){.wrap{width:min(1280px,calc(100% - 100px))}.hero h1{font-size:4.4rem}.hero{gap:40px}}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.nav{gap:20px}.navlinks{gap:16px;font-size:.8rem}.navtools{gap:5px}.hero h1{font-size:3.3rem}.hero{gap:15px}.hero-description{font-size:.94rem}.quick a{padding:20px 14px;gap:10px}.quick strong{font-size:.83rem}.quick small{font-size:.66rem}.utility-grid{gap:30px}.about{gap:35px;padding:35px}.news-card{padding:20px}.contact{gap:25px}}
@media(max-width:760px){html{scroll-padding-top:15px}.wrap{width:calc(100% - 36px)}.concept-bar .wrap span:last-child{display:none}.nav{min-height:86px;flex-wrap:wrap;gap:0;position:relative}.brandname{font-size:1.6rem}.brandmark{width:43px;height:43px}.navtools{gap:7px}.navtools .tool{width:36px;height:36px}.navtools .search-top{display:none}.menu{display:inline-flex}.navlinks{display:none;width:100%;order:3;flex-direction:column;gap:0;padding:0 0 14px;align-items:stretch}.navlinks.open{display:flex}.navlinks a{padding:12px 0;border-top:1px solid var(--line);font-size:.95rem}.hero{grid-template-columns:1fr;padding:27px 0 29px;gap:19px}.hero-copy{max-width:100%}.hero .eyebrow{font-size:.62rem;margin-bottom:21px}.hero h1{font-size:3.4rem;line-height:1.05;margin-bottom:21px}.hero-description{font-size:.96rem;max-width:450px}.actions{margin-top:24px;gap:10px}.btn{padding:12px 15px;font-size:.8rem}.hero-note{margin-top:20px}.hero-art{max-width:430px;justify-self:center;width:100%}.art-label{font-size:.53rem;right:20px}.alert{align-items:flex-start;padding:18px;gap:12px;flex-wrap:wrap;margin-bottom:23px}.alert strong{font-size:.92rem}.alert p{font-size:.77rem}.alert>div:nth-child(2){flex:1}.alert .textlink{margin-left:55px;font-size:.76rem}.quick{grid-template-columns:1fr 1fr;margin-bottom:44px}.quick a{padding:19px 13px;gap:11px;border-bottom:1px solid var(--line)}.quick a:nth-child(2){border-right:0}.quick a:nth-child(3){border-bottom:0}.quick .icon{width:22px;height:22px}.quick strong{font-size:.85rem}.quick small{font-size:.64rem}.sectionhead{align-items:flex-start}.sectionhead>.textlink{display:none}h2{font-size:2rem}.sectionhead p{font-size:.84rem}.news-controls{align-items:stretch;flex-direction:column;gap:15px}.searchfield{width:100%}.filter{font-size:.73rem;padding:8px 13px}.news-grid{grid-template-columns:1fr;gap:14px}.news-card{min-height:auto;padding:23px}.cardmeta{margin-bottom:17px}.news-card h3{font-size:1.2rem}.news-card p{margin-bottom:20px}.news-card .textlink{font-size:.8rem}.utility-grid{grid-template-columns:1fr;gap:25px;margin:42px 0}.dates{padding:25px}.dates h2,.resources h2{font-size:1.8rem}.date-row{gap:15px}.about{grid-template-columns:1fr;gap:23px;padding:29px 25px;margin-bottom:42px}.about h2{font-size:2.2rem}.contact{grid-template-columns:1fr;gap:20px;padding-bottom:32px}.contact-detail{padding-top:0}.contact p{margin-top:8px}.contact-detail .textlink{margin-top:10px}.footer-top{flex-direction:column;gap:10px}.footer-links{gap:18px}.prototype-note{font-size:.63rem}.footer{padding-top:22px}dialog{padding:27px 22px}dialog h2{font-size:1.8rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

[hidden]{display:none!important}.nav{gap:22px}.brand{flex-shrink:0}.brand-sub{white-space:nowrap}.navlinks{gap:20px;white-space:nowrap;flex-shrink:0}.navtools{flex-shrink:0}.pzd-top{display:flex;gap:9px;align-items:center;padding-left:18px;border-left:1px solid var(--line);flex-shrink:0}.pzd-top img{width:45px;height:auto}.pzd-top span{font-size:.63rem;line-height:1.3}.sectionhead>div{flex:1}.btn{white-space:nowrap}.hero{padding-top:24px}.hero h1{font-size:3.85rem}.hero-art img{height:auto}.news-card{min-height:258px}.news-card h3{font-size:1.08rem}.news-card .cardmeta{margin-bottom:18px}.news-card p{font-size:.84rem}.news-grid{gap:18px}.snapshot-label{font-size:.69rem;color:var(--muted);margin:16px 0 0}.section{margin:58px 0}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:28px}.fee-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:30px;margin-top:26px}.fees-table{width:100%;border-collapse:collapse;font-size:.88rem}.fees-table th,.fees-table td{text-align:left;padding:14px 10px;border-bottom:1px solid var(--line);vertical-align:top}.fees-table th{font-size:.71rem;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}.fees-table td:nth-child(2){white-space:nowrap;font-weight:700}.fees-table .sub{display:block;font-size:.73rem;font-weight:400;color:var(--muted)}.account{background:var(--sage);padding:20px;border-radius:10px;margin-top:14px}.account:first-child{margin-top:0}.account b{font-size:.82rem;display:block}.account code{display:block;font:700 .88rem/1.7 Arial,sans-serif;word-break:break-word;margin:9px 0;letter-spacing:.035em}.account p{font-size:.73rem;color:var(--muted);margin:4px 0}.account button{margin-top:10px;font-size:.75rem}.inline-status{min-height:1.5em;font-size:.74rem;color:var(--forest);margin-top:8px}.fee-note{margin-top:16px;color:var(--muted);font-size:.76rem}.forum-shell{background:#edf1e5;border:1px solid #d5dfca;border-radius:14px;padding:32px}.forum-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}.forum-top p{font-size:.88rem;color:var(--muted);margin-top:12px;max-width:650px}.forum-kicker{display:flex;align-items:center;gap:10px;color:#4f7048;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px}.forum-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.forum-category{background:#fff;border:1px solid var(--line);border-radius:9px;padding:21px;display:flex;align-items:flex-start;gap:16px;text-align:left;width:100%;color:var(--text)}.forum-category>.icon{color:#5a7851;margin-top:2px}.forum-category:hover{background:#f9fbf7}.forum-category h3{font-size:.95rem;margin-bottom:6px}.forum-category p{font-size:.78rem;color:var(--muted);line-height:1.65}.forum-category small{display:block;margin-top:14px;color:#66785e;font-size:.67rem}.forum-category .out{margin-left:auto}.forum-bottom{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:22px;font-size:.75rem;color:var(--muted)}.forum-bottom .textlink{font-size:.76rem}.notice{padding:15px 18px;border:1px solid var(--line);background:#f7f9f2;border-radius:7px;font-size:.85rem;line-height:1.7;margin:20px 0}.past{opacity:.75}.date-content{flex:1}.date-row .textlink{flex-shrink:0}.date-box{width:75px;flex-shrink:0}.resources .resource{padding:17px 0}.document-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.doc-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;display:flex;flex-direction:column;gap:13px}.doc-card>.icon{color:#58794e}.doc-card strong{font-size:1rem}.doc-card p{font-size:.8rem;color:var(--muted)}.doc-card .textlink{margin-top:auto;padding-top:8px}.contact{grid-template-columns:1fr 1fr 1.2fr;gap:32px}.contact-detail a{overflow-wrap:anywhere}.board{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;margin-top:24px}.board div{border-top:2px solid #c6d6bb;padding-top:14px}.board b{display:block;font-size:.83rem}.board small{display:block;font-size:.72rem;color:var(--muted);margin-top:3px}.about{margin-bottom:36px}.footer-top{align-items:center}.pzd-footer{display:flex;align-items:center;gap:13px;text-decoration:none!important;font-size:.76rem}.pzd-footer img{width:48px;height:auto}.footer-links{white-space:nowrap;flex-wrap:wrap;gap:16px}.footer a:hover{text-decoration:underline}.prose{max-width:850px;font-size:1rem;line-height:1.85;margin:40px auto}.prose h1{font-size:2.5rem;line-height:1.2;margin-bottom:25px}.prose p,.prose ul,.prose ol{margin:1em 0}.prose a{text-decoration:underline;text-underline-offset:4px}.prose img{height:auto;max-width:100%}.prose table{border-collapse:collapse;max-width:100%;font-size:.9rem}.prose td,.prose th{border:1px solid var(--line);padding:10px}.entry-meta{font-size:.78rem;color:var(--muted);margin-bottom:25px}.pagination{margin:30px 0;display:flex;gap:10px}.pagination a,.pagination span{padding:6px 12px;border:1px solid var(--line);border-radius:4px}.pagination .current{background:var(--forest);color:white}.prose:after{content:"";display:table;clear:both}.wp-block-image{margin:1.5em 0}.aligncenter{margin-left:auto;margin-right:auto}.alignwide{max-width:1100px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.wp-caption-text{font-size:.8rem;color:var(--muted)}
/* bbPress integrates into the actual WordPress build. */
#bbpress-forums{font-size:.95rem;line-height:1.65}#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-replies{font-size:.9rem;border:1px solid var(--line);border-radius:9px;overflow:hidden}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:var(--sage);border:0;padding:18px}#bbpress-forums li.bbp-body li,#bbpress-forums div.bbp-reply-content{overflow-wrap:anywhere}#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{padding:21px;background:#fff}#bbpress-forums div.bbp-forum-header,#bbpress-forums div.bbp-reply-header{background:var(--sage)}#bbpress-forums div.bbp-template-notice{background:#f7f3e6;border-color:#e4d4b3;color:var(--text);padding:12px;border-radius:6px}#bbpress-forums fieldset.bbp-form{border:1px solid var(--line);border-radius:8px;padding:22px}#bbpress-forums input[type=text],#bbpress-forums input[type=password],#bbpress-forums input[type=email],#bbpress-forums select,#bbpress-forums textarea{background:#fff;color:var(--text);border:1px solid #a9b6a5;border-radius:5px;padding:11px;max-width:100%;font:inherit}#bbpress-forums button[type=submit],.ustronie-forum button[type=submit]{background:var(--forest);color:white;border:0;border-radius:6px;padding:12px 20px;min-height:45px}#bbpress-forums .bbp-pagination{color:var(--muted)}#bbpress-forums .bbp-forum-title,#bbpress-forums .bbp-topic-permalink{font-weight:700}#bbpress-forums .bbp-breadcrumb{font-size:.8rem}.forum-heading{margin:35px 0}.forum-heading h1{font-size:2.5rem}.forum-auth{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.forum-content{margin:30px 0 70px}.entry-content{overflow-x:auto}.forum-content h1{font-size:2.2rem}.forum-help{font-size:.82rem;color:var(--muted);margin:15px 0}
@media(max-width:1180px){.nav{gap:15px}.navlinks{gap:14px;font-size:.8rem}.pzd-top span{display:none}.pzd-top{padding-left:12px}.pzd-top img{width:38px}.navtools .search-top{display:none}.hero h1{font-size:3.45rem}.brandname{font-size:1.6rem}}
@media(max-width:950px){.nav{flex-wrap:wrap;min-height:95px;gap:12px}.navlinks{width:100%;order:4;justify-content:center;padding-bottom:14px}.brand{margin-right:auto}.pzd-top{order:2}.navtools{order:3}.fee-grid{grid-template-columns:1fr}.board{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.nav{min-height:85px;gap:6px}.pzd-top{padding-left:0;border:0;margin-right:7px}.pzd-top img{width:35px}.brandname{font-size:1.4rem}.brand-sub{font-size:.5rem;letter-spacing:.06em}.brand{gap:8px}.brandmark{width:35px;height:35px}.brandmark .icon{width:23px;height:23px}.navtools .tool{width:32px;height:32px}.navlinks{padding-bottom:15px;order:4;justify-content:flex-start}.navlinks.open{display:flex}.hero h1{font-size:3.2rem}.hero{padding-top:25px}.section{margin:42px 0}.fee-grid{gap:17px;margin-top:18px}.panel{padding:18px}.fees-table{font-size:.81rem}.fees-table th,.fees-table td{padding:12px 6px}.fees-table td:nth-child(2){white-space:normal}.fees-table .sub{font-size:.67rem}.account code{font-size:.82rem}.forum-shell{padding:23px 18px}.forum-top{flex-direction:column;align-items:flex-start;margin-bottom:22px;gap:18px}.forum-top h2{font-size:1.8rem}.forum-grid{grid-template-columns:1fr}.forum-category{padding:18px}.forum-bottom{align-items:flex-start;flex-direction:column;gap:12px}.document-grid{grid-template-columns:1fr}.doc-card{padding:22px}.board{grid-template-columns:1fr 1fr;gap:17px}.contact{grid-template-columns:1fr;gap:23px}.footer-top{align-items:flex-start}.utility-grid{gap:25px}.date-box{width:65px}.date-row{gap:12px}.date-content b{font-size:.82rem}.dates{padding:23px 18px}.about{padding:28px 23px}.prose{font-size:.95rem}.prose h1{font-size:2rem}.forum-heading h1{font-size:2rem}#bbpress-forums .bbp-forum-info,#bbpress-forums .bbp-topic-title{width:60%}#bbpress-forums .bbp-forum-topic-count,#bbpress-forums .bbp-topic-voice-count{width:16%}#bbpress-forums .bbp-forum-reply-count,#bbpress-forums .bbp-topic-reply-count{width:20%}#bbpress-forums .bbp-forum-freshness,#bbpress-forums .bbp-topic-freshness{display:none}#bbpress-forums div.bbp-reply-author{float:none;width:auto;min-height:40px;text-align:left;display:flex;gap:10px;align-items:center}#bbpress-forums div.bbp-reply-content{margin-left:0;padding:14px 0}#bbpress-forums div.bbp-reply-author img.avatar{position:static;width:32px;height:32px;margin:0}}
@media(max-width:370px){.navtools #contrast{display:none}.hero h1{font-size:2.8rem}.actions{align-items:stretch}.actions .btn{white-space:normal}.brand-sub{font-size:.46rem}}
@media print{.navtools,.news-controls,.forum-top .btn,.forum-bottom button,.account button{display:none!important}.wrap{width:95%}.hero{grid-template-columns:1fr 1fr}.news-grid{grid-template-columns:repeat(3,1fr)}.news-card,.forum-shell,.panel,.doc-card{break-inside:avoid}.navlinks{display:flex}.pzd-top{display:flex}.footer{margin-top:30px}}

.missing-resource{opacity:.65;cursor:not-allowed;text-decoration:line-through}

/* Gallery section */

/* ROD Ustronie: gallery */
.garden-gallery{padding-top:70px;padding-bottom:64px}.gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:25px}.gallery-heading h2{font-size:clamp(2rem,4vw,3.1rem);margin:10px 0 12px}.gallery-intro{max-width:620px;color:var(--muted);font-size:.96rem}.gallery-count{font-size:.77rem;background:var(--sage);border-radius:40px;padding:9px 15px;white-space:nowrap}.gallery-controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.gallery-filter{background:transparent;border:1px solid var(--line);border-radius:30px;padding:9px 18px;font-size:.85rem}.gallery-filter[aria-pressed="true"]{background:var(--forest);color:white;border-color:var(--forest)}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.gallery-item{margin:0;min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.gallery-photo{display:block;position:relative;width:100%;aspect-ratio:4/3;padding:0;border:0;background:#e8efe6;overflow:hidden;text-align:center}.gallery-feature .gallery-photo{aspect-ratio:4/3}.gallery-photo img{width:100%;height:100%;object-fit:cover;display:block}.gallery-photo img.gallery-missing{display:none}.gallery-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--forest);padding:15px;background:radial-gradient(circle at 30% 20%,#f7faf2,#d7e4d5);font-size:.82rem}.gallery-photo:has(img:not(.gallery-missing)) .gallery-placeholder{display:none}.gallery-ornament{font-family:Georgia,serif;font-size:3rem;opacity:.5}.gallery-item:nth-child(2n) .gallery-placeholder{background:radial-gradient(circle at 80% 10%,#f4f5df,#deeadb)}.gallery-item figcaption{padding:15px 18px 17px;display:flex;justify-content:space-between;align-items:center;gap:10px}.gallery-item figcaption strong{font-size:.9rem}.gallery-item figcaption small{font-size:.72rem;color:var(--muted)}.gallery-item[hidden]{display:none}.gallery-footnote{color:var(--muted);font-size:.76rem;margin-top:18px}.gallery-lightbox{max-width:min(90vw,1000px);max-height:92vh;border:0;border-radius:14px;padding:18px 18px 12px;background:var(--white);color:var(--text);box-shadow:0 30px 80px #0005}.gallery-lightbox::backdrop{background:#0d221edb}.gallery-lightbox img{max-height:75vh;max-width:85vw;width:auto;margin:auto;border-radius:8px}.gallery-lightbox p{margin:12px 42px 2px;text-align:center}.gallery-lightbox-close{position:absolute;right:10px;top:8px;background:white;border:0;border-radius:50%;width:36px;height:36px;font-size:26px;z-index:2}
@media(max-width:840px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-heading{align-items:start;flex-direction:column}.gallery-count{display:none}}
@media(max-width:520px){.gallery-grid{grid-template-columns:1fr;gap:13px}.gallery-item figcaption{flex-wrap:wrap}.garden-gallery{padding-top:44px;padding-bottom:40px}.gallery-filter{padding:8px 12px;font-size:.8rem}}
@media(prefers-reduced-motion:no-preference){.gallery-photo img{transition:transform .3s ease}.gallery-photo:hover img{transform:scale(1.04)}}


/* Logo ROD Ustronie nawigacji; zachowano oddzielne logo PZD. */
.brandmark{width:64px;height:64px;flex:0 0 64px;background:transparent;border:0;border-radius:50%;overflow:visible}
.brandmark img{display:block;width:100%;height:100%;object-fit:contain}
.gallery-empty{background:#fff;border:1px solid var(--line);padding:35px;border-radius:12px;color:var(--muted)}
.gallery-empty strong{display:block;color:var(--forest);font-size:1.2rem;margin-bottom:6px}
@media(max-width:840px){.brandmark{width:50px;height:50px;flex-basis:50px}}
@media(max-width:520px){.brandmark{width:42px;height:42px;flex-basis:42px}}


/* ROD Ustronie 2.4 — komunikaty forum i dynamiczne kafelki bbPress. */
.forum-shell .forum-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.forum-shell .forum-category{position:relative;min-width:0;min-height:195px;display:flex;align-items:flex-start;gap:15px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:21px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.forum-shell .forum-category:hover{background:#fff;border-color:#a7c0a2;box-shadow:0 8px 28px #1f4b3713;transform:translateY(-2px)}
.forum-shell .forum-category--priority{background:#fafaf5;border-color:#c7d7bc}
.forum-shell .forum-category--priority:hover{background:#fafaf5}
.forum-card-icon{display:flex;align-items:center;justify-content:center;color:#52784e;width:27px;height:27px;flex:0 0 27px}
.forum-card-icon .icon{width:23px;height:23px}
.forum-card-content{flex:1;min-width:0;display:flex;flex-direction:column;align-items:start;min-height:150px}
.forum-shell .forum-category h3{font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:.96rem;line-height:1.35;margin:5px 18px 7px 0}
.forum-shell .forum-category p{font-size:.8rem;line-height:1.58;color:var(--muted);margin:0 0 14px;overflow-wrap:anywhere}
.forum-card-label{color:#52754b;font-size:.63rem;line-height:1.4;text-transform:uppercase;letter-spacing:.07em;font-weight:700}
.forum-card-details{margin-top:auto;display:flex;flex-direction:column;gap:3px;color:var(--muted);font-size:.73rem}
.forum-shell .forum-card-details small{font-size:.71rem;line-height:1.5;margin:0;color:var(--muted)}
.forum-card-arrow{position:absolute;right:16px;top:18px;font-size:1rem;color:#50734e;transition:transform .18s ease}
.forum-category:hover .forum-card-arrow{transform:translate(2px,-2px)}
.forum-page .forum-heading{margin:42px 0 18px}
.forum-page .forum-help{max-width:760px;line-height:1.7;font-size:.88rem}
.forum-entry-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0 8px}
.forum-entry-links a{display:inline-flex;padding:8px 14px;border:1px solid #bccdb7;border-radius:6px;font-weight:700;font-size:.82rem;color:var(--forest)}
.forum-entry-links a:first-child{background:var(--forest);border-color:var(--forest);color:#fff}
.forum-entry-links a:hover{background:var(--sage);color:var(--forest)}
.forum-board-info{display:flex;align-items:start;flex-direction:column;gap:5px;border-left:4px solid var(--forest);padding:13px 17px;background:var(--sage);border-radius:0 7px 7px 0;color:var(--text);font-size:.88rem;margin:20px 0}
.forum-board-info strong{font-size:.94rem}
/* Szablony bbPress: czytelniejsze listy, odpowiedzi i formularze. */
.forum-content #bbpress-forums{font-size:.92rem;line-height:1.65}
.forum-content #bbpress-forums li.bbp-header,.forum-content #bbpress-forums li.bbp-footer{background:var(--sage);color:var(--text)}
.forum-content #bbpress-forums li.bbp-body ul.forum,.forum-content #bbpress-forums li.bbp-body ul.topic{padding:19px 17px;transition:background .15s ease}
.forum-content #bbpress-forums li.bbp-body ul.forum:hover,.forum-content #bbpress-forums li.bbp-body ul.topic:hover{background:#f8faf6}
.forum-content #bbpress-forums .bbp-forum-title,.forum-content #bbpress-forums .bbp-topic-permalink{color:var(--forest);font-weight:700;text-decoration:none}
.forum-content #bbpress-forums .bbp-forum-title:hover,.forum-content #bbpress-forums .bbp-topic-permalink:hover{text-decoration:underline;text-underline-offset:3px}
.forum-content #bbpress-forums fieldset.bbp-form{background:#fafbf7;padding:22px;border:1px solid var(--line);margin:20px 0;border-radius:10px;min-width:0}
.forum-content #bbpress-forums fieldset.bbp-form legend{font-weight:700;color:var(--forest);font-size:1rem;padding:0 8px}
.forum-content #bbpress-forums input[type=text],.forum-content #bbpress-forums input[type=password],.forum-content #bbpress-forums input[type=email],.forum-content #bbpress-forums select,.forum-content #bbpress-forums textarea{background:white;border:1px solid #aebfac;padding:11px 12px;border-radius:6px;max-width:100%;font-size:.9rem;line-height:1.5;color:var(--text)}
.forum-content #bbpress-forums input[type=text]:focus-visible,.forum-content #bbpress-forums textarea:focus-visible,.forum-content #bbpress-forums button:focus-visible{outline:3px solid #b35c33;outline-offset:2px}
.forum-content #bbpress-forums textarea{width:100%;min-height:125px;resize:vertical}
.forum-content #bbpress-forums .bbp-submit-wrapper{margin-top:18px}
.forum-content #bbpress-forums button[type=submit]{background:var(--forest);color:#fff;border:1px solid var(--forest);min-height:44px;padding:10px 22px;border-radius:6px;font-weight:700}
.forum-content #bbpress-forums button[type=submit]:hover{background:var(--deep)}
.forum-content #bbpress-forums .bbp-template-notice{border:1px solid #decda9;background:#faf4e6;color:var(--text);border-radius:8px;padding:14px 16px;line-height:1.6}
.forum-content #bbpress-forums .bbp-template-notice p{margin:0}
.forum-content #bbpress-forums .bbp-reply-content{line-height:1.8}
.forum-content #bbpress-forums div.bbp-reply-header{background:var(--sage)}
.forum-content #bbpress-forums .bbp-breadcrumb{font-size:.79rem;line-height:1.8}
@media(max-width:760px){
 .forum-shell .forum-grid{grid-template-columns:1fr}
 .forum-shell .forum-category{min-height:0;padding:18px;gap:12px}
 .forum-card-content{min-height:130px}
 .forum-page .forum-heading{margin:28px 0 12px}
 .forum-page .forum-content{margin:22px 0 44px}
 .forum-content #bbpress-forums fieldset.bbp-form{padding:16px 12px}
 .forum-content #bbpress-forums li.bbp-header,.forum-content #bbpress-forums li.bbp-footer{padding:12px}
 .forum-content #bbpress-forums li.bbp-body ul.forum,.forum-content #bbpress-forums li.bbp-body ul.topic{padding:13px 10px}
 .forum-content #bbpress-forums .bbp-reply-content{min-width:0;overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){.forum-shell .forum-category,.forum-card-arrow{transition:none}.forum-shell .forum-category:hover{transform:none}}
