/* Service Post AJAX Styles */
.img.img_cv {
  overflow: hidden;
}
.img.img_cv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s;
}
.img.img_ct img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: all 0.5s;
}
.head.top strong{
    font-family: "Noto Sans JP", sans-serif !important;
}
/* 隐藏标签 */
.service_case .nav li.hidden {
    display: none;
}

/* More按钮展开状态 */
.service_case .nav .nav_item.more.expanded::before {
    content: '';
    transform: rotate(180deg);
}

/* 加载状态 */
.btn_more.loading {
    opacity: 0.6;
    pointer-events: none;
    cursor: wait;
}

/* 加载中的列表项 */
#case-list .loading-item,
#case-list .no-results,
#case-list .error-item {
    list-style: none;
    font-size: 16px;
    color: #666;
}

/* 确保AJAX加载的内容有动画效果 */
#case-list li {
    opacity: 1;
    animation: fadeInUp 0.6s ease-out;
}

.service_case {
  padding: 50px 0 12px;
}
.service_case .pop_case {
  margin-top: 63px;
}
.service_case .pop_case .infos {
  flex: 1;
  width: 100%;
  max-width: 439px;
}
.service_case .pop_case .infos .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.service_case .pop_case .infos .tags span {
  font-size: 14px;
  line-height: 21px;
  border: 1px solid #146aef;
  color: #146aef;
  border-radius: 11px;
  padding: 0 1rem;
}
.service_case .pop_case .infos .title {
  display: block;
  font-size: 26px;
  line-height: 36px;
  color: #0b0429;
  font-weight: 500;
  margin-top: 14px;
  max-width: 398px;
  position: relative;
  padding-right: 40px;
}
.service_case .pop_case .infos .title::after {
  position: absolute;
  right: 0;
  top: 1px;
  width: 37px;
  height: 37px;
  display: block;
  content: '';
  background: url("../img/nav-circle.svg") no-repeat center / contain;
}
.service_case .pop_case .infos .date {
  font-size: 17px;
  color: #161616;
  opacity: 0.74;
  margin-top: 8px;
}
.service_case .pop_case .infos ul {
  position: relative;
  margin-top: 51px;
  padding-top: 25px;
}
.service_case .pop_case .infos ul::before {
  position: absolute;
  width: 130%;
  height: 1px;
  background-color: rgba(11, 4, 41, 0.14);
  content: '';
  left: 0;
  top: 0;
  z-index: -1;
}
.service_case .pop_case .infos ul li + li {
  margin-top: 26px;
}
.service_case .pop_case .infos ul a {
  display: inline-block;
  font-size: 18px;
  color: #0b0429;
  opacity: 0.5;
  transition: all 0.3s;
  vertical-align: top;
  position: relative;
  padding-left: 22px;
  font-weight: 500;
  letter-spacing: -0.31px;
}
.service_case .pop_case .infos ul a::before {
  position: absolute;
  left: 0;
  top: 8px;
  content: '';
  width: 15px;
  height: 15px;
  background: url("../img/nav-r.svg") no-repeat center left / contain;
}
.service_case .pop_case .infos ul a:hover {
  opacity: 1;
}
.service_case .pop_case .img {
  width: 56.82143%;
  border-radius: 24px;
  aspect-ratio: 614/430;
  overflow: hidden;
}
.service_case .pop_case .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}
.service_case .pop_case .img:hover img {
  transform: scale(1.02);
}
.service_case .nav {
  margin-top: 76px;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid rgba(11, 4, 41, 0.14);
  padding-bottom: 24px;
  gap: 26px;
}
.service_case .nav .label {
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 3px;
}
.service_case .nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.service_case .nav .nav_item {
  font-size: 13px;
  color: #0b0429;
  cursor: pointer;
  text-align: center;
  display: block;
  height: 100%;
  transition: all 0.3s;
  border-radius: 1rem;
  border: 1px solid #e7e7e9;
  background-color: transparent;
  padding: 5px 12px;
  min-width: 81px;
}
.service_case .nav .nav_item.active,
.service_case .nav .nav_item:hover {
  background-color: #146aef;
  border-color: #146aef;
  color: #fff;
}
.service_case .nav .nav_item.active {
  margin-right: -7px;
}
.service_case .nav .nav_item.more {
  position: relative;
}
.service_case .nav .nav_item.more::after {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  content: '';
  background: url("../img/arrow-down.svg") no-repeat center / 15%;
}
.service_case .nav .nav_item.more:hover::after {
  filter: contrast(0) brightness(2);
}
.service_case .list {
  margin-top: 44px;
}
.service_case .list ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 36px 2.777778%;
}
.service_case .item {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service_case .item .img {
  position: relative;
  padding-bottom: 75%;
  border-radius: 6px;
}
.service_case .item .img img {
  position: absolute;
  left: 0;
  top: 0;
}
.service_case .item .img::after {
  position: absolute;
  width: 100%;
  height: 42.64%;
  left: 0;
  bottom: 0;
  content: '';
  pointer-events: none;
  background-image: linear-gradient(to top, #273847, transparent);
}
.service_case .item .tags {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  color: #fff;
  bottom: 4.7%;
  padding: 0 3.2%;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.service_case .item .tags span {
  font-size: 14.26px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  line-height: 21px;
  padding: 0 15.5px;
}
.service_case .item .info {
  flex: 1;
  margin-top: 15px;
}
.service_case .item .info .title {
  font-size: 18px;
  line-height: 28px;
  color: #0b0429;
  font-weight: 500;
  max-width: 311px;
}
.service_case .item .info .date {
  font-size: 16px;
  color: #161616;
  opacity: 0.74;
  margin-top: 3px;
}
.service_case p.center:has(.btn_more) {
  margin-top: 41px;
}
.service_case p.center:has(.btn_more) .btn_more {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-align: center;
  border-radius: 100px;
  border: 1px solid #146aef;
  font-size: 14px;
  color: #146aef;
  padding: 17px 28px;
  gap: 20px;
}
.service_case p.center:has(.btn_more) .btn_more i {
  width: 27px;
  display: block;
  border-radius: 50px;
  transition: all 0.3s;
  background-image: linear-gradient(-39deg, #4280f6, #4e5cf1);
}
.service_case p.center:has(.btn_more) .btn_more i::after {
  padding-bottom: 100%;
  display: block;
  content: '';
  background: url("../img/arrow-r-w.svg") no-repeat center / 19%;
}
.service_case p.center:has(.btn_more) .btn_more:hover i {
  transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式：移动端标签样式调整 */
@media (max-width: 768px) {
    .service_case .nav ul {
        flex-wrap: wrap;
    }
    
    .service_case .nav li {
        margin-bottom: 8px;
    }

    .service_case {
    padding: 3rem 0;
  }
  .service_case div.content {
    padding: 0 1.2rem;
  }
  .service_case .pop_case {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  }
  .service_case .pop_case .infos .tags span {
    padding: 0 12px;
  }
  .service_case .pop_case .infos .title {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 12px;
  }
  .service_case .pop_case .infos .title::after {
    width: 32px;
    height: 32px;
  }
  .service_case .pop_case .infos .date {
    font-size: 14px;
    margin-top: 10px;
  }
  .service_case .pop_case .infos ul {
    border-top: 1px solid rgba(11, 4, 41, 0.14);
    padding-top: 20px;
    margin-top: 20px;
  }
  .service_case .pop_case .infos ul::before {
    display: none;
  }
  .service_case .pop_case .infos ul li + li {
    margin-top: 12px;
  }
  .service_case .pop_case .infos ul a {
    font-size: 14px;
    letter-spacing: unset;
    padding-left: 25px;
  }
  .service_case .pop_case .infos ul a::before {
    width: 12px;
    height: 12px;
    top: 4px;
  }
  .service_case .pop_case .img {
    width: 100%;
    border-radius: 10px;
  }
  .service_case .nav {
    margin-top: 2rem;
    padding-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .service_case .nav .label {
    font-size: 14px;
    margin: 0;
    width: 100%;
  }
  .service_case .nav ul {
    width: calc(100% + 2.4rem);
    padding: 0 1.2rem;
    margin: 0 -1.2rem;
    overflow-x: auto;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .service_case .nav ul::-webkit-scrollbar {
    display: none;
  }
  .service_case .nav .nav_item {
    font-size: 14px;
  }
  .service_case .nav .nav_item.active {
    margin: 0;
  }
  .service_case .list {
    margin-top: 2rem;
  }
  .service_case .list ul {
    grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
    gap: 2rem 1rem;
  }
  .service_case .item .tags span {
    font-size: 14px;
    padding: 0 12px;
  }
  .service_case .item .info {
    margin-top: 1rem;
  }
  .service_case .item .info .title {
    font-size: 18px;
    line-height: 1.5;
  }
  .service_case .item .info .date {
    font-size: 14px;
    margin-top: 5px;
  }
  .service_case p.center:has(.btn_more) {
    margin-top: 2rem;
  }
  .service_case p.center:has(.btn_more) .btn_more {
    font-size: 14px;
    padding: 10px 20px;
    gap: 12px;
  }
  .service_case p.center:has(.btn_more) .btn_more i {
    width: 40px;
  }
  .service_desc .nav .link_list{
    top: 0 !important;
    padding: 0px 1.2rem !important;
  }
}
