.scale-light .scale-case-study__header-subtitle,
.scale-light .scale-case-study__header-title,
.scale-light .scale-case-study__description,
.scale-light .scale-case-study__description p,
.scale-light .scale-case-study__item-title a {
  color: var(--clr-text-lt);
}
.scale-dark .scale-case-study__header-subtitle,
.scale-dark .scale-case-study__header-title,
.scale-dark .scale-case-study__description,
.scale-dark .scale-case-study__description p,
.scale-dark .scale-case-study__item-title a {
  color: var(--clr-text-dk);
}
.scale-light .scale-case-study__item-inner {
  background-color: var(--clr-accent-lt);
  color: var(--clr-text-lt);
}
.scale-dark .scale-case-study__item-inner {
  background-color: var(--clr-accent-dk);
  color: var(--clr-text-dk);
}
.scale-case-study__item-title a:hover {
  color: var(--clr-primary);
}
.scale-case-study__section:before {
  background: linear-gradient(0deg,#e9e1ff,rgba(233,225,255,0));
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: rotate(180deg)
}

.scale-case-study__bg-layer {
  align-items: center;
  display: flex;
  justify-content: center;
  left: 50%;
  opacity: .6;
  position: absolute;
  top: 378px;
  transform: translateY(-50%);
  pointer-events: none;
}

.scale-case-study__bg-layer span {
  background: radial-gradient(50% 50% at 50% 50%,hsla(0,0%,100%,0) 0,#d5b5ff 100%);
  border-radius: 100%;
  box-shadow: 0 0 35.881px 0 hsla(0,0%,100%,.7);
  position: absolute
}

.scale-case-study__bg-layer span:first-child {
  height: 765.04px;
  opacity: .4;
  width: 765.04px
}

.scale-case-study__bg-layer span:nth-child(2) {
  height: 999.488px;
  opacity: .4;
  width: 999.488px
}

.scale-case-study__bg-layer span:nth-child(3) {
  height: 1229px;
  opacity: .3;
  width: 1229px
}

.scale-case-study:before {
  background: #fff;
  filter: blur(200px);
  left: 198px;
  opacity: .5;
  top: -229px;
  z-index: 3;
}

.scale-case-study:after,.scale-case-study:before {
  content: "";
  height: 703px;
  position: absolute;
  width: 703px
}

.scale-case-study:after {
  background-color: #ff724f;
  border-radius: 100vw;
  filter: blur(200px);
  opacity: .2;
  right: -183px;
  top: -183px
}
.scale-case-study-bg-overlay-light {
  height: 1260px;
  position: absolute;
  width: 100%;
  background: linear-gradient(0deg, #FFFDF5 0%, rgba(255, 253, 245, 0) 100%);
  opacity: 0.6;
  top: 0;
  left: 0;
  z-index: 2;
}
.page-center.scale-case-study--standard {
  position: relative;
  z-index: 4;
}

.scale-case-study {
  position: relative;
}
.scale-case-study-bg-overlay {
  height: 1260px;
  position: absolute;
  width: 100%;
  opacity: 0.6;
  background: linear-gradient(180deg, #E9E1FF 0%, rgba(233, 225, 255, 0) 100%);
  top: 0;
  left:0;
}
.scale-case-study__header:before,.scale-case-study__header:after {
  content: '';
  height: 45px;
  width: 45px;
  display: block;
  background: #FF8A59;
  border-radius: 50%;
  position: absolute;
}

.scale-case-study__header:before {
  left: 0;
  top: -8%;
}

.scale-case-study__header:after {
  bottom: 12%;
  right: 0;
  background: #8158EE;
}

{# Blog Header #}
.scale-case-study__header {
  text-align: center;
  position: relative;
  max-width: 976px;
  margin: 0 auto;
  padding: 0 60px;
  margin-bottom: 48px;
}
{# Tags #}
.scale-case-study__tags {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  position: relative;
  margin-bottom: 80px;
}
.scale-case-study__tags-list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap:wrap;
  column-gap: 8px;
  row-gap: 15px;
  scroll-snap-type: x mandatory;
  margin: 0;
  justify-content: center;
}
.scale-case-study__tags-list::-webkit-scrollbar {
  display: none;
}
.scale-case-study__tags-list li {
  scroll-snap-align: start;
}
.scale-case-study__tags-list.is-dragging {
  cursor: grabbing;
}
.scale-case-study__tags-list li button {
  border-radius: 200px;
  border: 1px solid var(--clr-text-lt);
  display: inline-block;
  padding: 6px 14px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  color: var(--clr-text-lt);
  transition:0.15s;
  white-space: nowrap;
  flex: 0 0 auto !important;  
  background: transparent;
}

.scale-case-study__tags-list li button.active,.scale-case-study__tags-list li button:hover {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}

{# Listing #}
.scale-case-study__items {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -14px;
}
.scale-case-study__col {
  padding: 0 14px;
  width: 100%;
  overflow: hidden;
}
.scale-case-study__box {
  display: flex;
  position: relative;
  min-height: 400px;
  color: #fff !important;
  border-radius: 60px;
  overflow: hidden;
  transition: 0.4s;
  background: var(--clr-text-lt);
}
.scale-case-study__image-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scale-case-study__box-header-content {
  position: relative;
  padding: 38px 28px 38px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  z-index:2;
}
.scale-case-study__title {
  font-size: 126px;
  font-style: normal;
  font-weight: 700;
  line-height: 100px; /* 117.46% */
  letter-spacing: -2.52px;
  color: #fff;
  margin: 0;
}

.scale-case-study__sub-title {
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 123.077% */
  letter-spacing: -0.52px;
  margin-bottom: 8px;
}

.scale-case-study__tag {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  padding: 5px 18px;
  background: rgba(255, 255, 255, 0.80);
  border-radius: 100px;
  border-radius: 100px;
  display: inline-block;
  margin-right: 20px;
  color: var(--clr-text-lt);
}

.scale-case-study__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scale-case-study__image-bg:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000004D;
  z-index:1;
}
.scale-case-study__image-bg img {
  width: 100%;
  height: 100% !important;
  object-position: center;
  object-fit: cover;
  transition: 0.4s;
}
.scale-case-study__box:hover .scale-case-study__image-bg img {
  transform: scale(1.1);
}
.scale-case-study__logo {
  margin-bottom: 30px;
}
.scale-case-study__items {
  row-gap: 28px;
}
.scale-case-study__box:hover svg {
  transform: rotate(45deg);
}

.scale-case-study__box svg {
  transition: 0.4s;
}
.scale-case-study__box:hover svg {
  transform: rotate(45deg);
}

.scale-case-study__box:hover rect {
  fill: #f8f0ff;
}

.scale-case-study__box:hover path {
  fill: #8158ee;
}
@media(max-width:991px){
  .scale-case-study__tags {
    margin-bottom: 40px;
    text-align: center;
  }
}
@media(max-width:767px){
  .scale-case-study__header:before, .scale-case-study__header:after {
    display: none;
  }
  .scale-case-study__header {
    padding: 0;
  }
  .scale-case-study:after {
    display: none;
  }
  .scale-case-study__header {
    margin-bottom: 28px;
  }
  .scale-case-study__tags {
    margin-bottom: 24px;
  }
  .scale-case-study__tags__mob-tag-btn {
    border-radius: 200px;
    border: 1px solid var(--clr-text-lt);
    padding: 5px 15px;
    width: 282px;
    text-align: left;
    display: inline-flex;
    justify-content: space-between;
    background: transparent;
    color: var(--clr-text-lt);
  }
  .scale-case-study__tags__mob-tag-btn:hover,
  .scale-case-study__tags__mob-tag-btn:focus{
    background: inherit;
    color: inherit;
  }
  .scale-case-study__tags-list {
    gap: 8px;
    justify-content: flex-start;
  }
  .scale-case-study__tags-list {
    display: none;
    margin-top: 24px;
  }
  .scale-case-study__tags-list.is-open {
    display: flex;
  }
  .scale-case-study__tags__mob-tag-btn.is-open svg {
    transform: rotate( 180deg);
  }
  .scale-case-study__title {
    font-size: 100px;
    line-height: 1;
  }
  .scale-case-study:after {
    position: absolute;
    width: 454px;
    height: 454px;
    left: -246px;
    top: 670px;
    background: #FF724F;
    mix-blend-mode: normal;
    opacity: 0.2;
    filter: blur(200px);
    content: '';
    display:block;
    z-index: 3;
  }
}
@media(min-width:768px){
  .scale-case-study__tags__mob-tag-btn {
    display: none;
  }
  .scale-case-study__col {
    width: 50%;
  }
}