.widget-project-list .filter-wrapper label {
    display: none;
    border-radius: 27px;
    background: rgb(64 64 65 / 8%);
    padding: 17px 50px 14px;
    font-weight: bold;
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    color: #f2602d;
    position: relative;
}
.widget-project-list .filter-wrapper label:after {
    content: "";
    background: url(../images/arr-select.svg) no-repeat center;
    position: absolute;
    right: 36px;
    top: 23px;
    width: 10px;
    height: 9px;
}
.widget-project-list .filter-wrapper label.open:after {
    transform: rotate(180deg);
}

.post-inner {
    animation: zoom-in 0.2s;
}

.post-inner.out {
    animation: zoom-out 0.2s;
    opacity: 0;
}

.project-pagination {
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
}

.project-pagination .page-numbers {
    text-decoration: none;
    margin: 0 5px;
}

.project-pagination .page-numbers.current {
    font-weight: 700;
}

@media (max-width: 767px) {
    .widget-project-list .filter-wrapper {
        margin-bottom: 44px;
        position: relative;
    }

    .widget-project-list .filter-wrapper label {
        display: block;
    }

    .widget-project-list .filter {
        display: none;
        margin: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1;
        background: #fff;
        padding: 10px 10px 20px;
    }

    .widget-project-list .filter .category {
        width: 100%;
        display: block;
        background: transparent;
    }
}

.posts .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    margin-bottom: 92px;
    position: relative;
}
.posts .row:last-child {
    margin-bottom: 31px;
}
.posts .layout-0 .post {
    width: 33.309%;
    padding: 0 10px;
}
.posts .layout-0 .post:not(:first-child) {
    width: 66.691%;
    margin-top: 160px;
}
.filter {
    margin: 0px 0 96px;
}
.posts .post-thumb .read-more-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    font-weight: bold;
    font-size: 18px;
    line-height: 23px;
    text-align: center;
    color: #fff;
}
.posts .post-thumb {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #f4f4f4;
    display: flex;
}
.posts .post-thumb img {
    width: 100%;
    height: auto;
}
.posts .content .title {
    font-weight: bold;
    font-size: 20px;
    line-height: 27px;
    color: #404041;
}
.posts .content .meta {
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #404041;
    margin-top: 3px;
}
.posts a {
    text-decoration: none;
}
.posts .content {
    margin-top: 26px;
}
.posts .post .post-inner:hover .content .title {
    color: var(--e-global-color-secondary);
}
.posts .post .post-inner:hover .post-thumb .read-more-label {
    opacity: 1;
}
.posts .post .post-inner .post-thumb:before {
    content: "";
    background: rgba(0, 0, 0, 0.61);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.posts .post .post-inner:hover .post-thumb:before {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}
.posts .layout-3 .post {
    width: 100%;
    padding: 0 10px;
}
.spinner {
    display: none;
    text-align: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 999;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--e-global-color-1d67ff9);
    font-weight: 500;
}
.posts .layout-4 .post {
    width: 66.691%;
    padding: 0 10px;
}
.posts .layout-4 .post:first-child {
    margin-top: 139px;
}
.posts .layout-4 .post:last-child {
    width: 33.309%;
}
.posts .layout-2 .post {
    width: 50%;
    padding: 0 10px 0 8px;
}
.posts .layout-2 .post:first-child {
    width: calc(50% + 70px);
    padding-left: 10px;
    padding-right: 8px;
    margin-left: -70px;
}
.posts .layout-1 .post:first-child .post-thumb {
    margin-left: calc((1364px / 2 - 50vw));
}

.posts .layout-1 .post:last-child .post-thumb {
    margin-right: calc((1364px / 2 - 50vw));
}
.posts .layout-1 .post:first-child {
    padding-left: 10px;
    padding-right: 8px;
}
.posts .layout-1 .post {
    width: 50%;
    padding: 0 10px 0 8px;
}
.posts .row.layout-1 {
    margin-bottom: 140px;
}
.posts .layout-2 .post:nth-child(2) {
    margin-top: 250px;
}
.widget-project-list .load-more {
    text-align: center;
    font-weight: bold;
    font-size: 29px;
    line-height: 61px;
    color: var(--e-global-color-4c05ced);
    position: relative;
    width: max-content;
    margin: 0 auto 37px;
}
.widget-project-list .load-more .overlay-text {
    color: var(--e-global-color-secondary);
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    white-space: nowrap;
    overflow: hidden;
}
.widget-project-list.loading-more .load-more .overlay-text {
    animation: loading linear 0.4s;
    -webkit-animation: loading linear 0.4s;
}
.posts .row.layout-2 {
    margin-bottom: 105px;
    justify-content: flex-end;
}
.posts .layout-2 .post:nth-child(2):before {
    content: "";
    background: url(../images/bkg-projectsud_hc.png) no-repeat center;
    position: absolute;
    left: calc((1385px / 2 - 50vw));
    bottom: -155px;
    width: 968px;
    height: 373px;
    z-index: -1;
}
.posts .layout-2 .post:nth-child(2):after {
    content: "";
    background: url(../images/bkg-projectsud_c.png) no-repeat center;
    position: absolute;
    right: calc((1385px / 2 - 50vw));
    top: -124px;
    width: 385px;
    height: 442px;
    z-index: -1;
}
.posts .layout-2 .post:nth-child(3) {
    margin-top: 36px;
    width: 70%;
    margin-right: auto;
}
h1.entry-title {
    text-align: center;
    text-transform: uppercase;
}
.widget-project-list .not-found {
    display: none;
}
.spinner.show {
    display: flex;
}
.spinner svg {
    animation: spin linear 1s infinite reverse;
    -webkit-animation: spin linear 1s infinite reverse;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframe spin {
    from {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}
@media only screen and (max-width: 1600px) {
    .posts .layout-1 .post:first-child .post-thumb {
        margin-left: calc((1136px / 2 - 50vw));
    }
    .posts .layout-1 .post:last-child .post-thumb {
        margin-right: calc((1136px / 2 - 50vw));
    }
    .posts .layout-2 .post:nth-child(2) {
        margin-top: 120px;
    }
    .posts .layout-2 .post:first-child {
        width: 50%;
        margin-left: 0;
    }
    .filter {
        margin: 0px 0 71px;
    }
    .posts .layout-2 .post:nth-child(2):before {
        left: calc((1156px / 2 - 50vw));
        bottom: -105px;
        width: 714px;
        height: 275px;
        background: url(../images/bkg-projectsud_hc136.png) no-repeat center;
    }
    .posts .layout-2 .post:nth-child(2):after {
        right: calc((1156px / 2 - 50vw));
        top: -124px;
        width: 228px;
        height: 262px;
        background: url(../images/bkg-projectsud_c136.png) no-repeat center;
    }
}
@media only screen and (max-width: 1599px) {
    .posts .layout-2 .post:first-child {
        width: 50%;
        margin-left: 0px;
    }
}
@media only screen and (max-width: 1350px) {
    .posts .row.layout-2 {
        margin-bottom: 50px;
    }
    .posts .row,
    .posts .row.layout-1 {
        margin-bottom: 60px;
    }
    .posts .layout-2 .post:nth-child(2):before {
        bottom: -50px;
    }
}
@media only screen and (max-width: 1208px) {
    .posts .layout-1 .post:first-child .post-thumb {
        margin-left: -36px;
    }
    .posts .layout-1 .post:last-child .post-thumb {
        margin-right: -36px;
    }
    .posts .layout-2 .post:nth-child(3) .post-thumb {
        margin-right: -36px;
    }
    .posts .layout-2 .post:nth-child(2) {
        margin-top: 80px;
    }
    .posts .layout-2 .post:nth-child(2):before {
        display: none;
    }
    .posts .layout-2 .post:nth-child(2):after {
        right: -36px;
        background: url(../images/bkg-project-mb.png) no-repeat center;
        top: -100px;
        width: 137px;
        height: 156px;
    }
    .posts .layout-2 .post:nth-child(2) {
        position: relative;
    }
}
@media only screen and (max-width: 1023px) {
    .posts .layout-0 .post:last-child {
        margin-top: 70px;
    }
    .posts .layout-2 .post:nth-child(2) {
        margin-top: 50px;
    }
    .posts .layout-4 .post:first-child {
        margin-top: 50px;
    }
    .posts .row,
    .posts .row.layout-2,
    .posts .row.layout-1 {
        margin-bottom: 60px;
    }
}
@media only screen and (max-width: 767.98px) {
    .posts .layout-0 .post,
    .posts .layout-0 .post:last-child,
    .posts .layout-1 .post:first-child,
    .posts .layout-1 .post,
    .posts .layout-2 .post:first-child,
    .posts .layout-2 .post,
    .posts .layout-4 .post,
    .posts .layout-4 .post:last-child {
        width: 100%;
    }
    .posts .layout-2 .post:nth-child(3) {
        margin-top: 0;
    }
    .posts .row .post {
        margin-top: 0;
        margin-bottom: 32px;
    }
    .posts .row,
    .posts .row.layout-2,
    .posts .row.layout-1 {
        margin-bottom: 0;
    }
    .posts .layout-4 .post:first-child {
        margin-top: 0;
    }
    .posts .layout-2 .post:nth-child(2) {
        margin-top: 0;
    }
    .posts .layout-0 .post:last-child {
        margin-top: 0;
    }
    .posts .content .title {
        font-size: 18px;
        line-height: 20px;
    }
    .posts .content {
        margin-top: 23px;
    }
    .posts .content .meta {
        font-size: 16px;
        line-height: 22px;
        margin-top: 5px;
    }
    .widget-project-list .load-more {
        font-size: 18px;
        line-height: 38px;
        margin: 0 auto 42px;
    }
    .posts .row:last-child {
        margin-bottom: 5px;
    }
    .posts .layout-2 .post:nth-child(3) {
        width: 85%;
    }
}
@media only screen and (max-width: 374px) {
    .widget-project-list .filter-wrapper label {
        padding: 17px 35px 14px;
    }
    .widget-project-list .filter-wrapper label:after {
        right: 20px;
    }
}

@keyframes zoom-in {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoom-out {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.3);
    }
}

@keyframes loading {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@-webkit-keyframes loading {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
