/* 全局样式 */
:root {
    --primary-color: #C7000B;
    --secondary-color: #E60012;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --hover-color: #A00009;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

a {
    color: #000;
    text-decoration: none;
}

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

/* 头部样式 */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.news-title{
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-number {
    padding: 5px 10px;
    background: #C7000B;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 68px;

}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    /* padding: 0 20px; */
    max-width: 1560px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 400px;
    height: 100%;
    background-image: url('../static/ic_banner_bg.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
    opacity: 0.9;
}

.site-title {
    text-align: left;
    padding-right: 40px;
}

.site-title h1 {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
    letter-spacing: 1px;
}

.site-title h2 {
    font-size: 16px;
    color: #666;
    margin: 5px 0 0;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
    max-width: 600px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    font-size: 16px;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.transaction-container,
.qualification-page,
.query-page,
.dci-query-page,
.notification-page,
.declaration-page{
    padding: 120px  20px !important;
}
.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.login-btn,
.register-btn {
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-right: 10px;
}

.login-btn:hover {
    background: var(--primary-color);
    color: white;
}

.register-btn {
    background: var(--primary-color);
    color: white;
}

.register-btn:hover {
    background: var(--hover-color);
}

/* 语言切换组件样式 */
.language-switcher {
    position: relative;
    display: inline-block;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.language-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.language-btn i.fa-globe {
    color: var(--primary-color);
}

.language-btn i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-btn:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.language-option.active {
    background: rgba(199, 0, 11, 0.1);
    color: var(--primary-color);
}

.lang-flag {
    font-size: 16px;
}

.lang-text {
    font-size: 14px;
    font-weight: 500;
}

/* 移动端语言切换样式 */
.mobile-language-switcher {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-language-options {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.mobile-language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-language-option:hover,
.mobile-language-option.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.mobile-language-option .lang-flag {
    font-size: 14px;
}

.mobile-language-option .lang-text {
    font-size: 13px;
    font-weight: 500;
}

/* 轮播图样式 */
.hero-slider {
    margin-top: 100px;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 轮播图控制按钮 */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.prev-btn,
.next-btn {
    background: rgba(199, 0, 11, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(199, 0, 11, 0.5);
}

/* 轮播图指示器 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
}

/* 快速入口样式 */
.quick-access {
    padding: 60px 0;
    background-color: #fff;
    /* background: var(--light-gray); */
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.quick-access-item {
    background: white;

    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.quick-access-item:hover {
    transform: translateY(-5px);
}

.quick-access-item i {
    font-size: 2.5rem;
    color: var(--primary-color);

}

.quick-access-item h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* 新闻资讯样式 */


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* padding: 0 20px; */
}

.section-header h2 {
    font-size: 24px;
    color: var(--primary-color);
    position: relative;

}



.more-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.more-link:hover {
    color: var(--hover-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    display: flex;
    margin-bottom: 10px;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item:last-child {
    margin: 0px;
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    box-sizing: border-box;
    padding: 10px;

}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0px 0px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 0.9rem;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-container::after {
        width: 200px;
    }
}

/* 移动端导航样式 */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 1999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-header h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin: 0;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-list a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-list a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.mobile-login-btn,
.mobile-register-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-login-btn {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
}

.mobile-login-btn:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-register-btn {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.mobile-register-btn:hover {
    background: var(--hover-color);
}

.mobile-nav-trigger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 1997;
    transition: all 0.3s ease;
}

.mobile-nav-trigger:hover {
    background: var(--hover-color);
}

@media (max-width: 768px) {
    .header-container {
        display: none;
    }

    .mobile-nav-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header::before {
        content: attr(data-site-name);
        font-size: 18px;
        font-weight: bold;
        color: var(--primary-color);
    }

    /* 语言切换组件移动端适配 */
    .language-switcher {
        display: none;
    }

    .quick-access-grid,
    .news-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        height: 300px;
        margin-top: 200px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .prev-btn,
    .next-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .news-image {
        height: 180px;
    }
}

/* 行业动态样式 */
.industry-trends {
    padding: 40px 0;
    background: #fff;
}

.trends-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 20px;
}

.trend-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    height: 200px;
}

.trend-item:hover {
    transform: translateY(-3px);
}

.trend-image {
    flex: 0 0 300px;
    overflow: hidden;
}

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

.trend-item:hover .trend-image img {
    transform: scale(1.05);
}

.trend-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.trend-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.trend-category {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 12px;
    padding: 3px 10px;
    background: rgba(199, 0, 11, 0.1);
    border-radius: 20px;
}

.trend-date {
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trend-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trend-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-top: auto;
}

.read-more:hover {
    gap: 8px;
}

.read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .trends-list {
        grid-template-columns: 1fr;
    }

    .trend-item {
        height: 180px;
    }

    .trend-image {
        flex: 0 0 160px;
    }
}

@media (max-width: 768px) {
    .trend-item {
        height: auto;
        flex-direction: column;
    }

    .trend-image {
        height: 160px;
        width: 100%;
    }

    .trend-content {
        padding: 15px;
    }

    .trend-content h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .trend-content p {
        font-size: 12px;
        margin-bottom: 10px;
    }
}

/* 动态公告栏样式 */
.announcement-bar {
    padding: 20px 0;
    background: #fff;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.05); */
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.announcement-wrapper {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
    padding: 15px 25px;
    border: 1px solid var(--border-color);
    height: 60px;
}

.announcement-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 25px;
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
}

.announcement-icon i {
    color: var(--primary-color);
    font-size: 20px;
}

.announcement-icon span {
    font-weight: 500;
    color: var(--text-color);
}

.announcement-content {
    flex: 1;
    overflow: hidden;
    margin: 0 25px;
    position: relative;
    height: 30px;
}

.announcement-list {
    position: absolute;
    width: 100%;
    transition: transform 0.5s ease;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    position: absolute;
    width: 100%;
    left: 0;
}

.announcement-item.active {
    opacity: 1;
    visibility: initial;
}

.announcement-tag {
    background: rgba(199, 0, 11, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 13px;
    flex-shrink: 0;
}

.announcement-item a {
    color: var(--text-color);
    text-decoration: none;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.announcement-item a:hover {
    color: var(--primary-color);
}

.announcement-date {
    color: #666;
    font-size: 13px;
    flex-shrink: 0;
}

.announcement-more {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: gap 0.3s ease;
    flex-shrink: 0;
}

.announcement-more:hover {
    gap: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .announcement-wrapper {
        flex-direction: column;
        padding: 15px;
        height: auto;
    }

    .announcement-icon {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 10px;
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
    }

    .announcement-content {
        margin: 10px 0;
        width: 100%;
    }

    .announcement-item {
        flex-wrap: wrap;
        gap: 8px;
        height: auto;
        padding: 5px 0;
    }

    .announcement-date {
        width: 100%;
        text-align: right;
    }

    .announcement-more {
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
    }
}

/* 合作单位样式 */
.partners {
    padding: 60px 0;
    background: #fff;

}

.partners .section-header {
    text-align: center;
    margin-bottom: 50px;
}



.section-title-en {
    color: #999;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.partner-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    /* display: flex;
    align-items: center; */
    gap: 15px;
}

.partner-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.partner-icon {
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: #fff;
    padding: 20px 0px;
}

.partner-icon img {
    width: 100%;
        background: #fff;
    max-height: 60px;
    object-fit: contain;
}

.partner-info {
    flex: 1;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

.partner-info h3 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 5px;
    font-weight: 500;
}

.partner-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* 合作单位响应式 */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .partners {
        padding: 40px 0;
    }

    .partners .section-header {
        margin-bottom: 30px;
    }

    .partners .section-header h2 {
        font-size: 24px;
    }

    .section-title-en {
        font-size: 14px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .partner-item {
        padding: 15px;
    }

    .partner-icon {
        width: 50px;
        height: 50px;
    }

    .partner-icon img {
        max-width: 35px;
        max-height: 35px;
    }

    .partner-info h3 {
        font-size: 15px;
    }

    .partner-info p {
        font-size: 12px;
    }
}