/* Dedicated citation row below share bar (Papers only) */
.lp-cite-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 16px;
}

.lp-cite-left {
  display: flex;
  align-items: center;
}

.lp-cite-button {
  border: none;
  border-radius: 0;
  padding: 12px 16px;
  background: #012169; /* Loyalist navy */
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  position: relative;
}

.lp-cite-button:hover,
.lp-cite-button:focus {
  background: #C8102E; /* Loyalist red */
  outline: none;
}

.lp-cite-button.copied::after {
  content: attr(data-copied);
  position: absolute;
  right: 0;
  top: -28px;
  white-space: nowrap;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
}

/* Inline citation preview (no box) */
.lp-cite-preview {
  padding: 0;
  border: none;
  background: none;
  font-size: 0.975rem;
  line-height: 1.6;
  color: inherit;
}

.lp-cite-preview a { text-decoration: underline; word-break: break-word; }

/* Mobile stacking */
@media (max-width: 700px) {
  .lp-cite-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .lp-cite-button { width: 100%; text-align: center; }
}
