.custom__tabbed-content .tabs__link {background: var(--primary-1-100);border: none;}
.custom__tabbed-content .tabs__link.active {background: var(--base-9);}
.custom__tabbed-content .expandable-content{background: var(--base-9);}
.custom__tabbed-content .tabs__link{padding: var(--sm-2);gap: 0;}
.custom__tabbed-content .stats__block .stats .stats__item {min-height: 30rem;}
.custom__tabbed-content .stats .stats__item {min-height: 29rem;}
.custom__tabbed-content .accordion__item {
  border-top: calc(var(--ui-accordions-item-border-weight) * 1px) solid var(--primary-1-500);
  border-right: none;
  border-left: none;
  border-bottom: none;
}
.custom__tabbed-content .accordion__wrapper:last-child {
  border-bottom:  calc(var(--ui-accordions-item-border-weight) * 1px) solid var(--primary-1-500);
}
.custom__tabbed-content .accordion__button {
  background-color: transparent;
  color: var(--base-1);
  padding: var(--sm-2) var(--sm-1);
}
.custom__tabbed-content .custom__quote {
  position: relative;
}
 .custom__tabbed-content .custom__quote::before,
.custom__tabbed-content .custom__quote::after {
  width: 5.1rem;
  height: 4rem;
}
.custom__tabbed-content .custom__quote::before {
  content: "";
  position: absolute;
  left: 4%;
  top: 3rem;
  background: url(/~/media/Images/C/chesnara/Universal/custom-components/custom-tabs/quote-before.svg) no-repeat center;
  background-size: contain;
}
.custom__tabbed-content .custom__quote::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 2rem;
  background: url(/~/media/Images/C/chesnara/Universal/custom-components/custom-tabs/quote-after.svg) no-repeat center;
  background-size: contain;
} 
.custom__tabbed-content .custom__quote .quote-text blockquote{
  margin-bottom: 0;
}
.custom__tabbed-content .custom__quote .quote-text__author {
  margin-top: var(--sm-1);
}

/*For Tabs background Variation */

.custom__tabbed-content.tabs-bg-variant .active.tabs__link:nth-child(1){
  background: var(--primary-1-700);
  color: var(--base-10);
}
.custom__tabbed-content.tabs-bg-variant .active.tabs__link:nth-child(2){
  background: var(--secondary-2-700);
  color: var(--base-10);
}
.custom__tabbed-content.tabs-bg-variant .active.tabs__link:nth-child(3){
  background: #B90541;
  color: var(--base-10);
}
.custom__tabbed-content.tabs-bg-variant .active.tabs__link:nth-child(4){
  background: #591654;
  color: var(--base-10);
}
@media (min-width: 1024px) {
  .custom__tabbed-content .custom__quote {
    padding: 7.6rem 12.4rem;
  }
}
@media (max-width: 767px) {
  .custom__tabbed-content .tabs__link{
    font-size: var(--nav-s-font-size);
    line-height: var(--nav-s-line-height);
  }
  .custom__tabbed-content .image-stats__wrapper img{
   width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .custom__tabbed-content .custom__quote::before,
  .custom__tabbed-content .custom__quote::after {
    width: 1.8rem;
    height: 1.8rem;
  }
  .custom__tabbed-content .custom__quote::before {
    top: 2rem;
  }
  .custom__tabbed-content .expandable-content{
  padding:  var(--md-1) var(--sm-4);
  margin-top: var(--sm-4);
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .custom__tabbed-content .custom__quote::before,
  .custom__tabbed-content .custom__quote::after {
    width: 3.6rem;
    height: 3.6rem;
  }
  .custom__tabbed-content .image-stats__wrapper img{
    height: 20rem;
    display: block;
  }
  .custom__tabbed-content .stats .stats__item {
    min-height: 20rem;
}
}

.hasjs .custom__tabbed-content[data-animate]{
opacity: 1!important;
}