html,body{width: 100%;}
a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--text-main-hover);
}
.rounded-lg {
    border-radius: 0.75rem !important; /* 变成 12px */
}
.rounded-xl {
    border-radius: 1rem !important; /* 自定义一个 16px 的超大圆角 */
}
.rounded-2xl {
    border-radius: 1.5rem !important; /* 自定义一个 24px 的超大圆角 */
}

.mobile-only { display: none; }
@media (max-width:991.98px) {

    /* 桌面端元素隐藏 */
    .desktop-only { display: none !important; }
    .mobile-only { display: block; }
}


/* 自定义扩展 Bootstrap 4.6：支持 1400px 以上的超大屏幕 */
@media (min-width: 1400px) {
  /* 1. 让 container 容器在 1400px 以上屏幕更宽，两边不留太多白边 */
  /* .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1320px;
  } */

  /* 2. 完整的 12 栏 col-xxl 栅格系统 */
  .col-xxl { flex-basis: 0; flex-grow: 1; max-width: 100%; }
  .col-xxl-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
  
  .col-xxl-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-xxl-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-xxl-3  { flex: 0 0 25%; max-width: 25%; }
  .col-xxl-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xxl-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-xxl-6  { flex: 0 0 50%; max-width: 50%; }
  .col-xxl-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-xxl-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-xxl-9  { flex: 0 0 75%; max-width: 75%; }
  .col-xxl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-xxl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-xxl-12 { flex: 0 0 100%; max-width: 100%; }

  /* 3. 常用配套：超大屏下的显示与隐藏控制（可选） */
  .d-xxl-none   { display: none !important; }
  .d-xxl-inline { display: inline !important; }
  .d-xxl-inline-block { display: inline-block !important; }
  .d-xxl-block  { display: block !important; }
  .d-xxl-flex   { display: flex !important; }
}
button:focus,input:focus,.form-control:focus {box-shadow: none !important; }
.custom-control-input:focus ~ .custom-control-label::before {box-shadow: none !important;}
/* ========== 收藏列表页 ========== */
.collect-header .collect-count { font-size: 13px; }
.collect-list .empty-state { text-align: center; padding: 3rem 0; color: var(--text-sub); font-size: 16px; }
.collect-item .thumb { width: 160px; height: 100px; object-fit: cover; border-radius: var(--radius); }
.collect-item h3 { font-size: 16px; font-weight: 600; }
.collect-item h3 a { text-decoration: none; color: inherit; }
.collect-item .collect-time { font-size: 13px; color: var(--text-sub); }
.btn-cancel-collect { font-size: 13px; color: var(--text-sub); text-decoration: none; }
.btn-cancel-collect:hover { color: var(--primary); }


/* ========== 内容管理页 user_content ========== */
.user-content-avatar { width: 64px; height: 64px; object-fit: cover; border: 2px solid var(--border);border-radius: 50%; }
.user-content-name { font-weight: 700; }
.user-levels { display: flex; align-items: center; gap: 5px; }
.user-content-stats { font-size: 14px; color: var(--text-main-light); }

.content-list-empty { color: var(--text-sub); font-size: 16px; }
.content-item > a { flex-shrink: 0; margin-right: 1rem; }
.content-item picture { display: block; }
.content-item-thumb { width: 180px; height: auto; max-height:120px; object-fit: cover; border-radius: var(--radius); display: block; }
.content-item-title { font-size: 16px; font-weight: bold; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; color: var(--text-main);}
.content-item-title:hover { color: var(--primary-hover); }
.content-item-summary { display: -webkit-box;  color: var(--text-sub); font-size: 14px;line-height: 1.7;}
.content-item-time { color: var(--text-sub); }
.content-item-views { font-size: 13px; color: var(--text-sub); display: flex; }
.content-item-time-wrap { margin-left: auto; }
.left-user-info{justify-content: space-between;align-items: center;}
/* .left-user-info .left{justify-content: space-between;} */
.left-user-info .left button{margin-left:20px;}
.left-user-info .right{font-size: 15px; color: var(--text-main-light);}
.cert-file-item .cert-file-del {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #dc3545;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cert-file-item .cert-file-del:hover {
    background-color: #bb2d3b;
    color: #fff;
}
@media (max-width: 575.98px) {
    .content-item-thumb { width: 160px; height: 110px; }
    /* .content-item-views {flex-direction: column;} */
    .content-item-summary{display: none !important;}

    .collect-item .thumb {width: 120px; height: auto;}
}

/* 视频发布者卡片 */
.publisher-card { padding: 20px 22px; }
.publisher-card.desktop-only{margin-bottom: 16px; background-color: var(--bg-white); border-radius: 16px;}
.publisher-card .publisher-title { font-family: 'Microsoft YaHei', serif; font-size: 17px; font-weight: 700; color: var(--text-main); margin: 0 0 16px; letter-spacing: 1px; }
.publisher-card .publisher-profile { display: flex; align-items: center; gap: 12px; }
.publisher-card .publisher-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.publisher-card .publisher-body { min-width: 0; line-height: 1.45; }
.publisher-card .publisher-actions{margin-left:auto;}
.publisher-card .publisher-name { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.publisher-card .big-v-icon { display: inline-block; height: 16px; }
.level-icon { width: 20px; height: 20px; vertical-align: middle; border-radius: 50%; object-fit: cover; }
.publisher-card .publisher-slogan { font-size: 14px; color: var(--text-sub); margin-bottom: 2px; }
.publisher-card .publisher-fan span{font-size: 13px;}
.publisher-card .publisher-stats { font-size: 14px; color: var(--text-sub); }

/* ========== 文章详情页 ========== */
.article-detail-section { padding: 20px 0 20px; }
.temp-content { background: #fff;  padding: 36px 36px; margin-bottom: 24px; }

.btn-collect { display: inline-flex; align-items: center; gap: 5px; background: transparent;  color: var(--text-sub); padding: 5px 12px; border-radius: 16px; cursor: pointer; font-size: 14px; transition: var(--transition); }
.btn-collect:hover { border-color: var(--primary); color: var(--primary); }
.btn-collect.active { background: #fff8e6; border-color: #f8b500; color: #f8b500; }

/* 点赞按钮 */
.inner-btn{border: 1px solid var(--bg-footer);}
.btn-like { display: inline-flex; align-items: center; gap: 5px; background: transparent;  color: var(--text-sub); padding: 5px 12px; border-radius: 16px; cursor: pointer; font-size: 14px; transition: var(--transition); }
.btn-like:hover { border-color: var(--primary); color: var(--primary); }
.btn-like .like-count { font-style: normal; font-size: 13px; margin-left: 2px; }
.btn-like.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.btn-like.active i { animation: likePop .3s ease; }
@keyframes likePop { 0%{transform:scale(1);} 50%{transform:scale(1.3);} 100%{transform:scale(1);} }


/* 分享按钮 */
.btn-share { display: inline-flex; align-items: center; gap: 5px; background: transparent; color: var(--text-sub); padding: 5px 12px; border-radius: 16px; cursor: pointer; font-size: 14px; transition: var(--transition); position: relative; }
.btn-share:hover { border-color: var(--primary); color: var(--primary); }

/* 分享弹窗 */
.share-popup { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px 8px; display: none; z-index: 200; white-space: nowrap; }
.share-popup.show { display: flex; gap: 4px; }
.share-popup a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--text-sub); font-size: 12px; transition: var(--transition); }
.share-popup a:hover { background: var(--bg-page); color: var(--primary); }
.share-popup a i { font-size: 22px; }
.share-popup a .ic-weibo { color: #e6162d; }
.share-popup a .ic-qzone { color: #ff8200; }
.share-popup a .ic-qq { color: #56a9ea; }
.share-popup a .ic-weixin { color: #07c160; }

/* 微信二维码弹层 */
.share-weixin-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 9999; align-items: center; justify-content: center; }
.share-weixin-overlay:target, .share-weixin-overlay.show { display: flex; }
.share-weixin-box { background: #fff; border-radius: 12px; padding: 24px 32px; text-align: center; position: relative; }
.share-weixin-close { position: absolute; top: 8px; right: 12px; font-size: 22px; color: var(--text-sub); cursor: pointer; line-height: 1; }
.share-weixin-qr { margin: 12px 0; }
.share-weixin-qr img {margin:0 auto; width: 200px; height: 200px; border-radius: 8px; }
.share-weixin-tip { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* 底部推荐 */
.foot-recommend { padding: 32px 0; }
.foot-recommend .title {  font-size: 20px; font-weight: 700; margin: 0 0 16px 16px; letter-spacing: 1px; }
/* 文章正文 */
.article-body { font-size: 15px; line-height: 1.95; color: #2c2c2c; }
.article-body p { margin: 0 0 18px; text-align: justify; font-size: 15px; color:#333; }
.article-body img,.article-body video{max-width: 100%; height: auto;vertical-align: middle;}
.article-body .lead-text { font-size: 16px; color: var(--text-main); background: var(--primary-light); border-left: 3px solid var(--primary); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 26px; line-height: 1.85; }
.article-body .conclusion { margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--border); font-style: italic; color: var(--text-main); }
.article-body .section-title-h2 { font-family: 'Microsoft YaHei', serif; font-size: 20px; font-weight: 700; color: var(--text-main); margin: 32px 0 16px; padding-left: 14px; position: relative; letter-spacing: 1px; }
.article-body .section-title-h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 2px; }
.article-figure { margin: 22px 0; }
.article-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.article-figure figcaption { text-align: center; font-size: 14px; color: var(--text-sub); margin-top: 10px; font-style: italic; }
.video-hero-main { margin-bottom: 20px; width: 100%; height: auto; overflow: hidden; }
.video-hero-player { width: 100%; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); border-radius: 8px; overflow: hidden; }
/* 上一篇/下一篇 */
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.prev-next .nav-link { display: block; padding: 16px 18px; background: var(--bg-page); border-radius: var(--radius); transition: var(--transition); border: 1px solid transparent; }
.prev-next .nav-link:hover { background: var(--primary-light); border-color: var(--primary); transform: translateY(-2px); }
.prev-next .nav-link .dir { font-size: 14px; color: var(--text-sub); display: inline-flex; align-items: center; gap: 5px; margin-bottom: 6px; }
.prev-next .nav-link.next { text-align: right; }
.prev-next .nav-link p { margin: 0; font-size: 14px; color: var(--text-main); line-height: 1.5; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.prev-next .nav-link:hover p { color: var(--primary); }
/* 评论区 */
.comment-section { background: #fff; /*border-radius: var(--radius); padding: 28px 36px; box-shadow: var(--shadow-sm);*/ }
.comment-head { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 22px; }
.comment-head h3 { font-family: 'Microsoft YaHei', serif; font-size: 20px; font-weight: 700; margin: 0; letter-spacing: 2px; display: inline-flex; align-items: center; gap: 10px; }
.comment-head h3 i { color: var(--primary); font-size: 18px; }
.comment-head h3 span { font-size: 14px; color: var(--text-sub); font-weight: 400; font-family: 'Noto Sans SC', sans-serif; }
.btn-comment-submit { background-color: var(--primary); color: #fff; border-color: var(--primary); }
.btn-comment-submit:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); }
/* 评论输入 */
.comment-input-wrap { display: flex; gap: 14px; margin-bottom: 28px; }
.comment-input-wrap .my-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.comment-input-wrap .input-box { flex: 1; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); overflow: hidden; background: #fafafa; }
.comment-input-wrap .input-box:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(45, 140, 240, 0.1); }
.comment-input-wrap textarea { width: 100%; border: none; outline: none; resize: vertical; padding: 12px 16px; font-size: 14px; background: transparent; line-height: 1.6; min-height: 90px; font-family: inherit; }
.comment-input-wrap .input-foot { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-top: 1px solid var(--border); background: #fff; }
.comment-input-wrap .emoji button { background: transparent; border: none; color: var(--text-sub); font-size: 18px; margin-right: 12px; cursor: pointer; transition: var(--transition); }
.comment-input-wrap .emoji button:hover { color: var(--primary); }
.comment-input-wrap .btn-publish { background: var(--primary); color: #fff; border: none; border-radius: 18px; padding: 7px 22px; font-size: 14px; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 10px rgba(45, 140, 240, 0.25); }
.comment-input-wrap .btn-publish:hover { background: var(--primary-dark); transform: translateY(-1px); }
/* 评论列表 */
.comment-list { margin: 0; }
.comment-list .comment-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.comment-list .comment-item:last-child { border-bottom: none; }
.comment-list .avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.comment-list .cm-content { flex: 1; min-width: 0; }
.comment-list .cm-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-list .cm-user { font-size: 14px; color: var(--primary); font-weight: 500; }
.comment-list .cm-time { font-size: 11px; color: var(--text-sub); }
.comment-list .cm-text { font-size: 14px; color: var(--text-main); line-height: 1.7; margin: 0 0 8px; }
.comment-list .cm-foot { display: flex; gap: 18px; }
.comment-list .cm-foot button { background: transparent; border: none; color: var(--text-sub); font-size: 14px; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 4px; padding: 0; }
.comment-list .cm-foot button em { font-style: normal; color: var(--text-sub); }
.comment-list .cm-foot button:hover { color: var(--primary); }
.comment-list .cm-foot button:hover em { color: var(--primary); }
.comment-list .cm-foot .btn-like.active,
.comment-list .cm-foot .btn-like.active em { color: var(--primary); }
.load-more { text-align: center; margin-top: 16px; }
.load-more button { background: transparent; border: 1px solid var(--border); color: var(--text-sub); padding: 8px 28px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: var(--transition); }
.load-more button:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
/* 评论回复 */
.comment-list .reply-list { margin: 12px 0 0 0; padding: 12px 0 0 14px; border-left: 2px solid var(--primary-light); list-style: none; }
.comment-list .reply-item { display: flex; gap: 10px; padding: 10px 0; }
.comment-list .reply-item .avatar { width: 32px; height: 32px; }
.comment-list .reply-item .cm-text { font-size: 14px; }
.comment-list .reply-to { color: var(--primary); }
.comment-list .reply-form { margin-top: 12px; padding: 12px; background: var(--bg-page); border-radius: var(--radius); border: 1px solid var(--border); }
.comment-list .reply-form textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; font-size: 14px; resize: vertical; min-height: 70px; outline: none; }
.comment-list .reply-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45, 140, 240, 0.1); }
.comment-list .reply-form .reply-actions { margin-top: 8px; text-align: right; }
.comment-empty { text-align: center; color: var(--text-sub); font-size: 14px; padding: 24px 0; }


/* 作者信息卡片 */
.author-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; text-align: center; padding-bottom: 22px; margin-bottom: 20px; position: relative; }
.author-card .banner { height: 80px; background: linear-gradient(135deg, #2d8cf0 0%, #6e63ff 100%); position: relative; overflow: hidden; }
.author-card .banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 60%); }
.author-card .avatar { width: 80px; height: 80px; border-radius: 50%; border: 4px solid #fff; margin: -40px auto 12px; display: block; object-fit: cover; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); position: relative; z-index: 2; }
.author-card .name { font-family: 'Microsoft YaHei', serif; font-size: 18px; font-weight: 700; margin: 0 0 4px; letter-spacing: 1px; }
.author-card .bio { font-size: 14px; color: var(--text-sub); line-height: 1.6; margin: 0 18px 18px; }
.author-card .stats { display: flex; justify-content: space-around; padding: 14px 0; margin: 0 18px 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.author-card .stat-item { display: flex; flex-direction: column; gap: 2px; }
.author-card .stat-item .num { font-family: 'Microsoft YaHei', serif; font-size: 18px; font-weight: 700; color: var(--text-main); }
.author-card .stat-item .label { font-size: 11px; color: var(--text-sub); }
.author-card .actions { display: flex; gap: 8px; padding: 0 18px; }
.author-card .btn-follow { flex: 1; height: 38px; background: var(--primary); border: none; border-radius: 19px; color: #fff; font-size: 14px; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 12px rgba(45, 140, 240, 0.25); }
.author-card .btn-follow:hover { background: var(--primary-dark); }
.author-card .btn-follow.followed { background: var(--bg-page); color: var(--text-sub); box-shadow: none; border: 1px solid var(--border); }
.author-card .btn-msg { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-page); border: 1px solid var(--border); color: var(--text-sub); cursor: pointer; transition: var(--transition); }
.author-card .btn-msg:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }


/* 相关推荐列表（图文） */
.related-list { margin: 0; }
.related-list li { margin-bottom: 12px; }
.related-list li:last-child { margin-bottom: 0; }
.related-list a { display: flex; gap: 10px; align-items: center; transition: var(--transition); }
.related-list img { width: 110px; height: auto; border-radius: 6px; object-fit: cover; flex-shrink: 0; transition: var(--transition); }
.related-list a:hover img { transform: scale(1.04); }
.related-list .info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 8px;}
.related-list .info h6 { margin: 0; font-size: 15px; font-weight: 400; color: var(--text-main); height:40px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: var(--transition); }
.related-list a:hover .info h6 { color: var(--primary); }
.related-list .info .meta { font-size: 14px; color: var(--text-sub); display: inline-flex; align-items: center; gap: 4px; }

/* 文章头 */
.article-head { border-bottom: 1px solid var(--border);  margin-bottom: 28px; }
.article-title { font-family: 'Microsoft YaHei', serif; font-size: 26px; font-weight: 900; line-height: 1.4; color: var(--text-main); margin: 0 0 22px; letter-spacing: 1px; }
.article-meta { background: #eee; padding: 10px;border-radius: var(--radius); padding-bottom: 15px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.article-meta .author-info { display: flex; align-items: center; gap: 10px; }
.article-meta .author-info img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-light); } */
.article-meta .author-info .author-text { display: flex; flex-direction: column; line-height: 1.3; } 
.article-meta .author-info .name { font-size: 16px; font-weight: 500; color: var(--text-main); } 
.article-meta .author-info .title { font-size: 14px; color: var(--text-sub); }
.article-meta .meta-stats { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--text-sub); }
.article-meta .meta-stats span { display: inline-flex; align-items: center; gap: 5px; }

@media (max-width:991.98px) {
    /* 文章详情页 */
    .temp-content { padding: 22px 0px; }
    .article-title { font-size: 22px; }

    .article-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
    .article-meta .meta-stats { flex-wrap: wrap; gap: 10px; }
    .article-body { font-size: 14px; }
    .article-body .lead-text { padding: 14px 16px; font-size: 14px; }
    .article-body .section-title-h2 { font-size: 17px; }
    .prev-next { grid-template-columns: 1fr; gap: 10px; }
    .prev-next .nav-link.next { text-align: left; }
    .comment-section { padding: 20px 0px; }
    .comment-input-wrap { gap: 10px; }
    .article-foot { padding: 16px; }
    .side-card{padding: 18px 0px;}

    .content-list h6 a{ font-size: 13px; }
}

/***  ***/
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.user-category { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); margin-bottom: 20px; overflow: hidden }
.user-category li{margin:0px auto; }
.user-category li a{display: inline-block;width: 100%;height: 100%;color:var(--bg-footer);font-size:16px;padding: 5px 20px; height: 40px; line-height: 30px;}
.user-category li.active a{color:var(--primary-light); background: var(--primary);}
.player-container {width: 100%;box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);border-radius: 8px;overflow: hidden;}
.vjs-poster img {height: auto !important; }

.player-container { width: 100%; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); border-radius: 8px; overflow: hidden; }
.vjs-poster img { height: auto !important; }

/* ---- 10.6 关注按钮 ---- */
.js-follow-btn { background-color: var(--primary); color: #fff; border: none; }
.js-follow-btn:hover { background-color: var(--primary-dark); }
.js-follow-btn.btn-outline-secondary { background-color: #ccc; }
.js-follow-btn[data-followed="1"] { background-color: #ccc; }

/*** search  ***/
.search-top-box { background: var(--bg-page); border-bottom: 1px solid var(--border); padding: 24px 0; }
.search-result-item { transition: var(--transition); }
.search-result-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.search-result-item .thumb { width: 168px; height: 126px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.search-result-item .meta { font-size: 14px; color: var(--text-sub); }
.search-result-item h3 { font-size: 16px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; line-height: 1.5; }
.search-result-item h3:hover { color: var(--primary); }
.search-result-item .txt { font-size: 14px; color: var(--text-main-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-card { border-radius: var(--radius); }
.search-result-item .bottom-bar {margin:10px 0px; color: var(--bg-footer); font-size: 14px;}
.search-result-item .bottom-bar span{margin-right: 10px;}
.search-result-item .bottom-bar i{margin-right:5px}
.sidebar-card .card-header { background: #fff; border-bottom: 2px solid var(--primary); font-weight: 600; font-size: 15px; color: var(--text-main); }
.time-filter .list-group-item { border: none; padding: 8px 16px; font-size: 14px; color: var(--text-main-light); cursor: pointer; transition: var(--transition); }
.time-filter .list-group-item:hover, .time-filter .list-group-item.active { background: var(--primary-light); color: var(--primary); }
.history-list .list-group-item { border: none; padding: 6px 16px; font-size: 14px; color: var(--text-sub); }
.history-list .list-group-item:hover { color: var(--primary); background: var(--primary-light); }


/* 分页 */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; padding: 0; margin: 28px 0 0; list-style: none; }
.pagination li { margin: 0 3px; }
.pagination li a, .pagination li span { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; line-height: 1; text-align: center; border-radius: 6px; border: 1px solid var(--border); color: var(--text-main); background: #fff; font-size: 14px; transition: var(--transition); box-sizing: border-box; }
.pagination li a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); text-decoration: none; }
.pagination li.active a, .pagination li.active span { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(45, 140, 240, 0.3); }
.pagination li.active a:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.pagination li.disabled a, .pagination li.disabled span { background: #fff; color: var(--text-light); border-color: var(--border); cursor: not-allowed; pointer-events: none; }
.pagination li.disabled a:hover, .pagination li.disabled span:hover { color: var(--text-light); background: #fff; border-color: var(--border); }

/*  WangEditor 编辑器  */
#toolbar-container { border: 1px solid #d1d5db; border-radius: 6px 6px 0 0; }
#editor-container { height: 400px; border: 1px solid #d1d5db; border-top: 1px solid #e0e0e0; border-radius: 0 0 6px 6px; }

/* WangEditor 工具栏始终可点击（不因失焦而灰色禁用） */
.w-e-bar-item.w-e-bar-item-disabled,
.w-e-bar-item[disabled] {
    opacity: 1 !important;
    color: inherit !important;
    background: none !important;
}
.w-e-bar-item.w-e-bar-item-disabled button,
.w-e-bar-item[disabled] button {
    pointer-events: auto !important;
    color: inherit !important;
    opacity: 1 !important;
}
.w-e-bar-item.w-e-bar-item-disabled .w-e-bar-item-btn,
.w-e-bar-item[disabled] .w-e-bar-item-btn {
    pointer-events: auto !important;
    color: #333 !important;
    opacity: 1 !important;
    cursor: pointer !important;
}


/* 文章列表区 */
.temp-list-section { padding: 20px 0 20px; }
.list-wrap { background: #fff; border-radius: 16px; padding: 8px 28px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.list-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); transition: var(--transition); color: var(--text-main); }
.list-item:last-child { border-bottom: none; }
.list-item:hover { color: var(--text-main); }
.list-item .thumb { flex-shrink: 0; width: 200px; height: auto; border-radius: var(--radius); overflow: hidden; position: relative; background: #f5f5f5; }
.list-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.list-item:hover .thumb img { transform: scale(1.06); }
.list-item .thumb .badge-hot { position: absolute; top: 8px; left: 8px; background: linear-gradient(135deg, #ff5b3c 0%, #e74c3c 100%); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 3px; display: inline-flex; align-items: center; gap: 4px; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(231, 76, 60, 0.35); }
.list-item .info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.list-item .title { font-size: 17px; font-weight: 700; line-height: 1.5; margin: 0 0 10px; color: var(--text-main); transition: var(--transition); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.list-item:hover .title { color: var(--primary-hover); }
.list-item .summary { font-size: 14px; color: var(--text-sub); line-height: 1.5; margin: 0 0 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.list-item .bottom-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.list-item .bottom-bar .author { display: flex; align-items: center; gap: 8px; }
.list-item .bottom-bar .author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.list-item .bottom-bar .author .name { font-size: 14px; color: var(--text-main); font-weight: 500; }
.avatar { display: inline-block; width: 30px; height: 30px; border-radius: 15px; }
.meta-row { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-sub); }
.meta-row span { margin-right: 10px; display: inline-flex; align-items: center; gap: 4px; }


.video-section {padding: 20px 0; }




/* 768px - 991px：平板竖屏 —— 主导航收纳为汉堡抽屉，布局上下堆叠 */
@media (max-width: 991px) {
    .site-header,.header-spacer { height: 64px; }
    .site-header,.header-spacer2 { height: 58px; }
    .site-header .header-inner { height: 64px; }

    .banner-list .news-item h5{font-size: 16px;}
    /* 桌面端元素隐藏 */
    .desktop-only { display: none !important; }
    .mobile-only { display: block; }
    /* 头部右侧操作压缩 */
    .header-actions { margin-left: auto; }
    /* 显示汉堡按钮 */
    .nav-toggle { display: flex; margin-left: auto; }
    /* 主导航变为下拉抽屉（默认隐藏，打开时展开） */
    .main-nav { display: flex; position: fixed; top: 80px; left: 0; right: 0; margin: 0; padding: 0; flex-direction: column; align-items: stretch; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .08); border-top: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height .32s ease; z-index: 999; }
    .main-nav a { padding: 14px 24px; width: 100%; font-size: 15px; color: var(--text-main); border-bottom: 1px solid #f3f4f6; text-align: left; }
    .main-nav a::after { display: none; }
    .main-nav a.active { background: var(--primary); color: var(--primary-light); }
    body.nav-open .main-nav { max-height: 700px; }
    /* 抽屉顶部距离随头部高度调整 */
    .main-nav { top: 64px; }
    /* 移动端搜索框 */
    .mobile-search { display: flex; align-items: center;  border-bottom: 1px solid #f3f4f6; }
    .mobile-search input { flex: 1; height: 44px; border: 2px solid var(--primary); border-right: none; border-radius: 22px 0 0 22px; padding: 0 16px; outline: none; font-size: 14px; }
    .mobile-search input::placeholder { color: var(--text-sub); }
    .mobile-search input:focus { border-color: var(--primary); }
    .mobile-search-btn { width: 46px; height: 44px; border: 2px solid var(--primary); border-radius: 0 22px 22px 0; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
    /* 移动端登录按钮 */
    .mobile-login { align-self: center; margin: 16px 0 24px; background: transparent; color: var(--primary); }
    .mobile-login:hover { background: var(--primary-light); }
    .brand .logo-icon { width: 44px; height: 44px; font-size: 20px; }
    .brand .brand-text { margin-top: 0px; margin-left: 60px; }
    .brand .brand-text .name { font-size: 16px; }
    /* 品牌口号隐藏以节省空间 */
    .banner-list { height: auto; margin-top: 20px; }
    .banner-swiper .swiper-slide { height: auto; }
    .hot-grid { grid-template-columns: repeat(2, 1fr); }
    .newcar-grid { grid-template-columns: repeat(2, 1fr); }

    .article-head{margin-bottom: 10px;}
    .article-title{margin: 0 0 10px;}
    .publisher-card{margin-bottom:10px;padding: 10px 0;}


    .main-section{padding:10px 0px 10px;}
    .temp-ranking{padding: 15px 0;box-shadow: none;}

    .blogger-wrap{padding: 20px 0px;box-shadow: none;}

    /* 文章列表页与详情页 */
    .article-list-wrap { padding: 4px 18px; }
    .temp-content { padding: 28px 24px; }
    .comment-section { padding: 22px 22px; }
    .author-card { margin-top: 24px; }
    .breadcrumb-bar .column-title h2 { font-size: 26px; }
    /* 新车详情页：堆叠版 */
    .car-summary { padding: 24px 0 0 0; }
    .review-overview { grid-template-columns: 1fr; gap: 18px; }
    .review-overview .overall { border-right: none; border-bottom: 1px dashed var(--border); padding-bottom: 16px; }
    /* 参数表格 */
    .car-tabs-content { padding: 22px 18px; }
    .pic-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    /* 新车列表页筛选栏横向滚动 */
    .filter-row { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .filter-row::-webkit-scrollbar { height: 0; }
    /* 视频卡片在平板上由 Bootstrap col-md-6 提供 2 列布局，无需额外 grid 覆盖 */
}

    @media (max-width: 767px) {

    /* 文章列表页 */
    .list-wrap { padding: 0 14px; }
    .list-item { flex-direction: column; gap: 12px; padding: 18px 0; }
    .list-item .thumb { width: 100%; height: 200px; }
    .list-item .title { font-size: 16px; }
    .list-list-wrap { padding: 0 14px; }
    .breadcrumb-bar { padding: 20px 0 24px; }
    .breadcrumb-bar .column-title h2 { font-size: 22px; letter-spacing: 2px; }
    .pagination li a,.pagination li span { min-width: 32px; height: 32px; padding: 0 8px; font-size: 14px; }
    /* 文章详情页 */
    .temp-content { padding: 22px 22px; }
    .article-title { font-size: 22px; }
    .article-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
    .article-meta .meta-stats { flex-wrap: wrap; gap: 10px; }
    .article-body { font-size: 14px; }
    .article-body .lead-text { padding: 14px 16px; font-size: 14px; }
    .article-body .section-title-h2 { font-size: 17px; }
    .prev-next { grid-template-columns: 1fr; gap: 10px; }
    .prev-next .nav-link.next { text-align: left; }
    .comment-section { padding: 20px 0px; }
    .comment-input-wrap { gap: 10px; }
    .article-foot { padding: 16px; }
    .side-card{padding: 18px 0px;}

    /* 二行省略 */
    .content-list h6 a{ font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


    /* 新车列表页 */
    .filter-card { padding: 4px 14px; }
    .filter-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 0; }
    .filter-row .row-label { width: auto; line-height: 1.6; }
    .sort-row .result-count { display: none; }
    /* 车型详情页 */
    .car-overview-section { padding: 18px 0; }
    .car-gallery { padding: 10px; }
    .car-title { font-size: 20px; }
    .car-summary .price-num { font-size: 26px; }
    .car-summary .key-spec { grid-template-columns: 1fr 1fr; }
    .car-summary .action-row { flex-wrap: wrap; }
    .btn-test-drive { flex: 1 1 100%; }
    .car-tabs-nav { overflow-x: auto; flex-wrap: nowrap; }
    .car-tabs-nav .nav-link { padding: 14px 18px; font-size: 14px; white-space: nowrap; }
    .car-tabs-content { padding: 20px 14px; }
    .spec-table td { padding: 9px 10px; font-size: 14px; }
    .spec-table td:nth-child(1), .spec-table td:nth-child(3) { width: 26%; }
    .pic-grid { grid-template-columns: 1fr 1fr; }
    .review-overview { padding: 18px; }
    .review-overview .big-score { font-size: 44px; }
    .dim-bars { grid-template-columns: 1fr; }
    /* 视频列表页 */
    .video-tabs-bar { padding: 10px 12px; }
    .v-tab { padding: 5px 14px; font-size: 14px; }
    .v-count { width: 100%; margin-left: 0; margin-top: 4px; }
    .video-card .play-btn { width: 46px; height: 46px; font-size: 15px; }
    .video-card .v-title { font-size: 14px; min-height: 40px; }

    .user-category ul{display: flex;flex-wrap: wrap;}
    .user-category li{ width:33.3%;text-align: center;}

    .left-user-info{flex-direction: column;align-items: flex-start;}
    .left-user-info .left{width: 100%;/* justify-content: space-between;*/}
    .left-user-info .left button{margin-left:auto;}
    .left-user-info .right{margin:5px 0 0 75px;}
}

/* 576px 以下：小手机 —— 超紧凑布局，以可读性为先 */
@media (max-width: 575px) {
    .section-padding{padding: 15px 15px 0px !important;}
    .container { padding-left: 0px; padding-right: 0px; }
    .navbar-brand{padding-left: 10px; height:36px;}
    .navbar-brand img{height:100%;}
    /* 头部右侧操作压缩 */
    .header-actions {gap: 8px; }
    .btn-login { padding: 7px 12px; font-size: 14px; }
    .btn-login i { display: none; }
    .search-toggle { width: 36px; height: 36px; }
    .search-bar { width: calc(100vw - 28px); right: -8px; }
    /* Banner 区 */
    .hero-section { margin:0px !important; }
    .banner-section { padding: 18px 0; }
    .banner-card { padding: 0px; }
    .hero-swiper {  border-radius: 0px !important; }
    .banner-swiper .slide-caption { padding: 12px 14px; }
    .banner-swiper .slide-caption h2 { font-size: 15px; line-height: 1.4; }
    .banner-swiper .slide-caption p { display: none; }
    .banner-list {margin:0px; padding: 14px; }
    .banner-list .news-item{margin: 0;padding: 10px;}
    .news-item h5 { font-size: 14px; }
    /* 区块标题 */
    .section-title h3 { font-size: 19px; }
    .more-link { font-size: 14px; }

    .article-list-wrap{padding: 0px;}
    /* 今日热讯：堆叠为单列 */
    .hot-grid { grid-template-columns: 1fr; gap: 14px; }
    .hot-card .img-title { font-size: 14px; }

    /* 视频列表 */
    .video-section { padding: 18px 16px; }

    /* 精选卡片压缩 */
    .featured-card h6 { font-size: 14px; }
    /* 用车维保区热门讨论卡片 */
    .hot-discuss .discuss-item h6 { font-size: 14px; }
    /* 页脚 */
    .site-footer h5 { font-size: 15px; }
    .footer-links a { font-size: 14px; }
    .copyright { font-size: 11px; padding: 18px 0; line-height: 1.7; }
    /* 文章详情页正文压缩 */
    .article-title { font-size: 19px; line-height: 1.45; }
    .temp-content { padding: 18px 18px; }
    /* 车型详情页：主图缩略图减到 4 张可见 */
    .car-thumbs-swiper .swiper-slide { width: 22%; }
    .car-summary .key-spec { grid-template-columns: 1fr; }
    .car-summary .action-row { gap: 8px; }
    .btn-compare, .btn-icon-fav { flex: 1; }
    .pic-grid { grid-template-columns: 1fr; }

    /* 底部推荐 */
    .foot-recommend { padding: 16px 16px; }
    /* 评价卡片 */
    .review-item { gap: 10px; }
    .review-item .avatar { width: 36px; height: 36px; }
    /* 登录/注册弹窗 */
    .auth-modal .modal-dialog { margin: 10px; max-width: calc(100% - 20px); }
    .auth-modal .modal-body { padding: 18px 14px; }
    .auth-modal .tab-trigger { font-size: 15px; padding: 10px 14px; }

    .brand .brand-text{margin-top: 0px;margin-left: 50px;}

    .user-category,.side-card{border-radius: 0;}

    .content-item-thumb{width: 100%; height: auto;}
    .content-list h6 {margin:5px 0px !important; padding:0;}
    .content-list h6 a {font-size: 16px;font-weight: bold;}
    .content-list .content-item{padding: 0px 0 10px; flex-direction: column;border-bottom: 1px solid var(--border);}


     .footer-main{margin-right: 0px;margin-left: 0px;}

    .content-item-title{font-size: 13px;}
    .content-item-views{flex-direction: column;}
    .mobile-hidden{display: none;}
    .content-item-time-wrap { margin: 5px 0 0 0; }
    .side-card { padding: 16px 16px; }
    .user-slogan{font-size: 13px;}
    .left-user-info .right{font-size: 13px;}
    .content-item > a { margin-right: 0; }
}

@media (max-width: 480px) {

}