/* PENLab Custom Styles */

/* ===== Full-screen hero on homepage ===== */
.intro-header.big-img {
  min-height: 100vh !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-header .page-heading {
  padding: 0 20px;
}

.intro-header .page-heading h1 {
  font-size: 4em;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.intro-header .page-heading .page-subheading {
  font-size: 1.4em;
  font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ===== Card-like sections ===== */
.research-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.research-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ===== Personnel cards ===== */
.person-card {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.person-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== Publication list ===== */
.pub-list li {
  margin-bottom: 12px;
  line-height: 1.6;
}

a.pub-link,
.pub-link {
  color: #e94560 !important;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(233, 69, 96, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

a.pub-link:hover,
a.pub-link:focus,
.pub-link:hover,
.pub-link:focus {
  color: #ff7b89 !important;
  border-bottom-color: #ff7b89;
  text-decoration: none;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
  .person-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro-header .page-heading h1 {
    font-size: 2.5em;
  }
}
