.page5, .page6, .page7{

}
.floor1_inner, .floor2_inner, .floor3_inner, .floor4_inner{
  width: 1280px;
  margin: 0 auto;

}

.floor1_wrap, .floor2_wrap, .floor3_wrap, .floor4_wrap{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.title{
  width: 100%;
  height: 36%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(30px);
  /* border: 1px solid #fff; */
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  margin-top: calc(100px + 6%);
}

.title h1{
  font-size: 4rem;
  font-weight: 600;
  color: #fff;
  padding-right: 36px;
  border-right: 1px solid #fff;
}

.title .sub_text{
  width: 90%;
  height: auto;
  padding-left: 28px;
}

.sub_text h2{
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.sub_text p{
  font-size: 1rem;
  line-height: 1.4;
  color: #fff;
}

.contents {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.contents > button.prev,
.contents > button.next{
  position: absolute;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: -9999px;
  cursor: pointer;
  z-index: 2;
}

.contents > button.prev{
  left: -72px;
  background-image: url('/static/assets/images/common/arrows/arrow-prev-wt.svg');
}
.contents > button.prev:hover{
  background-image: url('/static/assets/images/common/arrows/arrow-prev-or.svg');
}

.contents > button.next{
  right: -72px;
    background-image: url('/static/assets/images/common/arrows/arrow-next-wt.svg');
}
.contents > button.next:hover{
  background-image: url('/static/assets/images/common/arrows/arrow-next-or.svg');
}

.index_list {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.index_slide {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    will-change: transform;
    transform: translateX(0);
}

.index_slide.sliding {
    pointer-events: none;
}

.index_slide.slide-prev {
    transform: translateX(-33.333% - 20px);
}

.index_slide.slide-next {
    transform: translateX(33.333% + 20px);
}

/* 슬라이드 방향 클래스 추가 */
.index_slide.slide-to-prev {
    transform: translateX(100%);
}

.index_slide.slide-to-next {
    transform: translateX(-100%);
}

.index_slide.slide-from-prev {
    transform: translateX(-100%);
}

.index_slide.slide-from-next {
    transform: translateX(100%);
}

.index_item {
    flex: 0 0 calc(33.333% - 14px);
    /* height: 440px; */
    backdrop-filter: blur(30px);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 1;
    will-change: transform, opacity;
    transform: scale(1);
}

.index_item.empty {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* 버튼 비활성화 스타일 */
.prev.disabled,
.next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.index_item:hover{
 /* border: 1px solid #ff3e00; */
 background-color: #000;
 box-sizing: inherit;
}

.index_img{
  width: calc(100% - 32px);
  height: 0;
  padding-bottom: calc(56.25% - 32px);
  background-color: transparent;
  position: relative;
  margin: 16px;

} 


.index_img img{
  border-radius: 10px;
}
.index_text{
  width: 100%;
  height: calc(100% - 56.25%);  /* 전체 높이에서 이미지 영역 높이를 뺀 나머지 */
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 10px;
} 

.index_catetxt{
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.index_title{
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;

}

.index_period{
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.index_location{
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.index_tags{
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  max-height: 2.9em;
  overflow: hidden;
}

.index_tag{
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  line-height: 1.4;
  cursor: pointer;
  white-space: pre;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.index_tag:hover{
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.index_tag.active{
  color: #ffb199;
  border-color: #ffb199;
  background-color: rgba(255, 177, 153, 0.12);
}

.index_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.index_filter{
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  color: #fff;
}

.index_filter .index_category{
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    color: #fff;
}

.index_category li{
  box-sizing: border-box;
  font-size: 0.8rem;
  font-weight: 400;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(30px);
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px;
  float: left;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.index_category li a,
.index_category li a:link,
.index_category li a:visited{
  color: #fff;
}

.index_category li:hover{
  background-color: #000;
  color: #fff;
  border: 1px solid #ff3e00;
  padding: 10px 20px;  /* 패딩 유지 */
}

.index_category li.active{
  background-color: #ff3e00;
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;  /* 패딩 유지 */
}

.index_year{
  width: auto;
  height: auto;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(30px);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  margin-left: 12px;
  flex: 0 0 auto;
  align-self: flex-start;
}

.index_pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.index_pagination button {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.index_pagination button.active {
    background-color: #ff3e00;
    font-weight: 600;
}

.index_pagination button:hover {
    background-color: #ff3e00;
}

.index_pagination .prev-page,
.index_pagination .next-page {
    font-size: 0.9rem;
}

/* title / category 영역을 카드(index_list) 영역과 같은 폭으로 유지 */
.floor1_wrap .title,
.floor2_wrap .title,
.floor3_wrap .title,
.floor1_wrap .index_filter,
.floor2_wrap .index_filter,
.floor3_wrap .index_filter {
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1400px) and (min-width: 1025px) {
  .floor1_wrap .title,
  .floor2_wrap .title,
  .floor3_wrap .title {
    width: auto;
    margin-left: 48px;
    margin-right: 48px;
  }

  .floor1_wrap .index_filter,
  .floor2_wrap .index_filter,
  .floor3_wrap .index_filter {
    margin-left: 48px;
    margin-right: 48px;
  }

  .floor1_wrap .contents,
  .floor2_wrap .contents,
  .floor3_wrap .contents {
    padding: 0 48px;
  }

  .floor1_wrap .contents > button.prev,
  .floor1_wrap .contents > button.next,
  .floor2_wrap .contents > button.prev,
  .floor2_wrap .contents > button.next,
  .floor3_wrap .contents > button.prev,
  .floor3_wrap .contents > button.next {
    background-size: 28px 28px;
  }

  .floor1_wrap .contents > button.prev,
  .floor2_wrap .contents > button.prev,
  .floor3_wrap .contents > button.prev {
    left: 0;
  }

  .floor1_wrap .contents > button.next,
  .floor2_wrap .contents > button.next,
  .floor3_wrap .contents > button.next {
    right: 0;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .floor1_wrap .title,
  .floor2_wrap .title,
  .floor3_wrap .title,
  .floor1_wrap .index_filter,
  .floor2_wrap .index_filter,
  .floor3_wrap .index_filter {
    margin-left: 48px;
    margin-right: 48px;
  }

  .floor1_wrap .contents,
  .floor2_wrap .contents,
  .floor3_wrap .contents {
    padding: 0 48px;
  }

  .floor1_wrap .contents > button.prev,
  .floor1_wrap .contents > button.next,
  .floor2_wrap .contents > button.prev,
  .floor2_wrap .contents > button.next,
  .floor3_wrap .contents > button.prev,
  .floor3_wrap .contents > button.next {
    background-size: 24px 24px;
  }

  .floor1_wrap .contents > button.prev,
  .floor2_wrap .contents > button.prev,
  .floor3_wrap .contents > button.prev {
    left: 0;
  }

  .floor1_wrap .contents > button.next,
  .floor2_wrap .contents > button.next,
  .floor3_wrap .contents > button.next {
    right: 0;
  }
}

@media (max-width: 768px) {
  .floor1_wrap .title,
  .floor2_wrap .title,
  .floor3_wrap .title,
  .floor1_wrap .index_filter,
  .floor2_wrap .index_filter,
  .floor3_wrap .index_filter {
    margin-left: 48px;
    margin-right: 48px;
  }

  .floor1_wrap .contents,
  .floor2_wrap .contents,
  .floor3_wrap .contents {
    padding: 0 48px;
  }

  .floor1_wrap .contents > button.prev,
  .floor1_wrap .contents > button.next,
  .floor2_wrap .contents > button.prev,
  .floor2_wrap .contents > button.next,
  .floor3_wrap .contents > button.prev,
  .floor3_wrap .contents > button.next {
    width: 28px;
    height: 28px;
    background-size: 20px 20px;
    z-index: 2;
  }

  .floor1_wrap .contents > button.prev,
  .floor2_wrap .contents > button.prev,
  .floor3_wrap .contents > button.prev {
    left: 0;
  }

  .floor1_wrap .contents > button.next,
  .floor2_wrap .contents > button.next,
  .floor3_wrap .contents > button.next {
    right: 0;
  }

  .index_slide {
    gap: 0;
  }

  .index_item {
    flex: 0 0 100%;
  }
}
