:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-8eac84a */.xl-blog {
    max-width: 1400px;
    margin: 0 auto;
    font-family: inherit;
}

.xl-blog-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 9px 16px;
    margin-bottom: 48px;
    border: 1px solid #e1e6e1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.04);
}

/* 分类按钮 */
.xl-blog-filters button {
    border: none;
    background: transparent;
    color: #40554b;
    padding: 14px 22px;
    border-radius: 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.xl-blog-filters button.active,
.xl-blog-filters button:hover {
    background: #10251d;
    color: #b9ff53;
}

/* 文章列表 */
.xl-blog-list {
    display: grid;
    gap: 30px;
}

/* 文章卡片 */
.xl-blog-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    min-height: 224px;
    align-items: start;
    border: 1px solid #dce3dc;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
}

/* 统一图片比例：宽:高 = 1:0.56 */
.xl-blog-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.56;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #eef1ed;
}

.xl-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.xl-blog-image:hover img {
    transform: scale(1.035);
}

/* 文章内容 */
.xl-blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.xl-blog-content time {
    color: #687a74;
    font-size: 12px;
}

.xl-blog-content h2 {
    margin: 15px 0;
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.35;
}

.xl-blog-content h2 a {
    color: #10251d;
    text-decoration: none;
}

.xl-blog-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #64766c;
}

/* 阅读文章链接 */
.xl-blog-read {
    align-self: flex-end;
    text-decoration: none !important;
    font-size: 13px;
    color: #10251d;
}

.xl-blog-read:hover,
.xl-blog-content h2 a:hover {
    color: #68a900;
}

/* 隐藏文章 */
.xl-blog-card[hidden],
.xl-blog-empty[hidden] {
    display: none !important;
}

/* 分类切换淡入效果 */
.xl-blog-card:not([hidden]) {
    animation: xlFadeIn .25s ease both;
}

@keyframes xlFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 手机端 */
@media (max-width: 767px) {

    .xl-blog-filters {
        margin-bottom: 24px;
    }

    .xl-blog-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .xl-blog-image {
        width: 100%;
        aspect-ratio: 1 / 0.56;
        height: auto;
        min-height: 0;
    }

    .xl-blog-content {
        padding: 22px;
    }
}

/* 尊重系统减少动画设置 */
@media (prefers-reduced-motion: reduce) {
    .xl-blog-card:not([hidden]) {
        animation: none;
    }
}


/* 恢复分类筛选栏原有样式 */
.xl-blog-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 9px 16px;
    margin-bottom: 48px;
    border: 1px solid #e1e6e1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.04);
}

/* 同时兼容 a 和 button */
.xl-blog-filters a,
.xl-blog-filters button {
    display: inline-block;
    padding: 14px 22px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #40554b;
    text-decoration: none !important;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s ease;
}

/* 选中和悬停状态 */
.xl-blog-filters a.active,
.xl-blog-filters button.active,
.xl-blog-filters a:hover,
.xl-blog-filters button:hover {
    background: #10251d;
    color: #b9ff53 !important;
}

/* 手机端优化 */
@media (max-width: 767px) {

    .xl-blog {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .xl-blog-filters {
        gap: 5px;
        padding: 8px;
        margin-bottom: 24px;
        border-radius: 14px;
    }

    .xl-blog-filters a,
    .xl-blog-filters button {
        padding: 11px 15px;
        font-size: 13px;
    }

    .xl-blog-list {
        gap: 20px;
    }

    .xl-blog-card {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .xl-blog-image {
        width: 100%;
        aspect-ratio: 1 / 0.56;
        height: auto;
    }

    .xl-blog-content {
        padding: 18px;
        gap: 18px;
    }

    .xl-blog-content h2 {
        font-size: 20px;
        line-height: 1.4;
        margin: 12px 0;
    }

    .xl-blog-content p {
        font-size: 14px;
    }

    .xl-blog-read {
        font-size: 13px;
    }
}/* End custom CSS */