/* 基础变量定义 */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --text: #2c3e50;
    --text-light: #666;
    --white: #fff;
    --bg: #f8f9fa;
    --border-color: #eee;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --sidebar-width: 300px;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部信息栏 */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.contact-info span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.contact-info i {
    margin-right: 5px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
}

/* 头部样式 */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: block;
    max-width: 200px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}

/* 轮播图区域 */
.hero-slider {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.slider-content {
    max-width: 800px;
    margin: 0 auto;
}

/* 服务特色 */
.features {
    padding: 4rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary);
}

/* 服务特色网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 服务项目 */
.services {
    padding: 4rem 0;
    background: var(--white);
}

/* 服务项目网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-image {
    height: 160px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--primary);
}

.service-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 最新资讯 */
.latest-news {
    padding: 4rem 0;
}

/* 最新资讯网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    margin-bottom: 1rem;
}

.news-content a {
    color: var(--text);
    text-decoration: none;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* 联系我们 */
.contact-section {
    padding: 4rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    padding: 2rem;
    background: var(--gradient);
    border-radius: 8px;
    color: var(--white);
}

.contact-info .sidebar-title {
    color: var(--white);
    border-bottom-color: var(--accent);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    color: var(--accent);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #c0392b;
}

/* 页脚样式 */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .features-grid,
    .services-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-top: 30px;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .article-meta span {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .header-content {
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .logo {
        max-width: 150px;
        margin-right: 10px;
    }

    .nav {
        width: 100%;
        padding: 10px 0;
        order: 2;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 5px 0;
        font-size: 1rem;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text);
        padding: 5px;
    }

    .features-grid,
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card,
    .service-card,
    .news-card {
        padding: 20px;
    }

    .service-image,
    .news-image {
        height: 180px;
        width: 100%;
    }

    .service-content,
    .news-content {
        padding: 15px;
    }

    .article-container {
        margin-top: 20px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta span {
        margin: 5px 0;
    }

    .article-thumbnail {
        margin: 20px 0;
    }

    .article-thumbnail img {
        max-height: 300px;
    }

    .article-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .article-content p {
        margin-bottom: 15px;
    }

    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .prev-article,
    .next-article {
        width: 100%;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .hot-articles li,
    .category-list li {
        padding: 8px 0;
    }

    .contact-list li {
        margin: 8px 0;
    }

    .consult-form .form-group {
        margin-bottom: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section {
        padding: 0;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card,
    .service-card,
    .news-card {
        padding: 15px;
    }

    .service-image,
    .news-image {
        height: 160px;
    }

    .article-title {
        font-size: 1.3rem;
    }

    .article-content {
        font-size: 0.9rem;
    }

    .article-thumbnail img {
        max-height: 250px;
    }

    .sidebar-section {
        padding: 15px;
    }

    .hot-articles li,
    .category-list li {
        padding: 6px 0;
    }

    .footer-section ul {
        gap: 10px;
    }
}

/* 优化移动端文字显示 */
@media (max-width: 768px) {
    .service-content h3,
    .news-content h3,
    .article-title,
    .sidebar-title {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-content p,
    .news-content p,
    .article-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hot-articles a,
    .category-list a {
        font-size: 0.9rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .article-meta span {
        font-size: 0.8rem;
    }
}

/* 优化移动端间距 */
@media (max-width: 768px) {
    .section-title {
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

    .features,
    .services,
    .latest-news {
        padding: 30px 0;
    }

    .article-container {
        margin-top: 20px;
    }

    .article-content {
        margin: 20px 0;
    }

    .sidebar-section {
        margin-bottom: 20px;
    }
}

/* 优化移动端图片显示 */
@media (max-width: 768px) {
    .service-image,
    .news-image {
        height: 180px;
        width: 100%;
    }

    .service-image img,
    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* 深色模式 */
@media (prefers-color-scheme: dark) {
    :root {
        --primary: #1a1a1a;
        --secondary: #2980b9;
        --accent: #c0392b;
        --text: #fff;
        --text-light: #ccc;
        --white: #2d2d2d;
        --bg: #1a1a1a;
        --border-color: #333;
    }

    .header,
    .article-card,
    .sidebar-section {
        background: var(--white);
    }

    .nav-links a {
        color: var(--text);
    }

    .menu-toggle {
        color: var(--text);
    }
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.pagination .current {
    background: var(--accent);
    color: var(--white);
}

/* 服务介绍区域 */
.services-section {
    background-color: var(--white);
    padding: 5rem 0;
    margin-bottom: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.services-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.service-card, .feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover, .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-title, .feature-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 优势特点区域 */
.features-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
    margin-bottom: 3rem;
    border-radius: 20px;
}

.feature-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* 流程介绍区域 */
.process-section {
    background: var(--white);
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: 15px;
    transition: var(--transition);
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* 相关内容 */
.related-articles {
    margin-top: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.related-articles h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-list li {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.related-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-list a {
    display: block;
    padding: 15px;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-list p {
    padding: 0 15px 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 相关内容响应式布局 */
@media (max-width: 768px) {
    .related-articles {
        margin-top: 20px;
        padding: 15px;
        background: var(--white);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .related-articles h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        padding-bottom: 8px;
        border-bottom: 2px solid var(--primary);
    }

    .related-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .related-list li {
        width: 100%;
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        margin-bottom: 0;
    }

    .related-list li:last-child {
        margin-bottom: 0;
    }

    .related-list a {
        display: block;
        padding: 12px;
        color: var(--text);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.4;
        border-bottom: 1px solid var(--border-color);
    }

    .related-list p {
        padding: 12px;
        color: var(--text-light);
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .related-articles {
        padding: 12px;
    }

    .related-articles h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .related-list {
        gap: 12px;
    }

    .related-list li {
        border-radius: 6px;
    }

    .related-list a {
        padding: 10px;
        font-size: 0.95rem;
    }

    .related-list p {
        padding: 10px;
        font-size: 0.85rem;
    }
}

/* 自定义字段 */
.z24c3fdiyfield {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: 10px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .services-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature-item,
.process-step,
.article-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(2),
.feature-item:nth-child(2),
.process-step:nth-child(2),
.article-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3),
.feature-item:nth-child(3),
.process-step:nth-child(3),
.article-item:nth-child(3) {
    animation-delay: 0.4s;
}

/* 交互效果 */
.service-card:hover,
.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 滚动平滑 */
html {
    scroll-behavior: smooth;
}

/* 打印样式 */
@media print {
    .header,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: none;
    }

    .service-card,
    .feature-item,
    .process-step,
    .article-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* 内容页面布局 */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* 文章主体布局 */
.article-main {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 2rem;
    margin-top: 2rem;
}

/* 文章内容区 */
.article-content-wrapper {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.article-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
}

.article-thumbnail {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* 文章导航样式 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.prev-article,
.next-article {
    flex: 1;
    padding: 0.5rem;
}

.prev-article {
    text-align: left;
}

.next-article {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.prev-article a,
.next-article a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prev-article a:hover,
.next-article a:hover {
    color: var(--accent);
}

/* 相关内容 */
.related-articles {
    margin-top: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.related-articles h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-list li {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.related-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-list a {
    display: block;
    padding: 15px;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-list p {
    padding: 0 15px 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 自定义字段 */
.z24c3fdiyfield {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: 10px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .article-main {
        grid-template-columns: 1fr;
    }

    .article-container {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }

    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .prev-article,
    .next-article {
        text-align: left;
        padding: 0.5rem;
    }

    .next-article {
        text-align: left;
    }

    .article-content {
        font-size: 1rem;
    }

    .sidebar {
        position: static;
        margin-top: 2rem;
    }

    .contact-info {
        background: var(--white);
        color: var(--text);
    }

    .contact-info .sidebar-title {
        color: var(--primary);
    }

    .contact-list i {
        color: var(--primary);
    }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .article-content-wrapper,
    .related-articles {
        background: var(--white);
    }

    .article-content {
        color: var(--text);
    }

    .article-meta {
        color: #aaa;
    }

    .related-list li {
        background: var(--white);
    }

    .related-list p {
        color: #aaa;
    }

    .contact-info {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
    }

    .contact-info .sidebar-title {
        color: var(--white);
    }

    .contact-list i {
        color: var(--accent);
    }

    .article-navigation {
        background: var(--bg);
    }

    .nav-label {
        color: var(--text-light);
    }

    .prev-article a,
    .next-article a {
        color: var(--text);
    }
}

/* 导航菜单响应式 */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        background: none;
        border: none;
        color: var(--text);
        padding: 0.5rem;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 0;
        box-shadow: var(--shadow);
        z-index: 1000;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        display: block;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        color: var(--text);
        transition: var(--transition);
        font-size: 1rem;
    }

    .nav-links a:hover {
        color: var(--accent);
        background: var(--bg);
    }

    .logo {
        font-size: 1.2rem;
        z-index: 1001;
    }
}

/* 深色模式导航栏适配 */
@media (prefers-color-scheme: dark) {
    .nav {
        background: var(--bg);
    }

    .nav-links {
        background: var(--bg);
    }

    .nav-links li {
        border-bottom-color: var(--border-color);
    }

    .nav-links a {
        color: var(--text);
    }

    .nav-links a:hover {
        background: var(--white);
        color: var(--accent);
    }

    .menu-toggle {
        color: var(--text);
    }
}

/* 文章内容响应式优化 */
@media (max-width: 768px) {
    .article-content {
        font-size: 1rem;
        line-height: 1.6;
    }

    .article-content p {
        margin-bottom: 1rem;
    }

    .article-content img {
        margin: 1rem 0;
    }

    .related-articles {
        margin-top: 2rem;
    }

    .related-list li {
        padding: 0.8rem;
    }
}

/* 页脚响应式优化 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section ul {
        justify-content: center;
    }
}

/* 深色模式优化 */
@media (prefers-color-scheme: dark) {
    .nav-links {
        background: var(--bg);
    }

    .nav-links a {
        color: var(--text);
    }

    .nav-links a:hover {
        color: var(--accent);
    }
}

/* 列表页样式 */
/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.breadcrumb a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--text-light);
}

/* 分类标题区域 */
.category-header {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.category-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.category-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 列表内容区域 */
.list-content {
    padding: 40px 0;
    background: var(--bg);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* 文章列表 */
.article-list {
    display: grid;
    gap: 30px;
}

.article-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.article-image {
    height: 100%;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-item:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.article-title {
    margin-bottom: 15px;
}

.article-title a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1.4;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--secondary);
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    align-self: flex-start;
    padding: 8px 20px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.read-more:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* 分页 */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.pagination a:hover,
.pagination span.current {
    background: var(--secondary);
    color: var(--white);
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-section {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.sidebar-section:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sidebar-title {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

/* 热门文章样式 */
.hot-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-articles li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: var(--transition);
}

.hot-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hot-articles li:hover {
    transform: translateX(5px);
}

.hot-articles a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    margin-right: 15px;
    transition: var(--transition);
}

.hot-articles a:hover {
    color: var(--accent);
}

.article-date {
    color: var(--text-light);
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 2px 8px;
    background: var(--bg);
    border-radius: 4px;
}

/* 文章分类样式 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
    transition: var(--transition);
}

.category-list li:hover {
    transform: translateX(5px);
}

.category-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 6px;
    transition: var(--transition);
}

.category-list a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateX(5px);
}

.category-list a::after {
    content: '→';
    opacity: 0;
    transition: var(--transition);
}

.category-list a:hover::after {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sidebar-section {
        padding: 20px;
    }

    .sidebar-title {
        font-size: 1.2rem;
    }

    .hot-articles a,
    .category-list a {
        font-size: 0.9rem;
    }
}

/* 推荐文章 */
.recommended-articles {
    display: grid;
    gap: 20px;
}

.recommended-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
}

.recommended-image {
    overflow: hidden;
    border-radius: 5px;
}

.recommended-image img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    transition: var(--transition);
}

.recommended-item:hover .recommended-image img {
    transform: scale(1.05);
}

.recommended-info h4 {
    margin-bottom: 5px;
}

.recommended-info h4 a {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.recommended-info h4 a:hover {
    color: var(--secondary);
}

.recommended-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 联系信息 */
.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        margin-bottom: 15px;
    }

    .service-image {
        height: 180px;
    }

    .service-content {
        padding: 12px;
    }

    .service-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .service-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .services-grid {
        gap: 12px;
    }

    .service-image {
        height: 160px;
    }

    .service-content h3 {
        font-size: 1rem;
    }

    .service-content p {
        font-size: 0.85rem;
    }
}

/* 移动端基础适配 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        width: 100%;
        padding: 0 15px;
        margin: 0 auto;
    }

    /* 头部导航适配 */
    .header-content {
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .logo {
        max-width: 120px;
    }

    .nav {
        width: 100%;
        padding: 0;
        order: 2;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 15px;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1rem;
    }

    /* 服务项目卡片适配 */
    .service-card {
        width: 100%;
        margin-bottom: 15px;
        background: var(--white);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .service-image {
        width: 100%;
        height: 180px;
    }

    .service-content {
        padding: 12px;
    }

    .service-content h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .service-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 最新资讯卡片适配 */
    .news-card {
        width: 100%;
        margin-bottom: 15px;
        background: var(--white);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .news-image {
        width: 100%;
        height: 180px;
    }

    .news-content {
        padding: 12px;
    }

    .news-content h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .news-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 服务特色卡片适配 */
    .feature-card {
        width: 100%;
        margin-bottom: 15px;
        padding: 15px;
        background: var(--white);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 内容页适配 */
    .article-container {
        padding: 10px;
        margin-top: 10px;
    }

    .article-content-wrapper {
        padding: 12px;
        background: var(--white);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .article-title {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .article-meta {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
    }

    .article-meta span {
        font-size: 0.8rem;
    }

    .article-thumbnail {
        margin: 10px 0;
    }

    .article-thumbnail img {
        max-height: 180px;
    }

    .article-content {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .article-content p {
        margin-bottom: 10px;
    }

    /* 侧边栏适配 */
    .sidebar {
        position: static;
        margin-top: 15px;
    }

    .sidebar-section {
        padding: 12px;
        margin-bottom: 15px;
        background: var(--white);
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .sidebar-title {
        font-size: 1rem;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .hot-articles li,
    .category-list li {
        padding: 6px 0;
    }

    .hot-articles a,
    .category-list a {
        font-size: 0.85rem;
    }

    /* 页脚适配 */
    .footer {
        padding: 20px 0 10px;
    }

    .footer-content {
        padding: 0 15px;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
}

/* 华为手机特殊适配 */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .service-card,
    .news-card,
    .feature-card,
    .article-content-wrapper,
    .sidebar-section {
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
}

/* 优化触摸体验 */
@media (max-width: 768px) {
    .nav-links a,
    .service-card,
    .news-card,
    .feature-card {
        -webkit-tap-highlight-color: transparent;
    }

    .btn-submit,
    .read-more {
        padding: 10px 20px;
        min-height: 44px;
    }
} 