/* ========== show 页面专用样式 ========== */

/* Banner区域样式 - 与list保持一致 */
.home-banner {
    height: 600px;
}

.home-banner .swiper-slide {
    height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.home-banner .swiper-slide::before {
    display: none;
}

.home-banner .container.banner-container {
    height: auto;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home-banner .box-slider-text {
    max-width: 800px;
    position: relative;
    z-index: 2;
    color: #fff;
}

.home-banner .box-slide-title {
    font-family: 'Alibaba PuHuiTi 3.0', sans-serif;
    font-size: 70px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
    animation: slideInUp 0.8s ease;
}

.home-banner .box-slide-sub-title {
    font-family: 'Alibaba PuHuiTi 3.0', sans-serif;
    font-size: 70px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
    animation: slideInUp 1s ease;
}

.home-banner .box-slide-description {
    font-family: 'Alibaba PuHuiTi 3.0', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    animation: slideInUp 1.2s ease;
}

/* Banner按钮组 */
.home-banner .banner-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    animation: slideInUp 0.8s ease 0.4s both;
}

.home-banner .banner-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.home-banner .banner-buttons .btn svg {
    width: 20px;
    height: 20px;
}

/* 点击咨询按钮 - 蓝色实心 */
.home-banner .banner-buttons .consult-btn {
    background: #1366EE;
    color: #fff;
    border: 2px solid #1366EE;
    box-shadow: 0 4px 15px rgba(19, 102, 238, 0.4);
}

.home-banner .banner-buttons .consult-btn:hover {
    background: #0d4bb5;
    border-color: #0d4bb5;
    box-shadow: 0 6px 20px rgba(19, 102, 238, 0.5);
    transform: translateY(-2px);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 主容器样式 ========== */
.main-container {
    padding: 60px 0;
    background: #f5f7fa;
}

/* ========== 侧边栏样式 ========== */
.sidebar {
    margin-bottom: 30px;
}

.sidebar-left {
    padding-right: 20px;
}

.widget {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf1;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
}

/* 栏目导航菜单 */
.service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-menu li {
    margin-bottom: 8px;
}

.service-menu li a {
    display: block;
    padding: 12px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
}

.service-menu li a:hover {
    background: #f5f7fa;
    color: #1366EE;
    padding-left: 20px;
}

.service-menu li.active a {
    background: #1366EE;
    color: #fff;
    font-weight: 500;
}

.service-menu li.active a:hover {
    background: #0d4bb5;
}

/* 热门新闻 */
.recent-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.recent-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-posts li:first-child {
    padding-top: 0;
}

.recent-posts li:hover {
    transform: translateX(5px);
}

.posts-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.posts-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.posts-thumb:hover img {
    transform: scale(1.1);
}

.post-info {
    flex: 1;
    min-width: 0;
}

.entry-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.entry-title a:hover {
    color: #1366EE;
}

/* ========== 内容区域样式 ========== */
.post-content {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf1;
    min-height: 600px;
}

.post-body {
    width: 100%;
}

/* 文章头部 */
.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf1;
}

.entry-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #999;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta i {
    color: #1366EE;
    font-size: 15px;
}

.post-meta a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-meta a:hover {
    color: #1366EE;
}

/* 文章内容 */
.main-content {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.main-content p {
    margin-bottom: 16px;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
    color: #333;
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}

.main-content h1 {
    font-size: 28px;
}

.main-content h2 {
    font-size: 24px;
}

.main-content h3 {
    font-size: 20px;
}

.main-content h4 {
    font-size: 18px;
}

.main-content h5 {
    font-size: 16px;
}

.main-content h6 {
    font-size: 14px;
}

.main-content ul,
.main-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.main-content li {
    margin-bottom: 8px;
}

.main-content blockquote {
    border-left: 4px solid #1366EE;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f5f7fa;
    border-radius: 4px;
    color: #666;
}

.main-content code {
    background: #f5f7fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: #e83e8c;
}

.main-content pre {
    background: #f5f7fa;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.main-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.main-content table th,
.main-content table td {
    border: 1px solid #e8ecf1;
    padding: 12px;
    text-align: left;
}

.main-content table th {
    background: #f5f7fa;
    font-weight: 600;
}

/* 间距工具类 */
.gap-40 {
    height: 40px;
}

/* 标签与分享区域 */
.tags-area {
    padding-top: 30px;
    border-top: 1px solid #e8ecf1;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f7fa;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.post-tags a:hover {
    background: #1366EE;
    color: #fff;
    border-color: #1366EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 102, 238, 0.3);
}

.share-items {
    display: flex;
    align-items: center;
}

.post-social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons-head {
    font-size: 14px;
    color: #999;
    margin-right: 8px;
}

.post-social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f7fa;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.post-social-icons li a:hover {
    background: #1366EE;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(19, 102, 238, 0.3);
}

/* 上一篇/下一篇导航 */
.bc-related-post {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8ecf1;
}

.bc-related-post a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f5f7fa;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    max-width: 48%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bc-related-post a:hover {
    background: #1366EE;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 102, 238, 0.3);
}

.bc-related-post a i {
    font-size: 16px;
}

.previous-post i {
    margin-right: 4px;
}

.next-post i {
    margin-left: 4px;
}

/* ========== 响应式调整 ========== */
@media (max-width: 991px) {
    .home-banner {
        height: 400px;
    }

    .home-banner .swiper-slide {
        height: 400px;
    }

    .home-banner .box-slide-title,
    .home-banner .box-slide-sub-title {
        font-size: 48px;
    }

    .home-banner .box-slide-description {
        font-size: 16px;
    }

    .sidebar-left {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .post-content {
        padding: 30px;
    }

    .entry-title {
        font-size: 28px;
    }

    .bc-related-post {
        flex-direction: column;
    }

    .bc-related-post a {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .home-banner {
        height: 300px;
    }

    .home-banner .swiper-slide {
        height: 300px;
    }

    .home-banner .box-slide-title,
    .home-banner .box-slide-sub-title {
        font-size: 36px;
    }

    .home-banner .box-slide-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .home-banner .banner-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .home-banner .banner-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
        justify-content: center;
    }

    .main-container {
        padding: 40px 0;
    }

    .post-content {
        padding: 20px;
    }

    .widget {
        padding: 20px;
    }

    .entry-title {
        font-size: 24px;
    }

    .post-meta {
        gap: 12px;
        font-size: 13px;
    }

    .main-content {
        font-size: 15px;
    }

    .tags-area {
        flex-direction: column;
        gap: 20px;
    }

    .post-tags {
        justify-content: center;
    }

    .share-items {
        justify-content: center;
    }
}

/* 主容器宽度限制 */
#main-container .container {
    max-width: 1440px;
}
