@charset "UTF-8";
/* Global styles to prevent horizontal overflow */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Prevent content from overflowing containers */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Navigation bar transparency and scroll effects */
.nav-transparent {
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mobile-menu-open {
  background-color: white;
}

/* Custom scrollbar hiding */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tab button styles */
.tab-btn {
  color: #4b5563;
  position: relative;
}

.tab-btn.active {
  color: #1a3178;
  font-weight: 600;
}

/* Improved focus styles for accessibility */
.tab-btn:focus-visible {
  outline: 2px solid #1a3178;
  outline-offset: 2px;
}

/* Tab panel animations */
.tab-panel {
  display: none;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-panel.active {
  display: block;
  transform: translateY(0);
}

/* Tab indicators */
.tab-indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  background-color: #1a3178;
  transition: all 0.3s ease;
}

.mobile-indicator {
  position: absolute;
  right: 0;
  width: 4px;
  background-color: #1a3178;
  transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
  .w-\[1430px\], .w-\[1400px\], .max-w-\[1430px\], .max-w-\[1400px\], .about-container {
    width: 100% !important;
    max-width: 1430px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  
  /* Specific components without padding */
  .tabs-component {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .h-\[669px\], .h-\[420px\], .h-\[90px\] {
    height: auto !important;
    min-height: 100px;
  }
  
  .tab-nav-container {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .tab-nav-container::-webkit-scrollbar {
    display: none;
  }
  
  /* Mobile-specific styles */
  .glide__slide img {
    object-fit: cover;
    width: 100%;
  }
}

/* About section styles */
.about-section {
  /*background-color: #f8f9fa;*/
  position: relative;
  z-index: 1;
  /*margin-bottom: 30px;*/
}

/* Preload images to prevent flickering */
@media (prefers-reduced-motion: no-preference) {
  .tab-content::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
  }
}
#content h2{margin: 20px 0;display: block;font-size: 1.5em;font-weight: bold;unicode-bidi: isolate;}
#content ul{padding-left: 30px;}
#content p{margin: 15px 0;}
#content table{margin: 0 auto;width: 100%;height: auto;o}
#content table tr{}
#content table td{padding: 10px;text-align: center;}
#content table td>img{margin: 0 auto;}
#content p>img,#content p img{margin: 0 auto; }
@media (max-width: 639px) {
  /* 容器在移动端不强制 16:9，高度随图片内容 */
  #hero {  
    aspect-ratio: auto !important;
    height: auto !important;
    margin-top: 64px;     
  }
  /* 轨道与滑块在移动端不强制占满高度 */
  #hero .glide__track,
  #hero .glide__slides,
  #hero .glide__slide {
    height: auto !important;
    line-height: 0; /* 防止内联元素基线占据高度 */
  }

  /* 图片为块级元素，按宽度自适应高度，去掉底部基线空隙 */
  #hero .glide__slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: auto !important;
    vertical-align: top;  
  }
}
.border-blue-200{border :none !important;}
/* 表单样式 */
.form-container { max-width: 400px;padding: 10px;border-radius: 8px;}
.form-group {margin-bottom: 10px;}
.form-group input,.form-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; color: black;}
.submit-button { display: inline-block; padding: 10px 20px; background-color: #007bff; color: #fff; border: none; border-radius: 4px; font-size: 16px; cursor: pointer;}
.submit-button:hover {background-color: #0056b3;}
.overlay{pointer-events: none;}

/* 屏幕宽度小于600px时 */
@media (max-width: 768px) {
  table:has(tr.firstRow) {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    min-width: 100% !important;
  }

  table:has(tr.firstRow) thead,
  table:has(tr.firstRow) tbody {
    display: block !important;
    width: 100% !important;
  }

.firstRow>td>tr>strong>span{
     text-wrap-mode:none;!important;
}
  table:has(tr.firstRow) tr {
    display: flex !important;
    width: 100% !important;
    min-width: 800px !important; /* 触发横向滚动的最小宽度 */
   
  }
#content > table > tbody > tr> td:nth-child(1)>span{

     word-wrap: break-word!important;
    /* 或者使用 */
    overflow-wrap: break-word!important;
    text-wrap-mode: wrap !important;
}
  /* 列宽均分 + 允许换行 */
  table:has(tr.firstRow) td {
    flex: 1 !important; /* 6列均分宽度 */
    flex-shrink: 0 !important; /* 禁止列收缩，保证宽度比例 */
    min-width: 120px !important; /* 列的最小宽度（可根据内容调整） */
    word-break: break-all !important; /* 允许文字换行 */
  }

  body, html {
    overflow-x: hidden !important;
  }
}