.author {
  font-size: xx-large;
}

.date {
  font-size: 0.95em;
  margin-left: 0.5em;
  white-space: nowrap;
  color: #656565; /* default (light mode) */
}

/* Dark mode (LaTeX.css) */
body.latex-dark .date {
  color: #c9cdd6;
}

li em {
  display: block; /* put em on its own line */
  margin-left: 1.5rem; /* indentation */
}

li strong {
  color:var(--link-visited);
}

.author span {
  display: block;
}

.author .name {
  font-size: 1.1em;
  font-weight: bold;
}



/* Make links without underlines by default */ 
.no-underline-link a {
  text-decoration: none;
}




/* Optional: Add more space on mobile so dates don't overlap */
@media (max-width: 768px) {
    .article .date {
    position: static; /* Reset to normal flow on mobile */
    display: block;
    margin-left: 0;
    margin-top: 0.25rem;
  }
}

/* Programs & Activities */
.program-activities li {
    position: relative; /* This is required for absolute positioning to work */
    overflow: visible; /* Allow content to overflow */
}
.program-activities .date {
    position: absolute;
    right: -1rem; /* Adjust this value to push it further right */
    white-space: nowrap;
}

.top-nav {
  text-align: right;
  margin-bottom: 2rem;
  padding-top: 1rem;

}

.nav-link {
  display: inline-block;
  margin: 0 0.1rem;
  /* padding: 0.3rem 0.5rem; */
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

/* Responsive: center on mobile */
@media (max-width: 768px) {
  .top-nav {
    text-align: center;
    padding-right: 0;
  }
}