.category-list .categories-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:30px;margin:30px 0}.category-list .category-item{border:1px solid #ddd;background-color:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 5px rgba(0,0,0,.05);transition:transform .3s,box-shadow .3s;position:relative;overflow:hidden}.category-list .category-item:hover{transform:translateY(-5px);box-shadow:0 8px 15px rgba(0,0,0,.1)}.category-list .category-item h2{margin-top:0;margin-bottom:15px;font-size:22px;border-bottom:2px solid #f0f0f0;padding-bottom:10px}.category-list .category-item h2 a{text-decoration:none;color:#333}.category-list .category-item h2 a:hover{color:#0073aa}.category-list .category-description{margin:15px 0;font-size:.9em;color:#555;line-height:1.5}.category-list .post-count{display:inline-block;background:#f5f5f5;color:#666;padding:4px 12px;border-radius:20px;font-size:.8em;font-weight:500;margin-top:10px}.category-list .subcategories{margin-top:20px;padding-top:15px;border-top:1px dashed #eee}.category-list .subcategories h3{font-size:16px;margin-bottom:10px;color:#555}.category-list .subcategories ul{margin-left:0;padding-left:20px;list-style-type:disc}.category-list .subcategories li{margin-bottom:5px}@media (max-width:768px){.category-list .categories-container{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}@media (max-width:480px){.category-list .categories-container{display:block}.category-list .category-item{margin-bottom:20px}}