section.chapters li {
  list-style: none;
}
section.chapters li a {
  padding: 1.875rem;
  font-size: 2.8125rem;
  line-height: 1.2;
  border-radius: 2.5rem;
  text-decoration: none;
  color: var(--black);
  -webkit-font-feature-settings: "salt" on, "liga" off;
          font-feature-settings: "salt" on, "liga" off;
  font-variation-settings: "wght" 400, "stbl" 100;
  border: 2px solid transparent;
  -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
@media screen and (max-width: 63.9375em) {
  section.chapters li a {
    padding: 1.25rem 1.75rem;
    font-size: 1.5625rem;
    border-radius: 1.25rem;
  }
}
section.chapters li a > * {
  -webkit-transition: background-color 0.2s ease-in-out, font-variation-settings 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, font-variation-settings 0.2s ease-in-out;
}
section.chapters li a:hover {
  font-variation-settings: "wght" 400, "stbl" var(--stability);
  background-color: var(--grey);
}
section.chapters li a:hover .arrow::after {
  -webkit-transform: rotate(165deg);
          transform: rotate(165deg);
}
section.chapters li a:hover .arrow.bg-chapter1::after {
  background-color: var(--chapter1-dark);
}
section.chapters li a:hover .arrow.bg-chapter2::after {
  background-color: var(--chapter2-dark);
}
section.chapters li a:hover .arrow.bg-chapter3::after {
  background-color: var(--chapter3-dark);
}
section.chapters li a:hover .arrow.bg-chapter4::after {
  background-color: var(--chapter4-dark);
}
section.chapters li a:hover .arrow.bg-chapter5::after {
  background-color: var(--chapter5-dark);
}
section.chapters li a:hover .arrow.bg-chapter6::after {
  background-color: var(--chapter6-dark);
}
section.chapters li a:hover .arrow.bg-chapter7::after {
  background-color: var(--chapter7-dark);
}
section.chapters li .arrow {
  background: transparent !important;
  padding-top: 8px;
}
@media screen and (max-width: 63.9375em) {
  section.chapters li .arrow {
    padding-top: 6px;
  }
}
section.chapters li .arrow::after {
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  width: 2.625rem;
  height: 2.625rem;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
@media screen and (max-width: 63.9375em) {
  section.chapters li .arrow::after {
    width: 1.25rem;
    height: 1.25rem;
  }
}
section.chapters.end-chapter .media .img-wrapper {
  position: relative;
  -ms-grid-row: 1;
  -ms-grid-row-span: 5;
  grid-row: 1/6;
  height: 0;
  width: 100%;
  padding-bottom: 37.5703942076%;
  overflow: hidden;
  display: none;
}
@media screen and (min-width: 64em) {
  section.chapters.end-chapter .media .img-wrapper {
    display: -ms-grid;
    display: grid;
  }
}
section.chapters.end-chapter .media .img-wrapper img {
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
section.chapters.end-chapter .media .img-wrapper.mobile {
  display: none;
}
@media screen and (max-width: 63.9375em) {
  section.chapters.end-chapter .media .img-wrapper.mobile {
    display: -ms-grid;
    display: grid;
  }
}
section.chapters.end-chapter .media .title {
  z-index: 1;
  -ms-grid-row: 5;
  grid-row: 5;
  font: var(--h1-font);
  text-align: center;
  font-size: 30px;
  line-height: 38px;
}
@media screen and (min-width: 64em) {
  section.chapters.end-chapter .media .title {
    font-size: 2.8125rem;
    line-height: 3.375rem;
  }
}
@media screen and (max-width: 63.9375em) {
  section.chapters.end-chapter .media .title {
    -ms-grid-row: 6;
    grid-row: 6;
  }
}
section.chapters.end-chapter .text {
  text-align: center;
}

body.alternative section.chapters li a:hover .arrow.bg-chapter1::after, body.alternative section.chapters li a:hover .arrow.bg-chapter2::after, body.alternative section.chapters li a:hover .arrow.bg-chapter3::after, body.alternative section.chapters li a:hover .arrow.bg-chapter4::after, body.alternative section.chapters li a:hover .arrow.bg-chapter5::after, body.alternative section.chapters li a:hover .arrow.bg-chapter6::after, body.alternative section.chapters li a:hover .arrow.bg-chapter7::after {
  background-color: var(--grey);
}