/*
 * @Author: pangxuke
 * @Crtime: 2026-07-09 10:00:00
 * @ModifyUser: pangxuke
 * @ModifyTime: 2026-07-14 14:28:00
*/

/* 顶部导航栏 */
/* .header {
    background-color: white;
    padding: 10px auto;
    /* border-bottom: 1px solid #e0e0e0; */
/* }  */
a {
    color: inherit; /* 继承父级颜色 */
    text-decoration: none; /* 去掉下划线（可选） */
}
.nav-container {
    max-width: 1780px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
    margin:0 aoto;

}

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

.logo  { 
    height: 100px;
    display: flex;
    align-items: center;
}

.logo img { 
    height: 100%;
}

.slogan {
    display: flex;
    flex-direction: column; 
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    letter-spacing: normal;
    color: #00275E;
    text-align: left;
    line-height: normal;
}

.slogan-en { 
  font-style:normal;
  letter-spacing:normal;
  color:#666666;
  vertical-align:none;
  text-align:center;
  line-height:normal;
  text-transform:none;
}

.slogan-zh {
    margin: 5px 0 0 0; 
}

.nav-menu {
    display: flex;
    margin: 20px 0 5px;
}

.main-nav-ul {
    width: 100%;
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0 20px 0 0;
    padding: 0;
    gap: 37px;
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: #666666;
    text-decoration: none;
    font-size: 26px;
    transition: color 0.3s ease; 
    font-weight: 500;
    font-style: normal;
    text-align: center;
}

.nav-item:hover a {
    color: #00275E;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    background: transparent;
    border: none;
    cursor: pointer;  display: flex;
    justify-content: center;
    align-items: center;
}

.language-selector a {
    color: rgba(153, 153, 153, 0.666666666666667);
    text-decoration: none; 
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    justify-content: center;
}

/* 下拉菜单 */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    background-color: rgba(0, 39, 94, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 25px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.dropdown-content {
    padding: 5px 0;
}

.nav-item .dropdown-content a {
    display: block;
    padding: 12px 12px;
    text-decoration: none;
    transition: all 0.3s ease; 
    font-weight: 350;
    font-style: normal;
    font-size: 18px;
    color: #FFFFFF;
    text-align: center;
}

.nav-item .dropdown-content a:hover {
    font-weight: 450;
    color: #76dc5b;
}

/* 面包屑导航 */
.breadcrumb {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0066cc;
}

.breadcrumb span {
    margin: 0 5px;
}

/* 联合会概览头部样式 */
.federation-header {
    position: relative;
    min-width: 1400px;
    height: 900px;
    overflow: hidden;
}

.federation-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.federation-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 66, 137, 0.5); */
    z-index: 1;
}

.federation-header-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.federation-header-content h1 {
    font-size: 28px;
    font-weight: 400;
    /* margin-bottom: 10px; */
    letter-spacing: 2px; 
}

.federation-header-content h2 { 
    font-weight: 900;
    font-style: normal;
    font-size: 90px;
    letter-spacing: 10px;
    color: #FFFFFF;
    text-align: center;
    border-width: 0px;
    white-space: nowrap;
    text-shadow: 1px 1px 20px rgba(0, 39, 94, 1);
}
.federation-nav {
    /* width: 1400px; */
    height: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    /* background-color: #00275E; */
}

.federation-nav-item {
    max-width: 500px;
    display: flex;
    align-items: center;
    padding: 12px 47px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.federation-nav-item img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.federation-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.federation-nav-item.active {
    background-color:  #64B4FF;
    opacity: 0.85;
}

/* .federation-nav-item.active::after {
    background-color: # #64B4FF;
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 5px;
    background:linear-gradient(90.8065925738799deg, rgba(0, 74, 185, 1) 0%, rgba(47, 185, 108, 1) 123%, rgba(69, 223, 66, 1) 180%)
} */

.federation-nav-item.active img {
    filter: brightness(1);
}

/* 导航动画效果 */
@keyframes dropDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.federation-nav {
    opacity: 1;
}

.federation-nav-item {
    opacity: 1;
    transform: translateY(0);
}

/* 联合会头部响应式设计 */
@media (max-width: 1440px) {
    /* .federation-header-content {
        width: 90%;
    } */
}

@media (max-width: 768px) {
    .federation-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .federation-nav-item {
        padding: 10px 20px;
    }
}

/* 新闻页面头部标签样式 */
.header-tabs {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-tabs-item {
    width: 160px;
    height: 60px;
    margin: 0 22.5px;
    color: #666666;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    align-content: center;
    justify-items: center;
}

.header-tabs-item.active {
    color: white;
    background:linear-gradient(93.0221162223966deg, rgba(0, 74, 185, 1) 1%, rgba(47, 185, 108, 1) 122%, rgba(69, 223, 66, 1) 178%);
}

.header-tabs-item:hover {
    color: white;
}

/* Footer 菜单样式 */
.footer-top {
    padding: 20px 0;
}

/* 联系我们弹窗样式 */
.footer-links-container {
    position: relative;
}

#footer-links {
    position: relative;
}

.contact-us {
    cursor: pointer;
}

.copyright-us {
    cursor: pointer;
}

.contact-popup {
   display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 500px;
    margin-bottom: 10px;
    text-align: left;
}

.contact-popup h4 {
    margin: 0 0 10px 0;
    /* color: #00275E; */
    font-size: 22x;
}

.contact-popup hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 10px 0;
}

.contact-popup p {
    font-size: 20px;
    color: #666;
}

.contact-us:hover + .contact-popup,
.contact-popup:hover {
    display: block;
}

.copyright-wrap {
    display: inline-block;
}

.copyright-wrap:hover .copyright-popup {
    display: block;
}

.copyright-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    width: 500px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copyright-popup h4 {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.copyright-popup hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 15px 0;
}

.copyright-popup p {
    font-size: 20px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
    text-indent: 2em;
}

.friendlink-us {
    cursor: pointer;
}

.friendlink-wrap {
    display: inline-block;
}

.friendlink-wrap:hover .friendlink-popup {
    display: block;
}

.friendlink-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    width: 620px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.friendlink-wrap::after {
    content: "";
    display: none;
    position: absolute;
    right: 0;
    bottom: 100%;
    width: 480px;
    height: 10px;
}

.friendlink-wrap:hover::after {
    display: block;
}

.friendlink-popup h4 {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.friendlink-popup hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 15px 0 30px;
}

.friendlink-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 50px;
}

.friendlink-list a {
    color: #333;
    font-size: 20px;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
}

.friendlink-list a:hover {
    color: #0059DE;
}


.footer-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 15px;
    position: relative;
}

.footer-menu-item {
    width: 30%;
}

.footer-select {
    width: 100%;
    padding: 12px 22px 12px 40px;
    border: 1px solid #E4E4E4;
    background-color: white;
    appearance: none;
    cursor: pointer;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
 
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: #666666;
    text-align: left;
}

.footer-select.active {
    border-top: none;
    z-index: 101;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 15 12 9 18 15'%3E%3C/polyline%3E%3C/svg%3E");
    background-color: #fff;
}

.footer-select.active::before {
    background-color: #00275E;
}

/* 选中状态 - 箭头向上 */
.footer-select option:checked {
    background-color: #f6f6f6;
}