.pub-list {
  list-style: decimal;
  margin-left: 1.25rem;
}

.muted {
  opacity: .85;
}

#header h1 a {
  text-transform: none;
}

#header p {
  margin-top: -.5rem;
}

/* Logo next to the big title */
#header h1.brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;   /* space between logo and text */
  text-decoration: none;
  line-height: 1;
}

#header h1.brand .brand-logo {
  height: clamp(40px, 10vw, 100px); /* responsive scaling */
  width: auto;
  display: block;
}

/* Tighten spacing around the big header */
#header h1 {
  margin-bottom: 0.25rem;
}
#header p {
  margin-top: 0;
}

/* Big header text */
#header h1.brand span {
  font-size: clamp(2rem, 6vw, 4.7rem); /* responsive */
  line-height: 1.05;
}

/* Subtitle under the big header */
#header p.subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem); /* responsive */
  color: hsl(0 0% 50%);
  font-weight: 600;
  margin-top: 0.25rem;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

/* Navigation menu — always visible as row */
#nav {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;
  width: 100%;
}

#nav ul {
  display: flex !important;  /* force flex layout */
  flex-wrap: wrap;           /* wrap items if too many */
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav ul li {
  margin: 0 0.75rem;
}

#nav ul li a {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem); 
  padding: 0.5rem 0.75rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap; /* prevent text breaking */
}

/* Highlight active nav item */
#nav ul li a.active,
#nav ul li a:hover {
  font-weight: 600;
  color: #d62828; /* NJIT red, adjust if needed */
}

/* Content text */
#main header p.content-text {
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  color: #000;
  font-style: normal;
  font-weight: 400;
  margin-top: 0.5rem;
  line-height: 1.6;
  text-align: justify;
}

/* Shared wrapper for paragraph + figure */
#main header.intro-block {
  max-width: min(95%, 1000px); /* responsive width */
  margin: 0 auto;
  padding: 0 1rem;
  text-align: justify;
}

/* Paragraph inside intro-block */
#main header.intro-block .content-text {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 400;
  color: #000;
  margin-top: 0.5rem;
  line-height: 1.6;
  font-style: normal;
}

/* Figure inside intro-block */
#main header.intro-block .content-figure {
  margin: 1rem 0;
  text-align: center;
}

#main header.intro-block .content-figure img {
  max-width: 100%;  /* responsive images */
  height: auto;
  border-radius: 8px; /* optional */
}

#main header.intro-block .content-figure figcaption {
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  color: #555;
  margin-top: 0.25rem;
  font-style: italic;
}

/* Figure for the team */
.profile {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Make the profile photo larger */
.profile-photo {
  width: 220px;         /* Increase this for a bigger photo */
  height: auto;
  border-radius: 10px;  /* Rounded corners for a softer look */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* subtle shadow */
}

/* Text styling for name, title, and link */
.pi-name {
  font-size: 1.5rem;    /* larger name */
  margin-bottom: 0.3rem;
}

.pi-title {
  font-size: 1.2rem;    /* slightly larger than normal text */
  color: #444;          /* subtle gray tone */
  margin-bottom: 0.6rem;
}

.pi-link a {
  font-size: 1.2rem;
  font-weight: 500;
  color: #d6001c;       /* NJIT red accent (optional) */
  text-decoration: none;
}

/* .pi-link a:hover {
  text-decoration: underline;   /* add underline to the Personal Website 
} */

/* Theaser figure for research */
.research-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.research-image {
  width: 220px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.research-content {
  flex: 1;
}

@media (max-width: 768px) {
  .research-item {
    flex-direction: column;
    text-align: center;
  }

  .research-image {
    width: 100%;
    height: auto;
  }
}

/* ===== Publications layout ===== */

.pub-year {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0;         
  border-bottom: none;
}

/* Individual publication block */
.pub-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 150px:
}

.pub-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Title line */
.pub-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 0.3rem;
}

/* Author line */
.pub-authors {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.3rem;
}

/* Venue line */
.pub-venue {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 0.5rem;
}

/* Links line */
.pub-links a {
  font-size: 1rem;
  color: #d62828; /* NJIT red */
  font-weight: 600;
  text-decoration: none;
  margin-right: 0.75rem;
}

.pub-links a:hover {
  text-decoration: underline;
}


