/* 学院/笔记列表 - 复用现代 finance 体系的同时，提供淘宝感的卡片布局 */
.academy-page {
  width: 100%;
  min-height: 60vh;
}

.academy-hero {
  width: 100%;
  border-radius: 16px;
  padding: 22px 22px;
  background: linear-gradient(90deg, rgba(37,99,235,0.10) 0%, rgba(37,99,235,0.03) 55%, rgba(99,102,241,0.06) 100%);
  border: 1px solid rgba(37,99,235,0.15);
  box-shadow: 0 12px 40px rgba(37,99,235,0.06);
  margin-bottom: 18px;
}

.academy-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
  align-items: center;
}

.academy-hero-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #1742a0;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.academy-hero-h2 {
  font-size: 28px;
  font-weight: 900;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 10px;
}

.academy-hero-sub {
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 16px;
  max-width: 520px;
}

.academy-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.academy-hero-cta {
  background: linear-gradient(90deg, #2563eb 0%, #1742a0 100%);
  border: none;
  color: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(37,99,235,0.18);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.academy-hero-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.academy-hero-highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.academy-hero-highlight {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(37,99,235,0.18);
  color: #1742a0;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.academy-hero-right {
  display: flex;
  justify-content: flex-end;
}

.academy-hero-panel {
  width: 100%;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: 16px;
  padding: 16px 16px 14px 16px;
}

.academy-hero-panel-title {
  font-size: 14px;
  font-weight: 900;
  color: #2563eb;
  margin-bottom: 10px;
}

.academy-hero-steps {
  display: grid;
  gap: 10px;
}

.academy-step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.academy-step-num {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2563eb 0%, #1742a0 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.academy-step-text {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

@media (max-width: 1100px) {
  .academy-hero-inner {
    grid-template-columns: 1fr;
  }
  .academy-hero-right {
    justify-content: stretch;
  }
}

.academy-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.academy-title {
  font-size: 20px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.academy-entry-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.academy-entry-btn {
  background: #2563eb;
  border: none;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
  transition: transform 0.15s ease, background 0.15s ease;
}
.academy-entry-btn:hover {
  transform: translateY(-1px);
  background: #1742a0;
}

.academy-filterbar {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.academy-search {
  flex: 1;
}

.academy-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  background: #f9fafb;
}

.academy-select {
  min-width: 220px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  background: #f9fafb;
}

.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1100px) {
  .academy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .academy-grid {
    grid-template-columns: 1fr;
  }
}

.academy-course-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  min-height: 168px;
}

.academy-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(37, 99, 235, 0.12);
}

.academy-course-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.academy-course-category {
  font-weight: 700;
  color: #2563eb;
  font-size: 15px;
}

.academy-course-time {
  color: #6b7280;
  font-size: 12px;
  white-space: nowrap;
}

.academy-course-desc {
  color: #374151;
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}

.academy-course-actions {
  margin-top: 12px;
}

.academy-course-btn {
  width: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #1742a0 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}

.academy-course-btn:hover {
  filter: brightness(1.05);
}

.academy-loading {
  margin-top: 14px;
  color: #6b7280;
}

.academy-empty {
  margin-top: 14px;
  color: #6b7280;
}

/* 全屏阅读弹窗 - 目录 + 正文排版 */
.academy-reader {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  padding: 18px 18px 26px 18px;
  background: #f7fafd;
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .academy-reader {
    grid-template-columns: 1fr;
    overflow: auto;
  }
}

.academy-reader-nav {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 14px;
  overflow: auto;
  max-height: 100%;
}

.academy-reader-nav-title {
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
}

.academy-reader-nav a {
  display: block;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 10px;
}

.academy-reader-nav a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #1742a0;
}

.academy-reader-main {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  overflow: auto;
  padding: 16px 20px 30px 20px;
}

.academy-reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.academy-reader-h1 {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.academy-reader-sub {
  color: #6b7280;
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.5;
}

.academy-article {
  font-size: 15px;
  color: #111827;
  line-height: 1.9;
}

.academy-article img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.academy-article p {
  margin: 12px 0;
}

.academy-article h1, .academy-article h2, .academy-article h3 {
  scroll-margin-top: 16px;
}

