.detail-gallery {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  height: 100%;
}

.detail-image {
  position: relative;
  display: grid;
  place-items: center;
  height: min(72vh, 600px);
  min-height: 480px;
  overflow: hidden;
  background: var(--cream);
}

.detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition: opacity .2s ease;
}

.detail-thumbnails {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(247, 244, 238, 0.9);
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.detail-thumbnails button {
  flex: 0 0 64px;
  height: 64px;
  padding: 2px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  border-radius: 2px;
  opacity: .65;
  transition: opacity .2s, border-color .2s;
}

.detail-thumbnails button:hover,
.detail-thumbnails button.is-active {
  opacity: 1;
  border-color: var(--ink);
}

.detail-thumbnails button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-description {
  line-height: 1.6;
  white-space: normal;
}

.detail-copy h1 {
  font: 48px/1 var(--serif);
  margin: 1rem 0;
}

.detail-description p {
  margin: 0 0 .75em;
  white-space: normal;
}

.detail-description > strong {
  display: block;
  margin: .85em 0 .25em;
}

.detail-description ul,
.detail-description ol {
  margin: .25em 0 .85em;
  padding-left: 1.4rem;
  white-space: normal;
}

.detail-description li + li {
  margin-top: .35em;
}

.detail-description a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-form .field-help {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 750px) {
  .detail-image {
    position: static;
    height: min(52vh, 460px);
    min-height: 300px;
  }
}
