/* 模块样式 */

/* 主要内容区：轮播图 + 推荐新闻 */
.main-content-area {
    margin-bottom: 30px;
    display: block;
    width: 100%;
    clear: both;
}

.main-left {
    width: 65%;
    margin-right: 2%;
}

.carousel-section {
    width: 65%;
    margin-right: 2%;
}

.right-sidebar {
    width: 33%;
}

/* 横排 3 个展会横幅图，底部半透明黑条+白字介绍 */
.banners-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.banner-item {
    flex: 1;
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #e8e8e8;
}

.banner-item-img {
    display: block;
}

.banner-item img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
    vertical-align: top;
}

.banner-item-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommended-news {
    width: 100%;
    margin-bottom: 0;
}

.carousel-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    color: #fff;
}

.carousel-overlay h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    color: #333;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 1);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    background: #fff;
    width: 24px;
    border-radius: 6px;
}

/* 推荐新闻 */
.recommended-news {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.recommended-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.recommended-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.hot-badge {
    display: inline-block;
    background: #ff4444;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 600;
}

.recommended-featured {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.featured-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: #333;
}

.featured-image {
    flex: 0 0 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
    color: #333;
}

.featured-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommended-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recommended-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.recommended-list li:last-child {
    border-bottom: none;
}

.recommended-list li a {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s;
}

.recommended-list li a:hover {
    color: #004E89;
}

/* 展会/活动卡片 */
.exhibition-cards {
    margin-bottom: 30px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.exhibition-card {
    border-radius: 8px;
    padding: 20px;
    min-height: 150px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.exhibition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-amr {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.card-ciaace {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.card-capas {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.card-magazine {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.card-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.card-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.card-content .card-date,
.card-content .card-desc {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* 最新内容列表 - 按截图精确还原 */
.article-list {
    width: 100%;
}

/* 最新内容区域标题：浅灰条 */
.section-title-bar {
    background: #e8e8e8;
    padding: 12px 16px;
    margin-bottom: 0;
    border-bottom: none;
}

.section-title-bar h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.section-title-bar h3::before {
    display: none;
}

/* 列表项布局 */
.article-list .excerpt {
    background: #fff;
    border-radius: 0;
    padding: 14px 16px;
    margin-bottom: 0;
    border-bottom: 1px solid #d0d0d0;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}

.excerpt-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 封面图片区：横排展示，有几张显示几张 */
.excerpt-imgs {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    overflow: hidden;
}

.excerpt-img {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
    display: block;
    background: #f5f5f5;
}

.article-list .excerpt:hover {
    background-color: #fafafa;
}

/* 每项下方横线分隔，最后一项不显示底线 */
.article-list .excerpt:last-child {
    border-bottom: none;
}

/* 第一行：标签 + 标题 + 评论气泡 */
.excerpt-title-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: nowrap;
}

.article-list-latest .cat-tag {
    flex-shrink: 0;
    display: inline-block;
    background: #004E89;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    font-weight: 500;
    line-height: 1.4;
    /* 左下角斜切，旗帜形 */
    border-radius: 2px 2px 2px 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 6px));
}

.article-list-latest .excerpt-title-row h2 {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

/* 时间放在标题行内时靠右 */
.article-list-latest .excerpt-title-row .meta-time {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 12px;
    color: #999;
}

.article-list-latest .excerpt-title-row h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-list-latest .excerpt-title-row h2 a:hover {
    color: #004E89;
}

/* 评论数：浅灰气泡，左侧三角 */
.comment-bubble {
    flex-shrink: 0;
    display: inline-block;
    min-width: 24px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #d8d8d8;
    color: #666;
    font-size: 12px;
    padding: 0 6px;
    border-radius: 4px;
    position: relative;
}

.comment-bubble::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #d8d8d8;
    border-left-width: 0;
}

/* 元数据行：人像图标 + admin，时钟图标 + 时间 */
.article-list-latest .article-meta-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    font-size: 12px;
    color: #999;
    margin-top: 0;
}

.article-list-latest .meta-author,
.article-list-latest .meta-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-list-latest .icon-meta {
    display: inline-block;
    width: 14px;
    height: 14px;
    color: #999;
    flex-shrink: 0;
}

.article-list-latest .icon-meta.icon-user {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.article-list-latest .icon-meta.icon-clock {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.article-list-latest .icon-meta.icon-user::before,
.article-list-latest .icon-meta.icon-clock::before {
    content: none;
}

.article-list-latest .article-meta-info time {
    color: #999;
}

.article-category {
    margin-bottom: 6px;
    display: inline-block;
}

.cat-tag {
    display: inline-block;
    background: #004E89;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: 500;
    line-height: 1.4;
}

.article-list .excerpt header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.article-list .excerpt header h2 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.article-list .excerpt header h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-list .excerpt header h2 a:hover {
    color: #004E89;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #999;
    flex-wrap: wrap;
    margin-top: 4px;
}

.article-meta-info .comment-count {
    display: inline-block;
    min-width: 20px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background: #e53e3e;
    border-radius: 2px;
    color: #fff;
    padding: 0 4px;
    font-weight: 600;
}

.article-meta-info .author {
    color: #666;
}

.article-meta-info time {
    color: #999;
}

.article-list-latest .article-content {
    margin-top: 2px;
}

.article-content {
    margin-top: 8px;
}
.article-content-text {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    /* 2行溢出省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-download {
    margin-top: 6px;
}
.download-file-link {
    display: inline-block;
    font-size: 13px;
    color: var(--color-primary, #1565c0);
    text-decoration: underline;
    line-height: 1.5;
}
.download-file-link:hover {
    color: var(--color-primary-dark, #0d47a1);
    text-decoration: underline;
}
.favorite-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
}

.favorite-btn:hover {
    color: #004E89;
}

.favorite-btn.active {
    color: #ff4444;
}

/* 关注我们Widget */
.widget-follow {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.widget-follow h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.follow-btn {
    width: 100%;
    background: #ff4444;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.follow-btn:hover {
    background: #e63939;
}

.follow-count {
    margin-left: 8px;
    font-weight: 700;
}

.widget-follow .qrcode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.widget-follow .qrcode-wrapper {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.widget-follow .qrcode-wrapper:hover {
    transform: translateY(-2px);
}

.widget-follow .qrcode-wrapper img {
    width: 100%;
    max-width: 150px;
    height: auto;
    aspect-ratio: 1;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.widget-follow .qrcode-wrapper img:hover {
    border-color: var(--primary-color, #667eea);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.widget-follow .qrcode-wrapper p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* 最新文章Widget */
.widget-latest {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.widget-latest h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.latest-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.latest-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.latest-list li:last-child {
    border-bottom: none;
}

.latest-list li a {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-list li a:hover {
    color: #004E89;
}

/* 最新文章 - 灰色块（与截图一致） */
.widget-latest-grey {
    background: #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
}

.widget-latest-grey h3 {
    background: #d0d0d0;
    color: #555;
    margin: 0;
    padding: 12px 15px;
    font-size: 15px;
    border-bottom: 1px solid #c0c0c0;
}

.widget-latest-grey .latest-list li {
    border-bottom: 1px solid #ddd;
    padding: 10px 15px;
}

.widget-latest-grey .latest-list li a {
    color: #333;
}

/* 文字 tag 类型列表：纯文字，标签间距 10px，行高 150% */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    line-height: 150%;
}

.tag-list li,
.widget-latest-grey .tag-list li {
    padding: 0;
    border-bottom: none !important;
    list-style: none;
}

.tag-list li a {
    display: inline;
    background: none;
    color: #333;
    font-size: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.tag-list li a:hover {
    color: #004E89;
}

/* 维修版电子杂志上线啦（蓝色横幅） */
.widget-magazine {
    margin-bottom: 20px;
}

.magazine-banner {
    display: block;
    background: linear-gradient(135deg, #2b6cb0 0%, #004E89 100%);
    color: #fff;
    padding: 20px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.magazine-banner:hover {
    opacity: 0.95;
}

.magazine-icon {
    font-size: 20px;
    margin-right: 8px;
    color: #fbd38d;
}

.magazine-title {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.magazine-desc {
    font-size: 13px;
    opacity: 0.95;
}

/* 侧栏广告位：单图，点击跳转 */
.widget-ad-automechanika {
    margin-bottom: 20px;
}

.ad-automechanika {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #e0e0e0;
}

.ad-automechanika img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

/* 右侧推荐新闻 widget 样式 */
.right-sidebar .recommended-news {
    background: #fff;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.right-sidebar .recommended-news h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.right-sidebar .recommended-news .featured-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: #333;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e8e8e8;
}

.right-sidebar .recommended-news .featured-image {
    flex: 0 0 100px;
    height: 66px;
    border-radius: 4px;
    overflow: hidden;
}

.right-sidebar .recommended-news .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right-sidebar .recommended-news .featured-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.4;
    color: #333;
}

.right-sidebar .recommended-news .featured-content p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.right-sidebar .recommended-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.right-sidebar .recommended-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e8e8e8;
}

.right-sidebar .recommended-list li:last-child {
    border-bottom: none;
}

.right-sidebar .recommended-list li a {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    text-decoration: none;
}

.right-sidebar .recommended-list li a:hover {
    color: #004E89;
}

/* Header */
.logo {
    float: left;
}
.m-nav-toggle {
    display: none;
    float: left;
    height: var(--header-height);
    width: 40px;
    text-align: center;
    line-height: var(--header-height);
    cursor: pointer;
    font-size: 24px;
    margin-right: 10px;
}
.icon-menu::before { content: "≡"; }
.logo a {
    display: flex;
    align-items: center;
}
.logo img {
    height: 40px;
    display: none; /* 默认隐藏，避免加载失败时的破碎图标 */
}
.logo .site-name {
    font-size: 20px;
    font-weight: bold;
    margin-left: 0; /* 移除左边距，因为图片被隐藏 */
    color: var(--primary-color);
}

/* 如果 logo 图片加载成功，显示图片并添加间距 */
.logo img[src]:not([src=""]) {
    display: block;
}
.logo img[src]:not([src=""]) + .site-name {
    margin-left: 10px;
}

.site-nav {
    float: left;
    margin-left: 40px;
}
.site-nav li {
    float: left;
}
.site-nav li a {
    display: block;
    line-height: var(--header-height);
    padding: 0 15px;
    font-size: 15px;
}
.site-nav li.active a, .site-nav li a:hover {
    color: var(--primary-color);
}

/* 下载APP按钮高亮 */
.download-app-btn {
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 20px;
    padding: 0 20px !important;
    margin-left: 10px;
    transition: all 0.3s;
}
.download-app-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.user-action {
    float: right;
    display: flex;
    align-items: center;
    height: var(--header-height);
}
.search-form {
    background-color: #f1f1f1;
    border-radius: 20px;
    padding: 5px 15px;
    margin-right: 20px;
}
.search-form input {
    border: none;
    background: none;
    width: 120px;
}

/* 英雄横幅区 - Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #FF6B35 0%, #F7B801 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-level-2);
    padding: 60px 0;
}

.hero-banner .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    color: #fff;
}

.hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 14px;
    opacity: 0.9;
}

.hero-image {
    flex: 0 0 450px;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-base);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* 响应式 - 英雄横幅 */
@media (max-width: 1024px) {
    .hero-banner .container {
        gap: 40px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-image {
        flex: 0 0 350px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 40px 0;
    }
    .hero-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-desc {
        font-size: 16px;
    }
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }
    .hero-image {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    .download-app-btn {
        display: block;
        margin: 10px auto 0;
        float: none;
    }
}

/* 核心特色展示区 - Core Features */
.core-features {
    padding: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-level-1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-level-2);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 响应式 - 核心特色 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .core-features {
        padding: 30px 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-card {
        padding: 30px 20px;
    }
}

.focus-headlines-wrap .container {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.focus-headlines-wrap .focus-slide {
    width: 55%;
    flex-shrink: 0;
}

.focus-headlines-wrap .headlines-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-base);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    background: #fff;
}

.slide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.slide-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* 头条列表样式优化 */
.headlines-list {
    color: #fff;
}

.headline-top {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-base);
    margin-bottom: 15px;
    transition: all 0.3s;
}

.headline-top:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.headline-top h2 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.headline-top h2 a {
    color: #fff;
    font-weight: 600;
}

.headline-top p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.headline-sub {
    list-style: none;
}

.headline-sub li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.headline-sub li:last-child {
    border-bottom: none;
}

.headline-sub li:hover {
    padding-left: 10px;
}

.headline-sub li a {
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.headline-sub li span {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Micro Categories */
.micro-categories ul {
    display: flex;
    gap: 15px;
}
.micro-categories li {
    flex: 1;
    background: #fff;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-level-1);
    transition: all 0.3s;
}
.micro-categories li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-level-2);
}
.micro-categories li a {
    display: block;
    padding: 15px;
    text-align: center;
}
.micro-categories strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}
.micro-categories span {
    color: var(--text-muted);
    font-size: 12px;
}

/* Article List - 重新设计 */
.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.section-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    padding-left: 15px;
}

.section-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), #4ecdc4);
    border-radius: 2px;
}

/* 文章卡片列表 */
.article-list {
    display: flex;
    flex-direction: column;
    /* gap: 24px; */
}

.excerpt {
    background: var(--content-bg);
    border-radius: var(--radius-base);
    overflow: hidden;
    box-shadow: var(--shadow-level-1);
    transition: all 0.3s;
    display: flex;
    gap: 20px;
    padding: 20px;
}

/* .excerpt:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-level-3);
} */

.excerpt .focus {
    width: 280px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius-base);
}

.excerpt .thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

.excerpt:hover .thumb {
    transform: scale(1.1);
}

.excerpt header {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.excerpt h2 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.excerpt h2 a {
    color: var(--text-color);
    transition: color 0.3s;
}

.excerpt h2 a:hover {
    color: var(--primary-color);
}

.excerpt .note {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.excerpt .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.excerpt .meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.excerpt .meta .cat {
    padding: 4px 12px;
    background: var(--bg-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.excerpt .meta .cat:hover {
    background: var(--primary-color);
}

.excerpt .meta .cat:hover a {
    color: #fff;
}

.excerpt .meta time::before {
    content: '📅';
    margin-right: 4px;
}

.excerpt .meta .pv::before {
    content: '👁';
    margin-right: 4px;
}

/* Widget - 优化设计 */
.widget {
    background: var(--content-bg);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-level-1);
    margin-bottom: 20px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.widget:hover {
    box-shadow: var(--shadow-level-2);
    border-color: transparent;
}

.widget h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 12px;
}

.widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

.widget-hot li {
    padding: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget-hot .num {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #eee;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    margin-right: 10px;
}

/* APP下载模块 */
.widget-app-download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #fff;
    border: none;
}

.widget-app-download:hover {
    transform: translateY(-5px);
}

.widget-app-download h3 {
    color: #fff;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.widget-app-download h3::after {
    display: none;
}

.app-download-content {
    text-align: center;
}

.qrcode-wrapper {
    margin-bottom: 20px;
}

.qrcode-wrapper img {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-base);
    background: #fff;
    padding: 10px;
    margin: 0 auto 10px;
}

.qrcode-tip {
    font-size: 14px;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.download-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-base);
    padding: 10px;
    color: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 24px;
}

.btn-text {
    font-size: 12px;
}

.app-desc {
    font-size: 13px;
    opacity: 0.9;
}

/* 技师卡片 */
.widget-technician {
}

.technician-card {
    display: flex;
    gap: 15px;
}

.technician-avatar {
    flex-shrink: 0;
}

.technician-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.technician-info {
    flex: 1;
}

.technician-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.technician-bio {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.5;
}

.technician-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 12px;
}

.technician-stats span {
    color: var(--text-muted);
}

.technician-stats strong {
    color: var(--primary-color);
    font-weight: 600;
}

.technician-consult {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
}

.technician-consult:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Pagination - 与截图一致：矩形按钮、圆角、蓝底当前页、灰底其他 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-top: 24px;
}

.pagination ul {
    display: flex;
    gap: 8px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #e8e8e8;
    border: none;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
}

.pagination li a:hover {
    background: #d0d0d0;
    color: #333;
}

/* 当前页：蓝色底、白字 */
.pagination li.active span {
    background: #004E89;
    color: #fff;
    font-weight: 600;
}

/* 省略号与翻页按钮同风格 */
.pagination-ellipsis {
    cursor: default;
    color: #555;
}

.pagination-next,
.pagination-last {
    font-weight: 600;
    color: #555;
}

/* Article Content Page */
.breadcrumb {
    color: var(--text-muted);
}
.article-header {
    text-align: center;
    margin-bottom: 30px;
}
.article-title {
    font-size: 26px;
    margin-bottom: 15px;
}
.article-meta {
    color: var(--text-muted);
    font-size: 12px;
}
.article-meta span {
    margin: 0 10px;
}
.entry {
    font-size: 16px;
    line-height: 1.8;
}
.entry p {
    margin-bottom: 20px;
}
.article-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 40px;
}
.btn-direct {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-base);
    transition: all 0.3s;
    box-shadow: var(--shadow-level-1);
}
.btn-direct:hover {
    color: #fff;
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-level-2);
}

/* 咨询技师按钮 */
.btn-consult {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s;
    box-shadow: var(--shadow-level-1);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-consult::before {
    content: "💬";
    font-size: 16px;
}

.btn-consult:hover {
    color: #fff;
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* 问答卡片样式 */
.qa-card {
    background: var(--content-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-level-1);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.qa-card:hover {
    box-shadow: var(--shadow-level-2);
    border-color: var(--primary-color);
}

.qa-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.qa-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.qa-technician {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.qa-technician-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.qa-technician-info {
    display: flex;
    flex-direction: column;
}

.qa-technician-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.qa-technician-badge {
    font-size: 12px;
    color: var(--text-light);
}

.qa-time {
    font-size: 12px;
    color: var(--text-muted);
}

.qa-answer {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qa-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qa-action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.3s;
    cursor: pointer;
}

.qa-action-btn:hover {
    color: var(--primary-color);
}

.qa-action-btn.liked {
    color: var(--primary-color);
}

.qa-action-icon {
    font-size: 16px;
}

/* Rollbar (Action Bar) - 重新设计 */
.rollbar {
    position: fixed;
    right: 30px;
    bottom: 80px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.rollbar.visible {
    opacity: 1;
    visibility: visible;
}

.rollbar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rollbar-item {
    width: 52px;
    height: 52px;
    background: var(--content-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    border-radius: 50%; /* 圆形按钮更现代 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.rollbar-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) translateX(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    border-color: var(--primary-color);
}

.rollbar-item i {
    font-size: 22px;
    font-style: normal;
    transition: transform 0.3s;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rollbar-item:hover i {
    transform: scale(1.1);
}

/* 工具栏图标 - 使用emoji和备用符号 */
.icon-qrcode::before { 
    content: "📱"; 
}

.icon-dark::before { 
    content: "🌙"; 
}

body.dark .icon-dark::before { 
    content: "☀️"; 
}

.icon-totop::before { 
    content: "⬆"; 
    font-size: 28px;
    font-weight: 900;
    display: inline-block;
    line-height: 1;
}

/* 如果emoji不支持，使用CSS绘制箭头 */
@supports not (content: "⬆") {
    .icon-totop::before {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 12px solid currentColor;
    }
}

/* 社交媒体关注区域 */
.social-media-section {
    margin-bottom: 30px;
}

.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.social-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.social-card .card-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333;
}

.social-card .qr-code {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.social-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 不同社交平台的背景色 */
.social-card.wechat {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: #fff;
}

.social-card.video {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff;
}

.social-card.douyin {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.social-card.wechat p,
.social-card.video p,
.social-card.douyin p {
    color: rgba(255, 255, 255, 0.9);
}

/* 社交媒体关注区域 */
.social-media-section {
    margin-bottom: 30px;
}

.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.social-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.social-card .card-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333;
}

.social-card .qr-code {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.social-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 微信卡片 - 蓝色渐变 */
.social-card.wechat {
    background: linear-gradient(135deg, #004E89 0%, #0077b6 100%);
    color: #fff;
}

.social-card.wechat h4,
.social-card.wechat p {
    color: #fff;
}

/* 视频号卡片 - 红色渐变 */
.social-card.video {
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
    color: #fff;
}

.social-card.video h4,
.social-card.video p {
    color: #fff;
}

/* 抖音卡片 - 黑色渐变 */
.social-card.douyin {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #fff;
}

.social-card.douyin h4,
.social-card.douyin p {
    color: #fff;
}

/* 社交媒体Widget */
.social-media-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.social-media-widget .widget-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.social-media-widget .widget-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

/* 侧边栏垂直布局的社交媒体卡片 */
.social-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-cards-vertical .social-card {
    padding: 15px;
    margin-bottom: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-cards-vertical .social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-cards-vertical .social-card .qr-code {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
}

.social-cards-vertical .social-card .card-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.social-cards-vertical .social-card p {
    font-size: 12px;
}

/* Widget样式覆盖 */
.widget-social-media {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.widget-social-media h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 主要内容区移动端布局 */
    .main-content-area .container {
        flex-direction: column;
    }
    
    .carousel-section {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .right-sidebar {
        width: 100%;
    }
    
    .widget-follow .qrcode-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .widget-follow .qrcode-wrapper img {
        max-width: 120px;
    }
    
    .social-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-card {
        padding: 15px;
    }
    
    .social-card .qr-code {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }
    
    .social-card .card-content h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .social-card p {
        font-size: 12px;
    }
    
    .social-media-widget {
        margin-top: 20px;
    }
}

/* 二维码悬浮面板 */
.qrcode-panel {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--content-bg);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    width: 160px;
    z-index: 10;
}

.qrcode-panel::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: var(--content-bg);
    box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.05);
}

.rollbar-qrcode:hover .qrcode-panel {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

.qrcode-panel img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border-radius: var(--radius-base);
    border: 2px solid var(--border-color);
}

.qrcode-panel p {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

/* 返回顶部按钮特殊样式 */
.rollbar-totop {
    background: linear-gradient(135deg, var(--primary-color), #4ecdc4);
    color: #fff;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.rollbar-totop i {
    color: #fff;
}

.rollbar-totop:hover {
    background: linear-gradient(135deg, #4ecdc4, var(--primary-color));
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.6);
}

.rollbar-totop:active {
    transform: scale(1.05) translateY(-2px);
}

/* 夜间模式按钮激活状态 */
body.dark .rollbar-dark {
    background: #ffd700;
    color: #333;
}

body.dark .rollbar-dark:hover {
    background: #ffed4e;
}

/* TOC (Table of Contents) */
.widget-toc .toc-list {
    max-height: 400px;
    overflow-y: auto;
}
.toc-item {
    padding: 5px 0;
}
.toc-level-h2 {
    font-weight: bold;
}
.toc-level-h3 {
    padding-left: 20px;
    font-size: 0.9em;
    color: var(--text-light);
}
.toc-item a:hover {
    color: var(--primary-color);
}

/* 专题推荐（三栏卡片） */
.special-topics .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.special-topics .more {
    color: var(--text-light);
    font-size: 14px;
    transition: color 0.3s;
}
.special-topics .more:hover {
    color: var(--primary-color);
}
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.topic-card {
    background: var(--content-bg);
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-level-1);
    overflow: hidden;
    transition: all 0.3s;
}
.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-level-3);
}
.topic-cover {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.topic-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.topic-card:hover .topic-cover img {
    transform: scale(1.1);
}
.topic-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.topic-content {
    padding: 20px;
}
.topic-content h4 {
    margin-bottom: 10px;
    font-size: 16px;
}
.topic-content h4 a {
    color: var(--text-color);
    transition: color 0.3s;
}
.topic-content h4 a:hover {
    color: var(--primary-color);
}
.topic-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.topic-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 13px;
}

/* 重磅头条（通栏大图） */
.full-width-banner {
    overflow: hidden;
}
.banner-card {
    position: relative;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-level-2);
    transition: box-shadow 0.3s;
}
.banner-card:hover {
    box-shadow: var(--shadow-level-3);
}
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}
.banner-card:hover .banner-bg {
    transform: scale(1.05);
}
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}
.banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}
.banner-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}
.banner-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.banner-content h2 a {
    color: #fff;
}
.banner-desc {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
    max-width: 800px;
}
.banner-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* 面包屑导航 */
.breadcrumb {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
    width: 100%;
    clear: both;
}

.breadcrumb a {
    color: #004E89;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 归档页头部 */
.archive-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    text-align: center;
    clear: both;
    width: 100%;
}

.archive-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
    text-align: center;
}

.cat-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* 文章列表视图模式 */
.article-list[data-view="large-image"] .excerpt .focus {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
}
.article-list[data-view="large-image"] .excerpt {
    flex-direction: column;
}
.article-list[data-view="large-image"] .excerpt .thumb {
    width: 100%;
    height: 240px;
}

.article-list[data-view="no-image"] .excerpt .focus {
    display: none;
}

/* 响应式：三栏变两栏 */
@media (max-width: 1024px) {
    .three-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式：两栏变单栏 */
@media (max-width: 768px) {
    .three-col-grid {
        grid-template-columns: 1fr;
    }
    .banner-content {
        padding: 24px;
    }
    .banner-content h2 {
        font-size: 20px;
    }
    .banner-card {
        height: 280px;
    }
    
    /* 移动端焦点图区域重新设计 */
    .focus-headlines-wrap {
        border-radius: var(--radius-base);
        margin: 15px 0;
    }
    
    .focus-headlines-wrap .container {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .focus-headlines-wrap .focus-slide {
        width: 100%;
    }
    
    .slide-item {
        border-radius: 0;
        box-shadow: none;
    }
    
    .slide-item img {
        height: 200px;
    }
    
    .slide-title {
        font-size: 16px;
        padding: 30px 15px 15px;
    }
    
    .focus-headlines-wrap .headlines-list {
        width: 100%;
        padding: 15px;
    }
    
    .headline-top {
        margin-bottom: 12px;
        padding: 15px;
    }
    
    .headline-top h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .headline-top p {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .headline-sub li {
        padding: 10px 0;
    }
    
    .headline-sub li a {
        font-size: 14px;
    }
    
    /* 调整右侧工具栏位置 */
    .rollbar {
        right: 15px;
        bottom: 80px; /* 避开底部导航栏 */
    }
    
    .rollbar ul {
        gap: 10px;
    }
    
    .rollbar-item {
        width: 48px;
        height: 48px;
    }
    
    .rollbar-item i {
        font-size: 20px;
    }
    
    /* 移动端二维码面板调整 */
    .qrcode-panel {
        right: 60px;
        width: 140px;
        padding: 15px;
    }
    
    .rollbar-qrcode:hover .qrcode-panel {
        right: 65px;
    }
    
    .qrcode-panel img {
        width: 100px;
        height: 100px;
    }
    
    .qrcode-panel p {
        font-size: 13px;
    }
    
    /* 移动端 App 化：底部导航栏 */
    body {
        padding-bottom: 60px; /* 为底部导航栏留出空间 */
    }
    .mobile-bottom-bar {
        display: flex;
    }
    
    /* 微分类横向滑动 */
    .micro-categories ul {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 10px;
    }
    .micro-categories li {
        flex: 0 0 140px;
        scroll-snap-align: start;
    }
    
    /* 隐藏PC端的滚动条 */
    .micro-categories ul::-webkit-scrollbar {
        height: 4px;
    }
    .micro-categories ul::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 4px;
    }
    
    /* 移动端文章列表优化 */
    .excerpt {
        flex-direction: column;
        padding: 16px 0;
    }
    .excerpt-img {
        height: auto;
        max-height: 120px;
    }
    .excerpt .focus {
        width: 100%;
        margin-right: 0;
        margin-bottom: 12px;
    }
    .excerpt .thumb {
        width: 100%;
        height: 200px;
    }
    .excerpt h2 {
        font-size: 16px;
    }
    .excerpt .note {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* 移动端底部导航栏 (Bottom Bar) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
}

body.dark .mobile-bottom-bar {
    background: rgba(45, 45, 45, 0.95);
}

.bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: var(--text-muted);
    font-size: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.bottom-bar-item.active {
    color: var(--primary-color);
}

.bottom-bar-item i {
    font-size: 20px;
    margin-bottom: 4px;
    font-style: normal;
}

/* 底部导航栏图标占位 */
.icon-home::before { content: "🏠"; }
.icon-category::before { content: "📋"; }
.icon-user::before { content: "👤"; }
.icon-more::before { content: "⋯"; }

/* 移动端搜索弹窗 */
.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--content-bg);
    z-index: 10000;
    overflow-y: auto;
}

.mobile-search-overlay.active {
    display: block;
}

.mobile-search-container {
    width: 100%;
    height: 100%;
}

.mobile-search-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--content-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-search-form {
    flex: 1;
    display: flex;
    background: var(--bg-color);
    border-radius: 20px;
    padding: 8px 15px;
    margin-right: 12px;
}

.mobile-search-form input {
    flex: 1;
    border: none;
    background: none;
    font-size: 15px;
    outline: none;
    color: var(--text-color);
}

.mobile-search-form button {
    border: none;
    background: none;
    color: var(--primary-color);
    font-size: 18px;
    padding: 0;
    cursor: pointer;
}

.mobile-search-close {
    border: none;
    background: none;
    color: var(--primary-color);
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.mobile-search-suggestions {
    padding: 15px;
}

.mobile-search-suggestions .search-suggestion-item {
    padding: 15px;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-base);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-search-suggestions .search-suggestion-item:hover {
    background: var(--bg-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-level-1);
}

.mobile-search-suggestions .search-suggestion-title {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 6px;
    line-height: 1.4;
}

.mobile-search-suggestions .search-suggestion-meta {
    font-size: 13px;
    color: var(--text-muted);
}

/* 骨架屏 (Skeleton Screen) */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

body.dark .skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #353535 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-article {
    padding: 24px 0;
    border-bottom: 1px dashed var(--border-color);
}

.skeleton-thumb {
    width: 240px;
    height: 150px;
    border-radius: var(--radius-base);
    margin-right: 20px;
    float: left;
}

.skeleton-title {
    height: 24px;
    width: 80%;
    margin-bottom: 12px;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-text:last-child {
    width: 60%;
}

/* 图片渐进式加载 (Blur-up) */
.blur-up {
    position: relative;
    overflow: hidden;
}

.blur-up img {
    transition: opacity 0.5s, filter 0.5s;
}

.blur-up img.loading {
    filter: blur(20px);
    transform: scale(1.1);
}

.blur-up img.loaded {
    filter: blur(0);
    transform: scale(1);
}

/* 加载指示器 */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bg-color);
    z-index: 9999;
    overflow: hidden;
}

.loading-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: loading-progress 1.5s ease-in-out infinite;
}

@keyframes loading-progress {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Tab 切换式 Widget */
.widget-tabs {
    overflow: hidden;
}
.widget-tabs-header {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 15px;
}
.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.3s;
    position: relative;
}
.tab-item:hover {
    color: var(--primary-color);
}
.tab-item.active {
    color: var(--primary-color);
    font-weight: 600;
}
.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}
.tab-list {
    list-style: none;
}
.tab-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    transition: background-color 0.3s;
}
.tab-list li:last-child {
    border-bottom: none;
}
.tab-list li:hover {
    background-color: rgba(0, 0, 0, 0.02);
    padding-left: 8px;
}
.tab-list li a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
}
.tab-list .num {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-color);
    border-radius: 4px;
    flex-shrink: 0;
}
.tab-list .num.hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff;
    font-weight: 600;
}

/* 作者专栏卡片 */
.widget-author {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.author-card {
    text-align: center;
}
.author-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}
.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-name {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}
.author-bio {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.6;
}
.author-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
    font-size: 14px;
}
.author-stats strong {
    display: block;
    font-size: 20px;
    margin-bottom: 3px;
}
.author-follow {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}
.author-follow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 标签云优化 */
.widget-tags .items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.widget-tags .tag-item {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    transition: all 0.3s;
}
.widget-tags .tag-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-level-1);
}

/* 阅读进度�?*/
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #4ecdc4);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* 图片灯箱 (Lightbox) */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-level-3);
    animation: lightbox-fade-in 0.3s;
}

@keyframes lightbox-fade-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* 文章内图片增�?*/
.entry img {
    transition: transform 0.3s;
    border-radius: var(--radius-base);
}

.entry img:hover {
    transform: scale(1.02);
}

/* 代码块增�?*/
.entry pre {
    position: relative;
    background: #282c34;
    border-radius: var(--radius-base);
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.entry code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #abb2bf;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: -20px -20px 12px;
    border-radius: var(--radius-base) var(--radius-base) 0 0;
}

.code-lang {
    font-size: 12px;
    color: #61afef;
    font-weight: 600;
    text-transform: uppercase;
}

.code-copy {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.code-copy:hover {
    background: rgba(255, 255, 255, 0.2);
}

.code-copy.copied {
    background: var(--success-color);
    border-color: var(--success-color);
}

/* 互动增强区域 */
.article-engagement {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.engage-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-base);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-level-1);
}

.engage-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-level-2);
    border-color: var(--primary-color);
}

.engage-btn i {
    font-size: 24px;
    font-style: normal;
}

.engage-btn .count {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.engage-btn .text {
    font-size: 14px;
    color: var(--text-light);
}

/* 点赞动画 */
.like-btn.liked {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-color: transparent;
    color: #fff;
}

.like-btn.liked .count,
.like-btn.liked .text {
    color: #fff;
}

.like-btn.liked i {
    animation: like-bounce 0.6s ease;
}

@keyframes like-bounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(0.9) rotate(10deg);
    }
    75% {
        transform: scale(1.1) rotate(-10deg);
    }
}

/* 点赞粒子效果 */
.like-particle {
    position: absolute;
    font-size: 20px;
    pointer-events: none;
    animation: particle-float 1s ease-out forwards;
}

@keyframes particle-float {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0);
    }
}

/* 实时搜索建议 */
.search-form {
    position: relative;
}

.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-base) var(--radius-base);
    box-shadow: var(--shadow-level-2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: -1px;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: var(--bg-color);
}

.search-suggestion-title {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 4px;
}

.search-suggestion-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.search-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* 海报生成容器 */
.poster-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.poster-overlay.active {
    display: flex;
}

.poster-container {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.poster-canvas {
    width: 100%;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-level-3);
}

.poster-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.poster-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius-base);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.poster-download {
    background: var(--primary-color);
    color: #fff;
}

.poster-download:hover {
    background: var(--primary-hover);
}

.poster-close-btn {
    background: var(--bg-color);
    color: var(--text-color);
}

.poster-close-btn:hover {
    background: var(--border-color);
}

/* 移动端优�?*/
@media (max-width: 768px) {
    /* 调整右侧工具栏位�?*/
    .rollbar {
        right: 15px;
        bottom: 70px; /* 避开底部导航�?*/
    }
    .rollbar-item {
        width: 44px;
        height: 44px;
        margin-bottom: 8px;
    }
    .rollbar-item i {
        font-size: 18px;
    }
    
    /* 二维码面板调�?*/
    .qrcode-panel {
        right: 54px;
        bottom: 0;
        width: 120px;
    }
    .qrcode-panel img {
        width: 90px;
        height: 90px;
    }
    
    /* APP下载模块移动端优化 */
    .widget-app-download .qrcode-wrapper img {
        width: 120px;
        height: 120px;
    }
    
    .widget-app-download .download-buttons {
        gap: 8px;
    }
    
    .widget-app-download .download-btn {
        padding: 8px;
    }
    
    /* 技师卡片移动端优化 */
    .technician-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* 问答卡片移动端优化 */
    .qa-card {
        padding: 15px;
    }
    
    .qa-question {
        font-size: 16px;
    }
    
    .qa-answer {
        font-size: 14px;
    }
    
    /* 咨询按钮移动端优化 */
    .btn-consult {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .article-footer .article-action {
        float: none !important;
        width: 100%;
        margin-top: 15px;
    }
}

.article-content {
    font-size: 16px;
    font-weight: normal;
    line-height: 26px;
}
.article {
    padding: 0;
    border: none;
}

.post {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E9E9E9;
    background: #fff;
    padding: 20px;
}
.article .meta {
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #E4E4E4;
    text-align: center;
}

.post .meta {
    margin: 5px auto 10px;
    color: #888;
}
.article header h1 {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 150%;
    text-align: center;
    color: #000;
}
.article-content div, .article-content p {
    margin-bottom: 18px;
    text-indent: 24px;
}

/* --- 响应式尺寸补充适配 (1200px & 768px) --- */
@media (max-width: 1200px) {
    .main-left, .carousel-section { width: 100%; margin-right: 0; margin-bottom: 20px; }
    .right-sidebar { width: 100%; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .banners-row { flex-wrap: wrap; }
    .banner-item { flex: 1 1 45%; }
}

@media (max-width: 768px) {
    /* 轮播图液态高度 */
    .carousel-container { height: 50vw; min-height: 200px; max-height: 300px; }
    .carousel-overlay { padding: 20px 10px 10px; }
    .carousel-overlay h3 { font-size: 16px; margin-bottom: 0; }
    
    /* 横幅移动端左右滑动 */
    .banners-row { 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        padding-bottom: 10px; 
    }
    .banner-item { flex: 0 0 85%; }
    .banner-item img { height: 130px; }
    
    /* 展会卡单列 */
    .cards-grid { grid-template-columns: repeat(1, 1fr); }
    
    /* 列表与文字细节优化 */
    .article-list .excerpt { padding: 12px 10px; }
    .excerpt-title-row { flex-wrap: wrap; }
    .article-list-latest .excerpt-title-row .meta-time { 
        margin-left: 0; 
        width: 100%; 
        margin-top: 5px; 
    }
    
    /* 侧边二维码2列 */
    .widget-follow .qrcode-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}