/*分类、图片列表的样式*/
.category-item {
    margin-bottom: 30px;
}
.post-photo {
    background: #fff;
    position: relative;
    border-bottom: 1px solid transparent;
    box-shadow: 0 4px 8px rgb(0 0 0 / 6%);
    box-shadow: 0 0 0 1px rgb(0 0 0 / 5%), 0 4px 8px rgb(0 0 0 / 6%);
    border-radius: 4px;
    margin: 0;
    transition: .4s;
}
.post-photo .item-main {
    box-sizing: border-box;
    padding: 0px;
    margin-bottom: 12px;
    position: relative;
    vertical-align: middle;
    background-color: #fff;
    transition: transform .5s;
    text-align: center;
    overflow: hidden;
}
.post-photo .place {
    padding-top: 130%;
}
.post-photo .item-img-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.post-photo.album:before {
    content: "";
    background: #fff;
    border-bottom: 1px solid transparent;
    box-shadow: 0 4px 8px rgb(0 0 0 / 6%);
    box-shadow: 0 0 0 1px rgb(0 0 0 / 5%), 0 4px 8px rgb(0 0 0 / 6%);
    border-radius: 4px;
    display: block;
    position: absolute;
    top: 7px;
    left: 4px;
    height: 100%;
    width: calc(100% - 8px);
    z-index: -1;
    transition: .4s;
}
.post-photo.album:after {
    content: "";
    background: #fff;
    border-bottom: 1px solid transparent;
    box-shadow: 0 4px 8px rgb(0 0 0 / 6%);
    box-shadow: 0 0 0 1px rgb(0 0 0 / 5%), 0 4px 8px rgb(0 0 0 / 6%);
    border-radius: 4px;
    display: block;
    position: absolute;
    top: 4px;
    left: 2px;
    height: 100%;
    width: calc(100% - 4px);
    z-index: -1;
    transition: .4s;
}
.post-photo .img {
    padding: 7px;
    overflow: hidden;
}
.post-photo .img-wrapper {
    padding-bottom: 140%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.post-photo .img-wrapper .img-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    object-fit: cover;
}
.post-photo .img  img {
    width: 100%;
    height: 100%;
    transition: .3s;
    object-fit: cover;
}
.post-photo .title {
    margin: 8px 0 12px;
    font-size: 14px;
    font-weight: normal;
    padding-left: 12px;
    line-height: 24px;
    border-left: 3px solid currentColor;
    color: #50585f;
    transition: .4s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 24px;
}
.post-photo:hover {
    box-shadow: 0 10px 8px rgb(0 0 0 / 10%);
    box-shadow: 0 0 0 1px rgb(0 0 0 / 5%), 0 10px 8px rgb(0 0 0 / 10%);
    margin-top: 0;
    transition: .25s;
}
.post-photo:hover .title {
    color: #20a0ff;
    transition: .25s;
}
.post-photo.album:hover:after {
    transform: rotate(1.5deg) translateX(7px);
    transition: .25s;
}
.post-photo.album:hover:before {
    transform: rotate(3deg) translateX(14px);
    transition: .25s;
}
.post-photo:hover .img  img {
    transform: scale(1.015);
}