/* 文章卡片效果合集：内容间距、多色背景、悬浮、彩色标签、小动画 */

/* 复制网格模式布局，让 post-7 支持后台设置的每行数量 */
.post-7.post-list ul.b2_gap{
    display: flex;
    flex-flow: wrap;
    align-items: stretch;
}

/* 文章卡片内容间距优化，仅作用于卡片 item-in.box */
.post-list.post-7 .post-list-item > .item-in.box .post-info h2{
    margin: 11px 0;
}

.post-list.post-7 .post-list-item > .item-in.box .post-info .post-excerpt{
    display: -webkit-box;
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 8px 6px;
    margin: 0 0 13px;
    background: rgba(247, 248, 250, .92);
    transform: none;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

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

.post-list.post-7 .post-list-item > .item-in.box .post-info{
    position: relative;
    padding-bottom: 22px;
}

.post-list.post-7 .post-list-item > .item-in.box .post-info .post-list-meta-box,
.post-list.post-7 .post-list-item > .item-in.box .post-info .list-footer{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 34px;
    box-sizing: border-box;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.post-list.post-7 .post-list-item > .item-in.box .post-info .post-list-meta-box{
    display: flex;
    align-items: center;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.post-list.post-7 .post-list-item > .item-in.box .post-info .list-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    border-top: 0;
}

.post-list.post-7 .post-list-item > .item-in.box:hover .post-info .post-list-meta-box{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
}

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

/* 文章卡片多色渐变背景 */
.post-7 .newstyle .item-in{
    padding: 8px 8px 8px;
    position: relative;
}

.post-7 .newstyle .item-in::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    z-index: 1;
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n+1) .item-in::after{
    background: linear-gradient(45deg, #ff6b6b, #3a1c71);
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n+2) .item-in::after{
    background: linear-gradient(45deg, #00c6ff, #0072ff);
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n+3) .item-in::after{
    background: linear-gradient(45deg, #f857a6, #ff5858);
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n+4) .item-in::after{
    background: linear-gradient(45deg, #11998e, #38ef7d);
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n+5) .item-in::after{
    background: linear-gradient(45deg, #8e2de2, #4a00e0);
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n+6) .item-in::after{
    background: linear-gradient(45deg, #fc4a1a, #f7b733);
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n+7) .item-in::after{
    background: linear-gradient(45deg, #654ea3, #eaafc8);
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n+8) .item-in::after{
    background: linear-gradient(45deg, #36d1dc, #5b86e5);
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n+9) .item-in::after{
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
}

.post-list.post-7 li[id^="item-"]:nth-of-type(10n) .item-in::after{
    background: linear-gradient(45deg, #0f0c29, #302b63, #24243e);
}

.post-7 .newstyle .post-info,
.post-7 .newstyle .list-footer,
.post-7 .newstyle .post-module-thumb{
    position: relative;
    z-index: 2;
}

.post-7 /* 卡片内分类按钮浅色背景 */
.post-list .post-list-item > .item-in.box .post-list-cat{
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-list.post-7 .post-list-item > .item-in.box .post-list-cat .post-list-cat-item{
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    line-height: 1.25;
    background: rgba(40, 130, 197, .09);
    border: 0;
    box-shadow: none;
}

body.night .post-list.post-7 .post-list-item > .item-in.box .post-info .post-excerpt{
    background: rgba(255, 255, 255, .06);
}

body.night .post-list.post-7 .post-list-item > .item-in.box .post-list-cat .post-list-cat-item{
    background: rgba(255, 255, 255, .08);
    border: 0;
    box-shadow: none;
}

/* 标题/分类悬浮变色 */
.post-7 .post-list-item .item-in:hover{
    color: #2882C5;
}

.post-7 .post-list-cats a span:hover{
    color: #2882c5;
    font-weight: 700;
}

/* 文章随机彩色标签与文章末尾彩色标签 */
.post-7 .post-tags-meat{
    margin-bottom: 10px;
}

.post-7 .post-tags-meat a{
    background-color: #19B5FE;
    color: #fff;
}

.post-7 .post-tags-meat a:nth-child(5n){
    background-color: #4A4A4A;
    color: #fff;
}

.post-7 .post-tags-meat a:nth-child(5n+1){
    background-color: #ff5e5c;
    color: #fff;
}

.post-7 .post-tags-meat a:nth-child(5n+2){
    background-color: #ffbb50;
    color: #fff;
}

.post-7 .post-tags-meat a:nth-child(5n+3){
    background-color: #1ac756;
    color: #fff;
}

.post-7 .post-tags-meat a:nth-child(5n+4){
    background-color: #19B5FE;
    color: #fff;
}

.post-7 .post-tags-meat a:hover{
    background-color: #1B1B1B;
    color: #fff;
}

.post-7 .post-tags-meat span.tag-text{
    color: #fff;
    z-index: 6;
}

/* 文章缩略图小动画 / 缩略图悬浮放大 */
.post-7 .post-list-item .item-in{
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform;
}

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

.post-7 .post-list-item .post-module-thumb{
    overflow: hidden;
}

.post-7 .post-list-item .post-module-thumb .thumb-link{
    transition: transform .08s linear, box-shadow .08s linear, background .08s linear;
}

.post-7 .post-list-item:hover .post-module-thumb .thumb-link{
    transform: scale(1.06) rotate(2deg);
}

.post-list.post-7 .post-list-item > .item-in.box .image-count{
    border-radius: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

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

.post-7 .image-count i{
    font-size: 13px;
}

.post-7 .post-module-thumb a.thumb-link,
.post-7 .shop-normal-item-img a.link-block{
    transition: transform .08s linear, box-shadow .08s linear, background .08s linear;
}

.post-7 .post-module-thumb a.thumb-link:hover::after,
.post-7 .shop-normal-item-img a.link-block:hover::after{
    opacity: 0.8;
    transform: scale(1);
}

.post-7 .post-module-thumb a.thumb-link:hover,
.post-7 .shop-normal-item-img a.link-block:hover{
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    transition: transform .08s linear, box-shadow .08s linear, background .08s linear;
    background: rgba(0, 0, 0, 0.5);
}

.post-7 .post-module-thumb a.thumb-link::before,
.post-7 .shop-normal-item-img a.link-block::before{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease-out;
    z-index: 2;
}

.post-7 .post-module-thumb a.thumb-link::after,
.post-7 .shop-normal-item-img a.link-block::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSIgdmlld0JveD0iMCAwIDQ1IDQ1IiBzdHJva2U9IiNmZmYiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIgc3Ryb2tlLXdpZHRoPSIyIj48Y2lyY2xlIGN4PSIyM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T0iMjIiIHI9IjgiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InIiIGJlZ2luPSIwcyIgZHVyPSIxLjVzIiB2YWx1ZXM9IjY7MTsyOzM7NDs1OzYiIGNhbGNNb2RlPSJsaW5lYXIiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9jaXJjbGU+PC9nPjwvc3ZnPg==);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 3;
    transform: scale(2);
    transition: transform 0.35s, opacity 0.35s;
    opacity: 0;
}

