/*
 * ============================================================
 * FILTER
 * ============================================================
 */

.filter {
    margin-bottom: 30px;

    padding: 20px;

    background: #f0ece4;

    border: 1px solid #d5cec1;

    border-radius: 7px;
}


.filter-title {
    margin-bottom: 6px;

    color: #3d3933;

    font-weight: 700;
}


.filter-info {
    margin-bottom: 15px;

    color: #837b70;

    font-size: 0.88rem;

    line-height: 1.6;
}


.filter-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 15px;
}


.filter-actions a {
    display: inline-block;

    padding: 8px 15px;

    background: #eee9df;

    border: 1px solid #d5cec1;

    border-radius: 7px;

    color: #514b43;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 0.82rem;

    font-weight: 600;

    line-height: 1.25;

    text-decoration: none;

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}


.filter-actions a:hover {
    color: #292621;

    background: #e4ddd1;

    border-color: #bdb4a6;

    transform: translateY(-1px);
}


.topic-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.topic-button {
    display: inline-block;

    padding: 8px 15px;

    background: #eee9df;

    border: 1px solid #d5cec1;

    border-radius: 7px;

    color: #514b43;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 0.82rem;

    font-weight: 600;

    line-height: 1.25;

    text-decoration: none;

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}


.topic-button:hover {
    color: #292621;

    background: #e4ddd1;

    border-color: #bdb4a6;

    transform: translateY(-1px);
}


.topic-button.active {
    background: #e1e6dc;

    border-color: #b8c7b1;

    color: #4e5949;

    font-weight: 700;
}


/*
 * ============================================================
 * KATEGORIE
 * ============================================================
 */

.topic {
    margin-bottom: 30px;

    padding: 22px;

    background: #f7f4ee;

    border: 1px solid #ddd5c8;

    border-radius: 7px;

    box-shadow: none;
}


.topic-title {
    margin: 0 0 15px;

    color: #3d3933;

    font-size: 1.65rem;

    font-weight: 700;

    line-height: 1.3;

    letter-spacing: -0.01em;
}


/*
 * ============================================================
 * ITEM-LISTE
 * ============================================================
 */

.item-list {
    margin: 0;

    padding: 0;

    list-style: none;

    border-top: 1px solid #ddd5c8;
}


.item-list li {
    margin: 0;

    padding: 0;

    border-bottom: 1px solid #ddd5c8;
}


.item-list a {
    display: block;

    padding: 12px 4px;

    color: #685b4b;

    font-size: 1.05rem;

    line-height: 1.6;

    text-decoration:
        underline;

    text-decoration-color: #b8a991;

    text-decoration-thickness: 1px;

    text-underline-offset: 3px;

    transition:
        color 0.18s ease;
}


.item-list a:hover {
    color: #302a23;
}


/*
 * ============================================================
 * LEER
 * ============================================================
 */

.empty {
    padding: 25px;

    background: #f0ece4;

    border: 1px solid #d5cec1;

    border-radius: 7px;

    color: #837b70;

    line-height: 1.6;

    text-align: center;
}


/*
 * ============================================================
 * RESPONSIVE
 * ============================================================
 */

@media (max-width: 700px) {

    body {
        padding: 26px 12px;
    }


    .container {
        width: 100%;
    }


    .header {
        margin-bottom: 25px;
    }


    h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }


    .intro {
        font-size: 1.05rem;
    }


    .filter,
    .topic {
        padding: 18px;
    }


    .filter-actions a,
    .topic-button {
        padding: 7px 11px;

        font-size: 0.78rem;
    }


    .topic-title {
        font-size: 1.45rem;
    }


    .item-list a {
        font-size: 1rem;
    }

}
