/* Rich painted category images replace the original line icons. */
.illustrated-directory .category-tile{padding-top:9px;padding-bottom:12px;gap:4px;overflow:hidden;background:linear-gradient(135deg,#fffdf3fa,#f1deb5f2)}
.category-tile .tile-icon{display:block;position:relative;width:70%;height:auto;aspect-ratio:1;max-width:108px;flex-shrink:0;background-image:url('/accanto-a-luisa/assets/category-paintings-v15.png');background-repeat:no-repeat;background-size:400% 200%;filter:drop-shadow(0 2px 2px #633d2033)}
.category-tile .tile-icon svg{display:none}
.category-tile:nth-child(1) .tile-icon{background-position:0 0}
.category-tile:nth-child(2) .tile-icon{background-position:33.333333% 0}
.category-tile:nth-child(3) .tile-icon{background-position:66.666667% 0}
.category-tile:nth-child(4) .tile-icon{background-position:100% 0}
.category-tile:nth-child(5) .tile-icon{background-position:0 100%}
.category-tile:nth-child(6) .tile-icon{background-position:33.333333% 100%}
.category-tile:nth-child(7) .tile-icon{background-position:66.666667% 100%}
.illustrated-directory .category-tile.active{background:linear-gradient(135deg,#a61f3c,#6b1027);color:#fff4d7}
.category-tile.active .tile-icon{filter:drop-shadow(0 1px 3px #ffdaa266)}
.category-tile .tile-label{font-style:normal;font-weight:500}
@media(max-width:700px){.illustrated-directory .category-tile{aspect-ratio:.78;padding:7px 2px 9px;gap:3px;justify-content:flex-start}.category-tile .tile-icon{width:77%;max-width:76px;margin-top:1px}.category-tile .tile-label{font-size:14px;line-height:1.08;max-width:12ch}}
@media(max-width:360px){.category-tile .tile-label{font-size:13px}.category-tile .tile-icon{width:75%}}
.illustrated-directory .category-tile{aspect-ratio:1}
@media(max-width:700px){.illustrated-directory .category-tile{aspect-ratio:.68}.category-tile .tile-icon{width:67%}}
