/* 全局变量 */
:root {
    --primary-color: #FF69B4;
    --secondary-color: #FFB6C1;
    --accent-color: #FF1493;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部信息栏 */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
}

/* 头部导航 */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* 主要内容区 */
.main-content {
    margin-top: 20px;
}

/* 轮播图区域 */
.hero-slider {
    background: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.slider-content {
    max-width: 800px;
    margin: 0 auto;
}

.slider-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--primary-color);
}

/* 核心服务 */
.core-services {
    padding: 60px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 15px;
}

/* 服务优势 */
.advantages {
    padding: 60px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 20px;
}

.advantage-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* 成功案例 */
.success-cases {
    padding: 60px 0;
    background: var(--light-gray);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.case-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 20px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    color: #666;
}

/* 专家团队 */
.expert-team {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.expert-card {
    text-align: center;
}

.expert-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

/* 联系我们 */
.contact-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    padding: 20px;
}

.contact-list {
    list-style: none;
    margin: 20px 0;
}

.contact-list li {
    margin: 10px 0;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--accent-color);
}

/* 页脚 */
.footer {
    background: #333;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .hero-slider {
        padding: 40px 0;
    }
    
    .slider-content h1 {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
    }
    
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 10px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* 列表页和内容页布局 */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-top: 30px;
}

/* 文章列表样式 */
.article-list {
    flex: 1;
}

.article-item {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.article-item:hover {
    transform: translateY(-5px);
}

.article-header {
    margin-bottom: 15px;
}

.article-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.article-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 0.9em;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.article-thumbnail {
    overflow: hidden;
    border-radius: 5px;
}

.article-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-thumbnail a:hover img {
    transform: scale(1.05);
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
}

.article-footer {
    display: flex;
    justify-content: flex-end;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--accent-color);
}

/* 侧边栏样式 */
.sidebar {
    width: 300px;
}

.sidebar-section {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.sidebar-title {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* 热门文章和最新文章列表 */
.hot-articles,
.latest-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-articles li,
.latest-articles li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hot-articles li:last-child,
.latest-articles li:last-child {
    border-bottom: none;
}

.hot-articles a,
.latest-articles a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.hot-articles a:hover,
.latest-articles a:hover {
    color: var(--primary-color);
}

.article-date {
    color: #999;
    font-size: 0.9em;
}

/* 联系我们样式 */
.contact-info {
    color: #666;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

/* 响应式布局 */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
    }

    .article-body {
        grid-template-columns: 1fr;
    }

    .article-thumbnail {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .article-meta {
        flex-wrap: wrap;
    }

    .article-title {
        font-size: 1.3em;
    }

    .article-excerpt {
        font-size: 0.95em;
    }
}

@media (max-width: 576px) {
    .article-item {
        padding: 15px;
    }

    .article-meta {
        font-size: 0.85em;
    }

    .article-thumbnail img {
        height: 200px;
    }

    .sidebar-section {
        padding: 15px;
    }
}

/* 移动端导航优化 */
@media (max-width: 992px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 10px 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links li a {
        display: block;
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block;
    }
}

/* 移动端内容布局优化 */
@media (max-width: 768px) {
    .main-content {
        margin-top: 10px;
    }

    .section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .article-content {
        padding: 15px;
    }

    .article-title {
        font-size: 1.3em;
    }

    .article-meta {
        font-size: 0.9em;
    }
}

/* 移动端页脚优化 */
@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section ul {
        margin-top: 10px;
    }
}

/* 自定义字段样式 */
.z58abediyfield {
    margin: 15px 0;
}

.z58abediyfield p {
    margin-bottom: 10px;
}

/* 相关内容样式 */
.related-articles {
    list-style: none;
}

.related-articles li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.related-articles li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-articles a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.related-articles a:hover {
    color: var(--primary-color);
}

.related-articles p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-main .article-header {
        padding: 20px;
    }

    .article-main .article-body {
        padding: 0 20px 20px;
    }

    .article-main .article-title {
        font-size: 1.5em;
    }
}

/* 服务优势介绍样式 */
.advantages-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: #666;
    line-height: 1.8;
}

.advantages-intro p {
    font-size: 1.1em;
}

/* 专家团队样式优化 */
.expert-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-card h3 {
    margin: 15px 0 10px;
}

.expert-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.expert-card h3 a:hover {
    color: var(--primary-color);
}

.expert-card p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

.expert-image a {
    display: block;
    overflow: hidden;
    border-radius: 50%;
}

.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.expert-image a:hover img {
    transform: scale(1.05);
}

/* 文章内容页样式 */
.article-content {
    margin-top: 30px;
}

.article-main {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.article-header {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.article-title {
    font-size: 2em;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9em;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-body {
    padding: 30px;
}

.article-content-frame {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content-frame p {
    margin-bottom: 1.5em;
    text-align: justify;
}

.article-content-frame h1,
.article-content-frame h2,
.article-content-frame h3,
.article-content-frame h4,
.article-content-frame h5,
.article-content-frame h6 {
    margin: 1.5em 0 1em;
    color: var(--text-color);
    line-height: 1.4;
    font-weight: 600;
}

.article-content-frame h1 { font-size: 1.8em; }
.article-content-frame h2 { font-size: 1.6em; }
.article-content-frame h3 { font-size: 1.4em; }
.article-content-frame h4 { font-size: 1.2em; }

.article-content-frame ul,
.article-content-frame ol {
    margin: 1em 0;
    padding-left: 2em;
}

.article-content-frame li {
    margin-bottom: 0.8em;
    line-height: 1.6;
}

.article-content-frame blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--primary-color);
    background: var(--light-gray);
    font-style: italic;
    color: #666;
}

.article-content-frame table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    overflow-x: auto;
}

.article-content-frame th,
.article-content-frame td {
    padding: 0.8em;
    border: 1px solid #ddd;
    text-align: left;
}

.article-content-frame th {
    background: var(--light-gray);
    font-weight: 600;
}

.article-content-frame img {
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.article-content-frame a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.article-content-frame a:hover {
    color: var(--accent-color);
}

.article-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    margin-bottom: 20px;
}

.article-tags i {
    color: var(--primary-color);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.prev-article,
.next-article {
    flex: 1;
}

.prev-article a,
.next-article a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.prev-article a:hover,
.next-article a:hover {
    color: var(--primary-color);
}

/* 响应式布局调整 */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
        margin-top: 30px;
    }

    .article-header {
        padding: 20px;
    }

    .article-body {
        padding: 20px;
    }

    .article-content-frame {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.6em;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .article-content-frame {
        font-size: 0.95em;
    }

    .article-content-frame h1 { font-size: 1.6em; }
    .article-content-frame h2 { font-size: 1.4em; }
    .article-content-frame h3 { font-size: 1.2em; }
    .article-content-frame h4 { font-size: 1.1em; }

    .article-nav {
        flex-direction: column;
        gap: 10px;
    }

    .prev-article,
    .next-article {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .article-header {
        padding: 15px;
    }

    .article-body {
        padding: 15px;
    }

    .article-title {
        font-size: 1.4em;
    }

    .article-meta {
        font-size: 0.85em;
    }

    .article-content-frame {
        font-size: 0.9em;
    }

    .article-content-frame img {
        margin: 1em 0;
    }

    .article-content-frame blockquote {
        padding: 0.8em 1em;
    }

    .article-content-frame table {
        display: block;
        overflow-x: auto;
    }
} 