/* 全局基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
  }
  
  /* 移除容器默认间距 */
  .container-fluid {
    padding: 0 15px !important;
  }
  
  /* 移除行和列的默认间距 */
  .row {
    margin: 0 !important;
  }
  .col-auto {
    padding: 0 !important;
  }
  
  /* 头部区域基础样式 */
  .ltn__header-middle-area {
    padding: 15px 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  /* LOGO样式优化 */
  .site-logo img {
    height: 30px; /* 固定高度防止跳动 */
    width: auto;
    transition: transform 0.3s ease;
  }
  .site-logo a:hover img {
    transform: scale(1.05); /* 悬停微放大效果 */
  }
  
  /* 导航菜单样式 */
  .ltn__main-menu ul {
    display: flex;
    gap: 25px; /* 菜单项间距 */
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ltn__main-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
  }
  
  /* 菜单项悬停下划线效果 */
  .ltn__main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e63946;
    transition: width 0.3s ease;
  }
  .ltn__main-menu a:hover::after {
    width: 100%;
  }
  
  /* 移动端适配 */
  @media (max-width: 1199px) {
    /* 移动端布局改为垂直方向 */
    .row {
      flex-direction: column;
      align-items: flex-start !important;
    }
    
    /* LOGO下方添加间距 */
    .col-auto {
      margin-bottom: 15px;
    }
    
    /* 隐藏桌面端菜单 */
    .d-none.d-xl-block {
      display: none !important;
    }
    
    /* 移动端菜单按钮样式 */
    .mobile-menu-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: white;
      border: none;
      padding: 8px;
      cursor: pointer;
    }
    
    /* 移动端菜单面板 */
    .mobile-menu {
      display: none;
      width: 100%;
      background: #fff;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 1000;
    }
    
    /* 移动端菜单项样式 */
    .mobile-menu ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .mobile-menu li {
      padding: 12px 0;
      border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu a {
      color: #333;
      text-decoration: none;
      font-size: 16px;
      display: block;
      padding: 5px 0;
    }
  }
  
  /* 桌面端样式 */
  @media (min-width: 1200px) {
    /* 隐藏移动端菜单按钮 */
    .d-xl-none {
      display: none !important;
    }
    
    /* 菜单右对齐 */
    .ms-auto {
      margin-left: auto !important;
    }
    
    /* 菜单项间距微调 */
    .ltn__main-menu ul {
      gap: 35px;
    }
  }
  
  /* 动画效果 */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* 移动端菜单显示动画 */
  .mobile-menu.show {
    display: block;
    animation: fadeIn 0.3s ease forwards;
  }


  
  /* 只在移动端媒体查询里定义样式 */
  @media (max-width: 1199px) {
    .mobile-menu {
      /* 初始隐藏 */
      display: none;
      width: 100%;
      background: #fff;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 1000;
  }
    
    /* 显示时的动画 */
    .mobile-menu.show {
      display: block;
      animation: fadeIn 0.3s ease forwards;
    }

    .about-mobile-padding {
      padding-left: 40px !important;  /* 自定义左内边距（可改 15px/25px） */
      padding-right: 40px !important; /* 自定义右内边距 */
      /* 可选：添加顶部/底部间距，优化移动端排版 */
      padding-top: 10px;
      padding-bottom: 10px;
  }
  }


  .badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* 保持徽章间距 */
    margin-bottom: 12px;
  }

  /* 针对特定区域的container调整左右间距 */
.ltn__service-area .container2 {
  padding-left: 30px !important;  /* 调整左间距 */
  padding-right: 30px !important; /* 调整右间距 */
}

/* 如果需要调整响应式间距 */
@media (max-width: 768px) {
  .ltn__service-area .container2 {
      padding-left: 5px !important;
      padding-right: 5px !important;
  }
}

/* 水平+垂直居中方案 */
.service-item-brief {
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center;     /* 垂直居中 */
}
/* 如果只需要水平居中 */
.service-item-brief {
  text-align: center;
}
.service-item-brief .btn {
  display: inline-block;
}

.menu-icon2 > ul {
  display: flex !important;
  flex-direction: column !important;
}

.footer-menu-widget-2-column .footer-menu ul li {
  font-size: 18px !important;

}


@media (max-width: 1199px) {
  /* 让Logo容器占据整行 */
  .site-logo {
    width: 100%;
    text-align: center; /* 水平居中 */
  }
  /* 调整logo容器：不占满整行，留出空间给按钮 */
  .col-xl-6.site-logo-container {
    flex: 1; /* 占据剩余空间（让按钮有位置） */
    max-width: none; /* 取消100%宽度限制 */
    display: flex;
    justify-content: center; /* logo水平居中 */
    align-items: center; /* logo垂直居中 */
  }

  /* 图片自适应设置 */
  .site-logo img {
    display: inline-block; /* 确保图片可居中 */
    max-width: 80%; /* 限制最大宽度 */
    height: auto; /* 保持宽高比 */
    margin: 0 auto; /* 水平居中 */
    padding: 10px 0; /* 增加垂直间距 */
  }

  .pt-1151 {
    padding-top: 45px !important;
  }

  
}

@media (min-width: 1200px) {
  .mobile-menu {
    display: none !important; /* 强制隐藏 */
  }

}


.header-diy > li > a {
  font-size: 18px !important;
  padding: 30x 10px !important;
  display: inline-block;
  white-space: nowrap;
  color: var(--ltn__heading-color);
  font-weight: 700 !important;
  font-family: var(--ltn__heading-font);
}

.header-diy2 > li > a {
  font-size: 18px !important;

}


/* 仅移动端生效（断点和d-xl-none保持一致：<1200px） */
@media (max-width: 1199px) {
  /* 强制固定整个头部区域（包含邮箱、logo、菜单按钮） */
  header .ltn__header-sticky.mobile-sticky-header {
    position: fixed !important; /* !important 确保优先级 */
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important; /* 最高层级，避免被遮挡 */
    background-color: white !important; /* 替换为你实际的背景色 */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important; /* 避免额外间距影响 */
  }

}

.icon-inline {
  display: inline-block;
  width: 14px;           /* 控制图标大小 */
  height: 14px;
  margin-right: 6px;     /* 图标与文字间距（替代 mr-1） */
  vertical-align: text-bottom; /* 垂直对齐，贴合文字基线 */
  object-fit: contain;   /* 保持比例 */
}

.service-item-img{
  text-align: center;
}

.icon-inline2 {
  display: inline-block;
  width: 250px;           /* 控制图标大小 */
  height: 250px;
  
  vertical-align: text-bottom; /* 垂直对齐，贴合文字基线 */
  object-fit: contain;   /* 保持比例 */
}


.ltn__service-item-1 {
  display: grid;
  grid-template-rows: auto 1fr auto;
}


@media (max-width: 991px) {
  .ltn__slide-item-9 {

      height: 300px !important;
  }
}


/* PC 端默认显示 61.jpg（继承模板设置，可省略，如需覆盖也可明确写） */
.custom-responsive-bg {
  background-image: url("../img/slider/61.jpg") !important;
}

/* 移动端（通常768px以下）切换为 62.jpg */
@media (max-width: 767px) {
  .custom-responsive-bg {
    background-image: url("../img/slider/61-1.jpg") !important;
  }
  .single-large-img{padding-top:92px}
}