body {
    background: #F5F6F7 !important;
    min-height: 100vh;
}

.company-content::-webkit-scrollbar {
    width: 6px;
}

.company-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.company-content::-webkit-scrollbar-thumb {
    background: #4b7bff;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.company-content::-webkit-scrollbar-thumb:hover {
    background: #3b5bdb;
}

.modern-header {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

.modern-header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.company-banner {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 0;
    padding-top: 70px;
    overflow: hidden;
}

.company-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/dsai.png') center center / cover no-repeat;
    filter: blur(20px) brightness(0.4);
    z-index: 0;
}

.company-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.company-banner-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.company-banner-title {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.company-banner-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 24px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.company-banner-description {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    max-width: 700px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.company-breadcrumb {
    background: #F5F6F7;
    padding: 20px 0;
}

.company-breadcrumb-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 1.5;
}

.company-breadcrumb-icon {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-right: 6px;
    position: relative;
    top: -1px;
}

.company-breadcrumb-icon:hover {
    color: #4b7bff;
}

.company-breadcrumb-icon i {
    font-size: 14px;
    display: block;
}

.company-breadcrumb-item {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    font-weight: 400;
}

.company-breadcrumb-item:hover {
    color: #4b7bff;
}

.company-breadcrumb-item.active {
    color: #4b7bff;
    font-weight: 500;
}

.company-breadcrumb-separator {
    display: inline-block;
    margin: 0 10px;
    color: #d1d5db;
    font-size: 14px;
    user-select: none;
}

.company-main {
    padding: 50px 0 60px;
    min-height: auto;
}

.company-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.company-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 2px solid #E5E6EB;
    padding-bottom: 0;
}

.company-tab-item {
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    margin-bottom: -2px;
    text-decoration: none;
}

.company-tab-item:hover {
    color: #4b7bff;
}

.company-tab-item.active {
    color: #4b7bff;
    font-weight: 600;
    border-bottom-color: #4b7bff;
}

.article-list {
    background: transparent;
    border-radius: 16px;
    padding: 40px;
    min-height: 600px;
    position: relative;
    border: none;
}

.article-item {
    display: flex;
    padding: 28px 32px;
    border-radius: 12px;
    margin-bottom: 20px;
    background: rgba(250, 251, 252, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(233, 236, 239, 0.6);
    transition: all 0.3s ease;
    cursor: pointer !important;
    text-decoration: none !important;
    color: #333 !important;
    position: relative;
}

.article-item:hover {
    color: #333 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid #4b7bff;
}

.article-item:last-child {
    margin-bottom: 0;
}

.article-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #f0f9ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    box-shadow: 0 4px 16px rgba(75, 123, 255, 0.15);
    border: 2px solid #d4e9ff;
    padding: 8px;
}

.article-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article-content {
    flex: 1;
}

.article-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.article-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.article-item:hover .article-title {
    color: #4b7bff;
}

.article-date {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.article-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.2px;
}

.article-detail {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 600px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.article-detail-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(75, 123, 255, 0.15);
    margin-bottom: 40px;
}

.article-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 15px;
    color: #666;
}

.article-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-detail-meta-item i {
    color: #4b7bff;
}

.article-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: #2d3748;
    letter-spacing: 0.3px;
    word-break: break-word;
}

.article-detail-content h2 {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 40px 0 20px;
    padding-left: 16px;
    border-left: 4px solid #4b7bff;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.article-detail-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 30px 0 16px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.article-detail-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-detail-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.article-detail-content img:hover {
    transform: scale(1.02);
}

.article-detail-content strong {
    color: #1a1a2e;
    font-weight: 600;
    background: linear-gradient(to bottom, transparent 60%, rgba(75, 123, 255, 0.15) 60%);
    padding: 0 2px;
}

.article-detail-content a {
    color: #4b7bff;
    text-decoration: none;
    border-bottom: 1px solid rgba(75, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.article-detail-content a:hover {
    color: #3b5bdb;
    border-bottom-color: #3b5bdb;
}

.back-to-top-btn {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #ffffff;
    color: #4b7bff;
    border: 2px solid #e8eef7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    backdrop-filter: blur(10px);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: #4b7bff;
    color: #ffffff;
    border-color: #4b7bff;
    box-shadow: 0 4px 24px rgba(75, 123, 255, 0.25);
    transform: translateY(-4px);
}

.back-to-top-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 2px 12px rgba(75, 123, 255, 0.2);
}

.back-to-top-btn i {
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .back-to-top-btn {
        width: 50px;
        height: 50px;
        bottom: 70px;
        right: 20px;
        font-size: 18px;
        border-radius: 14px;
    }
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.nav-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: #fafbfc;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: white;
    border-color: #4b7bff;
    color: #4b7bff;
    box-shadow: 0 4px 16px rgba(75, 123, 255, 0.15);
}

.nav-link i {
    font-size: 16px;
    flex-shrink: 0;
}

.nav-link span {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prev-link {
    justify-content: flex-start;
}

.next-link {
    justify-content: flex-end;
    text-align: right;
}

.pagination-container {
    padding: 30px 0 0;
    text-align: center;
}

.pagination {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 适配ThinkPHP默认分页HTML结构 */
.pagination li {
    list-style: none;
    margin: 0;
}

.pagination li a,
.pagination li span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    padding: 0 12px;
    background: white;
}

.pagination li a:hover {
    border-color: #4b7bff;
    color: #4b7bff;
    box-shadow: 0 2px 8px rgba(75, 123, 255, 0.15);
    background: #f0f5ff;
}

.pagination li.active span {
    background: #4b7bff;
    border-color: #4b7bff;
    color: white;
}

.pagination li.disabled a,
.pagination li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 上一页/下一页图标样式（使用Font Awesome） */
.pagination li:first-child a,
.pagination li:first-child span {
    position: relative;
}

.pagination li:first-child a::before,
.pagination li:first-child span::before {
    content: '\f053';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
}

.pagination li:last-child a,
.pagination li:last-child span {
    position: relative;
}

.pagination li:last-child a::before,
.pagination li:last-child span::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
}

/* 隐藏原本的 « 和 » 符号 */
.pagination li:first-child a,
.pagination li:first-child span,
.pagination li:last-child a,
.pagination li:last-child span {
    text-indent: -9999px;
    overflow: hidden;
}

.pagination li:first-child a::before,
.pagination li:first-child span::before,
.pagination li:last-child a::before,
.pagination li:last-child span::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-indent: 0;
}

.pagination-item {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
}

.pagination-item:hover {
    border-color: #4b7bff;
    color: #4b7bff;
    box-shadow: 0 2px 8px rgba(75, 123, 255, 0.15);
}

.pagination-item.active {
    background: #4b7bff;
    border-color: #4b7bff;
    color: white;
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .company-banner {
        height: 380px;
        margin-top: 0;
        padding-top: 60px;
    }
    
    .company-banner-content {
        padding: 0 20px;
    }
    
    .company-banner-title {
        font-size: 36px;
    }
    
    .company-banner-subtitle {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .company-banner-description {
        font-size: 14px;
    }
    
    .company-breadcrumb {
        padding: 16px 0;
    }
    
    .company-breadcrumb-wrapper {
        padding: 0 20px;
        font-size: 14px;
    }
    
    .company-main {
        padding: 40px 0;
    }
    
    .company-container {
        padding: 0 20px;
    }
    
    .company-tabs {
        gap: 24px;
        padding-bottom: 0;
    }
    
    .company-tab-item {
        padding: 12px 0;
        font-size: 15px;
    }
    
    .article-list {
        padding: 24px 20px;
        min-height: 400px;
        border-radius: 16px;
    }
    
    .article-item {
        flex-direction: column;
        padding: 24px 20px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
    
    .article-icon {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 18px;
        border-radius: 14px;
    }
    
    .article-icon i {
        font-size: 26px;
    }
    
    .article-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .article-title {
        font-size: 18px;
    }
    
    .article-detail {
        padding: 30px 20px;
        min-height: 400px;
        border-radius: 12px;
    }
    
    .article-detail-title {
        font-size: 24px;
    }
    
    .article-detail-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .article-detail-content {
        font-size: 14px;
    }
    
    .article-detail-content h2 {
        font-size: 20px;
        padding-left: 12px;
    }
    
    .article-detail-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .company-container {
        padding: 0 30px;
    }
    
    .article-list,
    .article-detail {
        padding: 50px 40px;
        border-radius: 14px;
    }
}

::selection {
    background: rgba(75, 123, 255, 0.2);
    color: #1a1a2e;
}

::-moz-selection {
    background: rgba(75, 123, 255, 0.2);
    color: #1a1a2e;
}
