/* slideshow */
.yg-slideshow.yg-section {
  padding: 0;
}

.yg-slideshow-swiper {
  position: relative;
  width: 100%;
}

.yg-slideshow-button-next:hover rect,
.yg-slideshow-button-prev:hover rect { 
  fill: #01633D;
  fill-opacity: 1;
}

.yg-slideshow-pagination {
  position: absolute !important;
  top: auto !important;
  bottom: 32px !important;
  width: 100% !important;
}

.yg-slideshow-pagination .swiper-pagination-bullet {
  width: 80px !important;
  background: rgba(255, 255, 255, .5) !important;
}

.yg-slideshow-pagination .swiper-pagination-bullet-active {
  background: #FFFFFF !important;
}

.yg-slideshow-item::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  pointer-events: none;
  background: linear-gradient(
  0deg,
  rgba(0, 0, 0, .5) 0%,
  rgba(3, 52, 33, 0) 100%
  );
}

.yg-slideshow-item-content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: calc(650px + calc(2 * max(80px, calc((100% - 1280px) / 2))));
  padding-inline: max(80px, calc((100% - 1280px) / 2));
  padding-block: 80px;
  color: #FFFFFF;
}

.yg-slideshow-item-title {
  color: #FFFFFF;
}

.yg-slideshow-item-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yg-slideshow-item-buttons>* {
  display: inline-block;
  margin-top: 30px;
}

.yg-slideshow-item-buttons>*:nth-child(2) {
  margin-left: 12px;
  border: 1px solid #FFFFFF !important;
  background: rgba(255, 255, 255, .1) !important;

  backdrop-filter: blur(2px) !important;
}

@media (min-width: 1800px) {
  .yg-slideshow-button-next ,
  .yg-slideshow-button-prev { 
    width: 48px !important;
    height: 48px !important;
  }
}

@media (min-width: 768px) {
  .yg-content-horizontal-left {
    left: 0;
    text-align: left;
  }
  .yg-content-horizontal-right {
    right: 0;
    text-align: right;
  }

  .yg-content-horizontal-center {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .yg-content-vertical-top {
    top: 0;
  }
  .yg-content-vertical-bottom {
    bottom: 0;
  }
  .yg-content-vertical-center {
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 767px) {
  .yg-slideshow-pagination {
    bottom: 16px !important;
  }
  .yg-slideshow-item-content {
    padding-inline: 20px;
    padding-block: 48px;
  }

  .yg-slideshow-item-buttons>* {
    margin-top: 14px;
  }

  .yg-slideshow-item-buttons>*:nth-child(2) {
    margin-left: 8px;
  }

  .yg-content-horizontal-mobile-left {
    left: 0;
  }

  .yg-content-horizontal-mobile-right {
    right: 0;
  }
  .yg-content-horizontal-mobile-center {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .yg-content-vertical-mobile-top {
    top: 0;
  }
  .yg-content-vertical-mobile-bottom {
    bottom: 0;
  }

  .yg-content-vertical-mobile-center {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* end slideshow */

/* yg category */

.yg-category .yg-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.yg-category .yg-left-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yg-category .yg-section-header .button-secondary {
  background-color: #E3E3E3 !important;
}

.yg-category .yg-category-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}

.yg-category .yg-category-image {
  overflow: hidden;
}

.yg-category .yg-category-image img {
  transition: all .3s ease-in-out;
}

.yg-category .yg-category-item:hover img {
  transform: scale(1.05);
}

.yg-category .yg-category-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  padding-top: 48px;
  color: #FFFFFF;
  background: linear-gradient(0deg, rgba(3, 52, 33, .60) 0%, rgba(3, 52, 33, .00) 100%);

  backdrop-filter: blur(20px);
  -webkit-mask: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  mask: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 767px) {
  .yg-category .yg-section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .yg-category .yg-category-list {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }

  .yg-category .yg-category-title {
    font-size: 16px;
    padding: 12px 16px;
    padding-top: 32px;
  }

  .yg-category .yg-category-image img {
    aspect-ratio: 1 !important;
    object-fit: cover;
  }
}

