/* Give the photograph the width of the card and keep the caption off the screen shown in it. */
#apps .family-catalog-grid > :is(.product-boki, .product-note, .product-music, .product-trip) {
  padding: 0;
}
.family-catalog .catalog-scene {
  display: block;
  height: auto;
  background: #f1f3f4;
  color: var(--ink);
  text-align: left;
}
.family-catalog .catalog-scene .feature-thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.family-catalog .catalog-scene .catalog-art-label {
  position: static;
  display: block;
  padding: .55rem 1rem;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: .875rem;
  line-height: 1.45;
}
.feature-showcase {
  min-width: 0;
  width: 100%;
  align-self: center;
}
.feature-scene {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.feature-scene img {
  display: block;
  width: 100%;
  height: auto;
}
.feature-scene figcaption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem .65rem;
  padding: .75rem 1rem;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.5;
}
.feature-scene figcaption span {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 500;
}
.feature-example {
  margin-top: .75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.feature-example > summary {
  padding: .8rem 1rem;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.6;
  cursor: pointer;
}
.feature-example > .live-demo,
.feature-example > .trip-case {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  box-shadow: none;
}
/* On phones the picture follows the product headline. Links and demos keep their tab order. */
@media (max-width: 700px) {
  .feature-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .feature-hero-grid > :first-child,
  .feature-hero-grid .feature-showcase { display: contents; }
  .feature-hero-grid > :first-child > * { order: 3; margin-block: 0; }
  .feature-hero-grid > :first-child > :is(h1, .product-identity, .family-kicker, .music-identity, .music-label, .trip-identity, .trip-kicker, .official-app-name) { order: 1; }
  .feature-scene { order: 2; border-radius: 16px; }
  .feature-example { order: 4; margin-top: 0; }
}
