/*!
Theme Name: en18031
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: https://www.dkcnas.cn
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dkcnas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* 基础重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #f9f9f9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #004d99;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 20px;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

p {
    margin: 0 0 15px;
}

ul,
ol {
    margin: 0 0 15px 20px;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}


/* 分页导航样式 */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.page-numbers-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: white;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.page-numbers:hover:not(.current):not(.disabled) {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.page-numbers.current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-numbers.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

.page-numbers i {
    font-size: 14px;
}


/* 基础布局 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* 基础响应式设计 */
@media (max-width: 1200px) {}

@media (max-width: 992px) {

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }
}

/* 全局样式 */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --accent-color: #ff9900;
    --text-color: #333333;
    --light-gray: #f9f9f9;
    --medium-gray: #eeeeee;
    --dark-gray: #666666;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}


/* 添加表单样式优化 */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: var(--secondary-color);
}

table {
    border-collapse: collapse;
    border: 1px solid #ccc;
    margin: 20px 0;
    background-color: #f8f8f8;
    text-align: center;
    line-height: 40px;
    width: 100%;
}

th {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

tr:nth-child(odd) {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #fff;
}

tr:hover {
    background-color: #ccc;
}

td {
    padding: 10px;
    text-align: center;
    line-height: 30px;
}

td.highlight {
    background-color: #ffc;
    font-weight: bold;
    color: #f00;
}


/* 添加404页面样式 */
.error-404 {
    text-align: center;
    padding: 60px 0;
}

.error-404 .page-header {
    background-color: transparent;
    color: var(--text-color);
    padding: 0;
}

.error-404 .page-title {
    font-size: 120px;
    margin: 0;
    color: var(--primary-color);
    line-height: 1;
}

.error-404 .page-subtitle {
    font-size: 24px;
    margin: 20px 0;
}

.error-404 .error-description {
    max-width: 600px;
    margin: 0 auto 30px;
}

.error-404 .back-home {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.error-404 .back-home:hover {
    background-color: var(--secondary-color);
}



/* 快速链接 */
.quick-links-section {
    padding: 50px 0 10px;
    background-color: #1a1a1a;
    color: #ccc;
}

.quick-links-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.quick-link-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
}

.quick-link-column h3 i {
    margin-right: 10px;
    color: var(--accent-color);
}

.quick-link-column ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }
.quick-link-column .lists{
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px
            }

            .quick-link-column ul li {
                margin-bottom: 10px;
                position: relative;
                padding-left: 15px;
            }
            .quick-link-column .lists li{
                flex: 1 0 48%;
            }

.quick-link-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.quick-link-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.quick-link-column ul li a i {
    margin-right: 8px;
    font-size: 12px;
}
 .quick-link-column ul li:before {
                content: '›';
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                color: #666;
                transition: color 0.3s;
            }

            .quick-link-column ul li:hover:before {
                color: #ff8800;
            }

            .quick-link-column ul li a {
                color: #aaa;
                text-decoration: none;
                font-size: 14px;
                transition: color 0.3s;
                display: block;
            }

            .quick-link-column ul li a:hover {
                color: #ff8800;
            }

 /* 联系我们列表样式 */
            .quick-link-column ul li i {
                color: #ff8800;
                margin-right: 8px;
                width: 16px;
            }
.contact-column p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-column p i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
}

.contact-column a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.contact-column a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

/* 响应式样式 */
@media (max-width: 1200px) {}

@media (max-width: 992px) {

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }







    .quick-links-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {



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


    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .quick-links-container {
        grid-template-columns: 1fr;
    }

    .quick-link-column ul li {
        width: 100%
    }

}

/* 自定义头部样式 */

/* 页脚样式 */
.site-footer {
    background-color: #111;
    color: #999;
    padding: 20px 0;
    text-align: center;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer p {
    margin: 0;
}

.site-info {
    font-size: 14px;
}

.site-info a {
    color: #ccc;
    text-decoration: none;
}

.site-info a:hover {
    color: var(--accent-color);
}

.footer-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation li {
    margin-left: 20px;
}

.footer-navigation a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-navigation a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
    }

    .site-info {
        margin-bottom: 15px;
    }

    .footer-navigation ul {
        justify-content: center;
    }

    .footer-navigation li {
        margin: 0 10px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}



/*header.php start*/
.header-quick-contact {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px;
    ;
    border-radius: 10px;
    text-decoration: none;
    margin-left: 10px;
    display: none;
}

@media(min-width:992px) {
    .header-quick-contact {
        display: block;
    }
}

.header-quick-contact:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* 微信悬浮显示样式 */
.wechat-hover-trigger {
    position: relative;
}

.wechat-hover-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    width: 180px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.wechat-hover-content:before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.wechat-hover-trigger:hover .wechat-hover-content {
    display: block;
}

.wechat-hover-content .wechat-qrcode {
    margin-bottom: 10px;
}

.wechat-hover-content .wechat-qrcode img {
    max-width: 150px;
    height: auto;
    border: 1px solid #eee;
}

.wechat-hover-content p {
    margin: 0;
    color: #333;
    font-size: 12px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .wechat-hover-content {
        left: auto;
        right: 0;
        transform: none;
    }

    .wechat-hover-content:before {
        left: auto;
        right: 20px;
    }
}

/* 头部样式 - 添加header前缀防止冲突 */
.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部信息栏 */
.header-top-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    padding: 8px 0;
    font-size: 14px;
}

.header-top-bar .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left .header-home-link {
    color: #666;
    text-decoration: none;
}

.header-top-left .header-home-link i {
    color: #0066cc;
    margin-right: 5px;
}

.header-links {
    display: flex;
}

.header-links a {
    color: #666;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.header-links a i {
    margin-right: 5px;
    color: #0066cc;
}

.header-links a:hover {
    color: #0066cc;
}

.header-language-switch {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #ddd;
}

/* 主头部区域 */
.site-header {
    background-color: #fff;
}

.header-main {
    padding: 15px 0;
}

.header-main .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-section {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

.header-logo-text {
    margin-right: 15px;
}

.header-site-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.header-site-title a {
    color: #0066cc;
    text-decoration: none;
}

.header-business-info {
    border-left: 1px solid #e5e5e5;
    padding-left: 15px;
    margin-left: 15px;
}

.header-business-info em {
    font-style: normal;
}

.header-business-title {
    font-size: 22px;
    color: #0066cc;
    margin: 0;
    font-weight: bold;
}

.header-business-desc {
    font-size: 14px;
    color: #777;
    margin: 5px 0 0;
}

.header-contact-section {
    display: flex;
    align-items: center;
}

.header-phone-container {
    display: flex;
    align-items: center;
}

.header-phone-icon {
    width: 50px;
    height: 50px;
    background-color: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 15px;
}

.header-phone-icon a {
    color: #fff;
}

.header-phone-info {
    display: flex;
    flex-direction: column;
}

.header-phone-number {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    margin: 0;
}

.header-menu-container {
    width: 100%;
}

/* 主导航样式 - 更新以匹配网站整体风格 */
.header-navigation-wrapper {
    background-color: #0066cc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 1000;
}

/* 添加固定导航样式 */
.header-navigation-wrapper.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

body.has-fixed-nav {}

.header-navigation {
    display: flex;
    position: relative;
}

.header-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.header-navigation li {
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.header-navigation a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 25px;
    display: block;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.header-navigation li:first-child a {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.header-navigation a:hover {
    background-color: #0055aa;
}
.header-navigation .current-menu-item>a, .header-navigation .sub-menu .current-menu-item>a, .header-navigation .current-menu-parent>a {
    background-color: #0055aa;
    position: relative;
    color: #fff;
}

.header-navigation .current-menu-item>a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

.header-navigation .current-menu-item>a,
.header-navigation .current-post-ancestor>a,
.header-navigation .current-category-ancestor>a {
    background-color: #0055aa;
    position: relative;
}

.header-navigation .current-menu-item>a:after,
.header-navigation .current-post-ancestor>a:after,
.header-navigation .current-category-ancestor>a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

 /* 子菜单样式 */
 .header-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 101;
    border-radius: 0 0 4px 4px;
    border-top: 3px solid #0055aa;
    padding: 5px 0;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.header-navigation .sub-menu li {
    width: 100%;
    text-align: left;
}

.header-navigation .sub-menu a {
    color: #333;
    padding: 10px 20px;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-navigation .sub-menu li:last-child a {
    border-bottom: none;
}

.header-navigation .sub-menu a:hover {
    background-color: #f5f5f5;
    color: #0066cc;
    padding-left: 25px;
}

.header-navigation li:hover>.sub-menu {
    display: block;
}

/* 添加箭头指示器 */
.header-navigation .menu-item-has-children > a:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 14px;
    position: static;
    background: none;
    height: auto;
}

/* 三级菜单样式 */
.header-navigation .sub-menu .sub-menu {
    left: 100%;
    top: -3px;
}

.header-navigation .sub-menu .menu-item-has-children > a:after {
    content: '\f105';
    float: right;
}

/* 汉堡菜单按钮 */
.header-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    margin: 15px 0;
}

.header-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.header-menu-toggle span:nth-child(1) {
    top: 0px;
}

.header-menu-toggle span:nth-child(2) {
    top: 10px;
}

.header-menu-toggle span:nth-child(3) {
    top: 20px;
}

.header-menu-toggle.toggled span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.header-menu-toggle.toggled span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.header-menu-toggle.toggled span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* 响应式样式 */
@media (max-width: 992px) {
    .header-links a:not(.header-language-switch) {
        display: none;
    }

    .header-main .header-container {
        flex-wrap: wrap;
    }

    .header-logo-section {
        margin-bottom: 15px;
    }

    .header-menu-toggle {
        display: block;
    }

    .header-navigation {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .header-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0066cc;
        flex-direction: column;
        z-index: 100;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    .header-navigation.toggled ul {
        display: block;
    }

    .header-navigation.toggled .sub-menu{
        display: none;
    }
    .header-navigation.toggled li:hover>.sub-menu{
        display: none;
    }

    .header-navigation li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .header-navigation li:first-child a {
        border-left: none;
    }

    .header-navigation a {
        border-right: none;
        padding: 15px 20px;
    }

    .header-navigation .sub-menu {
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .header-navigation .sub-menu a {
        color: white;
        padding-left: 40px;
    }

    .header-navigation .sub-menu a:hover {
        background-color: rgba(0, 0, 0, 0.2);
        color: white;
    }

    .header-navigation .menu-item-has-children>a:after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 8px;
    }

    .header-navigation .menu-item-has-children.submenu-open>a:after {
        content: '\f106';
    }
}

@media (max-width: 768px) {
    .header-navigation .menu-item-has-children>a:after{
        display: none;
    }
    .header-main {
        padding: 0;
    }

    .header-business-title {
        font-size: 18px;
    }

    .header-top-bar {
        display: none;
    }

    .header-main .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    /* 调整logo区域 */
    .header-logo-section {
        flex-direction: row;
        margin-bottom: 0;
    }

    .header-business-desc {
        display: none;
    }

    /* 隐藏业务信息 */
    .header-business-info,
    .header-business-info em {
        /* display: none; */
    }

    /* 调整联系区域 */
    .header-contact-section {
        margin-top: 0;
    }

    /* 调整logo尺寸 */
    .custom-logo {
        max-height: 40px;
    }

    /* 调整电话图标 */
    .header-phone-icon {
        width: 45px;
        height: 45px;
        margin-right: 0;
        animation: pulse 1.5s infinite;
    }

    /* 隐藏电话号码文本 */
    .header-phone-info {
        display: none;
    }

    /* 添加电话图标动画 */
    @keyframes pulse {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
        }

        70% {
            transform: scale(1.05);
            box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
        }
    }
}

/*header.php end*/

/*header-inner start*/
/* 分类Banner样式 */
.archive-banner {
    background-color: #f5f5f5;
    background-image: url('img/archive-banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
    color: #fff;
    text-align: left;
    /* display: none; */
}

.archive-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0.6;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.archive-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.archive-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* 面包屑导航 */
.breadcrumb-container {
    background-color: #f0f0f0;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-search-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
}

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

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    margin-right: 5px;
}

.breadcrumb span {
    margin: 0 5px;
}

@media (max-width: 768px) {
    .breadcrumb span:last-child {
        display: none;
    }
}

/* 头部搜索框 */
.header-search {
    max-width: 250px;
    flex-shrink: 0;
}

.header-search .search-form {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}

.header-search .search-field {
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    outline: none;
}

.header-search .search-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.header-search .search-submit:hover {
    background-color: var(--secondary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .breadcrumb-search-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-search {
        max-width: 100%;
        width: 100%;
    }
}

/* 主内容区域 */
.main-content-area {
    padding: 40px 0 0;
    background-color: #f8f9fa;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    position: relative;
}

.site-main {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

/*header-inner end*/


/*single start*/
/* 文章样式 */
.single-article {
    margin-bottom: 30px;
}

.entry-header {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.entry-title {
    font-size: 24px;
    margin: 0 0 15px;
    color: #333;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    color: #999;
    gap: 15px;
    padding-bottom: 15px;
}

/* 特殊分类文章的头部样式 */
.special-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.special-header-inner {
    display: flex;
    gap: 30px;
    align-items: center;
}

.special-thumbnail {
    flex: 0 0 45%;
}

.special-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.special-content {
    flex: 1;
}

.special-header .entry-title {
    text-align: left;
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.special-header .entry-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.special-header .entry-meta {
    justify-content: flex-start;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .special-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .special-thumbnail {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .entry-title {
        font-size: 20px;
    }
}

.entry-thumb {
    max-width: 600px;
    margin: 0 auto 15px;

}

.entry-meta span {
    display: flex;
    align-items: center;
}

.entry-meta i {
    margin-right: 5px;
}

.entry-meta a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.entry-meta a:hover {
    color: var(--primary-color);
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 30px 0 25px;
    color: #333;
    line-height: 1.5;
}

.entry-content h2 {
    font-size: 1.2em;
    margin-left: -28px;
    padding-left: 25px;
    border-left: 3px solid var(--primary-color);
}

.entry-content h3 {
    font-size: 1.1em;
    margin-left: -28px;
    padding-left: 25px;
    border-left: 3px solid var(--accent-color)
}

.entry-content h4 {
    font-size: 1em;
}

.entry-content ul,
.entry-content ol {
    margin: 1.2em 0;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content hr {
    margin: 3em auto;
    width: 240px;
    max-width: 100%;
    border: none;
    border-top: 1px solid #c4c7ce;
}

.entry-content th,
.entry-content td {
    text-align: left;
}

.entry-content th p,
.entry-content td p {
    margin: 0;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.post-tags i {
    color: #999;
}

.post-tags a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 文章导航 */
.post-navigation {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    max-width: 48%;
}

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: var(--primary-color);
}

.nav-previous i,
.nav-next i {
    margin: 0 5px;
}

/* 留言表单 */
.contact-form-section {
    background-color: #f8f9fa;
}

.form-title {
    font-size: 20px;
    margin: 0 0 15px;
    color: #333;
}

.form-tip {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.form-field {
    margin-bottom: 15px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-field textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-field {
    flex: 1;
    margin-bottom: 0;
}

.form-submit {
    margin-top: 20px;
}
.button-group{
    display: flex;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.contact-form-section {
    background-color: #f8f9fa;
}

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

.form-title {
    font-size: 20px;
    margin: 0;
    color: #0066cc;
}

.form-phone {
    display: inline-block;
    background-color: #f0f7ff;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.form-phone:hover {
    background-color: var(--primary-color);
    color: white;
}

.form-phone i {
    margin-right: 5px;
}

.form-tip em {
    font-style: normal;
    color: #ef4444;
    font-weight: bold;
}

.form-tip {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.contact-form-section .button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-form-section .button-group .submit-btn,
.contact-form-section .button-group .baidu-service-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-form-section .button-group .submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.contact-form-section .button-group .submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.contact-form-section .button-group .baidu-service-btn {
    background-color: #ff6600;
    color: white;
}

.contact-form-section .button-group .baidu-service-btn:hover {
    background-color: #e55c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.contact-form-section .button-group .baidu-service-btn i {
    margin-right: 5px;
}

/* 咨询按钮样式 */
.btns {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.btns .quote-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color, #0066cc);
    color: white;
}

.btns .quote-btn2{
    background-color: #ff9900;
    color: white;
}
.btns .quote-btn:hover {
    background-color: var(--secondary-color, #0055aa);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}
.btns .quote-btn2:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.btns .J_getphone {
    background-color: var(--primary-color, #0066cc);
    color: white;
}

.btns .J_getphone:hover {
    background-color: var(--secondary-color, #0055aa);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btns .J_getweixin {
    background-color: #ff9900;
    color: white;
}

.btns .J_getweixin:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.btns .quote-btn i {
    margin-right: 8px;
}
@media (max-width: 768px) {
    .btns .quote-btn {
        font-size: 12px;
    }
}

/* 弹出内容样式 */
.contact-info-box {
    display: none;
    margin-top: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
}

.contact-info-box.active {
    display: block;
}

.contact-info-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.contact-info-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.contact-phone-list {
    flex: 1;
}

.contact-phone-item {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.contact-phone-item i {
    margin-right: 8px;
    color: var(--primary-color, #0066cc);
}

.contact-info-content .contact-qrcode {
    text-align: center;
    margin-top: 0;
}

.contact-qrcode img {
    max-width: 150px;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
}

.contact-qrcode-text {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*single end*/


/* 文章列表 */
.archive-posts {
    margin-bottom: 30px;
}

.archive-post-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.archive-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
}

.post-thumbnail {
    flex: 0 0 200px;
    height: 150px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.archive-post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
    transition: color 0.3s;
}

.archive-post-item:hover .post-title {
    color: var(--primary-color);
}

.post-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    font-size: 12px;
    color: #999;
}

.post-date, .post-category {
    margin-right: 15px;
}

.post-meta i {
    margin-right: 5px;
}

.post-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    color: var(--primary-color);
    font-size: 20px;
    transition: color 0.3s;
}

.archive-post-item:hover .post-more {
    color: var(--secondary-color);
}

    /* 案例展示和解决方案页面样式 */
  .category  .service-detail-container {
        /* display: none; */
    }

    .gallery-content-area {
        padding: 25px 0;
        background-color: #f8f9fa;
    }

    .gallery-intro {
        text-align: center;
        margin-bottom: 40px;
    }

    .gallery-title {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 15px;
        color: #333;
    }

    .gallery-desc {
        max-width: 800px;
        margin: 0 auto;
        color: #666;
        font-size: 16px;
        line-height: 1.6;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        margin-bottom: 40px;
    }

    .gallery-item {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .gallery-image {
        position: relative;
        overflow: hidden;
        height: 200px;
    }

    .gallery-image img {
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease;
    }

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

    .gallery-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .gallery-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
        color: var(--primary-color);
    }

    .gallery-content p {
        font-size: 14px;
        color: #666;
        margin-bottom: 15px;
        flex-grow: 1;
        display: none;
    }

    .gallery-link {
        display: inline-flex;
        align-items: center;
        color: var(--primary-color);
        font-weight: 500;
        font-size: 14px;
        text-decoration: none;
        transition: color 0.3s ease;
        margin-top: auto;
        display: none;
    }

    .gallery-link i {
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .gallery-link:hover {
        color: var(--secondary-color);
    }

    .gallery-link:hover i {
        transform: translateX(3px);
    }

    /* 没有结果 */
    .no-results {
        text-align: center;
        padding: 40px 0;
    }

    .no-results h2 {
        font-size: 24px;
        margin-bottom: 15px;
        color: #333;
    }

    .no-results p {
        font-size: 16px;
        color: #666;
    }

    /* 响应式调整 */
    @media (max-width: 1200px) {
        .gallery-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 992px) {
        .gallery-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .gallery-title {
            font-size: 28px;
        }

        .gallery-desc {
            font-size: 14px;
        }

        .gallery-image {
            height: 180px;
        }

        .gallery-content h3 {
            font-size: 16px;
        }

        .gallery-content p {
            font-size: 13px;
        }
    }

    @media (max-width: 576px) {
        .gallery-grid {
            grid-template-columns: 1fr;
        }

        .gallery-title {
            font-size: 24px;
        }
    }










/*sidebar start*/
/* 侧边栏 */
.widget-area {
    flex: 0 0 300px;
    transition: all 0.3s ease;
}

.sidebar-pic {
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: block;
}

.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 25px;
}

.widget-title {
    font-size: 18px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: #333;
}

/* 侧边栏菜单 */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.sidebar-menu li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-menu a:hover {
    color: var(--primary-color);
}

.sidebar-menu i {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s;
}

.sidebar-menu a:hover i {
    transform: translateX(3px);
    color: var(--primary-color);
}

/* 活动分类样式 */
.sidebar-menu li.active a {
    color: var(--primary-color);
    font-weight: bold;
}

.sidebar-menu li.active i {
    color: var(--primary-color);
}

/* 最新文章和热门文章 */
.recent-posts,
.popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li,
.popular-posts li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 15px;
}

.recent-posts li:before,
.popular-posts li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.recent-posts li:last-child,
.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts a,
.popular-posts a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s;
    display: block;
}

.recent-posts a:hover,
.popular-posts a:hover {
    color: var(--primary-color);
}

/* 推荐服务项目 */
.latest-projects .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.latest-projects .widget-title {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.latest-projects .more-link {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.latest-projects .more-link:hover {
    color: var(--primary-color);
}

.latest-projects .more-link i {
    margin-left: 5px;
    font-size: 12px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.project-item {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 8px 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.project-item a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: block;
    transition: color 0.3s;
}

.project-item:hover {
    background-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.project-item:hover a {
    color: white;
}

/* CNAS认可咨询模块 - 简化设计 */

.cnas-consultation-widget .consultation-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1f2937;
    text-align: center;
    line-height: 1.4;
}

.cnas-consultation-widget .consultation-desc {
    font-size: 14px;
    line-height: 24px;
    color: #6b7280;
}

.cnas-consultation-widget .consultation-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.cnas-consultation-widget .consultation-buttons .btn {
    flex: 1;
    border: none;
    border-radius: 23px;
    line-height: 46px;
    font-size: 14px;
    padding: 0;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cnas-consultation-widget .consultation-buttons .quick-consultation-btn {
    background-image: linear-gradient(-34deg, #3d509f 0%, #556ac0 100%), linear-gradient(#000000, #000000);
    color: white;
    box-shadow: 0 4px 12px rgba(91, 107, 192, 0.3);
}

.cnas-consultation-widget .consultation-buttons .quick-consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 107, 192, 0.4);
}

.cnas-consultation-widget .consultation-buttons .quick-consultation-btn i {
    font-size: 16px;
}

.cnas-consultation-widget .consultation-buttons .detail-btn {
    background-image:linear-gradient(0deg, #f28d23 0%, #fbb163 100%), linear-gradient(#000000, #000000);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.cnas-consultation-widget .consultation-buttons .detail-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
}

.cnas-consultation-widget .consultation-buttons .detail-btn i {
    font-size: 16px;
}

.cnas-consultation-widget .hotline-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cnas-consultation-widget .hotline-icon {
    width: 40px;
    height: 40px;
    background: #5b6bc0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cnas-consultation-widget .hotline-icon i {
    font-size: 18px;
    color: white;
}

.cnas-consultation-widget .hotline-info {
    flex: 1;
}

.cnas-consultation-widget .hotline-label {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 4px;
    font-weight: 500;
}

.cnas-consultation-widget .hotline-number {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.cnas-consultation-widget .hotline-number a {
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cnas-consultation-widget .hotline-number a:hover {
    color: #5b6bc0;
}

/* 响应式调整 */
@media (max-width: 768px) {
   .cnas-consultation-widget  .consultation-buttons {
        flex-direction: column;
    }
    
    .cnas-consultation-widget .consultation-buttons .btn {
        flex: none;
        font-size: 15px;
    }
    
    .cnas-consultation-widget .hotline-section {
        padding: 14px;
    }
    
    .cnas-consultation-widget .hotline-number {
        font-size: 16px;
    }
    
    .cnas-consultation-widget .consultation-title {
        font-size: 18px;
    }
    
    .cnas-consultation-widget .consultation-desc {
        font-size: 13px;
    }
}

/* 联系方式 - 保留原有样式作为备用 */
.contact-widget {
    background-color: #f8f9fa;
}

.contact-info {
    font-size: 14px;
    color: #333;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-qrcode {
    text-align: center;
    margin-top: 15px;
}

.contact-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.contact-qrcode p {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        flex: 0 0 100%;
    }

    .post-thumbnail {
        flex: 0 0 150px;
    }
}

@media (max-width: 768px) {
    .archive-title {
        font-size: 28px;
    }

    .archive-description {
        font-size: 14px;
    }

    .post-link {
        flex-direction: column;
    }

    .post-thumbnail {
        flex: 0 0 auto;
        height: 200px;
    }

    .post-content {
        padding: 15px;
    }

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

    .post-more {
        display: none;
    }
}

@media (max-width: 576px) {
    .archive-banner {
        padding: 40px 0;
    }

    .site-main {
        padding: 15px;
    }

    .post-thumbnail {
        height: 180px;
    }

    .current-category {
        flex-direction: column;
        align-items: flex-start;
    }

    .current-category h2 {
        margin-bottom: 10px;
    }
}

/* sidebar end */


/*modal start*/
/* 弹窗样式 */
.quote-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.quote-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.quote-modal-close:hover {
    color: var(--primary-color);
}

.quote-modal-header {
    margin-bottom: 15px;
}

.quote-modal-title {
    font-size: 20px;
    margin: 0;
    color: #0066cc;
}

.quote-modal-tip {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.quote-modal-tip em {
    font-style: normal;
    color: #ef4444;
    font-weight: bold;
}

/* 按钮样式 */
.quote-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.entry-meta .quote-btn {
    color: #fff;
}

.quote-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 102, 204, 0.3);
}

.entry-meta .quote-btn:hover {
    color: #fff;
}

.quote-btn i {
    margin-right: 5px;
}
.form-field {
    display: flex;
    margin-bottom: 15px;
    gap: 15px;
}
/*modal end*/


/* 浮动按钮 */

/* 侧栏悬浮按钮样式 */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
/* 添加二维码容器样式 */
.qrcode-container {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.qrcode-container .qrcode-item {
    width: 48%;
    text-align: center;
}

.qrcode-container .qrcode-item img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
    border-radius: 4px;
    display: inline-block;
}

.qrcode-container .qrcode-item p {
    font-size: 12px;
    color: #666;
    text-align: center;
    display: block;
}

/* 调整联系方式样式 */
.contact-column p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.contact-column p i {
    width: 20px;
    margin-right: 8px;
    color: #0066cc;
}

.floating-btn {
    
    background-color: #0066cc;
    color: white;
    width: 60px;
    height: 66px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.floating-btn:hover {
    background-color: #0055aa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.floating-btn i {
    font-size: 20px;
    margin-bottom:8px;
}

/* 微信二维码弹窗 */
.floating-qrcode {
    position: absolute;
    right: 60px;
    bottom: 0;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.floating-qrcode:after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: white;
}

.floating-qrcode img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-qrcode p {
    margin: 10px 0 0;
    text-align: center;
    font-size: 12px;
    color: #333;
}

.wechat-btn:hover .floating-qrcode {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 电话号码提示 */
.floating-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: white;
    padding: 8px 15px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-tooltip:after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: white;
}

.floating-tooltip p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #666;
}

.phone-btn:hover .floating-tooltip,
.mobile-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}


/* 返回顶部按钮初始隐藏 */
/* .back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

/* 移动端适配 */
@media (max-width: 768px) {
    
    .floating-btn{
        display: none;
    }
    .floating-btn.back-to-top {
        display: flex;
        width: 45px;
        height: 45px;
        border-radius: 25px;
    }
    .floating-btn .btn-text{
        display: none;
    }
    .floating-btn i {
        margin-bottom: 0;
    }
    

    
    .floating-qrcode {
        width: 120px;
        padding: 10px;
    }
}

/* 友情链接样式 */
.friend-links-section {
    padding: 15px 0;
    background-color: #1a1a1a;
}

.friend-links-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.friend-links-title {
    color: #666;
    font-size: 14px;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content:center;
}

.friend-links-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.friend-links-list a:hover {
    color: #0066cc;
}

@media (max-width: 768px) {
    .friend-links-container {
        flex-direction: column;
        gap: 5px;
    }
    
    .friend-links-list {
        gap: 15px;
    }
}

.mobile-contact{
    display: none;
}
@media (max-width:768px){
    .mobile-contact{
        display: flex;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 1000;
        height: 44px;
    }
    .mobile-contact a{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 50%;
        padding: 10px 0;
        background: #0066cc;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
    }
    .mobile-contact a i{
        margin-right: 8px;
    }
}
/* 浮动按钮结束 */
.muted{
    font-size: 12px;
    color: #666;
}



.service-detail-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.service-detail-cta i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-detail-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
    color: #fff;
}

.service-detail-cta:hover i {
    transform: translateX(5px);
}


/* 文章内容中的推广链接样式 */
.related-services {
    padding: 20px 20px 12px;
    background: #f8f9fa;
    text-align: center;
    font-size: 0;
    margin-left: -25px;
    margin-right: -25px;
}
.related-services span{
    display: flex;
    gap: 10px;
}
.related-services a{
    flex: 1;
}

@media (max-width:360px){
    .related-services span{
        flex-direction: column;
    }
}

.related-services::before {
    content: "💡 EN18031认证机构推荐";
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
}
.related-simple::before{
    display: none;
    padding: 0;
}

.related-services a {
    display: inline-block;
    margin: 8px 10px;
    padding: 12px 24px;
    background: #2FBDE2;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.related-services a:last-child{
    background-color: #E79D6C;
}
.entry-content  .related-services a{
    color: #fff;
}

.related-services a:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.related-services a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.related-services a:hover::before {
    left: 100%;
}

.related-services a i {
    margin-right: 8px;
    font-size: 14px;
}

/* CNAS链接特殊样式 */
.related-services .cnas-link {
    background: #075AB5;
}
.related-services .cnas-link:last-child {
    background: #00748B;
}

.related-services a.cnas-link:hover {
}

/* CMA链接特殊样式 */
.related-services a.cma-link {
    background: #53B996;
}

.related-services a.cma-link:hover {

}

.related-services a.cma-link:last-child {
    background: #5FAEFF;

}

/* 响应式设计 */
@media (max-width: 768px) {
    .related-services {
        padding: 15px;
    }
    
    .related-services a {
        margin: 8px 4px;
        padding: 10px;
        text-align: center;
    }
    
    .related-services::before {
        font-size: 14px;
        margin-bottom: 12px;
    }
}
@media (max-width:576px){
    .related-services{
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (max-width:380px){
    .related-services a{
        display: block;
        margin: 8px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.related-services {
    animation: fadeInUp 0.6s ease-out;
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .related-services {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border-left-color: #4299e1;
    }
    
    .related-services::before {
        color: #e2e8f0;
    }
}

/* 导航标签 *//* 认证资讯模块样式 */
    .article-module {
        background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
        padding: 40px 0;
    }

    /* 内容区域 */
    .article-module .content-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px 0;
    }

    /* 文章卡片样式 */
    .article-module .article-card {
        background: #fff;
        border-radius: 10px;
        box-shadow: none;
        border: 1px solid #e5e7eb;
        padding: 22px 20px 18px 20px;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        transition: box-shadow 0.2s, border-color 0.2s;
        width: 100%;
    }

    .article-module .article-card:hover {
        border-color: #3b82f6;
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
    }

    .article-module .article-card p {
        margin: 0;
        color: #4a4e69;
        font-size: 0.97rem;
        line-height: 1.6;
    }

    .article-module .article-card .article-cat {
        display: inline-block;
        background: #e0e7ff;
        color: #3b82f6;
        font-size: 0.92rem;
        border-radius: 4px;
        padding: 2px 10px;
        margin-right: 10px;
        font-weight: 500;
        vertical-align: middle;
    }

    .article-module .article-card time {
        color: #8b8ba7;
        font-size: 0.95rem;
        margin-left: 4px;
        vertical-align: middle;
    }

    .article-module .article-card a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .article-module .article-card h3 {
        margin: 10px 0 8px 0;
        font-size: 1.08rem;
        font-weight: 600;
        color: #22223b;
        transition: color 0.2s;
    }

    .article-module .article-card a:hover h3 {
        color: #3b82f6;
    }

    @media (max-width: 992px){
        .article-module .content-grid {
             grid-template-columns: repeat(2, 1fr);
             gap: 15px;
         }
         .article-module .article-card:nth-child(n+7) {
             display: none;
         }
    }

    /* 移动端适配 */
     @media (max-width: 768px) {
         .article-module .section-title {
             font-size: 1.5rem;
         }

         .article-module .content-grid {
             grid-template-columns: 1fr;
             gap: 15px;
         }

         .article-module .article-card {
             padding: 18px 16px 14px 16px;
         }

         /* 小屏幕时只显示前3篇文章 */
         .article-module .article-card:nth-child(n+4) {
             display: none;
         }
     }



/* 分公司网络样式 */
.branch-offices {
	margin: 0 0 10px;
    color: #fff;
}

.branch-offices h3 {
	font-size: 18px;
    color: #fff;
	margin-bottom: 15px;
	font-weight: 600;
}

.branch-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}

.branch-item {
	padding: 10px 15px;
	border-radius: 6px;
	transition: all 0.3s ease;
	font-size: 14px;
}
.branch-item p{
    margin: 0;
}
.branch-item .address_name{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.branch-item .address_location{
	display: none;
	margin-top: 5px;
	padding-left: 26px;
	font-size: 13px;
	transition: all 0.3s ease;
}
.branch-item:hover .address_location{
	display: block;
	animation: fadeIn 0.3s ease;
    
}

.branch-arrow {
	font-size: 12px;
	transition: transform 0.3s ease;
}

.branch-item:hover .branch-arrow {
	transform: rotate(180deg);
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: 1; transform: translateY(0); }
}
.branch-item .address_location{
	display: none;
}
.branch-grid:hover .address_location{
	display: block;
}

.branch-item:hover {
	background-color: #0055aa;
	transform: translateY(-2px);
}

.branch-item i {
	margin-right: 10px;
	font-size: 16px;
}

.branch-item span {
	font-size: 14px;
}

@media (max-width: 768px) {
	.branch-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.friend-links-footer {
    background-color: #1a1a1a;
    padding: 15px 0;
}


.friend-links-content h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.friend-links-footer .links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.friend-links-footer .links-list a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.friend-links-footer .links-list a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    
    .friend-links-content h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .friend-links-footer .links-list {
        gap: 15px;
    }
    
    .friend-links-footer .links-list a {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .friend-links-footer .links-list {
        gap: 10px;
    }
    
    .friend-links-footer .links-list a {
        font-size: 12px;
        padding: 5px 10px;
    }
}