/* ============================================================
   reference.css —— 1:1 仿站样式（参考 caihongjianzhan.com 模板）
   依赖 Bulma CSS（bulma.min.css）
   主色: #1e50ae / hover #3d6dba
   ============================================================ */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}
p { text-align: left; text-indent: 2em; font-size: 16px; line-height: 1.8; }

/* ---------- Bulma 重构 ---------- */
.section { padding: 3rem 1.5rem 0 1.5rem; }
@media (max-width: 768px) { .section { padding: 2rem 0.5rem 0 0.5rem; } }
.input:active, .input:focus, .is-active.input, .is-active.textarea, .is-focused.input, .is-focused.textarea,
.select select.is-active, .select select.is-focused, .select select:active, .select select:focus,
.textarea:active, .textarea:focus { border-color: #1e50ae; }
.button.is-primary { background-color: #1e50ae; }
.button.is-primary .is-hovered, .button.is-primary:hover { background-color: #3d6dba; }
.pagination-link.is-current { background-color: #1e50ae; border-color: #1e50ae; }
.navbar-dropdown { background: #000; border-top-color: #000; }

/* ---------- 字体重构 ---------- */
.title { font-size: 18px; margin-bottom: 16px; }
@media (max-width: 768px) { .title { font-size: 16px; } }
.subtitle { font-size: 16px; margin-bottom: 16px; }
@media (max-width: 768px) { .subtitle { font-size: 14px; } }
.intro { font-size: 14px; line-height: 2; margin-bottom: 16px; }
@media (max-width: 768px) { .intro { font-size: 12px; } }

/* ---------- swiper ---------- */
.swiper-pagination-bullet-active { background: #1e50ae; }

/* ---------- 自定义 ---------- */
.title-item { display: flex; justify-content: space-between; align-items: center; margin: 0 0 3rem 0; }
@media (max-width: 768px) { .title-item { margin: 0 0 2rem 0; } }
a.more { color: #000; }
.title-block-1 .title { font-size: 20px; text-align: left; font-weight: 400; line-height: 1.5; color: #1e50ae; margin: 0 auto; }
@media (max-width: 768px) { .title-block-1 .title { font-size: 18px; } }
.title-block-1 .subtitle { line-height: 1.5; margin: 0 auto; color: #4c4c4c; text-align: left; font-family: Arial; font-size: 16px; }
@media (max-width: 768px) { .title-block-1 .subtitle { font-size: 12px; } }
@media (max-width: 768px) { .columns { margin-left: 0; margin-right: 0; } }

/* ============================================================
   顶部导航 header_1
   ============================================================ */
#header_1 .level .level-left .level-item img { max-height: 3.75rem; }
#header_1 .level .level-right .level-item p { text-align: right; }
#header_1 .level .level-right .level-item p span:last-child { color: #000; font-size: 12px; }
#header_1 .level .level-right .level-item p span:first-child { font-size: 18px; color: #1e50ae; }
@media (min-width: 1024px) { #header_1 .navbar { background: #000; } }
#header_1 .navbar-start { width: 100%; }
@media (min-width: 1024px) {
    #header_1 .navbar-start .navbar-item { flex: 1; justify-content: center; }
}
@media (max-width: 1024px) { #header_1 .navbar-menu { background: #000; padding: 0; } }
#header_1 .navbar-brand { align-items: center; }
#header_1 .navbar-brand img { max-height: 2.75rem; }
#header_1 .navbar-burger { color: #1e50ae; }
#header_1 .navbar-burger:hover { color: #1e50ae; }
#header_1 .navbar-item:not(.has-dropdown), #header_1 .navbar-link { color: #fff; }
@media (min-width: 1024px) {
    #header_1 .navbar-item:not(.has-dropdown), #header_1 .navbar-link { background: #000; }
}
#header_1 .navbar-link.is-active, #header_1 .navbar-link:focus, #header_1 .navbar-link:focus-within,
#header_1 .navbar-link:hover, #header_1 a.navbar-item.is-active, #header_1 a.navbar-item:focus,
#header_1 a.navbar-item:focus-within, #header_1 a.navbar-item:hover { background: #1e50ae; color: #fff; }
#header_1 .navbar-link.is-active:not(:focus):not(:hover), #header_1 a.navbar-item.is-active:not(:focus):not(:hover) { background: #1e50ae; }
#header_1 .is-primary-color { color: #1e50ae; }
#header_1 .is-primary-bg { background: #000; }
#header_1 .padding-ud-3 { padding: 30px 0; }
#header_1 .font-size-16 { font-size: 16px; }
#header_1 .logo-img { height: 57px; width: auto; }
#header_1 .navbar-brand img { height: 44px; width: auto; }
.navbar-link:not(.is-arrowless)::after { border-color: #fff; }
.stuck { position: fixed; width: 100%; top: 0; z-index: 100; background: #fff; box-shadow: 0 0.5em 1em -0.125em rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.02); }

/* ============================================================
   轮播图 lunbotu
   ============================================================ */
#lunbotu { position: relative; width: 100%; }
#lunbotu .swiper-container { position: relative; width: 100%; height: 600px; overflow: hidden; }
#lunbotu .swiper-wrapper { height: 100%; display: flex; }
#lunbotu .swiper-wrapper .swiper-slide { height: 100%; flex: 0 0 100%; width: 100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; flex-direction: column; }
#lunbotu .swiper-wrapper .swiper-slide .title { color: #fff; font-size: 40px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
#lunbotu .swiper-wrapper .swiper-slide .subtitle { color: #fff; font-size: 25px; margin-top: 15px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
#lunbotu .swiper-pagination { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; z-index: 10; }
#lunbotu .swiper-pagination .swiper-pagination-bullet { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.6); margin: 0 5px; cursor: pointer; }
#lunbotu .swiper-pagination .swiper-pagination-bullet-active { background: #fff; }
#lunbotu .swiper-button-prev,
#lunbotu .swiper-button-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 60px; background: rgba(0,0,0,.2); color: #fff; font-size: 30px; line-height: 60px; text-align: center; cursor: pointer; z-index: 10; user-select: none; }
#lunbotu .swiper-button-prev:hover,
#lunbotu .swiper-button-next:hover { background: rgba(0,0,0,.5); }
#lunbotu .swiper-button-prev { left: 0; }
#lunbotu .swiper-button-next { right: 0; }
@media (max-width: 768px) {
    #lunbotu .swiper-container { height: 300px; }
    #lunbotu .swiper-wrapper .swiper-slide .title { font-size: 22px; }
    #lunbotu .swiper-wrapper .swiper-slide .subtitle { font-size: 15px; }
}

/* ============================================================
   公司简介 gongsijieshao1
   ============================================================ */
#gongsijieshao1 .contents p { font-size: 14px; line-height: 30px; text-indent: 0; }
#gongsijieshao1 .contents { font-size: 14px; line-height: 30px; text-indent: 0; }

/* ============================================================
   产品服务 chanpinliebiao
   ============================================================ */
#chanpinliebiao .item { background-color: #1e50ae; height: 100%; display: flex; flex-direction: column; justify-content: space-around; padding: 3rem; color: #fff; }
#chanpinliebiao .item h1 { font-size: 18px; }
#chanpinliebiao .item p { text-indent: 0; font-size: 14px; }
#chanpinliebiao .item a { color: #fff; font-size: 14px; }
#chanpinliebiao .column:nth-of-type(4) .item { background-color: #99505d; }
#chanpinliebiao .column:nth-of-type(6) .item { background-color: #4cbd60; }
@media (max-width: 768px) {
    #chanpinliebiao .columns { margin-left: 0; margin-right: 0; margin-top: 0; }
    #chanpinliebiao .columns .column { padding: 0; }
}

/* ============================================================
   新闻列表 xinwenliebiao1
   ============================================================ */
#xinwenliebiao1 .xinwen-item { border-bottom: 1px solid #ddd; padding-bottom: 8px; margin-bottom: 26px; }
/* 所有 image 容器图片填满不拉伸变形 */
#xinwenliebiao1 .image img,
#chanpinliebiao .image img,
#gongsijieshao1 .image img { object-fit: cover; width: 100%; height: 100%; display: block; }
@media (max-width: 768px) { #xinwenliebiao1 .xinwen-item { margin-bottom: 16px; } }
#xinwenliebiao1 .xinwen-item .date { border: 1px solid #ddd; }
#xinwenliebiao1 .xinwen-item .date .monthday { text-align: center; line-height: 1.2; }
#xinwenliebiao1 .xinwen-item .date .monthday .month { font-size: 38px; color: #1e50ae; }
#xinwenliebiao1 .xinwen-item .date .monthday .day { font-size: 18px; }
#xinwenliebiao1 .xinwen-item .date .year { font-size: 18px; color: #999; background: #eee; height: 26px; line-height: 26px; clear: both; text-align: center; }
#xinwenliebiao1 .xinwen-item .title { font-size: 16px; margin-bottom: 8px; display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
#xinwenliebiao1 .xinwen-item .subtitle { font-size: 12px; margin-top: 0; margin-bottom: 8px; color: rgba(0,0,0,.45); }
#xinwenliebiao1 .xinwen-item .intro { text-indent: 0; font-size: 14px; color: rgba(0,0,0,.45); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* ============================================================
   页脚 gongyongdibu + copyright
   ============================================================ */
/* 覆盖 Bulma 默认的 footer 大 padding（消除底部 96px 留白） */
footer.footer { padding: 0 !important; }
#gongyongdibu { background: #212121; margin-top: 24px; }
#gongyongdibu .footer-intro { padding-bottom: 24px; }
/* 参考站 footer 容器为全宽左对齐（不用 Bulma 居中容器） */
#gongyongdibu .container { width: 100% !important; max-width: 100% !important; margin: 0 auto; padding: 0 36px; box-sizing: border-box; }
#gongyongdibu .title { color: #fff; font-size: 20px; letter-spacing: 2px; text-align: left; }
#gongyongdibu .subtitle { color: #bfbfbf; margin-bottom: 16px; display: flex; align-items: center; font-size: 14px; }
#gongyongdibu .subtitle img { margin-right: 8px; }
/* hr（参考站无 margin，靠左） */
#gongyongdibu hr { width: 3em; background-color: #1e50ae; margin: 0.5em 0 1em 0; }
/* 导航栏列表项（参考站左对齐） */
#gongyongdibu .column.is-offset-1 ul li { text-align: left; }
#gongyongdibu .intro { color: #bfbfbf; text-indent: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box !important; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
#gongyongdibu ul li a.subtitle { text-indent: 0; }
#gongyongdibu ul li { color: #bfbfbf; }
#gongyongdibu ul li a { color: #bfbfbf; font-size: 14px; line-height: 28px; }
#gongyongdibu ul li a:hover { color: #fff; }
#gongyongdibu .f-ico { font-style: normal; margin-right: 8px; font-size: 16px; color: #1e50ae; width: 24px; flex-shrink: 0; display: inline-block; text-align: center; }
#gongyongdibu .subtitle span:first-of-type { flex-shrink: 0; }
.copyright { text-align: center; font-size: 16px; line-height: 4; color: #fff; background: #000; }
.copyright a { color: #fff; }
@media (max-width: 768px) { .copyright { font-size: 14px; margin-top: 16px; } }

/* ============================================================
   浮动客服 online_1
   ============================================================ */
#online_1 { --position: fixed; }
#online_1 .online-show { position: var(--position); right: 0; top: calc(50% - 74px); z-index: 1001; background-color: #1e50ae; color: #fff; display: flex; align-items: center; flex-direction: column; width: 26px; padding: 8px; border-top-left-radius: 8px; border-bottom-left-radius: 8px; transition: right 500ms; }
#online_1 .online-show p { text-indent: 0; font-size: 14px; line-height: 1.5; padding: 8px 0; max-width: 100%; word-break: break-word; text-transform: uppercase; text-align: center; }
#online_1 .online-content { position: var(--position); top: calc(50% - 74px); z-index: 1000; right: -100vw; transition: right 500ms; }
#online_1 .online-content .box { padding: 16px; border: 2px solid #1e50ae; background: #fff; }
#online_1 .online-content .box .content p { text-indent: 0; margin: 0; font-size: 14px; }
#online_1 .online-content .box .content p.is-flex { align-items: center; }
#online_1 .online-content .box .content p:not(:last-child) { padding-bottom: 8px; }
#online_1 .online-content .box .content .icon { width: auto; }
#online_1 .online-mobile { position: var(--position); right: 0; bottom: 50px; z-index: 999; }
#online_1 .online-mobile .content { display: flex; flex-direction: column; }
#online_1 .online-mobile .content i { width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 20px; background: rgba(31,31,31,.65); color: #fff; border-radius: 50%; margin: 8px 8px 0 0; cursor: pointer; }

/* ============================================================
   zblog 列表页 / 文章页 / 单页 适配
   ============================================================ */
.company-page { background: #f4f4f4; min-height: 400px; padding: 30px 0; }
.company-page .container { background: #fff; padding: 30px; }
.company-crumb { font-size: 13px; color: #888; margin-bottom: 15px; }
.company-crumb a { color: #888; }
.company-crumb a:hover { color: #1e50ae; }
.company-crumb i { font-style: normal; margin: 0 5px; }
.company-page h1.page-title, .company-page h2.page-title { font-size: 22px; color: #1e50ae; border-bottom: 2px solid #1e50ae; padding-bottom: 10px; margin-bottom: 20px; }
.company-list .cl-item { padding: 18px 0; border-bottom: 1px solid #eee; }
.company-list .cl-item:last-child { border-bottom: 0; }
.company-list .cl-item .cl-title { font-size: 18px; color: #333; display: block; margin-bottom: 8px; }
.company-list .cl-item .cl-title:hover { color: #1e50ae; }
.company-list .cl-item .cl-meta { font-size: 13px; color: #999; margin-bottom: 6px; }
.company-list .cl-item .cl-intro { font-size: 14px; color: #666; line-height: 24px; }
.company-article .article-title { font-size: 24px; color: #333; margin-bottom: 10px; line-height: 1.5; }
.company-article .article-meta { font-size: 13px; color: #999; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; }
.company-article .article-content { font-size: 16px; line-height: 1.9; color: #333; }
.company-article .article-content p { margin-bottom: 18px; text-indent: 0; }
.company-article .article-pager { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; font-size: 14px; color: #666; }
.company-article .article-pager p { margin: 6px 0; text-indent: 0; }
.company-pagebar { margin: 20px 0; text-align: center; }
.company-pagebar a, .company-pagebar .now { display: inline-block; padding: 6px 12px; margin: 0 4px; font-size: 14px; border: 1px solid #ddd; color: #666; background: #fff; border-radius: 3px; }
.company-pagebar a:hover { background: #1e50ae; border-color: #1e50ae; color: #fff; }
.company-pagebar .now { background: #1e50ae; border-color: #1e50ae; color: #fff; }
