/* 征信网点导航站样式 */

/* 搜索Banner */
.credit-banner {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    padding: 50px 0;
    color: #fff;
}
.credit-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.credit-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}
.credit-banner p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}
.credit-search-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.credit-search-box form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.credit-search-box select,
.credit-search-box .keyword-input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}
.credit-search-box select {
    min-width: 120px;
}
.credit-search-box .keyword-input {
    flex: 1;
    min-width: 200px;
}
.credit-search-box .search-btn {
    background: #0056b3;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.credit-search-box .search-btn:hover {
    background: #003d82;
}
.credit-hot-city {
    margin-top: 20px;
    font-size: 14px;
}
.credit-hot-city span {
    opacity: 0.8;
    margin-right: 10px;
}
.credit-hot-city a {
    color: #fff;
    margin: 0 8px;
    text-decoration: none;
    opacity: 0.9;
}
.credit-hot-city a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* 官网入口提示 */
.credit-official-entry {
    background: #fff8e6;
    border-bottom: 1px solid #ffe0a3;
    padding: 12px 0;
}
.credit-official-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
    color: #8a6d3b;
}
.credit-official-inner a {
    color: #0056b3;
    text-decoration: none;
    margin: 0 5px;
}
.credit-official-inner a:hover {
    text-decoration: underline;
}
.credit-official-inner .divider {
    margin: 0 10px;
    color: #ddd;
}

/* 网点列表 + 地图 */
.credit-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}
.credit-list-wrap {
    flex: 1;
    min-width: 0;
}
.credit-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0056b3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.credit-title span {
    font-weight: bold;
}
.credit-title em {
    font-size: 14px;
    color: #999;
    font-style: normal;
}
.credit-list {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.outlet-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}
.outlet-item:hover {
    background: #f8f9fa;
}
.outlet-item:last-child {
    border-bottom: none;
}
.outlet-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.outlet-name a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
.outlet-name a:hover {
    color: #0056b3;
}
.outlet-type {
    background: #e8f4ff;
    color: #0056b3;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}
.outlet-address,
.outlet-phone,
.outlet-hours {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}
.outlet-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}
.btn-detail,
.btn-nav {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-detail {
    background: #0056b3;
    color: #fff;
}
.btn-detail:hover {
    background: #003d82;
}
.btn-nav {
    background: #fff;
    color: #0056b3;
    border: 1px solid #0056b3;
}
.btn-nav:hover {
    background: #e8f4ff;
}
.pagination {
    margin-top: 20px;
    text-align: center;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.pagination a:hover {
    border-color: #0056b3;
    color: #0056b3;
}
.pagination .current {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

/* 地图 */
.credit-map-wrap {
    width: 400px;
    flex-shrink: 0;
}
#outlet-map {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    background: #f0f0f0;
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .credit-banner h1 {
        font-size: 24px;
    }
    .credit-search-box form {
        flex-direction: column;
    }
    .credit-search-box select,
    .credit-search-box .keyword-input,
    .credit-search-box .search-btn {
        width: 100%;
    }
    .credit-section {
        flex-direction: column;
    }
    .credit-map-wrap {
        width: 100%;
    }
    #outlet-map {
        height: 300px;
    }
}

/* 面包屑 */
.credit-breadcrumb {
    background: #f5f7fa;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
}
.credit-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
}
.credit-breadcrumb a {
    color: #0056b3;
    text-decoration: none;
}
.credit-breadcrumb a:hover {
    text-decoration: underline;
}

/* 分类页头部 */
.credit-category-header {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    padding: 30px 0;
    color: #fff;
}
.credit-category-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.credit-category-inner h1 {
    font-size: 28px;
    margin-bottom: 10px;
}
.credit-category-inner p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}
.credit-category-inner .credit-search-box {
    max-width: 600px;
    margin: 0 auto;
}

/* 子栏目导航 */
.credit-subcat {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
}
.credit-subcat-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.credit-subcat h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}
.subcat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.subcat-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #f5f7fa;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}
.subcat-item:hover {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}
.subcat-name {
    font-size: 14px;
    margin-right: 8px;
}
.subcat-count {
    font-size: 12px;
    color: #999;
}
.subcat-item:hover .subcat-count {
    color: rgba(255,255,255,0.8);
}

/* 网点详情 */
.credit-detail {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}
.credit-detail-main {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.credit-detail-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.credit-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 13px;
    color: #999;
}
.credit-detail-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}
.info-item {
    display: flex;
    margin-bottom: 12px;
    font-size: 15px;
}
.info-item:last-child {
    margin-bottom: 0;
}
.info-label {
    width: 100px;
    color: #666;
    flex-shrink: 0;
}
.info-value {
    color: #333;
    flex: 1;
}
.info-value a {
    color: #0056b3;
    text-decoration: none;
}
.credit-detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.btn-nav-large, .btn-call-large {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
}
.btn-nav-large {
    background: #0056b3;
}
.btn-call-large {
    background: #28a745;
}
.credit-detail-map {
    height: 350px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
}
#detail-map {
    width: 100%;
    height: 100%;
}
.credit-detail-content {
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}
.credit-detail-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #0056b3;
}
.credit-prev-next {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.credit-prev-next a {
    color: #666;
    text-decoration: none;
}
.credit-prev-next a:hover {
    color: #0056b3;
}

/* 侧边栏 */
.credit-detail-sidebar {
    width: 300px;
    flex-shrink: 0;
}
.sidebar-box {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.sidebar-box h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0056b3;
}
.hot-city-list, .related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hot-city-list li, .related-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.hot-city-list li:last-child, .related-list li:last-child {
    border-bottom: none;
}
.hot-city-list a, .related-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.hot-city-list a:hover, .related-list a:hover {
    color: #0056b3;
}

/* 分页 */
.credit-pagination {
    margin-top: 30px;
    text-align: center;
}
.credit-pagination a, .credit-pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.credit-pagination .current {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

@media (max-width: 768px) {
    .credit-detail {
        flex-direction: column;
    }
    .credit-detail-sidebar {
        width: 100%;
    }
    .credit-detail-actions {
        flex-direction: column;
    }
}
