.tweet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15.5px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  /* Figma draws the border inside the card, so it comes out of the padding */
  padding: 14.5px;
  border: 1px solid var(--border-subtle, #f5f1e8);
  border-radius: 16px;
  background: var(--surface-elevated, #fff);
  box-shadow: 0 4px 4px rgb(42 40 34 / .1), 0 1.5px 1.5px rgb(42 40 34 / .1);
  color: var(--text-primary, #333);
  font: 14.5px/17px Inter, var(--font-sans, 'Albert Sans', sans-serif);
  text-decoration: none;
}

a.tweet-card:hover {
  border-color: var(--text-secondary, #7b7a79);
}

.tweet-card p {
  margin: 0;
}

.tweet-card-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 36px;
}

.tweet-card-avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.tweet-card-header div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tweet-card-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font: 600 15.7px/19px Inter, var(--font-sans, 'Albert Sans', sans-serif);
}

.tweet-card-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tweet-card-name img {
  flex: none;
  width: 18px;
}

.tweet-card-logo {
  position: absolute;
  top: 26px;
  right: 18px;
  width: 22px;
}

.tweet-card-mention {
  color: var(--twitter-blue, #1d9bf0);
  font-weight: 500;
}

.tweet-card-image {
  width: 100%;
  height: auto;
  border: 1px solid #cdd9e0;
  border-radius: 12px;
}

.tweet-card-handle, .tweet-card-date, .tweet-card-stats {
  color: var(--text-secondary, #7b7a79);
  font-size: 13.9px;
}

.tweet-card-stats {
  display: flex;
  gap: 11px;
  padding-top: 14.5px;
  border-top: 1px solid #efebdf;
}

.tweet-card-stats b {
  color: var(--text-primary, #333);
  font-weight: 600;
}
