/* Destination photographs: retain the existing card proportions and equal rows. */
.destination-card-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.destination-card-media > .destination-card-image {
  width: 100%;
  height: 100%;
}
.destination-card-media .destination-photo-credit,
.destination-card-media .destination-photo-region {
  position: absolute;
  z-index: 2;
  max-width: calc(100% - 16px);
  padding: 4px 7px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.destination-card-media .destination-photo-credit {
  right: 8px;
  bottom: 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.destination-card-media .destination-photo-region {
  top: 8px;
  left: 8px;
}
.destination-photo-credit:focus-visible {
  outline: 3px solid #ffcd69;
  outline-offset: 2px;
}
.destination-credits-page {
  padding-top: 42px;
  padding-bottom: 64px;
}
.destination-credits-page h1 {
  margin: 22px 0;
}
.destination-credits-page > p {
  max-width: 90ch;
}
.photo-credit-list {
  margin: 32px 0;
}
.photo-credit-entry {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid #d8e1e8;
  scroll-margin-top: 110px;
}
.photo-credit-entry > img {
  width: 200px;
  height: 125px;
  object-fit: cover;
  border-radius: 8px;
}
.photo-credit-entry h2 {
  font-size: 23px;
  margin: 0 0 10px;
}
.photo-credit-entry p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.photo-credit-entry a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.credit-region {
  font-weight: 600;
}
@media (max-width: 560px) {
  .destination-card-media {
    aspect-ratio: 16 / 9;
  }
  .photo-credit-entry {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .photo-credit-entry > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}
