.full-slide {
  height: 100vh;
  overflow: hidden;
}

.full-slide .swiper,
.full-slide .swiper-wrapper,
.full-slide .swiper-slide {
  height: 100vh;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  height: 500px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.csss-content {
  max-width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.csss-content.left {
  align-items: flex-start;
  text-align: left;
}

.csss-content.center {
  align-items: center;
  text-align: center;
}

.csss-content h2 {
  font-size: var(--font-size-56);
  font-family: var(--focus-font);
  font-weight: var(--font-weight-500);
  line-height: var(--line-height-120);
  margin: 0;
  word-break: var(--wb-keep-all);
  color: rgb(var(--color-white));
  width: 70%;
}

.csss-content p {
  font-size: var(--font-size-16);
  font-family: var(--main-font);
  font-weight: var(--font-weight-400);
  line-height: var(--line-height-160);
  word-break: var(--wb-keep-all);
  color: rgb(var(--color-white));
  width: 50%;
}

.animate-h2,
.animate-p {
  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
}

.animate-h2.animate-in {
  animation: fadeDown 0.6s ease-out forwards;
}

.animate-p.animate-in {
  animation: fadeUp 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.csss-content a {
  padding: 8px 16px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.csss-align-wrapper {
  display: flex;
  height: 100%;
  align-items: center;
}

.csss-align-wrapper.left {
  justify-content: flex-start;
}

.csss-align-wrapper.center {
  justify-content: center;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px !important;
}

.csss-align-wrapper.left {
  justify-content: flex-start;
}

.csss-align-wrapper.center {
  justify-content: center;
}

/* 슬라이드 전체 영역 내부 정렬 제거 */

.swiper-slide {
  display: block;
}

.mySwiper .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 16%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

/* 콘텐츠 wrapper가 정렬 담당 */

.csss-align-wrapper {
  display: flex;
  height: 100%;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 500px;
  z-index: 2;
  position: relative;
}

.csss-align-wrapper.left {
  justify-content: flex-start;
  text-align: left;
}

.csss-align-wrapper.center {
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.csss-content.left {
  align-items: flex-start;
  text-align: left;
  z-index: 2;
}

.csss-content.center {
  align-items: center;
  text-align: center;
}

/* swiper-slide에서 정렬 클래스 지정 시 내부 정렬 반영 */

.swiper-slide.left .csss-align-wrapper {
  justify-content: flex-start;
  text-align: left;
}

.swiper-slide.center .csss-align-wrapper {
  justify-content: center;
  text-align: center;
}

.swiper-slide.left .csss-content {
  align-items: flex-start;
  text-align: left;
}

.swiper-slide.center .csss-content {
  align-items: center;
  text-align: center;
}

.custom-slide-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
}

.custom-slide-shapes .shape {
  opacity: 0;
  transform: scale(0.8);
  position: absolute;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.shape-top-left {
  top: 0;
  left: 0;
  animation: slideInLeftToRight 0.6s ease forwards;
  animation-delay: 0.2s;
}

.shape-bottom-right {
  bottom: 0;
  right: 0;
  animation: slideInRightToLeft 0.6s ease forwards;
  animation-delay: 0.4s;
}

.shape-middle-left {
  top: 50%;
  left: 240px;
  animation: slideInLeftToRight 0.6s ease forwards, floating 2s ease-in-out 0.6s infinite;
}

.shape-middle-right {
  top: 40%;
  right: 240px;
  animation: slideInRightToLeft 0.6s ease forwards, floating 2s ease-in-out 0.8s infinite;
}



@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInLeftToRight {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRightToLeft {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .csss-align-wrapper {
    align-items: center;
  }
  .csss-content {
    max-width: 100%;
    padding: 0 24px 56px 24px;
  }
  .csss-content h2 {
    font-size: var(--font-size-32);
    width: 100%;
  }
  .csss-content p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: 100%;
  }
}