/* COZL 7.0 | system wizualny, dostępność i katalogi | tylko HTML + CSS */
:root{--v7-forest:#065b3d;--v7-deep:#093f30;--v7-emerald:#0b8053;--v7-mint:#e8f5ed;--v7-pale:#f5faf7;--v7-line:#cfdfd4;--v7-ink:#173d2f;--v7-muted:#486558;--v7-radius:20px;--v7-shadow:0 12px 34px rgba(2,59,37,.065)}
html{scroll-padding-top:115px}
body.site-v7{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--v7-ink);line-height:1.65;background:#fff}
body.site-v7 :is(h1,h2,h3,h4){font-family:"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif;letter-spacing:-.027em}
body.site-v7 :is(a,button,summary,input):focus-visible{outline:3px solid #a45b00!important;outline-offset:4px!important;box-shadow:0 0 0 2px #fff!important}
body.site-v7 a{text-underline-offset:4px}
body.site-v7 :is(button,summary,.site-desktop-nav a,.site-mobile-menu a){touch-action:manipulation}
body.site-v7 :is(.site-nav-dropdown a,.v5-menu-trigger,.v5-mobile-trigger,.mobile-sub a){min-height:44px}
body.site-v7 .site-brand{min-height:54px}
body.site-v7 .page-top{border-bottom:1px solid #d8e8dc}
body.site-v7 .eyebrow{color:#06734c}
body.site-v7 .section-intro h2{font-size:clamp(1.7rem,3vw,2.8rem);color:var(--v7-deep)}
body.site-v7 .section-intro p,body.site-v7 .page-lead{color:#425e51}
body.site-v7 .section-card{border:1px solid #cfe4d7;border-radius:22px;background:linear-gradient(157deg,#fff 15%,#f6fbf8);box-shadow:var(--v7-shadow);padding:clamp(20px,2vw,30px);min-height:245px;display:flex;flex-direction:column;align-items:flex-start}
body.site-v7 .section-card h3{margin:2px 0 10px;color:#075439;line-height:1.22;font-size:1.21rem}
body.site-v7 .section-card p{font-size:.94rem;line-height:1.65;color:#435c50}
body.site-v7 .section-card .card-arrow{margin-top:auto;padding-top:16px;color:#065a3a;text-decoration:underline;text-underline-offset:4px;font-weight:750}
body.site-v7 .section-card-icon,body.site-v7 .v7-shortcut-icon{display:grid;place-items:center}
body.site-v7 .section-card-icon{width:56px;height:56px;border-radius:17px;background:#e7f5ed;border:1px solid #c1e2cd;margin-bottom:19px}
body.site-v7 .section-card-icon img{width:29px;height:29px;display:block;object-fit:contain}
body.site-v7 .shortcuts a>.v7-shortcut-icon{font-size:0;width:39px;height:39px;min-height:39px;background:#eaf5ec;border:1px solid #cce9d6;border-radius:12px;margin-inline:auto auto}
body.site-v7 .shortcuts a>.v7-shortcut-icon img{width:23px;height:23px;display:block}
body.site-v7 .shortcuts a{min-height:134px;transition:background .2s ease}
body.site-v7 .shortcuts a:hover{background:#e7f5eb}
body.site-v7 .page-content .tiles-grid{gap:18px}
body.site-v7 .v4-access-menu{width:min(365px,calc(100vw - 25px));max-height:min(75vh,680px);overflow-y:auto;padding:20px}
body.site-v7 .v4-access-menu label{font-size:.92rem;border-bottom:1px solid #e2eee6}
body.site-v7 .v4-access-menu input{width:22px;height:22px}
body.site-v7 .v7-access-links{display:grid;gap:5px;border-top:1px solid #d9e7dd;margin-top:14px;padding-top:12px}
body.site-v7 .v7-access-links a{color:#055a3b;font-size:.88rem;font-weight:760;display:block;padding:8px 6px}
body.site-v7 .v7-access-links a:hover{background:#edf7f0}
/* Wyświetlanie bez JavaScript: CSS :has i natywne pola wyboru; kontekst bieżącej strony */
html:has(#v7-a11y-xl:checked){font-size:150%!important}
html:has(#v7-a11y-spacing:checked) body.site-v7 main :is(p,li,dd){letter-spacing:.025em!important;line-height:1.95!important}
html:has(#v7-a11y-spacing:checked) body.site-v7 main :is(.section-card,.v7-directory-card,.document-card){padding-block:1.5em!important}
html:has(#v7-a11y-simple:checked) body.site-v7 :is(main,section,.section-card,.news-feature,.v7-directory-card,.document-card,.map-card,.mission-card,.v7-journey-step,.v7-guide-card){animation:none!important;transition:none!important;box-shadow:none!important;background-image:none!important}
html:has(#v7-a11y-simple:checked) body.site-v7 :is(.section-card,.v7-directory-card,.v7-guide-card,.v7-journey-step){border-radius:5px!important}
html:has(#v7-a11y-simple:checked) body.site-v7 :is(.v7-journey-step img,.section-card-icon img){display:none!important}
html:has(#v7-a11y-simple:checked) body.site-v7 .v7-journey-step{gap:8px}
/* Kontrast wykraczający poza zmianę samego tła */
/* Home – trzy proste ścieżki zamiast przypadkowych wodotrysków */
body.site-v7 .v7-journey{background:linear-gradient(150deg,#f1f9f4,#e8f4ed 55%,#f9fcfa);padding:clamp(44px,5vw,78px) 0;border-block:1px solid #d7eadf}
body.site-v7 .v7-journey-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:25px}
body.site-v7 .v7-journey-heading h2{font-size:clamp(1.75rem,3vw,2.7rem);color:#084832;margin:0 0 8px}
body.site-v7 .v7-journey-heading p{color:#3b5d4b;margin:0}
body.site-v7 .v7-soft-link{color:#066042;font-weight:800;white-space:normal;text-decoration-thickness:1.5px}
body.site-v7 .v7-journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.site-v7 .v7-journey-step{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:255px;text-decoration:none;border-radius:22px;border:1px solid #c9e3d2;padding:27px;background:#fff;color:#153e2b;box-shadow:0 12px 24px rgba(10,70,40,.055);transition:transform .22s,box-shadow .22s,border-color .22s}
body.site-v7 .v7-journey-step:hover{transform:translateY(-4px);box-shadow:0 23px 40px rgba(10,70,40,.12);border-color:#93c5a4}
body.site-v7 .v7-journey-counter{position:absolute;right:22px;top:22px;background:#e8f5ed;color:#086544;font-size:.75rem;font-weight:850;border-radius:999px;padding:6px 10px;letter-spacing:.05em}
body.site-v7 .v7-journey-step>img{display:block;width:56px;height:56px;padding:13px;background:#e8f5ed;border:1px solid #c2e2cd;border-radius:16px;margin-bottom:16px}
body.site-v7 .v7-journey-step h3{font-size:1.26rem;color:#094f36;margin:0 0 8px}
body.site-v7 .v7-journey-step p{margin:0 0 18px;color:#475d50;font-size:.93rem;line-height:1.65}
body.site-v7 .v7-journey-step .v7-next{margin-top:auto;font-size:.85rem;color:#046444;text-decoration:underline;font-weight:780;text-underline-offset:5px}
/* Artykuły i dokumenty */
body.site-v7 .v7-news-feature{position:relative;border:1px solid #bddfcc;border-radius:23px;box-shadow:var(--v7-shadow)}
body.site-v7 .v7-news-feature .news-feature-date{background:linear-gradient(145deg,#dbf0e3,#eff8f1)}
body.site-v7 .v7-news-feature h2{font-size:clamp(1.4rem,2.5vw,1.95rem);line-height:1.27}
body.site-v7 .v7-news-feature a{display:inline-flex;align-items:center;min-height:44px;color:#065a3e;font-weight:850}
body.site-v7 .v7-news-info{background:#f0f8f3;border-left:5px solid #088055;border-radius:9px 15px 15px 9px}
body.site-v7 .v7-news-help{margin-top:32px;background:linear-gradient(135deg,#eff8f2,#fff);border:1px solid #cce4d3;border-radius:20px;padding:26px;display:flex;gap:20px;align-items:start;max-width:900px}
body.site-v7 .v7-news-help img{width:52px;height:52px;flex:0 0 52px;padding:12px;border-radius:14px;background:#e1f2e7}
body.site-v7 .v7-news-help h2{margin:0 0 8px;font-size:1.32rem;color:#07563a}
body.site-v7 .v7-news-help p{margin:0 0 11px}
body.site-v7 .v7-news-help a{font-weight:800;color:#075b40}
body.site-v7 .v7-doc-guide{display:flex;gap:16px;align-items:start;padding:19px 23px;background:#eaf6ee;border:1px solid #c5e2cd;border-radius:16px;margin:22px 0 26px}
body.site-v7 .v7-doc-guide>img{flex:none;width:50px;height:50px;background:#fff;border-radius:12px;padding:11px}
body.site-v7 .v7-doc-guide strong{display:block;color:#074e35;font-size:1.06rem;margin-bottom:4px}
body.site-v7 .v7-doc-guide p{margin:0;font-size:.94rem;line-height:1.7;color:#284d3b}
body.site-v7 .v7-doc-guide a{font-weight:800;color:#07583c}
body.site-v7 kbd{font:inherit;font-size:.84em;font-weight:800;border:1px solid #a6c7b1;background:#fff;border-radius:5px;padding:.12em .45em}
body.site-v7 .document-group{scroll-margin-top:125px}
body.site-v7 .v7-document-card{border:1px solid #d6e8dc!important;background:#fff!important;border-radius:13px!important;box-shadow:0 3px 10px rgba(5,74,44,.03);margin-block:8px}
body.site-v7 .v7-document-card:hover{background:#f3faf5!important;border-color:#8ac4a0!important;box-shadow:0 10px 22px rgba(5,74,44,.08)}
body.site-v7 .v7-document-card .document-card__link{min-height:44px;display:inline-flex;align-items:center;justify-content:center;min-width:75px}
/* Katalogi jednostek: duże cele dotykowe, brak fałszywej szczegółowości */
body.site-v7 .v7-directory-nav{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 26px}
body.site-v7 .v7-directory-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid #b4d6c1;border-radius:999px;background:#f6faf7;color:#06593d;font-weight:750;text-decoration:none;font-size:.91rem}
body.site-v7 .v7-directory-nav a:hover,body.site-v7 .v7-directory-nav a[aria-current="page"]{background:#066b47;color:#fff;border-color:#066b47}
body.site-v7 .directory-list{gap:17px}
body.site-v7 .directory-list .v7-directory-card{position:relative;display:flex;gap:17px;min-height:184px;background:linear-gradient(150deg,#fff,#f9fcfa);border:1px solid #d1e4d7;border-radius:19px;box-shadow:var(--v7-shadow);padding:23px;transition:box-shadow .2s,border-color .2s,transform .2s}
body.site-v7 .directory-list .v7-directory-card:hover{border-color:#96cdae;box-shadow:0 18px 34px rgba(2,60,35,.09);transform:translateY(-2px)}
body.site-v7 .directory-list .v7-directory-card>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1}
body.site-v7 .directory-list .v7-directory-card .list-index{font-size:.75rem;line-height:1.3;font-weight:850;color:#066443;background:#e5f5eb;border:1px solid #baddc7;border-radius:11px;min-width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px}
body.site-v7 .directory-list .v7-directory-card h2{font-size:1.08rem;color:#064e36;line-height:1.35;margin:0 0 10px}
body.site-v7 .directory-list .v7-directory-card p{color:#52675b;font-size:.87rem;margin:0 0 14px;line-height:1.55}
body.site-v7 .directory-list .v7-directory-card .v7-unit-link{display:inline-flex;align-items:center;min-height:44px;margin-top:auto;padding:7px 0;color:#08603f;text-decoration:underline;font-weight:800;font-size:.87rem}
body.site-v7 .v7-directory-help{padding:27px 30px;background:#eaf5ee;border:1px solid #bddfc9;border-radius:20px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:30px}
body.site-v7 .v7-directory-help strong{display:block;color:#054f35;font-size:1.14rem;margin-bottom:5px}
body.site-v7 .v7-directory-help p{margin:0;max-width:700px;font-size:.92rem;line-height:1.6;color:#3e594a}
body.site-v7 .v7-help-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}
body.site-v7 .v7-help-actions a{min-height:44px;padding:10px 15px;border-radius:11px;background:#006c49;color:white;font-weight:800;display:inline-flex;align-items:center;text-decoration:none}
body.site-v7 .v7-help-actions a:last-child{background:#fff;color:#075838;border:1px solid #a6ceb6}
/* Dostępność i język prosty */
body.site-v7 .v7-guide-content{padding-top:38px;padding-bottom:86px}
body.site-v7 .v7-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
body.site-v7 .v7-guide-card{position:relative;padding:30px;border:1px solid #d1e6d8;background:#fff;border-radius:20px;box-shadow:var(--v7-shadow)}
body.site-v7 .v7-guide-card>img{width:58px;height:58px;padding:12px;background:#eaf5ed;border:1px solid #c6e4cf;border-radius:16px;margin-bottom:15px}
body.site-v7 .v7-guide-card h2{font-size:1.35rem;color:#06553a;margin:0 0 12px}
body.site-v7 .v7-guide-card p{margin:0 0 12px;line-height:1.8;max-width:72ch;color:#375447}
body.site-v7 .v7-guide-card a{font-weight:800;color:#075a3e}
body.site-v7 .v7-card-link{display:inline-block;padding:8px 0;min-height:44px}
body.site-v7 .v7-help-end{padding:30px;margin-top:30px;background:#eaf5ee;border-radius:20px;border:1px solid #bddbc7}
body.site-v7 .v7-help-end h2{font-size:1.5rem;color:#084b35;margin:0 0 10px}
body.site-v7 .v7-help-end p{margin:0 0 9px;line-height:1.7}
body.site-v7 .v7-help-end a{font-weight:850}
body.site-v7 .v7-simple-number{display:inline-flex;align-items:center;justify-content:center;width:53px;height:53px;background:#e4f2e9;border:1px solid #afdbbf;border-radius:50%;color:#045d3e;font-weight:900;font-size:1.4rem;margin-bottom:16px}
body.site-v7 .v7-simple-grid p{font-size:1.06rem;line-height:1.9}
body.site-v7 .v7-simple-entry{display:flex;align-items:center;gap:14px;padding:18px 20px;margin-bottom:26px;background:#f0f8f3;border:1px solid #cbe5d5;border-radius:16px;flex-wrap:wrap}
body.site-v7 .v7-simple-entry>img{width:49px;height:49px;background:white;padding:10px;border-radius:12px}
body.site-v7 .v7-simple-entry>div{flex:1;min-width:170px}
body.site-v7 .v7-simple-entry strong{color:#06553a}
body.site-v7 .v7-simple-entry p{margin:2px 0 0;font-size:.87rem;color:#496353}
body.site-v7 .v7-simple-entry>a{color:#055b3c;font-size:.9rem;font-weight:850;min-height:44px;display:flex;align-items:center}
body.site-v7 .v7-sitemap-add{margin-block:25px 55px;padding:20px;border-radius:13px;background:#eaf6ed}
body.site-v7 .v7-sitemap-add h2{font-size:1.2rem;margin:0 0 5px}
body.site-v7 .v7-sitemap-add p{margin:0}
body.site-v7 .v7-footer-access a{line-height:1.45}
@media(max-width:1000px){body.site-v7 .v7-directory-help{flex-wrap:wrap}body.site-v7 .v7-journey-step{padding:23px}}
@media(max-width:780px){body.site-v7 .v7-journey-grid{grid-template-columns:1fr}body.site-v7 .v7-journey-step{min-height:0}body.site-v7 .v7-journey-heading{align-items:start;flex-direction:column}body.site-v7 .v7-guide-grid{grid-template-columns:1fr}}
@media(max-width:600px){body.site-v7 .v7-news-help{flex-direction:column}body.site-v7 .v7-directory-help{padding:20px}body.site-v7 .directory-list .v7-directory-card{min-height:0;padding:20px}body.site-v7 .v7-doc-guide{padding:15px;align-items:flex-start}body.site-v7 .v7-doc-guide>img{width:40px;height:40px;padding:7px}body.site-v7 .v7-guide-card{padding:23px}body.site-v7 .v7-journey-step{padding:23px}body.site-v7 .v7-help-actions{width:100%}body.site-v7 .v7-help-actions a{flex:1;justify-content:center}}
@media(max-width:410px){body.site-v7 .v7-directory-nav a{font-size:.83rem;padding:8px 13px}body.site-v7 .directory-list .v7-directory-card{gap:12px}body.site-v7 .directory-list .v7-directory-card .list-index{min-width:35px;width:35px;height:35px;flex-basis:35px}body.site-v7 .v7-journey-heading h2{font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){body.site-v7 .v7-journey-step,body.site-v7 .directory-list .v7-directory-card{transition:none!important;transform:none!important}}
@media(prefers-contrast:more){body.site-v7 .v7-guide-card,body.site-v7 .v7-journey-step,body.site-v7 .v7-document-card,body.site-v7 .v7-directory-card{border:2px solid #153927!important}}
@media print{body.site-v7 .v7-journey,body.site-v7 .v7-directory-nav,body.site-v7 .v7-directory-help,body.site-v7 .v7-sitemap-add{display:none!important}body.site-v7 :is(.v7-guide-card,.v7-directory-card,.v7-document-card,.v7-news-feature){box-shadow:none!important;break-inside:avoid;print-color-adjust:economy}body.site-v7 .v7-guide-grid,body.site-v7 .directory-list{display:block!important}body.site-v7 .v7-guide-card,body.site-v7 .v7-directory-card{margin:10px 0}body.site-v7 main a::after{content:none}}
/* Reflow at 320px and after 150% enlargement: avoid intrinsic min-content overflow */
body.site-v7 :is(.directory-list,.tiles-grid,.v7-journey-grid,.v7-guide-grid,.news-feature){min-width:0}
body.site-v7 :is(.v7-directory-card,.news-feature>div,.v7-journey-step,.v7-guide-card){min-width:0;overflow-wrap:anywhere}
@media(max-width:800px){body.site-v7 .directory-list{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:570px){body.site-v7 .news-feature{grid-template-columns:minmax(0,1fr)!important}body.site-v7 .news-feature-date{min-width:0}}
@media(max-width:640px){
 body.site-v7 .site-header-inner{padding-inline:12px;gap:6px}
 body.site-v7 .site-brand{min-width:0;flex-shrink:1}
 body.site-v7 .site-brand strong{font-size:1.02rem}
 body.site-v7 .site-brand small{display:none!important}
 body.site-v7 .site-brand img{width:25px;height:auto}
 body.site-v7 .nav-primary{font-size:.73rem;padding:8px 9px;white-space:nowrap}
 body.site-v7 .v5-mobile-menu{margin-left:auto;min-width:0}
 body.site-v7 .v5-mobile-trigger{padding:8px 10px;min-width:0}
}
@media(max-width:480px){
 html:has(#v7-a11y-xl:checked) body.site-v7 .site-header .nav-primary{display:none!important}
 html:has(#v7-a11y-xl:checked) body.site-v7 .site-header-inner{justify-content:space-between}
 html:has(#v7-a11y-xl:checked) body.site-v7 .v5-mobile-menu{margin-left:auto}
}
body.site-v7 .directory-list .v7-directory-card h2{width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere!important;word-break:normal}
body.site-v7 .v4-section-header>div{min-width:0;flex:1}
body.site-v7 .v4-section-header h2{max-width:100%;overflow-wrap:anywhere!important}
html:has(#v7-a11y-simple:checked) body.site-v7 main *,html:has(#v7-a11y-simple:checked) body.site-v7 main *::before,html:has(#v7-a11y-simple:checked) body.site-v7 main *::after{animation:none!important;transition:none!important}
@media(max-width:800px){body.site-v7 .certificate{grid-template-columns:minmax(0,1fr)!important;min-width:0;max-width:100%}body.site-v7 .certificate :is(.certificate-info,img){min-width:0;max-width:100%;overflow-wrap:anywhere}}

/* Certyfikaty – estetyczna karta Województwa Lubelskiego zamiast szerokiej grafiki */
body.site-v7 .note-block--gov{background:linear-gradient(180deg,#f6fbf8,#f1f8f4);border-color:#d2e5d8}
body.site-v7 .gov-unit-card{display:flex;flex-direction:column;gap:18px}
body.site-v7 .gov-unit-banner{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(200px,.7fr);gap:22px;align-items:center;padding:24px 26px;border-radius:24px;background:linear-gradient(135deg,#0d6a49 0%,#1a7b4e 45%,#4e8d11 100%);box-shadow:0 16px 36px rgba(8,65,40,.14)}
body.site-v7 .gov-unit-banner::before{content:"";position:absolute;inset:auto auto -28px -28px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle at center,rgba(255,255,255,.16),rgba(255,255,255,0) 70%)}
body.site-v7 .gov-unit-banner::after{content:"";position:absolute;inset:0 0 0 auto;width:38%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.07));pointer-events:none}
body.site-v7 .gov-unit-copy{position:relative;z-index:1}
body.site-v7 .gov-unit-overline{margin:0 0 8px;color:rgba(242,255,246,.85);font-size:.77rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
body.site-v7 .gov-unit-name{margin:0 0 10px;color:#fff;font-size:clamp(1.2rem,2vw,1.7rem);font-weight:850;line-height:1.2}
body.site-v7 .gov-unit-text{margin:0;color:rgba(245,255,248,.9);max-width:48ch;line-height:1.65;font-size:.98rem}
body.site-v7 .gov-unit-badge{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:126px;padding:18px;border-radius:20px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);backdrop-filter:blur(2px)}
body.site-v7 .gov-unit-badge img{display:block;width:min(100%,260px);height:auto;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.12))}
body.site-v7 .gov-unit-action{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:12px 18px;border-radius:999px;border:1px solid #a4cfb0;background:#fff;color:#07583d;font-weight:820;text-decoration:none;box-shadow:0 7px 18px rgba(5,78,46,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
body.site-v7 .gov-unit-action:hover{transform:translateY(-1px);border-color:#6fb38a;box-shadow:0 14px 28px rgba(5,78,46,.1)}
@media(max-width:760px){body.site-v7 .gov-unit-banner{grid-template-columns:minmax(0,1fr);padding:20px}body.site-v7 .gov-unit-badge{min-height:108px}body.site-v7 .gov-unit-action{width:100%;justify-content:center;text-align:center}}
@media(max-width:420px){body.site-v7 .gov-unit-name{font-size:1.18rem}body.site-v7 .gov-unit-text{font-size:.92rem}}
