/* ============================================
   嘉诚保险服务网站 - 自定义样式
   主色调: #0066cc (蓝色，保险行业)
   ============================================ */

:root {
    --primary-color: #0066cc;
    --primary-dark: #004499;
    --primary-light: #0088dd;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #6c757d;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.7;
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ============================================
   顶部信息栏
   ============================================ */
.top-bar {
    background-color: #f5f7fa;
    border-bottom: 1px solid #e8ecf0;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}

.top-bar-left span i {
    color: var(--primary-color);
    margin-right: 4px;
}

.top-bar-right a {
    color: #666;
}

.top-bar-right a:hover {
    color: var(--primary-color);
}

/* ============================================
   Logo 和搜索区
   ============================================ */
.header-main {
    padding: 20px 0;
    background: #fff;
}

.site-logo {
    max-height: 70px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-name {
    display: inline-block;
}

.header-search {
    padding-top: 15px;
}

.header-qrcode img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 2px;
}

.search-form .input-group {
    max-width: 350px;
    margin-left: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   导航栏
   ============================================ */
.jc-navbar {
    background-color: transparent !important;
    box-shadow: none;
    padding: 0;
}

.jc-navbar > .container {
    background-color: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    padding-left: 0;
    padding-right: 0;
}

/* 导航菜单均匀分布 */
.jc-navbar .navbar-collapse {
    justify-content: center;
}

.jc-navbar .navbar-nav {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100%;
    justify-content: space-evenly;
}

.jc-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 8px 18px !important;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.3s;
    border-radius: 20px;
}

.jc-navbar .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff !important;
}

.jc-navbar .navbar-nav .nav-item.active .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    background-color: transparent;
}

.jc-navbar .dropdown-menu {
    border: none;
    background: transparent;
    box-shadow: none;
    margin-top: 0;
    padding: 8px 12px;
    min-width: auto;
}

.jc-navbar .dropdown-menu.show {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    background: rgba(0, 51, 102, 0.85);
    border-radius: 10px;
    width: max-content;
}

.jc-navbar .dropdown-item {
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border-radius: 20px;
    transition: all 0.3s;
    white-space: nowrap;
}

.jc-navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 20px;
}

.jc-navbar .dropdown-toggle::after {
    display: none !important;
}

/* 桌面端鼠标悬停显示下拉菜单 */
@media (min-width: 992px) {
    .jc-navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        background: rgba(0, 51, 102, 0.85);
        border-radius: 10px;
        padding: 8px 12px;
        width: max-content;
    }
    .jc-navbar .nav-item.dropdown:hover > .nav-link {
        background-color: rgba(255, 255, 255, 0.15);
        color: #fff !important;
        border-radius: 20px;
    }
}

/* ============================================
   主内容区
   ============================================ */
.main-content {
    min-height: 400px;
}

/* ============================================
   首页 - 轮播图
   ============================================ */
.home-banner {
    max-height: 500px;
    overflow: hidden;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
    border-radius: 8px;
    margin-top: 15px;
}

@media (min-width: 576px) {
    .home-banner { max-width: 540px; }
}
@media (min-width: 768px) {
    .home-banner { max-width: 720px; }
}
@media (min-width: 992px) {
    .home-banner { max-width: 960px; }
}
@media (min-width: 1200px) {
    .home-banner { max-width: 1140px; }
}

.home-banner .carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.home-banner .carousel-inner {
    border-radius: 8px;
    overflow: hidden;
}

.home-banner {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.home-banner .carousel-caption {
    background: rgba(0, 0, 0, 0.3);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
}

.home-banner .carousel-caption h2 {
    font-size: 32px;
    font-weight: 700;
}

.banner-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.banner-placeholder h1 {
    font-size: 42px;
    font-weight: 700;
}

.banner-placeholder .lead {
    font-size: 20px;
    margin-top: 15px;
}

/* ============================================
   首页 - 快捷服务入口
   ============================================ */
.home-quick-service {
    background: #fff;
    padding: 30px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.quick-item {
    text-align: center;
    padding: 15px;
    transition: all 0.3s;
}

.quick-item a {
    color: var(--text-color);
    display: block;
}

.quick-item:hover {
    transform: translateY(-5px);
}

.quick-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    font-size: 28px;
    margin: 0 auto 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.quick-item:hover .quick-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.quick-item h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.quick-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   首页 - 通用区块
   ============================================ */
.home-section {
    padding: 25px 0;
}

.section-header {
    margin-bottom: 40px;
    position: relative;
}

.section-header.text-center .section-title {
    display: inline-block;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-header.text-left .section-title::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    display: block;
    font-size: 14px;
    color: #aaa;
    letter-spacing: 2px;
    margin-top: 8px;
    text-transform: uppercase;
}

/* ============================================
   首页 - 公司简介
   ============================================ */
.home-about {
    background: #fff;
}

.about-img-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.2);
}

.about-img-icon {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.9);
}

.about-content {
    color: #555;
    line-height: 2;
}

.about-content p {
    margin-bottom: 15px;
}

/* ============================================
   产品卡片
   ============================================ */
.product-grid {
    margin-top: 20px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-img-link {
    display: block;
    overflow: hidden;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: 147px;
    background: #fff;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.4s;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-view-btn {
    color: #fff;
    font-size: 15px;
    padding: 8px 20px;
    border: 2px solid #fff;
    border-radius: 25px;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-title a {
    color: var(--text-color);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    min-height: 40px;
}

/* ============================================
   首页 - 资讯动态
   ============================================ */
.home-news {
    background: #fff;
}

.news-block {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.news-block-header {
    background: var(--secondary-color);
    padding: 12px 20px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-block-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--primary-color);
}

.news-block-header h4 i {
    margin-right: 8px;
}

.more-link {
    font-size: 13px;
    color: var(--text-muted);
}

.more-link:hover {
    color: var(--primary-color);
}

.news-list {
    list-style: none;
    padding: 15px 20px;
    margin: 0;
}

.news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

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

.news-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 14px;
}

.news-list li a:hover .news-title {
    color: var(--primary-color);
}

.news-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}

.news-date {
    font-size: 12px;
    color: #aaa;
    white-space: nowrap;
}

/* ============================================
   首页 - CTA 行动号召
   ============================================ */
.home-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.home-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.home-cta p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons .btn {
    margin: 5px;
}

/* ============================================
   页面横幅
   ============================================ */
.page-banner {
    padding: 50px 0;
    color: #fff;
    text-align: center;
}

.page-banner-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   面包屑
   ============================================ */
.jc-breadcrumb {
    margin: 20px 0;
    background: transparent;
}

.jc-breadcrumb .breadcrumb {
    background: #f5f7fa;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
}

.jc-breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
}

.jc-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.jc-breadcrumb .breadcrumb-item.active {
    color: var(--primary-color);
}

/* ============================================
   页面容器
   ============================================ */
.page-container {
    padding-bottom: 50px;
}

/* ============================================
   左侧菜单
   ============================================ */
.sidebar-menu {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.sidebar-title {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
}

.sidebar-list {
    margin: 0;
    padding: 0;
}

.sidebar-list li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li a {
    display: block;
    padding: 12px 20px;
    color: #555;
    font-size: 15px;
    transition: all 0.2s;
}

.sidebar-list li a:hover {
    background: #f5f7fa;
    color: var(--primary-color);
    padding-left: 25px;
}

.sidebar-list li.active a {
    background: #e6f0ff;
    color: var(--primary-color);
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
}

.sidebar-list li a i {
    margin-right: 8px;
    color: #ccc;
}

.sidebar-list li.active a i,
.sidebar-list li a:hover i {
    color: var(--primary-color);
}

/* 联系卡片 */
.sidebar-contact {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.sidebar-contact h5 {
    color: var(--primary-color);
    font-size: 16px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar-contact p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.sidebar-related h5 {
    color: var(--primary-color);
    font-size: 16px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    margin-top: 20px;
}

.sidebar-related ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.sidebar-related ul li a {
    font-size: 14px;
    color: #555;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-related ul li a:hover {
    color: var(--primary-color);
}

.related-date {
    font-size: 12px;
    color: #aaa;
    display: block;
    margin-top: 2px;
}

/* ============================================
   内容区域
   ============================================ */
.content-area {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-area-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.page-content {
    line-height: 2;
    font-size: 15px;
    color: #444;
}

.page-content p {
    margin-bottom: 15px;
}

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

.page-content strong {
    color: var(--primary-color);
}

/* ============================================
   文章列表
   ============================================ */
.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.article-item:last-child {
    border-bottom: none;
}

.article-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    background: #f5f7fa;
    border-radius: 6px;
    padding: 10px 5px;
    margin-right: 20px;
}

.date-day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.article-body {
    flex: 1;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.article-title a {
    color: var(--text-color);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-summary {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
    line-height: 1.8;
}

.article-meta {
    font-size: 13px;
    color: #aaa;
}

.article-meta span {
    margin-right: 20px;
}

.article-meta i {
    margin-right: 4px;
}

/* ============================================
   文章详情
   ============================================ */
.article-detail {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-detail-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.article-detail-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.article-detail-meta {
    font-size: 14px;
    color: #999;
}

.article-detail-meta span {
    margin: 0 12px;
}

.article-detail-meta i {
    margin-right: 5px;
}

.article-detail-img {
    text-align: center;
    margin-bottom: 25px;
}

.article-detail-content {
    font-size: 16px;
    line-height: 2;
    color: #444;
}

.article-detail-content p {
    margin-bottom: 18px;
}

.article-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.article-tag {
    display: inline-block;
    padding: 3px 12px;
    background: #f0f4ff;
    color: var(--primary-color);
    border-radius: 15px;
    margin: 0 5px 5px 0;
    font-size: 13px;
}

.article-tag:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 上一篇/下一篇 */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-nav-item {
    width: 48%;
}

.article-nav-prev {
    text-align: left;
}

.article-nav-next {
    text-align: right;
}

.article-nav-label {
    display: block;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 5px;
}

.article-nav-item a {
    font-size: 14px;
    color: #555;
    display: block;
}

.article-nav-item a:hover {
    color: var(--primary-color);
}

/* ============================================
   分页
   ============================================ */
.jc-pagination {
    margin-top: 30px;
}

.jc-pagination .page-item .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 8px 14px;
}

.jc-pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.jc-pagination .page-item .page-link:hover {
    background-color: #e6f0ff;
    color: var(--primary-color);
}

/* ============================================
   产品详情
   ============================================ */
.product-detail {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-detail-img {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

.product-detail-img img {
    width: 100%;
}

.product-thumb {
    border: 2px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--primary-color);
}

.product-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.product-detail-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.product-detail-meta span {
    margin-right: 20px;
}

.product-detail-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
}

.product-detail-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, #e6f0ff, #f0f7ff);
    border-radius: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-phone {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-detail-content-wrap {
    background: #fff;
}

.product-detail-content {
    line-height: 2;
    color: #444;
    font-size: 15px;
}

.product-detail-content p {
    margin-bottom: 15px;
}

.product-detail-content img {
    max-width: 100%;
}

.related-products {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.related-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

/* 产品筛选 */
.product-filter {
    background: #f5f7fa;
    padding: 15px 20px;
    border-radius: 6px;
}

.filter-label {
    font-weight: 600;
    color: #555;
    margin-right: 15px;
}

.product-filter a {
    display: inline-block;
    padding: 5px 18px;
    margin: 3px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.product-filter a:hover,
.product-filter a.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ============================================
   搜索页
   ============================================ */
.search-box {
    background: #f5f7fa;
    padding: 25px;
    border-radius: 8px;
}

.search-result-info {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.search-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.search-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.search-item-title a {
    color: var(--text-color);
}

.search-item-title a:hover {
    color: var(--primary-color);
}

.search-item-summary {
    font-size: 14px;
    color: #777;
    line-height: 1.8;
    margin-bottom: 8px;
}

.search-item-meta {
    font-size: 13px;
    color: #aaa;
}

.search-item-meta span {
    margin-right: 20px;
}

/* ============================================
   留言页
   ============================================ */
.message-form-wrap {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.message-form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.message-form-desc {
    color: #777;
    margin-bottom: 25px;
}

.message-form-wrap .form-control {
    padding: 12px 15px;
    font-size: 15px;
}

.message-form-wrap .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

#submitBtn .fa-spin {
    display: none;
}

.contact-info-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.contact-info-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
}

.contact-info-item i {
    font-size: 24px;
    margin-right: 15px;
    margin-top: 2px;
}

.contact-info-item strong {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 2px;
}

.contact-info-item p {
    font-size: 15px;
    color: var(--text-color);
    margin: 0;
}

/* ============================================
   空状态
   ============================================ */
.empty-state {
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 16px;
    color: #999;
}

/* ============================================
   友情链接
   ============================================ */
.friend-links {
    background: #fff;
    padding: 20px 0;
}

.links-title {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin-bottom: 12px;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
}

.friend-link {
    display: inline-block;
    padding: 4px 14px;
    margin: 0 6px 6px 0;
    color: #666;
    font-size: 13px;
    background: #f5f7fa;
    border-radius: 4px;
    border: 1px solid #e0e6ed;
    transition: all 0.2s;
}

.friend-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #fff;
}

.friend-link img {
    max-height: 30px;
}

/* ============================================
   底部
   ============================================ */
.jc-footer {
    background: #fff;
    color: #888;
}

.footer-bottom {
    padding: 15px 0;
    text-align: left;
    font-size: 13px;
    color: #999;
}

.footer-bottom a {
    color: #999;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-info {
    flex: 1;
    min-width: 0;
}

.footer-qrcode {
    flex-shrink: 0;
    margin-left: 20px;
}

.footer-qrcode img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* ============================================
   在线客服悬浮窗
   ============================================ */
.online-service {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.online-tab {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 8px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    text-align: center;
    writing-mode: vertical-lr;
    letter-spacing: 4px;
    font-size: 14px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

.online-tab i {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
}

.online-panel {
    position: absolute;
    right: 100%;
    top: 0;
    width: 260px;
    background: #fff;
    border-radius: 8px 0 0 8px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    display: none;
}

.online-panel.show {
    display: block;
}

.online-panel-header {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.online-panel-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}

.online-panel-body {
    padding: 20px 15px;
}

.online-panel-body ul li {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.online-panel-body ul li i {
    font-size: 22px;
    margin-right: 12px;
    margin-top: 2px;
}

.online-panel-body ul li strong {
    font-size: 14px;
    color: #555;
}

.online-panel-body ul li a {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================================
   回到顶部
   ============================================ */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.back-to-top i {
    font-size: 18px;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 991px) {
    .header-search {
        display: none;
    }

    .jc-navbar .navbar-nav .nav-link {
        padding: 8px 12px !important;
        font-size: 16px;
    }

    .home-banner .carousel-item img {
        height: 300px;
    }

    .home-banner-news .col-lg-8 {
        display: block;
    }

    .home-banner-news .home-banner {
        flex: none;
    }

    .home-banner-news .home-banner .carousel-inner {
        height: auto;
    }

    .home-banner-news .home-banner .carousel-item {
        height: auto;
    }

    .home-banner-news .home-banner {
        height: auto;
    }

    .home-banner-news .home-banner .carousel-item img {
        height: 200px;
    }

    .latest-news-block {
        height: auto;
    }

    .home-banner .carousel-caption h2 {
        font-size: 22px;
    }

    .section-title {
        font-size: 24px;
    }

    .page-banner {
        padding: 35px 0;
    }

    .page-banner-title {
        font-size: 24px;
    }

    .article-detail {
        padding: 20px;
    }

    .article-detail-title {
        font-size: 20px;
    }

    .product-detail {
        padding: 20px;
    }

    .online-service {
        display: none;
    }
}

@media (max-width: 767px) {
    .top-bar-left span {
        display: inline-block;
        margin-bottom: 5px;
    }

    .top-bar-right {
        text-align: left !important;
    }

    .home-quick-service {
        margin-top: 20px;
    }

    .quick-icon {
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 22px;
    }

    .quick-item h5 {
        font-size: 14px;
    }

    .home-section {
        padding: 20px 0;
    }

    .about-img-box {
        min-height: 200px;
        margin-bottom: 25px;
    }

    .about-img-icon {
        font-size: 70px;
    }

    .article-item {
        flex-direction: column;
    }

    .article-date {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-bottom: 12px;
        margin-right: 0;
        padding: 8px;
    }

    .date-day {
        font-size: 20px;
        margin-right: 8px;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav-item {
        width: 100%;
        margin-bottom: 12px;
    }

    .article-nav-next {
        text-align: left;
    }

    .product-detail-contact {
        flex-direction: column;
        text-align: center;
    }

    .product-detail-contact .btn {
        margin-top: 15px;
    }

    .home-cta h2 {
        font-size: 24px;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}


/* 产品走马灯 */
.product-carousel {
    padding: 0 50px;
}

.product-carousel .carousel-inner {
    padding: 5px 0;
}

.product-carousel-prev {
    left: -20px;
    width: 40px;
    background: rgba(0, 102, 204, 0.3);
    border-radius: 50%;
    height: 40px;
    top: 45%;
    opacity: 0.8;
}

.product-carousel-next {
    right: -20px;
    width: 40px;
    background: rgba(0, 102, 204, 0.3);
    border-radius: 50%;
    height: 40px;
    top: 45%;
    opacity: 0.8;
}

.product-carousel-prev:hover,
.product-carousel-next:hover {
    opacity: 1;
    background: rgba(0, 102, 204, 0.6);
}

.section-title h3 {
    color: #333;
    font-weight: 600;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid #0066cc;
}

/* 新闻模块6格布局 */
.home-news .news-block {
    height: 100%;
}


/* 轮播图+新闻布局 */
.home-banner-news {
    margin-top: 10px;
    margin-bottom: 0;
}

/* 轮播固定高度，与新闻模块一致 */
.home-banner-news .home-banner {
    max-width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    height: 310px;
}

.home-banner-news .home-banner .carousel-inner,
.home-banner-news .home-banner .carousel-item {
    height: 100%;
}

.home-banner-news .home-banner .carousel-item img {
    height: 100%;
    object-fit: cover;
}

/* 最新新闻模块 */
.latest-news-block {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 310px;
}

/* 最新动态标题栏已移除 */

.latest-news-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.latest-news-list li {
    padding: 0;
}

.latest-news-list li a {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.latest-news-list li:last-child a {
    border-bottom: none;
}

.latest-news-list li a:hover {
    background: #f5f8ff;
    color: #0066cc;
}

.latest-news-list .news-num {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #ddd;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 8px;
    flex-shrink: 0;
}

.latest-news-list li:nth-child(1) .news-num { background: #e74c3c; }
.latest-news-list li:nth-child(2) .news-num { background: #e67e22; }
.latest-news-list li:nth-child(3) .news-num { background: #f39c12; }

.latest-news-list .news-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-news-list .news-date {
    color: #aaa;
    font-size: 12px;
    margin-left: 8px;
    flex-shrink: 0;
}

/* ============================================
   首页公告栏（企业资讯上下滚动）
   ============================================ */
.home-announcement {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border-radius: 6px;
    padding: 0 20px;
    margin: 15px 0;
    height: 44px;
    overflow: hidden;
}

.announcement-label {
    flex-shrink: 0;
    color: #004499;
    font-weight: 700;
    font-size: 14px;
    padding-right: 15px;
    border-right: 1px solid #d8dee6;
    margin-right: 15px;
    white-space: nowrap;
}

.announcement-label i {
    margin-right: 5px;
}

.announcement-scroll {
    flex: 1;
    height: 44px;
    overflow: hidden;
    position: relative;
}

.announcement-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    top: 0;
    transition: top 0.5s ease;
}

.announcement-item {
    height: 44px;
    line-height: 44px;
}

.announcement-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.announcement-item a:hover {
    color: #0066cc;
}

.announcement-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 15px;
}

.announcement-date {
    color: #aaa;
    font-size: 12px;
    flex-shrink: 0;
}

.announcement-more {
    flex-shrink: 0;
    color: #004499;
    font-size: 14px;
    padding-left: 15px;
    border-left: 1px solid #d8dee6;
    margin-left: 15px;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s;
}

.announcement-more:hover {
    color: #0066cc;
}

@media (max-width: 767px) {
    .announcement-label {
        font-size: 13px;
        padding-right: 10px;
        margin-right: 10px;
    }
    .announcement-more {
        font-size: 13px;
        padding-left: 10px;
        margin-left: 10px;
    }
    .announcement-item a {
        font-size: 13px;
    }
}

/* ============================================
   底部快速导航（单栏横排）
   ============================================ */
.footer-main {
    padding-bottom: 25px;
}

.footer-nav-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
    margin: 0;
}

.footer-nav-inline li {
    padding: 0;
    position: relative;
}

.footer-nav-inline li:not(:last-child)::after {
    content: '|';
    color: rgba(255,255,255,0.3);
    margin: 0 20px;
}

.footer-nav-inline li a {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    padding: 4px 0;
    display: inline-block;
    transition: color 0.2s;
}

.footer-nav-inline li a:hover {
    color: #fff;
}

/* ============================================
   网站主题切换
   ============================================ */

/* 全站灰色主题（哀悼日使用，包括图片全部变灰） */
body.theme-gray {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}

/* 中国红主题 */
body.theme-red {
    --primary-color: #c0392b;
    --primary-dark: #922b21;
    --primary-light: #e74c3c;
}

/* 科技绿主题 */
body.theme-green {
    --primary-color: #27ae60;
    --primary-dark: #1e8449;
    --primary-light: #2ecc71;
}

/* 深色主题 */
body.theme-dark {
    --primary-color: #2c3e50;
    --primary-dark: #1a252f;
    --primary-light: #34495e;
}

/* 紫色主题 */
body.theme-purple {
    --primary-color: #7b1fa2;
    --primary-dark: #4a148c;
    --primary-light: #9c27b0;
}

/* 深蓝主题 */
body.theme-deepblue {
    --primary-color: #1a237e;
    --primary-dark: #0d1356;
    --primary-light: #283593;
}
















