.news-category-tabs {
    border-bottom: 2px solid #f8f9fa;
    margin-bottom: 20px;
}
.category-tab {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    text-decoration: none;
}
.category-tab.active, .category-tab:hover {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    margin-bottom: -2px;
}

/* 文章详情样式 */
.article-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.article-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: -15px;
}
.article-title {
    font-size: 1.9rem;
    margin-bottom: 10px;
    color: #333;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.article-meta .category {
    color: #007bff;
}
.article-tag {
    color: #999;
    font-size: 0.9rem;
    margin-left: 5px;
}
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.article-content h2, .section-subtitle {
    font-size: 1.4rem;
    color: #222;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-left: 0;
    border-left: none;
    display: flex;
    align-items: center;
    margin-left: -19px; /* 将整个标题向左移动，使内部文字与正文对齐 */
}
.article-content h2::before, .section-subtitle::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 24px;
    background-color: #007bff;
    margin-right: 15px;
    border-radius: 2px;
}
.article-content p, .article-paragraph {
    margin-bottom: 25px;
}

/* 内容概要展示盒 - 极简通透风格 */
.article-summary-box {
    background-color: #ffffff;
    padding: 24px 30px;
    margin: 40px 0 0 0;
    border-radius: 0 4px 4px 0;
    position: relative;
    border: none;
    border-left: 3px solid #3b82f6; /* 雅致蓝色左边框 */
    transition: all 0.3s ease;
}

.article-summary-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f8f9fa;
    z-index: 0;
    opacity: 0.6;
}

.article-summary-text {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 0 !important;
    font-style: normal;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.article-content ul, .article-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
    list-style: none;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content li strong {
    color: #222;
}

/* 广告位样式 */
.ad-slot {
    margin: 40px 0;
    padding: 24px;
    background: linear-gradient(90deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid #cce0ff;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

/* 广告位渲染后的清理样式 */
.ad-slot.ad-slot-clean {
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    text-align: left !important;
    height: auto !important;
    min-height: 0 !important;
}

.ad-slot.ad-slot-clean::before {
    display: none !important;
}

.ad-slot:hover {
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
    border-color: #007bff;
}
.ad-slot::before {
    content: 'AD';
    position: absolute;
    top: 0;
    left: 0;
    background: #007bff;
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 11px 0 8px 0;
}

/* 侧边栏样式 */
.sidebar-widget {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.02);
}

.widget-title {
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    color: #1a1a1a;
    display: block;
    border-bottom: 1px solid #f0f0f0;
}
.widget-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00d2ff);
    border-radius: 3px;
}
.small-ad {
    display: block;
    height: 120px;
    background-image: url('../images/ad-rocket.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.small-ad:hover {
    transform: translateY(-5px);
}

.small-ad .ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    animation: overlay-glow 4s infinite alternate;
}
.ad-content-wrapper {
    display: flex;
    align-items: center;
    color: white;
}
.ad-icon {
    font-size: 1.25rem;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
}

@keyframes overlay-glow {
    from { background: rgba(0,0,0,0.35); }
    to { background: rgba(0,0,0,0.5); }
}

.small-ad:hover .ad-overlay {
    background: rgba(0,0,0,0.55);
}

.small-ad .ad-text {
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    transition: all 0.4s ease;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    width: 0;
    animation: 
        typing 3s steps(20) infinite,
        blink-caret 0.75s step-end infinite;
    vertical-align: middle;
}

@keyframes typing {
    0%, 10% { width: 0 }
    45%, 80% { width: 8.2em }
    90%, 100% { width: 0 }
}

.small-ad .click-guide {
    position: absolute;
    right: 20px;
    bottom: 15px;
    color: #ffda44;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
    animation: finger-pulse 1.5s infinite;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes finger-pulse {
    0% { transform: scale(1) translateY(0); opacity: 0.8; }
    50% { transform: scale(1.2) translateY(-5px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 0.8; }
}

.small-ad:hover .click-guide {
    animation: finger-tap 0.5s infinite;
}

@keyframes finger-tap {
    0%, 100% { transform: scale(1.2) translateY(-5px); }
    50% { transform: scale(1.1) translateY(-2px); }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white; }
}

.small-ad:hover .ad-text {
    animation: none;
    width: 8.2em;
    border-right-color: transparent;
}

.small-ad .ad-icon {
    transition: all 0.4s ease;
    animation: rocket-idle 3s infinite ease-in-out;
}

@keyframes rocket-idle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.small-ad:hover .ad-icon {
    animation: none;
    transform: translate(5px, -5px) scale(1.1);
    color: #ffda44;
}
.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.post-list li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}
.post-list li:hover {
    padding-left: 10px;
    background-color: #f8fbff;
    border-radius: 4px;
}
.post-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.post-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    line-height: 1.4;
    padding: 5px 0;
}
.post-list a:hover {
    color: #007bff;
}
.post-date {
    font-size: 0.85rem;
    color: #999;
    margin-top: 5px;
}
.sidebar-ad-item {
    display: block;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}
.sidebar-ad-item:hover {
    transform: translateY(-5px);
}
.sidebar-ad-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 解决方案卡片样式 - 现代优化版 */
.solution-card {
    display: block;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.solution-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00d2ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.1);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card .card-img-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.solution-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.solution-card:hover .card-img-wrapper img {
    transform: scale(1.15);
}

/* 图片遮罩效果 */
.solution-card .card-img-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .card-img-wrapper::after {
    opacity: 1;
}

.solution-card .card-body {
    padding: 20px;
    background: #fff;
}

.solution-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    transition: color 0.3s;
    letter-spacing: -0.02em;
}

.solution-card:hover .card-title {
    color: #007bff;
}

.solution-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.solution-card .card-footer {
    padding: 12px 20px;
    background: #fcfdfe;
    border-top: 1px solid rgba(0, 123, 255, 0.05);
    font-size: 0.85rem;
    color: #007bff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.solution-card:hover .card-footer {
    background: #f0f7ff;
}

.solution-card .card-footer i {
    font-size: 0.8rem;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.solution-card:hover .card-footer i {
    transform: translateX(6px) scale(1.2);
}

/* 装饰性光晕 */
.solution-card::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.1);
    filter: blur(30px);
    border-radius: 50%;
    top: -20px;
    right: -20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solution-card:hover::after {
    opacity: 1;
}

/* 现代化 CTA 样式 */
.cta-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    margin-top: 0;
}

/* 光线闪动效果 */
.cta-section::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: rotate(25deg);
    animation: light-shimmer 5s infinite;
    pointer-events: none;
}

@keyframes light-shimmer {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.cta-btn {
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    background: #fff;
    color: #007bff !important;
    display: inline-block;
    text-decoration: none;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background: #ffffff;
}

/* 博客列表页额外样式 */
.news-list {
    margin-bottom: 30px;
}
.news-item {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    padding: 20px;
    margin: 0 -20px;
    cursor: pointer;
}
.news-item:hover {
    background-color: #f8faff;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.08);
}
.news-item:hover .news-title a {
    color: #007bff !important;
}

.news-title{
    font-size: 1.45rem;
    font-weight: 500;
}

.news-title a {
    transition: all 0.3s;
}

.news-summary{
    font-size: 0.9rem;
    color: #7c858c !important;
}

.news-thumb-img {
    width: 200px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}
.news-item:hover .news-thumb-img {
    transform: scale(1.05);
}
.top-news-list li {
    counter-increment: top-news-counter;
    padding: 10px 10px;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    margin: 4px -10px;
    display: flex;
    align-items: flex-start;
}
.top-news-list li:last-child {
    border-bottom: none;
}
.top-news-list li:hover {
    background-color: #f0f7ff;
    padding-left: 18px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
    transform: translateX(5px);
}
.top-news-list li a {
    flex: 1;
    line-height: 1.5;
    transition: all 0.3s ease;
}
.top-news-list li:hover a {
    color: #007bff !important;
}
.top-news-list li::before {
    content: counter(top-news-counter);
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: #f0f0f0;
    color: #999;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.top-news-list li:hover::before {
    transform: scale(1.1) rotate(-5deg);
    background: #007bff;
    color: white;
}
.top-news-list li:nth-child(1)::before {
    background: #FF4D4F;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 77, 79, 0.3);
}
.top-news-list li:nth-child(1):hover::before {
    background: #FF4D4F;
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.5);
}
.top-news-list li:nth-child(2)::before {
    background: #FFA940;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 169, 64, 0.3);
}
.top-news-list li:nth-child(2):hover::before {
    background: #FFA940;
    box-shadow: 0 4px 12px rgba(255, 169, 64, 0.5);
}
.top-news-list li:nth-child(3)::before {
    background: #2F54EB;
    color: white;
    box-shadow: 0 2px 6px rgba(47, 84, 235, 0.3);
}
.top-news-list li:nth-child(3):hover::before {
    background: #2F54EB;
    box-shadow: 0 4px 12px rgba(47, 84, 235, 0.5);
}
.horizontal-ad {
    overflow: hidden;
    border-radius: 8px;
}

/* 文字类广告样式增强 */
.text-ad-box {
    background: linear-gradient(90deg, #f0f7ff 0%, #ffffff 50%, #f0f7ff 100%);
    border: 1px solid #cce0ff;
    border-left: 4px solid #007bff;
    border-radius: 8px;
    padding: 20px 30px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}
.text-ad-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: 0.5s;
}
.text-ad-box:hover::before {
    left: 100%;
}
.text-ad-box:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
    transform: translateY(-3px);
    border-color: #007bff;
}
.text-ad-tag {
    background: #007bff;
    color: white;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 20px;
    flex-shrink: 0;
    font-weight: 600;
    letter-spacing: 1px;
}
.text-ad-content {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}
.text-ad-btn {
    background: #007bff;
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 25px;
    flex-shrink: 0;
    transition: all 0.3s;
}
.text-ad-box:hover .text-ad-btn {
    background: #0056b3;
    transform: scale(1.05);
}
.text-ad-style-0 {
    background: linear-gradient(90deg, #f0f7ff 0%, #ffffff 50%, #f0f7ff 100%);
    border: 1px solid #cce0ff;
    border-left: 4px solid #007bff;
}
.text-ad-style-0 .text-ad-tag { background: #007bff; }
.text-ad-style-0 .text-ad-btn { background: #007bff; }
.text-ad-style-0:hover .text-ad-btn { background: #0056b3; }

.text-ad-style-1 {
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 100%);
    border: 1px solid #ffe4cc;
    border-left: 4px solid #ff8800;
    border-radius: 15px;
}
.text-ad-style-1 .text-ad-tag { background: #ff8800; border-radius: 20px; }
.text-ad-style-1 .text-ad-content { color: #4a2c00; font-style: italic; }
.text-ad-style-1 .text-ad-btn { background: #ff8800; }
.text-ad-style-1:hover .text-ad-btn { background: #e67a00; }
.text-ad-style-1:hover { box-shadow: 0 8px 25px rgba(255, 136, 0, 0.15); border-style: solid; border-color: #ff8800; }

.text-ad-style-2 {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-left: 4px solid #38a169;
}
.text-ad-style-2 .text-ad-tag { background: #38a169; }
.text-ad-style-2 .text-ad-content { color: #22543d; }
.text-ad-style-2 .text-ad-btn { background: #38a169; }
.text-ad-style-2:hover .text-ad-btn { background: #2f855a; }
.text-ad-style-2:hover { box-shadow: 0 8px 25px rgba(56, 161, 105, 0.15); border-color: #38a169; }

.text-ad-style-3 {
    background: linear-gradient(90deg, #fff1f0 0%, #ffffff 50%, #fff1f0 100%);
    border: 1px solid #ffa39e;
    border-left: 4px solid #ff4d4f;
}
.text-ad-style-3 .text-ad-tag { background: #ff4d4f; }
.text-ad-style-3 .text-ad-content { color: #cf1322; }
.text-ad-style-3 .text-ad-btn { background: #ff4d4f; }
.text-ad-style-3:hover .text-ad-btn { background: #cf1322; }
.text-ad-style-3:hover { box-shadow: 0 8px 25px rgba(255, 77, 79, 0.15); border-color: #ff4d4f; }

/* 简约分页样式 */
.pagination {
    gap: 10px;
}
.pagination .page-link {
    border: none;
    color: #666;
    padding: 8px 16px;
    background: transparent;
    transition: all 0.3s;
    border-radius: 4px;
    box-shadow: none !important;
    outline: none !important;
}
.pagination .page-link:focus, .pagination .page-link:active {
    background: transparent;
    box-shadow: none !important;
    outline: none !important;
}
.pagination .page-link:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
}
.pagination .page-item.active .page-link {
    background: transparent;
    color: #007bff;
    font-weight: 700;
    border-bottom: 2px solid #007bff;
    border-radius: 0;
}
.pagination .page-item.disabled .page-link {
    background: transparent;
    color: #ccc;
}

/* 移动端优化 */
@media (max-width: 991.98px) {
    .article-cover {
        height: 300px;
    }
    .article-title {
        font-size: 1.6rem;
    }
    .cta-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    /* Fix container padding */
    .container.py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Search Bar Optimization */
    #searchInput {
        font-size: 0.9rem;
        padding-left: 1rem !important;
        height: auto !important; /* Allow content to dictate height */
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        min-height: 44px;
    }
    #searchBtn {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 0.9rem;
        height: auto !important;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        min-height: 44px;
    }
    .input-group-text {
        height: auto !important;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Hot Tags Optimization */
    #hotTags {
        margin-bottom: 15px;
        margin-top: 5px;
    }
    #hotTags .text-muted {
        width: 100%;
        margin-bottom: 8px !important;
        display: block;
    }
    .hot-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 8px !important;
    }

    /* Category Tabs Optimization */
    .news-category-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 0 5px 10px 5px;
        margin: 0 -15px 20px -15px;
        scrollbar-width: none; /* Firefox */
        border-bottom: 1px solid #eee;
        position: relative;
    }
    /* Add a subtle gradient hint for scrolling */
    .news-category-tabs::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 30px;
        background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
        pointer-events: none;
    }

    .news-category-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .category-tab {
        padding: 8px 15px;
        font-size: 0.95rem;
    }

    /* News Item Card Style Optimization */
    .news-item {
        flex-direction: column-reverse;
        margin: 0 0 20px 0;
        padding: 15px;
        border-radius: 12px;
        background-color: #fff;
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 2px 10px rgba(0,0,0,0.02);
        margin-bottom: 20px;
    }
    .news-item:hover {
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .news-thumb {
        width: 100%;
        margin-bottom: 12px;
    }
    .news-thumb-img {
        width: 100%;
        height: 180px;
        border-radius: 8px;
        object-fit: cover;
    }
    .sidebar-widget {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    .sidebar-ad-item img {
        margin-bottom: 10px;
    }
    .news-info {
        padding-right: 0 !important;
    }
    .news-title {
        font-size: 1.25rem;
        margin-top: 0;
        margin-bottom: 8px;
        line-height: 1.4;
        font-weight: 600;
    }
    .news-summary {
        margin-bottom: 12px;
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #666;
    }
    .blog-tags {
        flex-wrap: wrap;
    }
    .blog-tags .badge {
        padding: 4px 8px;
        font-size: 0.75rem;
        margin-bottom: 6px; /* 增加底部间距，防止换行后太挤 */
    }
    .article-container {
        padding: 20px 15px;
    }
    .article-cover {
        height: 220px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    .article-title {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    .article-meta {
        gap: 10px;
        flex-wrap: wrap;
        font-size: 0.85rem;
    }
    .article-content h2, .section-subtitle {
        font-size: 1.25rem;
        margin-left: 0;
    }
    .article-content h2::before, .section-subtitle::before {
        height: 20px;
        margin-right: 10px;
    }

    /* Pagination Optimization */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    .pagination .page-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    /* 广告位移动端优化 */
    .image-ad-box {
        height: auto;
        min-height: 180px;
        margin-bottom: 30px;
    }
    .image-ad-overlay {
        padding: 0 20px !important;
        background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.8) 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: 100%;
    }
    .image-ad-tag {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        font-size: 10px;
        padding: 4px 12px;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(4px);
        border-bottom-right-radius: 8px; /* 仅右下角圆角，贴合左上角 */
        border: none;
        z-index: 10;
        margin-bottom: 1px !important;
    }
    .image-ad-title-row{
        margin-top: -20px !important;
        margin-bottom: 6px !important;
    }
    .image-ad-title {
        font-size: 1.3rem !important;
        white-space: nowrap !important; /* 恢复打字机模式需要的单行 */
        line-height: 1.3;
        letter-spacing: 0.3px;
        margin: 0 auto 1px auto;
        max-width: 100%;
        font-weight: 700;
        text-shadow: 0 2px 8px rgba(0,0,0,0.8);
        text-align: center !important;
    }
    .image-ad-desc {
        font-size: 0.85rem !important;
        white-space: nowrap !important; /* 恢复打字机模式需要的单行 */
        line-height: 1.4;
        max-width: 100%; /* 恢复宽度，让打字机动画有空间 */
        opacity: 0.9;
        margin: 0 auto 0 auto;
    }

    /* 手机端按钮动画适配：去除 translateY(-50%) 以配合 bottom: 15px 定位 */
    @keyframes adBtnInMobile {
        0% { opacity: 0; transform: translateX(30px); }
        15%, 85% { opacity: 1; transform: translateX(0); }
        100% { opacity: 0; transform: translateX(-30px); }
    }
    @keyframes adBtnImpactMobile {
        0% { transform: scale(0) rotate(20deg); opacity: 0; }
        15%, 85% { transform: scale(1) rotate(0); opacity: 1; }
        100% { transform: scale(0) rotate(-20deg); opacity: 0; }
    }

    .image-ad-box {
        height: auto;
        min-height: 180px;
        margin-bottom: 30px;
        overflow: hidden; /* 确保动画不溢出容器 */
    }

    /* 手机端禁用复杂的广告动画以减少视觉干扰 - 已按需恢复，仅针对 Emoji 相关内容保持禁用 */
    .ad-title-emoji-box {
        display: none !important; /* 手机端强制隐藏 Emoji 盒子 */
    }

    .image-ad-btn {
        position: absolute !important;
        right: 15px !important;
        bottom: 15px !important;
        top: auto !important;
        padding: 6px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 50px !important;
        /* background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;  -- 移除硬编码颜色 */
        /* color: #fff !important; -- 移除硬编码颜色 */
        /* box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important; -- 移除硬编码阴影 */
        z-index: 5 !important;
        /* border: none !important; -- 移除硬编码边框，允许各主题自定义边框 */
    }

    /* 恢复动画时，重写手机端的按钮动画名称 */
    .ad-anim-reveal .image-ad-btn,
    .ad-anim-marquee .image-ad-btn,
    .ad-anim-typewriter .image-ad-btn,
    .ad-anim-gradient .image-ad-btn {
        animation-name: adBtnInMobile !important;
    }
    .ad-anim-impact .image-ad-btn {
        animation-name: adBtnImpactMobile !important;
    }

    .image-ad-box:hover .image-ad-btn {
        transform: none !important;
        animation-play-state: paused; /* 触摸/悬停时暂停动画方便点击 */
    }

    /* 修复移动端打字机效果：确保文字可见并实现 PC 同款效果 */
    .ad-anim-typewriter .image-ad-title,
    .ad-anim-typewriter .image-ad-desc {
        white-space: nowrap !important;
        overflow: hidden !important;
        border-right: 3px solid #00f2fe !important; /* 稍微调细一点光标适应手机 */
        animation: adTypewriter 6s steps(30, end) infinite, blinkCursor 0.8s step-end infinite !important;
        display: inline-block !important; /* 改为 inline-block 以配合 width 动画 */
        width: 0; /* 初始宽度为 0，靠动画展开 */
        max-width: 100% !important; /* 防止超出屏幕 */
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .ad-anim-typewriter .image-ad-title {
        font-size: 1.1rem !important; /* 缩小字号确保单行能放下 */
        margin-bottom: 5px !important;
    }

    .ad-anim-typewriter .image-ad-desc {
        font-size: 0.75rem !important; /* 缩小描述字号 */
        animation-delay: 0.8s !important; /* 延迟更久一点，等标题打完 */
    }

    /* 针对手机端重新定义打字机关键帧，确保 100% 宽度能显示全 */
    @keyframes adTypewriter {
        0%, 10% { width: 0; }
        45%, 55% { width: 100%; }
        90%, 100% { width: 0; }
    }

    .text-ad-box {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        margin-bottom: 30px;
    }
    .text-ad-tag {
        margin-bottom: 10px;
    }
    .text-ad-content {
        font-size: 1rem;
        white-space: normal;
        margin-bottom: 15px;
    }
    .text-ad-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .cta-section {
        text-align: center;
        padding: 40px 0;
    }
    .small-ad {
        height: 100px;
        margin-bottom: 20px;
    }
    .small-ad .ad-text {
        font-size: 1.1rem;
    }
}

/* 博客页面移动端导航栏透明化 - 极高透明度版 */
@media (max-width: 991.98px) {
    /* 降低不透明度到 0.4，让透明效果极其明显 */
    html body .navbar,
    html body .navbar.bg-white,
    html body .navbar.fixed-top,
    html body .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.4) !important;
        background: rgba(255, 255, 255, 0.36) !important;
        backdrop-filter: blur(10px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    /* 针对展开后的菜单容器，确保其本身也是半透明的 */
    html body .navbar-collapse {
        margin-top: 15px !important;
        padding: 20px !important;
    }

    /* 彻底移除内部可能的纯白背景 */
    html body .navbar .container,
    html body .navbar-nav,
    html body .nav-item,
    html body .nav-link {
        background: transparent !important;
        background-color: transparent !important;
    }
}

/* 
   --------------------------------------------------------
   广告 Emoji 动画效果
   --------------------------------------------------------
*/

.ad-emoji {
    display: inline-block;
    margin: 0 8px;
    font-style: normal;
    vertical-align: middle;
    animation: emojiBounce 2s ease-in-out infinite;
    transform-origin: center bottom;
    /* 核心修复：彻底切断父级渐变文字样式对 Emoji 的影响 */
    -webkit-text-fill-color: #fff !important; 
    -webkit-background-clip: border-box !important;
    background: none !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
    filter: none !important;
    position: relative;
    z-index: 5;
    /* 确保 Emoji 颜色渲染正常，使用 color: transparent 配合背景裁剪在某些浏览器下有问题，这里强制 color */
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 基础跳动 */
@keyframes emojiBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
}

/* 针对不同动画类的 Emoji 差异化动画 */
.ad-anim-impact .ad-emoji {
    animation: emojiShake 0.5s ease-in-out infinite;
}

@keyframes emojiShake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.ad-anim-pulse .ad-emoji {
    animation: emojiPulse 1.5s ease-in-out infinite;
}

@keyframes emojiPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.3); filter: brightness(1.5); }
}

.ad-anim-reveal .ad-emoji {
    animation: emojiFloat 3s ease-in-out infinite;
}

@keyframes emojiFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    33% { transform: translateY(-3px) rotate(5deg); }
    66% { transform: translateY(3px) rotate(-5deg); }
}

/* 
   --------------------------------------------------------
   图文广告样式 (新增) - 本次更新添加
   --------------------------------------------------------
*/

.image-ad-box {
    display: block;
    width: 100%;
    position: relative;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    text-decoration: none !important;
}

.image-ad-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: rgba(0,242,254,0.5);
}

.image-ad-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.image-ad-box:hover .image-ad-bg {
    transform: scale(1.1);
}

.image-ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 50px;
    z-index: 2;
    overflow: hidden;
}

.image-ad-tag {
    display: inline-block;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 15px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,242,254,0.3);
}

.image-ad-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.ad-title-emoji-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ad-title-emoji-box .ad-emoji {
    font-size: 32px;
    margin: 0;
    animation: emojiFloat 3s ease-in-out infinite;
}

.image-ad-title {
    font-size: 38px;
    font-weight: 900;
    text-shadow: 0 5px 20px rgba(0,0,0,0.9);
    display: block;
    width: fit-content;
    white-space: nowrap;
    overflow: visible;
    letter-spacing: 2px;
    line-height: 1.4;
    color: #e0f2ff;
    padding: 5px 0;
}

.image-ad-desc {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    display: block;
    width: fit-content;
    white-space: nowrap;
    color: #54c0f1; /* 替换为更清透、更有科技感的浅蓝色 (Light Blue 100) */
    font-weight: 500;
}

.image-ad-btn {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #007bff 0%, #00d2ff 100%);
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    text-decoration: none !important;
    border: 2px solid rgba(255,255,255,0.3);
    overflow: hidden;
}

.image-ad-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255,255,255,0.4);
    transform: rotate(30deg);
    transition: none;
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    0% { left: -60%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

.image-ad-btn:hover {
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255,255,255,0.6);
}

.image-ad-box:hover .image-ad-btn {
    animation: btnBounce 0.5s ease-in-out;
}

@keyframes btnBounce {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.15); }
}

/* 
   --------------------------------------------------------
   图文广告动画效果 (重构版 - 极致视觉冲击)
   --------------------------------------------------------
*/

/* 基础动画设置 */
.image-ad-title-row,
.image-ad-desc {
    animation-duration: 2s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.2, 0, 0.2, 1);
}

.image-ad-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 50px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

@keyframes adBtnIn {
    0% { opacity: 0; transform: translateY(-50%) translateX(50px); }
    15%, 85% { opacity: 1; transform: translateY(-50%) translateX(0); }
    100% { opacity: 0; transform: translateY(-50%) translateX(-50px); }
}

/* 1. Reveal (从左向右慢慢出现) - 蓝绿渐变 */
@keyframes adReveal {
    0% { clip-path: inset(0 100% 0 0); transform: translateX(-50px); opacity: 0; }
    40%, 60% { clip-path: inset(0 0 0 0); transform: translateX(0); opacity: 1; }
    100% { clip-path: inset(0 100% 0 0); transform: translateX(50px); opacity: 0; }
}
.ad-anim-reveal .image-ad-title-row {
    animation: adReveal 4s cubic-bezier(0.2, 0, 0.2, 1) infinite;
}
.ad-anim-reveal .image-ad-title {
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(0,242,254,0.4));
}
.ad-anim-reveal .image-ad-desc {
    animation: adReveal 4s cubic-bezier(0.2, 0, 0.2, 1) infinite;
    animation-delay: 0.3s;
}
.ad-anim-reveal .image-ad-btn {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
    animation: adBtnIn 4s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}

/* 2. Marquee (跑马灯) - 绿绿渐变 */
@keyframes adMarquee {
    0% { transform: translateX(120%); opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { transform: translateX(-120%); opacity: 0; }
}
.ad-anim-marquee .image-ad-title-row {
    animation: adMarquee 8s linear infinite;
}
.ad-anim-marquee .image-ad-title {
    /*background: linear-gradient(90deg, #e36b17 0%, #e42921 100%);*/
    /*-webkit-background-clip: text;*/
    /*-webkit-text-fill-color: transparent;*/
    /*filter: drop-shadow(0 5px 15px rgba(25,158,88,0.4));*/
    color: #15f3d9;
}
.ad-anim-marquee .image-ad-desc {
    animation: adMarquee 12s linear infinite;
    animation-delay: 1s;
}
.ad-anim-marquee .image-ad-btn {
    background: linear-gradient(135deg, #96fbc4 0%, #199e58 100%);
    box-shadow: 0 10px 25px rgba(25, 158, 88, 0.4);
    animation: adBtnIn 4s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
    animation-delay: 2s;
}

/* 3. Typewriter (打字机) - 科技青色 */
@keyframes adTypewriter {
    0%, 10% { width: 0; }
    40%, 60% { width: 105%; }
    90%, 100% { width: 0; }
}
@keyframes blinkCursor {
    from, to { border-right-color: transparent; }
    50% { border-right-color: #00f2fe; }
}
.ad-anim-typewriter .image-ad-title {
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid #00f2fe;
    color: #00f2fe;
    animation: adTypewriter 6s steps(25, end) infinite, blinkCursor 0.8s step-end infinite;
    filter: drop-shadow(0 0 10px rgba(0,242,254,0.6));
}
.ad-anim-typewriter .image-ad-desc {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: adTypewriter 6s steps(35, end) infinite;
    animation-delay: 0.5s;
}
.ad-anim-typewriter .image-ad-btn {
    background: transparent;
    border: 2px solid #00f2fe;
    color: #00f2fe !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.5);
    animation: adBtnIn 6s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
    animation-delay: 3s;
}

/* 4. Gradient (渐变颜色) - 蓝绿流动 */
@keyframes adGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes adPulse {
    0%, 100% { transform: scale(1); letter-spacing: 2px; }
    25% { transform: scale(1.05) scaleX(1.1); letter-spacing: 4px; }
    50% { transform: scale(0.95) scaleX(0.9); letter-spacing: 1px; }
    75% { transform: scale(1.05) scaleX(1.1); letter-spacing: 4px; }
}
.ad-anim-gradient .image-ad-title {
    background: linear-gradient(90deg, #00f2fe, #4facfe, #00f2fe, #4facfe);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: adGradientMove 4s linear infinite, adPulse 2s ease-in-out infinite;
    text-shadow: none;
    filter: drop-shadow(0 5px 15px rgba(79,172,254,0.5));
    display: inline-block;
}
.ad-anim-gradient .image-ad-btn {
    background: linear-gradient(90deg, #00f2fe, #4facfe, #00f2fe, #4facfe);
    background-size: 300% auto;
    animation: adBtnIn 4s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite, adGradientMove 4s linear infinite;
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
}

/* 5. Impact (视觉冲击) - 极致震撼 */
@keyframes adImpact {
    0% { transform: scale(5) rotate(-15deg); opacity: 0; filter: blur(20px); }
    15% { transform: scale(1) rotate(0); opacity: 1; filter: blur(0); }
    85% { transform: scale(1) rotate(0); opacity: 1; filter: blur(0); }
    100% { transform: scale(0.5) rotate(10deg); opacity: 0; filter: blur(10px); }
}
@keyframes adBtnImpact {
    0% { transform: translateY(-50%) scale(0) rotate(20deg); opacity: 0; }
    15%, 85% { transform: translateY(-50%) scale(1) rotate(0); opacity: 1; }
    100% { transform: translateY(-50%) scale(0) rotate(-20deg); opacity: 0; }
}
.ad-anim-impact .image-ad-title-row {
    animation: adImpact 5s cubic-bezier(0.2, 0, 0.2, 1) infinite;
}
.ad-anim-impact .image-ad-title {
    color: #ffda44;
    text-shadow: 0 0 30px rgba(255, 218, 68, 0.6), 0 10px 25px rgba(0,0,0,0.9);
    font-size: 42px; /* 冲击效果下字体更大 */
}
.ad-anim-impact .image-ad-desc {
    animation: adImpact 5s cubic-bezier(0.2, 0, 0.2, 1) infinite;
    animation-delay: 0.2s;
}
.ad-anim-impact .image-ad-btn {
    background: #ffda44;
    color: #000 !important;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(255, 218, 68, 0.4);
    border: none;
    animation: adBtnImpact 5s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}
.ad-anim-impact .image-ad-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1) rotate(2deg);
    box-shadow: 0 15px 40px rgba(255, 218, 68, 0.6);
}

.top-news-list li {
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 表格样式优化 - 针对第三方设备接入方案等表格 */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.article-content table thead tr {
    background-color: #007bff;
    color: #ffffff;
    text-align: left;
    font-weight: 600;
}

.article-content table th,
.article-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

.article-content table tbody tr {
    border-bottom: 1px solid #dddddd;
    transition: all 0.2s;
}

.article-content table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.article-content table tbody tr:last-of-type {
    border-bottom: 2px solid #007bff;
}

.article-content table tbody tr:hover {
    background-color: #f0f7ff;
    color: #007bff;
}

/* 移动端表格滚动优化 */
@media (max-width: 767.98px) {
    .article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 自定义滚动条样式 */
    .article-content table::-webkit-scrollbar {
        height: 6px;
    }
    
    .article-content table::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .article-content table::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
    
    .article-content table::-webkit-scrollbar-thumb:hover {
        background: #007bff;
    }
}

/* 热门标签交互效果 */
.hot-tag {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: inline-block;
}

.hot-tag:hover,
.hot-tag.active {
    background-color: #007bff !important;
    color: #fff !important;
    border-color: #007bff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.25);
}

.hot-tag:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.15);
}


/* 确保 stretched-link 生效 (如果 Bootstrap 版本较旧) */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(0,0,0,0);
}
