/* Web font */
body {
  font-family: 'Lora', 'Noto Serif', Georgia, 'Times New Roman', serif;
}

/* Accent color for links */
a {
  color: #2B6CB0;
}

a:hover {
  color: #1A4A8A;
}

/* Navigation pills — light blue instead of gray */
.menu a {
  background: #EBF4FF;
  color: #2B6CB0;
  border: 1px solid #BEE3F8;
  transition: background 0.15s, color 0.15s;
}

.menu a:hover {
  background: #2B6CB0;
  color: #ffffff;
}

/* IPA pronunciation display */
.name-ipa {
  font-size: 0.88em;
  color: #718096;
  margin-top: 0.3em;
  margin-bottom: 0;
  line-height: 1.8;
}

.ipa {
  font-family: 'Lora', 'Noto Serif', 'Charis SIL', 'Gentium Plus', 'Arial Unicode MS', serif;
  letter-spacing: 0.02em;
}

/* Research interest chips */
.research-chip {
  display: inline-block;
  background: #EBF4FF;
  color: #2B6CB0;
  border-radius: 12px;
  padding: 2px 10px;
  margin: 2px 3px;
  font-size: 0.85em;
}

/* Publication list layout */
.pub-list {
  margin-bottom: 1.5em;
}

.pub-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 1em;
  margin-bottom: 0.75em;
  align-items: start;
}

.pub-label {
  font-size: 0.9em;
  padding-top: 0.2em;
}

/* Remove the default <p> margin that markdownify adds */
.pub-citation p {
  margin: 0;
}

/* Highlight own name in publication citations */
.pub-citation strong {
  color: #2B6CB0;
}

/* Publication status badges */
.pub-status {
  display: inline-block;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 0.82em;
  font-weight: 500;
  white-space: nowrap;
}

.pub-status-review {
  background: #FEF3C7;
  color: #92400E;
}

.pub-status-revision {
  background: #FEE2E2;
  color: #991B1B;
}

.pub-status-prep {
  background: #F3F4F6;
  color: #4B5563;
}

/* Private content gate */
.private-gate {
  border: 1px solid #BEE3F8;
  border-radius: 8px;
  background: #EBF4FF;
  padding: 2em;
  text-align: center;
  max-width: 360px;
  margin: 3em auto;
}

.private-lock {
  font-size: 2.5em;
  margin-bottom: 0.4em;
}

.private-input-row {
  display: flex;
  gap: 0.5em;
  justify-content: center;
  margin-top: 0.8em;
}

.private-input-row input {
  border: 1px solid #BEE3F8;
  border-radius: 4px;
  padding: 0.4em 0.7em;
  font-size: 1em;
  font-family: inherit;
  width: 150px;
}

.private-input-row button {
  background: #2B6CB0;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.4em 1em;
  cursor: pointer;
  font-size: 1em;
  font-family: inherit;
}

.private-input-row button:hover {
  background: #1A4A8A;
}

.private-error {
  color: #991B1B;
  font-size: 0.88em;
  margin-top: 0.6em;
}

/* Section headings — subtle underline for visual separation */
h2 {
  padding-bottom: 0.25em;
  border-bottom: 1px solid #E2E8F0;
  margin-top: 1.8em;
}
