/* Keep each row's photo, title, specifications and price on shared tracks. */
@media (min-width: 721px) {
  .offer-card { display: flex; flex-direction: column; }
  .offer-card > .offer-source {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .offer-body {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  .offer-meta { margin-top: auto; }

  @supports (grid-template-rows: subgrid) {
    .offer-card,
    .offer-card > .offer-source,
    .offer-body {
      display: grid;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .offer-card { grid-row: span 5; }
    .offer-card > .offer-source { grid-row: span 4; }
    .offer-card > .offer-source { height: auto; }
    .offer-body { grid-row: span 3; }
    .offer-details { align-content: start; align-self: start; }
    .offer-meta { align-self: end; }
  }
}

.offer-card .offer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 7px;
  background: #162635;
  color: white;
  font-weight: 650;
}
.featured .offer-contact { background: #d8ebff; color: #101820; }
.offer-card .offer-contact:hover { text-decoration: underline; }
