/**
 * Media queries can't use custom CSS properties, so we use a Sass variable
 * instead to define/apply our breakpoints.
 */
/**
 * From https://github.com/twbs/bootstrap/blob/main/scss/mixins/_breakpoints.scss
 */
sharpen-story-page {
  display: block;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.5) 0 1em 3em;
  overflow-y: hidden;
}
sharpen-story-page .content {
  padding: var(--spacing-lg);
  color: var(--color-pine);
}
sharpen-story-page[content-mode=sentence] .content {
  font-size: 28pt;
}
sharpen-story-page[content-mode=paragraph] .content {
  font-size: 14pt;
  line-height: 1.5;
}
sharpen-story-page .story-footer {
  height: auto;
  aspect-ratio: 10/6.5;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: end;
  padding-bottom: 1em;
  justify-content: center;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
}
sharpen-story-page .story-footer img {
  width: auto;
  height: 50%;
  margin-top: 0;
  aspect-ratio: 1/1;
}
sharpen-story-page .text {
  opacity: 0;
}
sharpen-story-page p + p {
  margin-top: 1em;
}