/* ---------- 區塊右邊 ---------- */
/* 水平滾動容器 */
.scroll-container-outer {
  width: 100%;
  overflow: hidden;
}
.scroll-container-inner {
  display: flex;
  overflow-x: auto;
  padding: 0;
}
.scroll-items-container {
  display: flex;
  width: 100%;
}
/* 區塊樣式 */
.scroll-item {
  flex: 0 0 auto;
  width: calc((100% - 45px) / 3.2);
  margin-right: 15px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
}
.scroll-item:last-child {
  margin-right: 0;
}
/* .scroll-item:hover .arrow-right {
  display: block;
} */
.scroll-items-container > a > div {
  width: 100%;
}
.award-img img {
  aspect-ratio: 305/ 395;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.award-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.award-title {
  font-size: 19px;
  font-weight: 500;
  font-family: ZenAntiqueSoft-Regular;
  color: var(--dark-text-second-color);
  margin: 12px 0;
}
.award-text {
  font-size: 12px;
  font-weight: 400;
  font-family: GenRyuMin2TC-R;
  color: var(--dark-text-third-color);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.arrow-right {
  display: none;
}
.arrow-right img {
  width: 28px;
}

/* 圖片懸浮 */
.gradient-item {
  position: relative;
}
.gradient-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gradient-text {
  font-size: 13px;
  font-family: GenRyuMin2TC-R;
  color: var(--dark-text-third-color);
  line-height: 2.4em;
  padding: 20px;
  text-align: left;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  width: 100%;
  max-height: 65%;
  overflow-y: auto;
}
.gradient-item:hover .gradient-overlay {
  opacity: 1;
}
.gradient-item:hover .gradient-text {
  transform: translateY(0);
}
.gradient-item:hover .gradient-image {
  transform: scale(1.1);
}
/* 手機版版型 */
.award-mobile-container {
  display: none;
}


@media screen and (max-width:992px) {
  /* ---------- 區塊右邊 ---------- */
  /* 水平滾動容器 */
  .scroll-container-inner {
    padding: 20px 0 10px;
  }
  .scroll-items-container {
    display: block;
    width: 100%;
  }
  /* 區塊樣式 */
  .scroll-item {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
  }
  .award-img img {
    aspect-ratio: 216/ 327;
    height: auto;
  }
  /* 電腦版版型 */
  .award-img, .award-title-container {
    display: none;
  }
  /* 手機版版型 */
  .award-mobile-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
  }
  .award-mobile-item:first-child {
    grid-column: span 2;
  }
  .award-mobile-item:last-child {
    grid-column: span 3;
  }
  .award-mobile-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .award-mobile-item > div:first-child {
    width: 90%;
  }
  .award-title {
    font-size: 14px;
    margin: -3px 0 12px;
  }
  .award-text {
    font-size: 12px;
    line-height: 1.5em;
  }
  .arrow-mobile-right {
    width: 28px;
    align-self: flex-end;
    display: none;
  }
}