.case-studies-filter {
  background: var(--gray);
  /* TABLET */
  /* END TABLET */
  /* MOBILE */
  /* MOBILE END */
}
.case-studies-filter .wrap {
  max-width: 1440px;
  padding: 70px 80px 140px;
}
.case-studies-filter__options {
  list-style: none;
  display: flex;
  max-width: 1134px;
  background: #F5F5F7;
  border-radius: 5px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 25px;
  margin: 0 auto 50px;
}
.case-studies-filter__options-item {
  display: block;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 19px;
  color: #222129;
  margin-right: 40px;
  cursor: pointer;
  transition: 0.2s color;
  text-transform: uppercase;
}
.case-studies-filter__options-item:hover {
  color: #cacbcc;
}
.case-studies-filter__options-item_current {
  color: #cacbcc;
}
.case-studies-filter__options-item:last-child {
  margin-right: unset;
}
.case-studies-filter__posts {
  margin: 0 0 70px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 70px;
  column-gap: 30px;
  justify-content: space-between;
}
.case-studies-filter__posts-item {
  position: relative;
  background: var(--white);
  border-radius: 5px;
  min-height: 372px;
  transition: 0.4s box-shadow, 0.4s transform;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);
}
.case-studies-filter__posts-item:hover {
  box-shadow: 4px 4px 5px rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}
.case-studies-filter__posts-item_featured {
  position: relative;
  grid-column: 1/4;
  grid-row: 1;
  min-height: 316px;
  max-height: unset;
  padding-left: 40%;
}
.case-studies-filter__posts-item_featured .case-studies-filter__posts-item-title {
  min-height: unset;
}
.case-studies-filter__posts-item_featured .case-studies-filter__posts-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  margin-bottom: unset;
  border-radius: 5px 0 0 5px;
}
@media (max-width: 575px) {
  .case-studies-filter__posts-item_featured .case-studies-filter__posts-item-image {
    border-radius: 5px 5px 0 0;
  }
}
.case-studies-filter__posts-item_featured .case-studies-filter__posts-item-wrapper {
  position: relative;
  flex-basis: 100%;
  width: 100%;
  padding: 60px 30px 66px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.case-studies-filter__posts-item_featured:last-child {
  grid-row: 2;
}
.case-studies-filter__posts-item_featured .case-studies-filter__posts-item-learn-more {
  position: static;
}
.case-studies-filter__posts-item_featured .case-studies-filter__posts-item-subtitle {
  margin-bottom: 18px;
}
.case-studies-filter__posts-item-link {
  display: block;
  position: absolute;
  opacity: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.case-studies-filter__posts-item-image {
  width: 100%;
  height: 292px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 5px 5px 0 0;
}
.case-studies-filter__posts-item-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  padding: 40px 30px 60px;
  min-height: 218px;
}
.case-studies-filter__posts-item-title {
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
  margin-bottom: 20px;
  min-height: 93px;
}
.case-studies-filter__posts-item-subtitle {
  margin-bottom: 41px;
}
.case-studies-filter__posts-item-info {
  margin-bottom: 20px;
}
.case-studies-filter__posts-item-term {
  color: var(--primary--color);
}
.case-studies-filter__posts-item-learn-more {
  position: absolute;
  bottom: 60px;
  left: 30px;
  color: var(--primary--color);
}
.case-studies-filter__pagination {
  position: relative;
  display: flex;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  padding: 20px 89px;
  gap: 15px;
}
.case-studies-filter__pagination-space {
  display: inline-block;
  font-weight: bold;
  font-size: 18px;
  line-height: 25px;
  color: #222129;
  margin-right: 30px;
}
.case-studies-filter__pagination-link {
  color: var(--black);
}
.case-studies-filter__pagination-link:last-child {
  margin-right: unset;
}
.case-studies-filter__pagination-link_current {
  color: var(--primary--color);
}
.case-studies-filter__pagination-link_arrow {
  position: absolute;
  top: 8px;
  background-color: var(--white);
}
.case-studies-filter__pagination-link_arrow.btn-arrow.disabled:hover {
  background: var(--white);
}
.case-studies-filter__pagination-link_arrow_prev {
  left: 0;
}
.case-studies-filter__pagination-link_arrow_next {
  right: 0;
}
.case-studies-filter .gradient-card-post {
  display: flex;
  padding: 124px 24px;
  flex-direction: column;
  justify-content: space-around;
  color: var(--white);
  background: var(--gradient--color--main);
  gap: 20px;
}
.case-studies-filter .gradient-card-post .case-studies__posts-text-1,
.case-studies-filter .gradient-card-post .case-studies__posts-text-2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
}
.case-studies-filter .gradient-card-post .case-studies__posts-text-1 {
  margin-bottom: 3px;
}
.case-studies-filter .gradient-card-post .divider {
  margin: 50px 0;
  background: var(--white);
}
.case-studies-filter .gradient-card-post .divider__animation--cover {
  background: var(--white);
}
.case-studies-filter .gradient-card-post .btn-secondary {
  color: var(--white);
  border-color: var(--white);
  transition: border-width, background-color 0.8s cubic-bezier(0.6, 0, 0.2, 1);
  background-color: transparent;
  text-align: center;
  min-width: unset;
}
.case-studies-filter .gradient-card-post .btn-secondary:hover {
  color: var(--primary--color);
  background-color: var(--white);
  border-color: var(--white);
  border-width: 3px;
  animation: 1s jumpIcon;
}
@media only screen and (max-width: 960px) {
  .case-studies-filter .wrap {
    padding-left: 67px;
    padding-right: 67px;
  }
  .case-studies-filter__options {
    max-width: 676px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    padding: 25px 25px 0;
  }
  .case-studies-filter__options-item {
    margin-bottom: 25px;
  }
  .case-studies-filter .case-studies-filter__posts-item-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  .case-studies-filter__posts {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
  }
  .case-studies-filter__posts-item:last-child:nth-child(3n) {
    display: none;
  }
  .case-studies-filter__posts-item_featured {
    min-height: 228px;
    padding-left: 48%;
    grid-column: 1/3;
  }
  .case-studies-filter__posts-item_featured .case-studies-filter__posts-item-image {
    width: 48%;
    flex-basis: 48%;
  }
  .case-studies-filter__posts-item_featured .case-studies-filter__posts-item-wrapper {
    padding: 40px 60px 40px 40px;
  }
  .case-studies-filter__posts-item_featured .case-studies-filter__posts-item-subtitle {
    margin-bottom: 18px;
  }
  .case-studies-filter__pagination {
    max-width: 676px;
  }
}
@media only screen and (max-width: 575px) {
  .case-studies-filter .wrap {
    padding: 30px 24px 100px;
  }
  .case-studies-filter__options {
    max-width: 325px;
    margin: 0 auto 40px;
  }
  .case-studies-filter__posts {
    margin: 0 auto 40px;
    grid-template-columns: 1fr;
  }
  .case-studies-filter__posts-item-image {
    margin-bottom: 25px;
  }
  .case-studies-filter__posts-item-subtitle {
    margin-bottom: 18px;
  }
  .case-studies-filter__posts-item-wrapper {
    min-height: 215px;
  }
  .case-studies-filter__posts-item-learn-more {
    position: static;
  }
  .case-studies-filter__posts-item_featured {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    max-height: unset;
    min-height: 416px;
    grid-column: unset;
    padding-left: unset;
  }
  .case-studies-filter__posts-item_featured .case-studies-filter__posts-item-image {
    position: initial;
    flex-basis: unset;
    width: 100%;
    height: 292px;
    object-fit: cover;
    margin-bottom: 25px;
    max-width: unset;
  }
  .case-studies-filter__posts-item_featured .case-studies-filter__posts-item-wrapper {
    display: block;
    flex-direction: unset;
    align-items: unset;
    justify-content: unset;
    flex-basis: unset;
    padding: 40px 30px 60px;
  }
  .case-studies-filter__posts-item_featured:last-child {
    grid-row: unset;
  }
  .case-studies-filter__pagination {
    max-width: 325px;
  }
}

.lds-spinner {
  color: #000;
  display: block;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #000;
}

.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}