.li-widgets--projects {
    .li-widgets--projects-footer {
        display: flex;
        justify-content: space-between;
        margin: 0 100px;

        .li-widgets--projects-controls {
            display: flex;
        }
    }

    .li-widgets--projects-filter {
        display: flex;
        justify-content: center;
        padding: 0 0 80px 0;
        font-family: 'Poppins', sans-serif;
    }

    .li-widgets--projects-filter__item {
        display: block;
        text-transform: uppercase;
        line-height: 18px;
        letter-spacing: 0.46px;
        font-size: 22px;
        color: var(--e-global-color-text);
        background-color: var(--e-global-color-45371e3c);
        font-weight: 400;
        margin: 0 15px;
        border: 1px solid var(--e-global-color-accent);
        padding: 25px 45px 25px 45px;
        min-width: 300px;
        text-align: center;
        cursor: pointer;
    }

    .li-widgets--projects-filter__item.active {
        background: var(--e-global-color-accent);
        color: #fff;
        font-weight: 300;
    }

    .li-widgets--project-thumbnail img {
        width: 100%;
    }

    .li-widgets--project-title {
        font-size: 25px;
        font-family: 'Poppins', sans-serif;
        padding: 8px 0 0 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #000 !important;
    }

    .li-widgets--project-place {
        font-size: 16px;
        font-family: 'Poppins', sans-serif;
        padding: 7px 0 6px 26px;
        margin-bottom: 5px;
        background: url('/wp-content/uploads/2025/06/icon-standort.svg') 4px center no-repeat;
        background-size: 12px !important;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #000 !important;
    }

    .li-widgets--project-due-date {
        padding: 5px 0 10px 5px;
        font-weight: 600;
    }

    .li-widgets--project--link {
        display: block;
        width: 100%;
        padding: 5px 0 10px 5px;
        font-size: 15px;
        font-family: 'Poppins', sans-serif;
        text-transform: uppercase;
        letter-spacing: 0.46px;
        font-weight: 400;
        border-bottom: 1px solid #999999;
        color: #000;
        opacity: .6;
        transition: opacity .4s;
        position: relative;
    }

    .li-widgets--project--link::after {
        content: "";
        position: absolute;
        width: 9px;
        height: 9px;
        border-bottom: 1.5px solid #000;
        border-right: 1.5px solid #000;
        transform: rotate(-45deg);
        top: 18px;
        right: 6px;
        opacity: 1;
        transition: opacity .4s, right .4s;
    }

    .li-widgets--project--link:hover {
        opacity: 1;
    }

    .li-widgets--project--link:hover::after {
        opacity: 1;
        right: 10px;
    }


    .li-widgets--projects-footer {
        padding: 100px 60px 0 60px;
        font-size: 25px;
        display: flex;
        justify-content: space-between;
        margin: 0 auto !important;
        width: 1400px;
        max-width: 100%;
    }


    .li-widgets--projects-footer .swiper-pagination {
        position: relative !important;
    }

    .li-widgets--projects-controls {
        width: 160px;
        justify-content: space-between;
        font-size: 16px;
        text-transform: uppercase;
        color: #000000;
    }

    .swiper-prev, .swiper-next {
        position: relative;
        z-index: 20;
        padding: 0 10px;
        cursor: pointer;
        opacity: .57;
        transition: opacity .4s;
    }

    .swiper-prev:hover, .swiper-next:hover {
        opacity: 1;
    }

    .swiper-prev::before {
        content: "";
        position: absolute;
        width: 14px;
        height: 14px;
        border-bottom: 1.5px solid #000;
        border-right: 1.5px solid #000;
        transform: rotate(135deg);
        top: 9px;
        left: -10px;
    }

    .swiper-next::before {
        content: "";
        position: absolute;
        width: 14px;
        height: 14px;
        border-bottom: 1.5px solid #000;
        border-right: 1.5px solid #000;
        transform: rotate(-45deg);
        top: 9px;
        right: -10px;
    }

    @media (min-width: 768px) and (max-width: 1400px) {
        .li-widgets--projects-footer {
            width: 100% !important;
            padding: 100px 60px 0 60px;
        }
    }

    @media (max-width: 1024px) {
        .li-widgets--projects-filter {
            padding: 0 0 80px 0;
        }

        .li-widgets--projects-filter__item {
            line-height: 18px;
            letter-spacing: 0.46px;
            font-size: 20px;
            padding: 25px 35px 25px 35px;
            min-width: 280px;
        }

        .li-widgets--project-title {
            font-size: 20px;
        }

        .li-widgets--project-place {
            font-size: 14px;
            padding: 6px 0 5px 24px;
        }

        .li-widgets--project--link {
            padding: 5px 0 10px 5px;
            font-size: 14px;
        }

        .li-widgets--project-due-date {
            padding: 5px 0 10px 5px;
        }
    }

    @media (min-width: 768px) and (max-width: 1200px) {
        .li-widgets--projects-filter__item {
            font-size: 17px;
            padding: 20px 28px;
            min-width: 220px;
        }
    }


    @media (max-width: 767px) {
        .li-widgets--projects-filter {
            flex-wrap: wrap;
            padding: 0 0 40px 0;
        }

        .li-widgets--projects-filter__item {
            width: 100%;
            max-width: 240px;
            margin-bottom: 20px;
            line-height: 18px;
            letter-spacing: 0.46px;
            font-size: 17px;
            padding: 17px 30px 17px 30px;
            min-width: 280px;
        }

        .li-widgets--projects-footer {
            width: 100% !important;
            flex-wrap: wrap;
            padding: 60px 20px 0 20px;
            align-items: center;
        }

        .li-widgets--projects-footer > div {

        }

        .swiper-pagination {
            font-size: 16px;
            padding-top: 12px;
        }

        .li-widgets--project-title {
            font-size: 18px;
        }

        .li-widgets--project-place {
            font-size: 13px;
            padding: 6px 0 5px 24px;
        }

        .li-widgets--project--link {
            padding: 5px 0 5px 5px;
            font-size: 13px;
        }

        .li-widgets--projects-controls {
            font-size: 13px;
            width: 150px;
        }

        .swiper-next::before {
            top: 8px;
            width: 10px;
            height: 10px;
            border-bottom: 1.5px solid #000;
            border-right: 1.5px solid #000;
            right: -5px;
        }

        .swiper-prev::before {
            top: 8px;
            width: 10px;
            height: 10px;
            border-bottom: 1.5px solid #000;
            border-right: 1.5px solid #000;
            left: -5px;
        }

    }
}

.li-widgets--project-thumbnail img { height: 350px;
    object-fit: cover !important; }

@media (min-width: 768px) and (max-width: 1024px) {
    .li-widgets--project-thumbnail img {height: 325px;}
}

@media (max-width: 767px) {
    .li-widgets--project-thumbnail img {height: 305px;}
}
