@charset "UTF-8";

:root{--ink:#272a24;--olive:#2c3528;--olive-2:#3e4a37;--olive-3:#68715f;--gold:#b89a60;--gold-soft:#d7c49e;--paper:#f3eddf;--paper-2:#fbf8f1;--cream:#f7f3ea;--line:#d8cdb9;--muted:#696b64;--shadow:0 18px 50px rgba(44,38,26,.12);--radius:16px;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Arial,sans-serif;}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#f7f4ed;font-family:var(--sans);line-height:1.68;-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;inset:0;z-index:-2;background:radial-gradient(circle at 20% 0%,rgba(184,154,96,.08),transparent 30%),linear-gradient(#fbf9f4,#f4efe5)}body:after{content:"";position:fixed;inset:0;z-index:-1;opacity:.055;pointer-events:none;background-image:url('../tlo.jpg');background-size:520px auto}.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}a{color:#46553e;text-decoration-color:rgba(70,85,62,.4);text-underline-offset:3px}a:hover{color:#273321}.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;padding:10px 14px;z-index:1000}.skip-link:focus{left:8px}.site-header{position:sticky;top:0;z-index:100;background:rgba(38,47,35,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(215,196,158,.25);box-shadow:0 8px 30px rgba(0,0,0,.08)}.header-inner{height:84px;display:flex;align-items:center;gap:30px}.brand{display:flex;flex-direction:column;min-width:max-content;color:#f5efdf;text-decoration:none;line-height:1}.brand-main{font-family:var(--serif);font-size:28px;letter-spacing:.11em}.brand-sub{margin-top:6px;font-family:var(--serif);font-size:14px;letter-spacing:.16em;color:#d9cba9;text-transform:uppercase}.main-nav{margin-left:auto;display:flex;align-items:center;gap:2px}.nav-link{display:flex;align-items:center;border:0;background:transparent;color:#efe8d8;text-decoration:none;padding:12px 10px;font-size:13px;font-weight:650;letter-spacing:.02em;border-radius:8px;cursor:pointer;font-family:var(--sans);white-space:nowrap}.nav-link:hover,.nav-link.is-active{color:#fff;background:rgba(255,255,255,.075)}.nav-link.is-active{box-shadow:inset 0 -2px var(--gold)}.dropdown{position:relative}.dropdown-menu{position:absolute;top:calc(100% + 12px);right:0;min-width:220px;padding:8px;background:#f8f3e8;border:1px solid #d9cbaa;border-radius:12px;box-shadow:0 18px 50px rgba(20,24,19,.25);opacity:0;visibility:hidden;transform:translateY(-6px);transition:.18s}.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu,.dropdown.is-open .dropdown-menu{opacity:1;visibility:visible;transform:none}.dropdown-link{display:block;padding:10px 12px;border-radius:8px;color:#30382d;text-decoration:none;font-size:14px}.dropdown-link:hover,.dropdown-link.is-active{background:#e9e2d2;color:#1f2b1d}.menu-toggle{display:none;margin-left:auto;width:44px;height:44px;border:1px solid rgba(255,255,255,.22);border-radius:9px;background:transparent}.menu-toggle span{display:block;width:20px;height:2px;background:#fff;margin:4px auto}.page-masthead{position:relative;min-height:245px;display:grid;place-items:center;background:url('../glowna_listopad03.jpg') center 47%/cover no-repeat;overflow:hidden}.page-masthead-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(37,45,33,.95),rgba(37,45,33,.82) 48%,rgba(37,45,33,.5)),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.2))}.page-masthead-inner{position:relative;color:#fff;padding:45px 0}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700;color:#dfcda8}.page-masthead h1{font-family:var(--serif);font-weight:500;font-size:clamp(36px,5vw,58px);line-height:1.05;margin:8px 0 16px;max-width:850px}.ornament{display:flex;align-items:center;gap:10px;color:var(--gold);width:180px}.ornament span{height:1px;background:rgba(213,188,137,.65);flex:1}.section{padding:72px 0}.section-sm{padding:48px 0}.section-paper{background:rgba(247,242,231,.84);border-block:1px solid rgba(176,155,115,.23)}.section-dark{background:var(--olive);color:#f5efdf}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}.section-heading h2{margin:0;font:500 clamp(30px,4vw,44px)/1.08 var(--serif);color:#2c3429}.section-heading p{margin:0;max-width:600px;color:var(--muted)}.article-wrap{padding:60px 0 82px}.prose{max-width:900px;margin:0 auto;background:rgba(255,253,248,.92);padding:clamp(26px,5vw,56px);border:1px solid #ded4c1;border-radius:18px;box-shadow:var(--shadow)}.prose p{margin:0 0 1.15em}.prose h1,.prose h2,.prose h3,.prose h4{font-family:var(--serif);font-weight:500;line-height:1.2;color:#30382d;margin:1.4em 0 .55em}.prose h1{font-size:38px}.prose h2{font-size:30px}.prose h3{font-size:24px}.prose strong{color:#2d342a}.prose blockquote{margin:32px 0;padding:6px 0 6px 24px;border-left:3px solid var(--gold);font-family:var(--serif);font-size:22px;color:#3a4136}.prose .content-image{display:block;max-width:100%;height:auto;margin:24px auto;border-radius:8px;box-shadow:0 10px 26px rgba(60,49,32,.16)}.prose a[data-lightbox]{display:inline-block}.prose ul,.prose ol{padding-left:1.3em}.prose li{margin:.35em 0}.sep{border:0;border-top:1px solid var(--line);margin:32px 0}.legacy-table{width:auto!important;max-width:100%;margin:24px auto;border-collapse:separate!important;border-spacing:10px!important;display:table}.legacy-table td{vertical-align:top}.legacy-table img{max-width:100%!important;height:auto!important}.home-hero{position:relative;min-height:590px;display:flex;align-items:center;background:linear-gradient(110deg,#f2eadb 0%,#f8f4ea 60%,#eee3d0 100%);overflow:hidden;border-bottom:1px solid rgba(140,116,74,.25)}.home-hero-media{position:absolute;right:max(3.5vw,28px);top:50%;transform:translateY(-50%);width:min(47vw,650px);height:min(76%,460px);background:url('../glowna_listopad03.jpg') center/cover no-repeat;border:11px solid #f7f1e5;outline:1px solid rgba(101,83,49,.24);box-shadow:0 28px 70px rgba(58,46,27,.2);filter:saturate(.76) contrast(1.04)}.home-hero-media:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 70px rgba(27,30,23,.22);pointer-events:none}.home-hero:after{content:"";position:absolute;inset:18px;border:1px solid rgba(119,97,59,.22);pointer-events:none}.hero-inner{position:relative;z-index:2;padding:82px 0;width:100%}.hero-copy{max-width:560px}.hero-kicker{font-size:12px;font-weight:750;letter-spacing:.18em;text-transform:uppercase;color:#6a714f}.hero-copy h1{font:500 clamp(48px,7vw,82px)/.95 var(--serif);letter-spacing:-.03em;margin:12px 0 24px;color:#293126}.hero-copy h1 span{display:block;font-size:.68em;margin-top:8px}.hero-copy p{font-size:18px;max-width:560px;color:#3f433b;margin:0 0 16px}.hero-copy .hero-emphasis{font-family:var(--serif);font-size:20px;color:#2b3527}.button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.btn{display:inline-flex;align-items:center;gap:10px;padding:13px 18px;border-radius:7px;border:1px solid #32402e;background:#32402e;color:#fff;text-decoration:none;font-size:13px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;transition:.2s}.btn:hover{background:#202b1f;color:#fff;transform:translateY(-1px)}.btn-secondary{background:rgba(255,255,255,.55);color:#31402e;border-color:#9e927a}.btn-secondary:hover{background:#fff;color:#24301f}.memorial-band{padding:40px 0;background:#fbf7ee;border-bottom:1px solid #e0d7c7;text-align:center}.memorial-band .quote-mark{font:700 38px var(--serif);line-height:.6;color:#6d765e}.memorial-band blockquote{margin:8px auto 0;max-width:900px;font:italic 500 clamp(24px,3.1vw,36px)/1.3 var(--serif);color:#353a32}.memorial-band p{margin:9px 0 0;color:#67685f}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature-card{overflow:hidden;background:#fffdf8;border:1px solid #ddd2bf;border-radius:14px;box-shadow:0 10px 28px rgba(58,50,35,.08);transition:transform .2s,box-shadow .2s}.feature-card:hover{transform:translateY(-4px);box-shadow:0 20px 38px rgba(58,50,35,.13)}.feature-image{height:190px;overflow:hidden;position:relative}.feature-image img{width:100%;height:100%;object-fit:cover;filter:saturate(.7) sepia(.18);transition:transform .35s}.feature-card:hover .feature-image img{transform:scale(1.035)}.feature-icon{position:absolute;right:18px;bottom:-22px;width:48px;height:48px;border-radius:50%;background:#3b4935;color:#f7f0df;display:grid;place-items:center;border:3px solid #fff}.icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.feature-body{padding:28px 22px 22px}.feature-body h3{margin:0 0 10px;font:500 24px var(--serif);color:#30372d}.feature-body p{margin:0 0 18px;color:#66685f;font-size:14px}.text-link{font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;text-decoration:none}.split{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}.archive-collage{position:relative;min-height:460px}.archive-collage img{position:absolute;object-fit:cover;border:8px solid #f7f2e6;box-shadow:0 18px 45px rgba(46,39,27,.18)}.archive-collage .a{left:0;top:10px;width:64%;height:280px}.archive-collage .b{right:0;top:155px;width:52%;height:280px}.archive-collage .c{left:14%;bottom:0;width:42%;height:205px}.split-copy h2{font:500 clamp(34px,4vw,48px)/1.05 var(--serif);margin:0 0 18px;color:#2e372b}.split-copy p{color:#5d6059}.publication-strip{display:grid;grid-template-columns:230px 1fr;gap:38px;align-items:center;padding:38px;border:1px solid #d8ccb5;border-radius:18px;background:linear-gradient(135deg,#f2e7d3,#fbf8f0);box-shadow:var(--shadow);position:relative;overflow:hidden}.publication-strip:after{content:"";position:absolute;right:-100px;bottom:-140px;width:360px;height:360px;border:1px solid rgba(112,91,53,.18);border-radius:50%}.publication-strip img{width:210px;max-height:310px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 14px 16px rgba(54,41,21,.22))}.pub-label{font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:#77725f}.publication-strip h2{font:500 clamp(28px,3.2vw,40px)/1.08 var(--serif);margin:8px 0 12px}.publication-strip p{max-width:720px;color:#62645d}.subnav-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.subnav-card{display:flex;gap:18px;align-items:center;padding:22px;background:#fffdf8;border:1px solid #ded3c0;border-radius:12px;text-decoration:none;color:#30382d;box-shadow:0 8px 22px rgba(56,48,35,.06)}.subnav-card:hover{background:#f7f0e3;color:#263022}.subnav-card .icon{width:48px;height:48px;border-radius:50%;background:#e7dfce;color:#46533f;display:grid;place-items:center;flex:none}.subnav-card h3{font:500 22px var(--serif);margin:0 0 4px}.subnav-card p{margin:0;color:#6b6c65;font-size:14px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery-card{margin:0;background:#fffdf9;border:1px solid #ddd1bd;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px rgba(59,48,31,.07)}.gallery-card a{display:block;aspect-ratio:4/3;background:#e6dfd2;overflow:hidden}.gallery-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s;filter:saturate(.82)}.gallery-card:hover img{transform:scale(1.025)}.gallery-card figcaption{padding:13px 14px 16px;text-align:center;font-size:13px;color:#555950;min-height:54px}.gallery-intro{max-width:760px;margin:-10px auto 34px;text-align:center;color:#66685f}.site-footer{background:#273025;color:#e9e1cf;padding:52px 0 18px;border-top:1px solid #8d7951}.footer-grid{display:grid;grid-template-columns:1.1fr .8fr .8fr;gap:36px;align-items:start}.footer-brand{font:500 22px var(--serif);letter-spacing:.06em}.footer-brand span{font-size:15px;color:#cabc9e;letter-spacing:.02em}.site-footer h3{margin:0 0 8px;font:500 18px var(--serif);color:#fff}.site-footer p{margin:7px 0;color:#cbc6b8;font-size:14px}.site-footer a{color:#e6d4ad}.muted{color:#a9aa9f!important}.footer-note{text-align:center}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:16px;display:flex;justify-content:space-between;gap:20px;color:#aeb0a8;font-size:12px}.lightbox{width:min(1100px,94vw);height:min(860px,92vh);padding:0;border:0;border-radius:12px;background:rgba(22,25,21,.97);color:white;overflow:hidden}.lightbox::backdrop{background:rgba(9,10,8,.82);backdrop-filter:blur(5px)}.lightbox figure{height:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:54px 74px 42px}.lightbox img{max-width:100%;max-height:calc(100% - 58px);object-fit:contain}.lightbox figcaption{margin-top:14px;text-align:center;color:#ddd4c3;font-size:14px}.lightbox button{position:absolute;border:0;background:rgba(255,255,255,.08);color:white;cursor:pointer;border-radius:50%;z-index:2}.lightbox-close{right:14px;top:14px;width:42px;height:42px;font-size:28px}.lightbox-prev,.lightbox-next{top:50%;width:46px;height:46px;font-size:34px;transform:translateY(-50%)}.lightbox-prev{left:14px}.lightbox-next{right:14px}.notice{padding:18px 20px;border-left:4px solid var(--gold);background:#f1eadc;border-radius:4px;color:#55584f;margin:26px 0}.scan-view{display:flex;justify-content:center}.scan-view img{max-width:100%;height:auto;border:1px solid #cfc3ae;box-shadow:var(--shadow)}.author-card{display:grid;grid-template-columns:280px 1fr;gap:38px;align-items:start}.author-card img{width:100%;border-radius:12px;box-shadow:var(--shadow)}.author-card h2{margin-top:0;font:500 34px var(--serif)}.contact-box{margin-top:24px;padding:18px;border:1px solid #d8cdb9;border-radius:10px;background:#f8f4ea}.back-row{margin-bottom:20px}.back-row a{text-decoration:none;font-size:13px;font-weight:700}.update-block{padding:28px 0;border-bottom:1px solid #dfd4c2}.update-block:last-child{border-bottom:0}.update-block h2{margin-top:0}.update-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.update-gallery img{width:100%;height:auto;border-radius:9px}.smallcaps{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:#7a775f}.center{text-align:center}
@media(max-width:1060px){.header-inner{height:76px}.brand-main{font-size:24px}.nav-link{padding:10px 7px;font-size:12px}.feature-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.menu-toggle{display:block}.main-nav{position:fixed;left:0;right:0;top:76px;display:none;flex-direction:column;align-items:stretch;gap:0;background:#293326;padding:12px 20px 22px;border-top:1px solid rgba(255,255,255,.12);max-height:calc(100vh - 76px);overflow:auto}.main-nav.is-open{display:flex}.nav-link{font-size:14px;padding:12px 10px}.dropdown-menu{position:static;display:none;opacity:1;visibility:visible;transform:none;background:rgba(255,255,255,.06);box-shadow:none;border-color:rgba(255,255,255,.1);margin:4px 0 6px;min-width:0}.dropdown.is-open .dropdown-menu{display:block}.dropdown-link{color:#ece4d4}.dropdown-link:hover,.dropdown-link.is-active{background:rgba(255,255,255,.08);color:#fff}.home-hero{min-height:570px}.home-hero-media{right:-80px;width:52vw;height:390px;opacity:.55}.hero-copy{max-width:510px}.split{grid-template-columns:1fr}.archive-collage{min-height:420px}.publication-strip{grid-template-columns:180px 1fr}.publication-strip img{width:165px}.footer-grid{grid-template-columns:1fr 1fr}.footer-note{grid-column:1/-1;text-align:left}.author-card{grid-template-columns:220px 1fr}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.section{padding:52px 0}.page-masthead{min-height:205px}.page-masthead h1{font-size:38px}.home-hero{min-height:690px;display:block}.hero-inner{padding:52px 0 310px}.hero-copy h1{font-size:54px}.hero-copy p{font-size:16px}.home-hero-media{right:14px;left:14px;top:auto;bottom:28px;transform:none;width:auto;height:245px;opacity:1;border-width:8px;background-size:cover}.home-hero:after{inset:8px}.memorial-band{padding:34px 0}.feature-grid,.subnav-grid,.gallery-grid{grid-template-columns:1fr}.feature-image{height:210px}.section-heading{align-items:start;flex-direction:column}.archive-collage{min-height:360px}.archive-collage .a{width:70%;height:225px}.archive-collage .b{width:55%;height:215px;top:130px}.archive-collage .c{height:160px}.publication-strip{grid-template-columns:1fr;padding:26px}.publication-strip img{width:160px;margin:auto}.prose{padding:24px 20px;border-radius:10px}.article-wrap{padding:36px 0 58px}.legacy-table{display:block;overflow-x:auto;border-spacing:4px!important}.legacy-table td{min-width:140px}.footer-grid{grid-template-columns:1fr}.footer-note{text-align:left}.footer-bottom{flex-direction:column}.author-card{grid-template-columns:1fr}.author-card img{max-width:320px}.lightbox figure{padding:54px 14px 40px}.lightbox-prev,.lightbox-next{top:auto;bottom:8px}.lightbox-prev{left:calc(50% - 56px)}.lightbox-next{right:calc(50% - 56px)}.update-gallery{grid-template-columns:1fr}}


/* ===== v2: morning-concept header + hero ===== */
.site-header{background:rgba(38,47,35,.985);border-bottom:1px solid rgba(205,184,139,.30);box-shadow:none}
.header-inner{height:78px;gap:24px}
.brand{min-width:360px;line-height:1.05}
.brand-title{font-family:var(--serif);font-size:29px;font-weight:600;letter-spacing:-.01em;color:#f7f1e5}
.brand-tagline{margin-top:6px;font:italic 13px/1.2 var(--serif);color:#d4c7aa;letter-spacing:.01em}
.main-nav{gap:8px}
.nav-link{padding:10px 7px;border-radius:0;font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.035em;color:#efe9dc}
.nav-link:hover{background:transparent;color:#fff}
.nav-link.is-active{background:transparent;color:#fff;box-shadow:inset 0 -1px var(--gold);}

.home-hero{min-height:440px;align-items:stretch;background:#f2eadc;border-bottom:1px solid rgba(142,118,75,.28);overflow:hidden}
.home-hero:after{display:none}
.home-hero-media{top:0;right:0;transform:none;width:66%;height:100%;border:0;outline:0;box-shadow:none;background-image:url('hero-milkow.jpg');background-position:center 46%;background-size:cover;filter:saturate(.72) contrast(1.06) sepia(.08)}
.home-hero-media:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f2eadc 0%,rgba(242,234,220,.92) 6%,rgba(242,234,220,.55) 16%,rgba(242,234,220,.08) 31%,transparent 44%),linear-gradient(180deg,rgba(30,32,27,.02),rgba(22,24,20,.10));z-index:1}
.home-hero-media:after{content:"";position:absolute;inset:0;box-shadow:inset -22px 0 0 rgba(246,240,228,.7),inset 0 0 65px rgba(27,30,23,.16);pointer-events:none;z-index:2}
.hero-inner{padding:44px 0 38px;display:flex;align-items:center;min-height:440px}
.hero-copy{max-width:430px;position:relative;z-index:4}
.hero-copy h1{font:600 clamp(46px,5.4vw,66px)/.94 var(--serif);letter-spacing:-.025em;margin:0 0 16px;color:#2e392d}
.hero-copy h1 span{display:block;font-size:1em;margin-top:5px}
.hero-ornament{display:flex;align-items:center;gap:9px;width:116px;margin:5px 0 17px;color:#68725c}
.hero-ornament span{height:1px;background:#9c927b;flex:1}.hero-ornament b{font:400 18px var(--serif)}
.hero-copy p{font-size:15px;line-height:1.5;max-width:390px;color:#353933;margin:0 0 13px}
.hero-copy .hero-emphasis{font-family:var(--sans);font-size:15px;line-height:1.45;color:#2d342a;max-width:410px}
.hero-copy .button-row{margin-top:17px}
.hero-copy .btn{padding:12px 16px;font-size:12px;border-radius:3px;background:#35422f;border-color:#35422f}
.hero-copy .btn:hover{background:#263423}

.memorial-band{padding:32px 0 30px;background:rgba(251,248,241,.97)}
.memorial-band blockquote{font-size:clamp(24px,2.8vw,32px)}

@media(max-width:1120px){.brand{min-width:300px}.brand-title{font-size:25px}.main-nav{gap:3px}.nav-link{font-size:11px;padding-inline:5px}.home-hero-media{width:63%}.hero-copy{max-width:400px}}
@media(max-width:860px){.brand{min-width:0}.brand-title{font-size:24px}.brand-tagline{font-size:12px}.main-nav{top:76px}.nav-link{text-transform:none;font-size:14px;border-radius:7px}.nav-link.is-active{background:rgba(255,255,255,.07);box-shadow:none}.home-hero{min-height:590px}.hero-inner{min-height:590px;padding:48px 0 292px}.hero-copy{max-width:570px}.home-hero-media{left:0;right:0;top:auto;bottom:0;width:100%;height:285px;opacity:1}.home-hero-media:before{background:linear-gradient(180deg,#f2eadc 0%,rgba(242,234,220,.45) 12%,transparent 32%)}.home-hero-media:after{box-shadow:inset 0 -10px 0 rgba(246,240,228,.55),inset 0 0 55px rgba(27,30,23,.13)}}
@media(max-width:640px){.header-inner{height:72px}.brand-title{font-size:21px}.brand-tagline{font-size:11px}.main-nav{top:72px}.home-hero{min-height:620px}.hero-inner{min-height:620px;padding:40px 0 276px}.hero-copy h1{font-size:48px}.hero-copy p,.hero-copy .hero-emphasis{font-size:15px}.home-hero-media{height:255px}.memorial-band{padding:30px 0}.memorial-band blockquote{font-size:24px}}

/* ========================================================================== 
   WERSJA "SCREEN" – projekt strony głównej na bazie zaakceptowanej makiety
   ========================================================================== */
:root{
  --screen-green:#2c3528;
  --screen-green-deep:#242d22;
  --screen-olive:#59634b;
  --screen-gold:#b99b61;
  --screen-paper:#f3ecdd;
  --screen-paper-light:#fbf8f1;
  --screen-line:#d8cbb1;
}
body.home-screen{background:#f6f1e7;color:#30342e}
body.home-screen:before{background:linear-gradient(#f8f4eb,#f2eadb)}
body.home-screen:after{opacity:.035;background-size:430px auto}

/* header – wspólny dla całego serwisu */
.site-header{position:sticky;top:0;z-index:100;background:rgba(38,47,35,.985);border-bottom:1px solid rgba(205,184,139,.26);box-shadow:0 3px 15px rgba(23,28,21,.11);backdrop-filter:blur(10px)}
.header-inner{height:78px;gap:28px}
.brand{min-width:390px;display:flex;flex-direction:column;color:#f5efe3;text-decoration:none;line-height:1.02}
.brand-title,.brand-main{font-family:Georgia,'Times New Roman',serif;font-size:30px;font-weight:600;letter-spacing:-.015em;color:#f7f2e7;text-transform:none}
.brand-tagline{margin-top:7px;font:italic 13px/1.2 Georgia,'Times New Roman',serif;color:#d5c8ab;letter-spacing:.01em}
.brand-sub{margin-top:6px;font:italic 13px/1.2 Georgia,'Times New Roman',serif;color:#d5c8ab;letter-spacing:.01em;text-transform:none}
.main-nav{margin-left:auto;gap:6px}
.nav-link{padding:10px 7px;border-radius:0;font-size:11.5px;font-weight:650;text-transform:uppercase;letter-spacing:.035em;color:#eee8dc}
.nav-link:hover{background:transparent;color:#fff}
.nav-link.is-active{background:transparent;color:#fff;box-shadow:inset 0 -1px var(--screen-gold)}
.dropdown-menu{border-radius:4px;background:#f7f1e5;border-color:#cdbf9f}

/* hero – prawie 1:1 z zaakceptowanej makiety */
.screen-hero{position:relative;display:grid;grid-template-columns:40% 60%;height:360px;max-width:1448px;margin:0 auto;background:var(--screen-paper);overflow:hidden;border-bottom:1px solid rgba(135,111,70,.22)}
.screen-hero:before{content:"";position:absolute;inset:0;z-index:0;opacity:.12;background-image:url('../tlo.jpg');background-size:420px auto;pointer-events:none}
.screen-hero-copy{position:relative;z-index:4;padding:36px 34px 32px max(6vw,70px);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,rgba(244,237,223,.99) 0%,rgba(244,237,223,.98) 72%,rgba(244,237,223,.88) 86%,rgba(244,237,223,0) 100%)}
.screen-hero-copy h1{margin:0;color:#2d392d;font:600 clamp(42px,4.35vw,58px)/.92 Georgia,'Times New Roman',serif;letter-spacing:-.025em}
.screen-hero-copy h1 span{display:inline-block;margin-top:6px}
.screen-ornament{width:120px;display:flex;align-items:center;gap:8px;margin:13px 0 13px;color:#667158}
.screen-ornament span{height:1px;flex:1;background:#a29377}.screen-ornament b{font:400 18px Georgia,serif}
.screen-hero-copy p{max-width:385px;margin:0 0 10px;font-size:14px;line-height:1.45;color:#383c35}
.screen-hero-copy .screen-hero-emphasis{font-weight:700;color:#2e352b;margin-top:2px}
.screen-btn{align-self:flex-start;margin-top:4px;padding:11px 15px;border-radius:3px;background:#35412f;border-color:#35412f;font-size:11px;letter-spacing:.04em}
.screen-btn:hover{background:#263222;transform:none}
.screen-hero-photo{position:relative;z-index:1;background:url('figura-milkow-hero.jpg') center 48%/cover no-repeat;filter:saturate(.62) sepia(.15) contrast(1.04)}
.screen-hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,237,223,.78) 0%,rgba(244,237,223,.27) 10%,transparent 24%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(28,30,25,.08))}
.screen-hero-photo:after{content:"";position:absolute;inset:0;box-shadow:inset -18px 0 0 rgba(249,244,235,.74),inset 0 0 45px rgba(29,31,27,.15);pointer-events:none}

/* cytat pamięci */
.screen-memory{background:rgba(251,248,241,.98);padding:11px 0 7px}
.screen-memory-inner{min-height:92px;display:grid;grid-template-columns:150px 1fr 150px;align-items:center;gap:16px;text-align:center}
.memory-copy{position:relative}.memory-quote{height:19px;font:700 35px/1 Georgia,serif;color:#5d684f}.memory-copy blockquote{margin:0;font:italic 500 clamp(22px,2.2vw,29px)/1.25 Georgia,'Times New Roman',serif;color:#383b34}.memory-copy p{margin:4px 0 0;font:600 14px/1.25 Georgia,'Times New Roman',serif;color:#45483f}
.memory-branch{font:400 72px/1 Georgia,serif;color:#c0a875;opacity:.82;transform:rotate(-36deg)}.memory-branch-right{transform:scaleX(-1) rotate(-36deg)}

/* 4 główne kafle */
.screen-cards-section{padding:0 0 18px;background:rgba(251,248,241,.98)}
.screen-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.screen-card{position:relative;background:#fbf8f1;border:1px solid #d7cbb5;border-radius:4px;overflow:hidden;box-shadow:0 5px 16px rgba(57,48,33,.055);text-align:center}
.screen-card-photo{display:block;height:105px;overflow:hidden;background:#ddd4c5}
.screen-card-photo img{width:100%;height:100%;object-fit:cover;filter:grayscale(.32) sepia(.34) saturate(.72);transition:transform .28s ease}.screen-card:hover .screen-card-photo img{transform:scale(1.025)}
.screen-card-icon{position:absolute;top:81px;left:50%;transform:translateX(-50%);width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:#4c5943;color:#f7f1e4;border:3px solid #fbf8f1;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.screen-card-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.screen-card-body{padding:27px 15px 15px;min-height:142px;display:flex;flex-direction:column;align-items:center}
.screen-card-body h2{margin:0 0 5px;font:600 20px/1.1 Georgia,'Times New Roman',serif;color:#383b35}
.screen-card-body p{margin:0 auto 10px;max-width:250px;font-size:11.5px;line-height:1.4;color:#555850}
.screen-card-body>a{margin-top:auto;color:#3d4938;text-decoration:none;text-transform:uppercase;letter-spacing:.04em;font-size:10px;font-weight:750}.screen-card-body>a span{font-size:15px;margin-left:6px}

/* polecana publikacja */
.screen-publication{position:relative;overflow:hidden;background:#efe3cf;border-top:1px solid rgba(151,124,78,.16);border-bottom:1px solid rgba(151,124,78,.22)}
.screen-publication:before{content:"";position:absolute;inset:0;opacity:.11;background-image:url('../tlo.jpg');background-size:420px auto}
.screen-publication-inner{position:relative;min-height:190px;display:grid;grid-template-columns:410px 1fr;gap:32px;align-items:center;padding-top:12px;padding-bottom:12px}
.screen-publication-visual{position:relative;height:165px;z-index:2}.screen-publication-visual img{position:absolute;object-fit:cover;box-shadow:0 8px 16px rgba(49,39,24,.18);border:4px solid rgba(249,244,234,.62)}
.screen-publication-visual .pub-book{left:20px;bottom:0;width:105px;height:152px;object-fit:contain;border:0;z-index:3;filter:drop-shadow(0 7px 8px rgba(45,34,18,.23));box-shadow:none}
.screen-publication-visual .pub-photo-one{left:119px;top:18px;width:154px;height:132px;transform:rotate(-1.5deg);filter:grayscale(.35) sepia(.28)}
.screen-publication-visual .pub-photo-two{left:250px;top:23px;width:145px;height:125px;transform:rotate(2deg);filter:grayscale(.35) sepia(.3)}
.screen-publication-copy{position:relative;z-index:3;padding-right:120px}.screen-publication-copy .pub-label{font-size:10px;letter-spacing:.11em;color:#6d6b5d}.screen-publication-copy h2{margin:3px 0 0;font:600 28px/1.05 Georgia,'Times New Roman',serif;color:#333831}.screen-publication-copy h3{margin:2px 0 8px;font:500 18px/1.15 Georgia,'Times New Roman',serif;color:#383d35}.screen-publication-copy p{max-width:690px;margin:0 0 10px;font-size:11.5px;line-height:1.45;color:#53574e}.screen-publication-copy .screen-btn{margin-top:0}
.screen-publication-watermark{position:absolute;right:10px;bottom:-60px;width:330px;height:205px;opacity:.08;background:url('../cerkiew.jpg') center 38%/cover no-repeat;filter:grayscale(1) sepia(1);mix-blend-mode:multiply;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 45%);mask-image:linear-gradient(90deg,transparent 0,#000 45%)}

/* zwarty footer jak w makiecie */
.screen-footer{padding:0;background:#273025;border-top:0}
.screen-footer-grid{min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;color:#e8dfcb;font-size:10px}
.screen-footer-contact{display:flex;align-items:center;gap:12px;line-height:1.45}.footer-mail{width:28px;height:24px;display:grid;place-items:center;border:1px solid #c4a467;color:#cbae70;font-size:15px}.screen-footer-contact strong{font-size:10px;font-weight:600}.screen-footer-contact a{color:#d8ba7c}
.screen-footer-memory{display:flex;flex-direction:column;align-items:center;gap:2px;font:italic 12px Georgia,serif;color:#dfd3bb}
.screen-footer-copy{text-align:right;line-height:1.55;color:#c7c1b2}

/* podstrony – ten sam język wizualny */
.page-masthead{min-height:220px;background-position:center 46%}.page-masthead-overlay{background:linear-gradient(90deg,rgba(38,47,35,.94),rgba(38,47,35,.72) 52%,rgba(38,47,35,.42))}.page-masthead-inner{padding:38px 0}.page-masthead h1{font-size:clamp(38px,4.5vw,56px)}
.site-footer:not(.screen-footer){padding:32px 0 14px}.site-footer:not(.screen-footer) .footer-grid{gap:26px}.site-footer:not(.screen-footer) .footer-bottom{margin-top:20px}

@media(max-width:1180px){
  .brand{min-width:315px}.brand-title,.brand-main{font-size:25px}.nav-link{font-size:10.5px;padding-inline:5px}.main-nav{gap:2px}
  .screen-hero{grid-template-columns:43% 57%}.screen-hero-copy{padding-left:40px}.screen-publication-copy{padding-right:40px}
}
@media(max-width:900px){
  .brand{min-width:0}.brand-title,.brand-main{font-size:24px}.brand-tagline,.brand-sub{font-size:12px}
  .menu-toggle{display:block}.main-nav{top:78px}.nav-link{text-transform:none;font-size:14px;border-radius:7px}.nav-link.is-active{background:rgba(255,255,255,.07);box-shadow:none}
  .screen-hero{height:auto;display:block}.screen-hero-copy{padding:42px 36px 34px;min-height:340px;background:var(--screen-paper)}.screen-hero-copy p{max-width:560px}.screen-hero-photo{height:330px;background-position:center 42%}.screen-hero-photo:before{background:linear-gradient(180deg,rgba(244,237,223,.6),transparent 22%)}
  .screen-memory-inner{grid-template-columns:60px 1fr 60px}.memory-branch{font-size:52px}
  .screen-card-grid{grid-template-columns:repeat(2,1fr)}
  .screen-publication-inner{grid-template-columns:330px 1fr}.screen-publication-visual .pub-book{left:0}.screen-publication-visual .pub-photo-one{left:88px;width:132px}.screen-publication-visual .pub-photo-two{left:202px;width:124px}.screen-publication-copy{padding-right:0}
  .screen-publication-watermark{display:none}
}
@media(max-width:640px){
  .container{width:min(100% - 28px,1180px)}.header-inner{height:72px}.main-nav{top:72px}.brand-title,.brand-main{font-size:20px}.brand-tagline,.brand-sub{font-size:10.5px}
  .screen-hero-copy{padding:34px 22px 30px;min-height:360px}.screen-hero-copy h1{font-size:47px}.screen-hero-copy p{font-size:14px}.screen-hero-photo{height:255px}
  .screen-memory{padding:20px 0}.screen-memory-inner{display:block;min-height:0}.memory-branch{display:none}.memory-copy blockquote{font-size:23px}.memory-copy p{font-size:13px}
  .screen-cards-section{padding-bottom:24px}.screen-card-grid{grid-template-columns:1fr;gap:16px}.screen-card-photo{height:160px}.screen-card-icon{top:136px}.screen-card-body{min-height:135px}.screen-card-body h2{font-size:22px}.screen-card-body p{font-size:13px;max-width:360px}
  .screen-publication-inner{display:block;padding-top:24px;padding-bottom:30px}.screen-publication-visual{height:180px;width:320px;max-width:100%;margin:0 auto 14px}.screen-publication-visual .pub-book{width:100px;height:145px}.screen-publication-visual .pub-photo-one{left:90px;top:20px;width:135px;height:122px}.screen-publication-visual .pub-photo-two{left:195px;top:33px;width:120px;height:105px}.screen-publication-copy{text-align:center}.screen-publication-copy h2{font-size:27px}.screen-publication-copy p{font-size:13px}.screen-publication-copy .screen-btn{margin-inline:auto}
  .screen-footer-grid{grid-template-columns:1fr;text-align:center;padding:18px 0;gap:13px}.screen-footer-contact{justify-content:center}.screen-footer-copy{text-align:center}.screen-footer-memory{order:-1}
}

/* korekta kompatybilności i proporcji makiety */
.container{width:calc(100% - 80px);max-width:1320px;margin-left:auto;margin-right:auto}
.screen-hero{display:flex;grid-template-columns:none}
.screen-hero-copy{flex:0 0 40%;padding-left:72px;padding-right:24px}
.screen-hero-photo{flex:1 1 auto;min-width:0}
.screen-memory-inner{max-width:1040px}
.screen-card-grid{max-width:1120px}
.screen-publication-inner{max-width:1180px}
@media(max-width:1180px){.container{width:calc(100% - 48px)}.screen-hero-copy{padding-left:40px;flex-basis:43%}}
@media(max-width:900px){.screen-hero{display:block}.screen-hero-copy{padding-left:36px}.screen-hero-photo{width:100%}.screen-card-grid{max-width:760px}}
@media(max-width:640px){.container{width:calc(100% - 28px)}.screen-hero-copy{padding-left:22px;padding-right:22px}.screen-card-grid{max-width:440px}}
.screen-hero-copy h1{font-size:54px}
.screen-hero-copy h1 span{white-space:nowrap}
@media(max-width:640px){.screen-hero-copy h1{font-size:46px}.screen-hero-copy h1 span{white-space:normal}}

/* ===== Książki dra Jana Kucy — sekcja zgodna z zaakceptowaną makietą ===== */
.books-section{position:relative;overflow:hidden;background:#efe4d1;border-top:1px solid rgba(139,111,67,.18);border-bottom:1px solid rgba(139,111,67,.28);padding:34px 0 40px}
.books-section:before{content:"";position:absolute;inset:0;opacity:.11;background:url('../tlo.jpg') 0 0/430px auto;pointer-events:none}
.books-shell{position:relative;z-index:1;max-width:1120px}
.books-heading{display:grid;grid-template-columns:1fr minmax(320px,520px);gap:36px;align-items:end;margin-bottom:24px}
.books-heading .pub-label,.publication-books .pub-label{text-transform:uppercase;letter-spacing:.16em;font-size:10px;font-weight:750;color:#7a6a4c}
.books-heading h2{margin:3px 0 0;font:600 clamp(28px,3vw,38px)/1.08 Georgia,'Times New Roman',serif;color:#30382d}
.books-heading p{margin:0;color:#5c5c52;font-size:13px;line-height:1.55}
.book-featured{display:grid;grid-template-columns:240px 1fr;gap:38px;align-items:center;background:rgba(249,245,236,.78);border:1px solid #d5c6aa;padding:22px 30px;border-radius:4px;box-shadow:0 8px 22px rgba(52,42,28,.075)}
.book-cover-wrap{display:grid;place-items:center}
.book-cover{position:relative;width:150px;aspect-ratio:.69;background:#ddd;border:1px solid rgba(67,57,38,.17);box-shadow:0 14px 26px rgba(43,34,21,.22);overflow:hidden;isolation:isolate}
.book-cover img{position:absolute;z-index:3;inset:0;width:100%;height:100%;object-fit:cover}
.book-cover-fallback{position:absolute;z-index:1;inset:0;padding:17px 12px;display:flex;flex-direction:column;align-items:center;text-align:center;font-family:Georgia,'Times New Roman',serif}
.book-cover-fallback .book-author{text-transform:uppercase;letter-spacing:.09em;font-size:10px;margin-bottom:24px}
.book-cover-fallback strong{font-size:26px;line-height:.95;text-transform:uppercase;font-weight:600}
.book-cover-fallback strong small{display:block;font-size:12px;line-height:1.18;margin-top:8px;letter-spacing:.02em}
.book-cover-fallback .book-year{margin-top:auto;font-size:10px;letter-spacing:.18em}
.book-cover-2026{background:linear-gradient(150deg,#f3f8e9,#dcebcf 60%,#cbdcb8);color:#30372e}.book-cover-2026:after{content:"";position:absolute;z-index:0;left:50%;bottom:14%;width:78px;height:92px;transform:translateX(-50%);background:radial-gradient(ellipse at 50% 30%,rgba(69,87,60,.28),transparent 58%),linear-gradient(90deg,transparent 47%,rgba(69,87,60,.32) 48% 52%,transparent 53%);border-radius:50%}
.book-cover-2024{background:linear-gradient(160deg,#9b5e37,#b87548 42%,#7f4b2e);color:#f1dfad}
.book-cover-2017{background:linear-gradient(180deg,#e6d8bb,#cfb48d);color:#5d3f42}.book-cover-2017 .book-cover-fallback strong{color:#9e244f}
.book-featured-copy h3,.publication-book-featured h3{margin:7px 0 2px;font:600 clamp(28px,3vw,38px)/1.04 Georgia,'Times New Roman',serif;color:#30372e}
.book-byline{font:500 15px Georgia,'Times New Roman',serif;color:#555d50;margin-bottom:10px}
.book-featured-copy>p{max-width:690px;margin:0 0 14px;color:#51554d;font-size:13px;line-height:1.58}
.book-new-badge{display:inline-flex;align-items:center;gap:8px;background:#3b4935;color:#f6eedc;border-radius:2px;padding:5px 8px;text-transform:uppercase;letter-spacing:.09em;font-size:9px;font-weight:800}
.book-meta{display:flex;flex-wrap:wrap;gap:9px 22px;margin:14px 0 16px;padding:11px 0;border-top:1px solid #d8cbb5;border-bottom:1px solid #d8cbb5}
.book-meta div{display:flex;gap:7px;align-items:baseline}.book-meta dt{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:#777061}.book-meta dd{margin:0;font-size:12px;font-weight:650;color:#3f453b}
.book-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.book-source-link{font-size:11px;font-weight:700;text-decoration:none;color:#4c5943}.book-source-link:hover{text-decoration:underline}
.book-history-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.book-history-card{display:grid;grid-template-columns:104px 1fr;gap:18px;align-items:center;background:rgba(249,245,236,.58);border:1px solid rgba(184,161,122,.48);padding:15px 18px;min-height:170px}
.book-history-card .book-cover{width:92px;box-shadow:0 8px 17px rgba(43,34,21,.17)}.book-history-card .book-cover-fallback{padding:10px 7px}.book-history-card .book-cover-fallback .book-author{font-size:7px;margin-bottom:12px}.book-history-card .book-cover-fallback strong{font-size:16px}.book-history-card .book-cover-fallback strong small{font-size:8px}.book-history-card .book-cover-fallback .book-year{font-size:7px}
.book-history-copy h3{margin:3px 0 7px;font:600 20px/1.08 Georgia,'Times New Roman',serif;color:#333a31}.book-history-copy p{margin:0 0 7px;font-size:11.5px;line-height:1.45;color:#585b52}.book-year-label{font-size:9px;letter-spacing:.14em;font-weight:800;color:#7c6a49}.book-small-meta{font-size:10px;color:#767365}

/* Podstrona Publikacje */
.publication-books{margin-bottom:8px}.publication-books-intro{margin-bottom:26px}.publication-books-intro h2{margin:.2em 0 .35em}.publication-books-intro p{color:#555b52}
.publication-book-featured{display:grid;grid-template-columns:185px 1fr;gap:30px;align-items:center;padding:22px;background:#f3ead9;border:1px solid #dacbb1;border-radius:10px;margin:18px 0 20px}.publication-book-featured .book-cover{width:165px}.publication-book-featured p{margin:.55em 0}.book-detail-list{font-size:14px;color:#4f554c;margin:.6em 0 1em!important;padding-left:1.15em!important}.book-detail-list li{margin:.15em 0!important}
.publication-book-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.publication-book-grid>article{display:grid;grid-template-columns:115px 1fr;gap:18px;align-items:center;border:1px solid #ddd2bd;background:#fbf8f1;padding:16px;border-radius:8px}.publication-book-grid .book-cover{width:105px}.publication-book-grid .book-cover-fallback{padding:10px 7px}.publication-book-grid .book-cover-fallback .book-author{font-size:7px;margin-bottom:13px}.publication-book-grid .book-cover-fallback strong{font-size:17px}.publication-book-grid .book-cover-fallback strong small{font-size:8px}.publication-book-grid .book-cover-fallback .book-year{font-size:7px}.publication-book-grid h3{margin:3px 0 7px!important;font-size:20px!important}.publication-book-grid p{margin:0;font-size:13px;line-height:1.5;color:#55594f}

@media(max-width:900px){.books-heading{grid-template-columns:1fr}.book-featured{grid-template-columns:190px 1fr;gap:25px}.book-history-grid{grid-template-columns:1fr}.publication-book-grid{grid-template-columns:1fr}}
@media(max-width:640px){.books-section{padding:28px 0}.books-heading{gap:9px}.books-heading p{font-size:12px}.book-featured{display:block;padding:20px}.book-cover-wrap{margin-bottom:20px}.book-featured-copy{text-align:center}.book-featured-copy>p{font-size:12.5px}.book-meta{justify-content:center}.book-actions{justify-content:center}.book-history-card{grid-template-columns:86px 1fr;gap:14px;padding:13px}.book-history-card .book-cover{width:78px}.book-history-copy h3{font-size:18px}.book-history-copy p{font-size:11px}.publication-book-featured{display:block;text-align:center}.publication-book-featured .book-cover{margin:0 auto 20px}.publication-book-grid>article{grid-template-columns:88px 1fr}.publication-book-grid .book-cover{width:80px}}

/* Lichacze – podstrona historyczna */
.lichacze-masthead{min-height:430px;background-image:url('../lichacze/kaplica-lichacze-sierpien-2026.jpg');background-position:center 47%}
.lichacze-masthead .page-masthead-overlay{background:linear-gradient(90deg,rgba(31,40,29,.97),rgba(31,40,29,.81) 52%,rgba(31,40,29,.35)),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.3))}
.lichacze-masthead .page-masthead-inner{padding:70px 0}.lichacze-masthead h1{max-width:760px}.lichacze-masthead-lead{max-width:650px;margin:-3px 0 20px;color:#eee5d4;font-size:18px;line-height:1.55}
.lichacze-article-wrap{padding-top:48px}.lichacze-prose{max-width:1060px}.lichacze-prose>section{scroll-margin-top:105px}
.lichacze-opening{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.72fr);gap:42px;align-items:start}
.lichacze-opening h2{margin-top:.35em}.lichacze-document-feature{margin:0;position:sticky;top:108px}.lichacze-document-feature a{display:block;background:#e8dfce;padding:8px;border:1px solid #cfc0a6;box-shadow:0 16px 40px rgba(53,43,28,.16)}.lichacze-document-feature img{display:block;width:100%;height:auto}.lichacze-document-feature figcaption{margin-top:11px;color:#66665d;font-size:12px;line-height:1.5;text-align:center}
.lichacze-inline-source{margin-top:22px!important;padding-top:14px;border-top:1px solid #e1d7c5;color:#6f7068;font-size:12.5px!important;text-align:left!important}.lichacze-inline-source a{font-weight:650}
.lichacze-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:30px 0}.lichacze-photo-grid .lichacze-photo-wide{grid-column:1/-1}.lichacze-photo-grid .lichacze-photo-wide a{aspect-ratio:16/9}.lichacze-photo-grid .gallery-card a{display:block}.lichacze-photo-grid .gallery-card img{display:block}
.transcription-note{color:#676960;font-size:14px}.document-transcript{margin:26px 0;padding:clamp(24px,5vw,48px);background:linear-gradient(135deg,#f6e8bc,#efe0ad);border:1px solid #c9ae73;box-shadow:inset 0 0 0 7px rgba(255,255,255,.22),0 16px 40px rgba(61,47,24,.12);font-family:Georgia,'Times New Roman',serif;color:#352e23}.document-transcript p{max-width:760px;margin:0 auto 1.15em;text-align:justify;hyphens:auto}.document-transcript .document-invocation{text-align:center;font-weight:700;font-size:18px}.document-transcript .document-signature{text-align:right;font-style:italic}.document-transcript hr{border:0;border-top:1px solid rgba(87,64,27,.3);margin:28px 0}.transcript-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:8px}
.lichacze-timeline{margin:30px 0 38px;border-left:2px solid #b89c65}.lichacze-timeline>div{display:grid;grid-template-columns:125px 1fr;gap:20px;position:relative;padding:0 0 22px 28px}.lichacze-timeline>div:before{content:'';position:absolute;left:-8px;top:7px;width:12px;height:12px;border-radius:50%;background:#59664f;border:2px solid #fdfaf4}.lichacze-timeline time{font-family:var(--serif);font-weight:700;color:#4a5743}.lichacze-timeline p{margin:0;color:#5f625a}
.lichacze-census-wrap{overflow-x:auto;margin:26px 0}.lichacze-census{width:100%;border-collapse:collapse;background:#fbf8f0;border:1px solid #d9cfbd}.lichacze-census caption{padding:15px 18px;background:#34412f;color:#fff;font-family:var(--serif);font-size:20px;text-align:left}.lichacze-census th,.lichacze-census td{padding:11px 16px;border-bottom:1px solid #dfd6c6}.lichacze-census th{text-align:left;font-weight:600}.lichacze-census td{width:110px;text-align:right;font-weight:800;color:#35412f}.lichacze-census tr:nth-child(even){background:#f4eee2}
.archive-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:26px}.archive-source-grid article{padding:23px;background:#f8f3e8;border:1px solid #dbd0bd;border-radius:10px}.archive-source-grid h3{margin:0 0 10px;font-size:21px}.archive-source-grid p{font-size:14px;color:#60635b}.archive-source-grid a{font-size:12.5px;font-weight:750;text-decoration:none}.archive-source-grid a:hover{text-decoration:underline}
.lichacze-sources ol{padding-left:1.4em}.lichacze-sources li{margin:.65em 0;font-size:14px}.source-method{margin-top:25px!important;padding:19px 21px;background:#f1eadc;border-left:4px solid var(--gold);color:#55584f;font-size:13px!important}
@media(max-width:820px){.lichacze-masthead{min-height:360px;background-position:61% center}.lichacze-opening{grid-template-columns:1fr}.lichacze-document-feature{position:static;max-width:520px;margin:0 auto}.archive-source-grid{grid-template-columns:1fr}}
@media(max-width:640px){.lichacze-masthead{min-height:325px}.lichacze-masthead .page-masthead-inner{padding:46px 0}.lichacze-masthead-lead{font-size:15px;max-width:84%}.lichacze-photo-grid{grid-template-columns:1fr}.lichacze-photo-grid .lichacze-photo-wide{grid-column:auto}.lichacze-photo-grid .gallery-card a,.lichacze-photo-grid .lichacze-photo-wide a{aspect-ratio:4/3}.document-transcript{padding:28px 22px}.lichacze-timeline>div{grid-template-columns:1fr;gap:3px;padding-left:24px}.transcript-actions{align-items:flex-start;flex-direction:column}}

/* ===== 2026-08-29: delikatne przejście grafiki w sekcji startowej =====
   Zmiana dotyczy wyłącznie hero strony głównej. Pozostały układ pozostaje bez zmian. */
@media (min-width:901px){
  .screen-hero{
    position:relative;
    display:block;
    height:380px;
    max-width:1448px;
    margin:0 auto;
    background:var(--screen-paper);
    overflow:hidden;
  }
  .screen-hero-photo{
    position:absolute;
    z-index:1;
    top:0;
    right:0;
    bottom:0;
    left:29%;
    width:auto;
    height:auto;
    min-width:0;
    background-position:center 43%;
    background-size:cover;
  }
  .screen-hero-photo:before{
    content:"";
    position:absolute;
    inset:0;
    background:
      linear-gradient(90deg,
        rgba(244,237,223,1) 0%,
        rgba(244,237,223,.96) 7%,
        rgba(244,237,223,.82) 15%,
        rgba(244,237,223,.56) 24%,
        rgba(244,237,223,.28) 32%,
        rgba(244,237,223,.08) 39%,
        rgba(244,237,223,0) 46%),
      linear-gradient(180deg,rgba(255,255,255,.045),rgba(28,30,25,.075));
    pointer-events:none;
  }
  .screen-hero-photo:after{
    content:"";
    position:absolute;
    inset:0;
    box-shadow:inset 0 0 48px rgba(29,31,27,.10);
    pointer-events:none;
  }
  .screen-hero-copy{
    position:relative;
    z-index:4;
    width:49%;
    height:100%;
    padding:36px 34px 32px max(6vw,70px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:linear-gradient(90deg,
      rgba(244,237,223,.995) 0%,
      rgba(244,237,223,.995) 58%,
      rgba(244,237,223,.97) 70%,
      rgba(244,237,223,.88) 80%,
      rgba(244,237,223,.67) 89%,
      rgba(244,237,223,.34) 96%,
      rgba(244,237,223,0) 100%);
  }
}
@media (min-width:901px) and (max-width:1180px){
  .screen-hero-copy{width:52%;padding-left:40px}
  .screen-hero-photo{left:27%}
}

.footer-guestbook{margin-top:8px}.footer-guestbook a{display:inline-block;color:#dfcda8;text-decoration:none;border-bottom:1px solid rgba(223,205,168,.35);padding-bottom:1px}.footer-guestbook a:hover{color:#fff;border-bottom-color:#fff}

.footer-guestbook-link{display:inline-block;margin-top:5px;color:#dfcda8;text-decoration:none;border-bottom:1px solid rgba(223,205,168,.35)}.footer-guestbook-link:hover{color:#fff;border-bottom-color:#fff}

/* ===== Księga gości – działająca wersja PHP ===== */
.guestbook-main{background:linear-gradient(180deg,#f7f2e8 0,#fbf9f4 34%,#f4eee2 100%)}
.guestbook-intro{padding:34px 0 8px}.guestbook-lead{max-width:850px;margin:0 auto;text-align:center;font:italic 500 clamp(19px,2.3vw,25px)/1.5 var(--serif);color:#4b5147}
.guestbook-section{padding:34px 0 72px}.guestbook-layout{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(420px,1.22fr);gap:28px;align-items:start}
.guestbook-form-card,.guestbook-entries-card{background:rgba(255,253,248,.96);border:1px solid #d9cdb9;box-shadow:0 18px 48px rgba(50,42,28,.10);border-radius:16px;padding:clamp(22px,3vw,34px)}
.guestbook-card-heading{margin-bottom:24px}.guestbook-card-heading h2{margin:4px 0 8px;font:500 32px/1.05 var(--serif);color:#30382d}.guestbook-card-heading p{margin:0;color:#6b6b62;font-size:14px}.guestbook-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:10px;font-weight:800;color:#8b7650}
.guestbook-form{display:grid;gap:16px}.guestbook-field{display:grid;gap:7px}.guestbook-field>span{font-size:13px;font-weight:700;color:#3e443b}.guestbook-field b{color:#8a583f}.guestbook-field small{font-weight:400;color:#7a7a72}.guestbook-field input,.guestbook-field textarea{width:100%;border:1px solid #cfc2ab;background:#fbf9f4;color:#2f332e;border-radius:8px;padding:12px 13px;font:inherit;line-height:1.45;outline:none;transition:border .15s,box-shadow .15s,background .15s}.guestbook-field textarea{resize:vertical;min-height:150px}.guestbook-field input:focus,.guestbook-field textarea:focus{border-color:#79836d;background:#fff;box-shadow:0 0 0 3px rgba(76,89,67,.12)}.guestbook-captcha{max-width:210px}.guestbook-help{font-size:11px!important;color:#85857c!important}.guestbook-check{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#64675f}.guestbook-check input{margin-top:4px;accent-color:#46543f}.guestbook-submit{justify-self:start;border:0;border-radius:6px;background:#34412f;color:#fff;padding:13px 20px;text-transform:uppercase;letter-spacing:.05em;font-size:12px;font-weight:800;cursor:pointer;transition:.18s}.guestbook-submit:hover{background:#253020;transform:translateY(-1px)}.guestbook-submit:disabled{opacity:.5;cursor:not-allowed;transform:none}.guestbook-privacy{font-size:11px;color:#85857d;margin:0}.guestbook-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.guestbook-alert{padding:13px 15px;border-radius:8px;margin:0 0 18px;font-size:13px}.guestbook-alert ul{margin:7px 0 0;padding-left:20px}.guestbook-alert-error{background:#f6e8e3;border:1px solid #dec0b5;color:#714337}.guestbook-alert-success{background:#eaf1e5;border:1px solid #c7d4be;color:#40533a}
.guestbook-entries-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;border-bottom:1px solid #e1d8c9;padding-bottom:17px}.guestbook-count{white-space:nowrap;background:#eee6d7;color:#5a604f;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:750}
.guestbook-list{display:grid;gap:0}.guestbook-entry{padding:23px 0;border-bottom:1px solid #e6ddcf}.guestbook-entry:last-child{border-bottom:0}.guestbook-entry header{display:flex;gap:12px;align-items:center;margin-bottom:13px}.guestbook-avatar{width:42px;height:42px;flex:none;border-radius:50%;display:grid;place-items:center;background:#46533f;color:#f7f0e1;font:600 19px var(--serif);border:3px solid #eee6d7}.guestbook-entry h3{margin:0;font:600 19px/1.1 var(--serif);color:#343a31}.guestbook-entry header p{margin:4px 0 0;color:#818178;font-size:11px}.guestbook-dot{margin:0 6px}.guestbook-entry-text{font:400 15px/1.72 var(--sans);color:#4e524b;overflow-wrap:anywhere}.guestbook-empty{text-align:center;padding:58px 16px;color:#707169}.guestbook-empty-mark{font:42px var(--serif);color:#b39b6b}.guestbook-empty h3{font:500 25px var(--serif);color:#3d4438;margin:5px 0}.guestbook-empty p{margin:0}
.guestbook-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;border-top:1px solid #e2d8c8;margin-top:8px;padding-top:18px;font-size:12px}.guestbook-pagination a{text-decoration:none;font-weight:750}.guestbook-pagination a:last-child{text-align:right}.guestbook-pagination>span:nth-child(2){color:#777970;text-align:center}
.guestbook-note{padding:0 0 64px}.guestbook-note-inner{max-width:930px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:18px;text-align:center;padding:20px 28px;border-top:1px solid #d8cbb5;border-bottom:1px solid #d8cbb5;color:#64665e}.guestbook-note-inner>span{color:#b0925d}.guestbook-note-inner p{margin:0;font-size:13px}
@media(max-width:900px){.guestbook-layout{grid-template-columns:1fr}.guestbook-form-card{order:1}.guestbook-entries-card{order:2}}
@media(max-width:640px){.guestbook-intro{padding:26px 0 4px}.guestbook-section{padding:28px 0 50px}.guestbook-form-card,.guestbook-entries-card{border-radius:10px;padding:20px 17px}.guestbook-card-heading h2{font-size:28px}.guestbook-entries-heading{align-items:start;flex-direction:column}.guestbook-pagination{grid-template-columns:1fr 1fr}.guestbook-pagination>span:nth-child(2){grid-row:2;grid-column:1/-1}.guestbook-note-inner{align-items:flex-start;padding:18px 8px}.guestbook-note-inner>span{display:none}}


/* memory-index-v1 */
.memory-intro{margin:0 0 42px;padding:0 0 34px;border-bottom:1px solid var(--line)}
.memory-intro h2{margin:.2em 0 .35em!important;font-size:clamp(28px,4vw,38px)!important}
.memory-intro>p:not(.smallcaps){max-width:720px;color:#62655e}
.memory-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}
.memory-index a{display:flex;flex-direction:column;gap:4px;padding:17px 18px;border:1px solid #d8cdb9;border-radius:11px;background:linear-gradient(135deg,#fbf8f0,#f3ecde);text-decoration:none;color:#30382d;transition:.18s ease}
.memory-index a:hover{transform:translateY(-2px);border-color:#b9aa8c;box-shadow:0 10px 25px rgba(52,44,31,.09)}
.memory-index span{font:500 21px var(--serif);color:#30382d}
.memory-index small{font-size:12px;color:#74746d;line-height:1.45}
.memory-entry{scroll-margin-top:110px}
.memory-entry-aniela{margin-top:44px}
.memory-major-sep{margin:52px 0 40px}
.memory-lead{font:italic 500 19px/1.6 var(--serif);color:#52584d;padding:0 0 8px}
.memory-verse{max-width:430px;background:#f6f0e4;padding:18px 22px!important;border-left-color:#6e795f!important;font-size:19px!important;line-height:1.7!important}
.memory-recorded-by{margin-top:32px!important;padding-top:18px;border-top:1px solid #e2d8c6;font-size:13px;font-weight:700;color:#6a695f}
.memory-back{text-align:right;margin-top:30px!important;font-size:13px}
.memory-back a{text-decoration:none;font-weight:700}
@media(max-width:640px){.memory-index{grid-template-columns:1fr}.memory-intro{margin-bottom:32px;padding-bottom:28px}.memory-major-sep{margin:42px 0 32px}.memory-lead{font-size:18px}.memory-verse{font-size:17px!important}}

/* ===== 2026-08-29: justowanie tekstów =====
   Dłuższe teksty opisowe są wyjustowane, przy zachowaniu nagłówków,
   cytatów, nawigacji i krótkich etykiet w ich dotychczasowym układzie. */
.prose p,
.prose li,
.screen-hero-copy p,
.screen-card-body p,
.screen-publication-copy p,
.section-heading p,
.feature-body p,
.split-copy p,
.publication-strip p,
.book-featured-copy > p,
.book-history-copy p,
.publication-books-intro p,
.publication-book-featured p,
.publication-book-grid p,
.memory-intro > p:not(.smallcaps),
.memory-lead,
.guestbook-entry-text {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}


/* ===== DOJAZD – aktualizacja 2026 ===== */
.route-page h2:first-child{margin-top:0}
.route-card{margin:28px 0 36px;padding:28px;border:1px solid #d6c8ae;border-radius:14px;background:linear-gradient(135deg,#f4ecdd,#fbf8f1);box-shadow:0 10px 28px rgba(55,46,31,.08);text-align:left}
.route-card-main{max-width:760px}.route-label{margin-bottom:5px;color:#7b6c50;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.route-card h3{margin:0 0 13px!important;font-size:27px!important}.route-coordinates{margin:0 0 18px!important;text-align:left!important}.route-coordinates strong{display:block;font:600 22px/1.25 var(--serif);letter-spacing:.02em;color:#2f392d}.route-coordinates span{display:block;margin-top:4px;color:#757468;font-size:13px}.route-buttons{margin-top:16px}.route-buttons .btn{text-align:center}.route-steps{margin:0 0 30px;padding-left:1.35em}.route-steps li{margin:0 0 15px!important;padding-left:5px;text-align:justify;text-justify:inter-word;hyphens:auto}.route-note{margin:30px 0 20px;padding:18px 20px;border-left:3px solid #7d866c;background:#f3eee3;color:#4e544b;border-radius:0 8px 8px 0;text-align:justify;hyphens:auto}.route-source{margin-top:26px!important;padding-top:18px;border-top:1px solid #e0d6c5;color:#77766c;font-size:12px!important;text-align:left!important}
@media(max-width:640px){.route-card{padding:20px 17px;margin:22px 0 30px}.route-card h3{font-size:23px!important}.route-coordinates strong{font-size:19px}.route-buttons{display:grid}.route-buttons .btn{justify-content:center;width:100%}.route-note{padding:16px 15px}.route-steps{padding-left:1.15em}}


/* ===== 2026-08-29: grafika tytułowa z figurą =====
   Zastępuje wcześniejszy motyw krzyży. Na dużych ekranach obraz łagodnie
   przenika w jasne tło części tekstowej; na telefonie pozostaje pełną,
   czytelną fotografią pod tekstem. */
.screen-hero-photo{
  background-image:url('figura-milkow-hero.jpg');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center 48%;
  filter:saturate(.86) sepia(.05) contrast(1.03);
}
@media (min-width:901px){
  .screen-hero{
    height:390px;
  }
  .screen-hero-photo{
    left:38%;
    background-position:center 48%;
  }
  .screen-hero-copy{
    width:47%;
    background:linear-gradient(90deg,
      rgba(244,237,223,1) 0%,
      rgba(244,237,223,1) 63%,
      rgba(244,237,223,.98) 72%,
      rgba(244,237,223,.91) 81%,
      rgba(244,237,223,.72) 89%,
      rgba(244,237,223,.42) 95%,
      rgba(244,237,223,0) 100%);
  }
  .screen-hero-photo:before{
    background:
      linear-gradient(90deg,
        rgba(244,237,223,.96) 0%,
        rgba(244,237,223,.77) 7%,
        rgba(244,237,223,.47) 14%,
        rgba(244,237,223,.19) 21%,
        rgba(244,237,223,.04) 28%,
        rgba(244,237,223,0) 35%),
      linear-gradient(180deg,rgba(255,255,255,.03),rgba(28,30,25,.07));
  }
  .screen-hero-photo:after{
    box-shadow:inset 0 0 44px rgba(29,31,27,.10);
  }
}
@media (min-width:901px) and (max-width:1180px){
  .screen-hero-photo{left:34%}
  .screen-hero-copy{width:50%}
}
@media (max-width:900px){
  .screen-hero-photo{
    background-position:center 45%;
    filter:saturate(.9) sepia(.03) contrast(1.03);
  }
  .screen-hero-photo:before{
    background:linear-gradient(180deg,
      rgba(244,237,223,.5) 0%,
      rgba(244,237,223,.18) 10%,
      rgba(244,237,223,0) 24%);
  }
}

/* ===== 2026-08-30: Stowarzyszenie Miłków – niezapomniana wieś ===== */
.association-masthead{min-height:285px;background-position:center 43%}
.association-masthead .page-masthead-overlay{background:linear-gradient(90deg,rgba(34,43,31,.97),rgba(34,43,31,.85) 52%,rgba(34,43,31,.48)),linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.22))}
.association-masthead h1{max-width:980px}
.association-main{overflow:hidden}
.association-hero-card{display:grid;grid-template-columns:minmax(240px,320px) 1fr;gap:clamp(34px,6vw,72px);align-items:center;max-width:1080px;padding:clamp(28px,4vw,52px);background:rgba(255,253,248,.94);border:1px solid #d8ccb7;border-radius:18px;box-shadow:var(--shadow)}
.association-logo-wrap{display:grid;place-items:center;position:relative}
.association-logo-wrap:before{content:"";position:absolute;width:92%;aspect-ratio:1;border:1px solid rgba(153,129,84,.24);border-radius:50%;transform:scale(1.08)}
.association-logo{position:relative;z-index:1;width:min(100%,310px);aspect-ratio:1;object-fit:cover;border-radius:50%;border:10px solid #f7f1e7;box-shadow:0 18px 45px rgba(54,43,27,.18)}
.association-hero-copy h2,.association-data-copy h2,.association-support-copy h2{margin:.18em 0 .42em;font:500 clamp(30px,4vw,44px)/1.08 var(--serif);color:#30382d}
.association-lead{font:500 clamp(18px,2vw,22px)/1.55 var(--serif);color:#45503f}
.association-hero-copy p:not(.association-lead){color:#62645c;max-width:760px}
.association-buttons{margin-top:24px}
.association-heading{align-items:end}.association-heading>div{max-width:530px}.association-heading>p{max-width:560px}
.association-activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.association-activity-card{position:relative;background:#fffdf8;border:1px solid #ddd2bf;border-radius:14px;padding:28px 24px 24px;box-shadow:0 10px 28px rgba(58,50,35,.07);overflow:hidden}
.association-activity-card:after{content:"";position:absolute;right:-44px;bottom:-62px;width:150px;height:150px;border:1px solid rgba(184,154,96,.2);border-radius:50%}
.association-card-no{font:700 11px var(--sans);letter-spacing:.16em;color:#9a8359;margin-bottom:32px}
.association-activity-card h3{margin:0 0 10px;font:500 25px/1.15 var(--serif);color:#30382d}
.association-activity-card p{margin:0;color:#66685f;font-size:14px;line-height:1.65}
.association-data-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(460px,1.2fr);gap:58px;align-items:start;max-width:1080px}
.association-data-copy p{color:#64675f;max-width:440px}.association-source-link{font-size:12px;font-weight:750;text-decoration:none}
.association-data-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
.association-data-grid>div{background:#fffdf8;border:1px solid #dcd0bc;border-radius:10px;padding:18px 20px}
.association-data-grid dt{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#82745a;margin-bottom:4px}
.association-data-grid dd{margin:0;font:600 20px/1.35 var(--serif);color:#30382d}
.association-data-wide{grid-column:1/-1}
.association-support-section{padding-top:66px;padding-bottom:72px}
.association-support-card{display:grid;grid-template-columns:1fr minmax(370px,.85fr);gap:50px;align-items:center;max-width:1080px;padding:clamp(28px,4vw,48px);border:1px solid #d5c5a9;border-radius:18px;background:linear-gradient(135deg,#efe4d1,#fbf8f0);box-shadow:var(--shadow)}
.association-support-copy p{margin:0;color:#5d6058;max-width:600px}
.association-account-box{background:#34412f;color:#f7f0e2;border-radius:12px;padding:24px 26px;box-shadow:0 16px 36px rgba(43,52,39,.2)}
.association-account-label{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:10px;color:#d8c8a8;margin-bottom:10px}
.association-account-box strong{display:block;font:600 clamp(18px,2.1vw,24px)/1.4 var(--serif);letter-spacing:.035em;overflow-wrap:anywhere}
.association-copy-btn{margin-top:17px;border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;padding:10px 13px;border-radius:6px;font:700 11px var(--sans);text-transform:uppercase;letter-spacing:.06em;cursor:pointer}
.association-copy-btn:hover{background:rgba(255,255,255,.08)}
.association-copy-status{display:block;min-height:1.4em;margin-top:7px;font-size:11px;color:#d8c8a8}
.association-closing{padding:42px 0 54px;background:#2d3829;color:#f4eddf;border-top:1px solid rgba(214,195,158,.2)}
.association-closing-inner{max-width:850px;text-align:center}
.association-closing-inner>span{font:32px var(--serif);color:#c9ab70}.association-closing blockquote{margin:8px auto 16px;font:italic 500 clamp(22px,3vw,30px)/1.4 var(--serif)}
.association-closing a{color:#dfcda8;font-size:12px;font-weight:750;text-decoration:none}.association-closing a:hover{color:#fff}
@media(max-width:900px){.association-hero-card{grid-template-columns:220px 1fr;gap:30px}.association-activity-grid{grid-template-columns:1fr}.association-data-layout{grid-template-columns:1fr;gap:28px}.association-support-card{grid-template-columns:1fr;gap:28px}.association-account-box{max-width:590px}}
@media(max-width:640px){.association-masthead{min-height:235px}.association-masthead h1 br{display:none}.association-hero-card{display:block;padding:24px 18px}.association-logo-wrap{max-width:220px;margin:0 auto 28px}.association-hero-copy{text-align:center}.association-buttons{justify-content:center}.association-heading{display:block}.association-heading>p{margin-top:12px}.association-data-grid{grid-template-columns:1fr}.association-data-wide{grid-column:auto}.association-support-section{padding-top:48px;padding-bottom:50px}.association-support-card{padding:24px 18px}.association-account-box{padding:20px 18px}.association-account-box strong{font-size:18px}.association-closing{padding:34px 0 42px}}


.association-payment-note{margin-top:20px;padding:14px 16px;border-left:3px solid #b69a61;background:rgba(255,255,255,.45);color:#555a50;font-size:14px;line-height:1.55}
.association-payment-panel{display:grid;gap:16px}
.association-payment-details{display:grid;gap:12px;margin:0}
.association-payment-details>div{padding-bottom:11px;border-bottom:1px solid rgba(255,255,255,.15)}
.association-payment-details>div:last-child{padding-bottom:0;border-bottom:0}
.association-payment-details dt{margin:0 0 3px;text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:800;color:#d8c8a8}
.association-payment-details dd{margin:0;font:600 16px/1.45 var(--serif);color:#fff;overflow-wrap:anywhere}
.association-qr-box{display:grid;grid-template-columns:142px 1fr;gap:18px;align-items:center;background:#fffdf8;border:1px solid #d5c5a9;border-radius:12px;padding:14px 16px}
.association-qr-box>a{display:block;line-height:0}
.association-qr-box img{display:block;width:142px;height:142px;object-fit:contain;background:#fff;border-radius:6px}
.association-qr-box strong{font:600 18px/1.2 var(--serif);color:#30382d}
.association-qr-box p{margin:6px 0 7px;color:#63665e;font-size:12px;line-height:1.5}
.association-qr-link{font-size:11px;font-weight:800;text-decoration:none;color:#6f5c38}
.association-qr-link:hover{text-decoration:underline}
@media(max-width:640px){.association-qr-box{grid-template-columns:112px 1fr;gap:13px;padding:12px}.association-qr-box img{width:112px;height:112px}.association-payment-details dd{font-size:15px}}
@media(max-width:430px){.association-qr-box{grid-template-columns:1fr;text-align:center}.association-qr-box>a{justify-self:center}.association-qr-box img{width:170px;height:170px}}

/* Tablica pamięci Miłkowa w kościele w Oleszycach */
.tablica-masthead{min-height:430px;background-image:url('../tablica_oleszyce/kosciol-narodzenia-nmp-oleszyce-2012.jpg');background-position:center 42%}
.tablica-masthead .page-masthead-overlay{background:linear-gradient(90deg,rgba(28,36,27,.98),rgba(29,38,28,.86) 50%,rgba(29,38,28,.42)),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.28))}
.tablica-masthead .page-masthead-inner{padding:70px 0}.tablica-masthead h1{max-width:830px}.tablica-masthead-lead{max-width:680px;margin:-3px 0 20px;color:#eee6d6;font-size:18px;line-height:1.55}
.tablica-article-wrap{padding-top:48px}.tablica-prose{max-width:1060px}.tablica-prose>section{scroll-margin-top:105px}
.tablica-opening{display:grid;grid-template-columns:minmax(310px,.72fr) minmax(0,1.08fr);gap:48px;align-items:center}
.tablica-opening h2{margin-top:.35em}.tablica-lead{font:500 21px/1.55 var(--serif);color:#3d4739}
.tablica-feature{margin:0}.tablica-feature a{display:block;background:#e7decd;padding:8px;border:1px solid #cdbfa7;box-shadow:0 18px 44px rgba(48,39,25,.18)}.tablica-feature img{display:block;width:100%;height:auto}.tablica-feature figcaption,.church-photo figcaption{margin-top:11px;color:#66685f;font-size:12px;line-height:1.55;text-align:center}
.tablica-inline-source{margin-top:22px!important;padding-top:14px;border-top:1px solid #e1d7c5;color:#6f7068;font-size:12.5px!important}.tablica-inline-source a{font-weight:650}
.plaque-transcript{display:grid;gap:28px;margin:28px 0!important;padding:clamp(30px,6vw,58px)!important;border:0!important;background:linear-gradient(145deg,#202321,#0e100f);box-shadow:inset 0 0 0 1px rgba(215,180,104,.34),inset 0 0 38px rgba(0,0,0,.6),0 18px 45px rgba(48,39,25,.17);color:#e2c47e!important;font:600 clamp(17px,2.3vw,24px)/1.55 Georgia,'Times New Roman',serif!important;letter-spacing:.055em;text-align:center;text-shadow:0 1px 1px #000}.plaque-transcript span{display:block}
.memory-timeline{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:30px 0}.memory-timeline article{position:relative;padding:25px 24px 23px;border:1px solid #d9cebb;border-top:4px solid #56644e;border-radius:8px;background:#fbf8f1}.memory-timeline time{display:block;margin-bottom:7px;color:#796543;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.memory-timeline h3{margin:.15em 0 .45em;font-size:22px}.memory-timeline p{margin:0;color:#60635b;font-size:14px}
.date-note{margin:30px 0 8px;padding:22px 24px;border-left:4px solid #b5995f;background:#f1eadc}.date-note h3{margin:0 0 7px;font-size:21px}.date-note p{margin:0;color:#555950;font-size:14px}
.church-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:42px;align-items:start}.church-photo{margin:8px 0 0}.church-photo a{display:block;overflow:hidden;border:8px solid #f5eee1;outline:1px solid #d1c3aa;box-shadow:0 18px 42px rgba(48,39,25,.16)}.church-photo img{display:block;width:100%;height:auto;filter:saturate(.88)}
.tablica-sources ol{padding-left:1.4em}.tablica-sources li{margin:.65em 0;font-size:14px}
@media(max-width:820px){.tablica-masthead{min-height:360px;background-position:58% center}.tablica-opening,.church-feature{grid-template-columns:1fr}.tablica-feature{max-width:520px;margin:0 auto}.church-photo{max-width:620px;margin:10px auto 0}}
@media(max-width:640px){.tablica-masthead{min-height:330px}.tablica-masthead .page-masthead-inner{padding:46px 0}.tablica-masthead-lead{font-size:15px;max-width:88%}.tablica-opening{gap:30px}.tablica-lead{font-size:19px}.plaque-transcript{gap:22px;padding:30px 17px!important;font-size:15px!important;letter-spacing:.025em}.memory-timeline{grid-template-columns:1fr}.date-note{padding:19px 18px}}

/* Tablica w Oleszycach - korekta widoku na smartfonach */
@media(max-width:640px){
  body.tablica-page{overflow-x:hidden}
  .tablica-page .container{width:calc(100% - 24px)}
  .tablica-page .header-inner{gap:12px}
  .tablica-page .brand{min-width:0;max-width:calc(100% - 56px)}
  .tablica-page .brand-title{font-size:clamp(18px,5.6vw,21px);white-space:nowrap}
  .tablica-page .brand-tagline{font-size:10.5px;white-space:nowrap}
  .tablica-page .menu-toggle{flex:0 0 44px}
  .tablica-page .tablica-masthead{min-height:285px;background-position:64% center}
  .tablica-page .tablica-masthead .page-masthead-inner{padding:38px 0}
  .tablica-page .tablica-masthead h1{font-size:clamp(31px,10vw,38px);line-height:1.08;overflow-wrap:break-word}
  .tablica-page .tablica-masthead-lead{max-width:100%;font-size:15px;line-height:1.5}
  .tablica-page .tablica-article-wrap{padding:24px 0 48px}
  .tablica-page .tablica-prose{width:100%;padding:22px 16px;border-radius:8px}
  .tablica-page .tablica-prose h2{font-size:26px;line-height:1.18;overflow-wrap:break-word}
  .tablica-page .tablica-prose h3{font-size:21px}
  .tablica-page .tablica-opening,
  .tablica-page .church-feature{display:block}
  .tablica-page .tablica-feature,
  .tablica-page .church-photo{width:100%;max-width:none;margin:0}
  .tablica-page .tablica-feature a{padding:5px}
  .tablica-page .church-photo{margin-top:22px}
  .tablica-page .church-photo a{border-width:5px}
  .tablica-page .tablica-feature img,
  .tablica-page .church-photo img{max-width:100%;height:auto}
  .tablica-page .tablica-opening-copy{margin-top:28px}
  .tablica-page .tablica-lead{font-size:18px;line-height:1.5}
  .tablica-page .plaque-transcript{width:100%;max-width:100%;gap:20px;margin:22px 0!important;padding:27px 10px!important;font-size:clamp(12.5px,4.1vw,15px)!important;line-height:1.55!important;letter-spacing:0;overflow-wrap:anywhere}
  .tablica-page .memory-timeline{display:block;margin:24px 0}
  .tablica-page .memory-timeline article{padding:21px 18px}
  .tablica-page .memory-timeline article+article{margin-top:16px}
  .tablica-page .date-note{padding:18px 15px}
  .tablica-page .tablica-sources ol{padding-left:1.15em}
  .tablica-page .tablica-sources li,
  .tablica-page .tablica-sources a,
  .tablica-page .source-method a{overflow-wrap:anywhere}
}
@media(max-width:390px){
  .tablica-page .container{width:calc(100% - 18px)}
  .tablica-page .brand-title{font-size:17px}
  .tablica-page .brand-tagline{font-size:9.5px}
  .tablica-page .tablica-masthead h1{font-size:29px}
  .tablica-page .tablica-prose{padding:20px 13px}
  .tablica-page .plaque-transcript{padding-inline:8px!important;font-size:12.5px!important}
  .tablica-page .plaque-transcript br{display:none}
}

/* Usuniecie konfliktu z ogolna regula .prose a[data-lightbox].
   Bez tego lacze zachowuje szerokosc wynikajaca z fotografii 1152 px. */
@media(max-width:900px){
  body.tablica-page,
  .tablica-page main,
  .tablica-page .article-wrap{max-width:100%;overflow-x:hidden}
  .tablica-page .tablica-prose,
  .tablica-page .tablica-opening,
  .tablica-page .tablica-opening>*,
  .tablica-page .tablica-feature,
  .tablica-page .tablica-opening-copy,
  .tablica-page .church-feature,
  .tablica-page .church-feature>*,
  .tablica-page .church-photo{min-width:0!important;width:100%!important;max-width:100%!important}
  .tablica-page .tablica-opening,
  .tablica-page .church-feature{display:block!important;grid-template-columns:none!important}
  .tablica-page .prose .tablica-feature>a[data-lightbox],
  .tablica-page .prose .church-photo>a[data-lightbox]{display:block!important;width:100%!important;max-width:100%!important}
  .tablica-page .tablica-feature img,
  .tablica-page .church-photo img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important}
  .tablica-page .tablica-feature figcaption,
  .tablica-page .church-photo figcaption{display:block;width:100%;max-width:100%}
  .tablica-page .tablica-opening-copy{margin-top:30px}
}

/* Ludnosc Milkowa - podstrona statystyczna */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.population-page{overflow-x:hidden}
.population-masthead{min-height:390px;background-color:#30392d;background-image:url('../gemeinde_milkow.jpg');background-repeat:no-repeat;background-position:right center;background-size:auto 152%}
.population-masthead .page-masthead-overlay{background:linear-gradient(90deg,rgba(29,38,27,.99) 0%,rgba(30,40,28,.97) 42%,rgba(30,40,28,.76) 70%,rgba(30,40,28,.42) 100%),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.3))}
.population-masthead .page-masthead-inner{padding:66px 0}.population-masthead h1{max-width:760px}.population-masthead-lead{max-width:680px;margin:-3px 0 20px;color:#eee6d5;font:500 clamp(17px,2vw,21px)/1.55 var(--serif)}
.population-article-wrap{padding-top:48px}.population-prose{max-width:1120px}.population-prose>section{scroll-margin-top:104px}.population-prose>section>h2{margin-top:.28em}
.population-lead{max-width:920px;font:500 clamp(19px,2.1vw,23px)/1.58 var(--serif);color:#3e493a}

.population-key-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:32px 0 28px}
.population-key-grid article{position:relative;min-height:182px;padding:21px 19px 18px;background:#f8f3e8;border:1px solid #d9ceba;border-top:4px solid #52604b;border-radius:9px;overflow:hidden}
.population-key-grid article:after{content:"";position:absolute;right:-36px;bottom:-52px;width:120px;height:120px;border:1px solid rgba(155,128,78,.18);border-radius:50%}
.population-key-grid .population-key-estimate{border-top-color:#b08c50}.population-key-grid .population-key-end{border-top-color:#815744;background:#f4ece7}
.population-key-year{display:block;color:#806d4c;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.population-key-grid strong{display:block;margin:9px 0 8px;font:600 42px/1 var(--serif);color:#30392d}.population-key-grid p{position:relative;z-index:1;margin:0!important;color:#65675f;font-size:13px;line-height:1.5}

.population-method-note{display:flex;gap:18px;align-items:flex-start;margin:30px 0 4px;padding:22px 24px;background:#eef0e8;border:1px solid #ccd3c5;border-left:4px solid #52614c;border-radius:0 9px 9px 0}
.population-method-mark{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#52614c;color:#fff;font:italic 600 19px var(--serif)}
.population-method-note h3{margin:0 0 6px;font-size:21px}.population-method-note p{margin:0!important;color:#575e54;font-size:14px}

.population-chart-card{margin:28px 0 8px;padding:24px 24px 18px;background:#fbf8f1;border:1px solid #d8ccb7;border-radius:13px;box-shadow:0 12px 34px rgba(57,48,33,.08)}
.population-chart-card figcaption{display:flex;justify-content:space-between;gap:24px;align-items:baseline;margin-bottom:13px}.population-chart-card figcaption strong{font:600 22px/1.2 var(--serif);color:#30382d}.population-chart-card figcaption span{max-width:520px;color:#72736b;font-size:12px;text-align:right}
.population-chart-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-color:#9b8b6c #e8e0d2;outline:none}.population-chart-scroll:focus-visible{box-shadow:0 0 0 3px rgba(77,94,69,.19)}
.population-line-chart{display:block;width:100%;min-width:760px;height:auto;background:linear-gradient(180deg,#fffdf8,#f7f1e5);border:1px solid #e0d6c5;border-radius:8px}
.chart-grid line{stroke:#d9d3c6;stroke-width:1}.chart-grid text{fill:#77786f;font:12px var(--sans);text-anchor:end}.chart-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-line-official{stroke:#43533e}.chart-line-gap{stroke:#9a9a90;stroke-width:2;stroke-dasharray:5 7}.chart-line-estimate{stroke:#ad8650;stroke-width:2.5;stroke-dasharray:7 6}
.chart-point{stroke-width:2}.chart-point-official{fill:#43533e;stroke:#fffdf8}.chart-point-partial{fill:#fffdf8;stroke:#898b83;stroke-dasharray:2 2}.chart-point-estimate{fill:#b28b50;stroke:#fffdf8;stroke-width:2}
.chart-values text{fill:#354231;font:700 15px var(--sans);text-anchor:middle}.chart-values .chart-value-partial{fill:#777970}.chart-values .chart-value-estimate{fill:#8b6738}.chart-years text{fill:#52584f;font:700 12px var(--sans);text-anchor:middle}.chart-legend text{fill:#676a62;font:12px var(--sans)}
.population-chart-note{margin:13px 2px 0!important;color:#6e7068;font-size:12.5px;line-height:1.55}

.population-table-wrap{max-width:100%;margin:25px 0 0;overflow-x:auto;border:1px solid #d5c9b4;border-radius:9px;box-shadow:0 9px 25px rgba(53,45,32,.06);outline:none}.population-table-wrap:focus-visible{box-shadow:0 0 0 3px rgba(77,94,69,.19)}
.population-table{width:100%;min-width:850px;border-collapse:collapse;background:#fffdf8;font-size:13.5px}.population-table caption{padding:16px 18px;background:#34412f;color:#fff;font:600 20px/1.25 var(--serif);text-align:left}.population-table th,.population-table td{padding:12px 14px;border-bottom:1px solid #e1d8c8;text-align:left;vertical-align:middle}.population-table thead th{background:#eee6d8;color:#4a5047;font-size:11px;letter-spacing:.055em;text-transform:uppercase}.population-table tbody th{color:#384336;font:700 16px var(--serif)}.population-table tbody tr:nth-child(even){background:#f8f3ea}.population-table tbody tr:last-child>*{border-bottom:0}.population-table .population-total{font:700 18px var(--serif);color:#33412f}.population-row-partial{background:#f2f0ea!important}.population-row-estimate{background:#f4ead8!important}.population-row-war{background:#f4e9e3!important}.population-table-footnote{margin:12px 2px 0!important;color:#73736b;font-size:12.5px}

.population-insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:28px 0}.population-insight-grid article{padding:23px 21px;background:linear-gradient(145deg,#f5eee2,#fbf8f1);border:1px solid #d9cebb;border-radius:10px}.population-insight-grid span{display:block;color:#725f3f;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.population-insight-grid strong{display:block;margin:8px 0 9px;font:600 27px/1.1 var(--serif);color:#34402f}.population-insight-grid p{margin:0!important;color:#64675e;font-size:13px}

.population-collapse-card{margin:28px 0 24px;padding:28px clamp(18px,4vw,38px) 24px;background:linear-gradient(145deg,#323d2f,#20291f);border:1px solid #56624f;border-radius:13px;box-shadow:0 16px 38px rgba(39,46,36,.18)}
.population-collapse-chart{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,5vw,58px);min-height:390px;align-items:end}.population-collapse-chart article{display:grid;grid-template-rows:auto 250px auto auto;text-align:center;min-width:0}.population-collapse-value{margin-bottom:10px;color:#f3ead7;font:600 32px/1 var(--serif)}.population-collapse-value small{display:block;margin-top:7px;color:#bdc2b7;font:700 9px/1.3 var(--sans);letter-spacing:.1em;text-transform:uppercase}.population-collapse-track{display:flex;align-items:flex-end;justify-content:center;position:relative;width:min(86px,70%);height:250px;margin:0 auto;border-bottom:1px solid rgba(255,255,255,.38);background:linear-gradient(90deg,rgba(255,255,255,.025),rgba(255,255,255,.065),rgba(255,255,255,.025))}.population-collapse-track span{display:block;width:100%;min-height:3px;background:linear-gradient(180deg,#c8a76b,#987949);box-shadow:0 0 0 1px rgba(255,255,255,.1)}.population-collapse-zero .population-collapse-track span{height:3px!important;background:#8e6350}.population-collapse-chart h3{margin:12px 0 1px;color:#fff;font-size:23px}.population-collapse-chart p{margin:0!important;color:#bdc2b7;font-size:11px}.population-war-note{padding:19px 21px;background:#f2e9e3;border-left:4px solid #8c604c;color:#595a54;font-size:14px}

.population-breakdown-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:27px 0 20px}.population-breakdown-grid>article{padding:24px;background:#f8f3e8;border:1px solid #d9cebb;border-radius:11px}.population-breakdown-heading{padding-bottom:14px;border-bottom:1px solid #ddd2c0}.population-breakdown-heading span{color:#846f49;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.population-breakdown-heading h3{margin:4px 0 0;font-size:24px}.population-breakdown-grid dl{margin:10px 0 0}.population-breakdown-grid dl>div{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid #e2d9ca}.population-breakdown-grid dl>div:last-child{border-bottom:0}.population-breakdown-grid dt{color:#555b52}.population-breakdown-grid dd{margin:0;color:#354230;font:700 18px var(--serif)}.population-definition-note{padding:18px 21px;background:#eef0e8;border-left:4px solid #596850;color:#575e54;font-size:14px}.population-definition-note strong{display:block;margin-bottom:4px}

.population-composition{margin:27px 0 25px;padding:23px;background:#f8f3e9;border:1px solid #d9cebb;border-radius:10px}.population-composition-bar{display:flex;width:100%;height:28px;overflow:hidden;border-radius:5px;box-shadow:inset 0 0 0 1px rgba(45,50,43,.16)}.population-composition-bar span{display:block;height:100%}.population-segment-ukrainian{background:#4b5b45}.population-segment-latin{background:#baa168}.population-segment-polish{background:#7a6048}.population-segment-jewish{background:#303231}.population-composition-legend{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.population-composition-legend>div{display:grid;grid-template-columns:11px 1fr auto;align-items:center;gap:8px}.population-composition-legend i{width:11px;height:11px;border-radius:2px}.population-composition-legend span{color:#5e625a;font-size:12px}.population-composition-legend strong{color:#333e30;font:700 16px var(--serif)}

.population-sources ol{padding-left:1.35em}.population-sources li{margin:.72em 0;font-size:14px;line-height:1.62}.population-sources a{font-weight:650}.population-contact-note{margin-top:28px;padding:23px 25px;background:linear-gradient(135deg,#ece4d4,#f8f4eb);border:1px solid #d6c8ae;border-left:5px solid #a68a55}.population-contact-note h3{margin:0 0 7px;font-size:22px}.population-contact-note p{margin:0!important;color:#5b5f56;font-size:14px}

@media(max-width:900px){
  .population-masthead{min-height:340px;background-size:auto 135%;background-position:72% center}.population-masthead .page-masthead-inner{padding:52px 0}
  .population-key-grid{grid-template-columns:1fr 1fr}.population-insight-grid{grid-template-columns:1fr}.population-prose{max-width:100%}.population-composition-legend{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .population-breakdown-grid{grid-template-columns:1fr}.population-chart-card figcaption{display:block}.population-chart-card figcaption span{display:block;margin-top:5px;text-align:left}.population-collapse-chart{gap:13px;min-height:345px}.population-collapse-chart article{grid-template-rows:auto 205px auto auto}.population-collapse-track{width:min(64px,72%);height:205px}
}
@media(max-width:640px){
  .population-page .container{width:calc(100% - 24px)}.population-page .header-inner{gap:12px}.population-page .brand{min-width:0;max-width:calc(100% - 56px)}.population-page .brand-title{font-size:clamp(18px,5.6vw,21px);white-space:nowrap}.population-page .brand-tagline{font-size:10.5px;white-space:nowrap}.population-page .menu-toggle{flex:0 0 44px}
  .population-masthead{min-height:285px;background-position:74% center;background-size:auto 122%}.population-masthead .page-masthead-inner{padding:38px 0}.population-masthead h1{font-size:clamp(34px,11vw,42px)}.population-masthead-lead{max-width:94%;font-size:16px}
  .population-article-wrap{padding:24px 0 48px}.population-prose{width:100%;padding:22px 16px;border-radius:8px}.population-prose h2{font-size:27px;line-height:1.18}.population-lead{font-size:18px}
  .population-key-grid{grid-template-columns:1fr;gap:11px;margin-top:25px}.population-key-grid article{min-height:0;padding:18px 17px}.population-key-grid strong{font-size:38px}.population-method-note{padding:18px 16px;gap:12px}.population-method-mark{flex-basis:28px;width:28px;height:28px}
  .population-chart-card{padding:17px 12px 14px;margin-inline:0}.population-chart-card figcaption strong{font-size:20px}.population-line-chart{min-width:720px}.population-chart-note{font-size:12px}
  .population-table-wrap{border-radius:6px}.population-table{font-size:13px}.population-table th,.population-table td{padding:10px 12px}
  .population-insight-grid article{padding:19px 17px}.population-collapse-card{padding:24px 10px 20px}.population-collapse-chart{gap:7px;min-height:315px}.population-collapse-chart article{grid-template-rows:auto 185px auto auto}.population-collapse-track{width:min(48px,72%);height:185px}.population-collapse-value{font-size:27px}.population-collapse-value small{font-size:7.5px;letter-spacing:.06em}.population-collapse-chart h3{font-size:20px}.population-collapse-chart p{font-size:9.5px;line-height:1.35}.population-war-note{padding:17px 15px}
  .population-breakdown-grid>article{padding:20px 17px}.population-composition{padding:17px 14px}.population-composition-legend{grid-template-columns:1fr}.population-sources ol{padding-left:1.15em}.population-sources li,.population-sources a,.population-contact-note a{overflow-wrap:anywhere}.population-contact-note{padding:20px 17px}
}
@media(max-width:390px){
  .population-page .container{width:calc(100% - 18px)}.population-page .brand-title{font-size:17px}.population-page .brand-tagline{font-size:9.5px}.population-masthead h1{font-size:32px}.population-prose{padding:20px 13px}.population-collapse-card{padding-inline:7px}.population-collapse-track{width:42px}.population-collapse-value{font-size:24px}
}

/* Czytelność rozwijanego menu „Inne” na jasnym tle w widoku mobilnym. */
@media(max-width:860px){
  .main-nav .dropdown-menu{background:#f7f1e5;border-color:#cdbf9f}
  .main-nav .dropdown-menu .dropdown-link{color:#263426;font-weight:600}
  .main-nav .dropdown-menu .dropdown-link:hover,
  .main-nav .dropdown-menu .dropdown-link:focus-visible,
  .main-nav .dropdown-menu .dropdown-link.is-active{background:#e5dcc9;color:#1e2c1d}
}

/* Shared navigation and four photographic section headers, 2026-10-23. */
.site-header .header-inner { width: min(1360px, calc(100% - 48px)); gap: 24px; }
.site-header .brand { min-width: 0; flex-shrink: 0; }
.site-header .main-nav { gap: 3px; }
.site-header .nav-link:focus-visible { outline: 2px solid #d7c49e; outline-offset: 2px; }

.section-photo-masthead {
  min-height: clamp(300px, 24vw, 350px);
  isolation: isolate;
  background-color: #263323;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid #b89a60;
}
.section-photo-masthead .page-masthead-overlay {
  z-index: 0;
  background: linear-gradient(90deg, rgba(23,34,24,.88), rgba(23,34,24,.65) 38%, rgba(23,34,24,.17) 76%), linear-gradient(0deg, rgba(16,27,18,.36), transparent 40%);
}
.section-photo-masthead .page-masthead-inner {
  z-index: 1;
  padding-block: 54px 64px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.section-photo-masthead h1 { color: #fffaf0; text-wrap: balance; }
.section-photo-masthead .eyebrow { color: #f0dec0; }
.section-photo-masthead .ornament { color: #d8bd89; }
.section-photo-masthead .ornament span { background: rgba(236,217,179,.65); }
.section-photo-masthead .masthead-credit {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 14px;
  z-index: 2;
  max-width: calc(100% - 48px);
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255,249,234,.21);
  border-radius: 3px;
  background: rgba(18,29,20,.76);
  color: #fff7e8;
  font-size: 11px;
  line-height: 1.55;
}
.masthead-credit a { color: inherit; text-decoration: none; }
.masthead-credit a:hover, .masthead-credit a:focus-visible { color: #fff; text-decoration: underline; }
.history-masthead {
  background-image: url('naglowki/historia-mapa.jpg');
  background-size: max(100%, 1100px) auto;
  background-position: 72% 46%;
}
.history-masthead .page-masthead-overlay {
  background: linear-gradient(90deg, rgba(30,40,27,.83), rgba(30,40,27,.62) 40%, rgba(30,40,27,.16) 78%), linear-gradient(0deg, rgba(24,34,22,.22), transparent 50%);
}
.news-masthead { background-image: url('naglowki/aktualnosci-odpust.jpg'); background-position: center 48%; }
.traces-masthead { background-image: url('naglowki/slady-milkowa.jpg'); background-size: auto 600px; background-position: right 51%; }
.traces-masthead .page-masthead-overlay { background: linear-gradient(90deg, #263323 25%, rgba(38,51,35,.95) 43%, rgba(23,34,24,.32) 68%, rgba(23,34,24,.1)), linear-gradient(0deg, rgba(16,27,18,.34), transparent 45%); }
.author-masthead { background-image: url('naglowki/autor-stawy.jpg'); background-position: center 46%; }

@media (min-width: 1181px) and (max-width: 1280px) {
  .site-header .brand-title, .site-header .brand-main { font-size: 27px; }
  .site-header .nav-link { font-size: 10.5px; padding-inline: 5px; }
}
@media (max-width: 1180px) {
  .site-header { --menu-header-height: 78px; }
  .site-header .header-inner { height: var(--menu-header-height); gap: 14px; }
  .site-header .menu-toggle { display: block; flex: 0 0 44px; }
  .site-header .main-nav {
    display: none;
    position: fixed;
    inset: var(--menu-header-height) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 20px 22px;
    max-height: calc(100vh - var(--menu-header-height));
    max-height: calc(100dvh - var(--menu-header-height));
    overflow-y: auto;
    background: #293326;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .site-header .main-nav.is-open { display: flex; }
  .site-header .nav-link { font-size: 14px; padding: 12px 10px; text-transform: none; border-radius: 7px; }
  .site-header .nav-link.is-active { background: rgba(255,255,255,.07); box-shadow: none; }
  .site-header .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f7f1e5;
    border-color: #cdbf9f;
  }
  .site-header .dropdown.is-open .dropdown-menu { display: block; }
  .site-header .dropdown-link { color: #263426; }
  .site-header .dropdown-link:hover, .site-header .dropdown-link:focus-visible, .site-header .dropdown-link.is-active { background: #e5dcc9; color: #1e2c1d; }
  .traces-masthead { background-size: auto 540px; }
  .traces-masthead .page-masthead-overlay { background: linear-gradient(90deg, rgba(23,34,24,.88), rgba(23,34,24,.60) 42%, rgba(23,34,24,.14)), linear-gradient(0deg, rgba(16,27,18,.34), transparent 45%); }
}
@media (max-width: 640px) {
  .site-header { --menu-header-height: 72px; }
  .site-header .header-inner { width: calc(100% - 28px); gap: 12px; }
  .site-header .brand { min-width: 0; flex-shrink: 1; }
  .site-header .brand-title, .site-header .brand-main { font-size: clamp(17px, 5.2vw, 23px); white-space: nowrap; }
  .site-header .brand-tagline { font-size: clamp(9.5px, 2.8vw, 11.5px); }
  .section-photo-masthead { min-height: 285px; }
  .section-photo-masthead .page-masthead-inner { padding-block: 44px 72px; }
  .section-photo-masthead h1 { font-size: clamp(34px, 8.8vw, 42px); }
  .section-photo-masthead .eyebrow { font-size: 10px; letter-spacing: .14em; }
  .section-photo-masthead .masthead-credit { left: 14px; right: auto; bottom: 12px; max-width: calc(100% - 28px); font-size: 10px; }
  .section-photo-masthead .page-masthead-overlay { background: linear-gradient(90deg, rgba(23,34,24,.82), rgba(23,34,24,.55) 58%, rgba(23,34,24,.32)), linear-gradient(0deg, rgba(16,27,18,.35), transparent 45%); }
  .history-masthead { background-position: 84% 44%; }
  .news-masthead { background-position: 48% 48%; }
  .traces-masthead { background-size: auto 440px; background-position: 15% 45%; }
  .author-masthead { background-position: 58% 43%; }
}
