/* Nesty Content — Work Carousel (cew-wc) */

.cew-wc {
  width: 100%;
}

.cew-wc__label {
  color: #131313;
  font-family: "Aileron";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 20.8px; /* 104% */
  letter-spacing: -0.48px;
  text-transform: uppercase;
}

.cew-wc__cat {
  margin-bottom: 40px;
}

.cew-wc__cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 12px;
}

.cew-wc__cat:nth-child(2) .cew-wc__cat-header{
  margin-bottom: 16px;
}

.cew-wc__cat-title {
  color: #131313;
  font-family: "Libre Caslon Condensed";
  font-size: 72px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -4.575px;
  font-style: italic;
}

.cew-wc__cat-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cew-wc__arrow {
  width: 40px !important;
  height: 40px !important;
  background: #131313 !important;
  border: none !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #F5F5F5 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: none !important;
  opacity: 1 !important;
}
.cew-wc__arrow svg {
  width: 40px !important;
  height: 40px !important;
  display: block !important;
}
.cew-wc__arrow.swiper-button-lock {
  display: none !important;
}

.cew-wc__arrow--mob {
  display: none !important;
}

.cew-wc__swiper-wrap {
  position: relative;
}

.cew-wc__swiper {
  overflow: hidden;
}

.cew-wc__slide {
  width: 330px;
  flex-shrink: 0;
}

.cew-wc__media {
  background: transparent;
  position: relative;
  width: 100%;
  height: 577px;
  overflow: hidden;
  border-radius: 24px;
  display: block;
}

.cew-wc__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cew-wc__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

[data-play-mode="hover"] .cew-wc__slide--video .cew-wc__media {
  cursor: pointer;
}

.cew-wc__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cew-wc__play-btn:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}
.cew-wc__play-btn svg {
  width: 24px;
  height: 24px;
  fill: #131313;
  display: block;
  margin-left: 3px;
}

.cew-wc__slide--video.is-playing .cew-wc__play-btn {
  opacity: 0;
  pointer-events: none;
}

.cew-wc__empty {
  padding: 24px;
  border: 1px dashed #ccc;
  text-align: center;
  color: #999;
  font-size: 13px;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .swiper-slide {
    height: auto;
  }
  .cew-wc__slide {
    width: 100% !important;
  }
  .cew-wc__media {
    height: 627px !important;
  }

  .cew-wc__cat-nav {
    display: none;
  }

  .cew-wc__arrow--mob {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
  }
  .cew-wc__arrow--mob-prev { left: 0; }
  .cew-wc__arrow--mob-next { right: 0; }
}

@media (max-width:576px) {
  .cew-wc__label {
    font-size: 14px;
    line-height: 20.8px;
    letter-spacing: -0.48px;
  }
  .cew-wc__cat-title {
    font-size: 36px;
    line-height: normal;
    letter-spacing: -3.2px;
  }

  .cew-wc__cat-header {
    margin-bottom: 16px;
  }
}