.event_bg {
    position: relative;
    background-image: url('/static/app_www/base/img/bg_event.png');
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 1/0.286;
    padding: 100px 32px;
}

.event_bg p {
    max-width: 1132px;
    margin: 0 auto;
}

.event_bg p span {
    font-size: 50px;
    font-weight: 700;
    color: #FFF;
    display: block;
}

.btn_swap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 50px;
    position: relative;
}

.btn_swap>button {
    font-size: 16px;
    font-weight: 400;
    padding: 13px 0;
    width: 100%;
    max-width: 187px;
    display: block;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    background-color: #F5F5F5;
    color: #9E9E9E;
}

.btn_swap>button.active {
    font-weight: 500;
    z-index: 2;
    background-color: #2E363F;
    color: #FFF;
}

.btn_swap>button:first-of-type {
    left: 14px;
}

.btn_swap>button:last-of-type {
    right: 14px;
}

.event_list {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.event_list>li {
    width: calc((100% - 40px) / 3);
    cursor: pointer;
}

.event_list .thumbnail {
    aspect-ratio: 370/223;
    overflow: hidden;
    margin-bottom: 20px;
}

.event_list .thumbnail>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event_list .state_dttm {
    display: flex;
    align-items: center;
    gap: 0 8px;
    margin-bottom: 13px;
}

.event_list .state_dttm .state {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 52px;
    color: #FFF;
}

.event_list .state_dttm .text_dttm {
    font-size: 14px;
    font-weight: 400;
    color: #5E5E5E;
}

.event_list .text_title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    display: block;
}

.event_list .text_sub_content {
    font-size: 16px;
    font-weight: 400;
    color: #222;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 6px;
}

.pagination>a {
    width: 35px;
    height: 40px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5E5E5E;
    background-color: #F8F8F8;
}

.pagination>a.active {
    color: #FFF;
    background-color: #2E363F;
}

.event_none {
    text-align: center;
    margin: 200px auto;
}

.event_none p {
    font-size: 20px;
    color: #5E5E5E;
}

@media screen and (max-width:1023px) {
    .event_bg {
        padding: 60px 20px;
    }

    .event_bg p span {
        font-size: 30px;
    }

    .event_list>li {
        width: calc((100% - 20px) / 2);
    }
}

@media screen and (max-width:767px) {
    .event_bg {
        padding: 20px 12px;
    }

    .event_bg p span {
        font-size: 16px;
    }

    .btn_swap {
        margin: 0 auto 24px;
    }

    .btn_swap>button {
        font-size: 12px;
        padding: 8px 0;
        max-width: 130px;
    }

    .btn_swap>button:first-of-type {
        left: 10px;
    }

    .btn_swap>button:last-of-type {
        right: 10px;
    }

    .event_list {
        gap: 20px 0px;
    }

    .event_list>li {
        width: 100%;
    }

    .event_list .thumbnail {
        margin-bottom: 12px;
    }

    .event_list .state_dttm {
        gap: 0 4px;
        margin-bottom: 4px;
    }

    .event_list .state_dttm .state {
        font-size: 10px;
    }

    .event_list .state_dttm .text_dttm {
        font-size: 12px;
    }

    .event_list .text_title {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .event_list .text_sub_content {
        font-size: 12px;
    }

    .pagination>a {
        width: 30px;
        height: 35px;
        font-size: 14px;
    }

    .event_none {
        margin: 100px auto;
    }

    .event_none p {
        font-size: 16px;
    }
}