.nowrap {
    white-space: nowrap;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    overflow: hidden;
}

.works-library{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap:2rem;
}

.works-library-item{
    display: block;
    margin-bottom: 2rem;
}

.works-library-item-preview{
    position: relative;
    margin-bottom: 1rem;
    width: 100%;
    aspect-ratio:1;
    overflow: hidden;
    border-radius: 8px;
}
.works-library-item-preview-extesnsion{
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: #4c53f8;
    color: #fff;
    padding: 3px 8px;
    line-height: 1;
    font-size: 12px;
    border-radius: 3px;
    text-transform: uppercase;
}

.works-library-item-preview-zoom{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #00000030;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' class='feather feather-zoom-in'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3Cline x1='11' y1='8' x2='11' y2='14'%3E%3C/line%3E%3Cline x1='8' y1='11' x2='14' y2='11'%3E%3C/line%3E%3C/svg%3E");
    background-size: 3rem;
    visibility: hidden;
    opacity: 0;
    transition: 200ms;
}

.works-library-item-preview:hover .works-library-item-preview-zoom{
    visibility: visible;
    opacity: 1;
}

.works-library-item-preview img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ddd;
    image-rendering: pixelated;
}

.works-library-item-info{
    display: flex;
}

.works-library-item-info-left{
    max-width: calc(100% - 110px);
}

.works-library-item-info-right{
    margin-left: auto;
}
.works-library-item-info-title{
    font-weight: 500;
    margin-bottom: 5px;
}
.works-library-item-info-description{
    font-weight: 400;
    font-size: 14px;
}
.works-library-item-info-size{
    font-size: 14px;
    color: darkslategray;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.works-library-item-info-download{
    display: flex;
    line-height: 1rem;
    font-size: 14px;
    gap: 5px;
    font-weight: 700;
    text-transform: uppercase;
}
.works-library-item-info-download{
    line-height: 1;
    align-items: flex-end;
    margin-bottom: 8px;
    transition: none;
}

.works-library-item-info-download span{
    line-height: 1;
}

.works-library-item-info-download-icon{
    display: inline-flex;
    aspect-ratio: 1;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-download'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E");}

.works-library-item-info-download:hover{
    color: #4c53f8;
}

.works-library-item-info-download:hover .works-library-item-info-download-icon{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234c53f8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-download'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E");
}


@media (max-width: 560px) {
    .works-library-item {
        grid-template-columns: 100px 1fr;
        align-items: flex-start;
    }

    .works-library-item-info-file{
        width: 100%;
        width: 100%;
        padding: 10px;
    }

    .works-library-item-info-file-extension {
        position: relative;
        width: 36px;
        height: 36px;
    }
    .works-library-item-info-file-extension span{
        bottom: 8px;
    }
}