* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-size: 12px;
  color: #333;
  background: #fff;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #1a8ae5;
}

ul,
li {
  list-style: none;
}

img {
  border: 0;
  vertical-align: middle;
}

.wrap {
  width: 1200px;
  margin: 0 auto;
}

/* ===== 顶部 logo 区 ===== */
.top {
  width: 1200px;
  margin: 0 auto;
  padding: 18px 0 6px;
  position: relative;
  overflow: hidden;
}

.top .logo {
  display: block;
  height: 110px;
}

.top .logo img {
  height: 110px;
}

.top .hotline {
  position: absolute;
  right: 90px;
  bottom: 12px;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #d61518;
}

.top .hotline span {
  color: #000;
}

/* ===== 导航 ===== */
.nav {
  background: #1a9aec;
}

.nav ul {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 52px;
}

.nav li {
  flex: 1;
  text-align: center;
  position: relative;
}

.nav li a {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 52px;
}

.nav li a:hover {
  color: #ffe600;
}

.nav li::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.5);
}

.nav li:last-child::after {
  display: none;
}

.nav li.active > a {
  color: #ffe600;
}

/* 二级下拉菜单 */
.nav .sub-menu {
  position: absolute;
  top: 52px;
  left: 0;
  width: 100%;
  min-width: 130px;
  background: #1a9aec;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  display: block;
  height: auto;
  flex-direction: column;
  margin: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav li.has-sub:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav .sub-menu li {
  flex: none;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.nav .sub-menu li:first-child {
  border-top: none;
}

.nav .sub-menu li::after {
  display: none;
}

.nav .sub-menu li a {
  font-size: 15px;
  line-height: 1;
  padding: 13px 10px;
}

.nav .sub-menu li a:hover {
  background: #0f82cf;
  color: #fff;
}

/* ===== Banner ===== */
.banner {
  width: 1200px;
  margin: 12px auto 0;
}

/* 焦点图 */
.slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.slider .slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 22px;
  z-index: 5;
  user-select: none;
}

.slider-arrow:hover {
  background: rgba(26, 154, 236, 0.85);
}

.slider-arrow.prev {
  left: 0;
}

.slider-arrow.next {
  right: 0;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
}

.slider-dots li {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.slider-dots li.active {
  background: #1a9aec;
}

.banner-tags {
  width: 1200px;
  margin: 0 auto;
  background: #eef6fd;
  text-align: center;
  padding: 14px 0;
  font-size: 24px;
  font-weight: bold;
  color: #1a6fb5;
  letter-spacing: 2px;
}

.banner-tags span {
  color: #cfe0ee;
  margin: 0 14px;
  font-weight: normal;
}

/* ===== 主体三栏 ===== */
.main {
  width: 1200px;
  margin: 18px auto 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.col-left {
  width: 300px;
  flex-shrink: 0;
}

.col-center {
  flex: 1;
}

.col-right {
  width: 300px;
  flex-shrink: 0;
}

/* 通用面板 */
.panel {
  border: 1px solid #1a9aec;
  margin-bottom: 18px;
  background: #fff;
}
.panel-top { height:405px;}

.panel .hd {
  background: #1a9aec;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 0 14px;
  height: 40px;
  line-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel .hd .more {
  color: #fff;
  font-size: 14px;
  font-weight: normal;
}

.panel .bd {
  padding: 14px;
}

/* 扫一扫 / 登录 */
.qrcode {
  text-align: center;
}

.qrcode img {
  width: 200px;
  height: 200px;
}

.login {
  margin-top: 14px;
}

.login .row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.login .row label {
  width: 60px;
  text-align: right;
  margin-right: 6px;
}

.login .row input {
  flex: 1;
  height: 26px;
  border: 1px solid #ccc;
  padding: 0 6px;
}

.login .links {
  text-align: right;
  margin-bottom: 8px;
}

.login .quick {
  border-top: 1px dashed #ccc;
  padding-top: 8px;
  text-align: center;
  color: #1a8ae5;
}

.login .quick a {
  color: #1a8ae5;
}

/* 联系我们 */
.contact .bd p {
  line-height: 26px;
  font-size: 13px;
}

.contact .gap {
  height: 8px;
}

/* 公司简介 */
.about .bd p {
  text-indent: 2em;
  line-height: 28px;
  font-size: 14px;
  color: #444;
  margin-bottom: 10px;
}

.about .bd a {
  color: #1a8ae5;
}

/* 货物查询 */
.search-box {
  text-align: center;
}

.search-box img {
  width: 150px;
  margin: 10px 0;
}

.search-box .btn-big {
  display: inline-block;
  background: #1a9aec;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 12px 40px;
  margin: 6px 0 14px;
  border-radius: 4px;
}

.search-box input {
  width: 90%;
  height: 30px;
  border: 1px solid #ccc;
  padding: 0 6px;
  margin-bottom: 12px;
}

.search-box .query {
  color: #6a2fb5;
  font-size: 18px;
  display: inline-block;
}

/* 新闻列表 */
.news li {
  display: flex;
  align-items: center;
  line-height: 30px;
  border-bottom: 1px dotted #ddd;
  font-size: 13px;
}

.news li .dot {
  width: 8px;
  height: 8px;
  background: #d61518;
  margin-right: 8px;
  flex-shrink: 0;
}

.news li .t {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news li .t a {
  color: #d61518;
}

.news li .t a:hover {
  color: #1a8ae5;
}

.news li .d {
  color: #888;
  margin-left: 10px;
  flex-shrink: 0;
}

/* ===== 在线客服悬浮 ===== */
.service {
  position: fixed;
  right: 0;
  top: 150px;
  width: 130px;
  border: 2px solid #1a9aec;
  background: #fff;
  z-index: 999;
}

.service .s-hd {
  background: #1a9aec;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 6px 0;
}

.service .s-img {
  text-align: center;
}

.service .s-img img {
  width: 100%;
}

.service .qq {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.service .qq img {
  width: 22px;
  margin-right: 4px;
}

.service .s-ft {
  text-align: center;
  color: #1a8ae5;
  padding: 6px 0;
  font-weight: bold;
}

/* ===== 底部 ===== */
.footer {
  border-top: 3px solid #1a9aec;
  margin-top: 24px;
  padding: 18px 0;
  text-align: center;
}

.footer .links {
  width: 1200px;
  margin: 0 auto;
  line-height: 26px;
  color: #1a6fb5;
  font-size: 13px;
}

.footer .copy {
  color: #888;
  margin-top: 10px;
  line-height: 22px;
}

/* ===== 内页 ===== */
.subbanner {
  width: 1200px;
  margin: 12px auto 0;
}

.subbanner img {
  width: 100%;
  display: block;
}

.sub-main {
  width: 1200px;
  margin: 18px auto 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
}

.sidebar .hd {
  background: #1a9aec;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 14px;
}

.sidebar ul {
  border: 1px solid #1a9aec;
  border-top: none;
}

.sidebar li a {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid #e3eef7;
  font-size: 14px;
  background: #f5fafe;
}

.sidebar li a:hover,
.sidebar li a.active {
  background: #1a9aec;
  color: #fff;
}

.content {
  flex: 1;
  border: 1px solid #ddd;
  min-height: 400px;
}

.content .crumb {
  border-bottom: 2px solid #1a9aec;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: bold;
  color: #1a6fb5;
}

.content .crumb span {
  font-weight: normal;
  color: #888;
  float: right;
}

.content .article {
  padding: 20px 24px;
}

.content .article h1 {
  font-size: 22px;
  color: #1a6fb5;
  text-align: center;
  margin-bottom: 10px;
}

.content .article .meta {
  text-align: center;
  color: #999;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.content .article p {
  text-indent: 2em;
  line-height: 30px;
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}

.content .news-page li {
  display: flex;
  align-items: center;
  line-height: 38px;
  border-bottom: 1px dotted #ddd;
  font-size: 14px;
  padding: 0 16px;
}

.content .news-page li .dot {
  width: 8px;
  height: 8px;
  background: #d61518;
  margin-right: 8px;
  flex-shrink: 0;
}

.content .news-page li .t {
  flex: 1;
}

.content .news-page li .d {
  color: #888;
}

.tbl {
  width: 92%;
  margin: 20px auto;
  border-collapse: collapse;
}

.tbl th,
.tbl td {
  border: 1px solid #cfdce8;
  padding: 10px;
  font-size: 14px;
  text-align: center;
}

.tbl th {
  background: #1a9aec;
  color: #fff;
}

.tbl tr:nth-child(even) td {
  background: #f5fafe;
}

/* 查询页 */
.track-form {
  text-align: center;
  padding: 40px 0;
}

.track-form input {
  width: 360px;
  height: 38px;
  border: 1px solid #1a9aec;
  padding: 0 10px;
  font-size: 15px;
  vertical-align: middle;
}

.track-form button {
  height: 40px;
  padding: 0 28px;
  background: #1a9aec;
  color: #fff;
  border: none;
  font-size: 15px;
  cursor: pointer;
  vertical-align: middle;
}

.track-result {
  width: 80%;
  margin: 0 auto 30px;
  border: 1px solid #ddd;
  padding: 16px;
  display: none;
}

/* Flash 占位 */
.flash-placeholder {
  width: 100%;
  background: #f1f1f1;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  position: relative;
}

.flash-placeholder .puzzle {
  font-size: 64px;
  color: #bbb;
  margin-bottom: 10px;
}

/* ===== 联系我们页 ===== */
.service-banner {
  width: 1200px;
  margin: 12px auto 0;
  border: 1px solid #e3e3e3;
  padding: 6px;
  background: #fff;
}

.service-banner img {
  width: 100%;
  display: block;
}

.sidebar .hd.blue {
  background: #2bb3f3;
  border-radius: 4px 4px 0 0;
}

.sidebar.feature ul {
  border: 1px solid #d9d9d9;
  border-top: none;
}

.sidebar.feature li a {
  background: linear-gradient(#fbfbfb, #eef1f3);
  color: #1a6fb5;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #e0e4e7;
}

.sidebar.feature li a.active {
  background: #2bb3f3;
  color: #fff;
}

.sidebar.feature li a:hover {
  background: #2bb3f3;
  color: #fff;
}

.contact-box {
  margin-top: 18px;
  border: 1px solid #cfe8f8;
  border-radius: 8px;
  overflow: hidden;
}

.contact-box .hd {
  background: #2bb3f3;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 14px;
}

.contact-box .bd {
  padding: 18px 20px 22px;
  text-align: left;
  line-height: 30px;
  font-size: 14px;
  color: #333;
}

.contact-box .bd .tit {
  display: block;
  font-weight: bold;
  color: #1a6fb5;
  margin-bottom: 6px;
}

.contact-box .bd .item {
  display: block;
  white-space: nowrap;
}

.contact-box .bd .item .lbl {
  display: inline-block;
  min-width: 88px;
  color: #666;
}

.content .crumb.blue {
  background: #2bb3f3;
  color: #fff;
  border-bottom: none;
  border-radius: 4px;
  font-size: 16px;
}
.content .crumb.blue a {color: #fff;}

.branch-list {
  padding: 24px 28px;
}

.branch-list .name {
  color: #e8501a;
  font-size: 15px;
  margin: 16px 0 8px;
  font-weight: bold;
}

.branch-list .name:first-child {
  margin-top: 0;
}

.branch-list .row {
  color: #444;
  font-size: 14px;
  line-height: 30px;
}

.branch-list .row a {
  color: #1a6fb5;
}

/* 新闻分类侧栏 */
.sidebar.feature ul.news-cat li a {
  background: linear-gradient(#fbfbfb, #eef1f3);
  color: #1a6fb5;
  font-weight: bold;
  text-align: left;
  padding: 16px 22px;
}

.sidebar.feature ul.news-cat li a.active,
.sidebar.feature ul.news-cat li a:hover {
  color: #1a6fb5;
  background: linear-gradient(#f0f4f7, #e3e8ec);
}

/* 新闻列表页 */
.news-list {
  padding: 26px 24px 10px;
}

.news-list li {
  display: flex;
  align-items: center;
  padding: 14px 6px;
  font-size: 15px;
}

.news-list li .dot {
  width: 9px;
  height: 9px;
  background: #d61518;
  margin-right: 14px;
  flex-shrink: 0;
}

.news-list li .t {
  flex: 1;
  color: #333;
}

.news-list li .t:hover {
  color: #1a9aec;
  text-decoration: underline;
}

.news-list li .d {
  color: #555;
  margin-left: 20px;
  white-space: nowrap;
}

/* 分页 */
.pager {
  border-top: 1px solid #ddd;
  margin: 14px 24px 0;
  padding: 16px 0;
  text-align: center;
}

.pager a {
  color: #1a6fb5;
  font-size: 15px;
  margin-left: 36px;
  text-decoration: underline;
}

.pager a:hover {
  color: #d61518;
}
.pager a.active {
  color: #d61518;
}

/* 新闻详情页 */
.news-detail {
  padding: 26px 28px 60px;
}

.news-detail .art-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 14px;
}

.news-detail .art-date {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 26px;
}

.news-detail .art-body p {
  font-size: 15px;
  line-height: 32px;
  color: #444;
  text-indent: 2em;
  margin-bottom: 14px;
}

/* ============================================
   响应式 - 平板/手机端适配
   ============================================ */
@media (max-width: 1240px) {
  .wrap,
  .top,
  .nav ul,
  .banner,
  .banner-tags,
  .main,
  .subbanner,
  .sub-main,
  .service-banner,
  .footer .links {
    width: auto;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .main,
  .sub-main {
    padding: 0 12px;
  }

  .top,
  .banner,
  .banner-tags,
  .subbanner,
  .service-banner,
  .footer .links {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  /* 顶部 logo */
  .top {
    padding: 12px;
    text-align: center;
  }

  .top .logo,
  .top .logo img {
    height: auto;
  }

  .top .logo img {
    max-height: 70px;
    width: auto;
  }

  .top .hotline {
    position: static;
    font-size: 15px;
    letter-spacing: 1px;
    margin-top: 8px;
    text-align: center;
  }

  /* 导航：自动换行 */
  .nav ul {
    flex-wrap: wrap;
    height: auto;
    padding: 4px 0;
  }

  .nav li {
    flex: 0 0 33.333%;
  }

  .nav li a {
    font-size: 15px;
    line-height: 42px;
  }

  .nav li::after {
    display: none;
  }

  /* 二级菜单在手机端转为静态展开（点击主项进入页面，子项常显） */
  .nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
  }

  /* 焦点图 */
  .slider,
  .slider .slide img {
    height: 180px;
  }

  .slider-arrow {
    width: 32px;
    height: 44px;
    line-height: 44px;
    font-size: 18px;
  }

  .banner-tags {
    font-size: 15px;
    letter-spacing: 0;
    padding: 10px 8px;
    line-height: 26px;
  }

  .banner-tags span {
    margin: 0 6px;
  }

  /* 主体三栏 -> 单列 */
  .main,
  .sub-main {
    flex-direction: column;
    gap: 0;
  }

  .col-left,
  .col-center,
  .col-right,
  .sidebar {
    width: 100%;
    flex: none;
  }

  /* 货物查询大按钮 */
  .search-box .btn-big {
    font-size: 18px;
    padding: 10px 30px;
  }

  .search-box img {
    width: 120px;
  }

  /* 新闻列表项：日期不挤压标题 */
  .news li .t {
    white-space: normal;
  }

  /* 隐藏右侧客服悬浮窗 */
  .service {
    display: none;
  }

  /* 内页 banner 高度收敛 */
  .subbanner img,
  .service-banner img {
    max-height: 200px;
    object-fit: cover;
  }

  /* 内页正文内边距 */
  .content .article,
  .news-list,
  .news-detail,
  .branch-list {
    padding: 16px 14px;
  }

  .content .article h1,
  .news-detail .art-title {
    font-size: 18px;
  }

  /* 新闻列表页：纵向排列标题与日期 */
  .news-list li {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px 4px;
    font-size: 14px;
  }

  .news-list li .d {
    width: 100%;
    margin-left: 23px;
    margin-top: 4px;
    font-size: 12px;
    color: #999;
  }

  /* 分页居中 */
  .pager {
    text-align: center;
    margin: 14px 14px 0;
    padding: 18px 0;
  }

  .pager a {
    margin: 0 14px;
  }

  /* 查询页表单自适应 */
  .track-form {
    padding: 24px 12px;
  }

  .track-form input {
    width: 100%;
    margin-bottom: 12px;
  }

  .track-form button {
    width: 100%;
  }

  .track-result {
    width: 92%;
  }

  /* 表格横向滚动 */
  .tbl {
    width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* 联系方式标签宽度收敛 */
  .contact-box .bd .item {
    white-space: normal;
  }

  .contact-box .bd .item .lbl {
    min-width: 76px;
  }

  /* 底部友链 */
  .footer {
    padding: 16px 12px;
  }

  .footer .links {
    font-size: 13px;
    line-height: 24px;
  }
}

@media (max-width: 420px) {
  .nav li {
    flex: 0 0 50%;
  }

  .banner-tags {
    font-size: 13px;
  }

  .slider,
  .slider .slide img {
    height: 150px;
  }
}
