.post-item {
    position: relative;
    .post-image {
        position: relative;
        display: flex;
        width: 100%;
        margin-bottom: 16px;
        & img {
            border-radius: clamp(20px, 2vw, 24px);
            width: 100%;
        }
        .post-date {
            position: absolute;
            top: 14px;
            left: 24px;
            font-size: clamp(12px, 1vw, 14px);
            font-family: var(--Medium);
            color: var(--black);
            z-index: 1;
        }
        &:after {
            content: "\e90d";
            font-family: 'icomoon';
            color: white;
            font-size: 86px;
            position: absolute;
            left: 0;
            top: 0;
            line-height: 1;
        }
        &:before {
            content: "";
            width: 100%;
            height: 100%;
            background-image: url(../../img/logo.svg);
            background-color: #06295726;
            border-radius: clamp(20px, 2vw, 24px);
            background-size: 50%;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            right: 0;
            top: 0;
            background-position: center;
            opacity: 0;
            transition: 0.4s;
            backdrop-filter: blur(20px);
        }
    }
    .post-title a {
        font-size: clamp(16px, 2vw, 20px);
        font-family: var(--Medium);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        min-height: 64px;
        color: var(--black);
        margin-bottom: 8px;
    }
    p {
        font-size: clamp(14px, 2vw, 16px);
        font-family: var(--Regular);
        color: var(--gray);
    }
    .time {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-family: var(--DemiBold);
        margin-top: 18px;
        i {
            width: 22px;
            height: 22px;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color2);
        }
    }
    &:hover {
        .post-image:before {
            opacity: 1;
        }
        .post-title a {
            color: var(--color1) !important;
        }
    }
}
.solution-item {
    position: relative;
    .solution-image {
        position: relative;
        overflow: hidden;
        border-radius: clamp(24px, 3vw, 40px);
        display: flex;
        img {
            width: 100%;
            min-height: clamp(280px, 20vw, 300px);
            object-fit: cover;
        }
        &:before {
            content: "";
            width: 100%;
            height: 100%;
            position: absolute;
            bottom: 0;
            right: 0;
            background: linear-gradient(180deg, rgba(23, 33, 76, 0) 50.1%, #17214C 92.44%);
        }
    }
    .solution-body {
        position: absolute;
        bottom: 16px;
        right: 50%;
        transform: translateX(50%);
        background: white;
        width: calc(100% - 32px);
        border-radius: 16px 16px 32px 32px;
        padding: 18px;
        text-align: center;
        .solution-title a {
            font-size: clamp(14px, 2vw, 18px);
            font-family: var(--Medium);
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            min-height: 64px;
            color: var(--black);
            margin-bottom: 8px;
        }
        p {
            font-size: 14px;
            font-family: var(--Regular);
            color: var(--gray);
            line-height: 24px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }
    }
}
@media only screen and (max-width: 768px) {
}
.product-item {
    position: relative;
    .product-image {
        border-radius: 24px;
        overflow: hidden;
        display: flex;
        margin-bottom: 24px;
        position: relative;
        img {
            width: 100%;
        }
        &:before {
            content: "";
            width: 100%;
            height: 100%;
            background-image: url(../../img/logo.svg);
            background-color: #06295773;
            border-radius: clamp(20px, 2vw, 24px);
            background-size: 50%;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            right: 0;
            top: 0;
            background-position: center;
            opacity: 0;
            transition: 0.4s;
            backdrop-filter: blur(20px);
        }
    }
    .product-title a {
        padding-inline: 12px;
        font-size: 16px;
        font-family: var(--Medium);
        color: var(--black);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-align: center;
    }
    p {
        font-size: 14px;
        font-family: var(--Regular);
        color: var(--gray);
        line-height: 24px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-align: center;
        padding-inline: 12px;
        margin-top: 12px;
    }
    &:hover {
        .product-image:before {
            opacity: 1;
        }
    }
}
.project-item {
    position: relative;
    .project-wrap {
        display: flex;
        align-items: center;
        gap: clamp(16px, 2vw, 24px);
        .project-image {
            display: flex;
            flex: 0 0 clamp(180px, 13vw, 200px);
            border-radius: clamp(24px, 2vw, 32px);
            overflow: hidden;
            height: clamp(270px, 19vw, 300px);
            img {
                object-fit: cover;
            }
        }
        .project-status {
            background: #0C4DA212;
            width: max-content;
            border-radius: 32px;
            padding-left: 15px;
            font-size: 14px;
            font-family: var(--Medium);
            display: flex;
            gap: 8px;
            align-items: center;
            min-height: 48px;
            padding-right: 15px;
            &:has(span) {
                padding-right: 0;
            }
            span {
                width: 48px;
                height: 48px;
                background: white;
                border-radius: 50%;
                border: 2px solid #0C4DA2;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 15px;
                font-family: var(--DemiBold);
            }
        }
        .project-title {
            margin-block: 8px;
            font-size: clamp(18px, 2vw, 20px);
            font-family: var(--Medium);
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            min-height: 57px;
            margin-bottom: 8px;
            line-height: 1.5;
            a {
                color: var(--black);
            }
        }
        .project-desc {
            font-size: 14px;
            font-family: var(--Medium);
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            color: var(--gray);
        }
        .attr-wrapper {
            display: flex;
            flex-direction: column;
            margin-top: 18px;
            .construction_site,
            .employer {
                display: flex;
                align-items: center;
                gap: 8px;
                font-size: 13px;
                font-family: var(--Medium);
                color: #3C3D3E;
                span {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    i {
                        width: 24px;
                        height: 24px;
                        flex: 0 0 24px;
                        font-size: 18px;
                        color: var(--color2);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                    }
                }
            }
        }
    }
}
@media only screen and (max-width: 768px) {
    .project-item {
        .project-wrap {
            .attr-wrapper {
                .construction_site, .employer {
                    align-items: flex-start;
                    flex-direction: column;
                    margin-bottom: 10px;
                    gap: 0;
                }
            }
        }
        .project-desc {
            margin-top: 24px;
            font-size: 14px;
            font-family: var(--Medium);
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            color: var(--gray);
        }
    }
}

@media only screen and (max-width: 400px) {
    .project-item {
        .project-wrap {
            flex-direction: column;
            .project-body{
                width: 100%;
            }
            .attr-wrapper {
                .construction_site, .employer {
                    flex-direction: row;
                    gap: 8px;
                }
            }
        }
        .project-desc{
            margin-top: 0;
        }
    }
}