/* breadcrumbs */

.builder-breadcrumbs-wrapper {
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 145%;
  color: var(--white);
  padding: 0 0 8px;
}

.builder-breadcrumbs-wrapper a {
  color: var(--ash);
  text-decoration: none;
  background: no-repeat;
  -webkit-text-fill-color: unset;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.builder-breadcrumbs-wrapper span {
  color: var(--white);
  padding: 0 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}
.ebook-template .builder-breadcrumbs-wrapper span {
  color: var(--dark);
}

/* author */
.builder-author-wrapper {
  position: relative;
  padding: 0;
  margin: 24px 0;
}
.builder-author-wrapper:before {
  position: absolute;
  content: "";
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
}
.builder-author-wrapper:after {
  top: unset;
  bottom: 0;
}
.author-wrap {
}
.author-wrap .author-content {
}
.builder-author-wrapper header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  position: relative;
}
.builder-author-wrapper header > a {
  text-decoration: none;
}
.builder-author-wrapper header .author-name-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  font-family: Cairo, sanf-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  line-height: 21.75px;
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.builder-author-wrapper header span {
  font-size: 15px;
  font-weight: 800;
}
.builder-author-wrapper header .author-label {
  display: flex;
  align-items: center;
}
.builder-author-wrapper header:before {
  position: absolute;
  bottom: 0;
  content: "";
  display: block;
  width: 100%;
  height: 40%;
  left: 0;
  background: #fafaed;
}
.builder-author-wrapper header .author-label:before {
  content: "";
  display: block;
  height: 16px;
  width: 1px;
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
  margin-left: 10px;
  transform: rotate(15deg);
}
.builder-author-wrapper header .author-name {
}
.builder-author-wrapper .author-avatar {
  width: 100px;
  height: 56px;
  background-color: black;
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 10% 0%);
  display: grid;
  place-content: center;
}
.builder-author-wrapper .author-avatar svg {
}
.builder-author-wrapper .author-avatar img {
  float: none;
  margin: 0;
  height: 50px;
  object-fit: contain;
}

.builder-author-wrapper .author-description {
  padding: 16px;
  background-color: var(--beige);
}
.single-article-wrapper.page-listing .builder-author-wrapper:after {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
  margin-top: 24px;
  margin-bottom: 24px;
}

/* toc */
.single-article-wrapper .builder-toc-wrapper {
  margin-bottom: 24px;
  border: 1px solid var(--gold);
  padding: 16px;
  background: #1f1f21
    url(/wp-content/themes/sahifa-child/builder/assets/img/bgpattern.png);
}

.single-article-wrapper.page-listing .builder-toc-wrapper:after {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
  position: absolute;
  left: 0;
  bottom: -24px;
}
.single-article-wrapper.page-listing .builder-toc-wrapper {
  position: relative;
  margin-bottom: 48px;
}

.single-article-wrapper .builder-toc-wrapper a {
  color: var(--White, #fff);
  text-decoration: none !important;
  padding: 8px 0px 8px 32px;
  border-bottom: 1px solid var(--gold);
  display: flex;
  text-align: right;
  margin-right: 16px;
  position: relative;
  cursor: pointer;
  background-clip: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background: unset;
}
.single-article-wrapper .builder-toc-wrapper a.active:after {
  background: url(/wp-content/themes/sahifa-child/builder/assets/img/gold-arrow-left.webp)
    no-repeat center left;
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  left: 0;
  top: 50%;
}
.single-article-wrapper .builder-toc-wrapper a:before {
  content: "";
  display: block;
  height: 16px;
  width: 1px;
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
  margin-left: 10px;
  transform: rotate(15deg) translateX(10px);
  position: absolute;
}
.single-article-wrapper .builder-toc-wrapper a:last-child {
  border-bottom: none;
}
.single-article-wrapper .builder-toc-wrapper a.active {
  font-family: Cairo;
  font-style: normal;
  line-height: 145%;
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.single-article-wrapper .builder-toc-wrapper a.active {
  font-weight: 800;
  font-size: 15px;
}

.single-article-wrapper .aside-ads-wrapper:before {
  content: "";
  margin: 24px 0;
  background-color: var(--gold);
  width: 100%;
  height: 1px;
  display: block;
}

.single-article-wrapper .aside-ads-wrapper .aside-ads-inner {
  padding: 0 8px;
}
