/* ============================================================
   RACLAB — Detail Pages Stylesheet (Light Theme)
   ============================================================ */

/* Page Hero — light theme with red accent */
.page-hero {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a0a 0%, #2d0f0f 50%, #1a0a0a 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(230,51,41,0.15) 0%, transparent 70%),
              radial-gradient(ellipse 50% 60% at 80% 50%, rgba(185,28,28,0.08) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .section-label { color: #ff8a85; }
.page-hero .section-label::before { background: linear-gradient(to right, #ff8a85, #e63329); }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #ffffff;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 600px; }
.page-hero p a { color: #ff8a85; }
.page-hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero_banner.png') center/cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: #ff8a85; }
.breadcrumb span { color: #ff8a85; }

/* Filter Bar */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--blue); color: var(--blue); background: var(--blue-dim);
}

/* Full publication list */
.pub-full-list { display: flex; flex-direction: column; gap: 16px; }
.pub-full-card {
  padding: 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: var(--transition);
}
.pub-full-card:hover { border-color: var(--border-active); background: var(--blue-dim); }
.pub-full-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.pub-full-card .authors { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.pub-full-card .venue { font-size: 12px; color: var(--blue); font-style: italic; margin-bottom: 8px; }

/* Team full-page grid */
.team-full-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px;
}
.team-full-card {
  background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.team-full-card:hover { border-color: var(--border-active); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(230,51,41,0.08); }
.team-full-avatar {
  height: 140px; background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.team-full-body { padding: 16px; }
.team-full-body h3 { font-family: var(--font-head); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.team-full-body .role { font-size: 12px; color: var(--blue); margin-bottom: 2px; }
.team-full-body .dept { font-size: 11px; color: var(--text-muted); }

/* Team card link buttons */
.team-card-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  border: 1px solid var(--border); font-size: 11px;
  color: var(--text-muted); transition: var(--transition);
}
.team-card-link:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); }

/* News detail page */
.news-full-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px;
}

/* Responsive */
@media (max-width: 768px) {
  .team-full-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-full-grid { grid-template-columns: 1fr; }
}
