@charset "utf-8";

.event-box-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50rem;
}

.event-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80rem;
    border: 1px solid #000;
    overflow: hidden;
}
.event-box.past {
    filter: grayscale(100%);
    opacity: .4;
}

.event-box:hover .event-box-image img {
    transform: scale(1.07);
}

.event-box-image {
    width: 33%;
    min-width: 33%;
    overflow: hidden;
}

.event-box-image img {
    width: 100%;
    object-fit: cover;
    transition: all .3s;
}

.event-box-text {
    width: 68%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 100rem;
}

.ebt-date {
    color: var(--main-color);
    font-size: 18rem;
    font-weight: 600;
    margin-bottom: 20rem;
}

.ebt-top {
    width: 100%;
}

.ebt-top h5 {
    width: 100%;
    font-size: 40rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.ebt-top p {
    width: 100%;
    color: #aaa;
    font-size: 17rem;
    line-height: 1.6;
    margin-top: 40rem;
}

#load-more-btn {
    width: 400rem;
    height: 70rem;
    color: #fff;
    font-size: 24rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100rem;
    background-color: #000;
    border: none;
    outline: none;
}



/*==================================================*/
@media (max-width: 768px) {
    .event-box {
        flex-direction: column;
        align-items: unset;
        gap: 0;
    }

    .event-box-image {
        width: 100%;
        min-width: 100%;
    }
    
    .event-box-text {
        width: 100%;
        padding: 50rem;
    }

    .ebt-top p {
        margin-top: 10rem;
    }
}


@media (max-width: 550px) {
    .ebt-date {
        font-size: 22rem;
    }
    
    .ebt-top h5 {
        font-size: 50rem;
    }

    .ebt-top p {
        font-size: 19rem;
    }
}