.post-item {
    position: relative;
    .post-image {
        position: relative;
        display: flex;
        width: 100%;
        margin-bottom: 44px;
        & img {
            border-radius: clamp(32px, 3vw, 40px);
            width: 100%;
            height: auto;
            object-fit: cover;
          
        }
        .post-date {
            position: absolute;
            right: 50%;
            transform: translateX(50%);
            bottom: -20px;
            font-size: 14px;
            font-family: var(--SemiBold);
            border: 1.11px solid #D1DBE5;
            background: #F1F5F9;
            border-radius: 44px;
            padding: 16px 14px;
            line-height: 9px;
        }
        &:before {
            content: "";
            width: 100%;
            height: 100%;
            background-image: url(../../img/logo.svg);
            background-color: rgb(255 255 255 / 30%);
            border-radius: clamp(32px, 3vw, 40px);
            background-size: 26%;
            background-repeat: no-repeat;
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            right: 0;
            top: 0;
            background-position: center;
            opacity: 0;
            transition: 0.4s;
        }
    }
    .post-title a {
        font-size: clamp(14px, 2vw, 16px);
        font-family: var(--SemiBold);
        text-align: center;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    &:hover {
        .post-image:before {
            opacity: 1;
        }
        .post-date {
            color: var(--black) !important;
        }
        .post-title a {
            color: var(--color2) !important;
        }
    }
}
.post-hover {
    &:hover .read-more,
    &:hover .post-title a {
        color: var(--color1) !important;
    }
    &:hover .post-image:after {
        opacity: 1;
    }
    &:hover .post-image:before {
        transition: height 0.4s ease-in-out;
        height: 150%;
    }
}
/** product-item **/
.product-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.4s;
    .product-image {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: clamp(24px, 2vw, 32px);
        box-shadow: 0px 4px 20px 0px #D9EAFA24;
        margin-bottom: 24px;
        position: relative;
        overflow: hidden;
        .product-image-link {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        img {
            border-radius: clamp(24px, 2vw, 32px);
            aspect-ratio: 1 / 1;
        }
        .product-brand-badge {
            position: absolute;
            top: 16px;
            left: 16px;
            z-index: 2;
            width: 98.77px;
            height: 29.76px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 3.2px;
            padding: 5px 12px 8px;
            border: 0.8px solid #DFE6F0;
            border-radius: 32.03px;
            background: #fff;
            opacity: 1;
            overflow: hidden;
            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                border-radius: 0;
            }
            span {
                font-size: 11px;
                font-family: var(--SemiBold);
                color: var(--black);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }
    .product-title-en {
        font-size: clamp(16px, 2vw, 20px);
        font-family: var(--SemiBold);
        color: #3C3D3E;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }
    .product-title a {
        color: #707070;
        font-size: clamp(14px, 2vw, 16px);
        font-family: var(--SemiBold);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    &:hover .product-title a {
        color: var(--color2);
    }
}
/** job-item **/
.job-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    &:hover a {
        color: var(--color2);
    }
    .job-image {
        display: flex;
        margin-bottom: 24px;
        img {
            width: 100%;
        }
    }
    .job-title {
        margin-bottom: 12px;
        font-size: 16px;
        font-family: var(--SemiBold);
        padding-inline: 6px;
        width: 100%;
    }
    .job-category {
        font-size: 14px;
        color: #707070;
        font-family: var(--Medium);
        padding-inline: 12px;
        width: 100%;
    }
}
/** usage-item **/
.usage-item {
    border-radius: 48px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    &:before {
        content: "";
        inset: 0;
        background-image: url(../../img/logo.svg);
        background-repeat: no-repeat;
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        background-position: center;
        opacity: 0;
        transition: 0.4s;
        z-index: 2;
        pointer-events: none;
    }
    &:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 10%, rgb(0 0 0 / 70%) 60.2%);
        z-index: 1;
        pointer-events: none;
    }
    .usage-image {
        display: flex;
        width: 100%;
        position: relative;
        z-index: 0;
        img {
            width: 100%;
        }
    }
    .usage-content {
        position: absolute;
        bottom: 40px;
        color: white;
        right: 0;
        width: 100%;
        padding-inline: 16px;
        text-align: center;
        z-index: 3;
        transition: opacity 0.4s;
        .usage-title a {
            color: white;
            font-size: clamp(18px,1vw,20px);
            font-family: var(--SemiBold);
        }
        .usage-title-en {
            font-size: 14px;
            font-family: var(--Regular);
            text-transform: uppercase;
            margin-top: 12px;
            line-height: 1.5;
        }
    }
    &:hover {
        &:before {
            opacity: 1;
        }
        .usage-content {
            opacity: 0;
            pointer-events: none;
        }
    }
}
