/* Extra SOP photos: hero, step cards, table thumbs, step-tool stills.
   Loaded after sop-loto.css. Does not change shared homepage styles. */

.sop-hero-photo {
  margin: 18px 0 4px;
  background: var(--paper);
  border: 1px solid var(--black);
  border-radius: 2px;
  overflow: hidden;
}

.sop-hero-photo .photo-slot {
  aspect-ratio: 16 / 9;
}

.step-card .step-photo {
  margin: -14px -14px 12px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ecece8;
  border-bottom: 1px solid var(--black);
}

.step-card .step-photo picture,
.step-card .step-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.step-card .step-photo img {
  object-fit: cover;
  object-position: center;
}

.table-btn {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.table-thumb,
.table-btn picture {
  flex-shrink: 0;
}

.table-btn picture {
  display: block;
  width: 56px;
  height: 42px;
}

.table-thumb {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--black);
  border-radius: 2px;
  display: block;
  background: #ecece8;
}

.sheet-photo {
  margin: 10px 0 4px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--black);
  border-radius: 2px;
  background: #ecece8;
}

.sheet-photo picture,
.sheet-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.sheet-photo img {
  object-fit: cover;
  object-position: center;
}

.sheet-photo-cap {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 10px;
}

.sop-table td { vertical-align: middle; }

.table-btn strong {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .sop-table th,
  .sop-table td {
    white-space: nowrap;
  }
  .table-btn picture {
    width: 48px;
    height: 36px;
  }
  .table-thumb {
    width: 48px;
    height: 36px;
  }
}
