/* 公共类 */
.toggle,[id^=drop] {
    display: none;
}

.topCon {
    padding: 0;
    background: #1e272e;
}

.topCon p {
    color: #fff;
    font-size: 1em;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.5em;
    margin: 0;
}

.logo {
    padding: 15px 0;
    float: left;
    font-size: 0.8em;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: capitalize;
}

.pdb30 {
    padding-bottom: 30px;
}

.pd25{
    padding: 25px;
}


/* 导航 */

/* 汉堡菜单按钮 */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    margin-top: 10px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 抽屉遮罩层 */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* 抽屉主体 */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    transform: translateX(300px);
}

/* 抽屉头部 */
.drawer-header {
    padding: 20px;
    /*background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);*/
    border-bottom: 1px solid #ccc;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.drawer-logo img {
    max-height: 50px;
    width: auto;
}

.drawer-close {
    color: #ccc;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.drawer-close:hover {
    transform: rotate(90deg);
    opacity: 0.8;
}

/* 抽屉内容 */
.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

/* 抽屉菜单 */
.drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-menu li {
    margin: 0;
}

.drawer-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    background-color: #fff;
}

.drawer-menu > li > a:hover,
.drawer-menu > li > a.active {
    background: #f8f9fa;
    color: #006abf;
    padding-left: 30px;
}

/* 确保子菜单按钮在点击时不跳转 */
.drawer-menu .has-submenu > a {
    cursor: pointer;
}

.drawer-menu .has-submenu > a:focus {
    outline: none;
}

.submenu-arrow {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.submenu-arrow.rotated {
    transform: rotate(180deg);
}

/* 子菜单 */
.drawer-menu .submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* 子菜单展开状态 */
.drawer-menu .submenu.open {
    overflow: visible;
    max-height: none !important;
}

/* 确保子菜单项在展开时可见 */
.drawer-menu .submenu.open li {
    display: block;
    opacity: 1;
}

.drawer-menu .submenu li {
    margin: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* 子菜单展开时的项目显示 */
.drawer-menu .submenu.open li {
    opacity: 1;
}

/* 备用方案：如果max-height方式有问题，使用display切换 */
.drawer-menu .submenu:not(.open) {
    display: none;
}

.drawer-menu .submenu.open {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 300px;
        opacity: 1;
    }
}

.drawer-menu .submenu a {
    display: block;
    padding: 12px 45px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.drawer-menu .submenu a:hover {
    background: #e9ecef;
    color: #006abf;
    padding-left: 50px;
}

/* 抽屉联系信息 */
.drawer-contact {
    margin-top: 30px;
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}


.tac {
    text-align: center !important;
}

.h60 {
    height: 60px;
    overflow: hidden;
}

.footer-content {
    background: linear-gradient(360deg, #415178 0%, #2f3a55 70%);
}

.footer-content .contact_grid_left ul li span {
    font-size: 26px;
    color: #fff;
}

.footer-content .contact_grid_left li span {
    background: #006abf;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 56px;
    border-radius: 50%;
}

.footer-content .contact_grid_left ul li p,
.footer-content .contact_grid_left ul li a {
    color: #5a646b;
    letter-spacing: 1px;
}


.footer-content .contact_grid_left h6 {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-content .contact_grid_right {
    background: #f7f7f7;
    padding: 5em;
}

.footer-content .contact_grid_left {
    border-bottom: 1px solid #313c44;
    margin: 0 0 3em 0;
    padding-bottom: 3em;
}

.footer-content .contact-page button.btn.btn-default {
    width: 20%;
}



.btn {
    font-weight: 500;
    transition: .5s;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007aff 0%, #00a27a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #00a27a 0%, #007aff 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}



/* 网页头部广告栏 */
/* 页面头部样式 */
.page-header {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    -ms-background-size: cover !important;
    padding: 80px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: #fff;
    text-align: center;
}

/* 面包屑导航优化 */
.modern-breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item {
    text-transform: uppercase;
    font-size: 16px !important;
    letter-spacing: 1px;
    padding: 10px 0;
    color: #4c5358;
    border-bottom: 2px solid transparent;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    font-weight: bold;
    padding: 0 8px;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* 分页样式 */
.pagination-wrapper {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.custom-pagination {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-pagination li {
    margin: 0;
}

.custom-pagination a,
.custom-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #5a6c7d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    font-size: 14px;
}

.custom-pagination a:hover {
    background: #006abf;
    color: white;
    border-color: #006abf;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 106, 191, 0.3);
}

.custom-pagination .active span {
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 106, 191, 0.3);
}

.custom-pagination .disabled span {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}



.content-wrapper {
    background: white;
    /*border-radius: 15px;*/
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.08);*/
    /*padding: 40px;*/
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;

}

/* 内容样式优化 */
.content-wrapper h1, .content-wrapper h2, .content-wrapper h3, .content-wrapper h4, .content-wrapper h5, .content-wrapper h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.content-wrapper h1 {
    font-size: 2.5rem;
    padding-bottom: 15px;
    margin-top: 0;
}

.content-wrapper h2 {
    font-size: 2rem;
    color: #006abf;
}

.content-wrapper h3 {
    font-size: 1.5rem;
}

.content-wrapper p {
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: justify;
}

.content-wrapper ul,
.content-wrapper ol {
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-wrapper li {
    margin-bottom: 8px;
}

/* 图片响应式优化 */
.content-wrapper img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);*/
    margin: 25px 0;
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
    cursor: pointer;
}

.content-wrapper img:hover {
    transform: translateY(-2px);
    /*box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);*/
}

/* 引用块样式 */
.content-wrapper blockquote {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    margin: 25px 0;
    padding: 20px 25px;
    border-radius: 5px;
    position: relative;
    font-style: italic;
    color: #5a6c7d;
}

.content-wrapper blockquote::before {
    content: '"';
    font-size: 60px;
    color: #667eea;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
    opacity: 0.3;
}

/* 表格样式 */
.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.content-wrapper th, .content-wrapper td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.content-wrapper th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.content-wrapper tr:hover {
    background: #f8f9fa;
}

/* 加载动画 */
.content-wrapper {
    animation: fadeInUp 0.8s ease-out;
}

/* 图片懒加载支持 */
.content-wrapper img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

.content-wrapper img.loaded {
    opacity: 1;
}

.bg-grey {
    background-color: #efefef !important;
}

/* 打印样式 */
@media print {
    .page-header, .modern-breadcrumb {
        display: none;
    }

    .content-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .content-wrapper img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 25px 20px;
        margin: 15px;
        border-radius: 10px;
    }

    .content-wrapper h1 {
        font-size: 1.8rem;
    }

    .content-wrapper h2 {
        font-size: 1.5rem;
    }

    .content-wrapper h3 {
        font-size: 1.3rem;
    }

    .content-wrapper p {
        font-size: 15px;
        text-align: left;
    }

    .about-content {
        padding: 30px 0;
    }

    .content-wrapper img {
        margin: 20px 0;
    }

    /* 移动端图片优化 */
    .content-wrapper img {
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .content-wrapper table {
        font-size: 14px;
    }

    .content-wrapper th, .content-wrapper td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 0;
        margin: 0;
    }

    .content-wrapper h1 {
        font-size: 1.5rem;
    }

    .content-wrapper h2 {
        font-size: 1.3rem;
    }

    .content-wrapper p {
        font-size: 14px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    /* 小屏幕图片优化 */
    .content-wrapper img {
        border-radius: 6px;
        margin: 15px 0;
    }
}


@media all and (max-width: 768px) {
    #logo {
        display: block;
        padding: 0;
        width: 100%;
        text-align: center;
        float: none;
    }

    .toggle + a, .menu {
        display: none;
    }

    .toggle {
        display: block;
        padding: 7px 20px;
        font-size: 17px;
        text-decoration: none;
        border: none;
        float: right;
        background-color: #f4f5f7;
        color: #2d2c2c;
        text-transform: uppercase;
        cursor: pointer;
        font-weight: 700;
        margin-top: 0.5em;
    }

    .menu .toggle {
        float: none;
        text-align: center;
        margin: auto;
        width: 80%;
        padding: 5px;
        font-weight: normal;
        font-size: 16px;
        letter-spacing: 1px;
    }

    .toggle:hover {
        color: #333;
        background-color: #fff;
    }


    .page-header {
        padding: 60px 0 40px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
        text-align: center;
    }



    .pagination-wrapper {
        padding: 20px;
        margin: 15px;
    }

    .custom-pagination a, .custom-pagination span {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }



    .icon-right p {
        text-align: center;
    }

    .icon-right {
        text-align: center;
        margin-top: 1.2em;
    }

    .min-tac{
        text-align: center !important;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top i {
        font-size: 18px;
    }
}
@media (max-width: 576px) {
    .page-header {
        padding: 60px 0 40px;
    }
}
@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }

    .custom-pagination {
        gap: 4px;
    }

    .custom-pagination a,
    .custom-pagination span {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
@media all and (max-width: 330px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .back-to-top i {
        font-size: 16px;
    }
}
