/*.s-filter-news {*/
/*    margin-bottom: 20px;*/
/*}*/

.filter-tags {
    display: flex;
    gap: 5px;
}

.filter-section,
.filter-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 15px 0 0 0;
}

.filter-body {
    display: flex;

    justify-content: space-between;
}

.filter-tag-button:has(input:checked),
.filter-tag-button:hover {
    background-color: black;
    color: white;
}

#filterReset {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: color .15s
    ease-in-out, background-color .15s
    ease-in-out, border-color .15s
    ease-in-out, box-shadow .15s
    ease-in-out;
}

.filter-search {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 440px;
    position: relative;
}

.filter-search input {
    width: 100%;
    max-width: 400px;
    padding-right: 50px;
}

.filter-search input::placeholder {
    color: grey;
}

.filter-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 2px;
    outline: none;
    position: absolute;
    top: 1px;
    right: 1px;
    height: calc(100% - 2px);
    width: 40px;
    border: none;
    opacity: .4;
    transition: 0.25s;
}

.filter-search-button:hover {
    opacity: 1;
}

.filter-search .icon {
    width: 24px;
    height: 24px;
}

.filter-search-clean,
.tag-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: 0.25s;
    background-color: transparent;
    pointer-events: none;
}

/*.tag-close .icon {*/
/*    width: 18px;*/
/*    min-width: 18px;*/
/*    height: 18px;*/
/*    min-height: 18px;*/
/*    fill: black;*/
/*    stroke: black;*/
/*    stroke-width: 1px;*/
/*    margin-left: 10px;*/
/*}*/

.filter-tag-button:has(input:checked) .tag-close {
    display: flex;
    color:white;
    float:right;
    padding: 5px 0px 0px 9px;
}

.filter-search-clean.active {
    display: flex;
    width: 40px;
    height: 100%;
    cursor: pointer;
    pointer-events: auto;
    opacity: .4;
    transition: 0.25s;
}

.filter-search-clean.active:hover {
    opacity: 1;
}

.active-all,
#filterReset:hover {
    background-color: black;
    color: white;
}

@media (max-width: 500px) {
    .filter-tags {
        gap: 2px;
        flex-wrap: wrap;
        flex-direction: row;
    }
}
