/* Sympathy: still page. Grouped: layout, type, colour. No motion anywhere. */

/* ---------- LAYOUT ---------- */

/* The opening pair: ticket beside photograph, centred against each other. */
main > .rack:first-child { align-items: center; }
main > .rack:first-child > .ticket { flex-grow: 1.3; }
main > .rack:first-child > .mount { flex-basis: 16rem; }
.mount > img { aspect-ratio: 1 / 1; max-block-size: 52vh; }

/* Shallow tickets share a row and keep their own width. */
.rack > .ticket { inline-size: auto; margin-inline: 0; align-self: stretch; }

.ticket > ul { margin: 0; padding-inline-start: 1.25rem; display: grid; gap: 0.4rem; }

/* Card messages: three inset frames, each holding one line. */
.wording > ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--worktop);
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.wording > ol > li {
  display: flex;
  align-items: center;
  min-block-size: 9rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  --hem: 0.5rem;
  --seam: 0.9375rem;
}
.wording > ol > li > p { margin: 0; }

/* ---------- TYPE ---------- */

.ticket > ul { font-size: 1.0625rem; }
.wording > ol > li > p {
  font-family: var(--bitter);
  font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem);
  line-height: 1.35;
}

/* ---------- COLOUR ---------- */

.wording > ol > li {
  background: var(--blush);
  color: var(--magenta);
  outline: var(--twine) solid var(--magenta);
  outline-offset: calc(-1 * var(--hem));
  box-shadow: inset 0 0 0 var(--seam) var(--blush), inset 0 0 0 calc(var(--seam) + var(--thread)) var(--magenta);
}
