/* petro-citations.css */
.petro-citation {
  margin-block: 0.75rem 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0,0,0,0.08);
}

.petro-citation h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.petro-citation__text {
  margin: 0 0 0.5rem;
}

.petro-citation cite {
  font-style: normal;
}

.petro-copy-btn {
  font-size: 0.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}
.petro-citation__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.petro-bibtex {
  display: none; /* keep it hidden, used only for copying */
  white-space: pre;
}
.petro-citation__micro {
  display: none;
}