:root {
  --clubs-sidebar-w: 300px;
  --clubs-h: 420px;
}

/* 师资队伍独立样式 */
.content-wrapper { display: flex; max-width: 1200px; margin: 0 auto; padding: 20px 24px; gap: 30px; align-items: flex-start; }
.main-content { flex: 1; }

/* 侧边栏 */
.sidebar { width: 250px; flex-shrink: 0; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.sidebar__header { background: #1165b3; color: #ffffff; padding: 16px 20px; text-align: center; font-size: 18px; font-weight: 800; }
.sidebar__menu { list-style: none; margin: 0; padding: 0; }
.sidebar__menu-item { border-bottom: 1px solid #f3f4f6; }
.sidebar__menu-item:last-child { border-bottom: 0; }
.sidebar__menu-link { display: block; padding: 16px 20px; color: #374151; text-decoration: none; transition: all .2s ease; font-size: 16px; background: #fff; }
.sidebar__menu-link:hover { background: #f9fafb; color: #1165b3; }
.sidebar__menu-link--active { background: #f3f4f6; color: #1165b3; font-weight: 700; }

/* 标题与面包屑 */
.title-breadcrumb-container { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.section-title { font-size: 24px; font-weight: 800; color: #1f2937; margin: 0; }
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb__list { display: flex; gap: 10px; font-size: 14px; color: #6b7280; margin: 0; padding: 0; list-style: none; }
.breadcrumb__item--active { color: #1165b3; font-weight: 600; }
.breadcrumb__link { color: #6b7280; text-decoration: none; transition: color .2s ease; }
.breadcrumb__link:hover { color: #1165b3; text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb__separator { color: #9ca3af; }

.section-divider { margin: 0 0 20px 0; height: 2px; background-color: #e5e7eb; border: none; border-radius: 1px; width: 100%; }



.clubs-page {
  padding-top: 16px;
}

.clubs-page__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.clubs-layout {
  display: grid;
  grid-template-columns: var(--clubs-sidebar-w) 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .clubs-layout {
    grid-template-columns: 1fr;
  }
}

.clubs-sidebar {
  position: sticky;
  top: 16px;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 45%);
  background-image: radial-gradient(rgba(156, 195, 255, .35) 1.2px, transparent 1.2px), radial-gradient(rgba(255,255,255,.8) 1.2px, transparent 1.2px);
  background-size: 12px 12px, 20px 20px;
  background-position: 0 0, 0 0;
  animation: sidebarSnow 30s linear infinite;
  border: none;
  border-left: 4px solid #4b9ef5;
  border-radius: 0;
  box-shadow: none;
  padding: 8px 8px 8px 14px;
  height: var(--clubs-h);
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.clubs-sidebar::-webkit-scrollbar { width: 0; height: 0; }

.clubs-stat {
  font-weight: 700;
  color: #0e4c97;
  margin-bottom: 10px;
}

.club-group { margin-bottom: 12px; }
.club-group__title { font-size: 16px; font-weight: 800; color: #0a3b76; margin: 8px 2px; }
.club-list { display: grid; gap: 6px; }
.club-item {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.club-link { color: inherit; text-decoration: none; flex: 1; }
.club-item::before {
  content: "\2192"; /* → */
  color: #4b9ef5;
  font-weight: 700;
  display: inline-block;
  transform: scale(1);
  transition: transform .2s ease;
}
.club-item.is-active { color: #0e4c97; }
.club-item:hover { background: rgba(59,130,246,.08); color: #f59e0b; }
.club-item:hover .club-link { text-decoration: underline; text-underline-offset: 2px; }
.club-item.is-active::before { content: "\27F6"; transform: scale(1.6); }

.clubs-carousel {
  position: relative;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  height: var(--clubs-h);
}
.clubs-carousel::before,
.clubs-carousel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  pointer-events: none;
}
.clubs-carousel::before { top: 0; background: linear-gradient(to right, rgba(99,102,241,.5), rgba(56,189,248,.4), rgba(99,102,241,.5)); }
.clubs-carousel::after { bottom: 0; background: linear-gradient(to right, rgba(56,189,248,.4), rgba(99,102,241,.5), rgba(56,189,248,.4)); }
.carousel-viewport { position: relative; width: 100%; height: 100%; overflow: hidden; }
.carousel-track { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; background: #000; opacity: 0; transition: opacity .5s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .6s ease, filter .3s ease; }
.clubs-carousel:hover .slide.is-active img { transform: scale(1.06); filter: saturate(1.05) contrast(1.02); }

.carousel-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); cursor: pointer; }
.carousel-dots button[aria-selected="true"] { background: #fff; width: 10px; height: 10px; }

.carousel-overlay {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 10;
  pointer-events: none;
}
.overlay-text {
  display: inline-block;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.overlay-text.visible { opacity: 1; transform: translateY(0); }
.hide-name .overlay-text { opacity: 0 !important; }

@keyframes sidebarSnow {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 600px, 0 1200px; }
}