/* Simple editorial category cards: title and illustration, one link per card. */
.home-catalog .section-heading{margin-bottom:26px}
.home-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.category-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:58px minmax(0,1fr);align-items:start;min-width:0;height:304px;padding:26px 24px 14px;border:1px solid transparent;border-radius:28px;overflow:hidden;background:#f3f5f8;color:#26354c;text-align:center;isolation:isolate;transition:background .2s,border-color .2s,box-shadow .2s}
.category-card:nth-child(3n+2){background:#f1f3f8}
.category-card:nth-child(3n){background:#f4f5f7}
.category-card h3{align-self:start;margin:0 auto;max-width:100%;font-size:23px;font-weight:600;line-height:1.26;letter-spacing:-.025em;text-wrap:balance;overflow-wrap:normal;word-break:normal}
.category-card-art{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:204px;margin:0;pointer-events:none}
.category-card-art img{display:block;width:100%;height:100%;max-width:290px;object-fit:contain;transition:transform .25s ease;filter:drop-shadow(0 10px 10px #3448680a)}
.category-card:hover{background:#eaf0fa;border-color:#c9d7ec;box-shadow:0 10px 24px #273e670a}
.category-card:hover .category-card-art img{transform:translateY(-3px) scale(1.035)}
.category-card:focus-visible{outline:3px solid #3559c7;outline-offset:4px;background:#eaf0fa}
.home-catalog .category-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.home-catalog .category-links a{display:inline-flex;align-items:center;min-height:46px;padding:10px 15px;font-size:15px;line-height:1.4}
@media(max-width:1100px){
 .home-categories{gap:16px}
 .category-card{height:286px;padding:23px 18px 12px;grid-template-rows:56px minmax(0,1fr);border-radius:26px}
 .category-card h3{font-size:21px}
 .category-card-art{height:192px}
}
@media(max-width:900px){
 .home-categories{grid-template-columns:repeat(2,minmax(0,1fr))}
 .category-card:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc((100% - 16px)/2)}
}
@media(max-width:600px){
 .home-catalog .section-heading{align-items:center;gap:14px;margin-bottom:20px}
 .home-catalog .section-heading h2{font-size:30px}
 .home-catalog .section-heading>.text-link{gap:8px;font-size:14px;white-space:nowrap}
 .home-categories{gap:12px}
 .category-card{height:240px;padding:20px 12px 10px;grid-template-rows:72px minmax(0,1fr);border-radius:24px}
 .category-card:last-child:nth-child(odd){width:calc((100% - 12px)/2)}
 .category-card h3{font-size:18px;line-height:1.25;letter-spacing:-.02em}
 .category-card-art{height:136px}
 .category-card-art img{max-width:none}
 .home-catalog .category-links{gap:8px;margin-top:18px}
 .home-catalog .category-links a{font-size:14px;min-height:44px;padding:10px 12px}
}
@media(max-width:350px){
 .home-categories{gap:10px}
 .category-card{height:226px;padding:18px 6px 10px;grid-template-rows:72px minmax(0,1fr);border-radius:22px}
 .category-card:last-child:nth-child(odd){width:calc((100% - 10px)/2)}
 .category-card-art{height:124px}
}
@media(prefers-reduced-motion:reduce){.category-card,.category-card-art img{transition:none}.category-card:hover .category-card-art img{transform:none}}
