
/* ── Project Detail Page ── */
/*.pd-page { max-width: 820px; margin: 0 auto; padding: 0 0 60px; }*/
.pd-page *, .pd-page *::before, .pd-page *::after { box-sizing: border-box !important; }

/* Header: title row + date/buttons on same line */
.pd-header { padding: 20px 0 0; }
.pd-title {
  font-family: 'Orbitron', sans-serif !important;
  font-size: clamp(1.3rem, 3vw, 2rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
  border: none !important;
}
.pd-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
.pd-date {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 0.58rem; letter-spacing: 3px;
  color: #FF6B00 !important; text-transform: uppercase;
}
.pd-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-btn {
  padding: 6px 14px;
  font-family: 'Orbitron', sans-serif !important;
  font-size: 0.5rem; letter-spacing: 1.5px; text-transform: uppercase;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,107,0,0.5) !important;
  border-radius: 3px; text-decoration: none !important;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.pd-btn:hover { border-color: #FF6B00 !important; color: #FF9A3C !important; background: rgba(255,107,0,0.15) !important; }
.pd-btn-icon { width: 13px; height: 13px; flex-shrink: 0; }

.pd-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,107,0,0.35), transparent);
  margin: 28px 0; display: block;
}

/* Small eyebrow label (Project Overview, Results & Figures) */
.pd-section-label {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 0.58rem; letter-spacing: 4px;
  color: #FF6B00 !important; text-transform: uppercase;
  margin-bottom: 16px; display: block;
}

/* Section heading (Publications, Results & Figures title) — between project title and eyebrow */
.pd-section-title {
  font-family: 'Orbitron', sans-serif !important;
  font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  padding-bottom: 8px !important;
  margin-bottom: 24px !important;
  position: relative; display: inline-block;
  border: none !important;
}
.pd-section-title::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 28px; height: 2px; background: #FF6B00;
}

.pd-body {
  font-size: 0.95rem !important;
  line-height: 1.85 !important;
  color: #b0b8c8 !important;
}
.pd-highlight {
  color: #FF9A3C !important;
}
.pd-body strong { color: #FF9A3C !important; }
.pd-body a {
  color: #FF9A3C !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
.pd-body a:hover {
  color: #FF6B00 !important;
  text-decoration: none !important;
  border-bottom: 1px dotted #cc4400 !important;
}
/* Figures grid */
.pd-figures {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 8px;
}
.pd-fig-placeholder {
  aspect-ratio: 16/9;
  background: rgba(255,107,0,0.03);
  border: 1px solid rgba(255,107,0,0.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.52rem; letter-spacing: 2px;
  color: rgba(255,107,0,0.3); text-transform: uppercase;
}
.pd-fig-real { aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; border: 1px solid rgba(255,107,0,0.15); }
.pd-fig-real img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-fig-caption { font-size: 0.78rem; color: #6a7385; text-align: center; margin-top: 6px; font-style: italic; }

/* Publications */
.pub-group { margin-bottom: 44px; }
.pub-group-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem; letter-spacing: 4px;
  color: #FF6B00; text-transform: uppercase;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,107,0,0.25);
}
.pub-item {
  padding: 22px 26px;
  background: rgba(255,255,255,0.02) !important;
  border: 1px solid rgba(255,107,0,0.15) !important;
  border-radius: 8px; margin-bottom: 18px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.pub-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, #FF6B00, transparent);
  opacity: 0; transition: opacity 0.3s;
}
.pub-item::after {
  content: ''; position: absolute; inset: 0; background: radial-gradient(circle 130px at var(--mx, 50%) var(--my, 50%), rgba(255,107,0,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.pub-item:hover::after { opacity: 1; }
.pub-item > * { position: relative; z-index: 1; }

.pub-item:hover { border-color: rgba(255,107,0,0.4) !important; box-shadow: 0 0 32px rgba(255,107,0,0.07) !important; transform: translateY(-3px); }
.pub-item:hover::before { opacity: 1; }
.pub-title { font-size: 0.97rem; font-weight: 600; color: #ffffff; margin-bottom: 8px; line-height: 1.55; }
.pub-title a {
  color: #FF9A3C !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
.pub-title a:hover {
  color: #FF9A3C !important;
  text-decoration: none !important;
  border-bottom: 1px dotted #cc4400 !important;
}
.pub-authors { font-size: 0.87rem; color: #b0b8c8; margin-bottom: 6px; line-height: 1.6; }
.pub-authors strong { color: #ffffff; }
.pub-venue { font-size: 0.85rem; color: #FF9A3C; font-style: italic; margin-bottom: 8px; line-height: 1.5; }
.pub-status { color: rgba(255,154,60,0.7); font-style: normal; font-size: 0.8rem; }

@media (max-width: 600px) {
  .pd-figures { grid-template-columns: 1fr; }
  .pd-title { font-size: 1.2rem !important; }
  .pd-meta { flex-direction: column; align-items: flex-start; }
}
