/* Picture-and-row viewer for Notebook posts (locked design: "Row B · Picture and row").
   Sits inside the post frame; inherits the post's EB Garamond. */
.steps { margin: 8px 0 30px; }
.steps-main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 944;
  object-fit: cover;
  border: 1px solid #343a63;
  box-sizing: border-box;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.steps-item { min-width: 0; }
.steps-thumb {
  display: block;
  border: 1px solid #343a63;
  background: #10142e;
  opacity: 0.72;
}
.steps-thumb:hover { border-color: #9fd3ff; }
.steps-thumb:focus-visible { outline: 2px solid #9fd3ff; outline-offset: 2px; }
.steps-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 944; object-fit: cover; }
.steps-item.is-on .steps-thumb { border-color: #9fd3ff; opacity: 1; }
.steps-label {
  margin: 6px 0 0;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b3aed0;
}
.steps-item.is-on .steps-label { color: #ece8f5; }
.steps-n { color: #9fd3ff; }
.steps figcaption {
  margin-top: 12px;
  font-style: italic;
  font-size: 18px;
  color: #b3aed0;
  text-align: center;
}
@media (max-width: 600px) {
  .steps-row { gap: 6px; margin-top: 6px; }
  .steps-label { font-size: 13px; }
  .steps-name { display: none; }
  .steps figcaption { font-size: 16px; }
}
