[data-page="creations"] .editorial-featured {
  grid-template-columns: min(50%, 560px) minmax(0, 1fr);
}

[data-page="creations"] .editorial-featured .editorial-image--prusa img {
  aspect-ratio: auto 1531 / 2048;
}

[data-page="creations"] .editorial-card-copy > .editorial-tag,
.creation-status {
  display: inline-block;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #8b5cf640;
  border-radius: 999px;
  background: #fffaf3;
}

[data-page="creations"] .editorial-card-copy > .editorial-tag {
  margin-bottom: 2px;
}

[data-page="creations"] .editorial-grid .editorial-image img {
  aspect-ratio: 16 / 10;
}

.creation-image-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
}

.creation-image-trigger:focus-visible {
  outline: 3px solid #6437a7;
  outline-offset: -3px;
}

.creation-image-action {
  display: block;
  padding: 7px 12px 0;
  font-size: .84rem;
  font-weight: 750;
  color: #7546bb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.creation-empty { margin-block: 28px; }

.creation-detail { max-width: 1120px; }
.creation-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.creation-detail .editorial-image img { max-height: none; }
.creation-detail-facts { display: grid; gap: 14px; }
.creation-facts { padding: clamp(16px, 2.2vw, 26px); }
.creation-facts h2 { margin: 0 0 10px; font-size: 1.2rem; }
.creation-facts dl { margin: 0; }
.creation-facts dl > div + div { margin-top: 12px; }
.creation-facts dt { font-weight: 750; }
.creation-facts dd { margin: 2px 0 0; line-height: 1.5; color: var(--text); }

.creation-viewer {
  width: min(96vw, 900px);
  max-height: 94vh;
  max-height: 94dvh;
  padding: clamp(12px, 3vw, 24px);
  border: 1px solid #ffffffc9;
  border-radius: 21px;
  background: #fffaf3;
  color: var(--ink);
}

.creation-viewer::backdrop { background: #0f1220bb; }
.creation-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.creation-viewer h2 { margin: 0; font-size: clamp(1rem, 3vw, 1.3rem); }
.creation-viewer-close {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #8b5cf66b;
  border-radius: 100px;
  background: #fffaf3;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.creation-viewer-close:focus-visible { outline: 3px solid #6437a7; outline-offset: 3px; }
.creation-viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  max-height: 70dvh;
  margin: 12px auto;
}

@media (max-width: 860px) {
  [data-page="creations"] .editorial-featured,
  .creation-detail-layout { grid-template-columns: minmax(0, 1fr); }
  [data-page="creations"] .editorial-featured .editorial-card-copy { padding: 16px 20px 20px; }
}
