/* First invites on Today. The ribbon is the only accent. Names and
   the People link are underlined. Nothing here sends. */

.ffd {
  margin: 0 0 22px;
  padding: 16px 16px 6px;
  background: var(--ds-book-card, #fffdfa);
  color: var(--ds-book-ink, #1d1a17);
  border: 1px solid var(--ds-book-line, #ead8c8);
  border-left: 3px solid var(--ds-book-ribbon, #9b3d2a);
  box-shadow: var(--ds-book-lift, 0 4px 14px rgba(120, 60, 30, 0.10));
}

.ffd-title {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ds-book-ink, #1d1a17);
}

.ffd-note {
  margin: 0 0 8px;
  color: var(--ds-book-muted-aa, #5c5148);
  line-height: 1.5;
}

.ffd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ffd-row {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--ds-book-line, #ead8c8);
}

.ffd-n {
  color: var(--ds-book-ribbon, #9b3d2a);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  padding-top: 2px;
}

.ffd-name,
.ffd-open {
  color: var(--ds-book-ink, #1d1a17);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ffd-name {
  font-weight: 600;
}

.ffd-name:hover,
.ffd-open:hover,
.ffd-name:focus-visible,
.ffd-open:focus-visible {
  color: var(--ds-book-ribbon, #9b3d2a);
}

.ffd-why {
  margin: 4px 0;
  color: var(--ds-book-muted-aa, #5c5148);
  line-height: 1.45;
}

.ffd-open {
  display: inline-block;
  font-size: 0.88rem;
}

.ffd-when {
  color: var(--ds-book-ribbon, #9b3d2a);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .ffd-row {
    grid-template-columns: 2.2rem minmax(0, 1fr);
  }
  .ffd-when {
    grid-column: 2;
    text-align: left;
    white-space: normal;
  }
}
