.page8{

}
.floor4_inner{
  width: 1280px;
  margin: 0 auto;

}

.floor4_wrap{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
/* 
.title{
  width: 100%;
  height: 36%;
  backdrop-filter: blur(30px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 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: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.sub_text p{
  font-size: 1.4rem;
  color: #fff;
} */

.floor4_card{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.floor4_card > div{
  width: calc((100% - 40px) / 3);
  height: 500px;
  position: relative;
  perspective: 1000px;
}

.floor4_card .front,
.floor4_card .back{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  transition: transform 0.8s;
  border-radius: 16px;
  color: #fff;
  line-height: 1.4;
  /* border: 1px solid #000; */


  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 20px;
}

.floor4_card .front {
  transform: rotateY(0deg);
  /* background-color: rgba(0, 0, 0, 0.2); */
  position: relative;
  overflow: hidden;
}

.floor4_card .front p{
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.4;
  width: 80%;
}

.floor4_card .back{
  transform: rotateY(180deg);
  background-color: #ff3e00;
}

.floor4_card > div:hover .front{
  transform: rotateY(180deg);
}

.floor4_card > div:hover .back{
  transform: rotateY(360deg);
}

.floor4_card h2{
  font-size: 2.4rem;
  line-height: 3rem;
  font-weight: 600;
  color: #fff;
}


.floor4_card [class*="_img"]{
  width: 80px;
  height: 80px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
}

.card1_img{

  background-image: url('/static/assets/images/common/icons/icon_mail.svg');
  width: 80%;
  height: auto;
}

.floor4_card .back h3{
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.edmWords, .socialWords, .websiteWords{
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.edmWords li, .socialWords li, .websiteWords li{
  list-style: none;
  padding: 8px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 1);
  float: left;
  margin-bottom: 4px;
}

.edmWords li:hover, .socialWords li:hover, .websiteWords li:hover{
  background-color: rgba(0, 0, 0, 1);
  border: 1px solid rgba(0, 0, 0, 1);
}

.card2_img{
    background-image: url('/static/assets/images/common/icons/icon_social.svg');
}

.card3_img{
  background-image: url('/static/assets/images/common/icons/icon_contents.svg');
}

.index_date {
    font-size: 14px;
    color: #999;
    margin: 4px 0;
}

.index_overview {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.modal_overview {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
}

.card1 .front {
  background-image: url('/static/assets/images/common/backgrounds/card1.png');
  background-size: cover;
  background-position: center;
  background-color: #000;
}

.card2 .front {
  background-image: url('/static/assets/images/common/backgrounds/card2.png');
  background-size: cover;
  background-position: center;
}

.card3 .front {
  background-image: url('/static/assets/images/common/backgrounds/card3.png');
  background-size: cover;
  background-position: center;
}

/* 텍스트가 잘 보이도록 오버레이 추가 */
.floor4_card .front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

/* 텍스트를 오버레이 위에 표시 */
.floor4_card .front h2 {
  position: relative;
  z-index: 1;
}


.cardWords{
  line-height: 1.2rem;
  font-size: 0.9rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 80px;
  padding:6px 16px;
  display: block;
  width: auto;
  height: auto;
  float: left;
}

.cardWords:hover{
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  font-weight: 600;
}


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

.floor4_card .back{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.back>h2{
  font-size: 1.3rem;
  font-weight: 500;
}

/* floor1~3 카드 영역과 동일한 가로 기준선 유지 */
.floor4_wrap .title,
.floor4_wrap .floor4_card {
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1400px) and (min-width: 1025px) {
  .floor4_wrap .title,
  .floor4_wrap .floor4_card {
    margin-left: 48px;
    margin-right: 48px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .floor4_wrap .title,
  .floor4_wrap .floor4_card {
    margin-left: 48px;
    margin-right: 48px;
  }
}

@media (max-width: 768px) {
  .floor4_wrap .title,
  .floor4_wrap .floor4_card {
    margin-left: 48px;
    margin-right: 48px;
  }

  .floor4_card {
    flex-direction: column;
    gap: 16px;
  }

  .floor4_card > div {
    width: 100%;
    height: 420px;
  }
}