
/* 主要内容区域 */
.main-content {
    padding: 20px;
}

.content-placeholder {
    text-align: center;
    color: #666;
}

.content-placeholder h2 {
    margin-bottom: 15px;
    color: #333;
}

.news-header {
    text-align: center;
    padding: 20px 0px 10px 0px;
}

.news-header h1 {
    font-family: Source Han Sans;
    font-size: 22px;
    font-weight: bold;
    line-height: 36px;
    letter-spacing: 2px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #3D3D3D;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    margin-left: 20%;
}

.news-header h1 div {
    font-family: Source Han Sans;
    font-size: 22px;
    font-weight: bold;
    line-height: 25px;
    text-align: center;
    letter-spacing: 2px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #3D3D3D;
    float: left;
    margin-right: 10px;
}   

.news-header h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    opacity: 1;
    background: #0063F9;
}

/* hzlt-list 合作论坛列表样式 */
.hzlt-list {
    padding: 0px 20px;
    background-color: #fff;
}

.hzlt-item-frist {
    display: flex;
    align-items: flex-start;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-direction: column;
}

.hzlt-item-frist img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
}

.hzlt-item-frist-txt {
    flex: 1;
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
    margin-bottom: 8px;
    padding: 15px 20px 15px 20px;
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: bold;
    line-height: 25px;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: rgba(0, 0, 0, 0.8);
}

.hzlt-item-frist-date {
    font-family: Source Han Sans;
    font-size: 14px;
    color: #666;
    text-align: right;
    padding: 0 0px 15px 20px;
}

.hzlt-item {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 20px 0px 10px 0px;
   border-bottom: 1px solid #E1E4E3;
}

.hzlt-item:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hzlt-item-txt {
    margin-bottom: 8px;
    margin-top: 6px;
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #000000;
}

.hzlt-item-date {
    font-family: Source Han Sans;
    font-size: 12px;
    color: #666;
}

.hzlt-list button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 30px;
    background-color: #0063F9;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    order: none;
    border-radius: 6px;
    opacity: 1;
    background: #EDF4F9;
    width: 200px;
    height: 42px;
    color: #0063F9;
    margin-top: 20px;
    margin-bottom: 30px;
}

.hzlt-list button:hover {
    background-color: #0056cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 99, 249, 0.3);
}

/* spjgjl-list 食品安全监管交流列表样式 */
.spjgjl {
    padding: 20px 0px 20px 20px;
    background-color: #f8f9fa;
    background-image: url(/zh/h5/images/zfspjl-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.spjgjl-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    /* 隐藏滚动条但保持滚动功能 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.spjgjl-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.spjgjl-item {
    display: flex;
    flex-direction: column;
    width: 160px;
    height: 280px;
    border-radius: 4px;
    opacity: 1;
    background: #FFFFFF;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0; /* 防止卡片收缩 */
    padding: 5px 15px;
    border-radius: 4px;
}


.spjgjl-item img:first-child {
    width: 60px;
    height: 44px;
    margin-bottom: 15px;
    margin-top: 10px;
}

.spjgjl-item-txt {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spjgjl-item-title {
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: Source Han Sans;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: rgba(0, 0, 0, 0.8);
		 border-bottom: 1px solid #ECECEC;
    padding-bottom: 10px;
}

.spjgjl-item-txt .spjgjl-item-txt {
    flex: 1;
    font-family: Source Han Sans;
    font-size: 10px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #999999;
}

.spjgjl-item img:last-child {
    width: 20px; 
    height: 22px;
    margin-top: 10px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    width: 64px;
}

.spjgjl-item:hover img:last-child {
    opacity: 1;
}

/* zfspaqjghz-list 中非商品安全监管合作列表样式 */
.zfspaqjghz-list {
    padding: 20px 15px;
    background-color: #fff;
}

.zfspaqjghz-item-tab {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.zfspaqjghz-item-tab-item {
    padding: 8px 20px;
    margin-right: 15px;
    background-color: #f8f9fa;
    border-radius: 20px;
    font-family: Source Han Sans;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zfspaqjghz-item-tab-item:hover,
.zfspaqjghz-item-tab-item.active {
    background-color: #0063F9;
    color: #fff;
}

.zfspaqjghz-item-tab-item-more {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-family: Source Han Sans;
    font-size: 14px;
    color: #0063F9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zfspaqjghz-item-tab-item-more img {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.zfspaqjghz-item-tab-item-more:hover img {
    transform: translateX(3px);
}

.zfspaqjghz-item-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zfspaqjghz-item-content-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.zfspaqjghz-item-content-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.zfspaqjghz-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
   
}

.zfspaqjghz-date div:first-child {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.zfspaqjghz-date div:last-child {
    font-size: 12px;
    color: #C2C2C2;
    margin: 4px;
    line-height: 1.2;
    text-align: left;
    padding-bottom: 25px;
    border-bottom: 2px solid #ECECEC;
    width: 37px;
}

.zfspaqjghz-item-content-item-txt {
    flex: 1;
}

.zfspaqjghz-item-content-item-txt-title {
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.8);
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44.8px;
    min-height: 44.8px;
    text-align: left;
}

.zfspaqjghz-item-content-item-txt-content {
    font-family: Source Han Sans;
    font-size: 12px;
    font-weight: normal;
    line-height: 22px;
    color: #999999;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 39.2px;
    min-height: 39.2px;
    text-align: left;
}

.zfspaqjghz-item-content-item button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 30px;
    background-color: #0063F9;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zfspaqjghz-item-content-item button:hover {
    background-color: #0056cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 99, 249, 0.3);
}

/* fzgjgk 非洲国家概况样式 */
.fzgjgk {
    padding: 20px 15px;
}

.fzgjgk-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
    /* 默认显示21个项目（7行×3列） */
    /* 7行高度 + 6个垂直间距 */
    max-height: calc(7 * 40px + 6 * 10px);
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.fzgjgk-list.expanded {
    max-height: none;
}

.fzgjgk-item {
    padding: 10px 8px;
    font-family: Source Han Sans;
    font-size: 14px;
    color: #333;
    text-align: center;
    cursor: pointer;
    height: 43px;
    display: flex;
}

/* 隔行显示背景色 - 奇数行（第1,3,5,7...行）显示背景色 */
.fzgjgk-item:nth-child(6n+1),
.fzgjgk-item:nth-child(6n+2),
.fzgjgk-item:nth-child(6n+3),
.fzgjgk-item:nth-child(6n+7),
.fzgjgk-item:nth-child(6n+8),
.fzgjgk-item:nth-child(6n+9),
.fzgjgk-item:nth-child(6n+13),
.fzgjgk-item:nth-child(6n+14),
.fzgjgk-item:nth-child(6n+15),
.fzgjgk-item:nth-child(6n+19),
.fzgjgk-item:nth-child(6n+20),
.fzgjgk-item:nth-child(6n+21),
.fzgjgk-item:nth-child(6n+25),
.fzgjgk-item:nth-child(6n+26),
.fzgjgk-item:nth-child(6n+27),
.fzgjgk-item:nth-child(6n+31),
.fzgjgk-item:nth-child(6n+32),
.fzgjgk-item:nth-child(6n+33),
.fzgjgk-item:nth-child(6n+37),
.fzgjgk-item:nth-child(6n+38),
.fzgjgk-item:nth-child(6n+39) {
    background-color: #F8FCFD;
}

/* 确保偶数行（第2,4,6,8...行）没有背景色 */
.fzgjgk-item:nth-child(6n+4),
.fzgjgk-item:nth-child(6n+5),
.fzgjgk-item:nth-child(6n+6),
.fzgjgk-item:nth-child(6n+10),
.fzgjgk-item:nth-child(6n+11),
.fzgjgk-item:nth-child(6n+12),
.fzgjgk-item:nth-child(6n+16),
.fzgjgk-item:nth-child(6n+17),
.fzgjgk-item:nth-child(6n+18),
.fzgjgk-item:nth-child(6n+22),
.fzgjgk-item:nth-child(6n+23),
.fzgjgk-item:nth-child(6n+24),
.fzgjgk-item:nth-child(6n+28),
.fzgjgk-item:nth-child(6n+29),
.fzgjgk-item:nth-child(6n+30),
.fzgjgk-item:nth-child(6n+34),
.fzgjgk-item:nth-child(6n+35),
.fzgjgk-item:nth-child(6n+36),
.fzgjgk-item:nth-child(6n+40),
.fzgjgk-item:nth-child(6n+41),
.fzgjgk-item:nth-child(6n+42) {
    background-color: #fff;
}

.fzgjgk-item:hover {
    background-color: #0063F9;
    color: #fff;
    border-color: #0063F9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 99, 249, 0.3);
}

.fzgjgk-more {
    text-align: center;
    margin-top: 15px;
}

.fzgjgk-more button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 30px;
    background: #EDF4F9;
    color: #0063F9;
    border: none;
    border-radius: 6px;
    opacity: 1;
    width: 200px;
    height: 42px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Source Han Sans;
}

.fzgjgk-more button:hover {
    background-color: #0056cc;
    color: #fff;
    transform: translateY(-2px);
}

.fzgjgk-more button:last-child {
    background-color: #6c757d;
    color: #fff;
}

.fzgjgk-more button:last-child:hover {
    background-color: #5a6268;
}

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

.sps-tabs {
    display: flex;
    gap: 15px;
}

.sps-tab {
    padding: 8px 20px;
    border-radius: 4px;
    background-color: #EDF4F9;
    color: #000000;
    font-family: "思源黑体", "Source Han Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sps-tab.active {
    background: linear-gradient(229deg, #0056FF 12%, #0088FF 85%), #0063F9;
    color: #fff;
}

.sps-more {
    font-family: "思源黑体", "Source Han Sans", sans-serif;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sps-more::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url(../images/new-more.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.content-active0 {
    display: block;
}
.content-active1 {
    display: none;
}

.zfspaqjghz-item-content button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 30px;
    background-color: #0063F9;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    order: none;
    border-radius: 6px;
    opacity: 1;
    background: #EDF4F9;
    width: 200px;
    height: 42px;
    color: #0063F9;
    margin-top: 20px;
    margin-bottom: 30px;
}

.fzgjgk-more button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 30px;
    background-color: #0063F9;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    order: none;
    border-radius: 6px;
    opacity: 1;
    background: #EDF4F9;
    width: 200px;
    height: 42px;
    color: #0063F9;
    margin-top: 20px;
    margin-bottom: 30px;
}