@charset "UTF-8";
/* =========================================================================
   长江赛事 · 内页通用样式
   使用页面：about.html（企业介绍）、notice.html（赛事公告）
   仅补充页头与公告列表细节，主体沿用 style.css 既有区块样式
   ========================================================================= */

.about-page,
.notice-page {
  background: var(--paper);
}

/* ------------------------------ 页头 ------------------------------ */
.page-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #dceaf6;
}

.page-hero-media {
  display: block;
  width: 100%;
  height: auto;
}

/* 无引导语时，简介区紧接区块内边距 */
.about-page .about-intro {
  margin-top: 0;
}

/* 企业介绍页：正文留白与版心宽度与公告、新闻页保持一致 */
.about-page .about {
  padding-top: clamp(52px, 5.6vw, 92px);
  padding-inline: max(6%, calc((100vw - 1440px) / 2));
}

/* ---------------------------- 公告内页 ---------------------------- */
/* 通栏公告列表：序号 + 日期 + 标题 */
.notice-archive {
  padding: clamp(52px, 5.6vw, 92px) max(6%, calc((100vw - 1440px) / 2));
}

/* 使用组合选择器提升优先级，避免被 style.css 中首页公告条的 .notice-list a 覆盖 */
.notice-list > .notice-row {
  display: grid;
  grid-template-columns: 40px clamp(96px, 7vw, 116px) 1fr;
  gap: clamp(14px, 1.6vw, 26px);
  align-items: center;
  padding-block: clamp(22px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition:
    background 0.35s var(--ease),
    padding 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.notice-list > .notice-row:first-child {
  border-top: 1px solid var(--line);
}

.notice-list > .notice-row:hover {
  padding-left: clamp(10px, 1vw, 18px);
  background: linear-gradient(
    90deg,
    rgba(255, 106, 0, 0.08),
    rgba(255, 106, 0, 0) 68%
  );
  box-shadow: inset 2px 0 0 var(--brand);
}

.notice-list > .notice-row .notice-serial {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 106, 0, 0.55);
  font-variant-numeric: tabular-nums;
}

.notice-list > .notice-row time {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

.notice-list > .notice-row .notice-title {
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: #241915;
  transition: color 0.35s var(--ease);
}

.notice-list > .notice-row:hover .notice-title {
  color: var(--brand-deep);
}

/* 分页：覆盖分页驱动输出的 ul.pagination > li 结构 */
.mypage {
  margin-top: clamp(30px, 3vw, 46px);
  overflow: visible;
}

.mypage .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mypage .pagination > li {
  display: block;
  margin: 0;
  list-style: none;
}

.mypage .pagination > li > a,
.mypage .pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 40px;
  height: 40px;
  margin: 0;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.mypage .pagination > li > a:hover,
.mypage .pagination > li > a:focus-visible,
.mypage .pagination > li > span:hover {
  color: var(--brand-deep);
  border-color: rgba(255, 106, 0, 0.45);
  background: transparent;
}

.mypage .pagination > li.active > a,
.mypage .pagination > li.active > span,
.mypage .pagination > li.active > a:hover,
.mypage .pagination > li.active > span:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  cursor: default;
}

.mypage .pagination > li.disabled > a,
.mypage .pagination > li.disabled > span,
.mypage .pagination > li.disabled > a:hover,
.mypage .pagination > li.disabled > span:hover {
  color: var(--ink-mute);
  background: transparent;
  border-color: var(--line);
  opacity: 0.36;
  cursor: not-allowed;
}

/* 仅屏幕阅读器可见 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------- 赛事新闻页 ---------------------------- */
.news-archive {
  padding: clamp(52px, 5.6vw, 92px) max(6%, calc((100vw - 1440px) / 2));
}

/* 卡片网格 */
.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 34px);
}

.news-card {
  min-width: 0;
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.news-card-link:hover,
.news-card-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.28);
  box-shadow: var(--shadow-2);
}

.news-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e2da;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.news-card-link:hover .news-card-media img {
  transform: scale(1.04);
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 1.6vw, 24px);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.news-card-meta time {
  font-variant-numeric: tabular-nums;
}

.news-card h3 {
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #241915;
  transition: color 0.25s var(--ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link:hover h3 {
  color: var(--brand-deep);
}

.news-card-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-more {
  margin-top: auto;
  padding-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.news-archive-empty {
  padding: 44px 0;
  font-size: 14px;
  color: var(--ink-mute);
  text-align: center;
}

/* ---------------------------- 精彩图集页 ---------------------------- */
.gallery-archive {
  padding: clamp(52px, 5.6vw, 92px) max(6%, calc((100vw - 1440px) / 2));
}

/* 栏目切换（当前仅样式，交互逻辑待接入） */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(24px, 2.4vw, 38px);
  padding-bottom: clamp(20px, 2vw, 30px);
  border-bottom: 1px solid var(--line);
}

.filter-chip {
  flex: 0 0 auto;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--ink-mute);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.filter-chip:hover {
  color: var(--brand-deep);
  border-color: rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.06);
}

.filter-chip:focus-visible {
  outline: 2px solid rgba(255, 106, 0, 0.5);
  outline-offset: 2px;
}

.filter-chip.is-active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 10px 22px -14px rgba(255, 106, 0, 0.85);
}

.filter-chip.is-active:hover {
  color: #fff;
  border-color: var(--brand-deep);
  background: var(--brand-deep);
}

.gallery-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 18px);
}

.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: #e4ded6;
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.05);
}

/* ---------------------------- 响应式 ---------------------------- */
@media (max-width: 1100px) {
  .news-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .notice-archive {
    padding: 44px 6%;
  }

  .notice-list > .notice-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-block: 20px;
  }

  .notice-list > .notice-row:first-child {
    border-top: 0;
  }

  .notice-list > .notice-row .notice-serial {
    display: none;
  }

  .notice-list > .notice-row time {
    font-size: 13px;
  }

  .notice-list > .notice-row .notice-title {
    font-size: 15px;
    line-height: 1.75;
  }

  .mypage {
    margin-top: 28px;
  }

  .mypage .pagination {
    gap: 6px;
  }

  .mypage .pagination > li > a,
  .mypage .pagination > li > span {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .about-page .about {
    padding-top: 44px;
  }

  .page-hero {
    height: 170px;
  }

  .page-hero-media {
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
  }

  .news-archive {
    padding: 44px 6%;
  }

  .news-archive-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-archive {
    padding: 44px 6%;
  }

  /* 移动端栏目横向滑动，不换行占高 */
  .gallery-filter {
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -6%;
    padding-inline: 6%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .gallery-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .gallery-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .news-card-body {
    gap: 8px;
    padding: 16px 18px 18px;
  }

  .news-card h3 {
    font-size: 16px;
  }

  .news-card-desc {
    font-size: 13px;
  }
}

/* =========================================================================
   面包屑导航（仅移动端显示）
   结构：.breadcrumb > a（首页）+ .breadcrumb-sep + [aria-current="page"]
   ========================================================================= */
.breadcrumb {
  display: none;
}

@media (max-width: 800px) {
  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 14px 6% 0;
    font-size: 12.5px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--ink-mute);
  }

  .breadcrumb a {
    color: var(--ink-mute);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
      color 0.25s var(--ease),
      border-color 0.25s var(--ease);
  }

  .breadcrumb a:active,
  .breadcrumb a:focus-visible {
    color: var(--brand);
    border-bottom-color: currentColor;
  }

  .breadcrumb-sep {
    font-size: 11px;
    color: rgba(36, 25, 21, 0.3);
  }

  .breadcrumb [aria-current="page"] {
    color: #241915;
    font-weight: 500;
  }
}

/* ---------------------------- 移动端修正 ---------------------------- */
@media (max-width: 800px) {
  /* 分页按钮多时换行，避免整页出现横向滚动 */
  .mypage .pagination {
    flex-wrap: wrap;
    row-gap: 8px;
  }
}
