/* Rezultate: honest editorial visuals, scoped to this page. */
.sp-scene figure.results-photo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.sp-scene .results-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  max-height: none;
  object-fit: cover;
}

/* Editorial photographs fill their panels; the access cutout below keeps contain. */
.sp-scene figure.results-photo:not(.results-photo--access) {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
}
.sp-scene .results-photo:not(.results-photo--access) img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: auto;
  object-fit: cover;
}

.sp-scene figure.results-photo--access {
  background: var(--surface);
}

.sp-scene .results-photo--access img {
  object-fit: contain;
}

.sp-scene .results-photo figcaption,
.sp-scene .results-flow figcaption {
  width: 100%;
  padding: 13px clamp(18px, 2.5vw, 32px) 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}

.sp-scene figure.results-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(25px, 4vw, 52px);
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 37%),
    var(--surface);
}

.results-flow-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}

.results-flow-heading span {
  color: var(--accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.results-flow-heading strong {
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.results-flow ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.results-flow li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 2px 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.results-flow-number {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.results-flow li strong {
  color: var(--text);
  font-size: 1.05rem;
}

.results-flow li small {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.45;
}

.sp-scene .results-flow figcaption {
  margin-top: 14px;
  padding-right: 0;
  padding-left: 0;
}

@media (max-width: 700px) {
  .sp-scene figure.results-photo,
  .sp-scene figure.results-flow {
    min-height: 0;
  }
  .sp-scene figure.results-flow {
    padding: 24px;
  }
  .sp-scene .results-photo img {
    aspect-ratio: 4 / 3;
  }
}
