/* Component: card */

.wpar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.wpar-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 0;
}

.wpar-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wpar-head__actions {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wpar-head__action {
  flex: 0 0 auto;
}

.wpar-head__action .wpar-btn {
  margin-top: 0;
  white-space: nowrap;
}

.wpar-head__actions .wpar-post-actions {
  margin-left: 0;
}

.wpar-head__action--offer .wpar-btn {
  color: var(--accent);
}

.wpar-name {
  font-weight: 650;
  line-height: 1.25;
}

.wpar-time {
  font-size: 13px;
  color: var(--muted);
}

.wpar-body {
  padding: 14px 20px 18px;
}

.wpar-title {
  margin: 0 0 14px;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-wrap: balance;
}

.wpar-text {
  max-width: 65ch;
}

.wpar-text> :first-child {
  margin-top: 0;
}

.wpar-text> :last-child {
  margin-bottom: 0;
}

.wpar-foot {
  border-top: 1px solid var(--line);
  padding: 12px 20px 16px;
  display: grid;
  gap: 12px;
}

.wpar-title a {
  color: inherit;
  text-decoration: none;
}

.wpar-title a:hover {
  color: var(--accent);
}
