#kurse.block{

    .select-title {
        display: block;
        background: oklab(from var(--wp--preset--color--dark) l a b / 0.9) !important;
        backdrop-filter: blur(10px);
        color: #fff !important;
        border-radius: var(--wp--custom--border-radius);
        transition: var(--wp--custom--main-trans);
        font-weight: 600;
        border-color: var(--wp--preset--color--dark);


            &.show{
                border-bottom-left-radius: 0;
                border-bottom-right-radius: 0;
            }
        }

        .select-title::after {
            display: inline-block;
            content: "+";
            border: none;
        }
       
        .select-wrapper {
        position: relative;
        }
        .select-wrapper label {
        display: block;
        padding: 0.5em 0;
        border-bottom: var(--wp--custom--main-border)
        }
        .select-wrapper label input {
        margin: 0 0.5em 0 0;
        }
        .select-wrapper:last-child {
        border-bottom: none;
        }

    .multiselect-container {
        background: oklab(from var(--wp--preset--color--dark) l a b / 0.9);
        backdrop-filter: blur(10px);
        color: var(--wp--preset--color--light);
        transition: var(--wp--custom--main-trans);
        z-index: 10;
        opacity: 0;
        display: block;
        pointer-events: none;
        width: 100%;
        border-radius: 0;
        border-bottom-left-radius: var(--wp--custom--border-radius);
        border-bottom-right-radius: var(--wp--custom--border-radius);
    }
    .show + .multiselect-container {
        opacity: 1;
        pointer-events: all;
    }
    
    #filter {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--wp--preset--spacing--30);

        position: sticky;
        top: 90px;
        z-index: 1000;
    }
    #filter:before {
    display: none;
    }
    #filter .info {
    grid-column: 1 / -1;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 0.5em;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    }
    #filter .info div {
    width: 100%;
    }
    #filter .info span {
    cursor: pointer;
    background: oklab(from var(--wp--preset--color--dark) l a b / 0.9);
    backdrop-filter: blur(10px);
    font-size: .8rem;;
    color: var(--wp--preset--color--light);
    padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
    border-radius: var(--wp--custom--border-radius);
    display: block;
    box-shadow: var(--wp--custom--box-shadow);
    }
    #filter .info span.Fachbereich {
    --tint: var(--wp--preset--color--dark);
    }
    #filter .info span.Abschluss {
    --tint: var(--wp--preset--color--dark);
    }
    #filter .info span.Studiendauer {
    --tint: var(--wp--preset--color--dark);
    }
    #filter .info span::after {
    content: "\00d7";
    background: var(--wp--preset--color--light);
    color: var(--tint);
    margin-left: 0.25em;
    float: right;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    line-height: 1;
    margin: 0.2em 0 0 0.4em;
    }

    @media screen and (max-width: 767px) {
    #filter {
        grid-template-columns: 1fr;
        position: relative;
            top: auto;
            z-index: 10;
    }
    }


    .kurswrapper{
         display: flex;
        gap: var(--wp--preset--spacing--30);
    }


    article{
        overflow: hidden;
        border-radius: var(--wp--custom--border-radius);
        background: var(--wp--preset--color--mid);
        transition: var(--wp--custom--main-trans);
        

        figure{
            margin: 0;
            aspect-ratio: 4 / 3;
            height: auto;
            width: 100%;
            overflow: hidden;
            position: relative;

            img{
                object-fit: cover;
                width: 100%;
                height: 100%;
                 transition: var(--wp--custom--main-trans);
            }

            figcaption{
                position: absolute;
                top: var(--wp--custom--border-radius);
                left: 0;
                color: var(--wp--preset--color--light);
                backdrop-filter: blur(10);
                background-color:rgba(0, 0, 0, .5);
                padding: .5rem;
                border-top-right-radius: var(--wp--custom--border-radius);
                border-bottom-right-radius: var(--wp--custom--border-radius);
                font-size: .8rem;
            }
        }

        .content{
            padding: var(--wp--preset--spacing--30);
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            @media screen and (max-width: 767px) {
                height: auto !important;
            }

            h3{
                 margin-bottom: 3rem;
                  text-wrap: balance;
            }

            .meta{
                display: flex;
                gap: var(--wp--preset--spacing--10);
                font-size: 1rem;

                border-bottom: var(--wp--custom--main-border);
                border-color: var(--wp--preset--color--dark);
                padding-top: .5rem;
                padding-bottom: .5rem;


                &:last-of-type{
                    border-bottom: 0px;
                    margin-bottom: 2rem;
                }

                span{

                    &:first-of-type{
                        min-width: 15ch;
                    }
                    

                    p{
                        margin-bottom: 0;
                    }
                }
            }

            a{
                display: block;
                height: auto;
                font-size: 1rem;
                margin-bottom: 1rem;
                background: var(--wp--preset--color--dark);

                &:hover{
                    background-color: var(--wp--preset--color--accent);
                }

                &:last-of-type{
                    margin-bottom: 0;
                }
            }
        }

        &:hover{
            box-shadow: var(--wp--custom--box-shadow);

            figure{
                img{
                    scale: 1.1;
                }
            }
        }

    }

}