/* Theme Name: Stanisławów Info — Portal Mieszkańców
Description: Autorski motyw lokalnego portalu społeczności.
Version: 1.0.0
Text Domain: stanislawow-info */
:root{--green:#17674f;--dark:#173e32;--ink:#18342b;--muted:#687970;--cream:#f8faf6;--line:#e5ebe5}*{box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'Nunito Sans',sans-serif;background:white;line-height:1.55}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.17}h1,h2,.brand strong{font-family:'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a{transition:all .2s ease}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e2aa40;outline-offset:3px}.wrap{max-width:1240px;margin:auto;padding-left:28px;padding-right:28px}.topline{background:#f0f6f0;color:#476658;font-size:.78rem;font-weight:700}.topinner{display:flex;justify-content:space-between;align-items:center;min-height:35px;gap:12px}.topline button{border:0;background:#dfeae1;color:var(--dark);border-radius:5px;cursor:pointer;margin-left:6px;font-weight:800}.sitehead{background:white;position:relative;z-index:4;border-bottom:1px solid var(--line)}.headinner{display:flex;justify-content:space-between;align-items:center;min-height:94px;gap:24px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brandmark{display:grid;place-items:center;background:var(--green);color:white;width:49px;height:49px;border-radius:16px;font-size:2rem;line-height:1}.brand strong{display:block;font-size:1.6rem;letter-spacing:-1.2px;line-height:1.1}.brand .dot{color:#319a73}.brand small{font-size:.65rem;letter-spacing:1.1px;color:#7c8c82;font-weight:800;text-transform:uppercase}.headinner nav{display:flex;align-items:center;gap:26px;font-weight:800;font-size:.86rem}.headinner nav>a:not(.nav-cta):hover{color:var(--green)}.nav-cta{background:var(--green);color:white;padding:13px 19px;border-radius:10px}.nav-cta:hover,.searchbox button:hover{background:#0b4836}.menu-toggle{display:none}.hero{background:radial-gradient(ellipse at 18% 35%,#e2efe4 0,transparent 49%),linear-gradient(110deg,#f3f8ee,#e9f2e6 57%,#dcebdd);padding:70px 0 82px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;bottom:-105px;right:-90px;width:500px;height:250px;border-radius:50%;background:#bdd9b7;opacity:.28;transform:rotate(-18deg)}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.35fr .85fr;gap:85px;align-items:center}.eyebrow,.overline{font-size:.72rem;letter-spacing:2px;color:#438a67;font-weight:900}.pulse{display:inline-block;background:#4aab6f;width:8px;height:8px;border-radius:50%;margin-right:8px}.hero h1{font-size:clamp(3rem,5.3vw,5.25rem);letter-spacing:-3.7px;line-height:1.07;margin:22px 0}.hero h1 em{font-style:normal;color:#32865c}.hero-content>p{max-width:580px;font-size:1.12rem;color:#64786a;line-height:1.8;margin-bottom:30px}.searchbox{display:flex;align-items:center;background:white;border:1px solid #dbe7da;box-shadow:0 13px 34px #1e51301a;border-radius:14px;padding:7px 7px 7px 19px;max-width:560px;gap:12px}.searchbox span{font-size:1.8rem;color:#4c9270}.searchbox input{flex:1;min-width:0;border:0;outline:0;color:var(--dark);font-size:.95rem}.searchbox button{background:var(--green);color:white;border:0;border-radius:9px;padding:14px 24px;font-weight:800;cursor:pointer}.hero-note{font-size:.79rem;color:#6e8875;margin-top:21px}.actionpanel{background:#fff;border:1px solid #e4ebe2;border-radius:22px;padding:24px;box-shadow:0 26px 65px #29523d1b}.panelhead{display:flex;align-items:center;gap:14px;border-bottom:1px solid #edf1ed;padding:2px 4px 18px}.panelhead>span{background:#e8f4ea;color:var(--green);border-radius:12px;padding:8px 15px;font-size:1.7rem}.panelhead h2{font-size:1.25rem;margin:0}.panelhead p{font-size:.78rem;color:var(--muted);margin:4px 0 0}.actionpanel>a{display:flex;align-items:center;gap:14px;padding:14px 4px;border-bottom:1px solid #f0f2f0}.actionpanel>a:last-child{border:0;padding-bottom:2px}.actionpanel>a:hover{transform:translateX(4px)}.actionicon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;font-size:1.35rem;font-weight:900;flex-shrink:0}.mint{background:#e2f3e6;color:#27834e}.peach{background:#fff0e4;color:#c77d40}.lilac{background:#f0e9fa;color:#8264a8}.blue{background:#e6f0ff;color:#4d78ad}.actionpanel a>span:nth-child(2){flex:1}.actionpanel strong,.actionpanel small{display:block}.actionpanel strong{font-size:.92rem}.actionpanel small{color:#8a978e;font-size:.76rem}.actionpanel b{color:#8ea498}.quicklinks{padding-top:84px;padding-bottom:90px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:29px}.section-heading h2,.community h2{font-size:clamp(1.8rem,3vw,2.55rem);letter-spacing:-1.4px;margin:9px 0 0}.section-heading p{color:var(--muted);font-size:.89rem;max-width:290px;margin:0}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tile{position:relative;min-height:188px;padding:25px 26px;border-radius:17px;display:flex;flex-direction:column;align-items:start;overflow:hidden}.tile:hover{transform:translateY(-5px);box-shadow:0 16px 30px #243e2a14}.tileicon{font-size:2rem;line-height:1;margin-bottom:24px}.tile strong{font-size:1.12rem;font-weight:900}.tile small{color:#667a70;font-size:.82rem;margin-top:3px}.tilearrow{position:absolute;right:24px;bottom:23px;font-size:1.2rem}.t1{background:#e5f3e8}.t2{background:#fff0df}.t3{background:#f0eafb}.t4{background:#e5effb}.t5{background:#fcebe8}.t6{background:#f0f3dc}.news-section{background:#f7f9f5;padding:78px 0 86px}.textlink{color:var(--green);font-weight:900;font-size:.85rem}.newsgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.newscard{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.newscard img,.newsplaceholder{width:100%;height:190px;object-fit:cover}.newsplaceholder{background:linear-gradient(135deg,#dce9d7,#a5c5a7);display:flex;justify-content:center;align-items:center;flex-direction:column;color:#2c7651;font-size:1.6rem;font-weight:900}.newsplaceholder span{font-size:.8rem;letter-spacing:3px}.newsbody{padding:24px}.newsbody time{color:#5c9b74;font-size:.75rem;font-weight:800}.newsbody h3{font-size:1.17rem;margin:9px 0}.newsbody p{color:var(--muted);font-size:.88rem}.newsbody span{color:var(--green);font-weight:800;font-size:.82rem}.emptynews{grid-column:1/-1;padding:52px;background:white;border:1px dashed #c6d8c9;border-radius:18px;text-align:center}.emptynews span{font-size:2.5rem;color:var(--green)}.emptynews p{color:var(--muted)}.community{margin-top:76px;margin-bottom:76px;background:#e5f1e7;border-radius:22px;padding-top:45px;padding-bottom:45px;display:flex;align-items:center;justify-content:space-between;gap:28px}.community>div{max-width:680px}.community p{color:#647a6a;margin:12px 0 0}.community>a{background:var(--green);color:white;border-radius:10px;padding:16px 23px;font-weight:800;white-space:nowrap}.footer{background:#173b31;color:white;padding:65px 0 0}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:70px;padding-bottom:50px}.footbrand strong{font-size:1.45rem}.footbrand small{color:#b6cbbd}.footgrid p{color:#a7c1b2;max-width:350px;font-size:.89rem;margin-top:18px}.footgrid h3{font-size:.93rem;margin-bottom:20px}.footgrid>div:not(:first-child) a{display:block;color:#c4d7cb;margin:10px 0;font-size:.88rem}.footbottom{border-top:1px solid #ffffff24;padding-top:22px;padding-bottom:25px;display:flex;justify-content:space-between;gap:20px;color:#afc7b8;font-size:.76rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1050px){.headinner nav{gap:12px;font-size:.75rem}.hero-grid{gap:30px}.brand strong{font-size:1.3rem}}@media(max-width:800px){.topinner{flex-wrap:wrap;justify-content:center;padding-top:7px;padding-bottom:7px}.headinner{min-height:75px}.menu-toggle{display:block;border:1px solid #dce7dc;background:white;border-radius:8px;padding:8px 12px;font-weight:800}.headinner nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;flex-direction:column;align-items:stretch;padding:20px 28px;box-shadow:0 15px 20px #1232;gap:0}.headinner nav.opened{display:flex}.headinner nav a{padding:12px}.hero{padding:45px 0}.hero-grid{grid-template-columns:1fr}.hero h1{letter-spacing:-2px}.actionpanel{max-width:570px}.tiles{grid-template-columns:repeat(2,1fr)}.newsgrid{grid-template-columns:repeat(2,1fr)}.footgrid{gap:25px}}@media(max-width:560px){.wrap{padding-left:19px;padding-right:19px}.hero h1{font-size:2.9rem}.hero-content>p{font-size:1rem}.searchbox button{padding:12px}.section-heading{display:block}.section-heading p{margin-top:13px}.tiles,.newsgrid{grid-template-columns:1fr}.tile{min-height:145px}.tileicon{margin-bottom:14px}.community{display:block}.community>a{display:inline-block;margin-top:20px}.footgrid{grid-template-columns:1fr 1fr}.footgrid>div:first-child{grid-column:1/-1}.footbottom{display:block}.footbottom span{display:block;margin-bottom:9px}}