
        .wd-cats-element .wd-cat-thumb {
            display: flex;
            align-items: stretch;
            width: 100%;
            max-width: none !important;
            flex: 0 0 100%;
            height: 124px;
            min-height: 124px;
            margin: 0 0 12px !important;
        }

        .wd-cats-element .wd-cat-image {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            overflow: hidden;
            border: 1px solid #dce8df;
            border-radius: 18px;
            background: #f6f8f4;
        }

        .wd-cats-element .wd-cat-image img {
            display: block;
            width: 100%;
            height: 100%;
            padding: 10px;
            object-fit: contain;
            object-position: center;
        }

        /* The carousel uses one icon language for every subcategory. */
        .wd-cats-element .wd-cat-image > img {
            display: none !important;
        }

        .wd-cats-element .matras-category-fallback {
            display: grid;
            place-items: center;
            width: 100%;
            height: 100%;
            background: linear-gradient(145deg, #f7faf7 0%, #edf5ee 100%);
        }

        .wd-cats-element .matras-category-fallback svg {
            display: block;
            width: 76px;
            height: 76px;
        }

        .wd-cats-element .wd-cat-content {
            display: flex;
            min-height: 68px;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            text-align: center;
        }

        .wd-cats-element .wd-cat-content .wd-entities-title {
            display: -webkit-box;
            min-height: 54px;
            margin: 0;
            overflow: hidden;
            color: #274b3d;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.3;
            white-space: normal !important;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
        }

        .wd-cats-element .wd-cat-content .wd-cat-count {
            margin-top: 5px;
            color: #789083;
            font-size: 12px;
            line-height: 1.2;
        }

        .wd-cats-element .wd-cat-content .wd-cat-count a {
            color: inherit;
        }

        .wd-cats-element .wd-cat:hover .wd-cat-image,
        .wd-cats-element .wd-cat:focus-within .wd-cat-image {
            border-color: #9fbea8;
            box-shadow: 0 8px 18px rgba(31, 91, 72, .10);
        }

        @media (max-width: 767px) {
            .wd-cats-element .wd-cat-thumb {
                height: 104px;
                min-height: 104px;
                margin-bottom: 9px;
            }

            .wd-cats-element .wd-cat-image {
                border-radius: 14px;
            }

            .wd-cats-element .matras-category-fallback svg {
                width: 64px;
                height: 64px;
            }

            .wd-cats-element .wd-cat-content {
                min-height: 68px;
            }

            .wd-cats-element .wd-cat-content .wd-entities-title {
                font-size: 13px;
            }
        }
    