.weightlifting-layout {
  display: flex;
  flex-direction: column-reverse;
  reading-flow: flex-visual;
}

.weightlifting-figure {
  width: min(75%, 16.5rem);
  margin: 0.5rem auto 1.5rem;
}

.weightlifting-figure__images {
  display: grid;
  gap: 1rem;
}

.weightlifting-figure__images > figure {
  margin: 0;
}

.weightlifting-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dfe3e8;
  border-radius: 0.75rem;
}

.weightlifting-figure figcaption {
  margin-top: 0.5rem;
  color: #515c68;
  font-size: 0.65rem;
  line-height: 1.45;
  text-align: center;
}

.weightlifting-figure--overview > figcaption {
  display: none;
}

@media (min-width: 42rem) {
  .news-article {
    display: flow-root;
  }

  .weightlifting-layout,
  .weightlifting-copy {
    display: contents;
  }

  .weightlifting-figure--record {
    float: right;
    width: min(30%, 16.5rem);
    margin: 0 0 1rem 1.25rem;
  }

  #how-is-the-total-calculated {
    clear: right;
  }

  .weightlifting-figure--overview {
    float: left;
    width: min(50%, 34rem);
    margin: 0 1.25rem 1rem 0;
  }

  .weightlifting-figure__images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weightlifting-figure__images figcaption {
    display: none;
  }

  .weightlifting-figure--overview > figcaption {
    display: block;
  }

  #track-your-lifts-with-wodeye {
    clear: left;
  }
}
