.projects-wrapper {
    padding-top: 160px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 40%);
    margin-bottom: 100px;
}

.projects-single-page .projects-wrapper {
    margin-bottom: 0;
}

.projects-title {
    font-size: 64px;
    line-height: 100%;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: -4px;
}

.projects-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.projects-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.projects-controls__btn {
    background: #FFFFFF;
    padding: 16px;
    border-radius: 8px;
    color: #00000099;
    font-size: 16px;
    font-weight: 400;
    font-family: "eUkraine", sans-serif;
    cursor: pointer;
    line-height: 100%;
    transition: all .3s ease-in-out;
}

.projects-controls__btn.active,
.projects-controls__btn:hover {
    box-shadow: 0px 0px 24px 4px #FFFFFFCC inset;
    background: #CF141F;
    color: white;
}

.projects-search {
    width: 400px;
}

.projects-search::before {
    content: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.66732 14C11.1651 14 14.0007 11.1644 14.0007 7.66665C14.0007 4.16884 11.1651 1.33331 7.66732 1.33331C4.16951 1.33331 1.33398 4.16884 1.33398 7.66665C1.33398 11.1644 4.16951 14 7.66732 14Z' stroke='%238B9099' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.4942 15.9069C14.8847 16.2974 15.5179 16.2973 15.9084 15.9067C16.2988 15.5162 16.2988 14.883 15.9082 14.4925L14.4942 15.9069ZM13.041 11.6261L12.3338 10.9191L10.9198 12.3335L11.627 13.0405L13.041 11.6261ZM15.2012 15.1997L15.9082 14.4925L13.041 11.6261L12.334 12.3333L11.627 13.0405L14.4942 15.9069L15.2012 15.1997Z' fill='%238B9099'/%3E%3C/svg%3E%0A");
    height: 17px;
    width: 17px;
}

.projects {
    margin-top: 70px;
    display: none;
    gap: 15px;
    flex-wrap: wrap;
}

.projects.active {
    display: flex;
}


.projects-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    width: calc(33.3% - 15px);
    height: auto;
}
.projects-item .projects-item__info-wrapper {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}
.projects-item:hover {
    cursor: pointer;
}

.projects-item__logo {
    margin-bottom: 20px;
    width: fit-content;
    height: 40px;
    object-fit: contain;
    display: block;
}

.projects-item__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
}

.projects-item__subtitle {
    font-weight: 400;
    font-size: 14px;
    color: #00000099;
    word-wrap: break-word;
}

.projects-item__period {
    font-weight: 400;
    font-size: 14px;
    margin-top: auto;
    color: #00000080;
}

/*

Single

*/

.projects-single {
    display: flex;
    gap: 15px;
    margin-bottom: 200px;
}

.projects-single__left {
    width: 600px;
}

.projects-single__button {
    display: flex;
    align-items: center;
}

.projects-single__button-icon {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #C6CEDC;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.projects-single__button span {
    background: white;
    border: 1px solid #C6CEDC;
    border-radius: 100px;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
    margin-left: -10px;
    z-index: 1;
    position: relative;
}

.projects-single__right {
    width: 100%;
}

.projects-single__info {
    display: flex;
    font-size: 14px;
    color: #00000099;
    font-weight: 400;
    margin-bottom: 35px;
    align-items: center;
}

.projects-single__info span {
    margin-left: 12px;
}

.projects-single__info span::before {
    content: "•";
    padding-right: 12px;
}

.projects-single__title {
    line-height: 120%;
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 80px;
}

.projects-single__form-button {
    display: flex;
    width: fit-content;
    margin-bottom: 80px;
}

.projects-single__form-button::before {
    content: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.99988 0.813647L7.99988 14.7096M14.8269 8.5118L7.99988 15.1863L1.17285 8.5118' stroke='%23CF141F' stroke-width='2'/%3E%3C/svg%3E%0A");
}

.projects-single__other {
    background: white;
    padding: 64px 0;
}

.projects-single__other-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 100%;
    margin-bottom: 40px;
}

.projects-single__other-items {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.projects-single__other-items .projects-item {
    border: 1px solid #C6CEDC;
}


body.projects-single-page .footer::before {
    background: white;
}

@media (max-width: 768px) {
    .projects-wrapper {
        margin-bottom: 120px;
        padding-top: 120px;
    }
    .projects-controls {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        overflow: scroll;
        white-space: nowrap;
    }
    .projects-head {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .projects-search {
        width: 100%;
    }
    .projects {
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
    }
    .projects-item {
        width: 100%;
    }
    .projects-title {
        font-size: 40px;
        text-align: center;
    }
    .projects-item__title, .projects-item__subtitle {
        font-size: 14px;
    }
    .projects-single {
        display: flex;
        flex-direction: column;
    }
    .projects-single__left {
        width: 100%;
    }
    .projects-single__button span {
        display: none;
    }
    .projects-single__title {
        font-size: 32px;
    }
    .projects-single__content p,
    .projects-single__content ul li {
        max-width: 100%;
        font-size: 16px;
    }
    .projects-single__content p:not(:last-child) {
        margin-bottom: 10px;
    }
    .projects-single__content p strong {
        color: black;
    }
    .projects-single__content ul {
        max-width: 100%;
    }
    .projects-single__content img {
        margin: 0;
        height: 253px;
    }
}