/* Selected home catalog design: classic. Enabled on the home page by header.php. */
.mz-home .home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0;padding:0;list-style:none}
.mz-home .home-category-grid__item{width:auto;max-width:none;margin:0;min-width:0}
.mz-home .home-category-grid__item:before{display:none!important}
.mz-home .home-category-grid__link{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:stretch;height:100%;padding:20px;border:1px solid #e1e9f0;border-radius:10px;background:#fff;text-decoration:none!important;transition:border-color .18s,box-shadow .18s}
.mz-home .home-category-grid__link:hover,.mz-home .home-category-grid__link:focus-visible{border-color:#77bee9;box-shadow:0 5px 20px #0083d10c}
.mz-home .home-category-grid__link:focus-visible{outline:2px solid #0083d1;outline-offset:3px}
.mz-home .home-category-grid__link:after{content:'↗';position:absolute;right:18px;bottom:20px;color:#0083d1;font:18px/1.4 Arial,sans-serif}
.mz-home .home-category-grid__img,.mz-home .home-category-grid__item:hover .home-category-grid__img{display:block;width:100%;max-width:170px;height:130px;aspect-ratio:auto;object-fit:contain;margin:0 auto 18px;border-radius:0;background:transparent;box-shadow:none}
.mz-home .home-category-grid .home-category-grid__title,.mz-home .home-category-grid__item:hover .home-category-grid__title{display:block;overflow:visible;-webkit-line-clamp:unset;max-height:none;margin:0;padding-right:20px;font:500 17px/1.4 Arial,sans-serif!important;text-align:left!important;color:#173a53!important;hyphens:none;overflow-wrap:break-word}
@media(min-width:768px) and (max-width:991px){.mz-home .home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 .mz-home .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
 .mz-home .home-category-grid__link{padding:14px}
 .mz-home .home-category-grid__img,.mz-home .home-category-grid__item:hover .home-category-grid__img{height:96px;max-width:130px;margin-bottom:14px}
 .mz-home .home-category-grid .home-category-grid__title{font-size:16px!important}
 .mz-home .home-category-grid__link:after{right:12px;bottom:14px}
}
