

/* 全局样式 */
:root {
    --primary-color: #003366;
    --secondary-color: #2c8fb5;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --nav-bg: var(--primary-color);  /* 添加墨蓝色背景 */
    --green-color: #1f82c3;
    --yellow-color: #F7931E;
}

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

html {
    font-size: 10px; /* 1rem = 16px */
}

a{
    text-decoration: none;
}

@font-face {
  font-family: 'MyCustomFont';  /* 自定义字体名称 */
  src: url('../fonts/MYRIADPRO-BOLD.OTF') format('opentype');  /* 路径需正确 */
  font-weight: normal;          /* 可选：定义字重 */
  font-style: normal;           /* 可选：定义样式（如斜体） */
}


body {
    /*font-family:'MyCustomFont';*/
    font-family:'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 1.8rem;
}



main{
    z-index: 0;
}


.container {
    max-width: 180rem;
    margin: 0 auto;
    padding: 0 5rem;
}



/* 导航栏样式 */
.navbar {
    background: var(--nav-bg);
    padding: 1.5rem 0.8rem;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    width: 7rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* 导航栏圆点样式 */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid  var(--nav-bg);
    box-shadow: 0 0 0 1px white;
}

.navbar:hover {
    width: 250px;
}

.navbar:hover {
    width: 300px;
}
/* .fr:hover {
    width: 320px;
} */

.logo {
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo svg {
    width: 35px;
    height: 35px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 100px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 1.8rem;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    height: 55px; /* 固定高度 */
    box-sizing: border-box;
}

.nav-links a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a i {
    font-size: 1.2rem;
    min-width: 35px;
    text-align: center;
    transition: transform 0.3s ease;
    opacity: 1;
    transform: translateX(0);
}

.nav-links a span {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: none;
    white-space: nowrap;
    position: absolute;
    left: 50px; /* 与图标的宽度对应 */
}

.navbar:hover .nav-links a span {
    opacity: 1;
    transform: translateX(0);
    display: inline-block;
}

/* 子菜单样式 */
.navbar .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s ease-in-out;
    z-index: 1;
}

.navbar .dropdown:hover .submenu {
    max-height: 200px; /* Adjust as needed */
}

/* 子菜单项样式 */
.nav-links .submenu  a {
    text-decoration: none;
    color: #0e6ba8;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 1.2rem 4.8rem;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    height: 35px; /* 固定高度 */
    box-sizing: border-box;
}

.nav-links .submenu  a:hover{
    color: #002c4e;
    background-color: #1178ba;
}







/* 主内容区域样式 */
main {
    min-height: 73vh;
    margin-left: 70px;
    width: calc(100% - 70px);
    transition: margin-left 0.3s ease, width 0.3s ease;
}


.navbar:hover ~ main {
    margin-left: 250px;
    width: calc(100% - 250px);
}


/*other page nav-top*/
.logo-container {
    margin-left: auto; /* 将logo推到右边 */

}
.logo-container img {
    height: 6rem;
    width: auto;
}

.breadcrumb {

    gap: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 使内容分散对齐 */
    border-bottom: 1px solid #e5e5e5;
}

.index-page-title {
    font-weight: bold;
    font-size: 4rem;
    color: #333;

}

.breadcrumb a,.breadcrumb a:hover{
    text-decoration: none;
    color:#333;
}

.separator{
    color: var(--green-color);

}

.current-page {
    color: var(--green-color);
    font-weight: bold;
    font-size: 3rem;
}
.current-page a, .current-page a:link,.current-page a:hover{
    text-decoration: none;
    color: var(--green-color);
}



/*container*/
.other-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px 50px;
    margin-bottom: 5rem;
}

.other-content{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.other-content h1 {
    font-size: 4rem;
    color: #333;
    margin-bottom: 30px;
}

.other-content img{
    width: 100%;
    height: auto;
    max-width: 100%; 
    margin-bottom: 2rem;   
}


.article-text {
    color: #666;
    line-height: 1.6;
    font-size: 1.6rem;
}

.article-text p {
    margin-bottom: 2rem;
}





/*list stsrt*/

.list-content{
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-item {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #eee;
    padding: 20px;
}

.article-item:hover{
    box-shadow: 2px 0px 20px rgba(0, 0, 0, 0.2);
}

 /* 鼠标悬停时放大图片 */
/* .article-item:hover .article-image img {
    transform: scale(1.1);
} */


/* .article-image {
    flex: 0 0 650px;
} */


/*.img-responsive{*/
/*    width: 100%;*/
/*    max-width: 55rem !important; */
/*    height: auto;*/
/*    object-fit: cover;*/
    /*transition: transform 0.3s ease; */
/*}*/
.img-responsive {
    width: 100%;
    max-width: 55rem !important;
    aspect-ratio: 16/9; /* 设置宽高比 */
    object-fit: cover;
    transition: transform 0.3s ease; /* 修正拼写错误 */
}
.article-image img,.article-text img{
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}


.article-info {
    flex: 6;
    display: flex;
    flex-direction: column;
    position: relative; /* 添加相对定位 */

}

.date {
    flex: 1;
    display: flex;
    color: #999;
    font-size: 14px;
}

.article-info h2 {
    font-size: 2.4rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: left;
}

.article-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 0.5;
}





@media (max-width: 1000px) {

    .list-content{

        margin: 0 auto;
        padding: 0 5px;
    }
    
    .article-list {
        gap: 10px;
    }
    
    .article-item {
        display: flex;
        gap: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 5px;
        border-bottom: 1px solid #eee;
        padding: 10px;
    }
    
    .article-item {
        flex-direction: column;
    }

}
/*list end*/


/*report content start*/
.reoport-content{
    width: 100%;
    max-width: 1220px;
    padding: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    justify-content: space-between; /* 在行之间均匀分配空间 */

}
.report-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:75px 45px;
}

@media (max-width: 1200px)  {
    .reoport-content{
        width: 100%;
        padding: auto
    }
    .report-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 自动填充 */
        gap: 20px; /* 可选：设置间距 */
    }
}

@media (max-width: 768px)  {
    .reoport-content{
        width: 100%;
        padding: 0 10px;
    }
    .report-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* 自动填充 */
        gap: 10px; /* 可选：设置间距 */
    }
}

.report-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.report-item img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    transition: transform 0.3s ease;
}

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

/*report content end*/


/* 页脚样式 */
footer {
    background-color:var(--primary-color);
    color: #fff;
    padding: 40px 0;
    margin-left: 60px;
    width: calc(100% - 60px);
    transition: margin-left 0.3s ease, width 0.3s ease;
    z-index: 10000;
}

.navbar:hover ~ footer {
    margin-left: 250px;
    width: calc(100% - 250px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-contact-info {
    flex: 1;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item span {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.footer-qr-codes {
    display: flex;
    gap: 20px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.qr-code p {
    color: #fff;
    font-size: 12px;
    margin: 0;
}

@media (max-width: 768px) {

    /*头部样式*/
    .index-page-title {

        font-size: 20px;

    }
    
    .separator {
        color: var(--green-color)
    }
    
    .current-page {

        font-size: 15px;
    }

    .logo-container img{
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* 页脚样式 */
    footer {
        margin-left: 0;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 30px;
    }

    .footer-qr-codes {
        margin-top: 30px;
    }
}





/* 移动端样式调整 */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        width: 100%;
        height: 70px;
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        overflow: visible;
        background-color: var(--nav-bg);
    }

    .logo {
        margin-bottom: 0;
        width: auto;
        padding: 0;
    }

    .logo svg {
        width: 30px;
        height: 30px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--nav-bg);
        padding: 0;
        margin: 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
        flex-direction: column;
        z-index: 999;
        transition: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 1.5rem;
        height: auto;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        color: white;
        background: none;
        transition: background-color 0.3s ease;
    }

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

    .nav-links a i {
        min-width: 24px;
        margin-right: 1rem;
        opacity: 1;
        transform: none;
    }

    .nav-links a span {
        position: static;
        opacity: 1;
        transform: none;
        display: inline-block;
        white-space: normal;
        color: white;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        z-index: 1001;
        background: none;
        border: none;
    }

    .menu-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

    main {
        margin-left: 0;
        width: 100%;
        padding-top: 0;
    }

    .navbar:hover {
        width: 100%;
    }

    .navbar:hover ~ main {
        margin-left: 0;
        width: 100%;
    }

    .navbar:hover .nav-links a span {
        opacity: 1;
        transform: none;
    }
}




@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 120dpi) {
    .app-main {
      transform: scale(0.665, 0.665);
      transform-origin: left top;
    }
  }
  @media (-webkit-min-device-pixel-ratio: 1.25) {
    .app-main {
      transform: scale(0.799, 0.799);
      transform-origin: left top;
    }
  }
  

  .read-more {
    /* align-self: flex-end; */
    display: inline-block;
    padding: 1px 20px;
    text-align: center;
    color: var(--green-color);
    text-decoration: none;
    border-radius: 40px;
    font-size: 18px;
    transition: background-color 0.3s;
    margin-top: 0; /* 推到底部 */
    flex-grow: 1; 
    border: 1px solid var(--green-color);
    white-space: nowrap;
    /* margin-top: 20px; */
}

/* Responsive Styles */
@media (max-width: 1024px) {



     .read-more {
        font-size: 12px;
        padding: 1px 10px;
    }
}


/*----------- pageNav -----------*/
.pageNav{text-align:center;padding:35px 0px;display:block; clear:both;}
.pageNav a{text-align:center;line-height:38px;display:inline-block;color:#fff;background:#C80000;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}
.pageNav a i{width:38px;height:38px;line-height:38px; vertical-align: 0px;}
.pageNav a:hover{background:#666;color:#fff;text-decoration:none;}
.pageNav .number{background:#C80000;color:#fff;margin:0 3px;display:inline-block;line-height:38px;padding:0 15px;text-shadow:none;filter:alpha(opacity=60);opacity:0.6; vertical-align: 0px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}
.pageNav .active{background:#666;color:#fff;text-decoration:none;}
.post.case .pageNav{padding-top:0;}

/*pagination*/

.pagination .jumpto{display: inline-block;margin-left:2px;}
.pagination .jumpto input{padding: 9.5px;line-height: 1.42857143;color: #2c3e50;background-color: #fff;border: 1px solid #ddd;float:left;}
.pagination .page_number{width: 45px;margin-right: -1px}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    border-color: #0146ad;
    background-color: #0146ad;
}
.pagination>li>a, .pagination>li>span {
    color: #0146ad;
}


.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 17px 0;
    border-radius: 3px;
}

.pagination > li {
    display: inline;
}

.pagination > li > a,.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #2c3e50;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}

.pagination > li:first-child > a,.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.pagination > li:last-child > a,.pagination > li:last-child > span {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

.pagination > li > a:hover,.pagination > li > span:hover,.pagination > li > a:focus,.pagination > li > span:focus {
    z-index: 2;
    color: #11181f;
    background-color: #eeeeee;
    border-color: #ddd;
}

.pagination > .active > a,.pagination > .active > span,.pagination > .active > a:hover,.pagination > .active > span:hover,.pagination > .active > a:focus,.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #2c3e50;
    border-color: #2c3e50;
    cursor: default;
}

.pagination > .disabled > span,.pagination > .disabled > span:hover,.pagination > .disabled > span:focus,.pagination > .disabled > a,.pagination > .disabled > a:hover,.pagination > .disabled > a:focus {
    color: #777777;
    background-color: #fff;
    border-color: #ddd;
    cursor: not-allowed;
}

.pagination-lg > li > a,.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 15px;
    line-height: 1.3333333;
}

.pagination-lg > li:first-child > a,.pagination-lg > li:first-child > span {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.pagination-lg > li:last-child > a,.pagination-lg > li:last-child > span {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.pagination-sm > li > a,.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 11px;
    line-height: 1.5;
}

.pagination-sm > li:first-child > a,.pagination-sm > li:first-child > span {
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
}

.pagination-sm > li:last-child > a,.pagination-sm > li:last-child > span {
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
}
.text-center {
    text-align: center;
}



/* news detail*/

.flexrow {
    display: flex;
    justify-content:right; 
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
  }
.newsde_ltime {
    width: 100%;
    padding-bottom: 1px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 2rem;
 }
 .newsdel_left {
    justify-content: flex-end;
 }
.newsdel_left p {
    font-size: 14px;
    font-weight: bold;
    color: #333333;

 }
 .newsdel_left p a {
    color: #0146ad;
 }
 .newsdel_left p span {
    margin: 0px 5px;
 }
 .newsdel_left p i {
    font-style: normal;
    color: #777777;
 }


 .newsde_lbot {
    margin-top: 30px;
 }

 .newdelb_l {
    width: 40%;
    height: 20px ;
    overflow: hidden;
 }
 .newdelb_l p, .newdelb_l p a {
    font-size: 14px;
    color: #666666;
 }
 .newdelb_m a {
    display: block;
    border: 1px solid #e8e8e8;
    padding: 10px 20px;
 }
 .newdelb_m a:hover {
    background-color: #0146ad;
    color: #ffffff;
    border-color: #0146ad;
 }
 .newdelb_l p:hover a {
    color: #0146ad;
 }
 .newdelb_r {
    text-align: right;
 }
 .newsde_r ul li:hover .newsde_rimg img {
    transform: scale(1.05);
 }
 .newsde_r ul li:hover .newsde_rdesc h3 {
    font-weight: bold;
    color: #0146ad;
 }
 .download{
    width: 100%;
    height: 9rem;
    border-bottom: 1px solid #e5e5e5; 
 }
 .download p{
    padding-left: 8rem;
    width: 100%;
 }


/* about us */
 .team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 7rem;
}

.team-member-card {
   
    overflow: hidden;
    border-radius: 8px;
}
.team-member-card img {
    width: 100%;
    max-width: 45rem;
    height: auto;
    display: block;
    margin-bottom:5px !important;
    border-radius: 1rem;
}

.team-member-info{
    width: 100%;
}


/* search style*/
.search-container{
    margin-top: 0px;
    margin-bottom: 30px;
}
.search-container .search-input{
    width: 100%;
    max-width: 1800px;
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 0 10px
}

/* Responsive Styles */
@media (max-width: 1024px) {

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

}

@media (max-width: 768px) {

    


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

}

@media (max-width: 480px) {
    .team-members-grid {
        grid-template-columns: 1fr;
    }
   
}

.copyright {
    text-align: center; /* Center the text */
    font-size: 14px; /* Set font size */
    color: #999; /* Set text color */
    margin-top: 20px; /* Add some space above */
    padding: 10px 0; /* Add padding for better spacing */
}


@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}