.site-content .wf_posts {
    padding-top: 0;
    padding-bottom: 0;
}
.site-content .wf-container .post .center-banner {
    height: 40rem;
    position: relative;
    width: 100vw; /* 使用视口宽度确保全屏 */
    left: 50%; /* 移动到视口中心 */
    transform: translateX(-50%); /* 调整位置使其居中 */
    overflow: hidden;
    margin-bottom: 4rem;
}
.site-content .wf-container .post .center-banner .banner-img {
    position: absolute;
    width: 100%;
    left: 0;
    display: block;
    height: 100%;
}
.site-content .wf-container .post .center-banner .banner-img::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.img-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.center-banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    animation: fade-in calc(0.6s * 0.8) 0.3s 
cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
.center-banner .banner-text h4,
.center-banner .banner-text h5 {
    color: #fff;
}
.center-banner .banner-text h5 {
    font-size: 2.3rem;
    font-weight: 525;
}
.center-banner .banner-text h4 {
    margin-top: 1rem;
    font-size: 2.5rem;
    font-weight: 300;
}
.center-des h5 {
    margin-bottom: 1rem;
}

.center-browser-tag .title{
    font-size: 24px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}
.center-browser-tag .title svg {
    width: 14.4px;
    height: 14.4px;
    transition: transform 0.3s ease;
}
.center-browser-tag .title svg.expanded {
    transform: rotate(180deg);
}
.center-browser-tag ul {
    margin-left: 0;
    padding-left: 0;
}
/* .center-browser-tag ul.collapsed {
    display: none;
} */
.center-browser-tag .tags-list li {
    list-style: none;
    margin: 0 0.8rem 0.8rem 0;
    display: inline-block;
    float: left;
}
.center-browser-tag .tags-list li a {
    text-decoration: none;
    color: var(--wf-text-color);
    display: inline-block;
    padding: 0.6rem 3rem;
    background-color: #f4f4f4;
    color: #333333;
    border: 1px solid #e1e1e1;
    border-radius: 3rem;
    font-size: 14px;
    transition: all 0.3s ease;
}
.center-browser-tag .tags-list li a.active {
    background-color: var(--wf-text-color);
    color: #ffffff;
    border-color: #6c80ab;
}
.center-browser-tag .tags-list {
    float: left;
    width: 100%;
}
.center-browser-tag .see-all-tags {
    clear: both;
    height: 5rem;
    line-height: 5rem;
    vertical-align: bottom;
    display: none;
}

.center-post-list {
    clear: both;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.center-post-list ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8rem;
    margin-bottom: 4rem;
}
.center-post-list .img-container {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: block;
    padding-top: 56%;
}
.center-post-list .img-container img { 
    position: absolute;
    top: 0;
    left: 0;
}
.center-post-list li a {
    text-decoration: none;
    color: var(--wf-text-color);
}
.center-post-list li:hover .img-container img {
    transform: scale(1.03);
    /* transition: transform 0.3s ease; */

    transition: transform .4s cubic-bezier(.38, .41, .27, 1), border-color .4s;
    will-change: transform;
}
.center-m-1-half {
    margin: 1rem 0 0.5rem 0;
}
.center-m-b-1 {
    margin: 1.6rem 0;
}
.visually-hidden {
    display: none;
}
.center-post-list li a.center-btn-a {
    padding: calc(16px - 2px) calc(16px - 2px);
    border-radius: 50%;
    border: 2px solid var(--wf-text-color);
    outline-color: var(--wf-text-color);
    outline-offset: 3px;
    background: #798eb9 linear-gradient(104deg, #798eb9 60%, var(--wf-text-color) 60% 100%) no-repeat 100% 100%;
    background-size: 300% 100%;
    color: rgb(255,255,255);

    display: inline-block;
    position: relative;
    max-width: 100%;
    transition: opacity .6s ease, color .6s ease, background-position .4s ease-out;
    font-size: .88em;
    font-weight: 700;
    line-height: 1.2em;
    text-align: center;
    text-transform: var(--btn-text-transform, none);
    -webkit-appearance: none;
    appearance: none;
    word-break: break-word;
}
.center-post-list li a.center-btn-a:hover {
    background-position: 0 100%;
    color: #fff;
    text-decoration: none;
}

.center-post-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.post-info-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: flex-start;
}
.center-post-list .post-info {
    flex: 1 1 auto;
}
.wf_pagetitle {
    display: none;
}

/* 顶部 */
.center-top-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.center-top-left {
    flex: 0 0 70%;
}
.center-top-right {
    flex: 1;
    height: 30rem;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
}
.center-top-left img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
}
.center-top-right .title {
    font-size: 2rem;
}
.center-top-right .read-more {
    text-decoration: none;
    padding: 0.8rem 2rem;
    background-color: var(--wf-main-color);
    color: #fff;
    display: inline-block;
    font-weight: 600;
}

/* 分页 */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.custom-pagination a {
    text-decoration: none;
    color: var(--wf-text-color);
}
.custom-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
}
.custom-pagination span.page-numbers {
    display: inline-block;
    padding: 0.3rem 1.1rem;
    border-radius: 50%;
    background-color: #e1e1e1;
    color: #333333;
}

.custom-pagination .btn-prev {
  position: relative;
  padding-left: 1.2rem;  /* 给箭头留空间 */
}

/* 用 ::before 放箭头，单独翻转 */
.custom-pagination .btn-prev::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);  /* 只翻转箭头 */
  width: 0.6rem;
  height: 1rem;
  background-image: url(/wp-content/uploads/2025/12/arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* Next 按钮（链接包含 page/）*/
.custom-pagination .btn-next {
    /* 样式 */
    background-image: url(/wp-content/uploads/2025/12/arrow.png);
    background-size: 0.6rem 1rem;
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 1.2rem;
}

.no-posts {
    text-align: center;
}
.divider-line {
    clear: both;
    margin-bottom: 5rem;
}

@media (max-width: 767px) {
    .center-top-container {
        gap: 1.6rem;
    }
    .center-top-left {
        flex: 1;
    }
    .center-top-left img, .center-top-right {
        height: 26rem !important;
    }
    .center-post-list ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
    .post-info-container .post-info p.text-theme-light span:last-child {
        display: none;
    }
}