.article-pages-sidebar {
  position: sticky;
  top: 110px;
  align-self: flex-start;
}

.article-related-card {
  overflow: hidden;
  border: 1px solid #eadfce;
  border-radius: 12px;
  background: #fbf6ec;
  box-shadow: 0 10px 30px -20px rgba(33, 29, 66, .5);
}

.article-related-card__heading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 20px 14px;
  color: #211d42;
  font-size: 1.05rem;
  font-weight: 700;
}

.article-related-card__heading > i {
  color: #e45f19;
  font-size: 1.1rem;
}

.article-related-card__scroll {
  max-height: calc(100vh - 205px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.article-related-card__list,
.article-related-card__children {
  margin: 0;
  list-style: none;
}

.article-related-card__list {
  padding: 0 12px 12px;
}

.article-related-card__list > li {
  margin: 0;
}

.article-related-card__link,
.article-related-card__child-link {
  width: 100%;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.article-related-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4a4760 !important;
  font: inherit;
  font-size: .9rem;
  text-align: left;
}

.article-related-card__parent-row {
  display: flex;
  align-items: stretch;
}

.article-related-card__parent-row > .article-related-card__link {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  border-radius: 7px 0 0 7px;
}

.article-related-card__toggle {
  display: inline-grid;
  width: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 0;
  border-left: 1px solid #f0dfd0;
  border-radius: 0 7px 7px 0;
  background: transparent;
  color: #7b7890;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}

.article-related-card__link-content {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.article-related-card__link-content > i {
  flex: 0 0 18px;
  width: 18px;
  color: #e45f19;
  text-align: center;
}

.article-related-card__link-content > span {
  min-width: 0;
}

.article-related-card__chevron {
  flex: 0 0 auto;
  color: #7b7890;
  font-size: .8rem;
  transition: transform .2s ease;
}

.article-related-card__toggle[aria-expanded="true"] .article-related-card__chevron {
  transform: rotate(180deg);
}

.article-related-card__link:hover,
.article-related-card__link.active {
  color: #fff !important;
  background: #e45f19;
}

.article-related-card__link:hover .article-related-card__link-content > i,
.article-related-card__link:hover .article-related-card__chevron,
.article-related-card__link.active .article-related-card__link-content > i,
.article-related-card__link.active .article-related-card__chevron {
  color: #fff;
}

.article-related-card__parent-row:hover .article-related-card__link,
.article-related-card__parent-row .article-related-card__link.active,
.article-related-card__parent-row:hover .article-related-card__toggle,
.article-related-card__parent-row .article-related-card__toggle.active {
  color: #fff !important;
  background: #e45f19;
}

.article-related-card__parent-row:hover .article-related-card__link-content > i,
.article-related-card__parent-row .article-related-card__link.active .article-related-card__link-content > i,
.article-related-card__parent-row:hover .article-related-card__chevron,
.article-related-card__parent-row .article-related-card__toggle.active .article-related-card__chevron {
  color: #fff;
}

.article-related-card__parent-row:hover .article-related-card__toggle,
.article-related-card__parent-row .article-related-card__toggle.active {
  border-left-color: rgba(255, 255, 255, .35);
}

.article-related-card__children {
  margin: 2px 0 5px 19px;
  padding: 2px 0 2px 11px;
  border-left: 1px solid #f0c8a7;
}

.article-related-card__child-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  color: #67637a !important;
  font-size: .84rem;
  line-height: 1.35;
}

.article-related-card__child-link > i {
  flex: 0 0 auto;
  margin-top: .18rem;
  color: #a7a3b0;
  font-size: .68rem;
}

.article-related-card__child-link:hover,
.article-related-card__child-link.active {
  color: #d95714 !important;
  background: #fff0e4;
}

.article-sidebar-ads {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.article-sidebar-ads a,
.article-sidebar-ads img {
  display: block;
  width: 100%;
}

.article-sidebar-ads img {
  border-radius: 10px;
}

@media (max-width: 767.98px) {
  #offcanvasExample.article-mobile-pages-drawer {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: flex;
    width: 100% !important;
    max-width: none !important;
    height: 100dvh;
    flex-direction: column;
    border: 0;
    background: #fffaf4;
    z-index: 1000002 !important;
  }

  #offcanvasExample.article-mobile-pages-drawer .article-mobile-pages-drawer-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 0 16px;
    border-bottom: 1px solid #eadfce;
    background: #fff;
    color: #211d42;
    font-size: 18px;
    font-weight: 700;
  }

  #offcanvasExample.article-mobile-pages-drawer .offcanvas-body {
    flex: 1 1 auto;
    padding: 12px 14px 24px !important;
    overflow-y: auto;
    background: #fffaf4;
  }

  #offcanvasExample.article-mobile-pages-drawer .article-related-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #offcanvasExample.article-mobile-pages-drawer .article-related-card__scroll {
    max-height: none;
    overflow: visible;
  }

  #offcanvasExample.article-mobile-pages-drawer .article-related-card__heading {
    min-height: 52px;
    padding: 0 2px;
    border-bottom: 1px solid #eadfce;
  }

  #offcanvasExample.article-mobile-pages-drawer .article-related-card__list {
    padding: 8px 0 12px;
  }
}
