/* Scope: authenticated historical-overlay hotfix, not WordPress articles. */
.klima-visual-hotfix .gallery-section .filter-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-left:0;margin-right:0}
.klima-visual-hotfix .gallery-section .case-block.mix {display:block!important;width:auto;max-width:100%;padding:0;margin:0}
@media(max-width:991px){.klima-visual-hotfix .gallery-section .filter-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.klima-visual-hotfix .gallery-section .filter-list{grid-template-columns:minmax(0,1fr)}}
/* Restore the archived homepage blocks without Owl/jQuery. */
.klima-visual-hotfix .sponsors-carousel{display:flex!important;gap:24px;overflow-x:auto;scroll-snap-type:x proximity;padding:16px 0}
.klima-visual-hotfix .sponsors-carousel > *{flex:0 0 140px;scroll-snap-align:start}
.klima-visual-hotfix .sponsors-carousel img{width:140px;height:110px;object-fit:contain}
.klima-visual-hotfix .single-item-carousel{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
.klima-visual-hotfix .single-item-carousel .image-column img{width:100%;height:230px;object-fit:cover}
.klima-visual-hotfix .single-item-carousel .news-block-two{min-width:0;margin:0}
@media(max-width:767px){.klima-visual-hotfix .single-item-carousel{grid-template-columns:minmax(0,1fr)}}
/* The old one-pixel fallback is opaque white, not transparent. */
.klima-visual-hotfix .page-title .pattern-layer-one[style*="data:image/gif"],
.klima-visual-hotfix .page-title .pattern-layer-one[style*="klima.test"]{background-image:none!important}
.klima-visual-hotfix .main-footer .widgets-section > .row{display:flex;flex-wrap:wrap}
.klima-visual-hotfix .main-footer .footer-column{box-sizing:border-box;flex:0 0 25%;width:25%;max-width:25%;padding:0 15px}
@media(max-width:991px){.klima-visual-hotfix .main-footer .footer-column{flex-basis:50%;width:50%;max-width:50%}}
@media(max-width:600px){.klima-visual-hotfix .main-footer .footer-column{flex-basis:100%;width:100%;max-width:100%}}
.klima-visual-hotfix .news-detail img{max-width:100%!important;height:auto!important}
.klima-visual-hotfix .news-detail figure,.klima-visual-hotfix .news-detail .wp-block-gallery{max-width:100%!important;width:auto!important;height:auto!important}
.klima-visual-hotfix .news-detail .wp-block-gallery{display:flex;flex-wrap:wrap;gap:16px}
.klima-visual-hotfix .news-detail .wp-block-gallery figure{flex:1 1 260px;min-width:0;margin:0}
.klima-visual-hotfix .news-detail .blocks-gallery-grid{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.klima-visual-hotfix .news-detail .blocks-gallery-item{min-width:0}
.klima-visual-hotfix .news-detail img{contain-intrinsic-size:auto!important}
.klima-visual-hotfix .klima-empty-media{display:none!important}
.klima-visual-hotfix .case-block.klima-media-unavailable .image{min-height:180px;background:#141d38}
.klima-visual-hotfix .case-block.klima-media-unavailable .overlay-box .content{left:24px;right:24px;bottom:24px}
.klima-visual-hotfix .gallery-section .case-block .image img{width:100%;height:320px;object-fit:cover}
@media(max-width:767px){
 .klima-visual-hotfix .ab-counters .elementor-widget-wrap{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
 .klima-visual-hotfix .ab-counters .elementor-widget-counter{width:100%!important;min-width:0}
 .klima-visual-hotfix .ab-counters .elementor-counter-number-wrapper{font-size:44px!important;justify-content:center}
 .klima-visual-hotfix .ab-counters .elementor-counter-title{font-size:16px!important;line-height:1.4}
}
