/* 
   ============================================
   版权所有 © 2026 墨迹语CMS 
   https://www.mojiyucms.com/
   ============================================ 
*/

/* Banner背景图片 */
.idx_banner {
    background: url(../img/banner.jpg) no-repeat center;
    background-size: cover;
}

/* 固定内容部分的链接使用#代替真实URL */
.idx_case .column .box a,
.idx_ad a.button {
    cursor: pointer;
}

/* 客户信赖部分样式 */
.idx_client {
    padding: 100px 0;
}

.idx_client .idx_titbox .en {
    color: #999999;
}

.idx_client .idx_titbox .cn {
    color: #222222;
}

.client_item {
    text-align: center;
    padding: 20px;
}

.client_item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.client_item p {
    font-size: 14px;
    color: #666;
}

/* Swiper轮播样式 */
.idx_client_swiper {
    padding: 20px 0;
}

.swiper-pagination-bullet-active {
    background: #079eff;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
    .idx_client {
        padding: 50px 0;
    }

    .client_item img {
        width: 60px;
        height: 60px;
    }
}

/* 列表页左侧最新文章样式 */
.latest_news {
    margin-top: 20px;
}

.latest_news .side_title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #079eff;
    background-color: #fff;
    padding: 15px 20px;
}

.latest_news .latest_list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
}

.latest_news .latest_list li {
    border-bottom: 1px dashed #e5e5e5;
}

.latest_news .latest_list li:last-child {
    border-bottom: none;
}

.latest_news .latest_list li a {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    padding-left: 35px;
}

.latest_news .latest_list li a:hover {
    background-color: #f8f9fa;
    color: #079eff;
    padding-left: 40px;
}

.latest_news .latest_list li .dot {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #079eff;
    font-weight: bold;
    font-size: 16px;
}

.latest_news .latest_list li .date {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 12px;
    background-color: #fff;
    padding-left: 5px;
}

.latest_news .latest_list li a:hover .date {
    background-color: #f8f9fa;
}

/* 左侧栏目导航active状态 */
.mar_l .help a.active {
    background-color: transparent;
    color: #fff;
}

.mar_l li.help a.active {
    background: url(../images/mar_05.jpg) no-repeat center;
    background-size: cover;
}

/* 详情页文章内容响应式样式 */
.arc_content .editbox {
    line-height: 1.8;
    font-size: 15px;
    color: #333;
}

.arc_content .editbox p {
    margin-bottom: 15px;
    text-align: justify;
}

.arc_content .editbox img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* H2和H3标题优化 */
.arc_content .editbox h2 {
    font-size: 22px;
    font-weight: bold;
    color: #222;
    margin: 30px 0 20px;
    padding-left: 15px;
    border-left: 4px solid #079eff;
    line-height: 1.4;
}

.arc_content .editbox h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 25px 0 15px;
    padding-left: 12px;
    border-left: 3px solid #079eff;
    line-height: 1.4;
    position: relative;
}

.arc_content .editbox h3::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #079eff, #4db8ff);
}

.arc_content .editbox h4 {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    margin: 20px 0 10px;
    padding-left: 10px;
    border-left: 2px solid #999;
}

/* 表格响应式优化 */
.arc_content .editbox table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

.arc_content .editbox table th,
.arc_content .editbox table td {
    border: 1px solid #e5e5e5;
    padding: 12px 15px;
    text-align: left;
}

.arc_content .editbox table th {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    font-weight: bold;
    color: #333;
    font-size: 15px;
}

.arc_content .editbox table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.arc_content .editbox table tr:hover {
    background-color: #f0f7ff;
    transition: background-color 0.3s;
}

/* 代码块响应式优化 */
.arc_content .editbox pre {
    background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
    border: 1px solid #ddd;
    border-left: 4px solid #079eff;
    border-radius: 4px;
    padding: 18px 20px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.arc_content .editbox pre::before {
    content: 'CODE';
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 10px;
    color: #999;
    font-weight: bold;
    letter-spacing: 1px;
}

.arc_content .editbox code {
    background-color: #f5f5f5;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-size: 14px;
    color: #d63384;
    border: 1px solid #ffe5ec;
}

.arc_content .editbox pre code {
    background-color: transparent;
    padding: 0;
    border: none;
    color: #333;
}

/* 列表优化 */
.arc_content .editbox ul,
.arc_content .editbox ol {
    margin: 15px 0 15px 25px;
    padding: 0;
}

.arc_content .editbox ul li,
.arc_content .editbox ol li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.arc_content .editbox ul li {
    list-style-type: disc;
}

.arc_content .editbox ol li {
    list-style-type: decimal;
}

/* 引用块优化 */
.arc_content .editbox blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #079eff;
    color: #666;
    font-style: italic;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .arc_content .editbox {
        font-size: 14px;
    }

    .arc_content .editbox h2 {
        font-size: 18px;
        margin: 20px 0 15px;
    }

    .arc_content .editbox h3 {
        font-size: 16px;
        margin: 18px 0 12px;
    }

    .arc_content .editbox h4 {
        font-size: 15px;
    }

    .arc_content .editbox table {
        font-size: 12px;
    }

    .arc_content .editbox table th,
    .arc_content .editbox table td {
        padding: 8px 10px;
    }

    .arc_content .editbox pre {
        padding: 12px 15px;
        font-size: 12px;
    }

    .arc_content .editbox code {
        font-size: 12px;
        padding: 2px 6px;
    }
}

/* ==================== 分站列表样式（仅首页显示） ==================== */

.branch_section {
    background: #20243e;
    padding: 40px 0;
    border-top: 1px solid #3c415e;
}

.branch_wrapper {
    /* 无需额外容器样式，直接使用 auto 布局 */
}

.branch_title {
    font-size: 22px;
    color: #ffffff;
    font-weight: normal;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.branch_title i {
    color: #079eff;
    margin-right: 10px;
    font-size: 22px;
}

.branch_grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.branch_grid a {
    padding: 8px 15px;
    margin: 5px;
    background: transparent;
    color: #99a6bf;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #3c415e;
    display: inline-flex;
    align-items: center;
}

.branch_grid a i {
    color: #079eff;
    margin-right: 6px;
    font-size: 12px;
    transition: transform 0.3s;
}

.branch_grid a:hover {
    background: #079eff;
    color: #fff;
    border-color: #079eff;
}

.branch_grid a:hover i {
    transform: translateX(2px);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .branch_section {
        padding: 30px 0;
    }

    .branch_title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .branch_title i {
        font-size: 18px;
    }

    .branch_grid a {
        padding: 6px 12px;
        font-size: 13px;
        margin: 3px;
    }
}