/* Additional presentation rules used by illustrated review articles. */
.review-slideshow {
  margin-top: 0;
}
.legacy-review-body .reviewCaption {
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}
.legacy-review-body h6.reviewCaption, .legacy-review-body h7.reviewCaption {
  display: block;
  margin: 1.8rem 0 .75rem;
  font-family: 'DM Sans', sans-serif !important;
}

/* Automatic-review draft previews remain unmistakable at every text size. */
.review-draft-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.25rem clamp(1.5rem, 6vw, 7rem);
  border-top: .3rem solid #7b1d1d;
  border-bottom: .3rem solid #7b1d1d;
  background: #fff1d1;
  color: #3b160f;
}

.review-draft-banner strong {
  display: block;
  font-size: 1.25rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.review-draft-banner p {
  margin: .25rem 0 0;
}

.review-draft-banner > a {
  color: #682020;
  font-weight: 800;
}

.review-draft-banner details {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 22, 15, .25);
}

.review-draft-banner summary {
  cursor: pointer;
  font-weight: 800;
}

.review-draft-banner h2 {
  margin: 1rem 0 .35rem;
  font-size: 1rem;
  text-transform: uppercase;
}

.review-draft-banner ul {
  margin: .4rem 0;
}

.review-slides {
  isolation: isolate;
}

.review-draft-watermark {
  position: absolute;
  z-index: 5;
  inset: 50% auto auto 50%;
  width: min(90%, 58rem);
  padding: .75rem 1rem;
  transform: translate(-50%, -50%) rotate(-13deg);
  border: .3rem solid rgba(154, 30, 30, .68);
  color: rgba(154, 30, 30, .76);
  background: rgba(255, 255, 255, .68);
  font: 800 clamp(1.5rem, 4vw, 4rem)/1 'DM Sans', sans-serif;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

/* Figures inserted by an @[image:filename] paragraph in the DOCX source. */
.review-inline-figure {
  width: min(100%, 60rem);
  margin: 2.5rem auto;
  padding: clamp(.75rem, 2vw, 1.25rem);
  border: 1px solid #b9b4aa;
  border-bottom: .35rem solid #e29c2d;
  background: #fff;
  box-shadow: 0 .75rem 2.5rem rgba(5, 25, 47, .14);
}

.review-inline-figure a {
  display: block;
}

.legacy-review-body .review-inline-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin: auto;
}

.review-inline-figure figcaption {
  padding: 1rem .25rem .15rem;
  color: #4e5864;
  font-size: .95rem;
  text-align: center;
}

/*
 * Optional left and right markers let the following article paragraphs wrap
 * around a photograph. Section headings clear the float so a photograph never
 * leaks visually into the next part of a review.
 */
.review-inline-figure--left,
.review-inline-figure--right {
  width: min(42%, 30rem);
  margin-top: .35rem;
  margin-bottom: 1.5rem;
}

.review-inline-figure--left {
  float: left;
  margin-right: clamp(1.25rem, 3vw, 2.5rem);
  margin-left: 0;
}

.review-inline-figure--right {
  float: right;
  margin-right: 0;
  margin-left: clamp(1.25rem, 3vw, 2.5rem);
}

.legacy-review-body h2,
.legacy-review-body h3,
.legacy-review-body h4,
.legacy-review-body h5 {
  clear: both;
}

.legacy-review-body::after {
  display: block;
  clear: both;
  content: '';
}

.review-inline-missing {
  margin: 2rem 0;
  padding: 1.25rem;
  border: .2rem dashed #a02a2a;
  background: #fff1d1;
  color: #5d1717;
}

.review-table-wrap {
  max-width: 100%;
  margin: 2rem 0;
  overflow-x: auto;
}

.legacy-review-body .review-imported-table {
  width: 100%;
  border: 1px solid #b9b4aa;
}

.legacy-review-body .review-imported-table td {
  border: 1px solid #d5d0c6;
  padding: .75rem;
}

.legacy-review-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: .35rem solid #e29c2d;
  background: #f3f0e9;
}

@media (max-width: 44rem) {
  .review-draft-banner {
    grid-template-columns: 1fr;
  }

  .review-draft-banner details {
    grid-column: auto;
  }

  .review-inline-figure--left,
  .review-inline-figure--right {
    float: none;
    width: min(100%, 60rem);
    margin: 2rem auto;
  }
}
