/**
 * 安徽百分环境发展有限公司 - 企业官网样式
 * 主色调：生态绿 #2d8a5e，科技蓝 #1a5a8b
 */

/* CSS变量 */
:root {
    --primary-color: #2d8a5e;
    --primary-dark: #236b49;
    --primary-light: #3da872;
    --secondary-color: #1a5a8b;
    --secondary-dark: #0d3a6b;
    --accent-color: #f59e0b;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 重置样式 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hidden-mobile {
    display: inline;
}

/* 主内容区 */
.main {
    min-height: calc(100vh - 400px);
    padding-top: 70px;
}

/* Banner轮播 */
.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

.banner-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 3;
}

.banner-arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.banner-arrows button:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 区块标题 */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 服务卡片 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* 案例展示 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.case-meta {
    display: flex;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.case-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 新闻列表 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.8125rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 合作伙伴 */
.partners-section {
    background: var(--bg-light);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-item {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.partner-item:hover {
    box-shadow: var(--shadow-md);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* 底部 */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul a:hover {
    color: white;
}

.footer-qrcode {
    text-align: center;
}

.qrcode-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qrcode-item p {
    font-size: 0.875rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.8125rem;
}

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

.footer-icp a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-icp a:hover {
    color: white;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links-bottom a:hover {
    color: white;
}

/* 悬浮客服 */
.float-service {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.float-item:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* 微信弹窗 */
.wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.wechat-modal-content {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}

.wechat-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.wechat-modal-content img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination li {
    list-style: none;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-color);
    transition: var(--transition);
}

.pagination li a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination li.active span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination li.disabled span {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--text-light);
}

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

.breadcrumb span {
    color: var(--text-muted);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a::after {
        display: none;
    }

    .hidden-mobile {
        display: none;
    }

    .banner {
        height: 400px;
    }

    .banner-content h1 {
        font-size: 1.75rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .services-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .partner-item {
        width: calc(50% - 15px);
    }

    .float-service {
        right: 10px;
        bottom: 80px;
    }

    .float-item {
        width: 44px;
        height: 44px;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 懒加载图片 */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.lazy.loaded {
    opacity: 1;
}

/* 页面横幅 */
.page-banner {
    padding: 120px 0 60px;
    text-align: center;
    color: white;
    margin-top: -70px;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* 面包屑导航栏 */
.breadcrumb-nav {
    background: var(--bg-light);
    padding: 15px 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb-nav a {
    color: var(--text-light);
}

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

.breadcrumb-nav span {
    margin: 0 8px;
    color: var(--text-muted);
}

/* 新闻列表布局 */
.news-layout,
.case-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.news-sidebar,
.case-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    color: var(--text-color);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-color);
    color: white;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
}

.news-item .news-thumb {
    width: 240px;
    min-height: 160px;
    flex-shrink: 0;
}

.news-item .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item .news-content {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item .news-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-item .news-meta .category {
    color: var(--primary-color);
}

.news-item h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-item h2 a:hover {
    color: var(--primary-color);
}

.news-item p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.read-more {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* 案例网格 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.case-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.case-item .case-thumb {
    position: relative;
    height: 200px;
}

.case-item .case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-item .badge-featured {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.case-item .case-content {
    padding: 15px;
}

.case-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.case-item h3 a:hover {
    color: var(--primary-color);
}

.case-item .case-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.case-item .case-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 服务网格 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-item .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: white;
}

.service-item .service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* 文章详情 */
.article-detail {
    padding: 60px 0;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.article-meta .category {
    color: var(--primary-color);
}

.article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 1em;
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.article-content h2,
.article-content h3 {
    margin: 30px 0 15px;
}

/* 文章导航 */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.article-nav a {
    flex: 1;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.article-nav .nav-prev {
    margin-right: 10px;
}

.article-nav .nav-next {
    text-align: right;
    margin-left: 10px;
}

.article-nav span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.article-nav p {
    font-size: 0.9375rem;
    color: var(--text-color);
    margin-top: 5px;
}

.article-nav .nav-empty {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* 相关文章 */
.related-articles,
.related-cases,
.other-services {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.related-articles h3,
.related-cases h3,
.other-services h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.related-item {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-item:hover {
    box-shadow: var(--shadow-md);
}

.related-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-item h4 {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-item span {
    display: block;
    padding: 0 10px 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 案例详情 */
.case-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 15px;
    font-size: 0.9375rem;
    color: var(--text-light);
}

.case-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.case-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* 服务详情 */
.service-summary {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.service-link:hover {
    background: var(--primary-color);
    color: white;
}

.service-link img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.service-cta {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(45, 138, 94, 0.1) 0%, rgba(26, 90, 139, 0.1) 100%);
    border-radius: var(--radius-lg);
    text-align: center;
}

.service-cta p {
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.service-cta .cta-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* CTA区块 */
.cta-box {
    text-align: center;
    padding: 60px 20px;
}

.cta-box h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state p {
    font-size: 1rem;
}

/* 响应式 */
@media (max-width: 1024px) {
    .news-layout,
    .case-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar,
    .case-sidebar {
        position: static;
    }

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

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

@media (max-width: 768px) {
    .page-banner {
        padding: 100px 0 40px;
    }

    .page-banner h1 {
        font-size: 1.75rem;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item .news-thumb {
        width: 100%;
        height: 180px;
    }

    .news-item .news-content {
        padding: 20px;
    }

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

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

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

@media (max-width: 480px) {
    .case-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .related-list {
        grid-template-columns: 1fr;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav .nav-prev,
    .article-nav .nav-next {
        margin: 0 0 10px 0;
        text-align: left;
    }

    .cta-actions {
        flex-direction: column;
    }
}
