/* ===== style.css ===== */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800&family=Quicksand:wght@500;600;700&display=swap");
:root{--green:#083b2b;--accent:#2f751e;--cream:#faf9f5;--muted:#56616a;--line:#e8e8e0}*{box-sizing:border-box}body{margin:0;background:#f0eee6;font-family:Arial,Helvetica,sans-serif;color:#102d25}a{color:inherit;text-decoration:none}.shell{max-width:1450px;margin:24px auto;background:var(--cream);border-radius:20px;box-shadow:0 8px 32px #173a2412;overflow:hidden}.header{height:76px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:30px}.logo{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:750;white-space:nowrap}.tree{font-size:42px;color:#34751e}.nav{display:flex;align-items:center;gap:38px;font-size:14px}.nav a:hover,.section-head a:hover{color:#3b7a25}.admin-link{padding:12px 22px;border:1px solid #174d32;border-radius:8px}.menu-toggle{display:none}main{padding:12px 38px 20px}.hero{display:grid;grid-template-columns:36% 64%;min-height:430px;gap:8px}.hero-copy{padding:40px 8px 0 10px;position:relative;overflow:hidden}.eyebrow{letter-spacing:3px;font-size:12px;font-weight:700;color:#488027}.hero h1,.subpage h1{font-family:Georgia,serif;font-size:clamp(48px,5.5vw,84px);line-height:.96;letter-spacing:-3px;margin:18px 0 14px;color:var(--green)}.hero p{font-size:20px;line-height:1.35;color:#48535b;max-width:420px;margin:0 0 16px}.btn{display:inline-block;border-radius:9px;padding:16px 28px;font-weight:700}.primary{background:linear-gradient(120deg,#398224,#165b31);color:white}.line-art{position:absolute;bottom:10px;color:#789d70;font-size:28px;white-space:nowrap;opacity:.7}.hero-photo{margin:0 8px 0 0;border-radius:30px;background:linear-gradient(160deg,#dce8e2 0%,#b7d3bf 38%,#71956d 39%,#315b45 100%);display:grid;place-items:center;min-height:420px}.hero-photo-text{background:#fffde9dd;color:#23523d;padding:14px 20px;border-radius:10px;font-weight:700}.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0 30px}.shortcut{display:flex;align-items:center;gap:16px;padding:20px 16px;min-height:112px;border:1px solid #ecebe4;border-radius:13px;background:#fff;box-shadow:0 2px 10px #00000005}.shortcut-icon{font-size:38px;color:#0e582e;min-width:46px}.shortcut strong{display:block;font-size:17px;margin-bottom:8px}.shortcut small{display:block;color:var(--muted);font-size:13px;line-height:1.4}.arrow{margin-left:auto;border:1px solid #d9e1d5;border-radius:50%;padding:4px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:8px 4px 14px}.section-head h2{font:700 42px Georgia,serif;color:var(--green);margin:0}.section-head a{font-size:15px;color:#164c30}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.news-card{background:white;border-radius:13px;overflow:hidden;box-shadow:0 2px 14px #00000005}.news-img{height:170px}.image-one{background:linear-gradient(150deg,#b9d5cf,#5c8a6b 55%,#e1c4a0)}.image-two{background:linear-gradient(155deg,#f4e1a3,#91a66b 55%,#37664d)}.image-three{background:linear-gradient(155deg,#d2dcbf,#73a58d 50%,#2b5e43)}.news-body{padding:15px 22px 20px}.meta{letter-spacing:1.4px;font-size:10px;color:#68706e}.news-body h3{font-size:20px;margin:9px 0}.news-body p{color:var(--muted);line-height:1.45;font-size:14px}.news-body a{color:#27622d;font-weight:bold;font-size:13px}.events-strip{background:#eaf3db;border-radius:14px;padding:20px 26px;margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:20px}.events-strip h3{font-size:22px;margin:0 0 5px}.events-strip p{margin:0;color:var(--muted);font-size:14px}.events-strip a{background:white;padding:16px;border-radius:10px;color:#20552c;font-weight:bold}.subpage{min-height:520px;padding:65px 35px}.subpage h1{font-size:64px}.subpage p{max-width:700px;font-size:20px;line-height:1.5;color:var(--muted);margin-bottom:30px}footer{padding:20px 48px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#66716c;font-size:12px}@media(max-width:1050px){.header{padding:0 24px}.nav{gap:18px}.hero{grid-template-columns:1fr 1fr}.shortcuts{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:62px}}@media(max-width:720px){.shell{margin:0;border-radius:0}.header{height:auto;min-height:72px;padding:12px 18px;flex-wrap:wrap}.logo{font-size:20px}.menu-toggle{display:block;background:transparent;border:0;font-size:26px}.nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0}.nav.open{display:flex}.nav a{padding:14px;border-top:1px solid var(--line)}main{padding:12px 15px}.hero{grid-template-columns:1fr}.hero-copy{min-height:335px;padding:26px 10px 0}.hero h1{font-size:62px}.hero p{font-size:17px}.hero-photo{min-height:230px;margin:0}.shortcuts{gap:10px}.shortcut{padding:12px;gap:8px}.shortcut-icon{font-size:26px;min-width:28px}.shortcut strong{font-size:14px}.shortcut small{font-size:11px}.arrow{display:none}.section-head h2{font-size:32px}.section-head a{font-size:12px}.news-grid{grid-template-columns:1fr}.events-strip{flex-direction:column;align-items:flex-start}.subpage{padding:45px 10px}.subpage h1{font-size:44px}footer{padding:18px;gap:8px;flex-direction:column}}

/* v1.1: typografia i konturowe ikony; geometria strony bez zmian */
body{font-family:Inter,Arial,sans-serif}.hero h1,.subpage h1,.section-head h2{font-family:"DM Serif Display",Georgia,serif;font-weight:400}.shortcut-icon{display:inline-flex;align-items:center;justify-content:center}.shortcut-icon svg{width:38px;height:38px;stroke:#0e582e;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}@media(max-width:720px){.shortcut-icon svg{width:26px;height:26px}}
.shortcut-icon img{display:block;width:38px;height:38px}@media(max-width:720px){.shortcut-icon img{width:26px;height:26px}}

/* v1.2: wyłącznie typografia; układ i ikony bez zmian */
body{font-family:"Nunito",Arial,sans-serif}
.hero h1,.subpage h1,.section-head h2{font-family:"Fredoka","Nunito",Arial,sans-serif;font-weight:500;letter-spacing:-1.5px}
.logo,.news-body h3,.events-strip h3{font-family:"Fredoka","Nunito",Arial,sans-serif;font-weight:500}

/* v1.3 — polskie znaki: spójny krój w każdym elemencie.
   Google Fonts CSS2 automatycznie dostarcza latin-ext przez unicode-range.
   Jeśli font się nie pobierze, fallback może różnić się proporcjami. */
html{font-synthesis:none}
body,button,input,select,textarea{font-family:"Nunito",Arial,sans-serif}
.hero h1,.subpage h1,.section-head h2,.logo,.news-body h3,.events-strip h3{font-family:"Fredoka","Nunito",Arial,sans-serif;font-synthesis:none}

/* v1.4 — Quicksand w nagłówkach, Nunito nieco mocniejsza w tekstach.
   Google Fonts dostarcza latin-ext automatycznie dla polskich znaków. */

body,button,input,select,textarea{font-family:"Nunito",Arial,sans-serif;font-weight:500}
.nav,.shortcut small,.news-body p,.subpage p{font-weight:500}
.btn,.shortcut strong,.nav a,.news-body a,.events-strip a{font-weight:600}
.hero h1,.subpage h1,.section-head h2,.logo,.news-body h3,.events-strip h3{font-family:"Quicksand","Nunito",Arial,sans-serif;font-weight:700;font-synthesis:none}

/* v1.5: wyłącznie dodatkowy dział interwencji i czytelność menu; hero i kafelki bez zmian */
.header{height:auto;min-height:76px}.nav{gap:17px}.nav a{white-space:nowrap;font-size:13px}.logo{flex-shrink:0}.interventions{max-width:1040px;margin:auto}.interventions>p{max-width:790px}.case-list{display:grid;gap:15px;margin-top:28px}.case-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}.case-head{display:flex;gap:12px;align-items:start;justify-content:space-between}.case-head h2{font-family:"Quicksand","Nunito",sans-serif;font-weight:700;font-size:22px;margin:0}.case-number{color:var(--accent);font-weight:700;white-space:nowrap}.case-card p{margin:12px 0;color:var(--muted)}.case-foot{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.case-card ul{margin-bottom:0}.case-card a{text-decoration:underline;color:var(--accent)}@media(max-width:1120px){.header{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.nav{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:720px){.case-head{flex-direction:column}.case-card{padding:17px}}

/* v1.8 – tylko formatowanie importowanych materiałów */
.imported{max-width:1050px;margin:auto}.imported .article-content{max-width:900px}.article-content p{max-width:900px;font-size:17px;line-height:1.75;color:#30483d;margin:0 0 19px;white-space:normal}.article-content h2{font-family:Quicksand,Nunito,sans-serif;color:var(--green);margin:30px 0 15px}.article-content figure{margin:25px 0;text-align:center}.article-content img{display:block;max-width:100%;height:auto;margin:auto;border-radius:10px}.article-content a{color:#246b38;text-decoration:underline}.imported .source-note{font-size:13px;max-width:900px;padding:15px 0;border-top:1px solid var(--line)}

/* v1.9: górna belka stale widoczna podczas przewijania */
.header{position:sticky;top:0;z-index:1000;background:var(--cream);box-shadow:0 3px 12px #173a2410}
.shell{overflow:visible}
@media(max-width:720px){.header{top:0}}

/* v2.0 — compact navigation tiles on section landing pages */
.tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 12px;align-items:stretch}
.nav-tile{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:104px;padding:20px 22px;background:#fff;border:1px solid #e2e8de;border-radius:14px;box-shadow:0 2px 12px #173a2408;color:var(--green);transition:border-color .18s,box-shadow .18s,transform .18s}
.nav-tile:hover,.nav-tile:focus-visible{border-color:#80a579;box-shadow:0 5px 18px #173a2418;transform:translateY(-2px)}
.nav-tile-title{font-family:"Quicksand","Nunito",Arial,sans-serif;font-size:19px;line-height:1.3;font-weight:700}
.nav-tile-arrow{flex-shrink:0;width:31px;height:31px;border:1px solid #d5e3d1;border-radius:50%;display:grid;place-items:center;color:#2f751e;font-weight:700}
@media(max-width:1050px){.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tile-grid{grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.nav-tile{min-height:88px;padding:13px;gap:5px}.nav-tile-title{font-size:15px}.nav-tile-arrow{width:24px;height:24px}}
@media(max-width:380px){.tile-grid{grid-template-columns:1fr}}

/* v2.1 – minimalistyczne kafelki z osobnymi infografikami SVG */
.tiles-page{padding-top:42px;min-height:440px}.tiles-page h1{font-size:clamp(35px,4vw,52px);margin:12px 0 8px;line-height:1.15}.tiles-page .tiles-intro{font-size:16px;margin:0 0 20px;max-width:none}.info-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.info-tile{position:relative;display:flex;flex-direction:column;min-height:256px;padding:15px 17px 18px;background:#fff;border:1px solid #e4ebe3;border-radius:16px;box-shadow:0 3px 15px #163e2710;transition:transform .2s,border-color .2s,box-shadow .2s}.info-tile:hover,.info-tile:focus-visible{transform:translateY(-3px);border-color:#9abda1;box-shadow:0 8px 22px #163e271b}.info-illustration{height:132px;display:grid;place-items:center;overflow:hidden}.info-illustration img{display:block;width:100%;max-width:210px;height:126px;object-fit:contain}.info-tile-copy{display:block;padding-right:27px}.info-tile-copy strong{display:block;font:700 18px/1.28 Quicksand,Nunito,sans-serif;color:#103c2d}.info-tile-copy small{display:block;margin-top:6px;font:500 13px/1.4 Nunito,sans-serif;color:#52655b}.info-tile-arrow{position:absolute;right:14px;bottom:17px;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#e1f1e1;color:#164d34;font-size:20px}.info-tile:focus-visible{outline:3px solid #80a579;outline-offset:2px}@media(max-width:1100px){.info-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:780px){.info-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.info-tile{min-height:226px;padding:10px 12px 15px}.info-illustration{height:110px}.info-illustration img{height:104px}.info-tile-copy strong{font-size:16px}.info-tile-copy small{font-size:12px}.info-tile-arrow{right:9px;bottom:10px}}@media(max-width:380px){.info-tiles{grid-template-columns:1fr}.info-tile{min-height:210px}}

/* v2.2 — ilustracje o proporcjach zgodnych z zatwierdzonym podglądem */
.info-tile{min-height:286px;padding:18px 19px 22px;border-radius:17px}
.info-illustration{height:164px;margin:-3px -2px 4px}
.info-illustration img{width:100%;max-width:245px;height:158px;object-fit:contain}
.info-tile-copy strong{font-size:19px;line-height:1.28}
.info-tile-copy small{font-size:14px;line-height:1.38}
.info-tile-arrow{width:37px;height:37px;font-size:23px}
@media(max-width:780px){.info-tile{min-height:250px;padding:12px 13px 16px}.info-illustration{height:126px}.info-illustration img{height:124px}.info-tile-copy strong{font-size:16px}.info-tile-copy small{font-size:12px}.info-tile-arrow{width:29px;height:29px;font-size:18px}}

/* v2.3: pełne ilustracje wektorowe, bez zmian treści i układu */
.info-illustration{height:166px;margin:0 0 12px;overflow:visible}
.info-illustration img{display:block;width:100%;max-width:none;height:166px;object-fit:contain;border-radius:14px}
.info-tile{gap:0;background:#fff}
@media(max-width:780px){.info-illustration{height:120px;margin-bottom:10px}.info-illustration img{height:120px}}

/* Interwencje v2.5 – dodatek bez zmian pozostałych widoków */
.interventions-v25{max-width:1060px;margin-inline:auto}.interventions-lead{max-width:820px;line-height:1.75}.iv-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:25px 0}.iv-stats>div{border:1px solid #dce9df;border-radius:18px;background:#f3f8f2;padding:18px 22px;display:flex;flex-direction:column;gap:3px}.iv-stats strong{font-size:31px;color:#23673f}.iv-stats span{font-size:13px;color:#61736a}.iv-toolbar{display:flex;gap:14px;flex-wrap:wrap;margin:22px 0}.iv-toolbar label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px;color:#345844}.iv-toolbar select,.iv-toolbar input{min-height:43px;padding:9px 13px;border:1px solid #d4e2d6;border-radius:11px;background:#fff;color:#244533;font:inherit}.iv-toolbar input{min-width:min(360px,80vw)}.iv-note{font-size:13px;color:#68776c;border-left:3px solid #a7c4ad;padding-left:12px;margin:12px 0 22px}.iv-list{display:grid;gap:15px}.iv-card{border:1px solid #e0e9e0;border-radius:20px;background:#fff;padding:22px 24px;box-shadow:0 5px 18px rgba(29,72,41,.045)}.iv-card[hidden]{display:none!important}.iv-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.iv-card h2{font-size:20px;line-height:1.35;margin:6px 0 10px;color:#224c31}.iv-number{font-size:11px;font-weight:800;letter-spacing:.1em;color:#648a6e}.iv-count{white-space:nowrap;border-radius:99px;padding:6px 11px;background:#f0f6ef;color:#52775d;font-size:12px}.iv-card p{margin:5px 0 15px;line-height:1.6;color:#54695b}.iv-meta{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:12px;color:#6a746b;margin-bottom:12px}.iv-pill{padding:6px 10px;border-radius:99px;background:#f5f6f3;color:#596b5c}.iv-pill.has-answer{background:#eaf5ed;color:#26653b}.iv-details{border-top:1px solid #e9eee8;padding-top:13px}.iv-details summary{cursor:pointer;font-weight:800;color:#27663c;list-style:none}.iv-details summary::after{content:'⌄';float:right}.iv-details[open] summary::after{content:'⌃'}.iv-details ul{padding:0;margin:13px 0 0;list-style:none}.iv-details li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 0;border-top:1px solid #eff2ee}.iv-details li div{min-width:0}.iv-details li strong{display:block;font-size:13px;color:#38543e}.iv-details li small{display:block;overflow-wrap:anywhere;color:#7c887d;font-size:11px;margin-top:3px}.iv-details li a{white-space:nowrap;font-weight:800;font-size:13px;color:#267442}.iv-empty{padding:30px;text-align:center;color:#6b756c}@media(max-width:680px){.iv-stats{grid-template-columns:1fr 1fr}.iv-stats>div:last-child{grid-column:1/-1}.iv-card{padding:18px}.iv-card-head{flex-direction:column}.iv-toolbar label,.iv-toolbar input{width:100%;min-width:0}}

/* v2.6 — mniejsze nagłówki i górne odstępy na wszystkich podstronach */
.subpage{padding-top:32px}
.subpage h1{font-size:clamp(34px,3.7vw,48px);line-height:1.12;letter-spacing:-1.5px;margin-top:12px}
.tiles-page{padding-top:30px}
.tiles-page h1{font-size:clamp(34px,3.7vw,44px)}
/* Opisy dokumentacji interwencji: dokładnie o 1 px mniej niż poprzednie 20 px */
.interventions-v25 .iv-card p{font-size:19px}
@media(max-width:720px){
 .subpage{padding-top:24px}
 .subpage h1{font-size:clamp(32px,7vw,40px);letter-spacing:-1px}
 .tiles-page{padding-top:24px}
}

/* v2.7 – jedna geometria dla wszystkich podstron; nie dotyczy strony głównej */
main > section.subpage {
  box-sizing:border-box;
  width:calc(100% - 112px);
  max-width:1200px;
  margin:0 auto;
  padding:32px 0 64px;
  min-height:0;
}
main > section.subpage.interventions-v25 { max-width:1200px; }
main > section.subpage .eyebrow { margin:0 0 12px; }
main > section.subpage h1 {
  font-size:clamp(34px,3.4vw,46px);
  line-height:1.15;
  letter-spacing:-1.2px;
  margin:0 0 14px;
}
main > section.subpage.tiles-page .tiles-intro {margin:0 0 22px}
main > section.subpage.imported .article-content {max-width:100%;}
main > section.subpage .iv-card p {font-size:19px;}
/* Kafelki: obrazy PNG z zatwierdzonego podglądu */
main .info-illustration {height:166px;margin:0 0 10px;overflow:hidden}
main .info-illustration img {display:block;width:100%;height:166px;object-fit:contain;max-width:none}
@media(max-width:780px){
 main > section.subpage {width:calc(100% - 36px);padding:24px 0 44px}
 main > section.subpage h1 {font-size:clamp(32px,7vw,40px)}
 main .info-illustration {height:120px}
 main .info-illustration img {height:120px}
}

/* v2.8: klikalne tytuły, okno szczegółów, statusy */
.iv-title-btn{border:0;padding:0;background:none;font:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer;line-height:inherit}
.iv-title-btn:hover,.iv-title-btn:focus-visible{color:#277542;text-decoration:underline;text-underline-offset:4px}
.iv-title-btn span{font-size:.75em;margin-left:6px}
.iv-status{font-weight:700;border-radius:30px;padding:5px 10px;background:#eef1ed;color:#4d6152}
.iv-status-zrealizowana{background:#dff1e4;color:#1b6334}.iv-status-w_toku{background:#e6f0fc;color:#235a88}.iv-status-oczekuje{background:#fff3d8;color:#8c651a}.iv-status-nierozwiazana,.iv-status-zamknieta{background:#fae8e6;color:#903c32}
.iv-modal[hidden]{display:none}.iv-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:16px}.iv-modal-shade{position:absolute;inset:0;background:rgba(10,34,25,.62)}
.iv-modal-panel{position:relative;background:#fff;border-radius:22px;padding:34px;max-width:780px;width:100%;max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 18px 70px #0003;outline:none}
.iv-modal-close{position:absolute;right:17px;top:13px;background:#f0f5ef;border:0;border-radius:50%;width:38px;height:38px;cursor:pointer;font-size:27px;color:#194d30}
.iv-modal-panel h2{font-size:clamp(24px,3vw,34px);margin:12px 40px 14px 0;color:#123f2b}.iv-modal-panel h3{font-size:18px;margin-top:26px}.iv-modal-body{white-space:normal;line-height:1.75;color:#374b40}.iv-modal-body p{margin:0 0 15px}.iv-modal-status{font-size:13px;font-weight:700;color:#29683e;margin-bottom:18px}.iv-modal-docs{padding-left:20px}.iv-modal-docs li{margin:10px 0}.iv-modal-docs a{color:#226b3c}.iv-modal-open{overflow:hidden}
@media(max-width:600px){.iv-modal-panel{padding:25px 19px}}


/* ===== grafiki-dzialow.css ===== */
/* Kafelki dzialow: oddzielny olowek, nieprzycinane miniatury. */
.info-tiles>.os-tile-wrap{position:relative;min-width:0}
.os-tile-wrap>.info-tile{height:100%;width:100%}
.os-tile-wrap .info-illustration{width:100%;height:auto;aspect-ratio:827/463;overflow:hidden;margin:0 0 10px;display:block}
.os-tile-wrap .info-illustration img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;border-radius:10px}
.os-tile-pencil{position:absolute;z-index:5;right:10px;top:10px;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#702c43;color:white!important;box-shadow:0 2px 10px #0005;font-size:20px;text-decoration:none}
.os-tile-pencil:hover{background:#8d3c59}
@media(max-width:780px){.os-tile-wrap .info-illustration{height:auto;aspect-ratio:827/463}.os-tile-pencil{width:30px;height:30px}}

/* Napisy są już na zatwierdzonych grafikach działu Dla mieszkańców. */
.os-resident-tile .info-tile-copy strong{display:none}
.os-resident-tile .info-tile-copy{padding-top:4px}


/* ===== aktualnosci-kafelki.css ===== */
/* Aktualności: kafelki inspirowane układem archiwum Wix; nie zmienia innych działów */
.os-news-page .os-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}
.os-news-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e3e8df;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px rgba(12,52,34,.045);transition:transform .15s,box-shadow .15s}
.os-news-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(12,52,34,.10)}
.os-news-image{display:block;height:215px;background:#e9f2e9;overflow:hidden}
.os-news-image img{display:block;width:100%;height:100%;object-fit:cover}
.os-news-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:75px;color:#5a9a60;background:linear-gradient(145deg,#edf5eb,#d6e8d7)}
.os-news-body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.os-news-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#547062;font-size:12px;font-weight:600;letter-spacing:.02em}
.os-news-meta span{color:#3a782d}
.os-news-body h2{font-family:Quicksand,Nunito,Arial,sans-serif;font-size:21px;line-height:1.3;margin:13px 0 11px;color:#083b2b}
.os-news-body h2 a:hover,.os-news-more:hover{text-decoration:underline}
.os-news-body p{font-size:14px!important;line-height:1.55!important;color:#58685f!important;margin:0 0 20px!important;max-width:none!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.os-news-more{margin-top:auto;color:#286c30;font-size:14px;font-weight:700}
@media(max-width:950px){.os-news-page .os-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.os-news-page .os-news-grid{grid-template-columns:1fr;gap:17px}.os-news-image{height:210px}}

/* v3.0: autor i delikatnie mniejsze teksty aktualności */
.os-news-author{font-size:12px;line-height:1.4;color:#587064;margin:-3px 0 10px;font-weight:600}
.os-news-body p{font-size:13px!important;line-height:1.5!important}
.os-article-author{font-size:13px;color:#587064;margin:4px 0 16px;font-weight:600}
.os-article-page > p{font-size:16px!important;line-height:1.65!important}

.os-article-photo{display:block;max-width:280px;width:100%;padding:0;margin:16px 0 22px;border:0;background:transparent;cursor:zoom-in;text-align:left}
.os-article-photo img{display:block;width:100%;height:150px;object-fit:contain;border-radius:12px;background:#f1f5ef}
.os-photo-open{overflow:hidden}
.os-photo-lightbox[hidden]{display:none}
.os-photo-lightbox{position:fixed;z-index:10000;inset:0;background:rgba(8,23,18,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:55px 22px 24px}
.os-photo-full{display:block;max-width:min(1100px,96vw);max-height:calc(100vh - 140px);width:auto;height:auto;object-fit:contain;border-radius:8px}
.os-photo-caption{color:#fff;text-align:center;font:600 15px Nunito,Arial,sans-serif}
.os-photo-close{position:absolute;right:22px;top:14px;border:1px solid #fff7;border-radius:50%;width:42px;height:42px;color:#fff;background:#19352c;font-size:30px;line-height:1;cursor:pointer}
@media(max-width:620px){.os-news-image,.os-news-placeholder{height:145px}.os-news-body{padding:15px 17px 18px}}

/* v3.2 – dotyczy tylko pełnego artykułu; lista kafelków bez zmian */
main > section.subpage.os-article-page{max-width:none;width:calc(100% - 80px);margin-left:auto;margin-right:auto}
.os-article-page .os-article-text{width:100%;max-width:none;font-size:16px;line-height:1.6;color:#43534e}
.os-article-page .os-article-text p{max-width:none!important;width:100%;font-size:16px!important;line-height:1.6!important;margin:0 0 14px!important;color:#43534e}
.os-article-page .os-article-text p:last-child{margin-bottom:22px!important}
@media(max-width:780px){main > section.subpage.os-article-page{width:calc(100% - 28px)}.os-article-page .os-article-text p{font-size:15px!important;line-height:1.55!important}}

/* Wpisy tworzone w redaktorze blokowym */
.os-article-text .os-editor-figure{margin:16px 0 22px;width:var(--img-width);max-width:100%}
.os-editor-figure button{border:0;background:transparent;padding:0;cursor:zoom-in;display:block;width:100%}
.os-editor-figure img{width:100%;height:auto;max-height:480px;object-fit:contain;border-radius:12px;display:block}
.os-editor-figure figcaption{font-size:13px;color:#617166;margin-top:6px}
.os-article-text h2{font-size:24px;margin:22px 0 10px}
@media(max-width:650px){.os-article-text .os-editor-figure{width:100%}}

/* Przywrócony wygląd listy aktualności sprzed v3.1 */
.os-news-page .os-news-image,.os-news-page .os-news-placeholder{height:215px}
@media(max-width:620px){.os-news-page .os-news-image,.os-news-page .os-news-placeholder{height:210px}}


/* ===== zielona-belka.css ===== */
/* Tylko górna belka; bez zmian innych części portalu. */
.header{background:#226b38!important;color:#fff!important;border-bottom-color:#1a592e!important;box-shadow:0 3px 12px rgba(14,55,29,.18)!important}
.header .logo{display:flex;align-items:center;flex-shrink:0;line-height:1}
.header .logo img{display:block;width:174px;height:52px;object-fit:contain}
.header .nav a{color:#fff!important;transition:background-color .18s,color .18s;border-radius:7px}
.header .nav a:hover,.header .nav a:focus-visible{color:#fff!important;background:rgba(255,255,255,.16)!important}
.header .nav a[aria-current="page"],.header .nav a.active{color:#fff!important;background:rgba(255,255,255,.22)!important}
.header .admin-link{color:#fff!important;border:1px solid rgba(255,255,255,.72)!important}
.header .menu-toggle{color:#fff!important}
@media(max-width:720px){.header .logo img{width:156px;height:auto}.header .nav a{border-top-color:rgba(255,255,255,.18)!important}}

/* v3.5: czytelniejsza nawigacja i styl redakcyjny wpisów */
.header .nav a{font-size:15px!important;font-weight:700!important;letter-spacing:0!important}
.header .nav{gap:clamp(6px,1vw,14px)!important}
.header .nav .admin-link{font-size:14px!important}
.header .logo img{max-width:174px}
@media(max-width:1150px){.header .nav a{font-size:14px!important}.header .nav{gap:5px!important}}
@media(max-width:720px){.header .logo img{width:156px;height:auto}}
/* Otwarty artykuł: bez zmian w kafelkach aktualności */
.os-article-page{max-width:1180px!important}
.os-article-page>h1{font-size:clamp(30px,3.2vw,43px)!important;line-height:1.16!important;letter-spacing:-.025em;margin-bottom:14px!important}
.os-article-page>h1::after{content:'';display:block;width:72px;height:4px;border-radius:6px;background:#26743b;margin-top:16px}
.os-article-metadata{display:flex;align-items:center;gap:10px 20px;flex-wrap:wrap;padding:14px 18px;margin:14px 0 24px;background:#eff6ef;border:1px solid #dce9dd;border-radius:12px;font-size:14px;color:#315743}
.os-article-category{display:inline-flex;align-items:center;background:#26743b;color:#fff;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:800;letter-spacing:.02em}
.os-article-meta-item{display:inline-flex;align-items:center;gap:6px;font-weight:700}
.os-article-meta-item>span{color:#28723d}
.os-article-page .os-article-text{max-width:none!important;font-size:16px!important;line-height:1.65!important}
.os-article-page .os-article-text p{margin:0 0 14px!important}
.os-article-page .os-article-text p:first-of-type{font-weight:700;color:#164631;font-size:17px;border-left:4px solid #2c7941;padding-left:16px;margin-bottom:20px!important}
.os-article-page .os-article-text h2{font-family:Quicksand,Arial,sans-serif;color:#174a31;font-size:23px;border-bottom:1px solid #d8e7d9;padding-bottom:9px;margin:28px 0 14px}
.os-article-page .os-article-text a{color:#226b38;text-decoration:underline;text-underline-offset:3px}
/* Interwencje: ta sama typografia i zielone wyróżnienia w oknie opisu */
.iv-modal-panel #iv-modal-title{line-height:1.2;border-bottom:3px solid #2b793f;padding-bottom:16px;margin-bottom:12px}
.iv-modal-panel #iv-modal-status{display:inline-block;border-radius:999px;background:#e5f2e7;color:#1f6735;font-weight:800;padding:7px 13px;margin-bottom:15px}
.iv-modal-panel #iv-modal-body{line-height:1.65;font-size:16px}
.iv-modal-panel #iv-modal-body p{margin:0 0 14px}
.iv-modal-panel #iv-modal-body p:first-child{font-weight:700;color:#174a31;border-left:4px solid #2c7941;padding-left:15px}
@media(max-width:720px){.os-article-metadata{padding:12px;gap:9px 12px}.os-article-page .os-article-text p:first-of-type{font-size:16px}}

/* v3.6: lżejsze, czytelniejsze menu */
.header .nav a{font-weight:500!important;font-size:15px!important;letter-spacing:.005em!important}
.header .nav .admin-link{font-weight:600!important;font-size:14px!important}
@media(max-width:1150px){.header .nav a{font-size:14px!important;font-weight:500!important}}

/* Wspolna nazwa w belce bez grafiki */
.header .logo .os-site-name{font-family:Quicksand,Nunito,Arial,sans-serif;font-size:24px;font-weight:700;color:#fff;line-height:1.2;white-space:normal}
@media(max-width:720px){.header .logo .os-site-name{font-size:20px}}


/* ===== poprawki-posty-v3_7.css ===== */
/* v3.7: klikalne zdjęcia i tytuły na stronie głównej */
.news-card .os-home-news-photo{display:flex;align-items:center;justify-content:center;overflow:hidden;text-decoration:none;background:#edf4ee;cursor:pointer}
.news-card .os-home-news-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.news-card .os-home-news-photo:hover img{transform:scale(1.035)}
.news-card .os-home-news-title{color:inherit;text-decoration:none}
.news-card .os-home-news-title:hover{color:#26723b;text-decoration:underline;text-underline-offset:4px}
.news-card .os-home-news-photo:focus-visible,.news-card .os-home-news-title:focus-visible{outline:3px solid #2a8043;outline-offset:3px}
/* Spójny styl artykułów: nie pogrubiaj całego pierwszego akapitu */
.os-article-page .os-article-text p:first-of-type{font-weight:500!important;color:inherit!important;font-size:16px!important;border-left:0!important;padding-left:0!important;margin-bottom:14px!important}
.os-article-page .os-article-text{line-height:1.65!important}
.os-article-page .os-article-text h2{border-bottom:1px solid #d8e7d9;padding-bottom:8px}
.os-article-page .os-article-metadata{font-weight:500}
.os-article-page .os-article-meta-item{font-weight:500}


/* ===== uklad-4-posty.css ===== */
/* Aktualnosci: 4 karty na szerokim ekranie */
.os-news-page .os-news-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.os-news-page .os-news-image{height:175px}
.os-news-page .os-news-body{padding:16px 16px 20px}
.os-news-page .os-news-body h2{font-size:18px;line-height:1.3}
@media(max-width:1100px){.os-news-page .os-news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.os-news-page .os-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.os-news-page .os-news-grid{grid-template-columns:1fr}.os-news-page .os-news-image{height:210px}}


/* ===== admin-edytuj.css ===== */
.os-admin-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 16px;margin:8px 0 18px;border:1px solid #bed6c5;border-radius:10px;background:#e9f5ed;color:#205b35;font:700 14px Arial,sans-serif}.os-admin-bar a{color:#205b35;text-decoration:underline}.os-admin-editable{position:relative}.os-edit-btn{position:absolute!important;z-index:40;top:9px;right:9px;display:flex!important;align-items:center;justify-content:center;width:37px;height:37px;border:2px solid white;border-radius:10px;background:#226a40!important;color:#fff!important;text-decoration:none!important;font:700 25px Arial,sans-serif;box-shadow:0 2px 9px #0004;line-height:1}.os-edit-btn:hover,.os-edit-btn:focus{background:#12462a!important;transform:scale(1.06)}.iv-card .os-edit-btn{top:5px;right:5px}.os-news-card .os-edit-btn,.news-card .os-edit-btn{top:9px;right:9px}
/* Edycja w widoku publicznym po zalogowaniu */
.os-config-hero.os-admin-editable,.os-config-shortcuts.os-admin-editable,.section-head.os-admin-editable{position:relative!important;}
.os-config-hero > .os-edit-btn{top:12px!important;right:12px!important;}
.os-config-shortcuts > .os-edit-shortcuts{top:-12px!important;right:0!important;}
.section-head > .os-edit-section{right:165px!important;top:0!important;}
@media(max-width:720px){.section-head > .os-edit-section{right:0!important;top:-35px!important;}}


/* ===== ustawienia-glownej.css ===== */
/* Ustawienia tylko strony głównej */
.os-config-hero{grid-template-columns:minmax(0,1fr) minmax(0,var(--os-hero-width));min-height:var(--os-hero-height)}
.os-config-hero .hero-photo{min-height:var(--os-hero-height);height:var(--os-hero-height)}
.os-config-shortcuts{grid-template-columns:repeat(var(--os-shortcut-cols),minmax(0,1fr))}
.os-config-shortcuts[style*="--os-shortcut-cols:3"]>.shortcut:nth-child(n+4){display:none}
.os-config-news{grid-template-columns:repeat(var(--os-news-cols),minmax(0,1fr))}
.os-config-news .news-card{min-width:0}
.os-config-news .news-body{padding:14px}
.os-config-news .news-body h3{font-size:clamp(15px,1.4vw,20px)}
@media(max-width:1100px){.os-config-shortcuts,.os-config-news{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.os-config-shortcuts,.os-config-news{grid-template-columns:repeat(2,minmax(0,1fr))}.os-config-hero{grid-template-columns:1fr}.os-config-hero .hero-photo{height:auto;min-height:230px}}
@media(max-width:540px){.os-config-shortcuts,.os-config-news{grid-template-columns:1fr}.os-config-hero .hero-photo{height:240px;min-height:240px}}

@media (min-width:781px) and (max-width:1250px){.os-config-hero{grid-template-columns:minmax(0,1fr) minmax(0,min(var(--os-hero-width),55vw))}}


/* ===== osiek-bordo.css ===== */
/* Bordo / krem: Mieszkańcy Osieka */
:root{--green:#532536;--accent:#7c344c;--cream:#fffaf6;--muted:#655d63;--line:#eadfe0}
body{background:#f4efeb;color:#291c24}
.header{background:#fffaf6;border-bottom:1px solid #eadce0}
.logo,.hero h1,.section-head h2,.subpage h1{color:#542638}
.eyebrow{color:#97586b}.nav a:hover,.section-head a:hover{color:#8a3a53}
.primary{background:linear-gradient(120deg,#8c4059,#5c243b)}
.shortcut{border-color:#eee1e0;background:#fffdfa;box-shadow:0 3px 12px #4b253009}
.shortcut-icon{flex-shrink:0;min-width:70px;width:70px;height:72px;display:flex;align-items:center;justify-content:center}
.shortcut-icon img{width:70px!important;height:72px!important;object-fit:contain}
.shortcut strong{color:#281b24}.shortcut small{color:#675e63}.arrow{border-color:#d9c4cc;color:#713349}
.news-body a,.section-head a{color:#713349}.events-strip{background:#f1e5e8}
.os-config-shortcuts{grid-template-columns:repeat(var(--os-shortcut-cols,4),minmax(0,1fr))!important}
.os-config-shortcuts .shortcut{min-width:0}.os-config-shortcuts .shortcut-icon{min-width:58px;width:58px}.os-config-shortcuts .shortcut-icon img{width:58px!important;height:65px!important}
.os-config-shortcuts .shortcut strong{font-size:clamp(13px,1.1vw,17px)}
.os-config-shortcuts .shortcut small{font-size:clamp(11px,.9vw,13px)}
.os-admin-topbar{background:#542638!important}.os-admin-tabs .current{background:#f2e5e9!important;color:#542638!important}
@media(max-width:1100px){.os-config-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.os-config-shortcuts{grid-template-columns:1fr!important}.os-config-shortcuts .shortcut-icon{min-width:60px}}


/* ===== osiek-dopieszczone.css ===== */
/* Spójne bordo: belka, edycja, panorama i kafelki */
:root{--green:#64283b;--accent:#823f56;--cream:#faf8f4;--line:#eadde0}
.header{background:#64283b!important;color:#fff!important;border-bottom:1px solid #542034!important}
.header .logo,.header .logo .os-site-name,.header .nav a{color:#fff!important}
.header .nav a:hover{color:#ffe8d9!important}
.header .admin-link,.header .os-admin-nav{color:#fff!important;border-color:#b98b9b!important}
.header .admin-link{border-radius:9px;background:#ffffff12}
.header .os-admin-nav{font-weight:700}
.os-admin-bar{display:none!important}
.os-edit-btn,.os-news-card .os-edit-btn,.news-card .os-edit-btn,.iv-card .os-edit-btn{background:#72304b!important;color:#fff!important;border-color:#fff!important;box-shadow:0 3px 12px #2c112a44}
.os-edit-btn:hover,.os-edit-btn:focus{background:#9c5268!important}
.hero-photo{overflow:hidden;border-radius:26px;box-shadow:0 12px 32px #40202a1b;background-color:#e7ddd7}
.hero-photo[style*="background-image"]{background-repeat:no-repeat;background-position:center center;background-size:cover}
.hero-copy .line-art{color:#b59a9f;opacity:.6;pointer-events:none;bottom:0}
.hero-copy{padding-bottom:48px}
.primary,.btn.primary{background:linear-gradient(120deg,#8e465e,#64283b)!important;color:#fff!important}
.shortcut-icon svg{stroke:#64283b!important}
.shortcut .arrow{width:34px;height:34px;min-width:34px;min-height:34px;flex:0 0 34px;display:inline-flex;align-items:center;justify-content:center;padding:0!important;border:1px solid #cdaab5!important;border-radius:50%!important;color:#64283b!important;background:#fff8f9!important;line-height:1!important;aspect-ratio:1}
.shortcut:hover .arrow{background:#64283b!important;color:white!important}
@media(max-width:720px){.header .nav a{color:#fff!important}.shortcut .arrow{display:inline-flex!important;width:30px;height:30px;min-width:30px;min-height:30px;flex-basis:30px}}

/* Panorama rysunkowa pod przyciskiem; bez nachodzenia na CTA */
.hero-copy .os-village-panorama{position:relative!important;bottom:auto!important;display:block;margin-top:22px;width:100%;max-width:440px;height:83px;overflow:hidden;opacity:.82!important;pointer-events:none;white-space:normal}
.hero-copy .os-village-panorama img{display:block;width:100%;height:100%;object-fit:contain;object-position:left bottom}
.hero-copy{padding-bottom:18px!important}
/* Ikony z biblioteki: odcienie bordo zamiast zieleni */
.shortcut-icon img{filter:none!important}
@media(max-width:720px){.hero-copy .os-village-panorama{height:62px;margin-top:16px}}

/* Zaokrąglona, odsunięta od krawędzi belka jak w zaakceptowanym projekcie */
.shell > .header{
  border-radius:44px!important;
  margin:12px 24px 0!important;
  padding-left:30px!important;
  padding-right:30px!important;
  box-shadow:0 10px 24px rgba(65,22,38,.14)!important;
  overflow:visible;
}
/* Panorama zawsze bezpośrednio pod CTA, a nie jako nakładka na przycisk */
.hero-copy > .os-village-panorama{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  margin:18px 0 0!important;
  width:100%!important;
  max-width:500px!important;
  height:100px!important;
  transform:none!important;
  z-index:0;
}
.hero-copy > .os-village-panorama img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:left bottom!important}
@media(max-width:850px){
 .shell > .header{margin:10px 12px 0!important;border-radius:26px!important;padding-left:16px!important;padding-right:16px!important}
 .hero-copy > .os-village-panorama{height:70px!important}
}

/* Korekta: zaokrąglenie TYLKO u góry */
.shell > .header{border-radius:38px 38px 0 0!important}
@media(max-width:850px){.shell > .header{border-radius:24px 24px 0 0!important}}
/* Rysunek panoramy pod przyciskiem: nie może być schowany przez wcześniejsze reguły */
.hero-copy > .os-village-panorama{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;min-height:100px!important;margin-top:18px!important;overflow:visible!important}
.hero-copy > .os-village-panorama img{display:block!important;visibility:visible!important;opacity:1!important;max-width:100%!important}

/* 27.10: belka od krawędzi do krawędzi obszaru strony */
.shell > .header{margin:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;border-radius:38px 38px 0 0!important;padding-left:30px!important;padding-right:30px!important}
/* Wyraziste, okrągłe przyciski ze strzałkami */
.shortcut .arrow{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex:0 0 42px!important;border:2px solid #72283f!important;border-radius:50%!important;color:#72283f!important;font-size:27px!important;font-weight:900!important;line-height:1!important;box-sizing:border-box!important;box-shadow:0 2px 6px #64283b16!important}
.shortcut .arrow svg{width:24px!important;height:24px!important;stroke:#72283f!important;stroke-width:3.2!important}
.shortcut:hover .arrow svg{stroke:#fff!important}
.hero-copy > .os-village-panorama{max-width:560px!important;height:126px!important;min-height:126px!important;margin-top:14px!important}
@media(max-width:850px){.shell > .header{border-radius:24px 24px 0 0!important;padding-left:16px!important;padding-right:16px!important}.shortcut .arrow{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;flex-basis:38px!important}.hero-copy > .os-village-panorama{height:90px!important;min-height:90px!important}}

/* Miejsce na wlasna panorame pod przyciskiem na stronie glownej */
.os-custom-panorama {
  display: block; width: 100%; max-width: 650px; min-height: 125px;
  margin-top: 16px; overflow: hidden; background: transparent;
}
.os-custom-panorama img {
  display: block; width: 100%; height: auto; max-height: 200px;
  object-fit: contain; object-position: left bottom;
}
@media (max-width: 700px) {
  .os-custom-panorama { min-height: 75px; margin-top: 12px; }
  .os-custom-panorama img { max-height: 145px; }
}

/* Panorama dodawana w panelu redakcyjnym */
.hero-copy .os-custom-panorama{min-height:0!important;height:auto!important;max-width:650px!important;margin-top:16px!important;overflow:visible!important}
.hero-copy .os-custom-panorama img{display:block;width:100%;height:auto;max-height:200px;object-fit:contain;object-position:left bottom}

/* 27.10 — zwarta sekcja powitalna, bez zmiany rozmiaru zdjęcia */
@media (min-width: 781px) {
  .os-config-hero .hero-copy {padding-top:24px!important;padding-bottom:0!important;overflow:visible}
  .os-config-hero .hero-copy .eyebrow {margin-bottom:0}
  .os-config-hero .hero-copy h1 {font-size:clamp(44px,4.3vw,64px)!important;line-height:1.02!important;margin:12px 0 10px!important;letter-spacing:-1.5px!important}
  .os-config-hero .hero-copy p {font-size:17px!important;line-height:1.35!important;margin:0 0 12px!important}
  .os-config-hero .hero-copy .btn {padding:14px 22px!important}
  .os-config-hero .hero-copy .os-custom-panorama {margin-top:8px!important;max-width:560px!important}
  .os-config-hero .hero-copy .os-custom-panorama img {max-height:130px!important;object-fit:contain!important;object-position:left bottom!important}
  .os-config-hero {align-items:start;row-gap:0}
  .os-config-shortcuts {margin-top:12px!important}
}
@media (max-width: 780px) {
  .os-config-hero .hero-copy {padding-bottom:0!important;min-height:0!important}
  .os-config-hero .hero-copy h1 {font-size:clamp(42px,9vw,58px)!important;line-height:1.04!important;margin:12px 0!important}
  .os-config-hero .hero-copy .os-custom-panorama {margin-top:10px!important}
  .os-config-hero .hero-copy .os-custom-panorama img {max-height:125px!important}
  .os-config-shortcuts {margin-top:14px!important}
}

/* Opis powitalny bezpośrednio pod głównym zdjęciem */
.os-config-hero .os-hero-photo-column{min-width:0;display:flex;flex-direction:column;align-items:stretch}
.os-config-hero .os-hero-photo-column .hero-photo{width:100%;flex:none}
.os-config-hero .os-hero-photo-caption{margin:12px 8px 0 0!important;max-width:none!important;font-size:17px!important;line-height:1.4!important;color:#59616a!important}
@media(max-width:780px){.os-config-hero .os-hero-photo-caption{margin:10px 0 0!important;font-size:15px!important}}

/* 27.10 — jednakowe marginesy na głównej i wszystkich podstronach */
@media (min-width: 781px) {
  .shell { border-radius: 38px 38px 20px 20px !important; }
  .shell > .header { border-radius: 38px 38px 0 0 !important; }
  .shell > main > section.subpage {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 10px 44px !important;
  }
}
@media (max-width: 780px) {
  .shell > main > section.subpage {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 10px 40px !important;
  }
}
html {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    overflow-x: hidden;
}
/* Nasz Osiek i Dla mieszkańców — bordo zamiast zieleni */
.tiles-page .info-tile {
  border-color: #eadce1;
  box-shadow: 0 3px 15px rgba(100,40,59,.07);
}
.tiles-page .info-tile:hover,
.tiles-page .info-tile:focus-visible {
  border-color: #a46a7d;
  box-shadow: 0 8px 22px rgba(100,40,59,.13);
}
.tiles-page .info-tile-copy strong { color: #532536; }
.tiles-page .info-tile-copy small { color: #655d63; }
.tiles-page .info-tile-arrow {
  width: 38px;
  height: 38px;
  background: #fff;
  color: #64283b;
  border: 2px solid #64283b;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.tiles-page .info-tile:focus-visible { outline-color: #a46a7d; }
/* Oryginalne zielone PNG zostają na serwerze; barwienie wyłącznie w widoku. */
.tiles-page .info-illustration img {
  filter: grayscale(1) sepia(1) saturate(3) hue-rotate(290deg) brightness(.82);
}

/* 2026-10-30: belka przypięta na komputerze i telefonie; mobilnie bez zaokrągleń i ryciny. */
.header {position:sticky!important;top:0!important;z-index:1100!important;}
@media (max-width:720px) {
  .shell {overflow:visible!important;border-radius:0!important;margin-top:0!important;}
  .header {border-radius:0!important;margin:0!important;top:0!important;}
  .hero-copy .os-village-panorama,
  .hero-copy .line-art {display:none!important;}
}

/* 30.10: naprawa sticky — .shell i body nie mogą ucinać przewijania. */
html { overflow-x: clip !important; }
body { overflow-x: clip !important; }
body > .shell { overflow: visible !important; }
body > .shell > header.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1200 !important;
  background: #f7f3ea;
}
@media (max-width: 850px) {
  body > .shell { border-radius: 0 !important; margin-top: 0 !important; }
  body > .shell > header.header {
    border-radius: 0 !important;
    margin: 0 !important;
    top: 0 !important;
  }
  body .hero .os-custom-panorama,
  body .hero .os-village-panorama,
  body .hero .line-art { display: none !important; }
}

