/* ============ 基础变量 ============ */
:root {
  --primary: #0080ff;
  --primary-light: rgba(0, 128, 255, 0.08);
  --primary-border: rgba(0, 128, 255, 0.2);
  --bg-main: #f9f8f4;
  --bg-white: #ffffff;
  --text-title: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
  --warning: #F59E0B;
  --success: #10B981;
  --border: #E5E7EB;
  --shadow: none;
  --shadow-lg: none;
  --radius: 6px;
  --radius-lg: 8px;
}

/* ============ 重置样式 ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ============ 顶部导航栏 ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-title);
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--text-body);
  font-size: 16px;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.btn-cta {
  background: var(--primary);
  color: white !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cta:hover {
  background: #0066cc;
  text-decoration: none !important;
}

/* 移动端导航 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-title);
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .header {
    padding: 12px 16px;
    position: relative;
  }

  .btn-cta {
    display: none;
  }
}

/* ============ 主内容区 ============ */
.main-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* ============ 赛事仪表盘 ============ */
.dashboard {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 48px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-title);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
}

.status-badge.green {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.status-badge.yellow {
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
}

.status-badge.clickable {
  cursor: pointer;
}

.status-badge.clickable:hover {
  opacity: 0.8;
}

.status-badge.red {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 600px) {
  .dashboard-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.stat-icon {
  font-size: 22px;
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 16px;
  color: var(--text-muted);
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
}

.dashboard-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.dashboard-footer a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============ 文章列表 ============ */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.article-card a {
  text-decoration: none;
  color: inherit;
}

.article-cover {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-content {
  padding: 16px 20px;
}

.article-tag {
  display: inline-block;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-summary {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 16px;
  color: var(--text-muted);
}

/* ============ 文章详情页 ============ */
.article-hero {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.article-header {
  margin-bottom: 24px;
}

.article-header .article-tag {
  font-size: 16px;
  margin-bottom: 12px;
}

.article-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 12px;
}

.article-header .article-meta {
  font-size: 16px;
}

/* AEO 摘要框 */
.aeo-summary {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.aeo-summary-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.aeo-summary ul {
  margin: 0;
  padding-left: 20px;
}

.aeo-summary li {
  font-size: 18px;
  color: var(--text-body);
  margin-bottom: 4px;
}

/* 文章正文 */
.article-body {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-body);
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-title);
  margin: 32px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-title);
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 16px;
  margin: 20px 0;
  color: var(--text-muted);
  font-style: italic;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
}

.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.article-body th {
  background: var(--bg-main);
  font-weight: 600;
}

.article-body code {
  background: var(--bg-main);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 16px;
}

.article-body pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 20px 0;
}

.article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* 文末钩子 */
.article-hook {
  border: 2px dashed var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 40px;
  text-align: center;
  background: var(--primary-light);
}

.article-hook h3 {
  font-size: 20px;
  color: var(--text-title);
  margin-bottom: 12px;
}

.article-hook p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-hook img {
  max-width: 200px;
  border-radius: var(--radius);
}

/* ============ 权威指南页 ============ */
.guide-hero {
  background: linear-gradient(135deg, #0080ff 0%, #00c6ff 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin: -24px -20px 32px;
}

.guide-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.guide-hero p {
  font-size: 20px;
  opacity: 0.9;
}

.guide-toc {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.guide-toc h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 12px;
}

.guide-toc ul {
  list-style: none;
}

.guide-toc li {
  margin-bottom: 8px;
}

.guide-toc a {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.guide-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

/* FAQ 分组 */
.faq-group {
  margin-bottom: 32px;
}

.faq-group-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

/* FAQ 折叠面板 */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding-top: 12px;
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============ 转化模态框 ============ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.modal h2 {
  font-size: 22px;
  color: var(--text-title);
  margin-bottom: 20px;
}

.modal img {
  max-width: 240px;
  margin-bottom: 16px;
  border-radius: var(--radius);
}

.modal p {
  font-size: 16px;
  color: var(--text-muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
}

/* ============ 页脚 ============ */
.footer {
  text-align: center;
  padding: 24px 20px;
  color: var(--text-muted);
  font-size: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.footer p {
  margin-bottom: 4px;
}

.footer a {
  color: var(--text-muted);
}

/* ============ 信息区块 ============ */
.section-group-end {
  margin-bottom: 56px;
}

.info-section {
  margin-bottom: 32px;
}

.info-section > p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.info-section > p:last-child {
  margin-bottom: 0;
}

.info-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.info-card p {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.7;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.highlight-item {
  text-align: center;
}

.highlight-label {
  display: block;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.highlight-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

/* ============ 步骤流程 ============ */
.steps-container {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.step-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.step-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-item:first-child {
  padding-top: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 16px;
  color: var(--text-muted);
}

.cta-box {
  margin-top: 20px;
  text-align: center;
}

/* ============ 快速入口卡片 ============ */
.quick-links {
  display: flex;
  flex-direction: column;
}

.quick-link-card {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s;
}

.quick-link-card:last-child {
  border-bottom: none;
}

.quick-link-card:hover {
  text-decoration: none;
}

.quick-link-card:hover h3 {
  color: #0066cc;
}

.quick-link-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
}

.quick-link-card p {
  font-size: 16px;
  color: var(--text-muted);
}

.quick-link-card .card-arrow {
  margin-left: auto;
  color: var(--primary);
  font-size: 16px;
}

/* ============ 联系区域 ============ */
.contact-center {
  text-align: center;
}

.contact-center .contact-qr {
  width: 180px;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.contact-center p {
  font-size: 18px;
  color: var(--text-muted);
}

/* ============ 内容列表页 ============ */
.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-muted);
}

/* 分类标签 */
.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 8px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 16px;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
}

.category-tab:hover,
.category-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* 简洁列表样式 */
.simple-list {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.simple-list-item {
  display: block;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.2s;
}

.simple-list-item:last-child {
  border-bottom: none;
}

.simple-list-item:hover {
  background: var(--bg-main);
  text-decoration: none;
}

.simple-list-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 4px;
}

.simple-list-item p {
  font-size: 16px;
  color: var(--text-muted);
}

.simple-list-item .item-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 16px;
  color: var(--text-muted);
}

.item-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 16px;
}

/* 文章列表 - 扁平左文右图 */
.card-list {
  display: flex;
  flex-direction: column;
}

.card-list-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.card-list-item:last-child {
  border-bottom: none;
}

.card-list-item:first-child {
  padding-top: 0;
}

.card-list-item a {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 24px;
  align-items: center;
}

.card-list-item .card-cover {
  width: 240px;
  flex-shrink: 0;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  order: 2;
}

.card-list-item .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  order: 1;
}

.card-list-item .card-meta {
  font-size: 16px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-list-item h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.4;
}

.card-list-item p {
  display: none;
}

/* 导航激活状态 */
.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

/* ============ 赛程时间线 ============ */
.dashboard .timeline {
  margin-top: 20px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 5px;
  position: relative;
  z-index: 1;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 16px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item.done .timeline-marker {
  background: var(--text-muted);
  border-color: var(--text-muted);
}

.timeline-item.current .timeline-marker {
  background: var(--primary);
  border-color: var(--primary);
}

.timeline-date {
  font-size: 16px;
  color: var(--text-muted);
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  margin: 2px 0;
}

.timeline-item.done .timeline-title {
  color: var(--text-muted);
}

.timeline-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============ 首页内容样式 ============ */
.aside {
  border-left: 3px solid var(--primary);
  padding: 10px 16px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-style: normal;
}

.plain-list {
  margin: 12px 0;
  padding-left: 20px;
}

.plain-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.plain-list li::marker {
  color: var(--primary);
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 18px;
}

.simple-table th,
.simple-table td {
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.simple-table thead th {
  font-weight: 600;
  color: var(--text-title);
  border-bottom: 2px solid var(--primary);
}

.simple-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============ 真题题解 ============ */
.exam-year-group {
  margin-bottom: 40px;
}

.exam-year-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.exam-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 16px 0 8px;
}

.exam-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
}

.exam-question-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.exam-question-header:hover {
  background: var(--bg-main);
}

.exam-num {
  background: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.exam-question-text {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-title);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exam-item.open .exam-question-text {
  display: block;
  -webkit-line-clamp: unset;
}

.exam-toggle {
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.exam-item.open .exam-toggle {
  transform: rotate(45deg);
}

.exam-detail {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--border);
}

.exam-item.open .exam-detail {
  display: block;
}

.exam-options {
  margin: 12px 0;
}

.exam-option {
  padding: 6px 0;
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.6;
}

.exam-option.correct {
  color: #059669;
  font-weight: 600;
}

.exam-answer-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0;
}

.exam-explanation {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--bg-main);
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  white-space: pre-line;
}

.exam-points {
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ============ 备赛资源主标签 ============ */
.resource-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.resource-tab {
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.resource-tab:hover {
  color: var(--primary);
}

.resource-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ============ AI百科 ============ */
.wiki-group {
  margin-bottom: 32px;
}

.wiki-group-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.wiki-breadcrumb {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.wiki-breadcrumb a {
  color: var(--text-muted);
}

.wiki-breadcrumb a:hover {
  color: var(--primary);
}

.wiki-category-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.wiki-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.wiki-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--bg-main);
  color: var(--text-muted);
  border-radius: 4px;
  font-size: 16px;
}

.wiki-related-exams {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}

.wiki-related-exams h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
}

.wiki-exam-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wiki-exam-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

.wiki-exam-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.wiki-exam-badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
}

.wiki-exam-question {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-title);
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ============ 工具类 ============ */
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .main-content {
    padding: 16px;
  }

  .dashboard {
    padding: 16px;
  }

  .article-header h1 {
    font-size: 24px;
  }

  .article-body {
    font-size: 18px;
  }

  .guide-hero {
    padding: 40px 16px;
  }

  .guide-hero h1 {
    font-size: 28px;
  }

  .info-highlight {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .highlight-item {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }


  .contact-card {
    flex-direction: column;
    text-align: center;
  }

  .card-list-item a {
    flex-direction: column;
  }

  .card-list-item .card-cover {
    width: 100%;
    aspect-ratio: 2.35 / 1;
    order: 1;
  }

  .card-list-item .card-content {
    order: 2;
    padding: 0;
    padding-top: 12px;
  }

  .card-list-item h3 {
    font-size: 18px;
  }

  .card-list-item p {
    display: none;
  }
}
