/* =========================================================
   赛阔网 · 资讯门户风格 (templates/news)
   自包含：含基础重置，不依赖 style.css，避免服务风样式串味
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #1f2329;
  background: #f5f7fa;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #1f2329; text-decoration: none; transition: color .15s; }
a:hover { color: #185FA5; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* 首页横幅轮播（与默认风格共用同一套 hero 样式，直接复制自 style.css） */
.hero { position: relative; overflow: hidden; margin-bottom: 24px; }
.hero-slider { position: relative; }
.hero-slider .slide {
    position: relative;
    display: none;
    align-items: center;
    min-height: 520px;
    padding: 80px 0;
    color: #fff;
    background:
        radial-gradient(1000px 420px at 78% 12%, rgba(242, 130, 13, .28), transparent 62%),
        radial-gradient(760px 420px at 12% 88%, rgba(30, 111, 217, .55), transparent 66%),
        linear-gradient(122deg, #062a5e 0%, #0b3d91 42%, #1e63d0 100%);
    overflow: hidden;
}
.hero-slider .slide:first-child { display: flex; }
.hero-slider .slide[style*="background-image"] { background-size: cover; background-position: center; }

.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-inner h1, .hero-inner .hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    letter-spacing: -.02em;
    margin: 0 0 16px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .22);
}
.hero-inner p {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .88);
    margin: 0 0 32px;
    max-width: 600px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-actions .btn-primary { display: inline-flex; align-items: center; min-height: 50px; padding: 0 32px; background: #fff; color: #185FA5; border-radius: 6px; font-size: 16px; font-weight: 600; }
.hero-actions .btn-primary:hover { background: #f0f6fc; color: #0C447C; }

/* 航线网格纹理（与默认模板一致） */
.hero-slider .slide::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(120% 90% at 20% 30%, #000 0%, transparent 72%);
            mask-image: radial-gradient(120% 90% at 20% 30%, #000 0%, transparent 72%);
    pointer-events: none;
    z-index: 1;
}
/* 右侧光弧（与默认模板一致） */
.hero-slider .slide::after {
    content: "";
    position: absolute;
    right: -12%; top: 50%;
    width: 640px; height: 640px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 60px rgba(255, 255, 255, .03),
        inset 0 0 0 140px rgba(255, 255, 255, .025);
    pointer-events: none;
    z-index: 1;
}

.hero-dots {
    position: absolute;
    left: 50%; bottom: 24px;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}
.hero-dots span {
    width: 28px; height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background .25s, width .25s;
}
.hero-dots span:hover { background: rgba(255, 255, 255, .6); }
.hero-dots span.active { width: 44px; background: #f2820d; }

@media (max-width: 768px) {
    .hero-slider .slide { min-height: 400px; padding: 48px 0; }
    .hero-inner h1, .hero-inner .hero-title { font-size: 28px; }
    .hero-inner p { font-size: 15px; }
}

/* 顶部工具条 */
.news-topbar { background: #eef1f5; border-bottom: 1px solid #e0e4ea; font-size: 12px; color: #6b7280; }
.news-topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.news-topbar a { color: #6b7280; margin-left: 14px; }

/* 头部：LOGO + 搜索 + 电话 */
.site-header { background: #fff; border-bottom: 1px solid #e6e9ee; }
.site-header .container { display: flex; align-items: center; gap: 28px; padding: 22px 16px; }
.site-logo { font-size: 28px; font-weight: 700; color: #185FA5; letter-spacing: 1px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.site-logo img { max-height: 50px; width: auto; }
.site-logo .logo-text b { font-size: 24px; }
.site-logo .logo-text small { display: block; font-size: 12px; color: #9aa0a6; font-weight: 400; letter-spacing: 0; }
.site-search { flex: 1; max-width: 580px; display: flex; border: 2px solid #185FA5; border-radius: 8px; overflow: hidden; }
.site-search input { flex: 1; border: 0; padding: 12px 14px; font-size: 14px; outline: none; min-width: 0; }
.site-search button { background: #185FA5; color: #fff; border: 0; padding: 0 28px; font-size: 14px; font-weight: 500; cursor: pointer; }
.site-search button:hover { background: #0C447C; }
.site-tel { margin-left: auto; text-align: right; flex-shrink: 0; }
.site-tel .t { font-size: 19px; font-weight: 700; color: #185FA5; }
.site-tel .s { font-size: 12px; color: #9aa0a6; margin-top: 2px; }

/* 蓝色频道导航 */
.site-nav { background: #185FA5; }
.site-nav .container { display: flex; flex-wrap: wrap; }
.site-nav a { color: #fff; padding: 14px 22px; font-size: 15px; font-weight: 500; transition: background .15s; }
.site-nav a:hover { background: #0C447C; color: #fff; }
.site-nav a.active { background: #0C447C; }

/* 面包屑 / 子页通栏 */
.page-crumb { background: #fff; border-bottom: 1px solid #eef1f5; }
.page-crumb .container { padding: 12px 16px; font-size: 13px; color: #9aa0a6; }
.page-crumb a { color: #6b7280; }
.page-crumb span.sep { margin: 0 8px; color: #cfd4db; }
.page-titlebar { background: #fff; border-bottom: 2px solid #185FA5; }
.page-titlebar .container { padding: 18px 16px; }
.page-titlebar h1 { margin: 0; font-size: 22px; color: #1f2329; font-weight: 700; }
.page-titlebar .sub { font-size: 13px; color: #9aa0a6; margin-top: 6px; }

/* 主体布局 */
.nmain { background: #f5f7fa; padding: 24px 0 40px; }
.ncol { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }

/* 卡片 */
.card { background: #fff; border: 1px solid #e6e9ee; border-radius: 10px; padding: 20px 22px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.02); }
.card-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f2f5; }
.card-hd .more { margin-left: auto; font-size: 12px; color: #9aa0a6; }
.tag-pill { font-size: 14px; font-weight: 700; color: #fff; padding: 5px 14px; border-radius: 4px; }
.tag-pill.red { background: #A32D2D; }
.tag-pill.blue { background: #185FA5; }
.tag-pill.green { background: #0F6E56; }
.tag-pill.gray { background: #6b7280; }

/* 头条区 */
.headline { background: #fff; border: 1px solid #e6e9ee; border-radius: 10px; padding: 24px 26px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.02); }
.headline .h-title { font-size: 24px; font-weight: 700; color: #0C447C; line-height: 1.45; margin: 0 0 12px; }
.headline .h-sum { font-size: 14px; color: #5a6472; line-height: 1.85; margin: 0 0 14px; }
.headline .h-meta { font-size: 12px; color: #9aa0a6; border-bottom: 1px solid #eef1f5; padding-bottom: 14px; margin-bottom: 14px; }
.headline .h-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; font-size: 14px; }
.headline .h-list div { padding: 6px 0; color: #2b313a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.headline .h-list div:hover { color: #185FA5; }

/* 文字链列表（无图） */
.nlist { display: flex; flex-direction: column; }
.nline { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid #f0f2f5; }
.nline:last-child { border-bottom: 0; }
.nline .nl-title { font-size: 16px; color: #1f2329; line-height: 1.5; flex: 1; min-width: 0; }
.nline .nl-title:hover { color: #185FA5; }
.nline .nl-meta { font-size: 12px; color: #9aa0a6; flex-shrink: 0; white-space: nowrap; align-self: center; }
.nline .nl-tag { display: inline-block; font-size: 11px; color: #A32D2D; border: 1px solid #f0c5c5; background: #fdf0f0; border-radius: 3px; padding: 0 5px; margin-right: 8px; }

/* 图文卡片（有图时） */
.icard { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f0f2f5; }
.icard:last-child { border-bottom: 0; }
.icard .ic-thumb { width: 200px; height: 128px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #eef1f5; }
.icard .ic-thumb img { width: 100%; height: 100%; object-fit: cover; }
.icard .ic-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.icard .ic-title { font-size: 18px; font-weight: 600; color: #1f2329; line-height: 1.5; }
.icard .ic-title:hover { color: #185FA5; }
.icard .ic-sum { font-size: 13px; color: #6b7280; line-height: 1.7; margin: 8px 0; overflow: hidden; }
.icard .ic-meta { font-size: 12px; color: #9aa0a6; margin-top: auto; }

/* 问答列表 */
.qa-list { display: flex; flex-direction: column; gap: 14px; }
.qa-item { font-size: 14px; line-height: 1.8; }
.qa-item .q { color: #185FA5; font-weight: 700; }
.qa-item .a { color: #5a6472; }

/* 热搜榜 */
.hot-board { background: #fff; border: 1px solid #e6e9ee; border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.02); }
.hot-board .hb-hd { font-size: 15px; font-weight: 700; color: #A32D2D; padding-bottom: 10px; border-bottom: 2px solid #A32D2D; margin-bottom: 12px; }
.hot-board ol { list-style: none; margin: 0; padding: 0; counter-reset: hot; }
.hot-board li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 14px; }
.hot-board li .num { width: 20px; text-align: center; font-weight: 700; color: #b0b6bf; flex-shrink: 0; }
.hot-board li:nth-child(1) .num, .hot-board li:nth-child(2) .num, .hot-board li:nth-child(3) .num { color: #A32D2D; }
.hot-board li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-board li .cnt { font-size: 12px; color: #b0b6bf; flex-shrink: 0; }

/* 通用文字列表（百科等） */
.txt-list { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.txt-list a { color: #2b313a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txt-list a::before { content: "·"; color: #185FA5; margin-right: 8px; font-weight: 700; }

/* 咨询表单卡 */
.lead-card { background: #f0f6fc; border: 1px solid #cfe2f3; border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.lead-card h4 { margin: 0 0 14px; font-size: 16px; color: #0C447C; }
.lead-card input, .lead-card textarea { width: 100%; border: 1px solid #cdd6e0; border-radius: 6px; padding: 9px 12px; font-size: 13px; margin-bottom: 10px; font-family: inherit; outline: none; }
.lead-card input:focus, .lead-card textarea:focus { border-color: #185FA5; }
.lead-card button { width: 100%; background: #185FA5; color: #fff; border: 0; padding: 10px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; }
.lead-card button:hover { background: #0C447C; }

/* 侧边栏广告位 */
.ad-card { background: #fff; border: 1px solid #e6e9ee; border-radius: 10px; overflow: hidden; }
.ad-card img { display: block; width: 100%; height: auto; }
.ad-card a { display: block; }

/* 资讯/渠道标签切换 */
.card-tabs { display: flex; gap: 8px; align-items: center; }
.tab-btn { background: transparent; border: 1px solid transparent; border-radius: 6px; padding: 5px 12px; font-size: 14px; color: #6b7280; cursor: pointer; font-family: inherit; }
.tab-btn:hover { color: #185FA5; background: #f5f8fb; }
.tab-btn.active { background: #185FA5; color: #fff; font-weight: 500; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* 物流渠道卡 */
.chan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chan-card { background: #fff; border: 1px solid #e6e9ee; border-radius: 10px; padding: 16px; border-left: 3px solid #185FA5; transition: box-shadow .15s; }
.chan-card:hover { box-shadow: 0 4px 14px rgba(24,95,165,.12); }
.chan-card .cc-t { font-size: 16px; font-weight: 600; color: #1f2329; }
.chan-card .cc-d { font-size: 12px; color: #6b7280; margin-top: 6px; line-height: 1.6; }

/* 友情链接 */
.friend-link { display: flex; flex-wrap: wrap; gap: 0 18px; padding: 6px 0 2px; }
.friend-link a { color: #4a525e; font-size: 14px; line-height: 2; transition: color .15s; }
.friend-link a:hover { color: #185FA5; }

/* 文章详情 */
.article { background: #fff; border: 1px solid #e6e9ee; border-radius: 10px; padding: 28px 32px; }
.article h1 { font-size: 26px; line-height: 1.4; margin: 0 0 14px; color: #1f2329; font-weight: 700; }
.article .a-meta { font-size: 13px; color: #9aa0a6; padding-bottom: 14px; border-bottom: 1px solid #eef1f5; margin-bottom: 20px; }
.article .a-body { font-size: 15px; color: #2b313a; line-height: 1.9; }
.article .a-body p { margin: 0 0 16px; }
.article .a-body img { max-width: 100%; border-radius: 6px; margin: 10px 0; }

/* 相关 / 分页 */
.rel-list { display: flex; flex-direction: column; gap: 10px; }
.rel-list a { font-size: 14px; color: #2b313a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-list a::before { content: "›"; color: #185FA5; margin-right: 8px; font-weight: 700; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.pager a { padding: 7px 13px; border: 1px solid #e0e4ea; border-radius: 6px; font-size: 13px; color: #4b5563; background: #fff; }
.pager a.cur, .pager a:hover { background: #185FA5; color: #fff; border-color: #185FA5; }

/* 分页：自定义页码跳转 */
.pager-gap { color: #9aa0a6; padding: 0 4px; user-select: none; }
.pager-jump { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: #5a6472; font-size: 13px; white-space: nowrap; }
.pager-jump .pager-input { width: 52px; min-width: 0; height: 34px; padding: 0 6px; text-align: center; border: 1px solid #e0e4ea; border-radius: 6px; background: #fff; color: #1f2329; font-size: 13px; }
.pager-jump .pager-input:focus { outline: none; border-color: #185FA5; }
.pager-jump .pager-go { height: 34px; padding: 0 14px; border: 1px solid #185FA5; border-radius: 6px; background: #eaf2fb; color: #185FA5; font-weight: 600; cursor: pointer; }
.pager-jump .pager-go:hover { background: #185FA5; color: #fff; }
@media (max-width: 640px) {
    .pager-jump { margin-left: 0; width: 100%; justify-content: center; }
}

/* 404 */
.nf { text-align: center; padding: 60px 20px; }
.nf .code { font-size: 72px; font-weight: 700; color: #185FA5; }
.nf .tip { font-size: 16px; color: #6b7280; margin: 10px 0 24px; }
.nf a { display: inline-block; background: #185FA5; color: #fff; padding: 10px 26px; border-radius: 6px; }

/* 页脚 */
.site-footer { background: #fff; border-top: 1px solid #e6e9ee; margin-top: 10px; }
.site-footer .ft-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0; }
.site-footer h4 { font-size: 15px; color: #1f2329; margin: 0 0 14px; position: relative; padding-left: 10px; }
.site-footer h4::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; background: #185FA5; border-radius: 2px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; font-size: 13px; }
.site-footer li a { color: #5a6472; }
.site-footer .contact p { font-size: 13px; color: #5a6472; margin: 4px 0; }
.site-footer .ft-bottom { border-top: 1px solid #eef1f5; padding: 14px 0; text-align: center; font-size: 12px; color: #9aa0a6; }
.back-to-top { position: fixed; right: 20px; bottom: 30px; width: 42px; height: 42px; border-radius: 50%; background: #185FA5; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.15); z-index: 50; }
.back-to-top:hover { color: #fff; background: #0C447C; }

/* 响应式 */
@media (max-width: 980px) {
  .ncol { grid-template-columns: 1fr; }
  .chan-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .ft-top { grid-template-columns: repeat(2, 1fr); }
  .icard .ic-thumb { width: 140px; height: 96px; }
}
@media (max-width: 640px) {
  .site-header .container { flex-wrap: wrap; gap: 12px; }
  .site-search { order: 3; max-width: none; width: 100%; }
  .site-tel { display: none; }
  .site-nav a { padding: 10px 12px; font-size: 14px; }
  .headline .h-list { grid-template-columns: 1fr; }
  .chan-grid { grid-template-columns: 1fr; }
  .icard { flex-direction: column; }
  .icard .ic-thumb { width: 100%; height: 180px; }
  .site-footer .ft-top { grid-template-columns: 1fr; gap: 18px; padding: 22px 0; }
  .site-footer h4 { font-size: 14px; margin-bottom: 7px; }
  .site-footer .footer-col ul { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .site-footer .footer-col li { padding: 0; font-size: 12px; line-height: 1.7; }
  .site-footer .contact p { font-size: 12px; margin: 3px 0; }
  .article { padding: 18px 16px; }
  .nline .nl-title { font-size: 15px; }
}
