/* Right-align all top navigation tabs */
.greedy-nav {
  display: flex;
  justify-content: center !important; /* push everything right */
} 

/* Ensure menu items stay visible and aligned */
/* .greedy-nav .visible-links {
  display: flex !important;
  justify-content: center !important;
  margin-left: auto !important; key line
}  */

/* Optional: spacing between tabs */
.greedy-nav .visible-links > li {
  margin-left: 0.8rem;
}

/* Optional: hover and active tab color */
.greedy-nav a:hover,
.greedy-nav a:focus {
  color: #660099;
  text-decoration: none;
}

/* Highlight active tab (using .current or aria-current) */
.greedy-nav .visible-links li.current a,
.greedy-nav .visible-links li.active a,
.greedy-nav .visible-links li > a[aria-current="page"] {
  color: #660099 !important;
  font-weight: 600;
  border-bottom: 2px solid #660099;
}

/* ===== Custom section divider line ===== */
.section-divider {
  border: none;
  height: 6px;                   /* thickness */
  width: 100%;                    /* length of line (adjust as needed) */
  background-color: #0056B3;     /* your accent blue */
  margin: 2rem auto;             /* center horizontally, space above/below */
  border-radius: 2px;            /* smooth edges */
  opacity: 0.9;                  /* slightly soft look */
}


.pub-list {
  counter-reset: pub;
  margin-left: 0;
}

.pub-item {
  position: relative;
  padding-left: 3rem;        /* space for the number */
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.pub-item::before {
  counter-increment: pub;
  content: counter(pub) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;             /* aligns multi-digit numbers */
  text-align: right;
  font-weight: 600;
  color: #333;
}