.layout-wrap {
  margin-bottom: 60px;
}

.frame-theme-BODY, .frame-theme-BODY * {
  box-sizing: border-box;
}

.timeline-header {
  text-align: center;
}

.hashtag-wrap {
  margin-top: 36px;
  margin-bottom: 60px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 일반 이미지 */
.hashtag-wrap > .tl-hashtag {
  display: block;
  width: auto;
  height: auto;
}

/* 링크 */
.tl-hashtag-link {
  display: block;
  text-decoration: none;
  line-height: 0;
}

/* hover 이미지 기준점 */
.tl-hashtag-wrap {
  position: relative;
  display: block;
  line-height: 0;
}

/* 이미지 공통 */
.tl-hashtag-wrap .tl-hashtag {
  display: block;
  width: auto;
  height: auto;
}

/* 기본 이미지 */
.tl-hashtag-default {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* hover 이미지 */
.tl-hashtag-hover {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* hover */
.tl-hashtag-link:hover .tl-hashtag-default {
  opacity: 0;
}

.tl-hashtag-link:hover .tl-hashtag-hover {
  opacity: 1;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline-item {
  position: relative;
  width: 400px;
  height: fit-content;
  margin-top: 20%;
}

.timeline-item:first-of-type {
  margin-top: 10%;
}

.timeline-item.item-left {
  align-self: flex-start;
}
.timeline-item.item-right {
  align-self: flex-end;
}

.timeline-card {
  padding: 60px 24px;
  background-repeat: no-repeat;
  background-size: cover;
  height: fit-content;
  max-height: 520px;
  overflow: hidden;
}

.timeline-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;

  position: absolute;
  width: 100%;
  top: -20px;
  left: 0px;
}
.timeline-card-header .season-title.en {
  font-family: "birch-std", serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 6px;
  line-height: normal;
  text-transform: uppercase;
}
.timeline-card-header .season-title.kr {
  font-family: "optique-display", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: normal;
}
.timeline-card-header .tl-title-line {
  margin-bottom: 4px;
}

.season-thumb-box {
  position: relative;
  margin: 12px 0;
  padding: 1px;
}

.season-episodes {
  height: fit-content;
  max-height: 300px;
  overflow: auto;
  padding-right: 6px;
  margin-right: -6px;
}

.episode-part-item {
  margin: 12px 0 36px;
}
.episode-part-item:last-of-type {
  margin-bottom: 0px;
}

.episode-part-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  font-family: "optique-display", sans-serif;
  font-size: 20px;
  color: #ffffff;
  text-transform: uppercase;
}

.episode-part-desc {
  font-family: "Galmuri14", sans-serif;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.5;
  text-align: left;
  text-transform: uppercase;
  margin-top: 12px;
}

.timeline-admin-btn {
  position: absolute;
  bottom: 8px;
  right: 26px;
  opacity: 0;
}

.timeline-item:hover .timeline-admin-btn {
  opacity: 1;
}

.timeline-v-line {
  display: flex;
  position: absolute;
  left: 0px;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: calc(100% - 460px);
}

.timeline-v-line img:nth-of-type(2) {
  height: 100%;
  margin-top: -40px;
}
.timeline-v-line img:nth-of-type(3) {
  margin-top: -40px;
}

.timeline-write-action {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 999;
}

.timeline-item {
  opacity: 0;
  visibility: hidden;

  transition:
    opacity 1.2s ease,
    transform 1.2s ease,
    visibility 1.2s ease;
}

/* 왼쪽 시즌 */
.timeline-item.item-left {
  transform: translateX(-50px);
}

/* 오른쪽 시즌 */
.timeline-item.item-right {
  transform: translateX(50px);
}

/* 화면 진입 */
.timeline-item.is-active {
  visibility: visible;
}

/* 등장 완료 */
.timeline-item.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}