@charset "UTF-8";
.cm-navbar .navbar-nav .nav-link {
  font-size: 18px;
  padding-left: 16px;
  padding-right: 16px;
  color: #212529;
}
.cm-navbar .navbar-nav .nav-link.active {
  color: #007bff;
}

.navbar-nav-scroll {
  max-width: 100%;
  height: 2.5rem;
  /*margin-top: .25rem;*/
  overflow: hidden;
}

.navbar-nav-scroll .navbar-nav {
  /*padding-bottom: 2rem;*/
  overflow-x: auto;
  white-space: nowrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  -webkit-overflow-scrolling: touch;
}

.cm-hidden {
  display: none;
}

.cm-pointer {
  cursor: pointer;
}

.cm-ff-yh {
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
}

.cm-block-head-bottom {
  border-bottom: solid 2px;
  border-color: #007bff;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.cm-trans-bottom {
  width: 100%;
  bottom: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
}

.cm-media-img {
  max-width: 180px;
  max-height: 120px;
}

@media screen and (max-width: 767px) {
  .cm-media-img {
    max-width: 120px;
    max-height: 80px;
  }
}
.cm-link {
  color: #212529;
}
.cm-link:hover {
  color: rgb(0, 98.4, 204);
}

.es-highlight em {
  color: #dc3545;
  font-style: normal;
}
.search-bar {
  top: 0;
  z-index:1111;
  position: fixed;
  background-color: transparent; /* 初始透明 */
  transition: background-color 0.3s ease;
  width: 100%;
}
.search-bar.scrolled {
  background-color: rgba(255, 255, 255, 255); /* 滚动后变白色半透明 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* 可选，增加阴影 */
}
.service-item{
  width: 100%;
  height: auto;
  padding: 22rpx;
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
}
.service-card{
  width: 30%;
  margin: 5px 14px;
  border-radius:12px;
  padding: 10px ;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  transition:transform .25s ease, box-shadow .25s ease;
  will-change: transform, box-shadow; /* 微优化 */

}
.service-card:hover{
  transform: translateY(-6px);              /* 上浮 */
  box-shadow:0 12px 24px rgba(0,0,0,.15);   /* 阴影更深更大 */
}
.service-img{
  width: 100%;
  height: auto;
}
.other-card{
  width: 23%;
  margin: 0 8px;
  border-radius:12px;
  padding: 10px ;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  transition:transform .25s ease, box-shadow .25s ease;
  will-change: transform, box-shadow; /* 微优化 */
}
.other-card:hover{
  transform: translateY(-6px);              /* 上浮 */
  box-shadow:0 12px 24px rgba(0,0,0,.15);   /* 阴影更深更大 */
}
.other-img{
  width: 3.5rem;
  height: 3.5rem;
  --tw-text-opacity: 1;
  color: rgb(22 93 255 / var(--tw-text-opacity, 1));
  background-color: rgb(22 93 255 / 0.1);
  border-radius: 0.5rem;
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 1.25rem;
}
.other-solve-item{
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.other-solve-img{
  --tw-text-opacity: 1;
  color: rgb(22 93 255 / var(--tw-text-opacity, 1));
  background-color: rgb(22 93 255 / 0.1);
  border-radius: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  display: flex;
 }
.other-solve-card{
  display: flex;
  flex-direction: row;
  border-radius: 0.75rem;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  transition:transform .25s ease, box-shadow .25s ease;
  will-change: transform, box-shadow; /* 微优化 */
}
.other-solve-card:hover{
  transform: translateY(-6px);              /* 上浮 */
  box-shadow:0 12px 24px rgba(0,0,0,.15);   /* 阴影更深更大 */
}
.scroll-wrapper {
  overflow-x: scroll;  /* 横向滚动 */
  overflow-y: hidden;
  padding: 20px;
  background: #f5f5f5;
}

/* 横向排列，不换行 */
#people {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content; /* 宽度由子元素撑开，保证横向滚动 */
}

.cards {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 35%;
  max-width: 25%;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

h2 {
  margin: 0 0 8px;
}

p {
  margin: 6px 0;
  color: #555;
}

.phone {
  color: #2196f3;
  text-decoration: none;
  font-weight: bold;
}
/* 给文字区域添加半透明灰背景并让文字为黑色 */
.caption-bg {
  background-color: rgba(128, 128, 128, 0.3); /* 半透明灰色(0.5是透明度) */
  color: #ffffff; /* 文字黑色 */
  padding: 0.5rem 1rem; /* 内边距，让文字不贴边 */
  border-radius: 8px; /* 可选：圆角 */
  display: inline-block; /* 仅包裹文字宽度 */
}