.legacy-content.science-fiction-cover-art {
  padding-block: clamp(1.75rem, 3vw, 2.5rem) 3rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.science-fiction-cover-art .article-author {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: .9375rem;
}

.science-fiction-cover-art .essay-text p {
  margin: 0 0 1.3em;
}

.science-fiction-cover-art .essay-text > p:first-of-type + p::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  color: var(--accent, #8a5d25);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2em;
  line-height: .78;
}

.sf-cover-group,
.sf-cover {
  margin-block: clamp(2.5rem, 6vw, 4.75rem);
}

.sf-cover {
  width: 100%;
}

.sf-cover-group {
  display: grid;
  gap: clamp(.75rem, 2vw, 1.35rem);
  align-items: stretch;
}

.sf-cover-group .sf-cover {
  margin: 0;
}

.sf-cover-group--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-cover-group--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-cover-group--editorial,
.sf-cover-group--editorial-reverse {
  grid-template-columns: minmax(0, 1.55fr) minmax(12rem, .8fr);
}

.sf-cover-group--editorial-reverse {
  grid-template-columns: minmax(12rem, .8fr) minmax(0, 1.55fr);
}

.sf-cover-group--editorial-reverse .sf-cover:first-child {
  order: 2;
}

.sf-cover-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #151719;
  box-shadow: 0 1rem 2.5rem rgba(31, 25, 17, .15);
  cursor: zoom-in;
}

.sf-cover-link:focus-visible {
  outline: 3px solid var(--accent, #8a5d25);
  outline-offset: 4px;
}

.sf-cover-link img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  max-height: 34rem;
  margin: 0;
  object-fit: cover;
  transition: transform .28s ease, opacity .28s ease;
}

.sf-cover-link:hover img {
  opacity: .94;
  transform: scale(1.015);
}

.sf-cover-featured {
  width: min(100%, 56rem);
  margin-inline: auto;
}

.sf-cover-featured .sf-cover-link img {
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.sf-cover-museum-featured {
  width: min(100%, 40rem);
  margin-inline: auto;
}

.sf-cover-museum-featured .sf-cover-link,
.sf-cover-secondary-portrait .sf-cover-link {
  height: auto;
}

.sf-cover-museum-featured .sf-cover-link img,
.sf-cover-secondary-portrait .sf-cover-link img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  transform: none;
}

.sf-cover-museum-featured .sf-cover-link:hover img,
.sf-cover-secondary-portrait .sf-cover-link:hover img {
  transform: none;
}

.sf-cover-secondary-portrait:not(.sf-cover-inline-expanded) {
  width: min(100%, 17rem);
  margin-inline: auto;
}

.sf-cover-group--single-wide {
  grid-template-columns: 1fr;
}

.sf-cover-group--single-wide .sf-cover:first-child {
  order: initial;
  width: min(100%, 46rem);
  justify-self: end;
}

.sternhagel-cover {
  position: relative;
  width: min(100%, 17.5rem);
  margin: clamp(2.5rem, 6vw, 4.75rem) auto;
}

.sternhagel-trigger {
  display: block;
  width: 100%;
  height: auto;
  padding: .625rem;
  overflow: visible;
  border: 0;
  border-radius: 2px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(31, 25, 17, .15);
  cursor: zoom-in;
}

.sternhagel-trigger:focus-visible {
  outline: 3px solid var(--accent, #8a5d25);
  outline-offset: 4px;
}

.sternhagel-trigger img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: 100%;
  max-height: none;
  margin: 0;
  object-fit: contain;
}

.sternhagel-cover.sternhagel-inline-expanded {
  width: min(100%, 40rem);
}

.sternhagel-inline-expanded .sternhagel-trigger {
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.sf-cover-group--three .sf-cover-link img {
  aspect-ratio: 2 / 3;
}

.sf-cover-group--pair .sf-cover-link img,
.sf-cover-group--editorial .sf-cover-link img,
.sf-cover-group--editorial-reverse .sf-cover-link img {
  aspect-ratio: 4 / 3;
}

.sf-series-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  justify-content: space-between;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .9375rem;
}

.sf-series-navigation [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.sf-series-future {
  opacity: .72;
}

.sf-cover-inline-expanded {
  position: relative;
  grid-column: 1 / -1;
  width: min(84vw, 70rem);
  justify-self: center;
}

.sf-cover-inline-expanded .sf-cover-link {
  height: auto;
  cursor: zoom-out;
}

.sf-cover-inline-expanded .sf-cover-link img,
.sf-cover-group .sf-cover-inline-expanded .sf-cover-link img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: 100%;
  max-height: 85vh;
  aspect-ratio: auto;
  object-fit: contain;
  opacity: 1;
  transform: none;
}

.sf-inline-close {
  position: absolute;
  z-index: 2;
  top: .75rem;
  right: .75rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 9, 11, .78);
  box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .3);
  font: 400 1.75rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.sf-inline-close:hover,
.sf-inline-close:focus-visible {
  background: rgba(8, 9, 11, .95);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sternhagel-inline-close {
  position: absolute;
  z-index: 2;
  top: .75rem;
  right: .75rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 9, 11, .78);
  box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .3);
  font: 400 1.75rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.sternhagel-inline-close:hover,
.sternhagel-inline-close:focus-visible {
  background: rgba(8, 9, 11, .95);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.sf-maximum-open {
  overflow: hidden;
}

.sf-maximum-view[hidden] {
  display: none;
}

.sf-maximum-view {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  padding: 2vw;
  place-items: center;
  background: rgba(8, 9, 11, .9);
  cursor: zoom-out;
}

.sf-maximum-view img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 96vh;
  object-fit: contain;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .5);
  cursor: zoom-out;
}

body.sternhagel-max-open {
  overflow: hidden;
}

#sternhagel-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  display: none;
  align-items: flex-start !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, .94) !important;
  z-index: 2147483647 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: auto !important;
  cursor: zoom-out;
}

#sternhagel-overlay.is-open {
  display: flex !important;
}

#sternhagel-overlay-image {
  display: block !important;
  width: min(75vw, 1024px) !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: zoom-out;
}

@media (max-width: 760px) {
  .legacy-content.science-fiction-cover-art {
    font-size: 1rem;
    line-height: 1.72;
  }

  .sf-cover-group--pair,
  .sf-cover-group--editorial,
  .sf-cover-group--editorial-reverse {
    grid-template-columns: 1fr;
  }

  .sf-cover-group--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-cover-group--three .sf-cover:last-child {
    grid-column: 1 / -1;
    width: min(70%, 19rem);
    justify-self: center;
  }

  .sf-cover-group--editorial-reverse .sf-cover:first-child {
    order: initial;
  }

  .sf-cover-link img {
    min-height: 0;
    max-height: none;
  }

  .sf-cover-group--pair .sf-cover-link img,
  .sf-cover-group--editorial .sf-cover-link img,
  .sf-cover-group--editorial-reverse .sf-cover-link img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
  }

  .sf-cover-inline-expanded {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .sf-cover-group--three {
    grid-template-columns: 1fr;
  }

  .sf-cover-group--three .sf-cover:last-child {
    grid-column: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-cover-link img {
    transition: none;
  }
}
