/* 首页 Tab 组件：作为 hero banner 底边的正常流模块 */
.home-tabs {
  display: flex;
  position: relative;
  width: 1920px;
  height: 94px;
  margin-top: -1px;
  margin-bottom: -1px;
  z-index: 3;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  box-shadow: none !important;
  overflow: hidden;
}
.home-tab {
  flex: 1;
  height: 94px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #000000 0%, #2a0a3b 100%);
  border: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 2px;
  cursor: pointer;
  text-transform: uppercase;
  font-family: inherit;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease, font-size 0.2s ease, font-weight 0.2s ease;
  white-space: normal;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.home-tab:last-child { border-right: 0; }
.home-tab.is-active {
  background: #fff;
  color: #6c2e91;
  font-size: 22px;
  font-weight: 700;
  border: 0 !important;
  margin-bottom: -6px;
  height: 100px;
  z-index: 3;
  position: relative;
}
.home-tab .tab-line1,
.home-tab .tab-line2 { pointer-events: none; text-align: center; line-height: 1.25; }
.home-tab .tab-line2:empty { display: none; }

/* 内容区（先为空） */
.tab-panels {
  width: 1920px;
  min-height: 400px;
  margin-top: 0;
  background: #fff;
  border-top: 0;
  box-shadow: none;
}
.tab-panel { display: none; min-height: 400px; }
.tab-panel.is-active { display: block; }

/* ===== 各 Tab 内容区通用底座（紫色横杠规范·单一来源）=====
   间距契约（所有 tab 必须保持一致，后续调整改这里即可全量同步）：
   - 横杠 与 上方 tab 的间距 = 各 section 的 padding-top（当前 45px）
   - 横杠 与 下方文字 的间距 = 横杠的 margin-bottom（当前 30px）
   - 横杠规格：宽 60px / 高 4px / 色 #6c2e91 / 居内容块左侧
   后续 competition/training/hotel/sightseeing/shuttle 等 tab 的内容区
   统一使用 .tab-section 作为外层、.section-rule 作为紫色短横杠。 */
.intro-section,
.tab-section {
  width: 1920px;
  background: #fff;
  padding: 45px 0 80px;
  box-sizing: border-box;
}
.intro-text {
  width: 1400px;
  margin: 0 auto 24px;
}
.intro-rule,
.section-rule {
  display: block;
  width: 60px;
  height: 4px;
  background: #6c2e91;
  margin-bottom: 30px;
}
.intro-title {
  font-size: 34px;
  color: #1a1a1a;
  margin: 0 0 18px;
  font-weight: 700;
  line-height: 1.3;
}
.intro-desc p {
  font-size: 16px;
  line-height: 2.3;
  color: #444;
  margin: 0 0 22px;
}
.intro-desc p:last-child { margin-bottom: 0; }
.intro-title { color: #1a1a1a; }

/* 统一内容内边容器：所有 tab 内容（除 intro 已有独立结构外）统一宽度 1400px、水平居中 */
.tab-section .section-inner {
  width: 1400px;
  margin: 0 auto;
}
.section-title {
  font-size: 34px;
  color: #1a1a1a;
  margin: 0 0 24px;
  font-weight: 700;
  line-height: 1.3;
}
.schedule-image-wrap {
  margin-top: 8px;
}
.schedule-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* 中文赛程表格（ competitions schedule 中文版） */
.schedule-cn {
  width: 1400px;
  margin: 0 auto;
}
.schedule-cn .section-rule {
  display: block;
  width: 60px;
  height: 4px;
  background: #6c2e91;
  margin-bottom: 30px;
}
.schedule-cn .section-title {
  font-size: 34px;
  color: #1a1a1a;
  margin: 0 0 30px;
  font-weight: 700;
  line-height: 1.3;
}
.schedule-days {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.schedule-day {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.day-header {
  background: linear-gradient(135deg, #6c2e91 0%, #a855c7 100%);
  color: #fff;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.day-header .day-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}
.day-header .day-sub {
  font-size: 13px;
  opacity: 0.9;
  letter-spacing: 1px;
  margin-top: 4px;
}
.day-header .day-date {
  font-size: 18px;
  font-weight: 600;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  flex: 1;
}
.schedule-table tr {
  border-bottom: 1px solid #f0f0f0;
}
.schedule-table tr:last-child {
  border-bottom: 0;
}
.schedule-table td {
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  vertical-align: middle;
}
.schedule-table td:first-child {
  color: #6c2e91;
  font-weight: 500;
  width: 150px;
  white-space: nowrap;
}
.schedule-table td:nth-child(2) {
  width: auto;
}
.schedule-table td:nth-child(3) {
  width: 120px;
  color: #888;
  text-align: right;
}
.schedule-table .empty-row td {
  color: #ccc;
}

/* 中文酒店信息 */
.hotel-cn {
  width: 1400px;
  margin: 0 auto;
}
.hotel-cn .section-rule {
  display: block;
  width: 60px;
  height: 4px;
  background: #6c2e91;
  margin-bottom: 30px;
}
.hotel-cn .section-title {
  font-size: 34px;
  color: #1a1a1a;
  margin: 0 0 30px;
  font-weight: 700;
  line-height: 1.3;
}
.hotel-image-wrap {
  margin-bottom: 30px;
}
.hotel-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}
.hotel-translation {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.hotel-translation h3 {
  font-size: 22px;
  color: #6c2e91;
  margin: 0 0 18px;
  font-weight: 700;
}
.hotel-translation p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 12px;
}
.hotel-translation p:last-child {
  margin-bottom: 0;
}
.hotel-translation strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* 画廊轮播 */
.intro-gallery {
  position: relative;
  width: 1400px;
  margin: 0 auto;
  overflow: visible;
}
.gallery-track {
  display: flex;
  gap: 15px;
  transition: transform 0.45s ease;
  will-change: transform;
}
.gallery-slide {
  flex: 0 0 820px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transform: scale(0.82);
  opacity: 0.5;
  transition: transform 0.45s ease, opacity 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.gallery-slide.is-active {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}
.gallery-slide img {
  width: 100%;
  height: 461px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 230px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.gallery-prev { left: 20px; }
.gallery-next { left: 756px; }

/* tab 图片内容（图片形式，无标题，1400 居中） */
.tab-content-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
