/* 全局文本内容样式 - 保留空格和换行 */
p, .case-item p, .about-content p, .guide-content p, .law-item p, .news-content p, .mediator-bio, .mission-item p, .process-step p, .service-item p, .stat-item p, .contact-item p, .footer-section p {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主内容布局 */
.main-content {
    display: flex;
    margin-top: 20px;
}

/* 左侧导航栏 */
.sidebar {
    width: 250px;
    background-color: #F5F7FA;
    border-right: 1px solid #E5E6EB;
    padding: 20px;
    margin-right: 30px;
    border-radius: 8px;
    min-height: 600px;
}

.sidebar h3 {
    color: #D8262C;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D8262C;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background-color: #D8262C;
    color: white;
}

/* 右侧内容区域 */
.content {
    flex: 1;
    min-width: 0;
}

/* 响应式主内容布局 */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        min-height: auto;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .sidebar-nav li {
        margin-bottom: 0;
    }
    
    .sidebar-nav li a {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* 案例搜索区域 */
.case-search {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.case-search h3 {
    color: #D8262C;
    margin-bottom: 15px;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-group.half {
    flex: 0 0 48%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    font-size: 14px;
}

.case-search-btn {
    background-color: #D8262C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.case-search-btn:hover {
    background-color: #B8181F;
}

/* 案例列表 */
.case-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-item {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.case-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.case-item h4 {
    color: #333;
    margin-bottom: 10px;
}

.case-item p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.case-item .date {
    color: #999;
    font-size: 14px;
    text-align: right;
}

/* 联系我们页面 */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    font-size: 14px;
}

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

.submit-btn {
    background-color: #D8262C;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #B8181F;
}

.contact-info {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
}

.contact-info h4 {
    color: #D8262C;
    margin-bottom: 15px;
}

.contact-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info li:before {
    content: "•";
    color: #D8262C;
    font-weight: bold;
    margin-right: 5px;
}

.map-container {
    margin-top: 20px;
}

.map-container h4 {
    color: #D8262C;
    margin-bottom: 15px;
}

.map-placeholder {
    background-color: #F5F7FA;
    padding: 60px;
    border-radius: 8px;
    text-align: center;
    color: #999;
}

/* 关于我们页面 */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.organization {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.org-item {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.org-item h5 {
    color: #D8262C;
    margin-bottom: 10px;
}

.timeline {
    margin-top: 20px;
}

.timeline-item {
    display: flex;
    margin-bottom: 20px;
}

.timeline-date {
    width: 120px;
    font-weight: bold;
    color: #D8262C;
}

.timeline-content {
    flex: 1;
    padding-left: 20px;
    border-left: 2px solid #D8262C;
}

.timeline-content h5 {
    margin-bottom: 5px;
}

.org-note {
    background-color: #F5F7FA;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    font-style: italic;
}

.contact-note {
    background-color: #E3F2FD;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.contact-note h4 {
    color: #1976D2;
    margin-bottom: 15px;
}

.contact-note p {
    margin-bottom: 10px;
}

.mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mission-item {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.mission-item i {
    font-size: 24px;
    color: #D8262C;
    margin-bottom: 10px;
}

.mission-item h5 {
    margin-bottom: 10px;
}

/* 调解须知页面 */
.guide-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.document-list {
    list-style: none;
    margin-top: 10px;
}

.document-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #F5F7FA;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.document-link:hover {
    background-color: #E5E6EB;
}

.document-link i {
    color: #D8262C;
}

.faq-item {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.faq-item h4 {
    color: #D8262C;
    margin-bottom: 10px;
}

.download-note {
    background-color: #FFF3E0;
    padding: 15px;
    border-radius: 4px;
    color: #E65100;
    margin-top: 20px;
}

/* 新闻资讯页面 */
.news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.news-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-item h4 {
    margin-bottom: 10px;
}

.news-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-item h4 a:hover {
    color: #D8262C;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content {
    color: #666;
    line-height: 1.5;
}

/* 调解人员页面 */
.personnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.mediator-card {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.mediator-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mediator-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
}

.mediator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mediator-specialty {
    color: #D8262C;
    margin: 10px 0;
    font-size: 14px;
}

.mediator-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.mediator-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #E5E6EB;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-weight: bold;
    color: #D8262C;
    font-size: 18px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* 导航栏 */
.header {
    background-color: #B8181F;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    z-index: 1001;
}

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

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

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 15px;
    position: relative;
}

.nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #E6454A;
}

/* 二级导航 */
.nav ul li .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #B8181F;
    min-width: 180px;
    display: none;
    z-index: 1001;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav ul li:hover .submenu {
    display: block;
}

.nav ul li .submenu li {
    margin: 0;
    width: 100%;
}

.nav ul li .submenu li a {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav ul li {
        margin-left: 20px;
    }
    
    .nav ul li a {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav ul {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
    
    .nav ul li {
        margin-left: 15px;
        margin-bottom: 10px;
    }
    
    .search-container {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .search-input {
        width: calc(100% - 80px);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #B8181F;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .nav ul li a {
        padding: 10px 0;
        font-size: 16px;
    }
    
    .search-container {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    
    .search-input {
        width: calc(100% - 80px);
    }
    
    /* 二级导航在移动端的处理 */
    .nav ul li .submenu {
        position: static;
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        margin-top: 5px;
        margin-left: 20px;
    }
    
    .nav ul li .submenu li a {
        padding: 8px 0;
        font-size: 14px;
    }
}

.nav ul li .submenu li a:hover {
    background-color: #D8262C;
    color: white;
}

/* 搜索功能 */
.search-container {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px 0 0 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: #D8262C;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #E6454A;
}

/* 主横幅和数据区域 */
.main-banner {
    padding: 20px 0;
    background-color: #fff;
    border-bottom: 1px solid #E5E6EB;
}

.banner-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.banner-left {
    flex: 2;
}

.banner-right {
    flex: 1;
}

.banner-content {
    position: relative;
}

.banner-content img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    border-radius: 0 0 8px 8px;
}

.banner-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 16px;
    margin: 0;
}

/* 右侧数据 */
.location-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f5f7fa;
    border-radius: 8px;
}

.location-selector i {
    color: #D8262C;
    margin-right: 10px;
}

.location-selector span {
    margin-right: 10px;
    font-weight: 500;
}

.region-select {
    padding: 5px 10px;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    font-size: 14px;
}

.local-data {
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 8px;
}

.local-data h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.dispute-count {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.dispute-count span {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #D8262C;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    border-radius: 4px;
}

.enrolled-data {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.enrolled-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.enrolled-item i {
    color: #D8262C;
    margin-bottom: 10px;
    font-size: 24px;
}

.enrolled-item span:first-of-type {
    font-size: 20px;
    font-weight: bold;
    color: #D8262C;
    margin-bottom: 5px;
}

.enrolled-item span:last-of-type {
    color: #666;
    font-size: 14px;
}

.submit-dispute-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #D8262C;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-dispute-btn:hover {
    background-color: #E6454A;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-container {
        flex-direction: column;
    }
    
    .banner-left,
    .banner-right {
        flex: 100%;
    }
    
    .banner-right {
        margin-top: 20px;
    }
    
    .banner-content img {
        height: 200px;
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* 统计数据 */
.stats-section {
    padding: 40px 0;
    background-color: #f5f7fa;
    border-bottom: 1px solid #E5E6EB;
}

.stats-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #D8262C;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.stat-icon {
    font-size: 32px;
    color: #D8262C;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #D8262C;
    margin-bottom: 10px;
}

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

/* 调解案例 */
.case-showcase {
    padding: 40px 0;
    background-color: white;
    border-bottom: 1px solid #E5E6EB;
}

.case-showcase .container {
    max-width: 1200px;
    margin: 0 auto;
}

.case-showcase .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.case-showcase .section-header h3 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

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

.case-item {
    background-color: #f5f7fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
  flex-direction: column;  /* 重点：垂直排列 */
  align-items: flex-start;     /* 左对齐 */
  text-align: left;      /* 文字左对齐 */
  gap: 10px;               /* 图片和文字之间的间距 */
  margin-bottom: 20px;
}

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

.case-item img {
    width: 100%;
   max-width: 280px;
  height: auto;
  display: block;
}

.case-item h4 {
    font-size: 14px;
    color: #333;
    margin: 0;
  padding: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.case-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
  padding: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 解纷流程 */
.dispute-process {
    padding: 40px 0;
    background-color: #f5f7fa;
    border-bottom: 1px solid #E5E6EB;
}

.dispute-process .container {
    max-width: 1200px;
    margin: 0 auto;
}

.dispute-process .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.dispute-process .section-header h3 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.dispute-process .section-header p {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.process-step {
    background-color: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #D8262C;
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 20px;
}

.process-step h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 快捷入口 */
.quick-links {
    padding: 40px 0;
    background-color: #fff;
    border-bottom: 1px solid #E5E6EB;
}

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

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background-color: #f5f7fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e5e6eb;
}

.link-item:hover {
    background-color: #D8262C;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-icon {
    width: 60px;
    height: 60px;
    background-color: #D8262C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.link-item:hover .link-icon {
    background-color: #fff;
    color: #D8262C;
}

.link-icon i {
    font-size: 24px;
    color: #fff;
}

.link-item:hover .link-icon i {
    color: #D8262C;
}

.link-item span {
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
}

.link-item:hover span {
    color: #fff;
}

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

.main-content .container {
    display: flex;
    gap: 30px;
}

.content-left {
    flex: 1;
    min-width: 300px;
}

.content-right {
    flex: 1.5;
    min-width: 400px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D8262C;
}

.section-header h3 {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.more-link {
    color: #D8262C;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.more-link:hover {
    color: #E6454A;
}

/* 通知公告 */
.news-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-list {
    list-style: none;
}

.news-list li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e6eb;
}

.news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.news-list li a:hover {
    color: #D8262C;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-right: 10px;
}

/* 优秀调解员 */
.mediators-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mediator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.mediator-card {
    text-align: center;
    padding: 20px;
    background-color: #f5f7fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.mediator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mediator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #D8262C;
}

.mediator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mediator-card h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.mediator-specialty {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.mediator-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.mediator-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #E5E6EB;
}

.mediator-stats .stat {
    text-align: center;
}

.mediator-stats .stat-number {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #D8262C;
    margin-bottom: 5px;
}

.mediator-stats .stat-label {
    display: block;
    font-size: 12px;
    color: #666;
}

/* 服务内容 */
.services-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.service-item {
    padding: 20px;
    background-color: #f5f7fa;
    border-radius: 8px;
    transition: all 0.3s;
    border-left: 4px solid #165DFF;
}

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

.service-item h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.service-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* 调解流程 */
.process-section {
    padding: 40px 0;
    background-color: #fff;
    border-top: 1px solid #E5E6EB;
    border-bottom: 1px solid #E5E6EB;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background-color: #f5f7fa;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #D8262C;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.process-step p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 联系我们 */
.contact-section {
    padding: 40px 0;
    background-color: #f5f7fa;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    flex: 1;
    max-width: 250px;
}

.contact-item i {
    font-size: 24px;
    color: #D8262C;
}

.contact-item p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* 新闻资讯和通知公告 */
.news-notice {
    padding: 40px 0;
    background-color: #f5f7fa;
    border-bottom: 1px solid #E5E6EB;
}

.news-notice .container {
    display: flex;
    gap: 30px;
}

.news-notice .content-left,
.news-notice .content-right {
    flex: 1;
    min-width: 300px;
}

.notice-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notice-list {
    list-style: none;
}

.notice-list li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e6eb;
}

.notice-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.notice-list li a:hover {
    color: #D8262C;
}

.notice-date {
    font-size: 12px;
    color: #999;
    margin-right: 10px;
}

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

.service-card {
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
    border-left: 4px solid #D8262C;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card h4 {
    margin-bottom: 15px;
    color: #D8262C;
    font-size: 18px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '•';
    color: #D8262C;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 法律知识 */
.legal-knowledge {
    padding: 40px 0;
    background-color: white;
    border-bottom: 1px solid #E5E6EB;
}

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

.legal-card {
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
    border: 1px solid #e5e6eb;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #D8262C;
}

.legal-card h4 {
    margin-bottom: 10px;
    color: #D8262C;
    font-size: 16px;
}

.legal-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 证书展示 */
.certificate-showcase {
    padding: 40px 0;
    background-color: #f5f7fa;
    border-bottom: 1px solid #E5E6EB;
}

.certificate-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.certificate-item {
    text-align: center;
    transition: all 0.3s;
    max-width: 400px;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.certificate-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e5e6eb;
    padding: 20px;
    background-color: white;
}

.certificate-item p {
    margin-top: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-notice .container {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .legal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .certificate-item {
        max-width: 100%;
    }
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 18px;
    color: #E6454A;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #444;
}

.footer-section p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #E6454A;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #E6454A;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        min-width: 100%;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
    
    .main-content .container {
        flex-direction: column;
    }
    
    .content-left,
    .content-right {
        width: 100%;
        min-width: unset;
    }
    
    .link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mediator-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .banner-container {
        flex-direction: column;
    }
    
    .banner-left,
    .banner-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav ul {
        margin-top: 15px;
    }

    .nav ul li {
        margin-left: 0;
        margin-right: 20px;
    }

    .banner-text h3 {
        font-size: 20px;
    }

    .banner-text p {
        font-size: 14px;
    }

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

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

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        max-width: 100%;
        width: 100%;
    }
    
    .enrolled-data {
        flex-direction: column;
        gap: 20px;
    }
}

/* 底部横幅 */
.bottom-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/底部banner.png') center/cover no-repeat;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.bottom-banner .container {
    max-width: 100%;
    padding: 0 20px;
}

.banner-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D8262C;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.view-more-btn:hover {
    background-color: #E6454A;
}

/* 法律法规页面 */
.laws {
    padding: 60px 0;
}

.laws h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #D8262C;
}

.law-list {
    list-style: none;
}

.law-item {
    padding: 20px;
    border-bottom: 1px solid #E5E6EB;
    transition: background-color 0.3s;
}

.law-item:hover {
    background-color: #F5F7FA;
}

.law-item h4 {
    margin-bottom: 10px;
    color: #333;
}

.law-item p {
    color: #666;
    font-size: 14px;
}

/* 调解风采页面 */
.style {
    padding: 60px 0;
}

.style h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #D8262C;
}

.style-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.style-item {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.style-item h4 {
    margin-bottom: 15px;
    color: #333;
}

.style-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.style-item .date {
    font-size: 12px;
    color: #999;
}

/* 调解指南页面 */
.guide {
    padding: 60px 0;
}

.guide h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #D8262C;
}

.guide-content {
    background-color: #F5F7FA;
    padding: 30px;
    border-radius: 8px;
}

.guide-content h4 {
    margin-bottom: 20px;
    color: #333;
}

.guide-content p {
    margin-bottom: 10px;
    color: #666;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;
}

.guide-content {
    background-color: #F5F7FA;
    padding: 30px;
    border-radius: 8px;
    white-space: pre-wrap;
}

.guide-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    list-style: none;
    padding-left: 0;
}

.guide-content ul li {
    margin-bottom: 5px;
    color: #666;
    position: relative;
    padding-left: 15px;
}

.guide-content ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 0;
    height: 0;
}

/* 文档列表样式 */
.document-list {
    list-style: none;
    padding-left: 0;
}

.document-list li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.document-list li:hover {
    background-color: #f0f0f0;
}

.document-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.document-link:hover {
    color: #D8262C;
}

.document-link i {
    margin-right: 10px;
    font-size: 18px;
    color: #D8262C;
}

.document-link span {
    flex: 1;
}

/* 调解员名录页面 */
.mediators-list {
    padding: 60px 0;
}

.mediators-list h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #D8262C;
}

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

.mediator-card {
    text-align: center;
    transition: transform 0.3s;
}

.mediator-card:hover {
    transform: translateY(-5px);
}

.mediator-card .avatar {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #f0f0f0;
}

.mediator-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mediator-card h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: normal;
}

/* 调解员名录页面响应式设计 */
@media (max-width: 1200px) {
    .mediator-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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

/* 分页器 */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 10px;
}

.pagination li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination li a:hover {
    background-color: #F5F7FA;
    border-color: #D8262C;
    color: #D8262C;
}

.pagination li a.active {
    background-color: #D8262C;
    color: white;
    border-color: #D8262C;
}

/* 分页器响应式设计 */
@media (max-width: 768px) {
    .pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination li a {
        padding: 6px 12px;
        font-size: 14px;
    }
}

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

.modal-content {
    background-color: #fefefe;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.modal-avatar {
    flex: 0 0 auto;
}

.modal-avatar img {
    width: 150px;
    height: auto;
    border-radius: 4px;
}

.modal-info {
    flex: 1;
}

.modal-info h3 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
}

.modal-info p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 证书查询页面 */
.certificate {
    padding: 60px 0;
    background-color: #F5F7FA;
}

.certificate h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #D8262C;
}

.certificate-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.certificate-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certificate-form h4 {
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

.certificate-info {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certificate-info h4 {
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

.certificate-info ul {
    list-style: none;
    margin-left: 0;
}

.certificate-info ul li {
    margin-bottom: 10px;
    color: #666;
    padding-left: 20px;
    position: relative;
}

.certificate-info ul li::before {
    content: '•';
    color: #D8262C;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 案例搜索功能 */
.case-search {
    padding: 20px;
    background-color: #F5F7FA;
    margin-bottom: 30px;
    border-radius: 8px;
}

.case-search h3 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.case-search h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(to right, transparent, #D8262C, transparent);
}

.search-form {
    max-width: 100%;
    margin: 0 auto;
}

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

.form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.form-group.half {
    flex: 0 0 calc(50% - 10px);
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.case-input,
.name-input,
.phone-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    font-size: 14px;
}

.case-type {
    width: 100%;
    padding: 8px;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    font-size: 14px;
}

.case-search-btn {
    display: block;
    width: 150px;
    padding: 10px;
    background-color: #D8262C;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    margin: 20px auto 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.case-search-btn:hover {
    background-color: #B8181F;
}

/* 登录页面 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.login-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #D8262C;
    font-size: 24px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.login-form .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    font-size: 14px;
}

.login-form .form-group.remember {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.login-form .form-group.remember input {
    width: auto;
    margin-right: 10px;
}

.login-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #D8262C;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #E6454A;
}

.test-note {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #999;
}

/* 工作台页面 */
.dashboard-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E6EB;
}

.dashboard-header h2 {
    color: #D8262C;
    font-size: 24px;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logout-btn {
    padding: 8px 16px;
    background-color: #165DFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #4080FF;
}

.tab-container {
    margin-bottom: 40px;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #E5E6EB;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: #D8262C;
}

.tab-btn.active {
    color: #D8262C;
    border-bottom-color: #D8262C;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.case-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.case-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background-color: #F5F7FA;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-info h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.case-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.case-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-btn:not(.view-btn) {
    background-color: #D8262C;
    color: white;
}

.action-btn:not(.view-btn):hover {
    background-color: #E6454A;
}

.view-btn {
    background-color: #165DFF;
    color: white;
}

.view-btn:hover {
    background-color: #4080FF;
}

/* 新闻资讯页面 */
.news {
    padding: 60px 0;
}

.news h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #D8262C;
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-category {
    background-color: #F5F7FA;
    padding: 30px;
    border-radius: 8px;
}

.news-category h4 {
    margin-bottom: 20px;
    color: #D8262C;
    font-size: 18px;
    border-bottom: 2px solid #D8262C;
    padding-bottom: 10px;
}

.news-list {
    list-style: none;
    padding: 0;
}

.news-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E6EB;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-item a {
    text-decoration: none;
    color: #333;
    display: block;
    transition: all 0.3s;
}

.news-item a:hover {
    color: #D8262C;
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.news-item h5 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.news-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 关于我们页面 */
.about {
    padding: 60px 0;
}

.about h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #D8262C;
}

.about-content {
    background-color: #F5F7FA;
    padding: 30px;
    border-radius: 8px;
}

.about-content h4 {
    margin-bottom: 20px;
    color: #333;
}

.about-content p {
    margin-bottom: 15px;
    color: #666;
    white-space: pre-wrap;
    line-height: 1.6;
}

.organization {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.org-item {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    text-align: center;
}

.org-item h5 {
    margin-bottom: 10px;
    color: #333;
}

.org-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.timeline {
    margin-bottom: 30px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 30px;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: #D8262C;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.timeline-content h5 {
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.mission {
    display: flex;
    flex-wrap: wrap;
}

.mission-item {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    text-align: center;
}

.mission-item i {
    font-size: 32px;
    color: #165DFF;
    margin-bottom: 15px;
}

.mission-item h5 {
    margin-bottom: 10px;
    color: #333;
}

.mission-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 公司简介 */
.company-info {
    padding: 60px 0;
    background-color: #F5F7FA;
}

.company-info h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #D8262C;
}

.info-content {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-item {
    background-color: #F5F7FA;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #D8262C;
}

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

.info-item h4 {
    color: #D8262C;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.info-item p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.8;
}

/* 时间轴 */
.timeline {
    margin-top: 20px;
}

.timeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #E5E6EB;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 140px;
}

.timeline-content {
    text-align: center;
    max-width: 140px;
}

.timeline-year {
    font-size: 18px;
    font-weight: bold;
    color: #D8262C;
    margin-bottom: 10px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #D8262C;
    border: 4px solid #F5F7FA;
    box-shadow: 0 0 0 2px #D8262C;
    margin-bottom: 10px;
}

.timeline-content {
    text-align: center;
    max-width: 150px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* 服务理念卡片 */
.service-philosophy .philosophy-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.philosophy-card {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.philosophy-icon {
    width: 60px;
    height: 60px;
    background-color: #165DFF;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.philosophy-card h5 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.philosophy-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 资质证书 */
.certificates {
    padding: 60px 0;
    background-color: white;
}

.certificates h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #D8262C;
}

.certificate-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.certificate-item {
    flex: 1;
    min-width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.certificate-image {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certificate-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.certificate-item h4 {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

/* 联系我们页面 */
.contact-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #E5E6EB;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.contact {
    padding: 60px 0;
    background-color: #F5F7FA;
    width: 100%;
}

.contact-form h4 {
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E5E6EB;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #D8262C;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background-color: #E6454A;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav ul {
        margin-top: 15px;
    }

    .nav ul li {
        margin-left: 0;
        margin-right: 20px;
    }

    .stats .container,
    .mediator-list,
    .service-list,
    .process-steps,
    .contact-info {
        flex-direction: column;
    }

    .stat-item,
    .mediator-item,
    .service-item,
    .process-step,
    .contact-item {
        margin: 10px 0;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .style-list,
    .mediator-grid {
        grid-template-columns: 1fr;
    }

    .organization,
    .mission {
        flex-direction: column;
    }

    .org-item,
    .mission-item {
        margin: 10px 0;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-date {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-info {
        margin-right: 0;
    }

    /* 地区选择和本地数据响应式 */
    .location-selector {
        flex-direction: column;
        align-items: flex-start;
    }

    .location-selector i,
    .location-selector span {
        margin-bottom: 10px;
    }

    .dispute-count {
        flex-wrap: wrap;
    }

    .dispute-count span {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: 5px;
    }

    .enrolled-data {
        flex-direction: column;
        align-items: center;
    }

}