/* Bio page specific styles */

.bio-content {
  max-height: 70vh;
  overflow-y: auto;
  padding: 0 2rem;
  margin: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--text-color) var(--bg-primary);
}

.bio-content p {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  line-height: 1;
  /* Reduced from 1.4 for tighter line spacing */
  margin-bottom: 0.5rem;
  /* Reduced from 0.75rem for closer paragraphs */
  text-align: justify;
}

/* Style the scrollbar */

.bio-content::-webkit-scrollbar {
  width: 8px;
}

.bio-content::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

.bio-content::-webkit-scrollbar-thumb {
  background: var(--text-color);
  border-radius: 4px;
}

/* Adjust bio page title */

body[data-page-type="bio"] h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

/* Return link styling */

body[data-page-type="bio"] #return-link {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  transition: color 0.3s ease;
}

body[data-page-type="bio"] #return-link:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--text-color);
}