.event-wrap .banner{
    height: 400px;
    background: url(../../images/event/event-banner.jpg) no-repeat 50% 50% / cover;
    margin-bottom: 10rem;
}

/* 이벤트 박스 스타일 */
.event-wrap .container{
    width: 1200px;
    margin: 0 auto;
    margin-top: var(--margin-top-pc);
}
.container .event-box{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8rem;
    height: 600px;
}
.event-box figure{
    width: 456px;
    aspect-ratio: 456/600;
    box-shadow:  10px 10px 20px 0px rgba(0, 0, 0, 0.1);
}
.event-box .event-desc{
    width: 708px;
    height: 600px;
    box-sizing: border-box;
    padding: var(--margin-main-text);
    background-color: #fff;
    box-shadow:  10px 10px 20px 0px rgba(0, 0, 0, 0.1);
}
.event-desc>h1{
    margin-bottom: var(--gap-pc);
}
.event-desc>p{
    padding-bottom:var(--margin-main-text);
    border-bottom: 2px solid #000;
    margin-bottom: var(--margin-main-text);
}
.event-text{
    display: flex;
    flex-direction: column;
    gap: var(--gap-pc);
}

/* 진행중인 다른 이벤트 스타일 */
.other-event{
    text-align: center;
}
.other-event>p{
    margin-bottom:var(--gap-pc);
}
.other-box{
    display: flex;
    gap: 2rem;
    margin-bottom: 8rem;
}
.other-box li{
    flex: 1;
}
.other-box li a{
    display: block;
}
.other-box img{
    margin-bottom:var(--gap-pc);
    aspect-ratio: 250/329;
    box-shadow:  10px 10px 20px 0px rgba(0, 0, 0, 0.1);
}
.other-box li a p{
    font-size: var(--detail);
    font-weight: var(--light-weight);
}
.event-list-btn{
    text-align: center;
    margin-bottom: var(--margin-top-pc);
}
.event-wrap button{
    border: 1px solid #000;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 43px;
    font-weight: var(--light-weight);
}
.other-event .none-mo{
    display: block;
}
.other-event .none-pc{
    display: none;
}


@media (max-width:1440px){
    .event-box figure {
        width: 100%;
    }
    .event-wrap .container {
        width: auto;
        margin: 0 2rem;
    }
    .event-box figure{
        width:auto;
    }
    .container .event-box {
        display: flex;
        justify-content: center;
        margin-bottom: 8rem;
        height: 600px;
        width: 100%;
    }
    .event-wrap button {
        width: 124px;
        height: 38px;
    }
    .event-box .event-desc {
        width: 708px;
        height: 600px;
        box-sizing: border-box;
        padding: var(--margin-main-text);
        background-color: inherit;
        box-shadow: none;
    }
}

@media (max-width:855px){
    .container .event-box {
        display: flex;
        justify-content: center;
        margin-bottom: 5rem;
        flex-direction: column;
        height: 100%;
        width: 100%;
        align-items: center;
    }
    .event-box .event-desc {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: var(--margin-main-text);
        background-color: inherit;
        box-shadow: none;
    }
    .other-box {
        display: flex;
        gap: 2rem;
        margin-bottom: 5rem;
    }
}

@media (max-width:570px){
    .swiper {
      width: 100%;
      height: 100%;
      margin-bottom: 5rem;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      margin-bottom: 1rem;
    }
    .other-event .none-mo{
        display: none;
    }
    .other-event .none-pc{
        display: block;
    }
    .swiper .swiper-wrapper{
        transform: translate3d(-92.9091px, 0px, 0px);
    }
    .swiper-slide p{
        font-size: var(--detail);
        font-weight: var(--light-weight);
        display: -webkit-box;          
        -webkit-box-orient: vertical; 
        -webkit-line-clamp: 1;        
        overflow: hidden;            
        text-overflow: ellipsis;      
    }
    .event-wrap .banner {
        height: 200px;
        background: url(../../images/event/event-banner.jpg) no-repeat 50% 50% / cover;
        margin-bottom: 6rem;
    }
}
@media (max-width:370px){
    .event-wrap .container {
        width: auto;
        margin: 0 1rem;
    }
    h1 {
        font-size: var(--heading-3);
        font-weight: var(--bold-weight);
    }
}
