.journal-article {
  background:
    radial-gradient(ellipse at 50% 13rem, #34203c, transparent 52rem),
    #08060b;
}

.editorial {
  width: min(1120px, 90%);
  margin-inline: auto;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.editorial-header {
  padding: clamp(2.8rem, 6vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.editorial-header .journal-title {
  max-width: 17ch;
  margin-inline: auto;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
  text-wrap: balance;
}

.editorial-header .journal-subtitle {
  margin-top: 1rem;
}

.editorial figure {
  min-width: 0;
  margin: 0;
}

.editorial img,
.editorial-viewer img {
  display: block;
  width: 100%;
  height: auto;
}

.editorial-hero {
  display: grid;
  justify-items: center;
  background: radial-gradient(ellipse at 50% 63%, #71386052, transparent 65%);
}

.editorial-hero img {
  width: min(100%, 660px);
}

.editorial-prose {
  max-width: 63ch;
  margin-inline: auto;
  color: #e9dce1;
  font: clamp(1.1rem, 1.5vw, 1.22rem)/1.78 Georgia, serif;
}

.editorial-intro {
  margin-top: clamp(1.1rem, 3vw, 2rem);
  color: #f5e2d3;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.editorial-prose p {
  margin: 0 0 1.15em;
}

.editorial-prose > :last-child {
  margin-bottom: 0;
}

.editorial-prose h2 {
  margin: 0 0 .75em;
  color: #ffe3bc;
  font: 400 clamp(2rem, 4vw, 3.2rem)/1.09 Georgia, serif;
  text-wrap: balance;
}

.editorial-prose strong {
  color: #ffe4c4;
}

.editorial-section {
  margin-block: clamp(2.6rem, 6vw, 5rem);
}

.editorial-concepts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin: clamp(1.65rem, 4vw, 3rem) auto 0;
  max-width: 980px;
}

.editorial-concept,
.editorial-illustration {
  overflow: hidden;
  border-radius: 1.05rem;
  background: #120d19;
  box-shadow: 0 12px 32px #0007, 0 0 22px #c282c01c;
}

.editorial-concept {
  display: block;
  position: relative;
  cursor: zoom-in;
}

.editorial-concept:focus-visible {
  outline: 2px solid #ffdf9e;
  outline-offset: 5px;
}

.editorial-enlarge {
  display: block;
  padding: .65rem .75rem;
  border-top: 1px solid #eabcec32;
  background: linear-gradient(110deg, #25162a, #16101d);
  color: #f4d7bd;
  font: .85rem/1.5 Arial, sans-serif;
  text-align: center;
}

.editorial figcaption {
  margin: .85rem .3rem 0;
  color: #dcbcd8;
  font: .86rem/1.6 Arial, sans-serif;
}

.editorial figcaption strong {
  color: #ffe3bc;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
}

.editorial-split .editorial-prose {
  margin-inline: 0;
}

.editorial-split figcaption {
  margin: 0;
  padding: .75rem 1rem 1rem;
}

.editorial-prose .editorial-pullquote {
  margin-block: 1.25em;
  padding: 1.2rem .7rem;
  border-block: 1px solid #c491b05e;
  background: radial-gradient(ellipse at 50% 45%, #3c233e, transparent 75%);
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.28;
  text-wrap: balance;
}

.editorial-end {
  max-width: 63ch;
  margin: clamp(2.4rem, 5vw, 4rem) auto 0;
  text-align: center;
}

.editorial-end .editorial-pullquote {
  display: block;
  margin: 0 0 1.4rem;
  color: #ffe4c4;
  font: 400 clamp(1.4rem, 3.2vw, 2.25rem)/1.35 Georgia, serif;
  text-wrap: balance;
}

.editorial-end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}

.editorial-viewer {
  max-width: min(92vw, 48rem);
  max-height: 92vh;
  max-height: 92dvh;
  padding: clamp(.8rem, 2vw, 1.35rem);
  border: 1px solid #b479ad;
  border-radius: 1rem;
  background: #130e19;
  color: #ffe3bc;
}

.editorial-viewer::backdrop {
  background: #08050be8;
}

.editorial-viewer h2 {
  margin: 0 0 .8rem;
  font: 400 clamp(1.15rem, 3vw, 1.6rem)/1.3 Georgia, serif;
}

.editorial-viewer img {
  width: auto;
  max-width: 100%;
  max-height: calc(92dvh - 10rem);
  object-fit: contain;
  margin-inline: auto;
  border-radius: .55rem;
}

.editorial-viewer-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: .9rem;
}

@media (max-width: 800px) {
  .editorial-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial-split .editorial-prose,
  .editorial-split .editorial-illustration {
    margin-inline: auto;
  }

  .editorial-split .editorial-illustration {
    max-width: min(100%, 34rem);
  }
}

@media (max-width: 620px) {
  .editorial-concepts {
    grid-template-columns: minmax(0, 1fr);
    max-width: 24rem;
  }

  .editorial-viewer-actions .journal-action {
    padding-inline: .75rem;
    font-size: .9rem;
  }
}
