article > div > .ewcms-page-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}
html[dir=rtl] article > div > .ewcms-page-section {
  left: auto;
  right: 50%;
  margin-right: -50vw;
}

.featured-page-header > .ecl-page-header.ecl-page-header--negative {
  margin-bottom: 0!important;
}

.ewcms-top-sidebar {
  min-height: 0px!important;
}

.ecl-content-item-block .ecl-row .ecl-content-item-block__item:not(.vertical) article.ecl-content-item {
  border-bottom: 1px solid #cfcfcf;
  padding-bottom: 1.5rem;
}
.ecl-content-item-block .ecl-row .ecl-content-item-block__item.last-item article.ecl-content-item {
  border-bottom: 0;
  padding-bottom: 0;
}
.ecl-content-item-block .ecl-row .ecl-content-item-block__item article.ecl-content-item {
  border-bottom: 0;
  padding-bottom: 0;
}
@media screen and (min-width: 996px) {
  .ecl-content-item-block .ecl-row .ecl-content-item-block__item.last-item-column article.ecl-content-item {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

/* Limit the width of the media container to the same width as the embed image style. */
.ecl-media-container--custom-ratio.ewcms-embed-small {
  max-width: 253px;
}
.ecl-media-container--custom-ratio.ewcms-embed-medium {
  max-width: 538px;
}
.ecl-media-container--custom-ratio.ewcms-embed-large {
  max-width: 712px;
}
@media only screen and (max-width: 767px) {
  .ecl-media-container--custom-ratio.ewcms-embed-large,
  .ecl-media-container--custom-ratio.ewcms-embed-medium {
    max-width: 100%;
  }
}
@media only screen and (max-width: 285px) {
  .ecl-media-container--custom-ratio.ewcms-embed-small {
    max-width: 100%;
  }
}
/* Add 100% margin right to avoid having multiple media containers on the same row. (The same way that there is no
   extra text from the editor on the same row with the media container.) */
@media only screen and (min-width: 767px) {
  .ecl > .ecl-media-container.ecl-media-container--custom-ratio.ewcms-embed-medium {
    margin-right: calc(100% - 450px);
  }
  .ecl > .ecl-media-container.ecl-media-container--custom-ratio.ewcms-embed-small {
    margin-right: calc(100% - 485px);
  }
}
