/* ==================== 首页样式 2026主体赛版 ==================== */
/* ==================== Banner区域 ==================== */
/* .banner-section 宽度与通栏见 global.css */
.banner-inner {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: visible;
}
.banner-img {width: 100%;max-width: 1920px;height: auto;display: block;margin: 0 auto;}

/* ==================== Banner 三项入口：底栏在图内水平居中，三块均分 ==================== */
.banner-event-switch {
  position: absolute;
  left: 50%;
  top: 670px;
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
  box-sizing: border-box;
  width: min(1225px, calc(100% - 32px));
  max-width: 100%;
  height: 174px;
  display: flex;
  justify-content: space-between;
}
/* 赛事入口切换样式 */
.banner-link {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  text-align: center;
  text-decoration: none;
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, opacity 0.2s ease;
  top:10px;
}
.banner-link.active .banner-link__title {color: #fff;}
.banner-link--ai{left:45px}
.banner-link--main{left:0px;align-items: center}
.banner-link--textile{left:135px}

/* 第二行：主标题 + 入口图标（非当前赛显示，与截图一致） */
.banner-link__row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
}

.banner-link__ico {
  display: block;
  width: clamp(26px, 2.4vw, 36px);
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.banner-link.active .banner-link__ico {
  display: none;
}

.banner-link__sub {
  display: block;
  font-size: 26px;
  font-weight: 600;
  line-height: 36px;
  margin-bottom: 4px;
  color: #565656;
}

.banner-link__title {
  font-size: 40px;
  font-weight: bold;
  line-height: 56px;
  color: #000;
  letter-spacing: 0.02em;
}

/* ==================== 章节标题图片 ==================== */
.section-title-img {margin: 40px 0 30px;}
.section-title-img.center {text-align: center;}
.section-title-img.center img {margin: 0 auto;}
.section-title-img img {
  max-width: 100%;
  height: auto;
}
/* ==================== 大赛简介和公告区域 ==================== */
.info-section {margin: 30px 0;padding: 0 30px;gap: 24px;flex-wrap: wrap;}
.introBox {flex: 1 1 320px;min-width: 0;max-width: 709px;}
.intro-content {padding-top: 10px;}
.intro-content p {line-height: 1.8;color: #666;margin-bottom: 15px;text-align: justify;font-size: 14px;}

.noticeBox {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 530px;
  padding-left: 30px;
}
.noticeListBox {padding: 10px 30px;box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.1);border-radius: 10px;}
.notice-item {display: flex;align-items: center;padding: 12px 0;border-bottom: 1px solid #DFDFDF;}
.notice-item:last-child {border-bottom: none;}
.notice-icon {
  width: auto;
  max-width: 28px;
  max-height: 22px;
  margin-right: 10px;
  flex-shrink: 0;
  object-fit: contain;
}

.notice-title {
  color: #333;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: 14px;
  transition: color 0.3s;
}
.notice-title:hover {color: var(--primary-light);}
.notice-date {
  color: #999;
  font-size: 13px;
  margin-left: 10px;
  flex-shrink: 0;
}

/* ==================== 大赛日程 ==================== */
.schedule-section {background: #fff;padding: 20px 0 40px;margin: 30px 0;}

.schedule-img-wrap {text-align: center;padding: 20px;}
.schedule-img {max-width: 100%;height: auto;}

/* 大赛日程下方：各阶段文字与上方图片对齐 */
.schedule-phases {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 0;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 0 24px;
  box-sizing: border-box;
}
.schedule-phase {flex: 1 1 0;min-width: 100px;text-align: center;}

/* 日期：红色、加粗、居中 */
.schedule-phase__range {
  color: var(--primary);
  font-size: 26px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.02em;
}

/* 说明：灰色、常规字重、居中 */
.schedule-phase__label {
  margin-top: 10px;
  color: #848484;
  font-size: 22px;
  font-weight: 400;
  line-height: 32px;
}

@media (max-width: 768px) {
  .schedule-phases {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .schedule-phase {
    min-width: 0;
  }
}

/* ==================== 申报类别 ==================== */
.category-img-wrap {text-align: center;padding: 20px 0;margin-bottom: 30px;}
.category-img {max-width: 100%;height: auto;}

/* ==================== 申报流程 ==================== */
.process-section {
  background: linear-gradient(135deg, #fdf5f5 0%, #fff 100%);
  padding: 20px 0;
  margin: 30px 0;
  border-radius: 12px;
}
.process-img-wrap {
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}
/* 与下方步骤文案同一水平基准：撑满内边距后的内容区，避免整图在容器内居中变窄导致圆点与文字列错位 */
.process-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* 流程图下方步骤文案：轨道 + 绝对定位，与主图六等分圆点中心对齐 */
.process-labels-track {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px 28px;
  box-sizing: border-box;
}
.process-step-labels {
  position: relative;
  width: 100%;
  min-height: 2.6em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-step-labels li {
  position: absolute;
  top: 0;
  margin: 0;
  padding: 0;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}
/* 六等分中心：第 n 步 left = (2n-1)/12 * 100% */
.process-step-labels li:nth-child(1) { left: 55px; }
.process-step-labels li:nth-child(2) { left: 300px; }
.process-step-labels li:nth-child(3) { left: 560px; }
.process-step-labels li:nth-child(4) { left: 800px; }
.process-step-labels li:nth-child(5) { left: 1050px; }
.process-step-labels li:nth-child(6) { left: 1290px; }
body[data-theme] .process-step-labels li {
  color: var(--primary);
}
@media (max-width: 900px) {
  .process-step-labels li {
    position: static;
    transform: none;
    max-width: none;
    white-space: normal;
  }
  .process-step-labels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
    column-gap: 8px;
    min-height: 0;
  }
}
@media (max-width: 520px) {
  .process-step-labels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==================== 评审标准（整图，专项赛/分赛） ==================== */
.criteria-image-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}
.criteria-full-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==================== 评审标准表格（主体赛） ==================== */
.criteria-table-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.criteria-table {width: 100%;border-collapse: collapse;}
.criteria-table thead {background: #f00;}
.criteria-table thead th {
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.criteria-table th {
  padding: 16px 12px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
}

.criteria-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  font-size: 14px;
}

.criteria-table tbody tr:hover {background: #fdf5f5;}
.criteria-table tbody tr:last-child td {border-bottom: none;}

.col-num { width: 10%; }
.col-item { width: 42%; }
.col-product { width: 24%; }
.col-concept { width: 24%; }

.criteria-table .col-item-cell {
  text-align: center;
  line-height: 1.5;
  vertical-align: middle;
}

/* ==================== 奖项设置 ==================== */
.awards-section {
  background: #fff;
  padding: 20px 0 50px;
  margin: 30px 0 0;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.awards-img-wrap {
  text-align: center;
  padding: 20px;
}

.awards-img {
  max-width: 100%;
  height: auto;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 1220px) {
  .layui-container {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
}

@media (max-width: 992px) {
  .banner-event-switch {
    width: min(96%, 1200px);
    height: clamp(80px, 28%, 180px);
    padding: 0 8px 8px;
    gap: 4px;
  }

  .banner-link--main {
    padding-bottom: 10px;
  }

  .info-section {
    display: block;
  }

  .introBox {
    border-right: none;
    padding-right: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .noticeBox {
    padding-left: 0;
  }

  .criteria-table-wrap,
  .criteria-image-wrap {
    padding: 20px;
    overflow-x: auto;
  }

  .criteria-table {
    min-width: 700px;
  }
}

@media (max-width: 768px) {
  .section-title-img img {
    height: 32px;
  }

  .banner-link__title {
    font-size: 15px;
  }

  .intro-content p {
    font-size: 13px;
  }

  .notice-title {
    max-width: 200px;
  }
}
