/* The fleet: keyboard access for each category, and a compact comparison list on
   phones so seven categories don't run thousands of pixels down the page. */
button.card-action { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.aircraft-card:focus-within .card-action { opacity: 1; transform: translateX(0); color: #c0c0c0; }
.card-action:focus-visible { outline: 2px solid #e8e8e8; outline-offset: 4px; }
.aircraft-silhouette picture { display: contents; }

@media (max-width: 600px) {
  .fleet-grid { gap: .75rem; }
  /* Image beside name and model; the three specs run the full card width as a
     comparison row that lines up from card to card. */
  .aircraft-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.15rem 1.1rem;
  }
  .aircraft-card:hover { transform: none; box-shadow: none; }
  .aircraft-card:active { opacity: .8; }
  /* Phones get a silhouette cropped to the shared box of all seven, so sizes stay comparable. */
  .aircraft-silhouette { grid-column: 1; grid-row: 1 / span 2; height: auto; margin: 0; }
  .aircraft-silhouette img { width: 104px; max-width: 104px; height: auto; max-height: 44px; }
  .aircraft-info { display: contents; }
  .aircraft-info h3 { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-size: 1.15rem; line-height: 1.3; }
  .aircraft-example { grid-column: 2; grid-row: 2; align-self: start; display: block; margin: .1rem 0 0; padding: 0; border: 0; font-size: .68rem; }
  .aircraft-specs { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .95rem; padding-top: .75rem; }
  .spec { gap: .15rem; }
  .spec-label { font-size: .6rem; letter-spacing: .12em; }
  .spec-value { font-size: .85rem; white-space: nowrap; }
  .aircraft-card .card-action { position: static; grid-column: 1 / -1; grid-row: 4; justify-self: start; margin-top: .8rem; font-size: .62rem; color: rgba(232, 232, 232, .72); opacity: 1; transform: none; }
}
