.chapter-topic {
  margin-bottom: 22px;
}

.chapter-body-text {
  line-height: 1.375;
}

.chapter-main-title {
  margin-bottom: 24px
}

.chapter-img-section {
  margin-top: 49px;
}

.chapter-img {
  --img-height: 460px;
}

/* chapter-row */

.chapter-row {
  --col-count: 2;
  --col-gap: 80px;
  --col-color: var(--peach-cream);
  --chapter-bg: var(--light-gray);
  --this-vr-padding: calc(var(--page-section-vr-padding) + 20px);
  padding-top: var(--this-vr-padding);
  padding-bottom: var(--this-vr-padding);
  background: var(--chapter-bg);
  position: relative;
}

.chapter-row:nth-child(even) {
  --chapter-bg: transparent;
}

.chapter-content-row:last-child {
  margin-bottom: 0;
}

.chapter-section {
  display: grid;
  grid-template-columns: repeat(var(--col-count), 1fr);
  grid-gap: var(--col-gap);
}

.chapter-content-row {
  margin-bottom: 38px;
}

.chapter-right {
  border-bottom: 4px solid var(--col-color);
}

.chapter-content-title {
  margin-bottom: 7px;
}

/* colors */
.chapter-color-aqua-blue {
  --col-color: var(--aqua-blue);
}

.chapter-color-yellow-green {
  --col-color: var(--yellow-green);
}

.chapter-color-sky-blue {
  --col-color: var(--sky-blue);
}

.chapter-color-blush-pink {
  --col-color: var(--blush-pink);
}

.chapter-color-pale-yellow {
  --col-color: var(--pale-yellow);
}


/* chapter-style-2 */

.chapter-style-2 .chapter-row {
  --chapter-bg: transparent;
  height: auto;
  display: flex;
  align-items: center;
}

.chapter-style-2 .chapter-row:nth-child(even) {
  --chapter-bg: var(--light-gray);
}

.chapter-style-2 .chapter-img-section {
  margin-top: 0;
}

.chapter-style-2 .chapter-section {
  align-items: center;
  grid-template-areas: "content image";
}

.chapter-style-2 .chapter-row:nth-child(even) .chapter-section {
  grid-template-areas: "image content";
}

.chapter-style-2 .chapter-section .chapter-left {
  grid-area: content;
}

.chapter-style-2 .chapter-section .chapter-right {
  grid-area: image;
}

.chapter-style-2 .chapter-right {
  border: none;
}

.chapter-style-2 .chapter-img {
  height: auto;
  border-radius: 0;
}

.chapter-style-2 .chapter-row:nth-child(odd) .img-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* chapter-style-2_v2 */

.chapter-style-2_v2 .chapter-row {
  --chapter-bg: transparent !important;
}

.chapter-style-2_v2 .chapter-row:not(:last-child):after {
  content: "";
  width: calc(100% - (2 * var(--this-hr-padding)));
  position: absolute;
  left: 0;
  bottom: 0;
  height: 6px;
  right: 0;
  margin: 0 auto;
  background: var(--rich-black);
}
