/* Highlighted Community Cup crosspost matching the accepted feed reference. */

.hnt-cup-crosspost-badge,
.real-feed-post.is-cup-crosspost .post-badge.cup,
.social-post.is-cup-crosspost .post-badge.cup {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: .5px solid rgba(183, 132, 0, .12);
    border-radius: 12px;
    background: #ffecaa !important;
    color: #9c6b00 !important;
    font-size: 7px;
}

.hnt-feed-cup-card {
  position: relative;
  min-height: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  margin: 22px 0 2px;
  padding: 20px 30px;
  overflow: hidden;
  border: .5px solid rgba(204, 148, 0, .16);
  border-radius: 30px;
  background:
repeating-linear-gradient(-45deg, rgba(255, 255, 255, .34) 0 8px, rgba(255, 255, 255, 0) 8px 17px), rgb(182 78 68 / 48%);
  color: #30302e;
  box-shadow: none;
}

.hnt-feed-cup-card-copy {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.hnt-feed-cup-card-copy > span {
  color: rgba(78, 68, 40, .74);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
}

.hnt-feed-cup-card-copy h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #30302e;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.hnt-feed-cup-card-copy p {
  margin: 0;
  color: rgba(68, 64, 53, .78);
  font-size: clamp(13px, 1vw, 17px);
  line-height: 1.45;
}

.hnt-feed-cup-card-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 999px;
  background: #30302e;
  color: #fff;
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease, transform .16s ease;
}

.hnt-feed-cup-card-action:hover,
.hnt-feed-cup-card-action:focus-visible {
  background: #1f1f1d;
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.hnt-preview-feed-post.is-cup-crosspost .hnt-post-friend-form,
.hnt-preview-feed-post.is-cup-crosspost .hnt-post-friend-button {
  display: none !important;
}

.hnt-preview-feed-post.is-cup-crosspost .post-tags {
  display: none;
}

@media (max-width: 900px) {
  .hnt-feed-cup-card {
    min-height: 170px;
    padding: 28px;
  }
}

@media (max-width: 760px) {
  .hnt-feed-cup-card {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 16px;
    padding: 24px;
    border-radius: 24px;
  }

  .hnt-feed-cup-card-action {
    width: max-content;
    min-height: 48px;
    padding: 0 22px;
  }
}
