.cards-recipient .recipient-list {
  display: block;
  margin: 36px auto 0;
  max-width: 680px;
}

.cards-recipient .recipient-memory {
  position: relative;
  margin: 0;
  padding: 28px 0 30px;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(201,168,90,.34);
  text-align: left;
}

.cards-recipient .recipient-memory:first-child {
  border-top: 0;
  padding-top: 8px;
}

.cards-recipient .recipient-memory:nth-child(3n + 2) {
  padding-left: clamp(0px, 4vw, 34px);
  padding-right: clamp(0px, 4vw, 34px);
}

.cards-recipient .recipient-memory h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: .01em;
}

.cards-recipient .recipient-memory p {
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.75;
}

.cards-recipient .recipient-memory img {
  width: min(100%, 430px);
  max-height: 300px;
  margin: 18px auto 0 0;
  border-radius: 2px;
  object-fit: cover;
}

.cards-recipient .recipient-memory::after {
  content: '✦';
  display: block;
  margin-top: 24px;
  color: var(--gold);
  font-size: 12px;
  opacity: .8;
}

.cards-recipient .recipient-ending {
  margin: 44px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(201,168,90,.34);
  color: var(--muted);
  font: italic 16px/1.5 Georgia,"Times New Roman",serif;
  text-align: center;
}

.cards-recipient .recipient-preview-notice {
  margin: 0 auto 24px;
  max-width: 680px;
  text-align: center;
}

.cards-recipient .luck-summary {
  justify-content: center;
  gap: 4px 14px;
  margin: 20px auto 34px;
  max-width: 680px;
}

.cards-recipient .luck-pill {
  padding: 0;
  border: 0;
  background: transparent;
  font: italic 14px/1.5 Georgia,"Times New Roman",serif;
}

@media (min-width: 680px) {
  .cards-recipient .recipient-memory:nth-child(3n + 2) {
    max-width: 590px;
  }
}

@media (max-width: 540px) {
  .cards-recipient .recipient-list {
    margin-top: 28px;
  }

  .cards-recipient .recipient-memory,
  .cards-recipient .recipient-memory:nth-child(3n + 2) {
    padding: 24px 0 27px;
  }

  .cards-recipient .recipient-memory p {
    font-size: 16px;
    line-height: 1.68;
  }

  .cards-recipient .recipient-memory img {
    width: min(100%, 360px);
    max-height: 240px;
  }
}

.cards-recipient .keepsake-text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 6vw, 72px);
  align-items: start;
  margin: 0 auto;
  padding: 10px 0 8px;
  border-top: 1px solid rgba(201,168,90,.28);
}

.cards-recipient .keepsake-text-entry {
  min-width: 0;
  padding: 26px 0 30px;
  border: 0;
}

.cards-recipient .keepsake-text-entry::after {
  display: none;
}

.cards-recipient .keepsake-feature {
  display: grid !important;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr) !important;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  margin: 12px 0 22px;
  padding: 40px 0 42px;
  border-top: 1px solid rgba(201,168,90,.34);
}

.cards-recipient .keepsake-feature.photo-right {
  grid-template-columns: minmax(0, .58fr) minmax(0, .42fr) !important;
}

.cards-recipient .keepsake-feature-media,
.cards-recipient .keepsake-feature-content {
  grid-row: 1;
  min-width: 0;
}

.cards-recipient .keepsake-feature-media {
  grid-column: 1;
}

.cards-recipient .keepsake-feature-content {
  grid-column: 2;
}

.cards-recipient .keepsake-feature.photo-right .keepsake-feature-media {
  grid-column: 2;
}

.cards-recipient .keepsake-feature.photo-right .keepsake-feature-content {
  grid-column: 1;
}

.cards-recipient .keepsake-feature-media img {
  display: block;
  width: 100%;
  max-height: 320px;
  margin: 0;
  border-radius: 2px;
  object-fit: cover;
}

.cards-recipient .keepsake-feature-media img + img {
  margin-top: 14px;
}

.cards-recipient .keepsake-feature-content {
  min-width: 0;
}

.cards-recipient .keepsake-feature-content p {
  max-width: 58ch;
}

.cards-recipient .keepsake-feature-content .submission-meta {
  margin-top: 16px;
}

.cards-recipient .keepsake-feature::after {
  content: '✦';
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  margin-top: 4px;
  color: var(--gold);
  font-size: 12px;
  opacity: .8;
}

@media (max-width: 540px) {
  .cards-recipient .keepsake-text-grid,
  .cards-recipient .keepsake-feature,
  .cards-recipient .keepsake-feature.photo-right {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  .cards-recipient .keepsake-text-grid {
    padding-top: 0;
  }

  .cards-recipient .keepsake-text-entry {
    padding: 24px 0 27px;
  }

  .cards-recipient .keepsake-feature,
  .cards-recipient .keepsake-feature.photo-right {
    margin: 0;
    padding: 30px 0 34px;
  }

  .cards-recipient .keepsake-feature.photo-right .keepsake-feature-media {
    grid-column: auto;
  }

  .cards-recipient .keepsake-feature-content {
    grid-column: auto;
    margin-top: 22px;
  }

  .cards-recipient .keepsake-feature::after {
    margin-top: 28px;
  }
}
