/*
Theme Name: Integracja na Plus — Nowoczesny
Theme URI: https://integracjaplus.pl/
Author: OpenAI
Description: Responsywny motyw dla Stowarzyszenia Integracja na Plus w kolorystyce granatowo-fioletowej i pomarańczowej, z sekcją placówek, banerem oraz menu dostępności.
\g<1>1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: integracja-plus
*/
:root{--navy:#080d35;--blue:#2226a1;--orange:#ff741b;--orange2:#ff4b35;--ink:#10184f;--pale:#f2f7fc;--white:#fff;--radius:16px;--shadow:0 10px 30px rgba(18,37,100,.09)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.6;background:#fff;font-size:16px}a{color:#17218b;text-underline-offset:3px}a:hover{color:#e6531e}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #ff8a00;outline-offset:3px}.skip-link{position:absolute;left:-9999px;top:0;background:#fff;padding:12px;z-index:9999}.skip-link:focus{left:10px}.site-header{background:linear-gradient(105deg,#070b2c,#2426a2);color:#fff;position:relative;z-index:5}.header-inner{max-width:1280px;margin:auto;min-height:86px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;flex-shrink:0}.brand img{display:block;width:176px;height:66px;object-fit:contain;object-position:left center}.brand-text{color:#ff8517;font-size:20px;font-weight:800;line-height:1.05}.brand-text em{display:block;font-style:italic;text-align:right}.main-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(7px,.8vw,13px);flex:1;min-width:0;flex-wrap:nowrap;white-space:nowrap}.main-nav>ul{display:flex;align-items:center;justify-content:flex-end;gap:clamp(7px,.8vw,13px);list-style:none;margin:0;padding:0;flex-wrap:nowrap}.main-nav>ul>li{display:block;list-style:none;margin:0;padding:0}.main-nav>li{display:block;list-style:none;margin:0;padding:0}.main-nav a{display:block;color:#fff;text-decoration:none;font-size:clamp(10px,.86vw,12px);font-weight:700;padding:10px 0;border-bottom:2px solid transparent;white-space:nowrap}.main-nav a:hover,.main-nav .current-menu-item>a{color:#ff8b25;border-color:#ff8b25}.access-tools{display:flex;align-items:center;gap:5px;white-space:nowrap}.access-tools button{background:#111b69;border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:22px;padding:7px 9px;cursor:pointer}.hero{background:linear-gradient(110deg,#080d35 0%,#171c78 64%,#2528b4 100%);color:#fff;position:relative;overflow:hidden;min-height:390px}.hero:after{display:none!important;content:none!important}.hero-inner{max-width:1280px;margin:auto;display:grid;grid-template-columns:.86fr 1.14fr;min-height:390px;align-items:center;padding:35px 28px;gap:24px;position:relative;z-index:1}.hero-copy{max-width:530px}.hero h1{font-size:clamp(2.3rem,4.1vw,4.2rem);line-height:1.02;letter-spacing:-1.5px;margin:0 0 22px;font-weight:800}.hero h1 span{display:block;color:#ff7a1b}.hero p{max-width:470px;font-size:17px;margin:0 0 24px}.btn{display:inline-flex;align-items:center;gap:12px;background:linear-gradient(100deg,#ff801d,#ff4f2d);color:#fff;text-decoration:none;font-weight:700;padding:13px 24px;border-radius:30px;border:0}.btn:hover{color:#fff;filter:brightness(1.05)}.hero-image{height:325px;position:relative;overflow:hidden;clip-path:polygon(24% 0,100% 0,100% 76%,75% 100%,0 100%,0 28%)}.hero-image img{width:100%;height:100%;object-fit:cover}.hero-image:after{content:"";position:absolute;right:0;bottom:-1px;width:40%;height:38%;background:linear-gradient(135deg,#ff4b35,#ff8d31);clip-path:polygon(50% 0,100% 100%,0 100%)}.section{padding:42px 24px}.section-inner{max-width:1200px;margin:auto}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section-heading h2,.about-copy h2{font-size:clamp(2rem,3vw,2.8rem);line-height:1.1;margin:0 0 5px;color:var(--ink);letter-spacing:-.8px}.section-heading h2 span,.about-copy h2 span{color:var(--orange)}.section-heading p{margin:0}.outline-btn{border:1px solid #2528b4;border-radius:28px;padding:12px 20px;text-decoration:none;font-weight:700;white-space:nowrap}.facilities{background:linear-gradient(#fff,#f1f7fd)}.facility-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.facility-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}.facility-card img{width:100%;height:155px;object-fit:cover}.facility-content{padding:16px;display:flex;flex-direction:column;flex:1}.facility-icon{width:52px;height:52px;border-radius:50%;background:var(--orange);color:white;border:4px solid white;display:grid;place-items:center;font-size:23px;margin-top:-42px;position:relative;box-shadow:0 2px 8px #0001}.facility-card h3{font-size:18px;line-height:1.2;margin:8px 0}.facility-card p{font-size:14px;margin:0 0 14px}.facility-card a{font-weight:700;text-decoration:none;margin-top:auto}.about{background:#fff}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}.about-copy p{margin:12px 0}.about-photo{position:relative;border-radius:var(--radius);overflow:hidden;min-height:270px}.about-photo img{width:100%;height:300px;object-fit:cover;display:block}.values-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.value{display:flex;gap:14px;align-items:flex-start}.value-icon{flex:0 0 54px;height:54px;border-radius:50%;background:#fff0e7;color:var(--orange);display:grid;place-items:center;font-size:25px}.value h3{font-size:17px;margin:0 0 4px}.value p{font-size:14px;margin:0}.bottom-banner{position:relative;overflow:hidden;background:linear-gradient(105deg,#070b2c,#2426a2);color:#fff;min-height:260px}.bottom-banner-inner{max-width:1200px;margin:auto;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;min-height:260px;padding:30px 24px;gap:24px}.bottom-banner h2{font-size:clamp(2rem,3.1vw,2.8rem);line-height:1.12;margin:0 0 14px}.bottom-banner h2 span{display:block;color:#ff7b1b}.bottom-banner p{margin:0;max-width:390px}.bottom-banner img{width:100%;height:220px;object-fit:cover;clip-path:polygon(18% 0,100% 0,100% 78%,80% 100%,0 100%,0 28%)}.bottom-banner:after{content:"";position:absolute;right:-65px;top:-105px;width:190px;height:190px;background:linear-gradient(135deg,#ff4b35,#ff8c30);transform:rotate(45deg);pointer-events:none}.site-footer{background:#080d35;color:#fff;padding:30px 24px}.footer-inner{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}.footer-logo{width:190px;max-height:85px;object-fit:contain;object-position:left}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.footer-links a{color:#fff;text-decoration:none;font-size:14px}.copyright{font-size:12px;opacity:.8;width:100%;border-top:1px solid #ffffff2a;padding-top:16px;margin-top:10px}.page-content{max-width:1150px;margin:0 auto;padding:45px 24px;min-height:40vh}.page-content h1{font-size:clamp(2rem,4vw,3rem);color:var(--ink)}.page-content img{max-width:100%;height:auto}.projects-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}.project-card{min-width:0;border:1px solid #e2e9f4;border-radius:12px;padding:14px;background:#fff;box-shadow:var(--shadow);overflow-wrap:anywhere}.project-card p{font-size:11px;line-height:1.35;margin:0 0 8px;color:#4b5683}.project-card h2{font-size:15px;line-height:1.25;margin:0 0 12px}.project-card a{font-weight:700}.menu-toggle{display:none;background:transparent;color:white;border:1px solid #ffffff55;border-radius:8px;padding:8px 12px}.high-contrast{filter:grayscale(1) contrast(1.5)}.underlined-links a{text-decoration:underline!important;text-decoration-thickness:2px!important}body.large-text{font-size:19px}body.large-text p,body.large-text li{font-size:1.08em}
@media(max-width:1100px){.header-inner{flex-wrap:wrap}.brand img{width:150px}.main-nav{order:3;flex:1 0 100%;width:100%;justify-content:center;white-space:normal;flex-wrap:wrap}.main-nav>ul{justify-content:center;flex-wrap:wrap}.main-nav a{font-size:12px}.access-tools{margin-left:auto}.hero-inner{grid-template-columns:1fr 1fr}.facility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.facility-card img{height:190px}}
@media(max-width:680px){.header-inner{padding:10px 16px;min-height:74px}.brand img{width:140px;height:55px}.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;flex-direction:column;align-items:stretch;gap:0;width:100%;order:4;padding:8px 0;white-space:normal}.main-nav>ul{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%}.main-nav.is-open{display:flex}.main-nav a{padding:11px 8px;border-bottom:1px solid #ffffff22;font-size:14px}.access-tools{width:100%;justify-content:flex-end;order:5}.hero-inner{grid-template-columns:1fr;padding:35px 20px 20px;gap:20px}.hero h1{font-size:2.7rem}.hero-image{height:225px;clip-path:polygon(12% 0,100% 0,100% 82%,82% 100%,0 100%,0 20%)}.section{padding:34px 16px}.section-heading{align-items:flex-start;flex-direction:column}.facility-grid{grid-template-columns:1fr 1fr;gap:12px}.facility-card img{height:125px}.facility-content{padding:12px}.facility-card h3{font-size:16px}.facility-card p{font-size:13px}.about-grid{grid-template-columns:1fr;gap:22px}.values-grid{gap:14px}.value{gap:9px}.value-icon{flex-basis:42px;height:42px;font-size:20px}.bottom-banner-inner{grid-template-columns:1fr;padding:30px 20px;gap:16px}.bottom-banner img{height:170px}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-inner{align-items:flex-start;flex-direction:column}.footer-links{gap:12px}}
@media(max-width:390px){.projects-grid{grid-template-columns:1fr}.facility-grid{grid-template-columns:1fr}.facility-card img{height:180px}.values-grid{grid-template-columns:1fr}}

/* Layout hardening: keep navigation horizontal on desktop and four project cards in one row. */
@media(min-width:1101px){.site-header .header-inner{display:flex;flex-wrap:nowrap}.site-header .main-nav{display:flex!important;flex-direction:row!important;order:initial!important}.site-header .main-nav ul{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important}.site-header .main-nav li{display:block!important;float:none!important}.site-header .main-nav a{white-space:nowrap!important}.projects-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.project-card{min-width:0!important}}

/* Edytowalne logo, czytelniejsze przyciski menu i placówki. */
.main-nav a{font-size:clamp(11px,.92vw,14px)!important;padding:12px 7px!important;min-height:42px;display:flex!important;align-items:center;justify-content:center}
.main-nav>ul{gap:clamp(5px,.55vw,10px)!important}
.access-tools button{min-width:34px;min-height:36px;font-size:14px;padding:8px 10px}
@media(max-width:1100px) and (min-width:681px){.header-inner{gap:12px}.main-nav a{font-size:13px!important;padding:10px 7px!important}.main-nav>ul{gap:5px!important}}
@media(max-width:680px){.main-nav a{justify-content:flex-start;min-height:44px;padding:12px 10px!important}.menu-toggle{font-size:15px;padding:10px 14px}}

/* Accessibility improvements: keyboard visibility, contrast mode, responsive text and motion preferences. */
.skip-link{left:12px;top:12px;transform:translateY(-180%);padding:12px 16px;border:3px solid #ff8a00;border-radius:6px;color:#080d35;background:#fff;font-weight:700;text-decoration:underline;z-index:10000}
.skip-link:focus{transform:translateY(0);left:12px;top:12px}
:focus-visible{outline:3px solid #ffbf47!important;outline-offset:3px!important;box-shadow:0 0 0 2px #080d35!important}
button,a,input,select,textarea{touch-action:manipulation}
button,.btn,.outline-btn,.menu-toggle{min-height:44px}
.main-nav a{min-height:44px}
.access-tools button{min-height:44px;padding:9px 11px}
.high-contrast{filter:none!important;background:#fff!important;color:#000!important}
.high-contrast .site-header,.high-contrast .site-footer,.high-contrast .hero,.high-contrast .bottom-banner{background:#000!important;color:#fff!important}
.high-contrast .site-header a,.high-contrast .site-footer a,.high-contrast .hero a,.high-contrast .bottom-banner a{color:#ff0!important}
.high-contrast .section,.high-contrast .facility-card,.high-contrast .project-card,.high-contrast .about{background:#fff!important;color:#000!important}
.high-contrast h1,.high-contrast h2,.high-contrast h3,.high-contrast p,.high-contrast li,.high-contrast .project-card p{color:#000!important}
.high-contrast .btn,.high-contrast .outline-btn{background:#000!important;color:#ff0!important;border:2px solid #ff0!important}
.underlined-links a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}
body.large-text{font-size:20px}
body.large-text p,body.large-text li,body.large-text .main-nav a,body.large-text .facility-card p{font-size:1.15em!important;line-height:1.65}
img{max-width:100%}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(forced-colors:active){a,button{forced-color-adjust:auto} :focus-visible{outline:3px solid Highlight!important}}

/* Placowki archive uses the same responsive card grid as the homepage. */
.facilities-archive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;max-width:1280px;margin:0 auto;padding:24px;}@media(max-width:900px){.facilities-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}@media(max-width:560px){.facilities-archive-grid{grid-template-columns:1fr;}}

/* Editable project category tiles */
.project-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0 42px}.project-category-tile{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 24px;border-radius:16px;background:linear-gradient(135deg,#17265c,#493b91);color:#fff!important;text-decoration:none;font-weight:800;font-size:clamp(1rem,1.5vw,1.2rem);line-height:1.35;box-shadow:0 8px 22px rgba(20,28,70,.14);transition:transform .2s ease,box-shadow .2s ease}.project-category-tile:hover,.project-category-tile:focus-visible{transform:translateY(-3px);box-shadow:0 12px 26px rgba(20,28,70,.22)}.project-category-tile:focus-visible{outline:3px solid #f58220;outline-offset:4px}.category-arrow{font-size:1.6rem;color:#ff9a36;flex:0 0 auto}.project-category-section{scroll-margin-top:110px;margin:36px 0}.project-category-section>h2{margin-bottom:18px}@media(max-width:850px){.project-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.project-category-grid{grid-template-columns:1fr}.project-category-tile{min-height:80px}}

/* Aktualności: publikowane wpisy WordPress */
.news-page .page-intro{max-width:1200px;margin:0 auto;padding:48px 24px 20px}
.news-grid{max-width:1200px;margin:0 auto;padding:16px 24px 64px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.news-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 6px 22px rgba(15,23,42,.08);display:flex;flex-direction:column}
.news-image img{display:block;width:100%;height:210px;object-fit:cover}
.news-content{padding:22px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.news-date{font-size:.9rem;color:#475569;margin:0 0 8px}
.news-content h2{font-size:1.25rem;line-height:1.35;margin:0 0 12px}
.news-content h2 a{color:#111c55;text-decoration:none}
.news-content p{line-height:1.6}
.news-more{display:inline-block;margin-top:auto;padding:10px 0;font-weight:700;color:#172554;text-decoration:underline;text-underline-offset:3px}
.news-grid .pagination{grid-column:1/-1}
@media(max-width:900px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.news-grid{grid-template-columns:1fr}}

/* Header layout: logo stays clear; navigation wraps into two rows on desktop. */
.header-inner{display:grid!important;grid-template-columns:minmax(150px,190px) minmax(0,1fr);grid-template-areas:"brand access" "brand nav";column-gap:22px;row-gap:4px;align-items:center}
.brand{grid-area:brand;max-width:190px}.brand img{width:100%;height:72px;object-fit:contain}
.main-nav{grid-area:nav;min-width:0;width:100%;white-space:normal!important;justify-content:flex-end;flex-wrap:wrap!important}
.main-nav>ul,.site-header .main-nav ul{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:3px 12px!important}
.main-nav a{white-space:normal!important;text-align:center;padding:6px 8px!important;min-height:38px;font-size:12px!important}
.access-tools{grid-area:access;justify-self:end;flex-wrap:wrap}.menu-toggle{display:none}
@media(max-width:1050px) and (min-width:681px){.header-inner{grid-template-columns:145px minmax(0,1fr);column-gap:12px;padding:10px 16px}.brand img{height:66px}.main-nav a{font-size:11px!important;padding:5px 6px!important}.main-nav>ul,.site-header .main-nav ul{gap:2px 6px!important}.access-tools button{min-width:32px;padding:6px 8px;font-size:12px}}
@media(max-width:680px){.header-inner{display:flex!important;flex-wrap:wrap;justify-content:space-between;gap:10px}.brand{max-width:155px}.brand img{height:60px}.menu-toggle{display:inline-flex;align-items:center;gap:6px}.main-nav{display:none;width:100%;order:4}.main-nav.is-open{display:block}.main-nav>ul,.site-header .main-nav ul{flex-direction:column!important;align-items:stretch!important}.main-nav a{text-align:left;justify-content:flex-start}.access-tools{order:3;max-width:100%}}
/* Five discrete text sizes: two smaller, default, two larger. */
body.text-scale--2{font-size:13px}body.text-scale--1{font-size:15px}body.text-scale-0{font-size:16px}body.text-scale-1{font-size:18px}body.text-scale-2{font-size:20px}
body.text-scale--2 p,body.text-scale--2 li{font-size:.92em}body.text-scale--1 p,body.text-scale--1 li{font-size:.96em}
body.text-scale-1 p,body.text-scale-1 li{font-size:1.08em;line-height:1.65}body.text-scale-2 p,body.text-scale-2 li{font-size:1.16em;line-height:1.7}
/* High contrast keeps white text white on dark sections. */
.high-contrast{background:#fff!important;color:#000!important}
.high-contrast .site-header,.high-contrast .site-footer,.high-contrast .hero,.high-contrast .bottom-banner{background:#000!important;color:#fff!important}
.high-contrast .site-header h1,.high-contrast .site-header h2,.high-contrast .site-header h3,.high-contrast .site-header p,.high-contrast .site-header span,.high-contrast .site-footer h1,.high-contrast .site-footer h2,.high-contrast .site-footer h3,.high-contrast .site-footer p,.high-contrast .site-footer span,.high-contrast .hero h1,.high-contrast .hero h2,.high-contrast .hero h3,.high-contrast .hero p,.high-contrast .hero span,.high-contrast .bottom-banner h1,.high-contrast .bottom-banner h2,.high-contrast .bottom-banner h3,.high-contrast .bottom-banner p,.high-contrast .bottom-banner span{color:#fff!important}
.high-contrast .hero h1 span,.high-contrast .bottom-banner h2 span{color:#ff0!important}
.high-contrast .site-header a,.high-contrast .site-footer a,.high-contrast .hero a,.high-contrast .bottom-banner a{color:#ff0!important}
.high-contrast .section,.high-contrast .facility-card,.high-contrast .project-card,.high-contrast .about,.high-contrast .news-card{background:#fff!important;color:#000!important}
.high-contrast .section h1,.high-contrast .section h2,.high-contrast .section h3,.high-contrast .section p,.high-contrast .section li,.high-contrast .facility-card h3,.high-contrast .facility-card p,.high-contrast .project-card h2,.high-contrast .project-card p,.high-contrast .news-card h2,.high-contrast .news-card p{color:#000!important}
.high-contrast .btn,.high-contrast .outline-btn{background:#000!important;color:#ff0!important;border:2px solid #ff0!important}

/* Final header fix: logo occupies its own column; menu is explicitly two rows. */
@media (min-width: 681px){
 .site-header .header-inner{
   display:grid!important;
   grid-template-columns:190px minmax(0,1fr)!important;
   grid-template-rows:auto auto!important;
   grid-template-areas:"brand access" "brand nav"!important;
   align-items:center!important;
   column-gap:28px!important;
   row-gap:8px!important;
   min-height:112px!important;
 }
 .site-header .brand{grid-area:brand!important;position:relative!important;z-index:2!important;align-self:center!important;width:190px!important;max-width:190px!important}
 .site-header .brand img{width:190px!important;height:76px!important;object-fit:contain!important}
 .site-header .access-tools{grid-area:access!important;justify-self:end!important;align-self:end!important;position:relative!important;z-index:3!important}
 .site-header .main-nav{grid-area:nav!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;align-self:start!important;position:relative!important;z-index:2!important}
 .site-header .main-nav>ul,.site-header .main-nav ul.menu{
   display:grid!important;
   grid-template-columns:repeat(5,minmax(0,max-content))!important;
   grid-template-rows:auto auto!important;
   grid-auto-flow:row!important;
   justify-content:end!important;
   align-items:center!important;
   gap:4px 14px!important;
   width:100%!important;
   margin:0!important;padding:0!important;
   list-style:none!important;
 }
 .site-header .main-nav li{display:block!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important}
 .site-header .main-nav a{display:flex!important;align-items:center!important;justify-content:center!important;white-space:normal!important;text-align:center!important;line-height:1.2!important;font-size:12px!important;padding:7px 6px!important;min-height:34px!important;max-width:100%!important}
}
@media (min-width:681px) and (max-width:1050px){
 .site-header .header-inner{grid-template-columns:155px minmax(0,1fr)!important;column-gap:14px!important}
 .site-header .brand,.site-header .brand img{width:155px!important;max-width:155px!important}
 .site-header .main-nav>ul,.site-header .main-nav ul.menu{grid-template-columns:repeat(4,minmax(0,max-content))!important;gap:3px 7px!important}
 .site-header .main-nav a{font-size:11px!important;padding:6px 4px!important}
}
@media (max-width:680px){
 .site-header .header-inner{display:flex!important;flex-wrap:wrap!important}
 .site-header .brand{grid-area:auto!important}
 .site-header .access-tools{grid-area:auto!important}
 .site-header .main-nav{grid-area:auto!important}
}

/* HEADER FIX 2: reserve a dedicated logo row and a separate full-width two-line menu. */
@media (min-width: 681px){
  .site-header .header-inner{
    display:grid!important;
    grid-template-columns:minmax(180px,220px) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    grid-template-areas:"brand access" "nav nav"!important;
    align-items:center!important;
    justify-content:initial!important;
    gap:8px 18px!important;
    padding:12px 24px 14px!important;
    min-height:130px!important;
  }
  .site-header .brand{
    grid-area:brand!important;
    display:flex!important;
    width:220px!important;
    max-width:220px!important;
    min-width:0!important;
    align-self:center!important;
    justify-self:start!important;
    position:relative!important;
    z-index:5!important;
  }
  .site-header .brand img{
    display:block!important;
    width:220px!important;
    max-width:100%!important;
    height:70px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  .site-header .access-tools{
    grid-area:access!important;
    display:flex!important;
    justify-self:end!important;
    align-self:center!important;
    position:relative!important;
    z-index:5!important;
  }
  .site-header nav.main-nav{
    grid-area:nav!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    overflow:visible!important;
    position:relative!important;
    z-index:4!important;
  }
  .site-header nav.main-nav>ul.menu,
  .site-header nav.main-nav>div>ul.menu,
  .site-header nav.main-nav ul.menu{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    grid-auto-rows:minmax(38px,auto)!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    gap:4px 10px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }
  .site-header nav.main-nav li,
  .site-header nav.main-nav ul.menu>li{
    display:block!important;
    float:none!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  .site-header nav.main-nav a{
    display:flex!important;
    width:100%!important;
    min-height:38px!important;
    height:100%!important;
    align-items:center!important;
    justify-content:center!important;
    padding:7px 8px!important;
    margin:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    text-align:center!important;
    line-height:1.25!important;
    font-size:12px!important;
  }
}
@media (min-width:681px) and (max-width:1000px){
  .site-header .header-inner{grid-template-columns:175px minmax(0,1fr)!important;padding:10px 16px 12px!important}
  .site-header .brand,.site-header .brand img{width:175px!important;max-width:175px!important}
  .site-header nav.main-nav>ul.menu,.site-header nav.main-nav>div>ul.menu,.site-header nav.main-nav ul.menu{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px 6px!important}
  .site-header nav.main-nav a{font-size:11px!important;padding:6px 4px!important}
}
@media(max-width:680px){
  .site-header .header-inner{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
  .site-header .brand{width:auto!important;max-width:160px!important}
  .site-header .brand img{width:160px!important;height:60px!important}
  .site-header .access-tools{grid-area:auto!important;justify-self:auto!important}
  .site-header nav.main-nav{grid-area:auto!important}
}

/* More visible rectangular navigation buttons with uppercase, larger labels. */
@media (min-width:681px){
 .site-header nav.main-nav a{
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   min-height:42px!important;
   padding:9px 12px!important;
   border:1px solid rgba(255,255,255,.48)!important;
   border-radius:5px!important;
   background:rgba(255,255,255,.075)!important;
   color:#fff!important;
   font-size:14px!important;
   font-weight:800!important;
   letter-spacing:.25px!important;
   text-transform:uppercase!important;
   text-decoration:none!important;
   line-height:1.25!important;
   box-shadow:0 2px 5px rgba(0,0,0,.12)!important;
 }
 .site-header nav.main-nav a:hover,
 .site-header nav.main-nav a:focus-visible,
 .site-header nav.main-nav .current-menu-item>a{
   background:#ff741b!important;
   border-color:#fff!important;
   color:#fff!important;
 }
}
@media (min-width:681px) and (max-width:1000px){
 .site-header nav.main-nav a{font-size:12px!important;padding:8px 6px!important}
}
@media(max-width:680px){
 .site-header nav.main-nav a{
   display:flex!important;align-items:center!important;
   min-height:46px!important;padding:11px 13px!important;
   border:1px solid rgba(255,255,255,.45)!important;border-radius:5px!important;
   background:rgba(255,255,255,.075)!important;color:#fff!important;
   font-size:15px!important;font-weight:800!important;text-transform:uppercase!important;
 }
 .site-header nav.main-nav a:hover,.site-header nav.main-nav a:focus-visible{background:#ff741b!important;color:#fff!important}
}

/* Homepage news section appears before facilities and uses the same cards as the news archive. */
.home-news{background:#fff}
.home-news .section-heading{align-items:end}
.home-news-grid{padding:0!important;max-width:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.home-news-grid .news-card{height:100%}
.home-news-grid .news-content h3{font-size:1.25rem;line-height:1.35;margin:0 0 12px}
.home-news-grid .news-content h3 a{color:#111c55;text-decoration:none}
.home-news-grid .news-content h3 a:hover{text-decoration:underline}
@media(max-width:900px){.home-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.home-news-grid{grid-template-columns:1fr!important}}

/* Banner visuals use the brand geometry only; no pre-existing photos. */
.hero-visual{height:325px;position:relative;overflow:hidden;clip-path:polygon(24% 0,100% 0,100% 76%,75% 100%,0 100%,0 28%);background:linear-gradient(135deg,rgba(30,42,170,.92),rgba(7,11,44,.35));}
.hero-visual:before{content:"";position:absolute;right:5%;top:-14%;width:38%;height:125%;background:linear-gradient(135deg,#ff801d,#ff4f2d);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);opacity:.95}
.hero-visual:after{content:"";position:absolute;right:0;bottom:0;width:48%;height:48%;background:#2026a4;clip-path:polygon(100% 0,100% 100%,0 100%);opacity:.9}
.bottom-banner-inner{grid-template-columns:minmax(0,1fr) minmax(180px,.7fr)}
.bottom-banner-visual{position:relative;min-height:190px;overflow:hidden;background:linear-gradient(135deg,rgba(31,39,157,.2),rgba(255,116,27,.12));clip-path:polygon(18% 0,100% 0,100% 75%,70% 100%,0 100%,0 25%)}
.bottom-banner-visual:before{content:"";position:absolute;right:5%;top:-25%;width:48%;height:150%;background:linear-gradient(135deg,#ff801d,#ff4f2d);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.bottom-banner-visual:after{content:"";position:absolute;left:0;bottom:0;width:60%;height:65%;background:#2728a6;clip-path:polygon(0 0,100% 100%,0 100%)}
@media(max-width:760px){.hero-visual{height:220px}.bottom-banner-inner{grid-template-columns:1fr}.bottom-banner-visual{min-height:120px}}

/* Dedykowana podstrona „O nas” i historia Stowarzyszenia. */
.about-page{color:var(--ink)}
.about-page-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#080d35 0%,#171c78 68%,#2528b4 100%);color:#fff;padding:72px 24px 78px}
.about-page-hero-inner,.about-page-inner{max-width:1160px;margin:0 auto;position:relative;z-index:1}
.about-page-hero-inner{max-width:1160px}
.about-eyebrow{margin:0 0 12px;color:#ff7a1b;font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.about-page-hero h1{max-width:850px;margin:0 0 20px;color:#fff;font-size:clamp(2.35rem,5vw,4.2rem);line-height:1.05;letter-spacing:-.04em}
.about-page-hero h1 span,.about-page-section h2 span{color:#ff7a1b}
.about-lead{max-width:780px;margin:0;color:#fff;font-size:clamp(1.05rem,2vw,1.3rem);line-height:1.65}
.about-hero-shape{position:absolute;z-index:0;pointer-events:none;transform:rotate(45deg)}
.about-hero-shape-one{width:220px;height:220px;right:8%;top:-105px;background:linear-gradient(135deg,#ff4b35,#ff8d32);opacity:.95}
.about-hero-shape-two{width:120px;height:120px;right:22%;bottom:-78px;border:20px solid #ff7a1b;opacity:.8}
.about-page-section{padding:62px 24px;background:#fff}
.about-page-section-tint{background:linear-gradient(180deg,#f3f7fc,#fff)}
.about-intro-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}
.about-page-section h2{font-size:clamp(1.9rem,3.4vw,2.8rem);line-height:1.12;letter-spacing:-.03em;color:var(--ink);margin:0 0 18px}
.about-prose p,.about-values-layout>div>p:not(.about-eyebrow){font-size:1.04rem;line-height:1.8;margin:0 0 18px}
.about-section-heading{max-width:760px;margin:0 auto 30px;text-align:center}
.about-section-heading>p:last-child{margin:0;color:#455075}
.about-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.about-activity-card{position:relative;background:#fff;border:1px solid #e2e9f4;border-radius:16px;padding:26px 23px;box-shadow:var(--shadow);min-height:220px}
.about-activity-number{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff0e7;color:#d94d12;font-weight:800;margin-bottom:18px}
.about-activity-card h3{margin:0 0 10px;font-size:1.16rem;line-height:1.3;color:var(--ink)}
.about-activity-card p{margin:0;color:#465174;font-size:.96rem;line-height:1.7}
.about-values-layout{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.about-values-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.about-values-list li{display:flex;flex-direction:column;gap:4px;border-left:4px solid var(--orange);background:#f5f8fc;border-radius:0 10px 10px 0;padding:15px 18px}
.about-values-list strong{font-size:1.05rem;color:var(--ink)}
.about-values-list span{line-height:1.55;color:#465174}
.about-page-cta{background:linear-gradient(105deg,#070b2c,#2426a2);color:#fff;padding:38px 24px}
.about-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:28px}
.about-cta-inner h2{color:#fff;margin:0 0 8px;font-size:clamp(1.7rem,3vw,2.4rem)}
.about-cta-inner p{margin:0;max-width:650px;color:#fff}
.about-cta-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;flex-shrink:0}
.about-secondary-link{color:#fff;font-weight:700;text-underline-offset:4px}
@media(max-width:800px){.about-page-hero{padding:52px 20px 58px}.about-page-section{padding:42px 20px}.about-intro-grid,.about-values-layout{grid-template-columns:1fr;gap:22px}.about-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-cta-inner{align-items:flex-start;flex-direction:column}.about-hero-shape-one{right:-60px}}
@media(max-width:520px){.about-activity-grid{grid-template-columns:1fr}.about-activity-card{min-height:0}.about-cta-actions{align-items:flex-start;flex-direction:column;gap:12px}}

/* Zamówienia publiczne */
.public-orders-page .orders-intro{max-width:1000px;margin:0 auto 42px;padding:44px 24px 36px;text-align:left;}
.public-orders-page .orders-intro h1{margin:8px 0 18px;}
.public-orders-page .orders-intro>p{max-width:850px;line-height:1.75;}
.public-orders-page .orders-instructions{margin-top:18px;padding:16px 20px;border-left:4px solid #ff7a1a;background:#f3f6fb;border-radius:0 8px 8px 0;}
.public-orders-page .orders-list{max-width:1200px;margin:0 auto;padding:20px 24px 70px;}
.public-orders-page .orders-list .section-heading{margin-bottom:26px;}
.public-orders-page .order-card{border:1px solid #dce2ef;border-radius:12px;overflow:hidden;background:#fff;}
.public-orders-page .order-card h2 a{color:#101d5c;text-decoration:none;}
.public-orders-page .order-card h2 a:hover,.public-orders-page .order-card h2 a:focus{text-decoration:underline;}
.public-orders-page .orders-empty{padding:30px;border-radius:12px;background:#f3f6fb;border-top:4px solid #ff7a1a;}
@media(max-width:700px){.public-orders-page .orders-intro{padding:30px 18px 24px}.public-orders-page .orders-list{padding:12px 18px 44px}}

/* Optional custom image for the main hero banner; geometric default remains when no image is selected. */
.hero-visual.has-custom-image{background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#171c78;}
.hero-visual.has-custom-image:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,rgba(8,13,53,.08),rgba(8,13,53,.02));pointer-events:none;}


/* V6: custom hero image spans the full navy hero and fades softly toward the center. */
.hero-inner{grid-template-columns:.78fr 1.22fr;gap:0;min-height:390px;padding-top:0;padding-bottom:0}
.hero-visual.has-custom-image{height:100%;min-height:390px;width:calc(100% + 90px);margin-left:-30px;clip-path:none;background-size:cover;background-position:center right;background-repeat:no-repeat;position:relative;overflow:hidden}
.hero-visual.has-custom-image:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#11165f 0%,rgba(17,22,95,.86) 12%,rgba(17,22,95,.42) 34%,rgba(17,22,95,.06) 62%,rgba(17,22,95,0) 100%);pointer-events:none}
.hero-visual.has-custom-image:after{content:"";position:absolute;inset:0;right:auto;bottom:auto;width:100%;height:100%;background:linear-gradient(0deg,rgba(8,13,53,.28),transparent 34%);clip-path:none;pointer-events:none}
@media(max-width:1100px){.hero-inner{grid-template-columns:1fr 1fr;gap:10px}.hero-visual.has-custom-image{width:calc(100% + 40px);margin-left:-10px;min-height:390px}}
@media(max-width:680px){.hero-inner{grid-template-columns:1fr;padding:35px 20px 20px;gap:20px}.hero-visual.has-custom-image{width:100%;margin-left:0;height:240px;min-height:240px;clip-path:none}.hero-visual.has-custom-image:before{background:linear-gradient(90deg,rgba(17,22,95,.08),rgba(17,22,95,0) 55%)}}


/* V7: full-height hero artwork, aligned with the entire navy banner and softly fading toward the text. */
.hero{position:relative;isolation:isolate;}
.hero-inner{position:relative;display:block;min-height:390px;padding:0 28px;}
.hero-copy{position:relative;z-index:3;width:48%;max-width:560px;padding:44px 0 38px;}
.hero-visual.has-custom-image{position:absolute;z-index:1;top:0;right:-28px;bottom:0;width:65%;height:auto;min-height:0;margin:0;clip-path:none;background-size:cover;background-position:center right;background-repeat:no-repeat;overflow:hidden;}
.hero-visual.has-custom-image:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#11165f 0%,rgba(17,22,95,.94) 8%,rgba(17,22,95,.70) 24%,rgba(17,22,95,.28) 43%,rgba(17,22,95,.04) 66%,rgba(17,22,95,0) 100%);pointer-events:none;}
.hero-visual.has-custom-image:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,13,53,.24),transparent 28%);width:auto;height:auto;clip-path:none;pointer-events:none;}
@media(max-width:1100px){.hero-inner{min-height:390px;padding:0 24px}.hero-copy{width:52%;padding:40px 0}.hero-visual.has-custom-image{right:-24px;width:62%;}}
@media(max-width:680px){.hero-inner{display:flex;flex-direction:column;min-height:0;padding:30px 20px 0;gap:0}.hero-copy{width:100%;max-width:none;padding:0 0 24px;z-index:3}.hero-visual.has-custom-image{position:relative;top:auto;right:auto;bottom:auto;width:calc(100% + 40px);height:230px;min-height:230px;margin:0 -20px;flex:0 0 230px;background-position:center;background-size:cover;}.hero-visual.has-custom-image:before{background:linear-gradient(180deg,#171c78 0%,rgba(23,28,120,.32) 24%,rgba(23,28,120,0) 65%);}}

/* V8: remove the standalone orange decorative shape on the right edge of the main hero. */
.hero:after{display:none!important;content:none!important}

/* V9: remove the orange geometric overlay on the lower-right of the main hero image. Keep the image itself and its soft blend into the navy background. */
.hero-visual.has-custom-image:before{display:none!important;content:none!important}
.hero-visual.has-custom-image:after{display:none!important;content:none!important}
.hero-visual.has-custom-image{ -webkit-mask-image:linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 8%, #000 34%); mask-image:linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 8%, #000 34%); }


/* V10: definitively remove theme-level decorative pseudo-elements from the main hero; keep only the selected hero image. */
.hero::before, .hero::after, .hero:before, .hero:after { display:none !important; content:none !important; background:none !important; clip-path:none !important; }


/* V11 hard removal: the orange diamond on the right was the original .hero:after decoration. Disable it at source. */
body.home .hero:after, body.front-page .hero:after, #main-content > .hero:after, .hero:after { display:none !important; content:none !important; background:none !important; width:0 !important; height:0 !important; transform:none !important; }

/* Strona główna: kwadratowe miniatury aktualności, bez dat publikacji. */
.home-news-grid .news-image{display:block;aspect-ratio:1 / 1;overflow:hidden;width:100%;}
.home-news-grid .news-image img{display:block;width:100%;height:100%;aspect-ratio:1 / 1;object-fit:cover;}
.home-news-grid .news-date{display:none!important;}


/* V14: optional user-selected image for the lower homepage banner, filling the full light-navy strip. */
.bottom-banner-inner{align-items:stretch;}
.bottom-banner-visual{height:100%;min-height:100%;align-self:stretch;background-size:cover;background-position:center;background-repeat:no-repeat;}
.bottom-banner-visual.has-custom-image{min-height:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat;clip-path:none;}
.bottom-banner-visual.has-custom-image:before,.bottom-banner-visual.has-custom-image:after{display:none!important;content:none!important;}
@media(max-width:760px){.bottom-banner-visual.has-custom-image{min-height:190px;height:190px;width:100%;}}

/* V15: lower banner image fills the entire light-navy strip; remove the extra orange diamond decoration. */
.bottom-banner:before,.bottom-banner:after{display:none!important;content:none!important;background:none!important;}
.bottom-banner-inner{min-height:260px;align-items:stretch;}
.bottom-banner-visual{height:auto!important;min-height:260px!important;align-self:stretch;}
.bottom-banner-visual.has-custom-image{height:auto!important;min-height:260px!important;align-self:stretch;clip-path:none!important;}
.bottom-banner-visual.has-custom-image:before,.bottom-banner-visual.has-custom-image:after{display:none!important;content:none!important;}
@media(max-width:760px){.bottom-banner-inner{min-height:0}.bottom-banner-visual,.bottom-banner-visual.has-custom-image{height:190px!important;min-height:190px!important;}}

/* V16: lower banner artwork matches the full strip height and reaches farther toward the center. */
.bottom-banner{min-height:260px;overflow:hidden;}
.bottom-banner-inner{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)!important;gap:24px;min-height:260px!important;height:260px;padding:0 24px!important;align-items:stretch!important;}
.bottom-banner-inner>div:first-child{align-self:center;position:relative;z-index:2;padding:24px 0;}
.bottom-banner-visual{height:100%!important;min-height:0!important;align-self:stretch!important;width:calc(100% + 70px);margin-left:-20px;position:relative;overflow:hidden;background-size:cover!important;background-position:center!important;background-repeat:no-repeat;clip-path:none!important;}
.bottom-banner-visual.has-custom-image{height:100%!important;min-height:0!important;width:calc(100% + 70px);margin-left:-20px;clip-path:none!important;background-size:cover!important;background-position:center!important;}
.bottom-banner-visual:before,.bottom-banner-visual:after,.bottom-banner-visual.has-custom-image:before,.bottom-banner-visual.has-custom-image:after{display:none!important;content:none!important;background:none!important;}
@media(max-width:760px){.bottom-banner-inner{height:auto!important;min-height:0!important;grid-template-columns:1fr!important;padding:26px 20px 0!important;gap:14px!important}.bottom-banner-inner>div:first-child{padding:0;}.bottom-banner-visual,.bottom-banner-visual.has-custom-image{width:calc(100% + 40px);height:190px!important;min-height:190px!important;margin:0 -20px;}}

/* WCAG 2.2 AA-oriented improvements: visible keyboard focus, contrast, reflow and target size. */
:root{scroll-padding-top:1rem}
html{scroll-behavior:smooth}
body{overflow-wrap:break-word}
.skip-link{left:12px;top:12px;transform:translateY(-180%);width:auto;height:auto;clip:auto;clip-path:none;white-space:normal;background:#fff;color:#080d35;border:3px solid #080d35;border-radius:6px;padding:12px 16px;font-weight:700;z-index:100000}
.skip-link:focus,.skip-link:focus-visible{transform:translateY(0);outline:3px solid #ffb000;outline-offset:3px}
:focus{scroll-margin-block:1rem}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #ffbf47!important;outline-offset:3px!important;box-shadow:0 0 0 2px #080d35!important}
button,a,input,select,textarea{touch-action:manipulation}
.access-tools button,.menu-toggle{min-width:44px;min-height:44px}
.main-nav a{min-height:44px}
/* Accessible orange text on light backgrounds; orange accents remain in the brand. */
.section-heading h2 span,.about-copy h2 span,.about-eyebrow,.about-activity-number{color:#a93800}
.news-date,.project-card p{color:#3f4968}
.btn{background:#b83e00;color:#fff}
.btn:hover,.btn:focus-visible{background:#922f00;color:#fff}
.outline-btn{color:#17218b;background:#fff}
/* High-contrast mode: keep all content legible, not only selected sections. */
.high-contrast{filter:none!important;background:#fff!important;color:#000!important}
.high-contrast body,.high-contrast p,.high-contrast li,.high-contrast label,.high-contrast small{color:#000!important}
.high-contrast a{color:#0000a8!important;text-decoration:underline!important}
.high-contrast .site-header,.high-contrast .site-footer,.high-contrast .hero,.high-contrast .bottom-banner{background:#000!important;color:#fff!important}
.high-contrast .site-header a,.high-contrast .site-footer a,.high-contrast .hero a,.high-contrast .bottom-banner a{color:#ff0!important}
.high-contrast .site-header p,.high-contrast .site-header span,.high-contrast .site-footer p,.high-contrast .site-footer span,.high-contrast .hero p,.high-contrast .hero h1,.high-contrast .hero span,.high-contrast .bottom-banner p,.high-contrast .bottom-banner h2,.high-contrast .bottom-banner span{color:#fff!important}
.high-contrast .hero h1 span,.high-contrast .bottom-banner h2 span{color:#ff0!important}
.high-contrast .section,.high-contrast .facility-card,.high-contrast .project-card,.high-contrast .about,.high-contrast .news-card{background:#fff!important;color:#000!important;border-color:#000!important}
.high-contrast .section h1,.high-contrast .section h2,.high-contrast .section h3,.high-contrast .section p,.high-contrast .section li,.high-contrast .facility-card h3,.high-contrast .facility-card p,.high-contrast .project-card h2,.high-contrast .project-card p,.high-contrast .news-card h2,.high-contrast .news-card p{color:#000!important}
.high-contrast .btn,.high-contrast .outline-btn{background:#000!important;color:#ff0!important;border:2px solid #ff0!important}
/* Do not rely on colour alone to identify links. */
.underlined-links a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}
/* User-selected banner photos should not be obscured by decorative geometry. */
.bottom-banner-visual.has-custom-image{background-size:cover;background-position:center right;background-repeat:no-repeat;clip-path:none!important;min-height:260px;height:100%;align-self:stretch}
.bottom-banner-visual.has-custom-image:before,.bottom-banner-visual.has-custom-image:after{display:none!important;content:none!important}
.bottom-banner:after{display:none!important;content:none!important}
@media(max-width:760px){.bottom-banner-visual.has-custom-image{min-height:180px;height:180px;width:100%}}
@media(max-width:320px){.projects-grid,.facility-grid,.values-grid{grid-template-columns:minmax(0,1fr)}.access-tools{flex-wrap:wrap;justify-content:flex-start}.hero h1{font-size:2rem}}
@media(hover:none){.project-category-tile:hover{transform:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(forced-colors:active){a,button{forced-color-adjust:auto}:focus-visible{outline:3px solid Highlight!important}}
