.new-container {
    margin: 40px auto;
    display: flex;
}

/* 左侧 */
.tab-page-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    flex: 1;
}

/* tab导航 */
.tab-nav {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    align-items: end;
    min-height: 77px;
}

.tab-item {
    padding: 18px 30px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}

.tab-item.active {
    color: #1677ff;
    font-weight: 400;
    font-size: 30px;
}

.tab-item.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: #1677ff;
}

/* tab内容区域：左右结构 */
.tab-content {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.tab-panel {
    display: none;
    width: 100%;
}

.tab-panel.show {
    display: block;
}

/* 左侧文章列表 */
.article-list {
    flex: 1;
}

.article-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #eee;
	padding-left: 0;
}


/* 左侧图片卡片 */
.article-img-card {
    width: 240px;
	padding: 0;
}

.article-img-card figure {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
/*
.article-img-card img {
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
*/

/* 右侧文章文字 */
.article-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.article-text h3 {
    font-size: 24px;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.45;
}

.article-text h2 a {
    font-size: 24px;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.45;
}
.article-text .wp-block-post-excerpt__excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}
.article-text .wp-block-post-date time {
    font-size: 14px;
    color: #888;
}

.article-text .desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.article-text .date {
    font-size: 14px;
    color: #888;
}

/* 右侧咨询表单 */
.side-form {
    width: 220px;
    flex-shrink: 0;
    background: #4088f2;
    border-radius: 10px;
    padding: 28px 20px;
    color: #fff;
    align-self: flex-start;
    margin-left: 30px;
}

.side-form h4 {
    font-size: 22px;
    margin-bottom: 24px;
    border-left: 4px solid #fff;
    padding-left: 10px;
}

.side-form input {
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 12px 10px;
    margin-bottom: 16px;
    font-size: 15px;
    background: #63a0f7;
    color: #fff;
}

.side-form input::placeholder {
    color: #e6edff;
}

.side-form button {
    width: 100%;
    background: #fff;
    color: #1677ff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

/* 分页 */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:8px;
    padding:30px 0;
}
.page-item {
    width:32px;
    height:32px;
    border:1px solid #d8dbe3;
    background:#ffffff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:14px;
    color:#333;
    cursor:pointer;
    border-radius:2px;
}
.page-item.active {
    border:1px solid #1677ff;
    color:#1677ff;
}
.page-item:hover:not(.active) {
    border-color:#1677ff;
    color:#1677ff;
}

/* 分页整体容器 */

.wp-block-query-pagination {
  display: flex;
  justify-content: center !important;
  gap: 8px;
  flex-wrap: wrap;
}

/* 分页数字容器 */
.wp-block-query-pagination-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 上一页、下一页按钮 + 数字按钮通用样式 */
.page-numbers,
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 35px;
  padding: 0 12px;
  border: 1px solid #dcdfe6;
  background-color: #ffffff;
  color: #333;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* 当前激活页 蓝色边框 */
.page-numbers.current {
  border: 2px solid #409eff;
  color: #409eff;
  font-weight: 500;
}

/* hover悬浮效果 */
.page-numbers:hover,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover {
  border-color: #409eff;
  color: #409eff;
}

/* 隐藏原生多余箭头，统一样式 */
.wp-block-query-pagination-next-arrow {
  display: none;
}

/* 下一页a标签去掉默认下划线 */
.wp-block-query-pagination-next {
  text-decoration: none;
}


/* 文章详情 */
.article-details {
    display: flex;
    padding: 40px 0;
}
.article-details-left {
    flex: 1;
}
.article-container {
    background: #ffffff;
    padding:40px;
    border-radius: 10px;
}
/* 标题 */
.article-container .wp-block-post-title {
    font-size:24px;
    color:#111111;
    line-height:1.5;
    margin-bottom:16px;
}
.article-title {
    font-size:24px;
    color:#111111;
    line-height:1.5;
    margin-bottom:16px;
}
/* 头部信息行 */
.article-header-info{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:14px;
    color:#666;
    margin-bottom:24px;
}
.tag-original{
    border:1px solid #1677ff;
    color:#1677ff;
    font-size:12px;
    padding:2px 6px;
    border-radius:2px;
}
.read-count{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:4px;
}
/* 摘要模块 */
.article-abstract{
    background:#f3f4f6;
    padding:20px;
    margin-bottom:24px;
}
.abstract-title{
    font-size:16px;
    font-weight:bold;
    margin-bottom:12px;
    color:#333;
}

.article-abstract .wp-block-post-excerpt__excerpt {
    font-size:14px;
    color:#444;
    line-height:1.7;
}
.abstract-text{
    font-size:14px;
    color:#444;
    line-height:1.7;
}
/* 正文 */
.article-content p{
    font-size:15px;
    color:#333;
    line-height:1.8;
    margin-bottom:16px;
}
.article-container .customer-service {
    width: 100%;
    margin-top: 30px;
}

.article-bottom-wrap {
    margin-top: 40px;
}
/* 上一篇 / 下一篇 */
.prev-next-links {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}
.prev-next-links .remarks {
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-size: 14px;
}

.prev-next-links a {
    color: #1677ff;
    text-decoration: none;
    margin: 0 8px;
}

.prev-next-links a:hover {
    text-decoration: underline;
}

/* 相关推荐 */
.related-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.related-list {
    display: flex;
    gap: 24px;
}

.related-list ul {
    display: flex;
    gap: 24px;
}

.related-list ul li {
    flex: 1;
    min-width: 0;
    text-decoration: none;
}

.related-list ul li h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.related-item {
    flex: 1;
    min-width: 0;
    text-decoration: none;
}

.related-img {
    width: 100%;
    height: 180px;
    background: #d8dbe3;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
}
.related-img figure {
    width: 100%;
    height: 180px;
    background: #d8dbe3;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
}
.related-img img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.related-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.related-text p {
    color: #333;
    text-decoration: none;
}



/* 移动端适配 */
@media (max-width:767px) {
	.page-numbers,
	.wp-block-query-pagination-next,
	.wp-block-query-pagination-previous {
		min-width: 40px;
		height: 40px;
		font-size:14px;
	}
		.wp-block-query-pagination-numbers {
		gap:6px;
	}

	.side-form {
		display: none;
	}
	
	.article-details {
		display: flex;
		padding: 0;
		width: 100%;
    	box-sizing: border-box;
	}

	.article-container {
		background: #ffffff;
		padding: 5.33vw;
		border-radius: 0;
	}
	
	.article-container .wp-block-post-title {
		font-size: 4.8vw;
		margin-bottom: 2.13vw;
	}
	.article-header-info {
		gap: 1.6vw;
		font-size: 1.86vw;
		margin-bottom: 3.2vw;
	}
	.article-abstract {
		background: #f3f4f6;
		padding: 2.66vw;
		margin-bottom: 3.2vw;
	}
	.abstract-title {
		font-size: 3.46vw;
		margin-bottom: 1.6vw;
	}
	.article-abstract .wp-block-post-excerpt__excerpt {
		font-size: 2.66vw;
	}
	.article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6{
		font-size: 4vw;
		margin-bottom: 2.13vw;
	}
	.article-content p {
		font-size: 2.66vw;
		margin-bottom: 2.13vw;
	}
	.new-container {
		margin: 0;
		padding: 0;
	}
	
	.tab-nav {
		min-height: auto;
	}
	.tab-item {
		padding: 2.4vw 4vw;
		font-size: 3.46vw;
	}
	.tab-item.active {
		font-size: 4vw;
	}
	.tab-item.active::before {
		display: none;
	}
	
	.tab-content {
		display: flex;
		gap: 4vw;
		padding: 4vw;
	}
	
	.article-item {
        display: grid;
        grid-template-columns: 2fr 3fr;
        gap: 3.2vw;
        border-bottom: solid 1px #dfe1e6;
        padding-bottom: 4vw;
        margin-bottom: 4vw;
		padding-right: 0;
    }
	.article-img-card {
		width: auto;
		background: none;
		border-radius: 0;
		padding: 0;
	}
	.article-img-card img {
		position: inherit;
	}
	.article-text h2 a {
		font-size: 3.46vw;
		margin-bottom: 1.6vw;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.article-text .desc {
		display: none;
	}
	.article-text {
		margin: 0;
	}
	.article-text h3 {
		display: none;
	}
	.article-text .wp-block-post-excerpt {
		display: none;
	}
	.article-text .wp-block-post-date time {
		font-size: 2.66vw;
	}
	
	.article-bottom-wrap {
		margin-top: 5.33vw;
		padding: 0 5.33vw 5.33vw;
	}
	.prev-next-links .remarks {
		margin-bottom: 2vw;
		padding-bottom: 2vw;
		
	}
	.prev-next-links {
		font-size: 2.66vw;
		margin-bottom: 4vw;
	}
	.prev-next-links a {
		font-size: 2.66vw;
		margin: 0 1vw;
	}
	
	.related-title {
		font-size: 3.2vw;
		margin-bottom: 2.66vw;;
	}
	.related-img {
		height: auto;
		margin-bottom: 2vw;
	}
	.related-img figure {
		width: 100%;
		height: 16vw;
		margin-bottom: 0;
	}
	.related-list ul li h3 a {
		font-size: 2.66vw;
	}
}

