/* Scoped homepage decoration: the existing cards, text and CMS markers remain intact. */
.home-pathways>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);column-gap:clamp(24px,4vw,54px);row-gap:30px;align-items:stretch}
.home-pathways>div>.text-center{grid-column:1/-1;grid-row:1}
.home-pathways>div::before{content:"";display:block;grid-row:2;grid-column:1;min-width:0;background:url('/assets/home-trattamenti-mandala.webp') center/contain no-repeat;-webkit-mask-image:linear-gradient(to bottom,transparent,black 14%,black 86%,transparent),linear-gradient(to right,transparent 8%,black 22%,black 68%,transparent 92%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,transparent,black 14%,black 86%,transparent),linear-gradient(to right,transparent 8%,black 22%,black 68%,transparent 92%);mask-composite:intersect;pointer-events:none}
.home-pathways .category-grid{grid-column:2;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:0;min-width:0}
.home-pathways .category-card{padding:22px 28px;min-height:156px;min-width:0}
.home-pathways .category-card h3{margin-top:6px}
.home-pathways .category-card p{margin-top:8px}
.home-pathways .category-card .arrow{margin-top:14px;display:inline-block}
#corsi.home-pathways>div{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
#corsi.home-pathways>div::before{grid-column:2;background-image:url('/assets/home-corsi-mandala.webp')}
#corsi.home-pathways .category-grid{grid-column:1}
@media(max-width:767px){
 .home-pathways{padding-top:44px;padding-bottom:44px}
 .home-pathways>div,#corsi.home-pathways>div{display:flex;flex-direction:column;gap:18px}
 .home-pathways>div::before{flex:none;height:146px;width:100%;background-size:auto 340px;background-position:center 48%;-webkit-mask-image:radial-gradient(ellipse 58% 72% at center,black 28%,transparent 80%);mask-image:radial-gradient(ellipse 58% 72% at center,black 28%,transparent 80%)}
 .home-pathways .category-grid{width:100%;gap:12px}
 .home-pathways .category-card{padding:22px;min-height:152px}
}
