/* =========================================
   智库页样式 think-tank.css
   ========================================= */

/* 主体 */
.main-content { padding: 24px 0 0; }

/* =========================================
   Hero Banner
   ========================================= */
.tt-hero {
  background: linear-gradient(135deg, #0d3d21 0%, #1a6b3a 50%, #2a8a50 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.tt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.tt-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.tt-hero-content { flex: 1; }
.tt-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.tt-hero-content h1 {
  font-size: 36px;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.tt-hero-content > p {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  margin-bottom: 28px;
}
.tt-stats {
  display: flex;
  gap: 32px;
}
.tt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.tt-stat strong {
  font-size: 28px;
  font-weight: 900;
  color: white;
}
.tt-stat span {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}
.tt-hero-visual { width: 400px; flex-shrink: 0; opacity: .8; }

/* =========================================
   研究方向导航
   ========================================= */
.research-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 12px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  gap: 12px;
}
.rn-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.rn-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-sub);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.rn-tab:hover { border-color: var(--primary); color: var(--primary); }
.rn-tab.active { background: var(--primary); color: white; border-color: var(--primary); font-weight: 600; }
.rn-filters { display: flex; gap: 8px; }
.sort-select {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--text-sub);
  outline: none;
  cursor: pointer;
  background: white;
  transition: var(--transition);
}
.sort-select:focus { border-color: var(--primary); }

/* =========================================
   旗舰报告置顶
   ========================================= */
.featured-reports {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.fr-left { flex-shrink: 0; position: relative; }
.fr-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  z-index: 2;
}
.fr-cover {
  width: 200px;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fr-cover-content { text-align: center; color: white; padding: 20px; }
.frc-year { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.frc-title { font-size: 20px; font-weight: 900; line-height: 1.4; margin-bottom: 8px; }
.frc-org { font-size: 11px; color: rgba(255,255,255,.65); margin-bottom: 16px; }
.frc-logo { width: 60px; height: 60px; margin: 0 auto; }
.fr-right { flex: 1; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.fr-tags { margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.fr-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 2px;
  background: var(--primary-pale);
  color: var(--primary);
  border: 1px solid #c8e6c9;
}
.fr-tag.highlight { background: var(--accent); color: white; border-color: var(--accent); }
.fr-title-area h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
}
.fr-subtitle { font-size: 14px; color: var(--text-sub); line-height: 1.6; }
.fr-summary h4 { font-size: 13px; font-weight: 700; color: var(--text-sub); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.fr-summary ul { display: flex; flex-direction: column; gap: 8px; }
.fr-summary li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-main); }
.fs-num {
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 2px;
  flex-shrink: 0;
}
.fr-actions { }
.fr-meta { display: flex; gap: 10px; font-size: 12px; color: var(--text-light); flex-wrap: wrap; margin-bottom: 14px; }
.fr-meta strong { color: var(--text-main); }
.fr-btns { display: flex; gap: 10px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary);
  padding: 9px 24px;
  border-radius: 24px;
  font-size: 14px;
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--primary-pale); }

/* =========================================
   主布局
   ========================================= */
.tt-main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* 报告区块头部 */
.reports-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.reports-section-header h3 { font-size: 18px; font-weight: 800; }
.total-count { font-size: 13px; color: var(--text-light); }
.total-count strong { color: var(--text-main); }

/* =========================================
   报告卡片网格
   ========================================= */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 4px;
}
.report-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.report-grid-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.vip-card { opacity: .9; }
.rgc-cover {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px;
}
.rgc-type {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255,255,255,.2);
  color: white;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.3);
}
.rgc-year { position: absolute; top: 8px; right: 8px; font-size: 11px; color: rgba(255,255,255,.6); }
.vip-lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.8);
  font-size: 12px;
}
.rgc-info { padding: 14px; }
.rgc-cat {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}
.vip-badge {
  background: var(--accent);
  color: white;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 700;
}
.rgc-info h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rgc-info p {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rgc-meta {
  display: flex;
  gap: 6px;
  font-size: 11px;
  color: var(--text-light);
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.rgc-meta span:not(:last-child)::after { content: ' ·'; }
.rgc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--bg);
}
.rgc-date { font-size: 11px; color: var(--text-light); }
.rgc-btn {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--primary);
  color: white;
  border: none;
  margin-left: 4px;
}
.rgc-btn:hover { background: var(--primary-dark); }
.rgc-btn.outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.rgc-btn.outline:hover { background: var(--primary-pale); }
.rgc-btn.vip { background: var(--accent); }
.rgc-btn.vip:hover { background: #c87f00; }

/* 加载更多 */
.btn-load-more {
  background: white;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 10px 36px;
  border-radius: 24px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: var(--transition);
}
.btn-load-more:hover { background: var(--primary); color: white; }
.lm-text { font-size: 14px; font-weight: 600; }
.lm-sub { font-size: 11px; opacity: .7; }

/* =========================================
   右侧边栏
   ========================================= */
.tt-sidebar { position: sticky; top: calc(var(--header-h) + 16px); }

/* 研究方向卡 */
.research-areas { padding: 8px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.ra-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.ra-item-card:hover { border-color: var(--primary); background: var(--primary-pale); }
.rac-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rac-name { font-size: 13px; font-weight: 600; color: var(--text-main); }
.rac-count { font-size: 11px; color: var(--text-light); }

/* 会员促销卡 */
.vip-promo { background: linear-gradient(160deg, #fffbe6, #fff8d6); border: 1px solid #ffe082 !important; }
.vip-promo-content { padding: 20px 16px; }
.vip-crown { text-align: center; margin-bottom: 10px; }
.vip-promo-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 12px;
}
.vip-promo-content ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.vip-promo-content ul li { font-size: 13px; color: var(--text-sub); }
.vip-price { display: flex; align-items: baseline; gap: 6px; justify-content: center; }
.price { font-size: 28px; font-weight: 900; color: #c62828; }
.price-unit { font-size: 14px; color: var(--text-sub); }
.price-discount {
  background: #c62828;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* 定制研究 */
.custom-research { padding: 12px 16px 16px; }
.custom-research > p { font-size: 13px; color: var(--text-sub); line-height: 1.6; margin-bottom: 10px; }
.cr-services { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.cr-services span {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 10px;
  background: var(--primary-pale);
  color: var(--primary);
  border: 1px solid #c8e6c9;
}
