/* 0.2.8 — responsive corrections within the existing visual identity. */
.wp-site-blocks main h1,.wp-site-blocks main>.wp-block-post-title,.wp-block-query-title{text-align:left!important}
.kosz-business-hero{text-align:left;max-width:none;margin-inline:0}.kosz-business-hero .kosz-page-lead{margin-inline:0}
.site-header .kosz-brand-hide-tagline img{clip-path:polygon(0 0,100% 0,100% 78%,25% 78%,25% 100%,0 100%)}
.kosz-title-mobile{display:none}
.home main>.wp-block-post-content{max-width:none;width:100%}
.home .intro-background>.hero-columns,.home .intro-background>.quick-nav{width:min(1280px,calc(100% - 48px));max-width:1280px;margin-inline:auto!important}
.home .hero-columns{display:grid!important;grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);gap:clamp(20px,3vw,35px)!important}
.home .hero-columns>.wp-block-column{min-width:0;width:auto}
.home .quick-nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px!important}
.home .quick-nav>.wp-block-column{min-width:0;margin:0!important}
.kosz-header-controls{display:none;margin:0;align-items:center;gap:5px;position:relative;color:#062356}
.kosz-header-controls details{margin:0;position:static}.kosz-header-controls summary{list-style:none;cursor:pointer;width:42px;height:42px;display:grid;place-items:center;border-radius:9px;color:#062356}
.kosz-header-controls summary::-webkit-details-marker{display:none}.kosz-header-controls summary:hover,.kosz-header-controls details[open]>summary{background:#edf5ff}
.kosz-header-controls summary:focus-visible{outline:2px solid #0069f5;outline-offset:2px}.kosz-header-controls .icon{width:23px;height:23px}
.kosz-hamburger{width:22px;display:flex;flex-direction:column;gap:5px}.kosz-hamburger>span{height:2px;width:100%;display:block;border-radius:3px;background:currentColor}
.kosz-header-popover{position:absolute;top:calc(100% + 14px);right:0;width:min(340px,calc(100vw - 32px));padding:13px;background:#fff;border:1px solid #dce8f8;box-shadow:0 12px 40px #06235624;border-radius:14px;z-index:1100}
.kosz-header-menu nav a{display:block;padding:11px 13px;color:#062356;font-size:15px;line-height:1.3;border-radius:7px;text-decoration:none}.kosz-header-menu nav a:hover{background:#edf5ff;color:#0069f5}.kosz-header-menu a.kosz-menu-add{margin-top:5px;background:#0069f5;color:#fff}
.kosz-header-search label{display:block;font-size:13px;font-weight:700;margin:0 0 10px;color:#062356}.kosz-header-search form>div{display:flex;gap:7px}.kosz-header-search input{min-width:0;width:100%;padding:11px;border:1px solid #c9d9ef;border-radius:8px;font-size:16px}.kosz-header-search button{background:#0069f5;color:#fff;font-weight:700;border:0;border-radius:8px;padding:10px 13px;cursor:pointer}
.portal-footer .kosz-compact-footer{width:min(1280px,calc(100% - 48px));max-width:1280px;margin-inline:auto;padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.kosz-compact-footer p,.kosz-compact-footer .wp-block-group{margin:0!important}.kosz-compact-footer a{color:#e4efff;text-decoration:none}.kosz-compact-footer a:hover{text-decoration:underline;color:white}
.kosz-footer-brand{font-size:17px;font-weight:750;letter-spacing:-.04em;color:#fff;white-space:nowrap}.kosz-footer-links{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;justify-content:center}.kosz-footer-links p{font-size:12px;line-height:1.4}.kosz-footer-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-size:11px;line-height:1.4;white-space:nowrap}
.portal-footer:has(.kosz-compact-footer){padding:0;margin-top:18px}.portal-footer:has(.kosz-compact-footer)>.wp-block-group{margin-block:0}
.kosz-city-overview{margin:20px 0 30px!important;padding:28px;border:1px solid #dce8f8;background:linear-gradient(110deg,#f5f9ff,#fff);border-radius:19px;position:relative}
.kosz-city-overview .wp-block-group{margin-block-start:0}.kosz-city-intro{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(180px,1fr);gap:26px;align-items:center}
.kosz-city-copy h2{font-size:clamp(23px,3vw,32px);margin:0 0 15px;line-height:1.2;color:#062356}.kosz-city-lead{font-size:15px;color:#4f6686;line-height:1.75;margin:0 0 12px}
.kosz-city-art{margin:0!important}.kosz-city-art img{display:block;width:100%;max-height:220px;object-fit:contain;border-radius:12px}
.kosz-city-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 14px!important}
.kosz-city-fact{padding:18px;background:white;border:1px solid #e0e9f6;border-radius:12px}.kosz-city-fact p{margin:0!important}.kosz-city-fact .kosz-city-value,.kosz-city-live-count strong{display:block;color:#0069f5;font-size:clamp(22px,3vw,30px);font-weight:750;line-height:1.15;letter-spacing:-.025em;margin:0 0 7px!important}
.kosz-city-fact .kosz-city-label,.kosz-city-live-count span{display:block;color:#617591;font-size:11px;line-height:1.5;margin:0!important}
.kosz-city-detail{margin:14px 0 0!important;color:#385579;font-size:13px;line-height:1.7}.kosz-city-source{margin:12px 0 0!important;font-size:10px;line-height:1.6;color:#6b809f}.kosz-city-source a{color:#567395}.kosz-city-edit{display:inline-block;font-size:11px;margin-top:10px}
@media(max-width:980px){
 .site-header .portal-header{width:calc(100% - 32px);min-height:72px;gap:10px}.site-header .portal-header>.wp-block-navigation,.site-header .portal-header>.wp-block-buttons{display:none!important}.site-header .kosz-header-controls{display:flex;margin-left:auto}.site-header .brand{width:215px;max-width:calc(100vw - 136px)}
}
@media(min-width:1600px){.home .intro-background>.hero-columns,.home .intro-background>.quick-nav{width:min(1280px,calc(100% - 80px))}}
@media(max-width:782px){
 .home .intro-background{display:flex;flex-direction:column;align-items:center;gap:14px;padding:16px 0 20px!important;background:#f5f9ff}
 .home .intro-background>.hero-columns{display:contents!important}.home .hero-columns>.wp-block-column{flex-basis:auto!important;min-width:0;width:calc(100% - 32px)!important;margin:0!important}
 .home .hero-columns>.hero-copy{order:1;aspect-ratio:4/3;min-height:0;padding:16px!important;background:#fff;border:1px solid #dce9fa;border-radius:16px;display:flex;flex-direction:column;justify-content:center;color:#062356}
 .home .hero-copy>.eyebrow,.home .hero-copy>.hero-description{display:none}.home .hero-copy h1{font-size:clamp(25px,5vw,31px)!important;line-height:1.12;margin:0 0 12px!important;color:#062356!important;letter-spacing:-.035em}
 .home .hero-copy .kosz-title-desktop{display:none!important}.home .hero-copy .kosz-title-mobile{display:block;color:#062356!important}
 .home .hero-copy .search-box{padding:0;margin:0;border:0;box-shadow:none;border-radius:0;background:transparent}.home .hero-copy .search-tabs,.home .hero-copy .popular-searches{display:none}
 .home .hero-copy .directory-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px;gap:7px}
 .home .hero-copy .search-field{min-width:0;padding:8px;gap:6px;border:1px solid #d9e6f8;border-radius:9px;background:#fff;min-height:42px}.home .hero-copy .search-field:first-child{grid-column:1/-1;margin:0;padding:9px 10px}
 .home .hero-copy .search-field label{min-width:0;width:100%}.home .hero-copy .search-field:first-child .field-label{display:none}.home .hero-copy .field-label{font-size:9px;line-height:1.1}.home .hero-copy .search-field input{font-size:16px}.home .hero-copy .search-field select{font-size:12px;max-width:100%}.home .hero-copy .search-field .icon{width:16px;height:16px;flex-shrink:0}
 .home .hero-copy .directory-search>button{width:42px;height:42px;padding:0;border-radius:10px;align-self:stretch}.home .hero-copy .directory-search>button .search-button-text{display:none}
 .home .hero-copy .kosz-search-options{margin:2px 0 0;gap:10px;justify-content:space-between;font-size:11px}.home .hero-copy .kosz-search-options>label:first-child{display:none}.home .hero-copy .kosz-search-options label{gap:5px}.home .hero-copy .kosz-search-options .button{width:auto;height:31px;padding:6px 10px;font-size:11px;border-radius:8px}.home .hero-copy [data-location-status]:empty{display:none}
 .home .hero-columns>.wp-block-column:not(.hero-copy){order:2}.home .hero-columns .wp-block-kosz-region-map{margin:0}
 .home .hero-columns .map-card{width:100%;aspect-ratio:4/3;height:auto!important;min-height:0!important;max-height:none;margin:0!important;border-radius:16px}
 .home .map-card-heading{top:10px;left:10px;padding:8px 10px}.home .map-card-heading h2{font-size:16px;line-height:1.1;margin:0 0 3px;max-width:115px}.home .map-card-heading p{font-size:9px}.home .map-card .leaflet-control-attribution{font-size:7px;line-height:1.2}.home .map-card .kosz-map-tools button{font-size:9px;padding:7px}
 .home .intro-background>.quick-nav{order:3;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));width:calc(100% - 32px);gap:6px!important;margin:0!important}
 .home .quick-nav>.wp-block-column{padding:11px 2px!important;background:white;min-width:0;text-align:center;border-radius:10px}.home .quick-nav h3{font-size:9px;margin:0!important;letter-spacing:-.035em}.home .quick-nav h3 a{color:#062356}.home .quick-nav p{display:none}.home .quick-nav .wp-block-image{margin:0 0 7px}.home .quick-nav .wp-block-image img{width:24px;height:24px}
 .kosz-city-overview{padding:20px;margin:16px 0 25px!important}.kosz-city-intro{grid-template-columns:1fr;gap:10px}.kosz-city-copy h2{font-size:25px}.kosz-city-lead{font-size:14px}.kosz-city-art{display:none}.kosz-city-facts{gap:9px}.kosz-city-fact{padding:14px 9px}.kosz-city-fact .kosz-city-value,.kosz-city-live-count strong{font-size:21px}.kosz-city-fact .kosz-city-label,.kosz-city-live-count span{font-size:10px}.kosz-city-detail{font-size:12px}
}
@media(max-width:640px){
 .site-header .portal-header{min-height:65px}.kosz-header-controls summary{width:39px;height:39px}.kosz-header-popover{top:calc(100% + 10px)}
 .portal-footer .kosz-compact-footer{width:calc(100% - 32px);padding:12px 0;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
 .kosz-footer-brand{font-size:13px;line-height:1.2}.kosz-footer-links{gap:5px 10px;justify-content:flex-start;flex-wrap:wrap}.kosz-footer-links p{font-size:10.5px;line-height:1.3;white-space:nowrap}.kosz-footer-meta{width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;font-size:9.5px;line-height:1.3}
 .portal-footer:has(.kosz-compact-footer){padding-bottom:0}.wp-site-blocks:has(.bottom-nav){padding-bottom:69px}.single-kosz_firma .wp-site-blocks:has(.bottom-nav){padding-bottom:0}
}
