@charset "utf-8";

/* ==============================
Reset
================================= */
.event-benefit-template * {
    font-family: 'Pretendard', sans-serif;
}

.event-benefit-template img {
    display: block;
    max-width: 100%;
}

.event-benefit-template .swiper-slide {
    background-color: transparent;
}

.event-benefit-template a,
.event-benefit-template button {
    background: rgba(0, 255, 0, 0);
}

.event-benefit-template .content-wrap section article {
    text-align: initial;
}
.contents.exhibition.ex-module-wrap .ev-detail-con.wide {
    max-width: 1380px;
}
.contents.event .ev-detail-wrap {
    min-height: 100vh;
}
.contents.event .ev-detail-wrap .ev-detail-con {
    max-width: inherit;
    padding: 0;
}
.contents.event .ev-detail-wrap .ev-detail-con .ev-cont {
    max-width: 1380px;
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .event-benefit-template a,
    .event-benefit-template a:active {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    .event-benefit-template input {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    .event-benefit-template div:focus {
        -webkit-tap-highlight-color: transparent;
    }
    .event-benefit-template button:focus,
    .event-benefit-template button:active {
        -webkit-tap-highlight-color: transparent;
    }
    .event-benefit-template a:focus-visible,
    .event-benefit-template input:focus-visible,
    .event-benefit-template div:focus-visible,
    .event-benefit-template button:focus-visible {
        outline: 2px solid #000;
        outline-offset: 2px;
    }
}

/* ==============================
Layout
================================= */
.event-benefit-template {
    max-width: 1380px;
    min-height: 100vh;
    margin: 0 auto;
    container-name: full-width-area;
    container-type: inline-size;
    font-family: 'Pretendard', sans-serif;
}

.event-benefit-template article {
    width: 100%;
    container-name: article-area;
    container-type: inline-size;
}

.event-benefit-template .article__inner {
    width: 100%;
    max-width: 1000px;
    padding: 100px 10px;
    margin: 0 auto;
}

@container full-width-area (max-width: 1380px) {
}

@container article-area (max-width: 999px) {
    .event-benefit-template .article__inner {
        padding: calc(80 / 999 * 100%) 10px;
    }
}

@media screen and (max-width: 767px) {
    .event-benefit-template .article__inner {
        padding: calc(80 / 720 * 100%) 0;
        overflow: hidden;
    }
}

/* ==============================
전체 공통
================================= */

@media screen and (min-width: 768px) {
    .event-benefit-template .hidden-pc {
        display: none !important;
    }
}

.event-benefit-template .swiper-container .swiper-pagination-bullets {
    position: relative;
    bottom: initial;
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 38px;
}

.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0;
    background-color: transparent;
    opacity: 1;
}

.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet::after {
    display: block;
    width: 14px;
    height: 14px;
    content: "";
    background-color: #8F8F8F;
    border-radius: 50px;
}

.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 30px;
    height: 18px;
    background-color: transparent;
    opacity: 1;
}

.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active::after {
    display: block;
    width: 30px;
    height: 14px;
    content: "";
    background-color: #181818;
}
@media screen and (max-width: 767px) {
    .event-benefit-template .hidden-mo {
        display: none !important;
    }

    .event-benefit-template .swiper-slide {
        background-color: transparent;
    }

    .event-benefit-template .swiper-container .swiper-pagination-bullets {
        gap: 0;
        padding-top: calc(36 / 720 * 100vw);
    }

    .event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet {
        width: clamp(24px, calc(30 / 720 * 100vw), 48px);
        height: clamp(24px, calc(30 / 720 * 100vw), 48px);
    }

    .event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet::after {
        width: clamp(8px, calc(16 / 720 * 100vw), 16px);
        height: clamp(8px, calc(16 / 720 * 100vw), 16px);
    }

    .event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active {
        width: clamp(30px, calc(48 / 720 * 100vw), 80px);
    }

    .event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active::after {
        width: clamp(15px, calc(30 / 720 * 100vw), 30px);
    }
}

/* ==============================
components : c는 components의 약자
================================= */

/* title */
.event-benefit-template .c-title {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
    max-width: 980px;
    padding-bottom: 80px;
    margin: 0 auto;
    text-align: left;
}

.event-benefit-template .c-title__main-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.375;
    color: #0f0f10;
    letter-spacing: calc(-0.64em / 32);
}

.event-benefit-template .c-title__main-title.c-title__main-deepblack{
	color: #121212;
}
          

.event-benefit-template .c-title__desc {
    font-size: 22px;
    font-weight: 500;
    line-height: 145.455%;
    color: #666;
    letter-spacing: calc(-0.44em / 22);
}

@container article-area (max-width: 999px) {
    .event-benefit-template .c-title {
        gap: calc(7 / 1000 * 100vw);
        padding-bottom: calc(40 / 1000 * 100vw);
    }

    .event-benefit-template .c-title__main-title {
        font-size: calc(40 / 999 * 100vw);
    }

    .event-benefit-template .c-title__desc {
        font-size: calc(24 / 999 * 100vw);
    }
}

@media screen and (max-width: 767px) {
    .event-benefit-template .c-title {
        row-gap: calc(16 / 720 * 100vw);
        padding: 0 calc(48 / 720 * 100%) calc(80 / 720 * 100%);
    }

    .event-benefit-template .c-title__main-title {
        font-size: calc(48 / 720 * 100vw);
        line-height: 1.25;
        letter-spacing: calc(-0.96em / 48);
    }

    .event-benefit-template .c-title__desc {
        font-size: calc(28 / 720 * 100vw);
        font-weight: 500;
        line-height: 1.4285;
        letter-spacing: calc(-0.56em / 28);
    }
}
/* // title */

/* text Dimmer */
.text-dimmer {
    position: relative;
    overflow: hidden;
}

.text-dimmer::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
    font-weight: 700;
    line-height: normal;

    color: #fff;
    letter-spacing: -0.56px;
    content: '혜택 종료';
    background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 767px) {
    .text-dimmer::before {
        font-size: 16px;
        font-weight: 700;
        line-height: normal;
        color: #fff;
        letter-spacing: -0.64px;
    }
}
/* // Text Dimmer */

/* horizen-scroll-bar */
@media screen and (min-width: 768px) {
    .c-custom-scrollbar {
        -webkit-overflow-scrolling: touch; /* iOS에서 부드러운 스크롤 */
    }

    .c-custom-scrollbar::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .c-custom-scrollbar::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    .c-custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.4);
    }

    .c-custom-scrollbar::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
}
/* // horizen-scroll-bar */

/* divider */
.event-benefit-template .c-divider {
    width: 100%;
    height: 8px;
    background-color: #e5e5e5;
    border: none;
}
@media screen and (max-width: 767px) {
    .event-benefit-template .c-divider {
        height: calc(16 / 720 * 100vw);
    }
}
/* // divider */

/* toggle */
.c-toggle__data {
    position: relative;
    display: none;
}
.c-toggle__btn.on + .c-toggle__data,
.c-toggle__btn-wrap.on + .c-toggle__data {
    display: block;
    margin-top: calc(24 / 980 * 100%);
}
.c-toggle__btn-wrap.on + .c-toggle__data--multi-benefit {
    margin-top: -18px;
}
.c-toggle__data:has(+ .c-toggle__btn.on) {
    display: block;
}
@media screen and (max-width: 767px) {
    .c-toggle__btn-wrap.on + .c-toggle__data--multi-benefit {
        margin-top: -1.6%;
    }
    .c-toggle__btn.on + .c-toggle__data,
    .c-toggle__btn-wrap.on + .c-toggle__data {
        margin-top: calc(20 / 720 * 100vw);
    }
}
/* // toggle */
