/* 图片文章框架：网格模式-图片文章 */
.post-8.post-list ul.b2_gap {
    display: flex;
    flex-flow: wrap;
    align-items: stretch;
}

.post-8.post-list .post-list-item > .item-in.box {
    position: relative !important;
    overflow: hidden;
    padding: 0;
    background: #111;
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform;
}

.post-8.post-list .post-list-item > .item-in.box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .10);
}

.post-8.post-list .post-list-item > .item-in.box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.16) 38%, rgba(0,0,0,.82) 100%);
    transition: background .28s ease;
}

.post-8.post-list .post-list-item > .item-in.box:hover::after {
    background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.22) 34%, rgba(0,0,0,.88) 100%);
}

.post-8.post-list .post-module-thumb {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 0;
    overflow: hidden;
    margin: 0;
    background: #111;
}

.post-8.post-list .post-module-thumb a.thumb-link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.post-8.post-list .post-module-thumb .post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .36s ease, filter .36s ease;
}

.post-8.post-list .post-list-item > .item-in.box:hover .post-module-thumb .post-thumb {
    transform: scale(1.06) rotate(2deg);
    filter: saturate(1.05) contrast(1.04);
}

.post-8.post-list .post-list-item > .item-in.box > .post-info {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 16px;
    color: #fff;
    pointer-events: none;
}

.post-8.post-list .post-info h2 {
    order: 2;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.38);
    transition: transform .25s ease, margin .25s ease;
}

.post-8.post-list .post-info h2 a {
    color: #fff;
    pointer-events: auto;
}

.post-8.post-list .post-list-item > .item-in.box > .post-info .post-excerpt {
    order: 3;
    display: -webkit-box !important;
    max-height: 0;
    margin: 0 !important;
    padding: 0 6px !important;
    background: rgba(0, 0, 0, .3) !important;
    border-radius: 4px !important;
    color: rgba(255,255,255,.9);
    font-size: 13px;
    line-height: 1.55;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    transition: max-height .25s ease, opacity .22s ease, transform .25s ease, margin .25s ease, padding .25s ease;
}

.post-8.post-list .post-info .post-excerpt p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.post-8.post-list .post-list-item > .item-in.box:hover .post-info h2 {
    margin-bottom: 7px;
    transform: translateY(-6px);
}

.post-8.post-list .post-list-item > .item-in.box:hover > .post-info .post-excerpt {
    max-height: 54px;
    padding: 8px 6px !important;
    background: rgba(0, 0, 0, .3) !important;
    opacity: 1;
    transform: translateY(0);
}

.post-8.post-list .post-info .post-list-meta-box {
    order: 1;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 62px;
    display: flex;
    align-items: center;
    margin: 0;
    min-height: 0;
}

.post-8.post-list .post-info .post-list-meta,
.post-8.post-list .post-info .list-footer {
    display: none !important;
}

/* 分类样式参考网格模式-卡片美化 */
.post-8.post-list .post-list-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.post-8.post-list .post-list-cat .post-list-cat-item {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    line-height: 1.25;
    font-size: 14px;
    color: #fff !important;
    background: rgba(0, 0, 0, .62);
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    pointer-events: auto;
}

/* 图片数量样式参考网格模式-卡片美化 */
.post-8.post-list .image-count {
    top: 10px !important;
    right: 10px !important;
    z-index: 4 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px !important;
    padding: 5px 9px !important;
    border-radius: 4px !important;
    background: rgba(0, 0, 0, .62) !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.post-8.post-list .image-count i {
    font-size: 13px !important;
}

.post-8.post-list .post-list-item > .item-in.box:hover .image-count {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

body.night .post-8.post-list .post-list-item > .item-in.box {
    background: #050505;
}
