header {
  border-bottom: solid 1px #999;
  /* 调试后隐藏 */
}

/* 响应式导航菜单 */
@media (max-width: 767px) {
  .hidden-xs.hidden-sm {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hidden-xs.hidden-sm {
    display: flex !important;
  }
}

/* nav */

.nav-logo img {
  height: 40px;
}

.nav a {
  position: relative;
  /* 关键：需要添加这行 */
}

.nav a:hover,
.nav a.active,
.nav-login a:hover {
  color: rgb(var(--blue-500));
}

.nav a:after {
  content: "";
  width: 0;
  height: 2px;
  background-color: rgb(var(--blue-500));
  position: absolute;
  left: 100%;
  bottom: -5px;
  /* 往下移动5px，可以根据需要调整 */
  transition: all 0.4s;
}

.nav a.active:after,
.nav a:hover:after {
  width: 100%;
  left: 0;
  transition-delay: 0.1s;
}

.nav ul {
  width: 100px;
  position: absolute;
  top: 20px;
  left: -10px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 1000;
  border-radius: 5px;
  display: none;
}
.nav>li:hover>ul,
.nav>li:hover>ul>li:hover {
  display: block;
}
.nav ul li {
  padding: 5px 10px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.nav ul li:hover {
  background-color: rgb(var(--blue-100));
}

/* 添加这个来解决消失时在屏幕下面的问题 */
.nav a:not(:hover):not(.active):after {
  left: 100%;
}

/* 调整下拉菜单位置 */
.nav-login-list {
  position: relative;
  top: 75px;
  /* 从父元素底部开始 */
  left: -70px;
  /* 左对齐父元素 */
  z-index: 1000;
  /* 确保在其他元素之上 */
  display: none;
}

.nav-login-avatar {
  position: relative;
  display: inline-block;
}

.nav-login-avatar:hover~.nav-login-list,
.nav-login-list:hover {
  display: block;
}

/* banner */
.jquan-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px;
  background: rgb(var(--gray-100));
}

.jquan-carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.jquan-carousel-item {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.jquan-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jquan-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 2rem 1rem 1rem;
}

.jquan-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.jquan-carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.jquan-carousel-indicator.active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

.jquan-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s ease;
  z-index: 10;
}

.jquan-carousel-control:hover {
  background: rgba(0, 0, 0, 0.7);
}

.jquan-carousel-control.prev {
  left: 1rem;
  border-radius: 0 4px 4px 0;
}

.jquan-carousel-control.next {
  right: 1rem;
  border-radius: 4px 0 0 4px;
}

/* 不同尺寸的轮播 */
.jquan-carousel-sm {
  height: 300px;
}

.jquan-carousel-lg {
  height: 500px;
}

.jquan-carousel-full {
  height: 100vh;
}

/* 自动播放时的暂停按钮 */
.jquan-carousel-play-pause {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
  transition: background 0.3s ease;
}

.jquan-carousel-play-pause:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .jquan-carousel {
    height: 250px;
  }

  .jquan-carousel-sm {
    height: 200px;
  }

  .jquan-carousel-lg {
    height: 350px;
  }

  .jquan-carousel-control {
    padding: 0.5rem;
    font-size: 1rem;
  }

  .jquan-carousel-caption {
    padding: 1rem 0.5rem 0.5rem;
  }
}

/* 选项卡组件专用样式 */
.jquan-course-tabs {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* 课程类型标签按钮 */
.jquan-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgb(var(--gray-50));
  border-bottom: 1px solid rgb(var(--gray-200));
}

.jquan-tab-button {
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 25px;
  background: white;
  color: rgb(var(--gray-600));
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.jquan-tab-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  transition: left 0.5s;
}

.jquan-tab-button:hover::before {
  left: 100%;
}

.jquan-tab-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.jquan-tab-button.active {
  background: rgb(var(--blue-500));
  color: white;
  border-color: rgb(var(--blue-500));
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.jquan-tab-button.programming.active {
  background: rgb(var(--indigo-500));
  border-color: rgb(var(--indigo-500));
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.jquan-tab-button.design.active {
  background: rgb(var(--purple-500));
  border-color: rgb(var(--purple-500));
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.jquan-tab-button.business.active {
  background: rgb(var(--green-500));
  border-color: rgb(var(--green-500));
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.jquan-tab-button.language.active {
  background: rgb(var(--orange-500));
  border-color: rgb(var(--orange-500));
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* 选项卡内容显示/隐藏 */
.jquan-course-grid {
  display: none;
}

.jquan-course-grid.active {
  display: grid;
}

/* 课程卡片容器 */
.jquan-course-content {
  padding: 2rem;
  min-height: 600px;
}

.jquan-course-grid {
  display: none;
  /* 默认隐藏 */
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.jquan-course-grid.active {
  display: grid;
  /* 激活时显示 */
}

/* 课程卡片 */
.jquan-course-card {
  background: white;
  border: 1px solid rgb(var(--gray-200));
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.jquan-course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      rgb(var(--blue-400)),
      rgb(var(--blue-600)));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.jquan-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.jquan-course-card:hover::before {
  transform: scaleX(1);
}

.jquan-course-card.programming::before {
  background: linear-gradient(90deg,
      rgb(var(--indigo-400)),
      rgb(var(--indigo-600)));
}

.jquan-course-card.design::before {
  background: linear-gradient(90deg,
      rgb(var(--purple-400)),
      rgb(var(--purple-600)));
}

.jquan-course-card.business::before {
  background: linear-gradient(90deg,
      rgb(var(--green-400)),
      rgb(var(--green-600)));
}

.jquan-course-card.language::before {
  background: linear-gradient(90deg,
      rgb(var(--orange-400)),
      rgb(var(--orange-600)));
}

.jquan-course-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: rgb(var(--gray-100));
}

.jquan-course-info {
  padding: 1.5rem;
}

.jquan-course-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgb(var(--gray-800));
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.jquan-course-description {
  color: rgb(var(--gray-600));
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.jquan-course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgb(var(--gray-200));
}

.jquan-course-instructor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jquan-instructor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(var(--gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(var(--gray-600));
}

.jquan-instructor-name {
  font-size: 0.875rem;
  color: rgb(var(--gray-700));
  font-weight: 500;
}

.jquan-course-stats {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.jquan-course-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: rgb(var(--gray-500));
}

/* 课程目录弹窗 */
.jquan-course-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.jquan-course-modal.active {
  opacity: 1;
  visibility: visible;
}

.jquan-modal-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.jquan-course-modal.active .jquan-modal-content {
  transform: scale(1);
}

.jquan-modal-header {
  position: relative;
  height: 250px;
  background: linear-gradient(135deg,
      rgb(var(--blue-500)),
      rgb(var(--blue-700)));
  display: flex;
  align-items: end;
  padding: 2rem;
  color: white;
}

.jquan-modal-header.programming {
  background: linear-gradient(135deg,
      rgb(var(--indigo-500)),
      rgb(var(--indigo-700)));
}

.jquan-modal-header.design {
  background: linear-gradient(135deg,
      rgb(var(--purple-500)),
      rgb(var(--purple-700)));
}

.jquan-modal-header.business {
  background: linear-gradient(135deg,
      rgb(var(--green-500)),
      rgb(var(--green-700)));
}

.jquan-modal-header.language {
  background: linear-gradient(135deg,
      rgb(var(--orange-500)),
      rgb(var(--orange-700)));
}

.jquan-modal-course-info {
  position: relative;
  z-index: 2;
}

.jquan-modal-course-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.jquan-modal-course-instructor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.9;
}

.jquan-modal-instructor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jquan-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.jquan-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.jquan-modal-body {
  padding: 2rem;
  max-height: calc(90vh - 250px);
  overflow-y: auto;
}

/* 课程目录章节 */
.jquan-course-chapters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jquan-chapter-item {
  border: 1px solid rgb(var(--gray-200));
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.jquan-chapter-item:hover {
  border-color: rgb(var(--blue-300));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.jquan-chapter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgb(var(--gray-50));
  cursor: pointer;
  user-select: none;
}

.jquan-chapter-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: rgb(var(--gray-800));
}

.jquan-chapter-toggle {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: rgb(var(--gray-500));
}

.jquan-chapter-item.expanded .jquan-chapter-toggle {
  transform: rotate(180deg);
}

.jquan-lessons {
  display: none;
  border-top: 1px solid rgb(var(--gray-200));
}

.jquan-chapter-item.expanded .jquan-lessons {
  display: block;
}

.jquan-lesson-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem 0.75rem 3rem;
  border-bottom: 1px solid rgb(var(--gray-100));
  transition: all 0.3s ease;
  cursor: pointer;
}

.jquan-lesson-item:last-child {
  border-bottom: none;
}

.jquan-lesson-item:hover {
  background: rgb(var(--blue-50));
}

.jquan-lesson-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.jquan-lesson-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
}

.jquan-lesson-icon.video {
  background: rgb(var(--red-500));
}

.jquan-lesson-icon.quiz {
  background: rgb(var(--amber-500));
}

.jquan-lesson-icon.assignment {
  background: rgb(var(--green-500));
}

.jquan-lesson-icon.download {
  background: rgb(var(--blue-500));
}

.jquan-lesson-title {
  font-size: 0.875rem;
  color: rgb(var(--gray-700));
}

.jquan-lesson-duration {
  font-size: 0.75rem;
  color: rgb(var(--gray-500));
}

/* 加载和空状态 */
.jquan-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: rgb(var(--gray-500));
}

.jquan-loading-icon {
  width: 48px;
  height: 48px;
  border: 3px solid rgb(var(--gray-200));
  border-top: 3px solid rgb(var(--blue-500));
  border-radius: 50%;
  animation: jquan-spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes jquan-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.jquan-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: rgb(var(--gray-500));
  text-align: center;
}

.jquan-empty-icon {
  width: 64px;
  height: 64px;
  background: rgb(var(--gray-200));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .jquan-tab-buttons {
    padding: 1rem;
    gap: 0.25rem;
  }

  .jquan-tab-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .jquan-course-content {
    padding: 1rem;
  }

  .jquan-course-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .jquan-modal-content {
    width: 95%;
    margin: 1rem;
  }

  .jquan-modal-header {
    height: 200px;
    padding: 1.5rem;
  }

  .jquan-modal-course-title {
    font-size: 1.5rem;
  }

  .jquan-modal-body {
    padding: 1.5rem;
  }

  .jquan-lesson-item {
    padding: 0.5rem 1rem 0.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .jquan-tab-button {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    padding: 0.5rem;
  }
}

/* 登录页 */
.jquan-logon-logo {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.jquan-logon-logo svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.jquan-text--line {
  font-size: 300px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.jquan-text--line2 {
  font-size: 300px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.jquan-text-copy {
  fill: none;
  stroke: white;
  stroke-dasharray: 7% 28%;
  stroke-width: 4px;
  -webkit-animation: stroke-offset 5s infinite linear;
  animation: stroke-offset 5s infinite linear;
}

.jquan-text-copy:nth-child(1) {
  stroke: #360745;
  stroke-dashoffset: 7%;
}

.jquan-text-copy:nth-child(2) {
  stroke: #D61C59;
  stroke-dashoffset: 14%;
}

.jquan-text-copy:nth-child(3) {
  stroke: #E7D84B;
  stroke-dashoffset: 21%;
}

.jquan-text-copy:nth-child(4) {
  stroke: #EFEAC5;
  stroke-dashoffset: 28%;
}

.jquan-text-copy:nth-child(5) {
  stroke: #1B8798;
  stroke-dashoffset: 35%;
}

@-webkit-keyframes stroke-offset {
  50% {
    stroke-dashoffset: 35%;
    stroke-dasharray: 0 87.5%;
  }
}

@keyframes stroke-offset {
  50% {
    stroke-dashoffset: 35%;
    stroke-dasharray: 0 87.5%;
  }
}

/* video */

.mt-84 {
  margin-top: 84px;
}

.section-title {
  position: relative;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: rgb(var(--blue-500));
  margin-top: .3rem;
  border-radius: 2px
}

/* 播放器占位符 */
.video-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000
}

.video-player-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: .3s;
  transition: .3s
}

.video-player-wrapper .play-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 30px;
  line-height: 64px;
  text-align: center;
  cursor: pointer
}

/* tab-bar */
.tab-bar {
  display: flex;
  border-bottom: 1px solid rgb(var(--gray-200));
  margin-bottom: 1rem
}

.tab-bar span {
  cursor: pointer;
  padding: .75rem 1rem;
  position: relative;
  font-weight: 500
}

.tab-bar span.active {
  color: rgb(var(--blue-500))
}

.tab-bar span.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgb(var(--blue-500))
}

/* chapter-list */
.chapter {
  border: 1px solid rgb(var(--gray-200));
  border-radius: 8px;
  margin-bottom: .75rem
}

.chapter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: rgb(var(--gray-50));
  cursor: pointer
}

.chapter-body {
  display: none
}

.chapter.open .chapter-body {
  display: block
}

.lesson-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1rem .5rem 3rem;
  border-bottom: 1px solid rgb(var(--gray-100))
}

.lesson-item:last-child {
  border: none
}

.lesson-item:hover {
  background: rgb(var(--blue-50));
  cursor: pointer
}

.lesson-title {
  font-size: .875rem;
  color: rgb(var(--gray-700))
}

.lesson-duration {
  font-size: .75rem;
  color: rgb(var(--gray-500))
}

/* swiper-row（横向滚动） */
.swiper-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem
}

.card-mini {
  flex: 0 0 220px;
  border: 1px solid rgb(var(--gray-200));
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer
}

.card-mini img {
  width: 100%;
  height: 120px;
  object-fit: cover
}

.card-mini .info {
  padding: .75rem
}

.card-mini .title {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}
/* ucenter */
/* ------- 头像大圆 ------- */
.avatar-xl{
  --size: 96px;
  width: var(--size);
  height: var(--size);
}
/* ------- 移动端抽屉 ------- */
.drawer{
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #fff;
  z-index: 1500;
  box-shadow: 0 0 8px rgba(0,0,0,.15);
  transition: left .35s cubic-bezier(.25,.8,.25,1);
}
.drawer.show{left:0;}
.drawer-header{background:rgb(var(--sky-500));color:#fff;}
.drawer .list-group-item{border:none;border-radius:0;border-bottom:1px solid rgb(var(--gray-200));}
/* ------- PC 卡片略加阴影 ------- */
.card.shadow-lg{box-shadow:0 4px 20px rgba(0,0,0,.08);}
/* ------- 徽章主题色 ------- */

/* 响应式内容区域样式 */
.responsive-content {
  flex-direction: row;
  flex-wrap: nowrap;
}

/* 文章列表样式 */
.article-list {
  width: 100%;
}

.article-item {
  transition: all 0.3s ease;
}

.article-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.article-image {
  overflow: hidden;
}

.article-image img {
  transition: transform 0.3s ease;
}

.article-item:hover .article-image img {
  transform: scale(1.05);
}

.article-info {
  display: flex;
  flex-direction: column;
}

.article-meta {
  margin-top: auto;
}

/* 侧边栏样式 */
.sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
}

.sidebar-title {
  margin-bottom: 1rem;
  text-align: center;
}

.sidebar-item {
  transition: all 0.3s ease;
}

.sidebar-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 移动端适配 */
@media (max-width: 992px) {
  .responsive-content {
    flex-direction: column;
  }
  
  .main-content {
    width: 100%;
    order: 1;
  }
  
  .sidebar {
    width: 100%;
    order: 2;
    position: static;
    margin-top: 2rem;
  }
  
  .sidebar-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .article-item {
    flex-direction: column;
  }
  
  .article-image {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
  }
  
  .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .article-info {
    padding: 1rem;
  }
  
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .article-meta a {
    width: 100%;
    text-align: center;
  }
  
  .sidebar {
    margin-top: 1.5rem;
  }
  
  .sidebar-title {
    font-size: 1.1rem;
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .responsive-content {
    gap: 1rem;
  }
  
  .article-list {
    gap: 1rem;
  }
  
  .article-info {
    padding: 0.75rem;
  }
  
  .jquan-course-title {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  .jquan-course-description {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .sidebar {
    gap: 0.75rem;
  }
}
.badge.bg-purple{background:rgb(var(--purple-500));color:#fff;}

table.jquan{
	border-collapse: collapse;
    border-spacing: 0;
	width: 100%;
    background-color: #fff;
    color: #666;
    margin: 10px 0;
}
table.jquan tr{
	background-color: #ffffff;
    color: var(--dark-color);
	-webkit-transition: all .3s;
}

table.jquan tr th,table tr td{
	position: relative;
	min-height: 20px;
    font-size: 14px;
    color: #424242;
    border: none;
    padding: 13px 15px;
    line-height: inherit;
    text-align: left;
}
table.jquan tr th{
    border-bottom: solid 1px #212529;
    font-weight: 700;
}
table.jquan tr td{
    border-bottom: solid 0.5px #f0f0f0;
}
table.Jquan tbody tr:hover,
.JquanUI.striped tbody tr:nth-child(odd){
	background-color: #f2f2f2;
}
.striped tbody tr:hover{
	background:none;
}
.ucenterNav{
  min-height: 100vh;
}
.ucenterNav ul{
  box-shadow: 0 0 8px rgba(0,0,0,.15);
}
.ucenterNav ul li a{
  transition: all .3s;
}
.ucenterNav ul li:hover{
  background: rgb(var(--blue-400));
  color:  #ffffff;
}
.ucenterNav ul li:hover a{
  margin-left: 10px;
  transition: all .3s;
}
/* ------- 分页器前端 ------- */
/* ========= 分页器容器 ========= */
nav.pager {
    display: flex;
    align-items: center;
    gap: 6px;                 /* 按钮之间的标准间距 */
    font-size: 14px;
    color: #333;
}
/* 左侧「共 x 项」文案 */
nav.pager > div:first-child {
    margin-right: auto;       /* 让这句文案贴在最左边 */
    color: #666;
}
/* ========= 通用按钮 ========= */
nav.pager .btn,
nav.pager .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #d0d7de;
    background: #fff;
    color: #0969da;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
/* 仅图标的方角按钮（上一页/下一页） */
nav.pager .btn.square {
    padding: 6px;
    aspect-ratio: 1 / 1;     /* 保证正方形 */
}
/* hover / focus */
nav.pager .btn:hover,
nav.pager .btn:focus {
    background: #f3f4f6;
    border-color: #0969da;
}
/* 禁用状态：用 "disabled" 这个工具类即可（也可让后端给第一页/最后一页直接加 .disabled） */
nav.pager .btn.disabled,
nav.pager .btn.page-num {
    color: #8c959f;
    border-color: #d0d7de;
    pointer-events: none;
}
/* ========= 当前页高亮 ========= */
nav.pager .btn.active,
nav.pager .btn.page-num {
    background: #0969da;
    color: #fff;
    border-color: #0969da;
    pointer-events: none;
}
/* ========= 图标字体（你可以用 font-awesome / remixicon / 自己的 font） ========= */
nav.pager .icon {
    width: 1em;
    height: 1em;
    fill: currentColor;   /* 如果你用 SVG 图标，就加上这一行 */
}
.mnav li.active{
  color: rgb(var(--blue-500));
}
.mnav li ul{
  bottom: 64px;
  left: 0px;
}
.overflow-auto {
    overflow: auto;
}
/* .mnav li:active ul{
  display: flex !important;
} */

[class^="page-"] {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #d0d7de;
  background: #fff;
  color: #0969da;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  margin: 0 3px;
}
.page-num-current {
  background: #0969da;
  color: #fff;
  border-color: #0969da;
  pointer-events: none;
}
.page-numbar{
  border:none
}