/* Kategoriebaum: Grundlayout und erste Ebene. */
.cms-element-wecotec-category-tree__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cms-element-wecotec-category-tree__link {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 0;
    color: #999;
    font-weight: bold;
    letter-spacing: 0.07em;
    line-height: 1.5em;
    text-decoration: none;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.cms-element-wecotec-category-tree__link:hover,
.cms-element-wecotec-category-tree__link:focus-visible,
.cms-element-wecotec-category-tree__link.is--active {
    color: #000;
    text-decoration: none;
}

.cms-element-wecotec-category-tree__link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.cms-element-wecotec-category-tree__arrow {
    display: inline-block;
    margin-left: 10px;
    line-height: 1;
}

/* Unterebenen: eingerückt, ohne Großschreibung und Laufweite. */
.cms-element-wecotec-category-tree__list.is--nested {
    padding-left: 20px;
}

.cms-element-wecotec-category-tree__list.is--nested .cms-element-wecotec-category-tree__link {
    padding: 5px 0;
    letter-spacing: 0;
    text-transform: none;
}

/* Strukturkategorien lassen sich ohne JavaScript aufklappen. */
.cms-element-wecotec-category-tree summary {
    cursor: pointer;
    list-style: none;
}

.cms-element-wecotec-category-tree summary::-webkit-details-marker {
    display: none;
}

.cms-element-wecotec-category-tree details[open] > summary {
    color: #000;
}
