/* ============================================================
   拓晶源商贸 - 全局样式
   主色：#002080（深蓝） 金色点缀：#e0c000
   ============================================================ */

/* ============================================================
   一、CSS变量与全局
   ============================================================ */
:root {
  --primary: #1f65ba;
  --primary-light: #0040a0;
  --primary-lighter: #2060c0;
  --gold: #f3c112;
  --gold-dark: #7a6109;
  --dark: #0a0a0a;
  --dark-bg: #111111;
  --text: #181818;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg-light: #fff;
  --bg-gray: #f7f7f7;
  --white: #ffffff;
  --border: #e5e5e5;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 32, 128, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

@media (max-width: 768px) {
  html { font-size: 14px; }
}

body {
  font-size: 1rem;
  line-height: 1.7;
  background: #fff;
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", "noto sans", sans-serif;
  margin: 0 auto;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
  transition: var(--transition);
}
a:hover { color: var(--primary); }

* {
  margin: 0px;
  padding: 0px;
}
input {
  -webkit-user-select: auto;
}
p,h1,h2,h3,h4,h5,h6,ul,ol,dl,dd {
  list-style: none;
  margin: 0px 0px 0px 0px;
}
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
  line-height: 1.4;
}

img {
  width: auto;
  max-width: 100%;
}
.max-w-screen-2xl {
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.section-padding { padding: 4rem 0; }
@media (min-width: 992px) {
  .section-padding { padding: 5rem 0; }
}

/* ============================================================
   二、顶部导航 — 线上站风格（px→rem, 1rem=16px）
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 1030; background:url(../img/navbg.png) no-repeat bottom center #fff; }

/* 顶部栏 */
.top-bar { border-top: 2px solid #1f65ba; line-height: 1.875rem; background: #fff; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; }
.top-welcome { font-size: 0.75rem; color: #202020; }
.top-links { display: flex; gap: 0.625rem; flex-shrink: 0; }
.top-links a { font-size: 0.75rem; color: #202020; text-decoration: none; }
.top-links a:hover { color: #1f65ba; }

/* Logo+电话 */
.header-main { padding: 1.5rem 0; }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: flex; align-items: center; gap: 4.5rem; text-decoration: none; }
.header-logo img { display: block; height: auto; max-height: 4.75rem; }
.logo-slogan { font-size: 1.25rem; line-height: 1.6; }
.header-tel { padding-left: 3.75rem; background:url(../img/tel.png) no-repeat left center }
.header-tel span { font-size: 0.875rem; color: #2a2a2a; display: block; }
.header-tel h3 { font-size: 1.375rem; color: #2a2a2a; font-weight: 400; margin: 0; }

/* 主导航 */
.main-nav { background: #1f65ba; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-list > li { flex: 1; text-align: center; }
.nav-list > li > a {
  display: block; color: #fff; font-size: 0.875rem; line-height: 3.725rem;
  text-decoration: none; transition: background .3s;
}
.nav-list > li.active > a,
.nav-list > li:hover > a { background: rgba(0,0,0,0.12); }

/* 移动端 */
.mobile-header { display: none; background: #fff; padding: 0.625rem 0; border-bottom: 1px solid #eee; }
.mobile-header-inner { display: flex; align-items: center; justify-content: space-between; }
.mobile-header-inner img { height: 2.5rem; }
.mobile-actions { display: flex; align-items: center; gap: 0.75rem; }
.mobile-actions a, .mobile-actions button { color: #1f65ba; font-size: 1.25rem; background: none; border: none; padding: 0.375rem; cursor: pointer; }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1050; }
.mobile-menu.active { display: block; }
.mobile-menu-inner { background: #fff; padding: 0.9375rem; margin-top: 3.75rem; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid #eee; }
.mobile-menu li a { display: block; padding: 0.75rem 0; color: #333; font-size: 0.9375rem; text-decoration: none; }
.mobile-menu li.active a { color: #1f65ba; font-weight: 700; }

@media (max-width: 991px) {
  .logo-slogan { display: none; }
  .top-bar, .header-main, .main-nav { display: none; }
  .mobile-header { display: block; }
}
@media (min-width: 992px) {
  .mobile-header, .mobile-menu { display: none !important; }
}

/* ============================================================
   三、首页 Banner 轮播
   ============================================================ */
.home-banner {
  position: relative;
  overflow: hidden;
}

.home-banner .swiper-slide {
  position: relative;
}

.home-banner .banner-bg-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Banner 文字层（可选开启） */
.home-banner .banner-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,32,128,0.82) 0%, rgba(0,32,128,0.45) 55%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.home-banner .banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  color: #fff;
}

/* Swiper 分页器 */
.home-banner .swiper-pagination {
  bottom: 20px;
  z-index: 3;
}

.home-banner .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  transition: var(--transition);
}

.home-banner .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 30px;
  border-radius: 6px;
}

/* Swiper 导航箭头 */
.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.125rem;
  transition: var(--transition);
}

.banner-prev:hover,
.banner-next:hover {
  background: rgba(255,255,255,0.3);
}

.banner-prev { left: 20px; }
.banner-next { right: 20px; }

@media (max-width: 768px) {
  .banner-prev,
  .banner-next { display: none; }
}

.banner-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.banner-title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.banner-desc {
  font-size: 1.125rem;
  opacity: 0.92;
  max-width: 560px;
  margin-bottom: 28px;
}

.banner-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 250px;
  font-size: 1.125rem;
  background: var(--gold);
  color: var(--gold-dark);
  padding: 20px 15px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--gold-light);
  color: var(--primary);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: #fff;
  color: var(--primary);
}

@media (max-width: 768px) {
  .banner-title { font-size: 1.875rem; }
  .banner-desc { font-size: 0.9375rem; }
  .btn-primary-custom,
  .btn-outline-custom { padding: 10px 20px; font-size: 0.875rem; }
}

/* ============================================================
   四、通用标题
   ============================================================ */
.section-title {
  margin-bottom: 2.0rem;
}

.section-title h2 {
  font-size: 1.5rem;
  position: relative;
  margin-bottom: 0;
}
.section-title .subtitle {
  text-transform: uppercase;
}

/* ============================================================
   五、首页产品分类
   ============================================================ */
.product-categories { background: #fff; }
.product-categories .section-title {
  padding-top: 4rem;
}
.product-categories .cate-item {
  padding: 3rem 0 3rem;
}
.product-categories .cate-item:nth-child(even) {
  background-color: #f7f7f7;
}
.product-categories .cate-item:nth-child(odd) {
  background-color: #fff;
}

.category-block {
  display: flex;
  gap: 15px;
  align-items: stretch;
}

.category-side {
  width: 282px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #1a3a8a 0%, #0f2a70 100%);
  color: #fff;
  padding: 36px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.product-categories .cate-item:nth-child(even) .category-side {
  background: url(../img/one.png) center/cover no-repeat;
}
.product-categories .cate-item:nth-child(odd) .category-side {
  background: url(../img/two.png) center/cover no-repeat;
}

.category-side .cat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-side h3 {
  font-size: 1.625rem;
  margin: 1.0rem 0;
}

.category-side .sub-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

.category-side .sub-tags .sub-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem; 
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-side .sub-tags .sub-tag:hover {
  background: #f3c112;
  color: #fff;
}

.category-products {
  flex: 1;
}
.multi-img {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 15px;
}
.multi-img img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px; 
}

@media (max-width: 991px) {
  .multi-img { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .multi-img { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================================
   六、首页关于我们
   ============================================================ */
.about-section {
  background:var(--bg-gray);
}
.about-row {
  display: flex; 
  gap: 50px;
}
.about-content {
  flex: 1;
}
.about-content .lead-text {
  font-size: 1.75rem;
  line-height: 1.3;
  color: var(--text);  
  margin-bottom: 18px;
}
.about-content .lead-text  span{
  display: block;
  font-weight: 600;
  font-size: 2.85rem;
}

@media (max-width: 991px) {
  .about-content .lead-text { font-size: 1.375rem; }
  .about-content .lead-text span { font-size: 2.25rem; }
  .about-content .about-info { font-size: 1rem; margin-bottom: 2rem; }
}

@media (max-width: 767px) {
  .about-content .lead-text { font-size: 1.125rem; }
  .about-content .lead-text span { font-size: 1.75rem; }
  .about-content .about-info { font-size: 0.9375rem; }
}

.about-content .about-info {
  font-size: 1.125rem;
  margin-bottom: 5rem;
  text-align: justify;
}

.about-images .img-main {  
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .about-row { flex-direction: column; gap: 30px; }
  .about-images { width: 100%; }
}

/* ============================================================
   八、新闻资讯
   ============================================================ */
.news-section { background: url(../img/news.jpg) no-repeat top center #112780; color: #fff;}
.news-section .section-title h2{color: #fff;}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-5px); 
}
.news-card .news-date {
  font-size: 1.0rem;
  color: var(--white);
  font-weight: 500;
}
.news-card .news-title {
  font-size: 1.25rem; 
  font-weight: 600;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-card .news-title a,
.news-card .news-title a:hover { color: var(--white); }
.news-card .news-desc {
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media (max-width: 991px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .news-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   九、页脚 — 线上站风格
   ============================================================ */
.site-footer { color: #adadad; }
.footer-top { background: #252426; padding: 2.8125rem 0 2.1875rem; }
.footer-top h3 { color: #ddd; font-size: 1.125rem; margin-bottom: 2.1875rem; font-weight: 700; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links ul::after { content: ""; display: block; clear: both; }
.footer-links li { float: left; width: 33.333%; }
.footer-links a { display: block; color: #adadad; font-size: 0.875rem; line-height: 2.75rem; text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: #fff; }
.footer-contact-info { border-left: 1px solid #363636; border-right: 1px solid #363636;}
.footer-contact-info p { font-size: 0.875rem; margin-bottom: 0.75rem; }
.footer-qr-area h3 { color: #ddd; font-size: 1.125rem; margin-bottom: 2.1875rem; font-weight: 700; }
.qr-box { width: 8.1875rem; height: 8.1875rem; background: #c4c4c4; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 0 auto 0.625rem; }
.qr-box img { width: 7.5rem; height: 7.5rem; object-fit: contain; }
.footer-qr-area p { font-size: 0.875rem; color: #b5b5b5; text-align: center; }
.footer-bottom { background: #1e1d1f; padding: 0.625rem 0; text-align: center; }
.footer-bottom p { color: #838383; font-size: 0.875rem; margin: 0; }
.footer-bottom a { color: #838383; font-size: 0.875rem; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 767px) {
  .footer-top { padding: 1.875rem 0; }
  .footer-contact-info { border: none; border-top: 1px solid #363636; border-bottom: 1px solid #363636; margin: 1rem 0;padding-top: 1rem; }
  .footer-links li { width: 50%; }
}

/* ============================================================
   十、返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,32,128,0.25);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1040;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* ============================================================
   十一、内页公共
   ============================================================ */

.banner-inner {
  position: relative;
  background: #f7f7f7;
  overflow: hidden;
}

.banner-inner .banner-img,
.banner-inner .banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-inner .banner-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,32,128,0.65);
}

.banner-txt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.breadcrumbs {
  font-size: 1rem;
  color: #666;
}

.breadcrumbs a {
  color: #666;
}

.breadcrumbs a:hover {
  color: #f3c112;
}

/* 面包屑最后一项（当前页面）黄色 */
.breadcrumbs span:last-child,
.breadcrumbs a:last-child {
  color: #f3c112;
}

.page-content h2 {
  color: var(--primary);
  border-left: 4px solid var(--gold);
  padding-left: 14px;
}

/* ============================================================
   十三、新闻详情页样式
   ============================================================ */
.news-detail-header {
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.news-detail-header h1 {
  font-size: 1.625rem;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
  margin-bottom: 16px;
}

.news-detail-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #999;
  font-size: 0.8125rem;
  flex-wrap: wrap;
}

.news-detail-meta span {
  display: inline-flex;
  align-items: center;
}

.news-detail-meta i {
  color: var(--primary);
  margin-right: 4px;
}

/* 正文内容区 */
.page-content {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}
.page-content h1,
.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin: 1.6em 0 0.8em;
  text-indent: 0;
}

.page-content h2 {
  font-size: 1.125rem;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
  margin: 1.8em 0 0.8em;
}

.page-content h3,
.page-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #333;
  margin: 1.4em 0 0.6em;
  text-indent: 0;
}

.page-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 6px;
}

.page-content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: #f8f9fa;
  border-left: 4px solid var(--primary);
  color: #666;
  font-size: 0.9375rem;
}

.page-content strong {
  color: #222;
}

.page-content a {
  color: var(--primary);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

.page-content ul,
.page-content ol {
  margin: 12px 0 12px 2em;
}

.page-content li {
  margin-bottom: 6px;
}

/* 上下篇导航 */
.news-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.news-nav-links a {
  color: #666;
  font-size: 0.9375rem;
  text-decoration: none;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.news-nav-links a:hover {
  color: var(--primary);
}

.news-nav-links p {
  margin: 0;
}

@media (max-width: 767px) {
  .news-detail-header h1 {
    font-size: 1.25rem;
  }
  .news-detail-meta {
    gap: 12px;
  }
  .page-content {
    font-size: 0.9375rem;
  }
  .news-nav-links {
    flex-direction: column;
    gap: 8px;
  }
  .news-nav-links a {
    max-width: 100%;
  }
}

.product-card {
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  text-align: center;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-color: #d5d9e3;
}

.product-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  overflow: hidden;
}

.product-card-img img {
  max-height: 85%;
  max-width: 85%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img { transform: scale(1.03); }

.product-card-body {
  padding: 14px 12px 16px;
}

.product-card-cate {
  font-size: 0.75rem;
  color: #8a92a5;
  margin-bottom: 2px;
}

.product-card-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2c2c2c;
  line-height: 1.5;
  display: block;
}

.product-card-title:hover { color: var(--primary); }

.product-card-desc {
  font-size: 0.8125rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 2.6em;
}

.product-card-link {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
}

.product-card-link:hover { color: var(--primary-light); }

.contact-info-card {
  text-align: center;
  padding: 4rem 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  height: 100%;
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #d0d8ec;
}

.contact-info-card .icon-circle {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.contact-info-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: #777;
}

/* 留言 */

.contact-form-wrap {
  background: #fff;
  padding: 50px 5px;
}

.form-control {
  border-color: #e0e0e0;
  padding: 0.65rem 0.9rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 32, 128, 0.15);
}

.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 42px;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-submit:hover { background: var(--primary-light); }

/* 留言表单 - 统一底部线样式 */
.contact-form-wrap .input-group-text {
  background: transparent;
  border: none;
  border-bottom: 1px solid #e2e2e2;
  border-radius: 0;
  color: #999;
  font-size: 0.95rem;
  padding: 0.65rem 0.5rem 0.65rem 0;
}

.contact-form-wrap .input-group .form-control,
.contact-form-wrap textarea.form-control,
.contact-form-wrap input[name="checkcode"].form-control {
  border: none;
  border-bottom: 1px solid #e2e2e2;
  border-radius: 0;
  padding: 0.65rem 0 0.65rem 0.25rem;
  box-shadow: none;
  background: transparent;
}

.contact-form-wrap .input-group .form-control:focus,
.contact-form-wrap textarea.form-control:focus,
.contact-form-wrap input[name="checkcode"].form-control:focus {
  border-bottom-color: var(--primary);
  box-shadow: none;
}

.contact-form-wrap .input-group:focus-within .input-group-text {
  border-bottom-color: var(--primary);
  color: var(--primary);
}



/* ============================================================
   十一、分页
   ============================================================ */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.875rem;
}

/* 状态信息 */
.pagination .page-status {
  margin-right: 8px;
  color: #888;
  font-size: 0.8125rem;
}

/* 所有链接 — 灰底白字 */
.pagination .page-index a,
.pagination .page-pre a,
.pagination .page-next a,
.pagination .page-last a,
.pagination .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  margin: 2px;
  color: #fff;
  text-decoration: none;
  background: #9b9b9b;
  font-size: 0.875rem;
  transition: background .2s;
}
.pagination .page-index a:hover,
.pagination .page-pre a:hover,
.pagination .page-next a:hover,
.pagination .page-last a:hover,
.pagination .page-num:hover {
  background: #5c5c5c;
  color: #fff;
}

/* 当前页 — 蓝底 */
.pagination .page-num-current {
  background: #1f65ba !important;
  color: #fff !important;
  font-weight: 700;
  padding: 2px 8px;
}

/* 禁用态（无链接的 prev） */
.pagination .page-pre a[href="javascript:;"] {
  color: #ddd;
  background: transparent;
  pointer-events: none;
}

@media (max-width: 767px) {
  .pagination { justify-content: center; font-size: 0.8125rem; }
  .pagination .page-index a,
  .pagination .page-pre a,
  .pagination .page-next a,
  .pagination .page-last a,
  .pagination .page-num { padding: 2px 5px; font-size: 0.8125rem; }
}
}

/* ============================================================
   十二、内页侧边栏 — 线上站风格（px→rem）
   ============================================================ */
.inner-sidebar { width: 16.25rem; /* 260px */ }

/* 分类块 */
.side-box { margin-bottom: 1.25rem; }
.side-box-head {
  background: #1f65ba; width: 100%; height: 6rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.side-box-head h5 { font-size: 1.5rem; letter-spacing: 0.6875rem; font-weight: 700; color: #fff; margin: 0; }
.side-box-head span { font-size: 0.625rem; text-transform: uppercase; color: #fff; margin-top: 0.25rem; }
.side-box-body {
  background: #fff; padding: 0.8125rem 0 0.125rem; border: 1px solid #e9e9e9; border-top: 0;
  box-shadow: 1px 1px 9px #e9e9e9;
}
.side-box-body ul { list-style: none; margin: 0; padding: 0; }
.side-box-body li { border-bottom: 1px solid #e9e9e9; }
.side-box-body li:last-child { border-bottom: none; }
.side-box-body li a {
  display: block; font-size: 1rem; font-weight: 700; color: #333;
  line-height: 3.125rem; padding: 0 0.9375rem; text-decoration: none; transition: color .3s;
}
.side-box-body li a:hover { color: #1f65ba; }
.side-box-body li.active a { color: #1f65ba; }

/* 联系块 */
.side-contact-box { border-top: 2px solid #1f65ba; border-bottom: 2px solid #1f65ba; box-shadow: 1px 1px 9px #e9e9e9; }
.side-box-head-contact {
  background: #fff; border-bottom: 2px solid #1f65ba;
  width: 100%; height: 6rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.side-box-head-contact h5 { font-size: 1.5rem; letter-spacing: 0.6875rem; font-weight: 700; color: #1f65ba; margin: 0; }
.side-box-head-contact span { font-size: 0.625rem; text-transform: uppercase; color: #1f65ba; margin-top: 0.25rem; }
.side-contact-box .side-box-body p { line-height: 2.125rem; padding: 0 1.25rem; margin: 0; font-size: 0.875rem; color: #333; }

@media (max-width: 991px) {
  .inner-sidebar { width: 100%;display: none; }
}

/* ============================================================
   十三、产品页分组展示
   ============================================================ */
.product-section {
  margin-bottom: 40px;
}

.product-section:last-child {
  margin-bottom: 0;
}

.product-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  border-top: 3px solid var(--border);
  padding-top: 1.25rem;
}
.product-section-title:before{
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 100%;
  height: 1px;
  background: var(--border);
}

@media (max-width: 991px) {
  .product-section-title {
    font-size: 1.125rem;
  }
}

/* ============================================================
   十五、全站手机端适配优化
   ============================================================ */

/* --- 平板 (≤991px) --- */
@media (max-width: 991px) {
  /* 通用间距 */
  .section-padding { padding: 2.5rem 0; }
  .inner-section { padding: 2rem 0; }
  .row.g-5 { --bs-gutter-y: 1.5rem; }

  /* 标题 */
  .section-title h2 { font-size: 1.5rem; }
  .section-title { margin-bottom: 1.5rem; text-align: center; }
  .section-title .subtitle { font-size: 0.8125rem; }

  /* 首页Banner */
  .banner-title { font-size: 1.5rem; }
  .banner-desc { font-size: 0.875rem; max-width: 100%; }
  .banner-tag { font-size: 0.75rem; padding: 4px 12px; margin-bottom: 12px; }
  .btn-primary-custom { min-width: auto; padding: 14px 24px; font-size: 0.9375rem; }

  /* 首页产品分类 */
  .category-block { flex-direction: column; }
  .category-side { width: 100%; min-height: 140px; }
  .product-categories .cate-item { padding: 2rem 0; }
  .product-categories .section-title { padding-top: 2rem; }
  .home-pro-card { min-width: 0; }

  /* 首页新闻 */
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* 产品卡片 */
  .product-card-title { font-size: 0.875rem; }
  .product-card-desc { font-size: 0.75rem; }
  .product-card-link { font-size: 0.8125rem; }

  /* 表单 */
  .contact-form-wrap .form-control,
  .contact-form-wrap .input-group { font-size: 0.9375rem; }

  /* 联系侧边栏 */
  .sidebar-contact { padding: 1.25rem 1rem; }
  .sidebar-contact .contact-number { font-size: 1.125rem; }
}

/* --- 手机 (≤767px) --- */
@media (max-width: 767px) {
  /* 通用 */
  .section-padding { padding: 2rem 0; }
  .inner-section { padding: 1.5rem 0; }
  .row.g-5 { --bs-gutter-y: 1.25rem; }

  /* 标题 */
  .section-title h2 { font-size: 1.375rem; }

  /* Banner */
  .banner-title { font-size: 1.375rem; }
  .banner-desc { display: none; }
  .btn-primary-custom { width: 100%; justify-content: center; }

  /* 首页产品分类 */
  .category-side { min-height: 120px; padding: 24px 16px; }
  .category-side h3 { font-size: 1.125rem; margin: 0; }
  .product-categories .cate-item { padding: 1.5rem 0; }

  /* 首页新闻 */
  .news-grid { grid-template-columns: 1fr; }
  .news-card { flex-direction: row; gap: 12px; }

  /* 首页关于 */

  .about-images img {width: 100%; object-fit: cover; border-radius: 8px; }

  /* 产品页 */
  .product-section { margin-bottom: 28px; }
  .product-section-title { font-size: 1.0625rem; margin-bottom: 1rem; padding-top: 1rem; }

  /* 产品卡片 */
  .product-card-img { height: auto; }
  .product-card-img img { aspect-ratio: 1/1; object-fit: cover; }

  /* 在线留言 */
  .message-section .row.g-3 > [class*="col-"] { padding-bottom: 8px; }

  /* 内页 */
  .page-content { font-size: 0.9375rem; }
  .page-content img { margin: 16px auto; }

  /* 面包屑 */
  .breadcrumbs { font-size: 0.8125rem; }
  .banner-inner .py-3 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
}

/* --- 小手机 (≤480px) --- */
@media (max-width: 480px) {
  .btn-primary-custom { width: 100%; }
  .product-card { border-radius: 6px; }
}

/* 四优势板块（sign-section） */
.sign-section {
  position: relative;
  padding: 3.5rem 0;
  overflow: hidden;
  color: #fff;
}
.sign-section .sign-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/sign.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.sign-section .sign-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.sign-section .sign-inner {
  position: relative;
  z-index: 2;
}

.sign-section .sign-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 1 auto;
}
.sign-section .sign-icon {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 1.0);
  outline: 4px solid rgba(255, 255, 255, 1.0);
  outline-offset: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: transparent;
}
.sign-section .sign-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.4;
}
.sign-section .sign-text h3 {
  margin: 0 0 4px 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.sign-section .sign-text p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.5;
}
@media (min-width: 992px) {
  .sign-section { padding: 4.5rem 0; }
  .sign-section .sign-icon { width: 86px; height: 86px; font-size: 2.6rem; }
  .sign-section .sign-text h3 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  .sign-section .sign-list {
    justify-content: flex-start;
    gap: 1.25rem 0;
  }
  .sign-section .sign-item {
    justify-content: flex-start;
    padding: 0.5rem 0;
  }
  .sign-section .sign-icon { width: 60px; height: 60px; font-size: 1.9rem; }
  .sign-section .sign-text h3 { font-size: 1.15rem; }
  .sign-section .sign-text p { font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .sign-section .sign-item {
    justify-content: flex-start;
    text-align: left;
  }
}

/* ============================================================
   十六、视频展示页
   ============================================================ */
.video-card {
  background: #fff;
  border: 1px solid #ddd;
  text-align: center;
}
.video-card:hover { box-shadow: 0 0 10px #ddd; }
.video-card-img {
  background: #000;
}
.video-card-img video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
}
.video-card-title {
  padding: 8px 10px;
  font-size: 14px;
  color: #3b3b3b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .video-card-img video { max-height: 160px; }
  .video-card-title { font-size: 13px; padding: 6px 8px; }
}
@media (max-width: 480px) {
  .video-card-img video { max-height: 130px; }
  .video-card-title { font-size: 12px; }
}

/* ============================================================
   十七、应用领域/资质荣誉(case)展示页
   ============================================================ */
.case-header {
  border-bottom: 2px dotted #ccc;
  margin-bottom: 30px;
  padding-bottom: 8px;
}
.case-header h3 { color: #505050; }
.case-bread { font-size: 13px; color: #484848; white-space: nowrap; }
.case-bread a { color: #484848; text-decoration: none; }
.case-bread a:hover { color: #1f65ba; }

.case-card-link {
  display: block;
  background: #fff;
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
  text-decoration: none;
  color: #333;
}
.case-card-link:hover { box-shadow: 0 0 10px #ddd; color: #1f65ba; }
.case-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f6f6f6;
}
.case-card-img img {
  max-width: 100%;
  max-height: 100%;
  transition: transform .5s ease;
}
.case-card-link:hover .case-card-img img { transform: scale(1.1); }
.case-card-title {
  margin: 6px 0 0;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .case-header { margin-bottom: 20px; padding-bottom: 6px; }
  .case-header h3 { font-size: 18px; }
  .case-bread { font-size: 12px; }
  .case-card-img { height: 140px; }
  .case-card-link { padding: 8px; }
  .case-card-title { font-size: 13px; }
}

/* ============================================================
   十八、服务项目(product)展示页 — 线上站 newpro 风格
   ============================================================ */
.product-card-link {
  display: block;
  text-decoration: none;
  transition: box-shadow .3s, transform .3s;
}
.product-card-link:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.product-card-img {
  position: relative;
  width: 100%;
  height: 11.875rem; /* 190px */
  overflow: hidden;
  background: #f6f6f6;
}
.product-card-img img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.product-card-name {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  margin: 0;
  text-align: center;
  color: #fff;
  background: #1f65ba;
  line-height: 2.5rem;
  font-size: 1rem;
  transition: line-height .3s, font-size .3s;
}
.product-card-link:hover .product-card-name {
  line-height: 3.125rem;
  font-size: 1.125rem;
}

@media (max-width: 767px) {
  .product-card-img { height: 9.375rem; }
  .product-card-name { font-size: 0.875rem; line-height: 2.25rem; }
}
@media (max-width: 480px) {
  .product-card-img { height: 8rem; }
  .product-card-name { font-size: 0.8125rem; line-height: 2rem; }
}

/* ============================================================
   十九、产品详情页 — 线上站风格
   ============================================================ */
.product-detail-title {
  text-align: center;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.9375rem;
  padding-bottom: 0.9375rem;
  border-bottom: 1px dashed #ccc;
}
.product-detail-img img { max-width: 80%; }
.content-label {
  display: block;
  background: #ddd;
  color: #fff;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.content-label small {
  background: #1f65ba;
  display: block;
  float: left;
  text-align: center;
  line-height: 2.5rem;
  width: 7.5rem;
}
.product-prev-next { font-size: 0.8125rem; }
.product-prev-next a { color: #333; text-decoration: none; }
.product-prev-next a:hover { color: #1f65ba; }

@media (max-width: 767px) {
  .product-detail-title { font-size: 1.25rem; }
  .product-detail-img img { max-width: 100%; }
}

/* ============================================================
   二十、新闻列表和详情页 — 线上站 new_right 风格
   ============================================================ */
/* 列表 */
.news-list-card { margin-bottom: 0.625rem; }
.news-list-link {
  display: flex;
  border: 1px solid #ddd;
  padding: 0.9375rem;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .3s, transform .3s;
}
.news-list-link:hover {
  box-shadow: 0 5px 30px rgba(0,0,0,0.18);
  transform: translateY(-2px);
  color: inherit;
}
.news-list-img {
  flex: 0 0 16.875rem; /* 270px */
  width: 16.875rem;
  height: 12.5rem; /* 200px */
  overflow: hidden;
  margin-right: 1.25rem;
  background: #f6f6f6;
}
.news-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-list-body {
  flex: 1;
  min-width: 0;
  position: relative;
  padding-bottom: 2rem;
}
.news-list-body h4 {
  font-size: 1.25rem;
  color: #000;
  margin: 0 0 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-list-desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.625rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.news-list-date {
  font-size: 0.875rem;
  color: #999;
  position: absolute;
  bottom: 0;
  right: 0;
}

/* 详情 */
.news-detail-meta { font-size: 0.875rem; }
.news-prev-next { font-size: 0.8125rem; }
.news-prev-next a { color: #333; text-decoration: none; }
.news-prev-next a:hover { color: #1f65ba; }

@media (max-width: 767px) {
  .news-list-link { flex-direction: column; }
  .news-list-img { flex: none; width: 100%; height: 10rem; margin-right: 0; margin-bottom: 0.75rem; }
  .news-list-body h4 { font-size: 1rem; }
  .news-list-desc { font-size: 0.8125rem; -webkit-line-clamp: 2; }
  .news-list-date { font-size: 0.75rem; }
}
@media (max-width: 480px) {
  .news-list-img { height: 8rem; }
}

/* ============================================================
   二十一、首页 — 线上站风格（完整复刻）
   ============================================================ */

/* 通用板块标题（图标+h4+副标题） */
.home-section-title { text-align:center; margin-bottom:2.5rem; }
.home-section-title img { display:inline-block; margin-bottom:0.625rem; }
.home-section-title h4 { font-size:1.75rem; color:#4e5152; margin:0.625rem 0; font-weight:700; }
.home-section-title small { font-size:0.875rem; color:#707070; display:block; }

/* 流程 */
.home-flow { background: url("../img/lcbg.jpg") no-repeat left center;}
.home-flow-inner { display: flex; align-items: center; }
.home-flow-deco { width: 25%; background-color: #1f65ba; padding: 2.5rem 0; display: flex; align-items: center; justify-content: center; }
.home-flow-deco img { max-width: 80%; }
.home-flow-content { width: 75%; padding: 0 2rem; background-color: #fff; display: flex; align-items: center; }
.home-flow-content > img { flex-shrink: 0; }
.home-flow-list { flex: 1; display: flex; justify-content: space-between; gap: 1.5625rem; position: relative; z-index: 1; list-style: none; margin: 0; padding-left: 5rem; }
.home-flow-list::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; margin-top: -12px; border-top: 1px dashed #c2c2c2; z-index: 1;
}
.home-flow-list li { z-index: 2; display: flex; flex-direction: column; align-items: center; }
.home-flow-list li .flow-img {
  width: 4.875rem; height: 4.875rem; border-radius: 50%; border: 1px solid #c7c7c7;
  padding: 1rem; background: #fff; display: flex; align-items: center; justify-content: center;
  transition: border-color .3s;
}
.home-flow-list li .flow-img img { filter: grayscale(90%); transition: filter .3s; max-width: 100%; max-height: 100%; }
.home-flow-list li p { font-size: 0.875rem; text-align: center; color: #4d4d4d; margin: 0.5rem 0 0; white-space: nowrap; transition: color .3s; }
.home-flow-list li:hover .flow-img { border-color: #1f65ba; }
.home-flow-list li:hover .flow-img img { filter: grayscale(0%); }
.home-flow-list li:hover p { color: #1f65ba; }

/* 应用领域 */
.home-app { background:url("../img/yybg.jpg") repeat center; padding:2.5rem 0 2.8125rem; }
.home-app-row { align-items:flex-start; }
.home-app-left { display:flex; flex-direction:column; }
.app-tab { display:block; background:#fff; color:#2a2a2a; font-size:1rem; text-align:center; line-height:4.625rem; text-decoration:none; margin-bottom:0.9375rem; transition:background .3s,color .3s; }
.app-tab:hover,.app-tab.active { background:#ff8c00; color:#fff; }
.app-tab-msg { background:#ff8c00 url("../img/msg.png") no-repeat 1.25rem center; color:#fff; margin-bottom:0; }
.procontact { background:#fff; padding-bottom:1.25rem; }
.procontact img { width:100%; display:block; }
.procontact p { padding-left:0.9375rem; margin-top:0.9375rem; font-size:0.875rem; color:#333; }
.app-content { position:relative; overflow:hidden; }
.app-content img { width:100%; height:auto; display:block; }
.app-content p { position:absolute; left:0; bottom:0; width:100%; line-height:3.5rem; background:rgba(59,59,59,0.8); text-align:center; font-size:1rem; color:#fff; margin:0; }
.app-panels { position:relative; }
.app-panel { display:none; }
.app-panel.app-panel-active { display:block; }

/* 公司简介 */
.home-company { padding:2.5rem 0; }
.home-company-row { margin-top:0; }
.company-img { width:100%; height:auto; object-fit:cover; }
.company-text { background:#f3f3f3; padding:1.875rem 1.25rem; height:100%; }
.company-text small { font-size:1rem; color:#b5b5b5; display:block; }
.company-text h2 { font-size:1.5rem; color:#3a3a3a; margin:0.625rem 0; }
.company-text b { display:block; width:1.25rem; height:0.25rem; background:#1f65ba; }
.company-desc { font-size:0.875rem; color:#4e5152; margin:1.0rem 0 2.0rem; text-align:justify; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; }
.home-btn { display:inline-block; font-size:0.875rem; color:#fff; width:7.5rem; line-height:2.25rem; text-align:center; border-radius:1.25rem; background:#ff8c00; text-decoration:none; font-weight:700; transition:border-radius .3s; }
.home-btn:hover { border-radius:0; color:#fff; }
.home-btn-more { display:inline-block; border-radius:1.25rem; color:#fff; font-size:0.875rem; width:10.125rem; background:#ff8c00; line-height:2.25rem; text-align:center; text-decoration:none; font-weight:700; }
.home-btn-more:hover { border-radius:0; color:#fff; }

/* 厂房展示 */
.home-workshop { margin-top:2.5rem; }
.home-workshop h4 { font-size:1.125rem; color:#383838; font-weight:400; margin-bottom:1.25rem; }
.home-workshop h4 span { font-size:0.875rem; color:#949494; }
.workshop-swiper .swiper-slide { position:relative; overflow:hidden; }
.workshop-swiper .swiper-slide a { display:block; }
.workshop-swiper .swiper-slide img { width:100%; height:9.1875rem; object-fit:cover; }
.workshop-swiper .swiper-slide p { position:absolute; left:0; bottom:-100%; width:100%; height:100%; padding-top:4rem; background:rgba(0,0,0,0.43); color:#fff; font-size:1rem; text-align:center; margin:0; transition:bottom .3s; }
.workshop-swiper .swiper-slide:hover p { bottom:0; }
/* 厂房展示 — 自定义箭头 */
.workshoppic { position:relative; margin-bottom:3rem; }
.workshoppic .swiper-button-next,
.workshoppic .swiper-button-prev { width:2.5rem; height:2.5rem; margin-top:-1.25rem; }
.workshoppic .swiper-button-next::after,
.workshoppic .swiper-button-prev::after { display:none; }
.workshoppic .swiper-button-next { background:url("../img/jt_r.png") no-repeat center; background-size:2.5rem 2.5rem; right:-3.4375rem; }
.workshoppic .swiper-button-prev { background:url("../img/jt_l.png") no-repeat center; background-size:2.5rem 2.5rem; left:-3.4375rem; }
.workshoppic .swiper-button-next.swiper-button-disabled { background-image:url("../img/jt_rs.png"); opacity:1; }
.workshoppic .swiper-button-prev.swiper-button-disabled { background-image:url("../img/jt_ls.png"); opacity:1; }

/* 优势 */
.home-adv { background:url("../img/adv.jpg") no-repeat center; background-size:cover; background-attachment:fixed; padding:3.5rem 0; }
.home-adv .home-section-title h4 { color:#fff; }
.home-adv .home-section-title small { color:rgba(255,255,255,0.7); }
.home-adv-row { align-items:center; }
.adv-card { overflow:hidden; }
.adv-img { position:relative; overflow:hidden; }
.adv-img img { width:100%; height:22.25rem; object-fit:cover; display:block; }
.adv-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(17,98,196,0.7); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:1.25rem; opacity:0; transition:opacity .3s; }
.adv-card:hover .adv-overlay { opacity:1; }
.adv-overlay h5 { font-size:1rem; color:#fff; margin:0 0 0.5rem; }
.adv-overlay i { font-weight:700; color:#fff; font-style:normal; }
.adv-overlay p { font-size:0.875rem; color:#fff; line-height:2rem; text-align:center; margin:1.25rem 0 0; }
.adv-label { background:#fff; padding:1.375rem; text-align:center; }
.adv-label h4 { font-size:1rem; color:#3d3d3d; margin:0; }
.adv-label span { display:block; width:3.125rem; height:2px; background:#4e4e4e; margin:0.5625rem auto 0.375rem; }
.adv-label small { font-size:0.75rem; color:#7a7a7a; text-transform:uppercase; line-height:1.25rem; display:block; }
/* 第二项反转 */
.adv-card-reverse { display:flex; flex-direction:column; }

/* 资质荣誉 */
.home-honor { padding:2.5rem 0; }
.honor-card { background:#fff; border:1px solid #ddd; padding:0.625rem; transition:box-shadow .3s; text-decoration:none; color:inherit; display:block; }
.honor-card:hover { box-shadow:0 0 10px #ddd; color:inherit; }
.honor-img { height:14rem; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.honor-img img { max-width:100%; max-height:100%; }
.honor-title { font-size:0.875rem; color:#515151; text-align:center; margin:0.25rem 0 0; line-height:3.125rem; }

/* 新闻 */
.home-news { padding:2.5rem 0; }
.news-tit { border-bottom:1px solid #d8d8d8; padding-bottom:0.625rem; margin-bottom:2rem; font-size:1.125rem; color:#4d4d4d; display:flex; justify-content:space-between; align-items:center; }
.news-tit a { color:#6f6f6f; font-size:0.875rem; text-decoration:none; }
.news-main-card { display:block; text-decoration:none; color:inherit; }
.news-main-img img { width:100%; height:12.8125rem; object-fit:cover; }
.news-main-info { background:#f3f3f3; padding:1.5625rem; }
.news-main-info h5 { font-size:1rem; color:#3c3c3c; margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:70%; }
.news-main-info small { font-size:0.875rem; color:#898888; }
.news-main-info p { font-size:0.875rem; color:#757575; margin:0.625rem 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.news-sub-list { list-style:none; margin:0; padding:0; }
.news-sub-list li { display:flex; gap:0.9375rem; padding-bottom:1.6875rem; margin-bottom:1.6875rem; border-bottom:1px dashed #d4d4d4; }
.news-sub-list li:last-child { border:none; }
.news-date-block { text-align:center; width:4.6875rem; flex-shrink:0; }
.news-date-block b { display:block; font-size:1.75rem; color:#595757; line-height:1; font-weight:400; }
.news-date-block span { font-size:0.875rem; color:#898989; }
.news-sub-list li a { text-decoration:none; flex:1;overflow: hidden;}
.news-sub-list li p { font-size:0.875rem; color:#696868; line-height:1.5625rem; margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.news-qa-list { list-style:none; margin:0; padding:0; }
.news-qa-list li { border-bottom:1px dashed #d4d4d4; padding:0 0 1.25rem 1.875rem; margin-bottom:1.25rem; background:url("../img/ques.png") no-repeat left top; }
.news-qa-list li:last-child { border:none; margin-bottom:0; }
.news-qa-list li a { display:block; text-decoration:none; }
.news-qa-list h5 { font-size:1rem; color:#353535; margin:0 0 0.25rem; }
.news-qa-list p { font-size:0.875rem; color:#828181; line-height:1.4375rem; margin:0; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }

/* 友情链接 */
.home-links { background:#363636; }
.home-links span { display:block; width:8.625rem; font-size:1rem; background:#252426; font-weight:700; line-height:3.125rem; text-align:center; color:#fff; }

/* 响应式 */
@media (max-width:991px) {
  .home-flow-deco { display:none; }
  .home-flow-content { width: 100%; padding: 0 1rem; }
  .home-flow-content > img { display: none; }
  .home-flow-list { gap:1rem; }
  .home-flow-list li .flow-img { width:3.75rem; height:3.75rem; padding:0.75rem; }
  .home-flow-list li p { font-size:0.75rem; }
  .home-section-title h4 { font-size:1.375rem; }
  .home-app-left { flex-direction:column; }
  .home-app-left .app-tab { line-height:3.75rem; font-size:0.9375rem; }
  .procontact { margin-top:0; }
  .company-text { height:auto; }
  .adv-img img { height:15rem; }
}
@media (max-width:767px) {
  .home-flow-content { padding: 0 0.5rem; }
  .home-flow-list { gap:0.75rem; flex-wrap:wrap; justify-content:center;padding: 1rem 0rem 1rem 0rem; }
  .home-flow-list::after { display:none; }
  .home-flow-list li .flow-img { width:2.6rem; height:2.6rem;}
  .home-flow-list li p { font-size:0.6875rem; }
  .home-section-title h4 { font-size:1.25rem; }
  .home-section-title img { max-width:2.5rem; }
  .home-app-left .app-tab { line-height:3.5rem; font-size:0.875rem; margin-bottom:0.625rem; }
  .app-tab-msg { background:#ff8c00; }
  .procontact p { font-size:0.8125rem; }
  .company-text { padding:1.25rem; }
  .company-text h2 { font-size:1.125rem; }
  .company-desc { font-size:0.8125rem; line-height:1.75rem; -webkit-line-clamp:3; }
  .adv-img img { height:12rem; }
  .adv-overlay p { font-size:0.8125rem; line-height:1.5rem; }
  .adv-label { padding:0.9375rem; }
  .adv-label h4 { font-size:0.875rem; }
  .adv-label small { font-size:0.6875rem; }
  .honor-img { height:10rem; }
  .workshop-swiper .swiper-slide img { height:7rem; }
  .news-main-img img { height:9rem; }
  .news-main-info { padding:1rem; }
  .news-main-info h5 { font-size:0.875rem; }
  .news-main-info p { font-size:0.8125rem; }
  .news-qa-list li { padding-left:1.25rem; }
  .workshoppic .swiper-button-prev{left: 0rem;}
  .workshoppic .swiper-button-next{right: -0rem;}
  .footer-top h3{margin-bottom: 0.75rem;}
}
