/* ===== research.css - 研究页样式 ===== */

/* ---- 论文列表 ---- */
.research-paper-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---- 论文卡片 ---- */
.paper-card {
  display: block;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.paper-card:hover {
  box-shadow: 0 6px 24px rgba(124, 53, 255, 0.12);
}

.paper-card__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 768px) {
  .paper-card__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.paper-card__content {
  flex: 1;
  min-width: 0;
}

.paper-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}

.paper-card__type {
  border-radius: var(--radius-full);
}

.paper-card__type.badge--blue {
  background: var(--color-mystic-purple, #7C35FF);
  color: #ffffff;
}

.paper-card__type.badge--purple {
  background: #7C35FF;
  color: #ffffff;
}

.paper-card__year {
  font-size: 0.875rem;
  color: #6B7280;
}

.paper-card__title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 2rem;
  transition: color 0.2s;
}

.paper-card:hover .paper-card__title {
  color: var(--color-accent);
}

.paper-card__desc {
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.75rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.paper-card__info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.paper-card__info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: #6B7280;
}
.paper-card__info-item img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(47%) sepia(8%) saturate(400%) hue-rotate(190deg) brightness(97%);
}

.paper-card__link-icon {
  color: #d1d5db;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.paper-card:hover .paper-card__link-icon {
  color: var(--color-accent);
  transform: translateX(3px);
}

/* ---- CTA Section ---- */
.research-cta {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.research-cta__blur {
  position: absolute;
  width: 384px;
  height: 384px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.research-cta__blur--left {
  top: 0;
  left: 25%;
  transform: translate(-50%, -50%);
}

.research-cta__blur--right {
  bottom: 0;
  right: 25%;
  transform: translate(50%, 50%);
}

.research-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.research-cta__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.research-cta__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

.research-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 40px;
  height: 48px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-accent);
  background: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color var(--transition-base);
}

.research-cta__btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: height var(--transition-slow);
  z-index: 0;
}

.research-cta__btn:hover {
  color: #fff;
}

.research-cta__btn:hover::before {
  height: 100%;
}

.research-cta__btn span,
.research-cta__btn {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .research-cta {
    padding: 56px 0;
  }

  .research-cta__title {
    font-size: 1.5rem;
  }
}

/* ---- 研究详情页 ---- */
.research-detail .news-detail-header {
  text-align: center;
}

.research-detail .news-detail-title {
  font-size: clamp(1.375rem, 4.5vw, 40px);
  text-align: center;
  color: #000;
  line-height: 1.3;
}

.research-detail .news-detail-meta {
  justify-content: center;
  font-size: 0.875rem;
  color: #000;
}

.research-detail .news-prose {
  margin-top: 2.5rem;
  color: #000;
}

.research-detail .news-prose img {
  max-width: 100%;
  height: auto;
}

.research-section { padding-bottom: 3rem; }
