.fct-wrapper {
  padding: 24px 0 40px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #F1E7DD 80%);
}

.fct-wrapper-title {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
  padding: 32px 0 24px 0;
}

.fct-wrapper-title h2 {
  font-size: var(--font-size-40);
  font-weight: var(--font-weight-600);
  line-height: var(--line-height-120);
  color: rgba(var(--color-black), 1);
  text-align: center;
  word-break: var(--wb-keep-all);
  margin: 0 0;
  max-width: 50%;
}

.fct-wrapper-title h2 span {
  color: var(--color-steel-blue);
}

.fct-tabs {
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  background-color: rgba(var(--color-white), 1);
  width: max-content;
  margin: 0 auto 32px auto;
  padding: 8px;
  border-radius: 72px;
  gap: 8px;
}

.fct-tab {
  border: none;
  padding: 8px 16px;
  border-radius: 72px;
  cursor: pointer;
  background: transparent;
  color: rgba(var(--color-black), 0.65);
  font-size: var(--font-size-16);
  font-weight: var(--font-weight-400);
  line-height: var(--line-height-100);
}

.fct-tab.active {
  background: rgba(var(--prime-color), 1);
  color: rgba(var(--color-white), 1);
  font-size: var(--font-size-16);
  font-weight: var(--font-weight-500);
  line-height: var(--line-height-100);
}

.fct-content {
  padding: 0 0;
  position: relative;
}

.fct-swiper {
  visibility: hidden;
}

.fct-swiper.swiper-initialized {
  visibility: visible;
}

.fct-swiper .swiper-slide {
  padding: 0;
  min-height: unset !important;
  height: max-content;
  overflow: hidden;
  background-color: var(--color-prime-bg);
  border-radius: 0 0 16px 16px;
}

.fct-swiper .swiper-slide::before {
  content: none !important;
}

.fct-swiper .swiper-slide a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.fct-thumb {
  background-size: cover;
  background-position: center 30%;
  aspect-ratio: 4 / 3;
  border-radius: 16px 16px 0 0;
  background-repeat: no-repeat;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  max-height: 180px;
  width: 100%;
}

.fct-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  min-height: 100px;
  justify-content: space-between;
}

.fct-meta h3 {
  font-size: var(--font-size-24);
  font-weight: var(--font-weight-600);
  line-height: var(--line-height-120);
  color: rgba(var(--color-black), 1);
  margin: 0 0;
  word-break: var(--wb-keep-all);
}

.fct-meta p {
  font-size: var(--font-size-16);
  font-weight: var(--font-weight-400);
  line-height: var(--line-height-100);
  color: rgba(var(--color-black), 0.65);
  margin: 0 0;
}

.fct-swiper-nav {
  position: absolute;
  top: 43%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999999;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 40px;
}

.fct-swiper-button-prev,
.fct-swiper-button-next {
  width: 64px;
  height: 64px;
  background-color: rgba(var(--color-white), 0.6);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  pointer-events: all;
}

.fct-swiper-button-prev::before,
.fct-swiper-button-next::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid rgba(var(--color-black), 0.3);
  border-right: 2px solid rgba(var(--color-black), 0.3);
  transform: translate(-50%, -50%);
}

.fct-swiper-button-prev::before {
  transform: translate(-50%, -50%) rotate(-135deg);
  left: 55%;
}

.fct-swiper-button-next::before {
  transform: translate(-50%, -50%) rotate(45deg);
  left: 45%;
}

.fct-swiper-buttons {
  display: flex;
  width: 100%;
  justify-content: space-between;
  position: absolute;
  top: 17%;
  z-index: 1;
  padding: 0 40px;
  box-sizing: border-box;
}

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

@media (min-width: 961px) {
  .fct-swiper .swiper-wrapper {
    padding-left: 24px;
    /* 원하는 여백 */
  }
  .fct-swiper .swiper-slide {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.6s ease-out forwards;
  }
  .fct-swiper .swiper-slide:nth-child(1) {
    animation-delay: 0.1s;
  }
  .fct-swiper .swiper-slide:nth-child(2) {
    animation-delay: 0.2s;
  }
  .fct-swiper .swiper-slide:nth-child(3) {
    animation-delay: 0.3s;
  }
  .fct-swiper .swiper-slide:nth-child(4) {
    animation-delay: 0.4s;
  }
  .fct-swiper .swiper-slide:nth-child(5) {
    animation-delay: 0.5s;
  }
}

@media (max-width: 960px) {
  .fct-wrapper-title h2 {
    max-width: 100%;
    font-size: var(--font-size-32);
  }
  .fct-swiper-buttons {
    padding: 8px;
    top: 40%;
  }
  .fct-swiper-button-prev,
.fct-swiper-button-next {
  width: 48px;
  height: 48px;
  }
  .fct-wrapper {
    padding: 20px 24px;
  }
  .fct-tabs {
    scroll-padding-left: 24px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 8px 8px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
  }
  .fct-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 10px 16px;
    background-color: #f2f2f2;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    cursor: pointer;
  }
  .fct-tabs::-webkit-scrollbar {
    display: none;
  }
  .fct-thumb {
    max-height: 150px;
  }
}