﻿.top-project-h .top-cef-home {
    text-align: left;
    margin: 0;
}

.top-project-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    padding-bottom: 25px;
}

.r-project-link-h a {
    display: flex;
    align-items: center;
    color: #FFF;
    font-family: 'K2D-MEDIUM';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    background: #051550;
    border-radius: 5px;
    padding: 11px 15px 12px 15px;
}

    .r-project-link-h a:hover {
        background: #711a28;
        color: #ffffff;
        box-shadow: 0 12px 30px rgba(3, 91, 143, 0.35);
        padding-right: 36px;
    }

.top-project-h .top-cef-home h3 {
}

.top-project-decor {
    display: flex;
    align-items: center;
}

.top-cef-home span {
    display: block;
    color: #202020;
    font-family: 'Inter_24pt-Regular';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 749px;
}

.home-project-w {
    background: #FFFBE8;
    margin-top: 0px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.top-project-h .top-cef-home h2 {
}

.r-project-link-h a svg path {
    fill: #fff;
}

.p-project-img:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 90, 130, 0.15), rgba(0, 0, 0, 0.45));
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

li.p-project-item:hover .p-project-img:before {
    opacity: 1;
}

.p-project-img:after {
    content: "";
    position: absolute;
    top: -120%;
    left: -120%;
    width: 300%;
    height: 300%;
    background: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 10%, rgba(255, 255, 255, 0) 20%);
    opacity: 0;
    transition: all 1.6s ease;
    z-index: 2;
}

li.p-project-item:hover .p-project-img:after {
    top: 0;
    left: 0;
    opacity: 1;
}

li.p-project-item .p-project-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

li.p-project-item:hover .p-project-img img {
    transform: scale(1.08);
}

.p-project-img img {
    display: block;
    width: 100%;
    height: 100%;
    transition: all .5s ease-out 0s;
}

.p-project-img {
    height: 318px;
    position: relative;
    overflow: hidden;
}

span.detail-view-project {
    position: relative;
    display: flex;
    width: 114px;
    align-items: center;
    justify-content: center;
    height: 38px;
    color: #FFF;
    font-family: 'Inter_24pt-Medium';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    border-radius: 5px;
    border: 1px solid #FFF;
    overflow: hidden;
}

    span.detail-view-project:after {
        content: "";
        position: absolute;
        top: 0;
        left: -156%;
        width: 50%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: all 0.6s ease;
    }

li.p-project-item:hover span.detail-view-project:after {
    left: 112%;
}

span.detail-view-project:hover {
    background: #333;
}

li.p-project-item:hover .decor-title-project {
    z-index: 2
}

li.p-project-item:hover .item-t-project h3 {
    color: #f0e193;
}

.item-t-project h3 {
    margin: 0;
    color: #FFF;
    font-family: 'Inter_24pt-Medium';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.decor-title-project {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0 13px 30px 13px;
    background: linear-gradient(180deg, rgba(39, 6, 11, 0.00) 0%, #27060B 100%);
}

.item-add-cus-project span {
    color: #FFF;
    font-family: 'Inter_24pt-Regular';
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    margin-top: 4px;
    line-height: 150%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
}

    .item-add-cus-project span svg {
        margin-right: 7px;
        position: relative;
        top: 3px;
    }

.item-add-cus-project {
    margin-top: 5px;
    margin-bottom: 17px;
    display: flex;
    flex-direction: column;
}

.top-project-h .svg-decor-cer {
    top: -34px;
}

.r-project-link-h a svg {
    margin-left: 5px;
}

@media (max-width: 1023px) {
    .r-project-link-h a {
        display: none;
    }

    .top-cef-home span {
        width: 100%;
        text-align: justify;
    }

    .home-project-w {
        background-position: center;
    }

    .p-project-img {
        height: 200px;
    }

    .decor-title-project {
        padding: 0 13px 13px 13px;
    }

    span.detail-view-project {
        font-size: 13px;
        width: 94px;
        height: 35px;
    }

    .item-t-project h3 {
        margin: 0;
        color: #FFF;
        font-family: 'Inter_24pt-Medium';
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%;
    }

    .item-add-cus-project span:nth-child(1) svg {
        margin-right: 5px;
        width: 10px;
        height: auto;
    }

    .item-add-cus-project span:nth-child(2) svg {
        margin-right: 5px;
        width: 13px;
        height: auto;
    }

    .item-add-cus-project span {
        color: #FFF;
        font-size: 12px;
        align-items: flex-start;
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        margin-top: 7px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .p-project-img {
        height: 267px;
    }

    .item-t-project h3 {
        margin: 0;
        color: #FFF;
        font-family: 'Inter_24pt-Medium';
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%;
    }

    .top-cef-home span {
        display: block;
        color: #202020;
        font-family: 'Inter_24pt-Regular';
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        width: 100%;
        text-align: justify;
    }

    .item-add-cus-project span {
        color: #FFF;
        font-size: 14px;
        align-items: flex-start;
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        margin-top: 7px;
    }
}

@media (max-width: 739px) {
    .p-project-img {
        height: 320px;
    }

    .item-t-project h3 {
        font-size: 16px;
    }

    .item-add-cus-project span {
        font-size: 14px;
    }
}