     /* ========== 两栏外层布局 ========== */
.two-column-wrap {
    display: flex;
    gap: 24px;
    padding: 20px;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}
/* 左侧侧边栏：固定宽度，不压缩 */
.sidebar-left {
    width: 260px;
    flex-shrink: 0;
    background-color: #f7f8fa;
    padding: 18px;
    border-radius: 8px;
}
.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111;
}
/* 侧边栏分类链接列表 */
.cat-nav-list a {
    display: block;
    padding: 10px 8px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 4px;
}
.cat-nav-list a:hover {
    background-color: #e9ecef;
    color: #c8102e;
}
.cat-nav-list a.active {
    background-color: #d61a2c;
    color: #fff;
}
/* 右侧主内容：自动占满剩余宽度 */
.content-right {
    flex: 1;
    min-width: 0;
}

/* ========== 右侧新闻卡片列表 ========== */
.info-list-news {
    display: grid;
    gap: 20px;
}
.info-card-item {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 24px;
    background: #ffffff;
    transition: box-shadow 0.2s;
}
.info-card-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.card-title h3 {
    margin: 0 0 10px 0;
    font-size: 19px;
    font-weight: 600;
}
.card-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.card-title a:hover {
    color: #c8102e;
    text-decoration: underline;
}
.card-desc {
    color: #555555;
    font-size: 14px;
    margin: 0 0 18px 0;
    line-height: 1.65;
}
.card-action-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.btn-card-detail {
    padding: 9px 20px;
    background-color: #d61a2c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: none;
}
.btn-card-detail:hover {
    background-color: #b81424;
}
.info-empty {
    padding: 48px 20px;
    text-align: center;
    color: #777777;
}

/* ========== 分页组件样式（放在右侧底部） ========== */
.pagination-wrap {
    margin-top: 28px;
    display: flex;
    gap:8px;
    align-items:center;
}
.pagination-wrap a, .pagination-wrap span {
    padding:6px 12px;
    border:1px solid #ddd;
    border-radius:4px;
    text-decoration:none;
    color:#333;
}
.pagination-wrap a:hover {
    background:#f1f1f1;
}
.pagination-wrap span.current {
    background:#d61a2c;
    color:#fff;
    border-color:#d61a2c;
}
/* 二级分类缩进 */
.cat-nav-list a.cat-level2-item {
    padding-left:22px;
}
/* ========== 左侧侧边栏美化 ========== */

.sidebar-left {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.sidebar-header {
    padding: 18px 16px;
    background: linear-gradient(135deg, #f7f8fa 0%, #eef1f5 100%);
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-group-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.sidebar-search-box {
    position: relative;
}

.sidebar-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px 10px 38px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    outline: none;
}

.sidebar-search-input:focus {
    border-color: #d61a2c;
    box-shadow: 0 0 0 2px rgba(214, 26, 44, 0.15);
}

/* 搜索图标占位，可加可不加 */
.sidebar-search-box::before {
    content: "🔍";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9ca3af;
}

.cat-nav-list {
    padding: 12px 14px 16px 14px;
}

/* 一级分类组 */
.cat-group {
    margin-bottom: 10px;
}

.cat-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 12px;
    border-radius: 8px;
    color: #1f2937;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    background: #f3f4f6;
    transition: 0.2s ease;
}

.cat-main:hover {
    background: #e5e7eb;
}

.cat-main.active {
    background: #d61a2c;
    color: #ffffff;
}

.cat-main .cat-count {
    font-size: 13px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 8px;
    border-radius: 12px;
    color: #6b7280;
}

.cat-main.active .cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* 二级分类列表 */
.cat-sub-list {
    margin-top: 8px;
    padding-left: 10px;
    border-left: 2px solid #e5e7eb;
}

.cat-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}
.btn-card-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6212a;
    color: #ffffff;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 4px;
    font-size:14px;
}
.btn-icon {
    /* 固定小尺寸，不再放大 */
    width:14px !important;
    height:14px !important;
    flex-shrink: 0;
}
.btn-card-detail{color: #ffffff;;}
.btn-card-detail:hover .btn-icon{
    transform: translateX(2px);
    transition: transform 0.2s;
}
.cat-sub:hover {
    background: #f9fafb;
    color: #111827;
}

.cat-sub.active {
    background: #fce8e8;
    color: #d61a2c;
    font-weight: 600;
}

.cat-sub .cat-count {
    font-size: 13px;
    color: #6b7280;
}

.cat-sub.active .cat-count {
    color: #d61a2c;
}
/* 分页组件，对标截图红色边框、current红色背景白色文字 */
.pagination-wrap{
    display:flex;
    gap:6px;
    align-items:center;
    margin-top:24px;
}
.pagination-wrap .page-num,
.pagination-wrap .page-btn{
    border:2px solid #e6212a;
    min-width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    border-radius:4px;
    box-sizing:border-box;
}
.pagination-wrap .page-num.current,
.pagination-wrap .page-btn.current{
    background-color:#e6212a;
    color:#ffffff;
}
.pagination-wrap a.page-num,
.pagination-wrap a.page-btn{
    color:#e6212a;
}
.pagination-wrap .page-btn.disabled{
    color:#999;
    border-color:#ccc;
}
.pagination-wrap .perpage-label{
    margin:0 12px 0 20px;
    font-size:16px;
}
/* 卡片按钮参考Sample&Buy红色按钮白色文字 */
.btn-card-detail{
    display:inline-block;
    background:#e6212a;
    color:#fff;
    padding:8px 18px;
    text-decoration:none;
    border-radius:4px;
}
.two-column-wrap{
    display:flex;
    gap:32px;
}
.sidebar-left{
    width:280px;
    flex-shrink:0;
}
.content-right{
    flex:1;
}
/* 三列网格 */
.news-card-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:24px;
}
.grid-card-item{
    background:#f7f7f7;
}
.grid-card-img{
    width:100%;
    height:220px;
    overflow:hidden;
}
.grid-card-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.img-placeholder{
    width:100%;
    height:100%;
    background:#cccccc;
}
.grid-card-body{
    padding:22px 20px;
}
.grid-card-title{
    font-size:22px;
    font-weight:bold;
    margin:0 0 14px 0;
    line-height:1.3;
}
.grid-card-desc{
    font-size:15px;
    line-height:1.6;
    color:#222;
    margin-bottom:24px;
}

/* 图片容器相对定位，遮罩做绝对悬浮 */
.grid-card-img{
    width:100%;
    height:220px;
    overflow:hidden;
    position:relative;
}
.grid-card-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.img-placeholder{
    width:100%;
    height:100%;
    background:#cccccc;
}

/* 悬浮遮罩默认隐藏 */
.img-hover-mask{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    color:#ffffff;
    opacity:0;
    transition: opacity 0.28s ease;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    box-sizing:border-box;
}
/* 鼠标hover图片容器，显示遮罩 */
.grid-card-img:hover .img-hover-mask{
    opacity:1;
}
.mask-content{
    text-align:center;
}
.mask-content h4{
    margin:0 0 10px 0;
    font-size:18px;
}
.mask-content p{
    margin:0;
    font-size:14px;
    line-height:1.55;
    overflow:hidden;
    display:-webkit-box;

    -webkit-box-orient:vertical;
}

.card-learn-more{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#000000;
    text-decoration:none;
    font-weight:600;
}
.card-learn-more svg{
    flex-shrink:0;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .sidebar-left {
        width: 100%;
    }

    .sidebar-header {
        padding: 16px;
    }
}

/* ========== 简单移动端适配：小屏幕变成上下堆叠 ========== */
@media(max-width: 768px){
    .two-column-wrap{
        flex-direction: column;
    }
    .sidebar-left{
        width:100%;
    }
}