File content truncated due to size limit (50KB). First 50KB included below:
/*!
Theme Name: 广州海沣检测
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: https://www.seantest.com
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: dkaiqcpjjc
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%;
    overflow-x: hidden;
}

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

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

/* 图片闪光效果 - 所有图片悬停时都有 */
/* 通用闪光效果类 - 可以添加到任何元素上 */
.shine-effect {
    position: relative;
    overflow: hidden;
}

/* 闪光遮罩层 - 限制在图片容器内 */
.shine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.shine-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
}

/* 保留原有的::before方式作为备用 */
.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: 2;
    pointer-events: none;
}

.shine-effect:hover::before {
    animation: shine 0.8s ease-in-out;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

/* 自动给所有图片的父元素添加闪光效果 */
/* 针对常见的图片容器 */
.image-shine,
.wp-block-image,
.post-thumbnail,
.case-image,
.service-item-image,
.gallery-image,
.category-card,
.advantage-image,
.about-image,
.banner-image,
.slide-image,
.product-image,
.team-image,
.partner-image,
.cert-image,
.news-image,
.thumbnail,
.pic,
.img-box,
.photo,
.img,
.about-img {
    position: relative;
    overflow: hidden;
}

.image-shine::before,
.wp-block-image::before,
.post-thumbnail::before,
.case-image::before,
.service-item-image::before,
.gallery-image::before,
.category-card::before,
.advantage-image::before,
.about-image::before,
.banner-image::before,
.slide-image::before,
.product-image::before,
.team-image::before,
.partner-image::before,
.cert-image::before,
.news-image::before,
.thumbnail::before,
.pic::before,
.img-box::before,
.photo::before,
.img::before,
.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: 2;
    pointer-events: none;
}

.image-shine:hover::before,
.wp-block-image:hover::before,
.post-thumbnail:hover::before,
.case-image:hover::before,
.service-item-image:hover::before,
.gallery-image:hover::before,
.category-card:hover::before,
.advantage-image:hover::before,
.about-image:hover::before,
.banner-image:hover::before,
.slide-image:hover::before,
.product-image:hover::before,
.team-image:hover::before,
.partner-image:hover::before,
.cert-image:hover::before,
.news-image:hover::before,
.thumbnail:hover::before,
.pic:hover::before,
.img-box:hover::before,
.photo:hover::before,
.img:hover::before,
.about-img:hover::before {
    animation: shine 0.8s ease-in-out;
}

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

a:hover {
    color: #0052a3;
}

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 #e5e5e5;
    border-radius: 4px;
    background-color: white;
    color: #0066cc;
    text-decoration: none;
    transition: all 0.2s;
}

.page-numbers:hover:not(.current):not(.disabled) {
    background-color: #f5f5f5;
    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: #0052a3;
    --accent-color: #1a75e0;
    --text-color: #333333;
    --light-gray: #f8f9fa;
    --medium-gray: #e5e5e5;
    --dark-gray: #333333;
    --white: #ffffff;
    --nav-bg: #0066cc;
    --footer-bg: #222222;
    --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 #e5e5e5;
    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 #e5e5e5;
    margin: 20px 0;
    background-color: #f8f9fa;
    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: #f8f9fa;
}

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 {
    background: #333333;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    border-top: none;
    padding: 60px 0 40px;
    color: #cccccc;
    position: relative;
    overflow: hidden;
}

.quick-links-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.quick-link-column {
    position: relative;
}

/* 桌面端：彻底隐藏折叠按钮（防止被全局 button 样式覆盖后露出蓝色方块箭头） */
.quick-links-section .quick-link-column .ql-toggle {
    display: none !important;
    visibility: hidden;
    width: 0;
    min-width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.quick-link-column h3,
.quick-link-column h3.ql-title {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #ffffff, #eeeeee) 1;
    font-weight: 700;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: normal;
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.quick-link-column h3::before,
.quick-link-column h3.ql-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: #0066cc;
    margin-right: 12px;
    border-radius: 3px;
}

.quick-link-column h3 a,
.quick-link-column h3.ql-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-link-column h3 a:hover,
.quick-link-column h3.ql-title a:hover {
    color: #dddddd;
}

.quick-link-column h3:hover,
.quick-link-column h3.ql-title:hover {
    transform: translateX(5px);
    color: #dddddd;
}

.quick-link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-link-column ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-link-column ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quick-link-column ul li:hover::before {
    width: 12px;
    height: 2px;
    border-radius: 2px;
}

.quick-link-column ul li:hover {
    transform: translateX(5px);
}

.quick-link-column ul li a {
    padding: 8px 0;
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    letter-spacing: 0.3px;
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.quick-link-column ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.quick-link-column ul li a:hover {
    color: #ffffff;
    text-shadow: none;
}

.quick-link-column ul li a:hover::after {
    width: 110%;
}

.quick-link-column.quick-link-contact ul li {
    padding-left: 0;
    margin-bottom: 16px;
}

.quick-link-column.quick-link-contact ul li::before {
    display: none;
}

.quick-link-column.quick-link-contact ul li a {
    display: flex;
    align-items: center;
    padding: 6px 0;
    color: #cccccc;
    font-size: 15px;
}

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

.quick-link-column.quick-link-contact ul li a i {
    color: #ffffff;
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.quick-links-section .qrcode-container {
    margin-top: 20px;
    text-align: center;
}

.quick-links-section .qrcode-container img {
    max-width: 140px;
    height: auto;
    background: #fff;
    border-radius: 6px;
    padding: 8px;
    border: 3px solid #0066cc;
}

.quick-links-section .qrcode-container p {
    color: #999999;
    font-size: 13px;
    margin-top: 8px;
}

/* 分公司网络 / 分部链接 */
.friend-links-section {
    background: #333333;
    padding: 0 0 50px;
    border-top: none;
}

.branch-offices h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0066cc;
    display: inline-block;
    font-weight: 700;
}

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

.branch-item {
    background: #444444;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #555555;
}

.branch-item:hover {
    background: #4a4a4a;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.branch-item .address_name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
}

.branch-item .address_name span {
    display: flex;
    align-items: center;
}

.branch-item .address_name i {
    margin-right: 8px;
    color: #ffffff;
}

.branch-item .branch-arrow {
    color: #ffffff;
    font-size: 14px;
    transition: transform 0.3s ease;
}

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

.branch-item .address_location {
    margin: 12px 0 0;
    font-size: 13px;
    color: #aaaaaa;
    line-height: 1.6;
    padding-top: 10px;
    border-top: 1px solid #555555;
    display: none;
}

.branch-item.open .address_location {
    display: block;
}

.branch-item:hover .address_location {
    display: block;
}

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

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

/* 友情链接 */
.friend-links-footer {
    background: #2b2b2b;
    padding: 30px 0;
    border-top: 1px solid #444444;
}

.friend-links-content h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.friend-links-content .links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
}

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

.friend-links-content .links-list a:hover {
    color: #ffffff;
}

/* 右侧侧边悬浮按钮 */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.floating-btn {
    width: 76px;
    padding: 12px 8px;
    background: #0066cc;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 3px solid #0066cc;
    border-radius: 6px 0 0 6px;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
}

.floating-btn:hover {
    background: #3385ff;
    width: 84px;
    padding-left: 4px;
}

.floating-btn i {
    font-size: 26px;
    margin-bottom: 4px;
}

.floating-btn .btn-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.floating-btn .floating-tooltip,
.floating-btn .floating-qrcode {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #333333;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-right: 10px;
    min-width: 180px;
    z-index: 10000;
}

.floating-btn .floating-tooltip::after,
.floating-btn .floating-qrcode::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #ffffff;
}

.floating-btn.mobile-btn:hover .floating-tooltip,
.floating-btn.wechat-btn:hover .floating-qrcode {
    opacity: 1;
    visibility: visible;
    margin-right: 14px;
}

.floating-btn .floating-tooltip p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #333333;
}

.floating-btn .floating-tooltip a {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
}

.floating-btn .floating-tooltip a:hover {
    color: #0066cc;
}

.floating-btn .floating-qrcode img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
    border-radius: 4px;
}

.floating-btn .floating-qrcode p {
    margin: 0;
    font-size: 13px;
    color: #666666;
    text-align: center;
}

.floating-btn.back-to-top {
    display: none;
}

.floating-btn.back-to-top.visible {
    display: flex;
}

/* 移动端底部联系栏 */
.mobile-contact {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    z-index: 9998;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-contact a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666666;
    font-size: 12px;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.mobile-contact a:first-child i {
    color: #07c160;
}

.mobile-contact a:last-child {
    background: #ffffff;
    color: #333333;
    border-radius: 6px;
    margin: 0 8px;
    border: 1px solid #dddddd;
}

.mobile-contact a:last-child i {
    color: #333333;
}

.mobile-contact a i {
    font-size: 20px;
    margin-bottom: 2px;
}

.mobile-contact a:hover {
    color: #ffffff;
}

.mobile-contact a:last-child:hover {
    color: #333333;
    background: #dddddd;
}

/* 左下角快速咨询悬浮卡片 */
.quick-consult-card {
    position: fixed;
    left: 0;
    bottom: 120px;
    width: 82px;
    background: #0066cc;
    color: #ffffff;
    z-index: 9997;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.quick-consult-card .qc-header {
    background: #3385ff;
    padding: 10px 6px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    writing-mode: vertical-rl;
    margin: 0 auto;
    letter-spacing: 2px;
}

.quick-consult-card .qc-body {
    background: #ffffff;
    padding: 10px 8px;
    color: #333333;
}

.quick-consult-card .qc-qrcode {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 2px solid #0066cc;
    box-sizing: border-box;
    margin-bottom: 8px;
}

.quick-consult-card .qc-desc {
    text-align: center;
    font-size: 11px;
    color: #0066cc;
    margin: 6px 0 4px;
    line-height: 1.4;
    font-weight: 600;
}

.quick-consult-card .qc-discount {
    background: #0066cc;
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    padding: 4px 2px;
    margin: 2px 0;
    border-radius: 3px;
    font-weight: 700;
}

.quick-consult-card .qc-phone {
    background: #0066cc;
    color: #ffffff;
    text-align: center;
    padding: 8px 4px;
    margin-top: 8px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 0 0 8px 0;
}

.quick-consult-card .qc-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.9);
    color: #0066cc;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-weight: 700;
}

/* 右下角立即咨询固定按钮 */
.fixed-consult-btn {
    position: fixed;
    right: 0;
    bottom: 20px;
    background: #0066cc;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 30px 0 0 30px;
    cursor: pointer;
    z-index: 9996;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: -2px 2px 12px rgba(0, 102, 204, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.fixed-consult-btn:hover {
    background: #3385ff;
    padding-right: 28px;
}

.fixed-consult-btn i {
    font-size: 20px;
}

/* 移动端适配 */
@media (max-width: 1200px) {
    .quick-links-container {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .quick-links-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    .floating-sidebar {
        display: none;
    }
    .quick-consult-card {
        display: none;
    }
    .fixed-consult-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .quick-links-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .quick-links-section {
        padding: 40px 0 30px;
    }
    .branch-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .friend-links-section {
        padding: 0 0 30px;
    }
    .branch-offices h3 {
        font-size: 18px;
        margin-bottom: 18px;
    }
    .branch-item {
        padding: 14px 16px;
    }
    .branch-item .address_name {
        font-size: 15px;
    }
    .mobile-contact {
        display: flex;
    }
    /* 给body底部留空间放移动端联系栏 */
    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    .quick-links-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .quick-link-column h3,
    .quick-link-column h3.ql-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 0 6px 0;
        padding-bottom: 0;
        border-bottom: none;
        font-size: 16px;
    }
    .quick-link-column h3.ql-title a,
    .quick-link-column h3 a {
        color: #ffffff;
        text-decoration: none;
        flex: 1;
    }
    .quick-link-column h3::before,
    .quick-link-column h3.ql-title::before {
        /* 保持蓝色竖线装饰，不要被 flex 布局挤没 */
        flex-shrink: 0;
    }
    /* 手机端：默认收起（覆盖原来的 display:block） */
    .quick-links-section .quick-link-column ul {
        display: none !important;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    /* 手机端：点开才显示 */
    .quick-links-section .quick-link-column.open ul {
        display: block !important;
    }
    /* 手机端：显示折叠按钮（反向覆盖桌面端的强隐藏） */
    .quick-links-section .quick-link-column .ql-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        visibility: visible;
        width: 30px;
        height: 30px;
        min-width: 30px;
        background: transparent;
        border: none;
        color: #ffffff;
        padding: 0;
        margin: 0 0 0 8px;
        cursor: pointer;
        transition: transform 0.2s ease;
        font-size: 12px;
        overflow: visible;
        flex-shrink: 0;
    }
    .quick-links-section .quick-link-column.open .ql-toggle {
        transform: rotate(180deg);
    }
    .quick-link-column ul li {
        margin-bottom: 8px;
    }
    .branch-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.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: #0066cc;
    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);
}

/* 响应式样式 - 非footer组件（footer组件响应式见上方1260行+） */
@media (max-width: 1200px) {}

@media (max-width: 992px) {

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

@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-link-column ul li a.footer-post-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

/* 页脚样式 */
.site-footer {
    background: #222222;
    color: #cccccc;
    padding: 20px 0;
    text-align: center;
    border-top: none;
}

.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: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.site-info a:hover {
    color: #0066cc;
}

.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 #e5e5e5;
}

.wechat-hover-content p {
    margin: 0;
    color: #666666;
    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: #0066cc;
    text-decoration: none;
}

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

.header-links {
    display: flex;
}

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

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

.header-links a:hover {
    color: #3385ff;
}

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

/* 主头部区域 */
.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;
}

/* 移动端 Logo 默认隐藏 */
.mobile-logo {
    display: none;
}

.custom-logo-mobile {
    max-height: 50px;
    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: #3385ff;
    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: #3385ff;
    margin: 0;
    font-weight: bold;
}
/* 适配苹果SE（375px宽度）的媒体查询 */
@media screen and (width: 375px) and (height: 667px) {
    .header-business-title {
        font-size: 21px;
    }}

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

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

.header-phone-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

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

.header-phone-icon a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header-phone-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: nowrap;
}

.header-phone-number {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #3385ff;
    white-space: nowrap;
}

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

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

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

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

/* 主导航样式 - 深灰色设计 */
.header-navigation-wrapper {
    background: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-bottom: none;
    width: 100%;
    z-index: 1000;
    position: relative;
    padding: 0;
    overflow: visible;
}

/* 添加固定导航样式 */
.header-navigation-wrapper.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

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.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;

}

.header-navigation li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.header-navigation li:hover::before {
    opacity: 1;
}

.header-navigation li:last-child {
    border-right: none;
}

.header-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 18px 24px;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.8px;
    text-shadow: none;
}

.header-navigation a::before {
    display: none;
}

.header-navigation a:hover::before {
    display: none;
}

.header-navigation a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(147, 197, 253, 0.2) 0%, 
        rgba(96, 165, 250, 0.15) 50%,
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.header-navigation a:hover::after {
    width: 200%;
    height: 200%;
}

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

.header-navigation a:hover {
    background: linear-gradient(135deg,
        rgba(0,102,204,0.2) 0%,
        rgba(0,102,204,0.15) 100%);
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 2px 8px rgba(0,102,204,0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
                inset 0 -1px 0 rgba(0,102,204,0.2);
}

.header-navigation .current-menu-item>a,
.header-navigation .sub-menu .current-menu-item>a,
.header-navigation .current-menu-parent>a {
    background: #0066cc;
    position: relative;
    color: #ffffff;
    text-shadow: none;
}

.header-navigation .current-menu-item>a,
.header-navigation .current-post-ancestor>a,
.header-navigation .current-category-ancestor>a {
    background: #0066cc;
    position: relative;
    color: #ffffff;
    text-shadow: none;
}

/* 子菜单样式 */
.header-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #f8f9fa;
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 101;
    border-radius: 0 0 8px 8px;
    border: none;
    border-top: 3px solid #0066cc;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-navigation li:hover > .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

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

.header-navigation .sub-menu li {
    width: 100%;
    text-align: left;
    margin: 0;
    border-right: none;
    position: relative;
    background: transparent;
    border-radius: 0;
}

.header-navigation .sub-menu a {
    color: #333333;
    padding: 12px 20px;
    border-right: none;
    border-bottom: none;
    font-size: 15px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0;
    font-weight: 500;
    display: block;
    background: transparent;
    border-left: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: none;
}

.header-navigation .sub-menu a::before {
    display: none;
}

.header-navigation .sub-menu a::after {
    display: none;
}

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

.header-navigation .sub-menu a:hover {
    background: #0066cc;
    color: #ffffff;
    transform: translateX(5px);
    border-left: 3px solid #0066cc;
    text-shadow: none;
}

.header-navigation li:hover > .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 添加箭头指示器 */
.header-navigation .menu-item-has-children>a:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 10px;
    font-size: 13px;
    position: static;
    background: none;
    height: auto;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
    transform: translateY(0);
}



/* 三级菜单样式 */
.header-navigation .sub-menu .sub-menu {
    left: calc(100% + 12px);
    top: 0;
    transform: translateX(-20px) scale(0.95);
    border-top: 2px solid rgba(135, 206, 250, 0.8);
    border-radius: 20px;
}

.header-navigation .sub-menu .sub-menu::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-right: 10px solid rgba(135, 206, 250, 0.8);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.header-navigation .sub-menu li:hover > .sub-menu {
    transform: translateX(0) scale(1);
}

.header-navigation .sub-menu .menu-item-has-children>a:after {
    content: '\f105';
    margin-left: auto;
    padding-left: 12px;
    font-size: 14px;
}

/* 汉堡菜单按钮 */
.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: #ffffff;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.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);
}

/* 平板屏幕 (768px 到 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .header-main .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .header-logo-section {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
    }

    .header-contact-section {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .header-phone-container {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .header-phone-icon {
        margin-right: 12px;
        flex-shrink: 0;
    }

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

/* 响应式样式 */
@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;
        -webkit-tap-highlight-color: transparent;
    }

    .header-navigation a {
        -webkit-tap-highlight-color: rgba(0,102,204,0.2);
    }

    .header-navigation {
        width: 100%;
        position: relative;
    }

    .header-navigation #primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 45%;
        background: linear-gradient(135deg, 
            rgba(255, 240, 232, 0.98) 0%, 
            rgba(255, 232, 219, 1) 100%);
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
        flex-direction: column;
        z-index: 100;
        box-shadow: 0 8px 32px rgba(0,102,204,0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
        border-top: 3px solid rgba(0,102,204,0.6);
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        margin: 0;
        padding: 0;
        border-radius: 0 0 15px 15px;
    }

    .header-navigation.toggled #primary-menu {
        display: flex;
    }

    .header-navigation li {
        border-bottom: 1px solid rgba(0,102,204,0.15);
        width: 100%;
        margin: 0;
        padding: 0;
        position: relative;
        text-align: left;
    }

    /* 移除了响应式菜单中的悬停隐藏子菜单规则，因为它与JavaScript控制的子菜单展开功能冲突 */

    .header-navigation li:hover::before {
        display: none !important;
        opacity: 0 !important;
    }
    
    /* 确保在响应式菜单中，悬停不会影响子菜单的显示状态 */
    .header-navigation.toggled .menu-item-has-children.submenu-open > .sub-menu,
    .header-navigation li:hover > .sub-menu {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* 针对F12检查元素时的特殊情况，确保子菜单保持可见 */
    .header-navigation .menu-item-has-children.submenu-open > .sub-menu,
    .header-navigation .menu-item-has-children.submenu-open:hover > .sub-menu {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .header-navigation li::before {
        display: none;
    }

    .header-navigation a {
        padding: 16px 24px;
        color: #0f172a;
        font-weight: 500;
        font-size: 16px;
        border: none;
        width: 100%;
        display: block;
    }

    .header-navigation a::before,
    .header-navigation a::after {
        display: none;
    }

    .header-navigation a:hover {
        background-color: rgba(0,102,204,0.1) !important;
        color: #ffffff !important;
        transform: none !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }

    .header-navigation .menu-item-has-children:hover > a {
        background-color: transparent !important;
        color: #ffffff !important;
    }

    .header-navigation .menu-item-has-children:hover > a:after {
        transform: none !important;
    }

    /* 当前页面样式 */
    .header-navigation .current-menu-item>a,
    .header-navigation .current-post-ancestor>a,
    .header-navigation .current-category-ancestor>a {
        background: rgba(0,102,204,0.9);
        color: #ffffff;
        border-left: 4px solid #c94a00;
        padding-left: 20px;
    }

    /* 子菜单样式 */
    .header-navigation .sub-menu {
        position: static !important;
        box-shadow: none !important;
        background-color: rgba(0,102,204,0.06) !important;
        background-image: none !important;
        width: 100% !important;
        max-height: 0;
        overflow: hidden;
        display: block;
        padding: 0;
        margin: 0 auto !important;
        border: none !important;
        border-left: 4px solid rgba(0,102,204,0.25);
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        min-width: unset !important;
        left: 0 !important;
    }

    .header-navigation .menu-item-has-children.submenu-open>.sub-menu {
        max-height: 800px;
        padding: 8px 0;
        background-color: rgba(255, 240, 232, 0.95) !important;
    }

    .header-navigation .menu-item-has-children:not(.submenu-open)>.sub-menu {
        max-height: 0 !important;
        padding: 0 !important;
        background-color: rgba(0,102,204,0.06) !important;
        background-image: none !important;
    }

    .header-navigation .sub-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0,102,204,0.12) !important;
        margin: 0;
        padding: 0;
        background-color: transparent !important;
    }

    .header-navigation .sub-menu a {
        color: #334155 !important;
        padding: 12px 24px;
        text-align: center;
        font-size: 15px;
        font-weight: 400;
        display: block;
        background-color: transparent !important;
        background-image: none !important;
        border-radius: 0 !important;
        text-shadow: none !important;
        box-shadow: none !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .header-navigation .sub-menu a:hover {
        background-color: rgba(0,102,204,0.15) !important;
        color: #0f172a !important;
        transform: none !important;
        background-image: none !important;
        border-left: none !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }

    .header-navigation .sub-menu a:hover::before,
    .header-navigation .sub-menu a:hover::after {
        display: none;
    }

    .header-navigation .sub-menu .current-menu-item>a {
        background-color: rgba(0,102,204,0.2);
        font-weight: 500;
        border-left: none;
        text-align: center;
    }

    .header-navigation .menu-item-has-children.submenu-open>a {
        background-color: rgba(0,102,204,0.15);
        color: #0f172a;
    }

    .header-navigation .menu-item-has-children.submenu-open>a:focus,
    .header-navigation .menu-item-has-children.submenu-open>a:focus-visible {
        outline: none;
        background-color: rgba(0,102,204,0.2);
    }

    .header-navigation .menu-item-has-children.submenu-open>a:active {
        background-color: rgba(0,102,204,0.25);
    }

    .header-navigation a:active {
        background-color: rgba(0,102,204,0.1);
    }

    /* 展开箭头 */
    .header-navigation .menu-item-has-children>a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .header-navigation .menu-item-has-children>a:after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 16px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: auto;
        margin-right: 8px;
        color: rgba(51, 133, 255, 1);
        display: inline-block;
        vertical-align: middle;
    }

    .header-navigation .menu-item-has-children.submenu-open>a:after {
        transform: rotate(180deg);
        color: rgba(51, 133, 255, 1);
    }
    
    /* 确保子菜单宽度适应其父级容器并居中对齐 */
    .header-navigation .sub-menu {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .header-navigation .menu-item-has-children>a:after {
        display: inline-block;
    }
    
    .header-navigation .menu-item-has-children:hover>a:after {
        transform: rotate(180deg) !important;
    }

    .header-main {
        padding: 0;
    }

    /* 移动端移除导航底部细边，避免出现下方空白条 */
    .header-navigation-wrapper {
        border-bottom: 0;
        box-shadow: none;
        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;
        flex: 1;
        min-width: 0;
    }

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

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

    /* 调整联系区域 - 保持一行不换行 */
    .header-contact-section {
        margin-top: 0;
        flex-wrap: nowrap;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .header-phone-container {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

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

    /* 响应式 Logo 切换 */
    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

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

    /* 移动端隐藏标题和业务信息 */
    .desktop-only:not(.show-title-mobile) {
        display: none;
    }

    /* 广州海沣检测移动端显示标题 */
    .show-title-mobile {
        display: block !important;
        text-align: left;
        padding: 10px 15px;
    }

    .show-title-mobile .header-business-title {
        font-size: 22px;
        color: #3385ff;
        font-weight: bold;
        margin: 0;
    }

    .show-title-mobile .header-business-desc {
        display: none;
    }

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

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

    /* 添加电话图标动画 */

/* 服务项目页面样式 */
.service-container {
    padding: 40px 0;
    background-color: var(--white);
}

.service-content-wrapper {
    display: flex;
    gap: 40px;
}

/* 左侧服务分类列表 */
.service-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.service-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-category-list li {
    border-bottom: 1px solid var(--medium-gray);
}

.service-category-list li:last-child {
    border-bottom: none;
}

.service-category-list a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.service-category-list a:hover {
    background-color: rgba(0, 102, 204, 0.05);
    color: var(--primary-color);
    padding-left: 25px;
}

.service-category-list a::after {
    content: '>';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.service-category-list a:hover::after {
    right: 15px;
}

/* 右侧服务项目详情 */
.service-main-content {
    flex: 1;
}

.service-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.service-item {
    margin-bottom: 30px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-item-content {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.service-item-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-item-info {
    flex: 1;
}

.service-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-item-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.service-item-title a:hover {
    color: var(--secondary-color);
}

.service-item-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.service-item-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.service-item-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .service-content-wrapper {
        flex-direction: column;
    }
    
    .service-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .service-item-content {
        flex-direction: column;
    }
    
    .service-item-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .service-container {
        padding: 30px 0;
    }
    
    .service-item-content {
        padding: 15px;
    }
    
    .service-item-image {
        height: 180px;
    }
    
    .service-section-title {
        font-size: 20px;
    }
    
    .service-item-title {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .service-item-image {
        height: 150px;
    }
    
    .service-section-title {
        font-size: 18px;
    }
    
    .service-item-title {
        font-size: 15px;
    }
    
    .service-item-description {
        font-size: 13px;
    }
}
    @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/banner-4.webp');
    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: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

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

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

.breadcrumb a {
    color: #0066cc;
    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 {
        
    }
}

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

.header-search .search-form {
    display: flex;
    border: 1px solid #e5e5e5;
    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);
}

/* 电话号码旁边的搜索框 */
.header-phone-container .header-search {
    margin-left: 15px;
    max-width: 200px;
}

.header-phone-container .header-search .search-form {
    border-radius: 20px;
    border: 1px solid #0066cc;
}

.header-phone-container .header-search .search-field {
    padding: 6px 12px;
    font-size: 13px;
}

.header-phone-container .header-search .search-submit {
    background-color: #0066cc;
    border-radius: 0 20px 20px 0;
    padding: 0 10px;
}

.header-phone-container .header-search .search-submit:hover {
    background-color: #0052a3;
}

/* ========== 头部响应式优化：电话+搜索先左靠、再变图标 ========== */

/* 阶段1：993px - 1200px 渐进收缩阶段
   保持 space-between 让电话+搜索随着屏宽缩小自然向左滑动，而非瞬间贴向品牌 */
@media (min-width: 993px) and (max-width: 1200px) {
    .header-main .header-container {
        justify-content: space-between;
    }

    .header-phone-number {
        font-size: 20px;
    }

    .header-phone-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 19px;
        margin-right: 10px;
    }

    /* 搜索框随屏宽一起缩小，保持输入框可见 */
    .header-phone-container .header-search {
        display: block;
        margin-left: 10px;
        max-width: 160px;
    }

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

    .header-business-desc {
        font-size: 13px;
    }

    .header-business-info {
        padding-left: 12px;
        margin-left: 12px;
    }

    .custom-logo {
        max-height: 50px;
    }
}

/* 1100px 以下再压一档，间距和尺寸更紧凑 */
@media (min-width: 993px) and (max-width: 1100px) {
    .header-phone-number {
        font-size: 18px;
    }

    .header-phone-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 18px;
        margin-right: 8px;
    }

    .header-phone-container .header-search {
        max-width: 140px;
        margin-left: 8px;
    }

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

    .header-business-desc {
        font-size: 12px;
    }

    .header-business-info {
        padding-left: 10px;
        margin-left: 10px;
    }

    .custom-logo {
        max-height: 46px;
    }
}

/* 阶段2：≤992px 图标模式 - 电话号码文字隐藏，只留电话图标，搜索隐藏；右侧加大安全间距确保按钮不被任何设备裁边 */
@media (max-width: 992px) {
    /* 头部容器保持单行不换行：logo左 电话右；padding-right大幅加大，给按钮外圈留白 */
    .header-main .header-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 10px 24px 10px 16px;
    }

    /* 右侧安全区：兼容iPhone刘海屏等safe-area设备，额外再加10px固定缓冲 */
    .header-contact-section {
        padding-right: calc(env(safe-area-inset-right, 0px) + 10px);
        box-sizing: border-box;
    }

    .header-logo-section {
        margin-bottom: 0;
    }

    /* 992px以下隐藏业务描述；标题由show-title-mobile控制显示 */
    .header-business-info.desktop-only:not(.show-title-mobile) {
        display: none;
    }

    .show-title-mobile .header-business-desc {
        display: none;
    }

    .show-title-mobile {
        display: block !important;
        padding: 0 12px;
        border-left: 1px solid #e5e5e5;
        margin-left: 10px;
    }

    /* 品牌标题加大字号，所有手机更清晰易读 */
    .show-title-mobile .header-business-title {
        font-size: 24px !important;
        color: #3385ff;
        font-weight: bold;
        margin: 0;
    }

    /* —— 电话：仅图标；右侧保留10px间距，彻底避免圆形按钮贴边被裁 */
    .header-phone-info {
        display: none;
    }

    .header-phone-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 19px;
        margin-right: 10px !important;
        animation: none !important;
    }

    /* —— 搜索图标整个隐藏 —— */
    .header-phone-container .header-search {
        display: none !important;
    }
}

/* 阶段3：≤768px - 搜索隐藏，右侧加大双层安全间距（容器+contact+图标），品牌字号22px；彻底防裁边 */
@media (max-width: 768px) {
    .header-main .header-container {
        padding: 10px 22px 10px 12px;
    }

    /* 右侧安全区：兼容iPhone刘海屏safe-area，外加10px固定缓冲 */
    .header-contact-section {
        padding-right: calc(env(safe-area-inset-right, 0px) + 10px);
    }

    /* 移动端显示的品牌标题：22px大字号 */
    .show-title-mobile {
        padding: 0 10px;
        margin-left: 8px;
    }

    .show-title-mobile .header-business-title {
        font-size: 22px !important;
    }

    /* 电话图标：margin-right 10px 避免圆形按钮贴边被切 + 无pulse动画 */
    .header-phone-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 17px;
        margin-right: 10px !important;
        animation: none !important;
    }

    /* 搜索图标整个隐藏 */
    .header-phone-container .header-search {
        display: none !important;
    }

    /* 面包屑区搜索保持正常响应式，不受影响 */
    .breadcrumb-search-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

/* 阶段4：≤576px 超小屏 - 电话尺寸略缩，右侧仍保留大安全间距；品牌字号20px保证清晰 */
@media (max-width: 576px) {
    .header-main .header-container {
        padding: 8px 20px 8px 10px;
    }

    /* 右侧安全区：超小屏也保留safe-area + 10px固定缓冲 */
    .header-contact-section {
        padding-right: calc(env(safe-area-inset-right, 0px) + 10px);
    }

    .show-title-mobile {
        padding: 0 8px;
        margin-left: 6px;
    }

    /* 超小屏品牌标题也保持20px大字号，避免在小屏手机上看不清 */
    .show-title-mobile .header-business-title {
        font-size: 20px !important;
    }

    .header-phone-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
        margin-right: 8px !important;
        animation: none !important;
    }

    /* 搜索图标整个隐藏 */
    .header-phone-container .header-search {
        display: none !important;
    }
}

/* 主内容区域 */
.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 #e5e5e5;
}

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

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

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

.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;