.category-card{cursor:pointer;transition:transform .22s ease,box-shadow .22s ease}
.category-card:focus-within{outline:none}
.category-card .arrow:focus:not(:focus-visible){outline:none}
.category-card.is-hovered,.category-card:focus-within{
 transform:translateY(-7px);
 box-shadow:0 14px 26px #07173726;
}
.category-card.is-hovered .arrow,.category-card:focus-within .arrow{background:var(--red);color:var(--cream)}
@media(any-hover:hover){
 .category-card:hover{transform:translateY(-7px);box-shadow:0 14px 26px #07173726}
 .category-card:hover .arrow{background:var(--red);color:var(--cream)}
}
@media(prefers-reduced-motion:reduce){
 .category-card{transition:none}
 .category-card:hover,.category-card.is-hovered,.category-card:focus-within{transform:none}
}

/* Mondo Svapo: stesso sollevamento, senza contorno del riquadro. */
.ms-home .ms-card{transition:transform .22s ease,box-shadow .22s ease}
.ms-home .ms-card:focus-within{outline:none}
.ms-home .ms-card.is-hovered,.ms-home .ms-card:focus-within{
 transform:translateY(-7px);
 box-shadow:0 14px 26px #07173726;
}
.ms-home .ms-card.is-hovered .ms-read{text-decoration:underline;text-underline-offset:4px}
@media(any-hover:hover){
 .ms-home .ms-card:hover{transform:translateY(-7px);box-shadow:0 14px 26px #07173726}
}
@media(prefers-reduced-motion:reduce){
 .ms-home .ms-card{transition:none}
 .ms-home .ms-card:hover,.ms-home .ms-card.is-hovered,.ms-home .ms-card:focus-within{transform:none}
}

/* Categoria cliccabile senza freccia o pulsante visibile. */
.category-card .category-link{position:absolute;inset:0;z-index:2;border-radius:inherit;color:inherit;text-decoration:none}
.category-card .category-link:focus:not(:focus-visible){outline:none}
.category-card .category-link:focus-visible{outline:3px solid var(--navy);outline-offset:-4px}
.category-card h3{margin-top:auto}
.category-card p{margin-bottom:auto}

.category-card-heated h3{font-size:clamp(25px,2.5vw,32px);line-height:1.08}
.category-card .heated-art{top:12px;bottom:12px;right:2%;width:41%;height:calc(100% - 24px);object-fit:contain;border-radius:8px;pointer-events:none}
@media(max-width:760px){.category-card-heated h3{font-size:27px}.category-card .heated-art{width:40%}}

/* Sette categorie: Lotto chiude la griglia con una riga completa. */
@media(min-width:761px){
 .category-grid .category-card-lotto{grid-column:1 / -1;padding-right:34%}
 .category-grid .category-card-lotto .category-art{width:28%;right:3%}
 .category-grid .category-card-lotto h3{font-size:32px;line-height:1.15}
 .category-grid .category-card-lotto p{max-width:none}
}
