﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background: #fff;
    color: #222;
    font-size: 14px;
}

.container {
    width: 1600px;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 10px;
}

p {
    text-indent: 2em;
    line-height: 26px;
}

/* 顶部 H1 通栏 */
.top-bar {
    height: 40px;
    background: #222;
    color: #fff;
    line-height: 40px;
    font-size: 14px;
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar h1 {
        font-size: 14px;
        font-weight: normal;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-bar .tel  a{
        color: #fff;
        font-weight: bold;
        text-decoration:none;
    }

/* Logo 区 */
.logo-header {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

    .logo-header .container {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }

.logo img {
    height: 60px;
    display: block;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 600px;
}

    .search-box input {
        flex: 1;
        height: 40px;
        padding: 0 10px;
        border: 1px solid #ccc;
        outline: none;
        font-size: 14px;
    }

    .search-box button {
        width: 80px;
        height: 40px;
        background: #2563eb;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 14px;
    }

.header-img {
    width: 200px;
    height: 60px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    color: #999;
    font-size: 13px;
}

    .header-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* 城市导航 */
.city-nav {
    padding: 12px 0;
    background: #f8f8f8;
    margin-bottom: 20px;
}

    .city-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        list-style: none;
    }

        .city-nav ul li a {
            color: #333;
            text-decoration: none;
            padding: 5px 12px;
            font-size: 14px;
            transition: all 0.2s;
        }

            .city-nav ul li a:hover {
                color: #2563eb;
                text-decoration: underline;
            }

            .city-nav ul li a.active-city {
                background: #2563eb;
                color: #fff;
                border-radius: 3px;
            }

/* 面包屑 */
.bread {
    padding: 8px 0 15px;
    font-size: 14px;
    color: #666;
}

    .bread a {
        color: #2563eb;
        text-decoration: none;
    }

        .bread a:hover {
            text-decoration: underline;
        }

/* 三列布局（首页推荐区块） */
.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.box {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 4px;
    background: #fff;
}

.box-title {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: bold;
}

    .box-title a {
        font-size: 14px;
        color: #2563eb;
        text-decoration: none;
        font-weight: normal;
    }

        .box-title a:hover {
            text-decoration: underline;
        }

.news-list li {
    list-style: none;
    padding: 6px 0;
    border-bottom: dashed 1px #eee;
}

    .news-list li a {
        color: #333;
        text-decoration: none;
    }

        .news-list li a:hover {
            color: #2563eb;
        }

/* 公司条目 */
.company-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: dashed 1px #eee;
    align-items: flex-start;
}

    .company-item:last-child {
        border-bottom: none;
    }

    .company-item .img-box {
        width: 138px;
        height: 138px;
        flex-shrink: 0;
        border: 1px solid #eee;
        background: #fafafa;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 12px;
        border-radius: 4px;
        overflow: hidden;
    }

        .company-item .img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    .company-item .info {
        flex: 1;
    }

        .company-item .info h4 {
            font-size: 15px;
            margin-bottom: 4px;
        }

            .company-item .info h4 a {
                color: #222;
                text-decoration: none;
            }

                .company-item .info h4 a:hover {
                    color: #2563eb;
                }

        .company-item .info p {
            font-size: 13px;
            color: #666;
            line-height: 1.5;
            text-indent: 0;
        }

/* 城市公司网格 */
.city-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.city-card {
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 4px;
    background: #fff;
}

    .city-card h3 {
        border-bottom: 1px solid #eee;
        padding-bottom: 8px;
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
        font-size: 16px;
    }

        .city-card h3 a {
            font-size: 14px;
            color: #2563eb;
            text-decoration: none;
            font-weight: normal;
        }

            .city-card h3 a:hover {
                text-decoration: underline;
            }

/* 左右分栏布局（城市分站页） */
.content-wrap {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.article-wrap {
    flex: 1;
    min-width: 0;
}

.side-box {
    width: 400px;
    flex-shrink: 0;
}

/* 公司列表大盒子 */
.company-list-box {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    background: #fff;
}

    .company-list-box .box-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .company-list-box .company-item .img-box {
        width: 138px;
        height: 138px;
    }

    .company-list-box .company-item .info h4 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .company-list-box .company-item .info p {
        font-size: 14px;
        line-height: 1.6;
    }

/* 分页 */
.page-turn {
    margin: 20px 0;
    text-align: center;
}

    .page-turn a {
        display: inline-block;
        padding: 6px 12px;
        border: 1px solid #eee;
        text-decoration: none;
        color: #333;
        margin: 0 3px;
        border-radius: 3px;
        transition: 0.2s;
    }

        .page-turn a:hover,
        .page-turn a.active {
            background: #2563eb;
            color: #fff;
            border-color: #2563eb;
        }

/* 侧边卡片 */
.widget-card {
    width: 400px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
}

    .widget-card h3 {
        font-size: 17px;
        color: #222;
        border-left: 4px solid #2563eb;
        padding-left: 10px;
        margin-bottom: 14px;
        line-height: 1.4;
    }

.side-list {
    list-style: none;
}

    .side-list li {
        padding: 7px 0;
        border-bottom: 1px dotted #eee;
    }

        .side-list li:last-child {
            border-bottom: none;
        }

        .side-list li a {
            color: #333;
            text-decoration: none;
            font-size: 14px;
        }

            .side-list li a:hover {
                color: #2563eb;
            }
        .side-list li span {
            float: right;
        }

/* 文章详情内容 */
.article-detail {
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 4px;
    margin-bottom: 20px;
    background: #fff;
}

    .article-detail h2 {
        font-size: 24px;
        margin-bottom: 16px;
        color: #222;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .article-detail h3 {
        font-size: 18px;
        margin: 18px 0 10px;
        color: #222;
    }

    .article-detail p {
        margin-bottom: 12px;
    }

/* 底部 */
.footer {
    margin-top: 40px;
    padding: 20px 0;
    background: #222;
    color: #aaa;
    text-align: center;
    font-size: 14px;
}
.footer a{
    color: #aaa;
    font-size: 14px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .top-bar h1 {
        font-size: 12px;
        white-space: normal;
        line-height: 1.3;
    }

    .top-bar {
        height: auto;
        padding: 8px 0;
    }

        .top-bar .container {
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
        }

    .logo-header .container {
        flex-wrap: wrap;
    }

    .header-img {
        width: 100%;
        height: 50px;
    }

    .search-box {
        max-width: 100%;
    }

    .row-2,
    .city-company-grid {
        grid-template-columns: 1fr;
    }

    .content-wrap {
        flex-direction: column;
    }

    .side-box {
        width: 100%;
    }

    .company-list-box .company-item .img-box {
        width: 80px;
        height: 80px;
    }

    .company-list-box .company-item .info h4 {
        font-size: 15px;
    }
}
