:root {
    --primary-color: #007bff;
    --secondary-color: #2563EB;
    --text-gray: #262626;
    --text-gray2: #6b7280;
    --border-gray: #e5e7eb;
    --background-color: #f9fafb;
    --background-color-2: #f0f0f0;
    --background-blue-1: #ecf5ff;
}

html,
body {
    background-color: var(--background-color);
    min-height: 1024px;
    margin: 0;
    padding: 0;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

.panel-default {
    padding: 30px 20px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.panel-default>.panel-heading .panel-title {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: bold;
}

.panel-default>.panel-heading .more a {
    color: var(--text-gray2);
}

.panel-default>.panel-heading .more a:hover {
    color: var(--primary-color);
}

.article-list .article-item:hover {
    background: transparent;
}

footer {
    padding: 0;
    background: transparent;
    color: var(--text-gray2);
    text-align: center;
}

footer a {
    color: var(--text-gray2);
}

.el-select-dropdown__item.selected {
    color: var(--text-gray2) !important;
    font-weight: 400 !important;
}

#chinacoop-info-list {
    overflow: auto;
    width: 210px;
    max-height: 260px;
}

/* reset end */

/* 顶部固定头部 */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-line {
    height: 8px;
    background: var(--primary-color);
}

.header-content {
    background: white;
    box-shadow: 0 0 5px rgba(50, 50, 50, 0.1);
    padding: 0;
    height: 140px;
    ;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.logo-search {
    display: flex;
    align-items: center;
    gap: 65px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img.logo-chinacoop {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-section img.logo-chinacoop:hover {
    transform: translateY(-2px);
}

.logo-section img.logo-ctma {
    height: 63px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-section img.logo-ctma:hover {
    transform: translateY(-2px);
}

.search-container {
    position: relative;
}

.search-input {
    width: 550px;
    height: 45px;
    padding: 0 40px 0 35px;
    /* border: 1px solid var(--border-gray); */
    border: none;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    background-color: var(--background-color);
}

.search-input:hover,
.search-input:focus {
    border-color: var(--primary-color);
    background: var(--background-color-2);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-gray2);
}

.btn-lang {
    color: var(--primary-color);
}

.btn-login {
    padding: 6px 16px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

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

.btn-register {
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-register:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    text-decoration: none;
}

/* 主布局 */
.main-layout {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 48px;
    position: relative;
}

/* 左侧导航 */
.left-sidebar {
    width: 255px;
    /* background: white; */
    position: fixed;
    left: calc(50% - 600px - 20px - 255px);
    top: 170px;
    bottom: 25px;
    /* border-right: 1px solid var(--border-gray); */
    overflow-y: hidden;
    border-radius: 0;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    z-index: 1000;
}

.nav-menu {
    padding: 28px 0;
    background: white;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    text-decoration: none;
    transition: background 0.3s;
    font-size: large;
}

.nav-item:hover {
    background: var(--background-blue-1);
    text-decoration: none;
    color: var(--primary-color);
}

.nav-item.active {
    color: var(--primary-color);
    font-weight: bold;
    /* background: #f9fafb; */
}

.nav-item i {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 右侧功能栏 */
.right-sidebar {
    width: 200px;
    background: white;
    position: fixed;
    left: calc(50% + 600px + 20px);
    top: 170px;
    bottom: 25px;
    /* border-left: 1px solid var(--border-gray); */
    /*overflow-y: auto;*/
    border-radius: 0;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
}

.right-sidebar-content {
    padding: 24px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
    padding: 6px;
    border-radius: 10px;
    border: #fff 1px solid;
    position: relative;
}

.sidebar-item:hover {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.sidebar-item:hover .floatbtn-wrapper {
    display: block;
}

.floatbtn-wrapper {
    z-index: 100000;
    right: 152px;
}

.floatbtn-wrapper:after {
  border:0;
}

.sidebar-item.active {
    color: var(--primary-color);
    background: #f9fafb;
}

.sidebar-item i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 12px;
}

.sidebar-divider {
    border-top: 1px solid var(--border-gray);
    margin: 16px 0;
    padding-top: 16px;
}

.contact-info {
    border-top: 1px solid var(--border-gray);
    margin-top: 16px;
    padding-top: 16px;
}

.contact-info p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.contact-info .phone {
    font-weight: 500;
    color: #1f2937;
    margin: 4px 0;
}

.contact-info .hours {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* 主内容区域 */
.main-content {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
}











/*info-block-1*/

.info-block-1 {
    overflow: hidden;
    height: 345px;
}

.info-block-1-2 {
    height: auto;
}

.info-block-1>.nav {
    padding: 0 8px;
    border-bottom: 1px solid var(--border-gray);
}

.info-block-1>.nav>li a {
    margin: 0 15px 0 0;
    padding: 0 5px 10px 5px;
    background: 0;
    border: 0;
    border-bottom: 4px solid transparent;
    font-size: 22px;
    color: var(--text-gray2);
}

.info-block-1>.nav>li a {
    cursor: pointer !important;
}

.info-block-1>.nav>li a:after {
    display: block;
    position: absolute;
    right: -9px;
    top: 6px;
    content: '';
    width: 3px;
    height: 20px;
    background-color: #ddd;
}

.info-block-1>.nav>li:last-child a {
    margin: 0;
}

.info-block-1>.nav>li:last-child a:after {
    display: inline-block;
    margin-left: 0;
    content: '';
    width: 0;
    height: 0;
}

.info-block-1>.nav>li a:hover,
.info-block-1>.nav>li.active a {
    border: 0;
    /* border-bottom: 4px solid var(--primary-color); */
    font-weight: bold;
    color: var(--primary-color);
}

















.embed-responsive-10-4 {
    padding-bottom: 41%;
}

.embed-responsive-10-5 {
    padding-bottom: 50%;
}

.embed-responsive-10-6 {
    padding-bottom: 60%;
}

/* Timeline Activity Styles */
.timeline-container {
    position: relative;
    padding: 20px 0;
    height: 180px;
    overflow: hidden;
}

.timeline-swiper {
    position: relative;
    height: 100%;
    padding: 0 50px;
}

.timeline-line {
    position: absolute;
    top: 107%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 0;
    transform: translateY(-50%);
}

.timeline-card {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 50px 20px;
    background: #ecf5ff;
    border-radius: 8px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    border: 1px solid #b3d8ff;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
    color: #409eff;
}

.timeline-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.35);
}

.timeline-dot {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
    z-index: 3;
}

.timeline-content {
    text-align: center;
    width: 100%;
}

.activity-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.activity-location {
    font-size: 16px;
    color: var(--text-gray2);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-location::before {
    content: "📍";
    margin-right: 5px;
}

.activity-date {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-gray2);
    margin: 0;
}

.timeline-pagination {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-pagination .swiper-pagination-bullet {
    background: var(--border-gray);
    opacity: 1;
    margin: 0 4px;
}

.timeline-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.timeline-button-next,
.timeline-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-button-next:hover,
.timeline-button-prev:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.timeline-button-next {
    right: 10px;
}

.timeline-button-prev {
    left: 10px;
}

.timeline-button-next::after,
.timeline-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-container {
        height: 200px;
    }

    .timeline-swiper {
        padding: 0 20px;
    }

    .timeline-line {
        left: 20px;
        right: 20px;
    }

    .timeline-card {
        padding: 15px;
    }

    .activity-title {
        font-size: 16px;
    }

    .activity-location {
        font-size: 13px;
    }

    .activity-date {
        font-size: 14px;
    }
}

/* Data Item Styles */
.related-article .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.data-item {
    text-align: center;
    padding: 15px 10px;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 0;
}

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

.data-display {
    margin-top: 15px;
    padding: 10px 0;
}

.data-icon {
    margin-bottom: 15px;
}

.data-icon img {
    max-width: 100%;
    height: auto;
}

.data-number {
    font-size: 48px;
    font-weight: 100;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.data-unit {
    font-size: 18px;
    font-weight: normal;
    color: var(--text-gray2);
    margin-left: 2px;
}

.data-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
}

/* Responsive adjustments for data items */
@media (max-width: 1200px) {
    .data-number {
        font-size: 42px;
    }

    .data-unit {
        font-size: 16px;
    }

    .data-title {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .related-article .row {
        flex-wrap: wrap;
    }

    .data-item {
        flex: 0 0 50%;
        margin-bottom: 20px;
        border-right: none !important;
        border-bottom: 1px solid #ebebeb;
        padding-bottom: 25px;
    }

    .data-item:nth-child(2n) {
        border-right: none !important;
    }

    .data-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .data-item {
        flex: 0 0 100%;
        margin-bottom: 20px;
        border-right: none !important;
        border-bottom: 1px solid #ebebeb;
        padding-bottom: 25px;
    }

    .data-item:last-child {
        border-bottom: none;
    }

    .data-number {
        font-size: 36px;
    }

    .data-unit {
        font-size: 14px;
    }

    .data-title {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .data-number {
        font-size: 32px;
    }

    .data-unit {
        font-size: 12px;
    }

    .data-title {
        font-size: 12px;
    }
}


.info-list-1 li:before {
    position: absolute;
    display: block;
    content: '';
    left: 15px;
    top: 15px;
    width: 4px;
    height: 4px;
    background-color: #999;
}

.channel > main {
    margin: 0 auto 10px auto;
    padding: 5px 0 30px 0;
    background: transparent;
}

.list-group-item {
    border: 0;
    border-bottom: 1px solid #ddd;
    margin-bottom:0;
}

.channel .list-group-item.in {
    font-weight: bold;
    background: #f2f9fe;
    color: #1492ff;
}

.channel .info-list-1 li a {max-width: 85%;}

.info-block-2-2 .panel {border-left: #1492ff57 5px solid;}

.swiper-container, .swiper-wrapper {
    z-index: 0 !important;
}



@media (max-width: 1200px) {
    .logo-section {padding-left:15px;}
    .logo-section img.logo-ctma {height: 56px;}
    .panel-default {padding:20px;}
    .swiper-container {margin-top:10px;}
    .more-bottom, .set-font {display:none;}
    .main-content {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    .article-metas .metas-title{font-size:25px;}
}