/* --------------------
   Section Award
-------------------- */
.section-award {
  position: relative;
  overflow-x: clip;
}

.section-award__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  height: min(72%, 520px);
  max-width: 1440px;
  margin: 0 auto;
  background-image: var(--section-award-bg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

.section-award__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      top / 100% clamp(60px, 14vh, 140px) no-repeat,
    linear-gradient(to top, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      bottom / 100% clamp(100px, 22vh, 220px) no-repeat,
    linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      left / clamp(48px, 10vw, 140px) 100% no-repeat,
    linear-gradient(to left, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      right / clamp(48px, 10vw, 140px) 100% no-repeat;
}

.section-award > .container {
  position: relative;
}

.section-award .section-title {
  margin-bottom: 0;
}

.section-award .section-title .title-heading {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-award .section-description {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.9;
  margin: 0 auto;
  max-width: 34rem;
}

.section-award__sw {
  width: 100%;
  margin-top: var(--space-head);
}

.section-award .swiper-award {
  width: 100%;
}

.swiper-award .swiper-slide {
  width: min(58vw, 220px);
  height: auto;
  flex-shrink: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.section-award .award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section-award .award-item__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* aspect-ratio: 3 / 4; */
  overflow: hidden;
  background-color: #f8f8f8;
  border-radius: 28px;
  transition: 0.3s ease;
}

.section-award .award-item__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.section-award .award-item:hover .award-item__img {
  transform: scale(1.04);
}

.section-award .award-item__caption {
  display: block;
  margin-top: 1rem;
  color: var(--text);
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.section-award .award-item:hover .award-item__caption {
  color: var(--color1);
}

.section-award .sw-navigation {
  margin: 0 !important;
}

.section-award .sw-navigation.sw-between .swiper-nav-next,
.section-award .sw-navigation.sw-between .swiper-nav-prev {
  --award-slide-w: min(58vw, 220px);
  position: absolute;
  top: 50%;
  margin: 0;
  z-index: 3;
  transform: translateY(calc(-50% - 1.25rem));
}

.section-award .sw-navigation.sw-between .swiper-nav-next {
  right: max(4px, calc(50% - var(--award-slide-w) - 4px));
}

.section-award .sw-navigation.sw-between .swiper-nav-prev {
  left: max(4px, calc(50% - var(--award-slide-w) - 4px));
}

/* .section-award .swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
} */

@media (width >= 768px) {
  .section-award .section-description {
    font-size: 16px;
  }

  .swiper-award .swiper-slide {
    width: min(28vw, 220px);
    padding: 0 10px;
  }

  .section-award .award-item__media {
    border-radius: 32px;
  }

  .section-award .award-item__caption {
    margin-top: 1.25rem;
    font-size: 1.125rem;
  }

  .section-award .sw-navigation.sw-between .swiper-nav-next,
  .section-award .sw-navigation.sw-between .swiper-nav-prev {
    --award-slide-w: min(28vw, 220px);
  }

  .section-award .sw-navigation.sw-between .swiper-nav-next {
    right: calc(50% - var(--award-slide-w) - 20px);
  }

  .section-award .sw-navigation.sw-between .swiper-nav-prev {
    left: calc(50% - var(--award-slide-w) - 20px);
  }
}

@media (width >= 992px) {
  .swiper-award .swiper-slide {
    width: min(18vw, 240px);
    padding: 0 10px;
  }

  .section-award .sw-navigation.sw-between .swiper-nav-next,
  .section-award .sw-navigation.sw-between .swiper-nav-prev {
    --award-slide-w: min(18vw, 240px);
  }

  .section-award .sw-navigation.sw-between .swiper-nav-next {
    right: calc(50% - (var(--award-slide-w) * 1.5) - 8px);
  }

  .section-award .sw-navigation.sw-between .swiper-nav-prev {
    left: calc(50% - (var(--award-slide-w) * 1.5) - 8px);
  }
}

@media (width >= 1200px) {
  .swiper-award .swiper-slide {
    width: 267px;
    padding: 0 10px;
  }

  .section-award .sw-navigation.sw-between .swiper-nav-next,
  .section-award .sw-navigation.sw-between .swiper-nav-prev {
    --award-slide-w: 267px;
  }

  .section-award .sw-navigation.sw-between .swiper-nav-next {
    right: calc(50% - 440px);
  }

  .section-award .sw-navigation.sw-between .swiper-nav-prev {
    left: calc(50% - 440px);
  }
}

@media (width < 768px) {
  .section-award .swiper-award {
    overflow: visible;
  }
}
