/* your styles go here */

/* 三个卡片在小屏幕上对齐修复 */
@media (max-width: 767.98px) {
  .card-body .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    text-align: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #dee2e6 !important;
    border-right: none !important;
  }
  
  .card-body .row > [class*="col-"]:last-child {
    border-bottom: none !important;
  }
}

/* 中等及以上屏幕的边框处理 */
@media (min-width: 768px) {
  .card-body .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/* 服务产品区卡片样式 */
.single-city {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 4px;
}

.single-city .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.single-city .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-city .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.single-city .more-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
}

/* 小屏幕上卡片高度 */
@media (max-width: 767.98px) {
  .single-city {
    min-height: 200px;
  }
}

/* 大屏幕左侧大卡片 */
@media (min-width: 992px) {
  .col-lg-6:first-child .single-city {
    min-height: 500px;
  }
  
  .col-lg-6:last-child .single-city {
    min-height: 240px;
  }
}

/* 视频封面响应式 */
.video-cover {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

/* 小屏幕上视频封面 */
@media (max-width: 767.98px) {
  .video-cover {
    min-height: 220px;
  }
}

/* 中等及以上屏幕视频封面 */
@media (min-width: 768px) {
  .video-cover {
    min-height: 340px;
  }
}

/* OMS服务卡片样式优化 */
.service-item {
  position: relative;
  padding-left: 1.5rem;
}

.service-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background-color: #E60012;
  border-radius: 2px;
}

.service-item h5 {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.service-item p,
.service-item ul {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-item ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.service-item ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
}

.service-item ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 4px;
  height: 4px;
  background-color: #999;
  border-radius: 50%;
}

/* 服务卡片悬停效果 */
.service-card {
  transition: all 0.3s ease;
  border: none;
  background: #fff;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card .card-body {
  padding: 1.5rem;
}