/* ==========================================================================
   上海朴席自动化 · 全站视觉升级
   说明：本文件在 style.css 之后加载，只做“覆盖式”美化，不改变模板原有结构。
   ========================================================================== */

:root {
  --ink: #0b1f33;
  --ink-2: #23384d;
  --body: #465c72;
  --muted: #7b8da1;
  --line: #e3eaf2;
  --line-soft: #eef3f9;
  --soft: #f5f8fc;
  --brand: #0e5aa7;
  --brand-2: #1772c6;
  --brand-dark: #0a3e75;
  --brand-soft: #eaf2fb;
  --green: #35a85a;
  --green-soft: #eaf7ee;
  --navy: #081a2c;
  --radius: 16px;
  --shadow-sm: 0 6px 18px rgba(10, 32, 58, .06);
  --shadow-md: 0 16px 40px rgba(10, 32, 58, .10);
  --shadow-lg: 0 26px 60px rgba(10, 32, 58, .14);
}

/* --------------------------------------------------------------------------
   1. 基础排版
   -------------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-content h2,
.page h2 {
  font-size: 34px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-content h3,
.page h3 {
  font-size: 24px;
  line-height: 1.4;
}

.page-content h4,
.page h4 {
  font-size: 21px;
  line-height: 1.45;
}

.page-content h5,
.page h5 {
  font-size: 18px;
  line-height: 1.5;
}

.page-content p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--body);
}

.page-content a {
  transition: color .2s ease;
}

::selection {
  background: rgba(23, 114, 198, .18);
  color: var(--ink);
}

.page-content :focus-visible,
.page-foot :focus-visible,
.page-head :focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}

/* 主题色块 */
.bg-gray-lighter {
  background-color: #f6f9fd !important;
}

.bg-gray-dark {
  background-color: var(--navy) !important;
}

.page hr {
  border: 0;
  border-top: 1px solid var(--line);
}

/* 标题下的装饰线 */
.divider-primary,
.divider-denim {
  background: var(--brand-2);
}

.divider {
  height: 4px;
  width: 46px;
  border-radius: 4px;
}

.divider-center.divider-md {
  margin-left: auto;
  margin-right: auto;
}

/* 顶部/底部按钮以外的通用链接 */
.link-primary,
.link-primary-contrast {
  color: var(--brand-2);
}

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

/* --------------------------------------------------------------------------
   2. 按钮
   -------------------------------------------------------------------------- */
.btn {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: .02em;
  border-radius: 999px;
  transition: transform .22s ease, box-shadow .22s ease,
    background-color .22s ease, border-color .22s ease, color .22s ease;
}

.btn-primary {
  color: #fff !important;
  background-color: var(--brand);
  background-image: linear-gradient(135deg, var(--brand-2) 0%, var(--brand) 100%);
  border: 1px solid transparent !important;
  box-shadow: 0 10px 24px rgba(14, 90, 167, .26);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  color: #fff !important;
  background-color: var(--brand-dark);
  background-image: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 14px 30px rgba(14, 90, 167, .32);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.page .btn-primary.btn-no-shadow {
  box-shadow: none;
}

.min-width-230 {
  min-width: 220px;
  padding: 15px 32px;
}

.btn-ghost {
  color: #fff !important;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .45) !important;
  box-shadow: none;
  backdrop-filter: blur(2px);
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--ink) !important;
  background: #fff;
  border-color: #fff !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. 顶部导航
   -------------------------------------------------------------------------- */
.page-head {
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 31, 51, .07);
  position: relative;
  z-index: 1000;
}

@media (min-width: 992px) {
  .rd-navbar-static .rd-navbar-inner,
  .rd-navbar-fullwidth .rd-navbar-inner {
    width: 100%;
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 0 15px !important;
  }

  .rd-navbar-static.rd-navbar-corporate .rd-navbar-middle-panel {
    padding: 18px 0 !important;
  }

  .rd-navbar-static.rd-navbar-corporate .rd-navbar-nav-wrap {
    border-top: 1px solid var(--line) !important;
    padding: 0 !important;
    border-radius: 0;
  }

  /* Logo */
  .rd-navbar-static .rd-navbar-brand {
    display: inline-flex;
    align-items: center;
    height: 62px;
  }

  .rd-navbar-static .rd-navbar-brand img {
    width: auto;
    height: 62px;
    max-width: 100%;
    display: block;
  }

  /* 顶部联系方式 */
  .rd-navbar-static .block-wrap-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .rd-navbar-static .block-wrap-list li + li {
    margin-left: 30px;
  }

  .rd-navbar-static .block-wrap-list .block-wrap {
    display: flex;
    align-items: center;
  }

  .rd-navbar-static .unit-left .icon-circle-sm {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 17px;
    line-height: 1;
    margin-right: 10px;
  }

  .page-head .icon-venice-blue-filled {
    background: var(--brand-soft) !important;
  }

  .page-head .icon-venice-blue-filled.icon-white {
    color: var(--brand) !important;
  }

  .rd-navbar-static .block-wrap-list .unit-body a,
  .rd-navbar-static .block-wrap-list .unit-body span {
    color: var(--ink-2) !important;
    font-size: 13.5px;
    line-height: 1.55;
    font-weight: 500;
  }

  .rd-navbar-static .block-wrap-list .unit-body a:hover {
    color: var(--brand) !important;
  }

  /* 导航条 */
  .rd-navbar-static .rd-navbar-outer-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .rd-navbar-static .rd-navbar-nav-wrap {
    justify-content: space-between;
  }

  .rd-navbar-static .rd-navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .rd-navbar-static.rd-navbar-corporate .rd-navbar-nav-wrap .rd-navbar-nav > li {
    margin: 0 !important;
  }

  .rd-navbar-static.rd-navbar-dark .rd-navbar-nav > li {
    margin: 0 2px;
  }

  .rd-navbar-static.rd-navbar-dark .rd-navbar-nav > li > a,
  .rd-navbar-static.rd-navbar-dark .rd-navbar-nav > li > a:active,
  .rd-navbar-static.rd-navbar-dark .rd-navbar-nav > li > a:focus {
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-2);
    padding: 17px 18px;
    margin: 0;
    border-bottom: 0;
    border-radius: 10px;
    letter-spacing: .02em;
    transition: color .2s ease, background-color .2s ease;
  }

  .rd-navbar-static.rd-navbar-dark .rd-navbar-nav > li > a:hover {
    color: var(--brand) !important;
    background: var(--brand-soft);
    border-bottom: 0;
    animation: none;
    box-shadow: none;
  }

  .rd-navbar-static.rd-navbar-dark .rd-navbar-nav > li.active > a,
  .rd-navbar-static.rd-navbar-dark .rd-navbar-nav > li.opened > a,
  .rd-navbar-static.rd-navbar-dark .rd-navbar-nav > li.focus > a {
    color: var(--brand) !important;
    border-bottom: 0;
  }

  /* 导航下划线（选中项） */
  .rd-navbar-static.rd-navbar-dark .rd-navbar-nav > li.active > a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-2);
  }

  /* 下拉菜单 */
  .rd-navbar-static .rd-navbar-dropdown {
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    background: #fff;
    overflow: hidden;
  }

  .rd-navbar-static .rd-navbar-dropdown li a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--ink-2);
    transition: background-color .18s ease, color .18s ease;
  }

  .rd-navbar-static .rd-navbar-dropdown li a:hover {
    background: var(--brand-soft);
    color: var(--brand);
  }
}

/* 移动端头部 */
.page-head .rd-navbar-fixed .rd-navbar-brand img {
  max-height: 46px;
  width: auto;
}

/* --------------------------------------------------------------------------
   4. 首页首屏
   -------------------------------------------------------------------------- */
.swiper-container.swiper-slider {
  min-height: clamp(500px, 64vh, 720px) !important;
}

.swiper-container.swiper-slider .swiper-wrapper {
  min-height: clamp(500px, 64vh, 720px) !important;
}

.swiper-slider .swiper-slide {
  display: flex;
  align-items: center;
  white-space: normal;
  overflow: hidden;
}

.swiper-slider .swiper-slide > img {
  top: 50% !important;
  left: 50% !important;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  transform: translate(-50%, -50%) !important;
  z-index: 0;
}

.swiper-slider .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 20, 35, .92) 0%, rgba(6, 20, 35, .72) 38%, rgba(6, 20, 35, .32) 70%, rgba(6, 20, 35, .12) 100%),
    linear-gradient(0deg, rgba(6, 20, 35, .55) 0%, rgba(6, 20, 35, 0) 45%);
  pointer-events: none;
}

.swiper-slider .swiper-slide-caption {
  display: block;
  width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  z-index: 2;
  text-align: left;
}

.hero-content {
  max-width: 720px;
  color: #fff;
  padding: 96px 0 104px;
}

.hero-content .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

.hero-content .hero-title {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .28);
}

.hero-content .hero-title span {
  color: #9ecbff;
}

.hero-content .hero-sub {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .btn {
  padding: 14px 30px;
  font-size: 15px;
}

/* 轮播分页 */
.swiper-pagination-wrap {
  bottom: 34px;
  z-index: 12;
  pointer-events: none;
}

@media (min-width: 1200px) {
  .swiper-pagination-wrap {
    bottom: 44px;
  }
}

.swiper-pagination {
  pointer-events: auto;
}

.swiper-pagination-bullet {
  width: 26px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .4);
  vertical-align: middle;
  opacity: 1;
}

@media (min-width: 768px) {
  .swiper-pagination-bullet {
    width: 34px;
    height: 4px;
  }

  .swiper-pagination-bullet + * {
    margin-left: 10px;
  }
}

.swiper-pagination-bullet:hover,
.swiper-pagination-bullet-active {
  background: #fff;
}

/* --------------------------------------------------------------------------
   5. 数据区（计数器）
   -------------------------------------------------------------------------- */
.section-stats {
  padding: 56px 0 !important;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.section-stats .counter-wrap {
  background: #f7fafd;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 16px 24px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.section-stats .counter-wrap:hover {
  border-color: #c9dcf2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.section-stats .counter-wrap .icon {
  display: inline-block;
  font-size: 26px !important;
  line-height: 1;
  color: var(--brand-2);
  margin: 0 0 12px;
}

.section-stats .counter-wrap .counter-value {
  margin-top: 0;
}

.section-stats .counter-wrap .counter-value .h3 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.section-stats .counter-wrap .divider-center {
  display: none;
}

.section-stats .counter-wrap .counter-text {
  margin-top: 8px;
}

.section-stats .counter-wrap .text-style-2 {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   6. 通用区块标题
   -------------------------------------------------------------------------- */
.bg-gradient-denim {
  background: linear-gradient(120deg, #0a2a4a 0%, #0e5aa7 58%, #1673c8 100%) !important;
  position: relative;
  overflow: hidden;
}

.bg-gradient-denim::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.bg-gradient-denim .bg-diamond-element {
  display: none;
}

.bg-gradient-denim h2 {
  color: #fff;
  margin-bottom: 0;
}

.bg-gradient-denim .big {
  margin-top: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   7. 服务卡片
   -------------------------------------------------------------------------- */
.product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 14px 6px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}

.product::before {
  display: none;
}

.product:hover {
  border-color: #bcd5ee;
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.product .product-image {
  display: block;
  padding: 0;
  border-radius: 12px;
  background: #f6f9fd;
  overflow: hidden;
}

.product .product-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3.2;
  object-fit: contain;
  padding: 12px;
  transition: transform .45s ease;
}

.product:hover .product-image img {
  transform: scale(1.04);
}

.product .product-caption {
  padding: 16px 6px 12px;
  text-align: left;
}

.product .divider {
  display: none;
}

.product .product-title {
  margin: 0;
}

.product .product-title h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.product .product-title a,
.product .product-title a:active,
.product .product-title a:focus {
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product .product-title a::after {
  content: "\2192";
  font-size: 16px;
  color: var(--brand-2);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .22s ease, transform .22s ease;
}

.product:hover .product-title a::after {
  opacity: 1;
  transform: translateX(0);
}

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

/* 首页服务三宫格 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  border-color: #bcd5ee;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-card-media {
  display: block;
  background: #f6f9fd;
  padding: 26px;
}

.service-card-media img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  transition: transform .45s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 22px 20px;
  border-top: 1px solid var(--line-soft);
}

.service-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.service-card-arrow {
  font-size: 18px;
  color: var(--brand-2);
  transition: transform .22s ease;
}

.service-card:hover .service-card-arrow {
  transform: translateX(4px);
}

/* 服务页 box-custom */
.box-custom-variant-1 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.box-custom-variant-1 .box-header h3 {
  margin: 0;
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   8. 案例 / 文章卡片
   -------------------------------------------------------------------------- */
.post-variant-1,
.post-variant-2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.post-variant-1:hover,
.post-variant-2:hover {
  border-color: #bcd5ee;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.post-variant-1 .post-image,
.post-variant-2 .post-image {
  margin: 0;
  overflow: hidden;
  background: #eef3f9;
}

.post-variant-1 .post-image img,
.post-variant-2 .post-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .6s ease;
  margin: 0;
}

.post-variant-1:hover .post-image img,
.post-variant-2:hover .post-image img {
  transform: scale(1.05);
}

.post-variant-1 .post-body,
.post-variant-2 .post-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px 18px;
}

.post-variant-1 .post-header h6,
.post-variant-2 .post-header h6 {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 600;
}

.post-variant-1 .post-header h6 a,
.post-variant-2 .post-header h6 a {
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-variant-1 .post-header h6 a:hover,
.post-variant-2 .post-header h6 a:hover {
  color: var(--brand);
}

.post-variant-1 .post-meta,
.post-variant-2 .post-meta {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.post-variant-1 .post-text,
.post-variant-2 .post-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.post-variant-1 .post-footer,
.post-variant-2 .post-footer {
  margin-top: auto;
  padding-top: 14px;
}

.list-tags-variant-1 {
  margin: 0;
}

.list-tags-variant-1 li {
  display: inline-block;
  margin: 0;
}

.list-tags-variant-1 li + li {
  margin-left: 8px;
}

.list-tags-variant-1 li a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand) !important;
  font-size: 12px;
  line-height: 1.6;
  transition: background-color .2s ease, color .2s ease;
}

.list-tags-variant-1 li a:hover {
  background: var(--brand-2);
  color: #fff !important;
}

/* 案例网格间距 */
.isotope-section .isotope-item,
.isotope-wrap .isotope-item {
  margin-bottom: 30px;
}

/* 无论 isotope 是否初始化完成，卡片都应可见 */
[data-isotope-layout] [class*="col-"] {
  opacity: 1;
}

[data-isotope-layout]::after {
  display: none !important;
}

/* --------------------------------------------------------------------------
   9. 内页横幅
   -------------------------------------------------------------------------- */
main.page-content > section[style*="background: url"] {
  position: relative;
  padding: 92px 0 74px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

main.page-content > section[style*="background: url"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 42, .92) 0%, rgba(7, 24, 42, .74) 45%, rgba(7, 24, 42, .42) 100%),
    linear-gradient(0deg, rgba(7, 24, 42, .35) 0%, rgba(7, 24, 42, 0) 60%);
}

main.page-content > section[style*="background: url"] > * {
  position: relative;
  z-index: 1;
}

main.page-content > section[style*="background: url"] h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  letter-spacing: .01em;
}

main.page-content > section[style*="background: url"] .breadcrumbs-custom li {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

main.page-content > section[style*="background: url"] .breadcrumbs-custom a {
  color: rgba(255, 255, 255, .78);
}

main.page-content > section[style*="background: url"] .breadcrumbs-custom a:hover,
main.page-content > section[style*="background: url"] .breadcrumbs-custom li.active {
  color: #fff;
}

main.page-content > section[style*="background: url"] .breadcrumbs-custom li {
  padding-right: 22px;
}

main.page-content > section[style*="background: url"] .breadcrumbs-custom li::after {
  content: "/";
  right: 6px;
  font-family: inherit;
  color: rgba(255, 255, 255, .35);
}

/* --------------------------------------------------------------------------
   10. 博客详情 / 侧栏
   -------------------------------------------------------------------------- */
.post-single {
  background: #fff;
}

.post-single .post-header h4 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.45;
}

.post-single .post-meta {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.post-single .post-meta time {
  color: var(--muted);
}

.post-single .post-body {
  margin-top: 26px;
  font-size: 16px;
  line-height: 2;
  color: var(--body);
}

.post-single .post-body p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 2;
}

.post-single .post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.post-single .post-body h2,
.post-single .post-body h3 {
  margin: 34px 0 14px;
}

.post-single .post-body ol,
.post-single .post-body ul {
  padding-left: 22px;
}

.post-single .post-body li {
  margin-bottom: 8px;
  line-height: 1.9;
}

.post-single .post-footer {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.post-single .post-footer .icon-circle {
  width: 34px;
  height: 34px;
  font-size: 14px;
  background: var(--brand-soft) !important;
  color: var(--brand) !important;
}

.aside-list-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 18px;
  box-shadow: var(--shadow-sm);
}

.aside-list-group + .aside-list-group {
  margin-top: 24px;
}

.aside-list-group h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.aside-list-group h5 + hr {
  margin: 12px 0 6px;
  border: 0;
  height: 3px;
  width: 38px;
  border-radius: 3px;
  background: var(--brand-2);
}

.aside-list-group .post-list > li {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.aside-list-group .post-list > li:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.aside-list-group .post-recent .post-header h6 {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.aside-list-group .post-recent .post-header h6 a {
  color: var(--ink-2);
}

.aside-list-group .post-recent .post-header h6 a:hover {
  color: var(--brand);
}

.aside-list-group .post-recent time {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* 分页 */
.pagination-custom {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-custom li {
  margin: 0;
}

.pagination-custom li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
}

.pagination-custom li a:hover {
  border-color: var(--brand-2);
  color: var(--brand);
}

.pagination-custom li.active a {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pagination-custom li.disabled a {
  opacity: .45;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. 表单
   -------------------------------------------------------------------------- */
.form-control {
  height: 52px;
  padding: 13px 18px;
  font-size: 14px;
  color: var(--ink);
  background-color: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-control:focus {
  background-color: #fff;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(23, 114, 198, .14);
}

.form-control::placeholder {
  color: #a7b4c3;
}

.form-label-outside {
  font-size: 13px !important;
  font-weight: 600;
  color: var(--ink-2) !important;
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.rd-mailform-mod-1 textarea.form-control {
  height: 168px;
  min-height: 140px;
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   12. 常见问题折叠
   -------------------------------------------------------------------------- */
[data-type="accordion"] .resp-tabs-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

[data-type="accordion"] .resp-tabs-list li {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 16px 22px !important;
  margin-bottom: 10px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink) !important;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

[data-type="accordion"] .resp-tabs-list li:hover {
  border-color: #bcd5ee !important;
  background: #fbfdff !important;
}

[data-type="accordion"] .resp-tabs-list li.resp-tab-active {
  border-color: var(--brand-2) !important;
  background: var(--brand-soft) !important;
  color: var(--brand) !important;
}

[data-type="accordion"] .resp-tabs-container {
  border: 0 !important;
  background: #f7fafd;
  border-radius: 12px;
  padding: 22px 24px !important;
}

[data-type="accordion"] .resp-tabs-container .animated {
  padding: 0 !important;
}

[data-type="accordion"] .resp-tabs-container p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. 客户 logo / 推荐语
   -------------------------------------------------------------------------- */
.link-image-variant-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 18px;
  background: #f7fafd;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.link-image-variant-1 img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: .72;
  transition: filter .3s ease, opacity .3s ease;
}

.link-image-variant-1:hover {
  border-color: #bcd5ee;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.link-image-variant-1:hover img {
  filter: none;
  opacity: 1;
}

.quote-variant-1 {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.quote-variant-1 .quote-body p {
  font-size: 14.5px;
  line-height: 1.85;
}

.quote-variant-1 .quote-meta {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. 底部 CTA 区块
   -------------------------------------------------------------------------- */
.section-cta {
  padding: 0 0 90px;
  background: #f6f9fd;
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 46px 52px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(63, 160, 255, .30) 0%, rgba(63, 160, 255, 0) 55%),
    linear-gradient(120deg, #08203a 0%, #0d4a86 60%, #1468b6 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.cta-panel h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.35;
  color: #fff;
}

.cta-panel p {
  margin: 10px 0 0;
  max-width: 560px;
  font-size: 15px;
  color: rgba(255, 255, 255, .72);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cta-panel .btn-white {
  color: var(--brand) !important;
  background: #fff;
  border: 1px solid #fff !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

.cta-panel .btn-white:hover {
  background: #eaf2fb;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. 页脚
   -------------------------------------------------------------------------- */
.page-foot.bg-gray-dark {
  background: var(--navy) !important;
  color: #a8b9cb;
}

.page-foot {
  padding-top: 64px;
  position: relative;
}

.page-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--green));
  opacity: .85;
}

.page-foot h5,
.page-foot .h5-variant-1 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}

.page-foot hr {
  margin: 12px 0 0;
  border: 0;
  height: 3px;
  width: 36px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
}

.page-foot p,
.page-foot address,
.page-foot span,
.page-foot .contact-info {
  color: #a8b9cb;
  font-size: 14px;
  line-height: 1.85;
}

.page-foot a {
  color: #c6d6e6;
}

.page-foot a:hover {
  color: #fff;
}

.footer-brand-text {
  margin: 16px 0 0;
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: #7f93a8 !important;
  letter-spacing: .02em;
}

.page-foot .brand img {
  height: 54px;
  width: auto;
  opacity: .95;
}

.page-foot .list-inline-xs,
.page-foot .brand-wrap + div {
  display: none;
}

.page-foot .mdi,
.page-foot .fa {
  color: rgba(255, 255, 255, .55);
}

.page-foot .form-control {
  height: 42px;
  padding: 10px 18px;
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px 0 0 999px;
  box-shadow: none;
}

.page-foot .form-control:focus {
  border-color: rgba(255, 255, 255, .4);
  box-shadow: none;
}

.page-foot .form-label {
  color: #8ea1b5;
}

.page-foot .btn-primary {
  box-shadow: none;
}

.page-foot .btn-primary:hover {
  transform: none;
}

.page-foot .cell-sm-10.cell-md-12 > .range:last-child {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 52px;
  padding-top: 22px;
}

.page-foot .cell-sm-10.cell-md-12 > .range:last-child span {
  font-size: 12.5px;
  color: #7f93a8;
}

.page-foot .cell-sm-10.cell-md-12 > .range:last-child a {
  color: #a8b9cb;
}

.page-foot .cell-sm-10.cell-md-12 > .range:last-child span a {
  margin-left: 8px;
}

/* --------------------------------------------------------------------------
   16. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .page-content h2,
  .page h2 {
    font-size: 30px;
  }

  .hero-content {
    padding: 84px 0 92px;
  }
}

@media (max-width: 991px) {
  .rd-navbar-static .rd-navbar-brand img {
    height: 46px;
  }

  .hero-content {
    max-width: 100%;
    padding: 76px 0 84px;
  }

  .hero-content .hero-sub {
    font-size: 15px;
  }

  .swiper-pagination-wrap {
    bottom: 22px;
  }

  .section-stats {
    padding: 40px 0 !important;
  }

  .section-stats .counter-wrap {
    padding: 22px 12px 20px;
  }

  .section-stats .counter-wrap .counter-value .h3 {
    font-size: 32px;
  }

  .cta-panel {
    padding: 34px 30px;
  }

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

  .page-foot {
    padding-top: 52px;
  }
}

@media (max-width: 767px) {
  .page-content h2,
  .page h2 {
    font-size: 26px;
  }

  .page-content p {
    font-size: 15px;
  }

  .swiper-slider .swiper-slide::after {
    background:
      linear-gradient(90deg, rgba(6, 20, 35, .9) 0%, rgba(6, 20, 35, .68) 60%, rgba(6, 20, 35, .45) 100%);
  }

  .hero-content .hero-title {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .hero-content .hero-sub {
    font-size: 14.5px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  main.page-content > section[style*="background: url"] {
    padding: 68px 0 56px !important;
  }

  main.page-content > section[style*="background: url"] h1 {
    font-size: 30px;
  }

  .cta-panel {
    padding: 30px 24px;
    border-radius: 18px;
  }

  .cta-panel h2 {
    font-size: 22px;
  }

  .section-cta {
    padding-bottom: 60px;
  }

  .aside-list-group {
    padding: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card-media {
    padding: 20px;
  }

  .service-card-media img {
    height: 168px;
  }
}

/* --------------------------------------------------------------------------
   17. 细节修正
   -------------------------------------------------------------------------- */
.post-single .post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.post-single .post-body th,
.post-single .post-body td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  line-height: 1.7;
  vertical-align: top;
}

.post-single .post-body th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}

.post-single .post-body iframe,
.post-single .post-body video,
.post-single .post-body img {
  max-width: 100%;
}

.post-single .post-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .section-stats .range {
    row-gap: 14px;
  }

  .section-stats .offset-top-45 {
    margin-top: 0 !important;
  }

  .page-foot .cell-sm-10.cell-md-12 > .range:last-child span {
    float: none !important;
    display: block;
  }

  .page-foot .cell-sm-10.cell-md-12 > .range:last-child span + span {
    margin-top: 6px;
  }
}

/* --------------------------------------------------------------------------
   18. 内容页细节
   -------------------------------------------------------------------------- */
/* 服务页：下半部分整行显示，隐藏多余的单个 logo 轮播 */
.service-lower {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

.service-logo-strip {
  display: none !important;
}

.box-custom-variant-1 {
  overflow: hidden;
}

.box-custom-variant-1 .box-header {
  border-radius: 16px 16px 0 0;
}

.box-custom-variant-1 .box-image {
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(8, 26, 44, .16);
}

/* 常见问题：单列内容居中，答案文字确保可读 */
.range > .cell-md-10.cell-lg-8:only-child {
  margin-left: auto;
  margin-right: auto;
}

.resp-tabs-container,
.resp-tabs-container p {
  color: var(--body) !important;
}

/* 博客详情：隐藏失效的分享图标与空的作者行 */
.post-single .post-footer .block-wrap-1 {
  display: none;
}

.post-single .post-meta:has(time:empty) {
  display: none;
}

/* 客户 logo 轮播间距 */
.owl-carousel-centered .item {
  padding: 6px;
}

/* 常见问题答案区域：强制正常颜色与不透明度（模板动画可能停在半透明） */
[data-type="accordion"] .resp-tab-content,
[data-type="accordion"] .resp-tab-content * {
  color: var(--body) !important;
  opacity: 1 !important;
}

/* 服务页：图片与内容留出间距，列表做成标签 */
@media (min-width: 768px) {
  .box-custom-variant-1 .box-image {
    width: 19% !important;
  }
}

.responsive-tabs-vertical .tab ol {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.responsive-tabs-vertical .tab ol li {
  position: relative;
  padding: 8px 16px 8px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.responsive-tabs-vertical .tab ol li::before {
  content: "\2713";
  position: absolute;
  left: 14px;
  color: var(--green);
  font-weight: 700;
}

.service-lower {
  margin-top: 34px !important;
}

.responsive-tabs-vertical .resp-tabs-list li {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.responsive-tabs-vertical .resp-tabs-list li:hover {
  background: var(--brand-soft);
}

.responsive-tabs-vertical .resp-tabs-list li.resp-tab-active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

/* 服务页选项卡：左对齐、整行可点，压缩与下方表单的间距 */
.responsive-tabs.responsive-tabs-vertical .resp-tabs-list > li {
  padding: 12px 18px;
  text-align: left;
}

.responsive-tabs.responsive-tabs-vertical .resp-tabs-list > li a {
  display: block;
}

.service-lower .range + .range {
  margin-top: 44px !important;
}

/* 合作客户：静态 logo 网格 */
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 118px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.client-logo img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .75;
  transition: filter .25s ease, opacity .25s ease;
}

.client-logo:hover {
  border-color: #bcd5ee;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.client-logo:hover img {
  filter: none;
  opacity: 1;
}

@media (max-width: 991px) {
  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .client-logo {
    height: 96px;
    padding: 12px;
  }
}

.client-more {
  flex-direction: column;
  gap: 4px;
  background: var(--brand-soft);
  border-style: dashed;
  border-color: #c3d8ee;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

.client-more:hover {
  background: #fff;
  border-style: solid;
}

.client-more-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform .22s ease;
}

.client-more:hover .client-more-arrow {
  transform: translateX(4px);
}

/* 列表式文章卡片（项目案例 / 工业机器人） */
.post-variant-3 {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.post-variant-3:hover {
  border-color: #bcd5ee;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-variant-3 + .post-variant-3 {
  margin-top: 24px;
}

.post-variant-3 .post-image,
.post-variant-3 .post-image img {
  border-radius: 12px;
  overflow: hidden;
}

.post-variant-3 .post-header h5 {
  margin: 0;
  font-size: 18px;
}

.post-variant-3 .post-header h5 a {
  color: var(--ink);
}

.post-variant-3 .post-header h5 a:hover {
  color: var(--brand);
}

.post-variant-3 .post-meta {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.post-variant-3 .post-text {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* 首屏与 CTA 按钮高度对齐 */
.hero-actions .btn,
.cta-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

/* 内页面包屑过长时省略 */
main.page-content > section[style*="background: url"] .breadcrumbs-custom li.active {
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* 视频/图片缩略图圆角 */
.thumbnail,
.thumbnail figure,
.thumbnail img {
  border-radius: 16px;
  overflow: hidden;
}
