/* grid filter */

.component-portfolio-references {
  padding-bottom: 66px;
}

.component-portfolio-references .pxl-grid-filter {
  margin: 64px 0;
}

.component-portfolio-references .pxl-grid-filter .filter-item {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #596980;
  padding: 8px 0;
  text-transform: none;
}

.component-portfolio-references .pxl-grid-filter .filter-item.active {
  font-weight: 600;
  color: #111725;
}

.component-portfolio-references .pxl-grid-filter .filter-item.active::before,
.component-portfolio-references .pxl-grid-filter .filter-item:hover::before {
  height: 2px;
  bottom: 0;
  background-color: #0d84f2;
}

.component-portfolio-references .pxl-grid-filter .filter-item .filter-item-count {
  top: 3px;
}

/* grid variants: references 1, 2, 3 */

/*** 1 ***/

.component-portfolio-references.references-1 {
  padding: 96px 0 !important;
}

.component-portfolio-references.references-1 .pxl-carousel-inner {
  border-radius: 24px;
}

.component-portfolio-references.references-1
  .pxl-portfolio-carousel2
  .pxl-swiper-slide
  .pxl-post--inner {
  height: 640px;
}

.component-portfolio-references.references-1
  .pxl-portfolio-carousel2
  .pxl-swiper-slide
  .pxl-post--inner
  .pxl-post--holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 64px;
}

.component-portfolio-references.references-1
  .pxl-portfolio-carousel2
  .pxl-swiper-slide
  .pxl-post--inner
  .pxl-post--holder {
  flex-direction: column-reverse;
}

.component-portfolio-references.references-1
  .pxl-portfolio-carousel2
  .pxl-swiper-slide
  .pxl-post--inner
  .pxl-post--holder {
  padding: 24px 24px 64px 24px !important;
}

.component-portfolio-references.references-1 .pxl-swiper-slide {
  padding: 0;
}

.component-portfolio-references.references-1 .pxl-swiper-slide .pxl-post--inner .pxl-post--title,
.component-portfolio-references.references-1 .pxl-swiper-slide .pxl-post--inner .pxl-post--title a {
  font-weight: 600;
  font-size: 24px !important;
  line-height: 32px !important;
  color: #ffffff;
}

.component-portfolio-references.references-1
  .pxl-portfolio-carousel2
  .pxl-swiper-slide
  .pxl-post--inner
  .pxl-post--holder
  .pxl-post--title
  a:hover {
  text-decoration: underline;
}

.component-portfolio-references.references-1
  .pxl-portfolio-carousel2
  .pxl-swiper-slide
  .pxl-post--inner:hover
  .pxl-post--holder {
  background-color: transparent;
}

.component-portfolio-references.references-1
  .pxl-portfolio-carousel2
  .pxl-swiper-slide
  .pxl-post--inner:hover
  .pxl-post--content,
.component-portfolio-references.references-1
  .pxl-swiper-slide
  .pxl-post--inner
  .pxl-post-content-hide,
.component-portfolio-references.references-1
  .pxl-portfolio-carousel2
  .pxl-swiper-slide
  .pxl-post--inner:hover
  .divider {
  display: none;
}

.component-portfolio-references.references-1 .pxl-swiper-slide .pxl-post--inne .pxl-post--category,
.component-portfolio-references.references-1
  .pxl-swiper-slide
  .pxl-post--inner
  .pxl-post--category
  a {
  color: #ffffff !important;
}

@media screen and (max-width: 767px) {
  .component-portfolio-references.references-1 {
    padding: 0 0 64px 0 !important;
  }
}

/*** 2 ***/

.component-portfolio-references.references-2 .pxl-post--inner {
  height: 516px;
  border-radius: 24px;
  overflow: hidden;
  background-color: white;
}

.component-portfolio-references.references-2 .pxl-post--inner .pxl-post--featured img {
  position: relative;
  z-index: 2;
  height: 392px;
  border-radius: 24px;
  object-fit: cover;
}

.component-portfolio-references.references-2 .pxl-post--inner:hover .pxl-post--featured img {
  filter: none !important;
  height: 248px;
}

.component-portfolio-references.references-2 .pxl-post--holder {
  padding: 32px 24px !important;
  position: relative !important;
}

.component-portfolio-references.references-2 .pxl-post--inner:hover .pxl-post--holder .divider {
  width: 63px !important;
}

.component-portfolio-references.references-2 .pxl-post--inner .pxl-post--title {
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;
  color: #111725;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
}

.component-portfolio-references .pxl-post--inner .pxl-post--category {
    pointer-events: none;
}

.component-portfolio-references.references-2 .pxl-post--inner .pxl-post--category {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #596980;
}

.component-portfolio-references.references-2 .pxl-post-content-hide {
  margin-bottom: -80px !important;
}

.component-portfolio-references.references-2 .pxl-post-content-hide .pxl-post--content {
  margin-bottom: 16px !important;
}

.component-portfolio-references.references-2 .pxl-post-content-hide .btn-readmore {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #07468d;
  border-radius: 100%;
  margin: 0 auto;
}

.component-portfolio-references.references-2 .pxl-post-content-hide .btn-readmore::after {
  content: "";
  width: 24px;
  height: 24px;
  background-image: url(/wp-content/uploads/2025/02/Frame-4.svg);
  background-position: center;
  background-size: cover;
}

.component-portfolio-references.references-2 .pxl-post-content-hide .btn-readmore svg {
  display: none;
}
