﻿.cover {
  position: relative;
  margin-top: -4.5rem;
  padding-top: 4.5rem;
  background-color: #f7fcff;
}
.cover .overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../images/home-intro.svg");
  background-color: #f7fcff;
  opacity: 0.1;
}
.cover .container {
  position: relative;
  z-index: 10;
}

.swiper-arrows-outside {
  position: relative;
}
.swiper-arrows-outside .swiper-button-prev,
.swiper-arrows-outside .swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 1;
}
.swiper-arrows-outside .swiper-button-prev::after,
.swiper-arrows-outside .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-cyan-500);
}
.swiper-arrows-outside .swiper-button-prev {
  left: -64px;
  right: auto;
}
.swiper-arrows-outside .swiper-button-next {
  right: -64px;
  left: auto;
}
.swiper-arrows-outside .swiper-pagination {
  position: initial;
}
.swiper-arrows-outside .swiper-pagination .swiper-pagination-bullet {
  background: #808080;
}
.swiper-arrows-outside .swiper-pagination .swiper-pagination-bullet-active {
  width: 2rem;
  border-radius: 6px;
  background-color: var(--color-cyan-500);
}

.story-thumb .ti {
  display: none;
}
.story-thumb:hover .ti {
  display: block;
}

@media (max-width: 991.98px) {
  .swiper-arrows-outside .swiper-button-prev {
    left: 8px;
  }
  .swiper-arrows-outside .swiper-button-next {
    right: 8px;
  }
}
.glow-on-hover {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 0;
  border-radius: 16px;
}

.glow-on-hover:before {
  content: "";
  background: linear-gradient(45deg, #ecfeff, #a5f3fc, #22d3ee, #67e8f9, #cffafe, #a5f3fc, #22d3ee, #67e8f9, #cffafe);
  position: absolute;
  top: 0;
  left: 0;
  background-size: 200%;
  z-index: -1;
  filter: blur(10px);
  width: 100%;
  height: 100%;
  animation: glowing 10s linear infinite;
  transition: opacity 0.5s ease-in-out;
  border-radius: 16px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 200% 0;
  }
  100% {
    background-position: 0 0;
  }
}
