/* reset */
@font-face {
    font-family: Pretendard;
    font-weight: 900;
    src: url('../fonts/Pretendard-Black.subset.woff2') format('woff2');
}

@font-face {
    font-family: Pretendard;
    font-weight: 800;
    src: url('../fonts/Pretendard-ExtraBold.subset.woff2') format('woff2');
}

@font-face {
    font-family: Pretendard;
    font-weight: 700;
    src: url('../fonts/Pretendard-Bold.subset.woff2') format('woff2');
}

@font-face {
    font-family: Pretendard;
    font-weight: 600;
    src: url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2');
}

@font-face {
    font-family: Pretendard;
    font-weight: 500;
    src: url('../fonts/Pretendard-Medium.subset.woff2') format('woff2');
}

@font-face {
    font-family: Pretendard;
    font-weight: 300;
    src: url('../fonts/Pretendard-Light.subset.woff2') format('woff2');
}

@font-face {
    font-family: Pretendard;
    font-weight: 200;
    src: url('../fonts/Pretendard-ExtraLight.subset.woff2') format('woff2');
}

@font-face {
    font-family: Pretendard;
    font-weight: 100;
    src: url('../fonts/Pretendard-Thin.subset.woff2') format('woff2');
}

.event-benefit-template [tabindex='0']:focus {
    outline: none;
}

.event-benefit-template [tabindex='0']:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* KV 우측에 있는 공유하기 아이콘 KV 안에 들어오기 위함. */
.contents.event .ev-detail-wrap .ev-detail-con .ev-cont {
    max-width: 1380px;
    margin: 0 auto;
}

/* // KV 우측에 있는 공유하기 아이콘 KV 안에 들어오기 위함. */

.event-benefit-template * {
    font-family: Pretendard, sans-serif;
}

/* 신규 기획전인 경우 */
.event-benefit-template picture {
    display: block;
}

.event-benefit-template img {
    display: block;
    max-width: 100%;
}

/* // 신규 기획전인 경우 */

/* 기존 기획전인 경우 */

/* .event-benefit-template {
    text-align: center;
}
.event-benefit-template img {
    max-width: 100%;
} */

/* // 기존 기획전인 경우 */

@media screen and (width <= 767px) {
    .event-benefit-template a,
    .event-benefit-template input {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .event-benefit-template a:focus,
    .event-benefit-template a:active,
    .event-benefit-template input:focus {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .event-benefit-template div:focus {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .event-benefit-template button:focus {
        -webkit-tap-highlight-color: transparent;
    }
}

/* // reset */

/* 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;
    text-align: initial;
}

.event-benefit-template .l-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: 1000px) {
    .event-benefit-template .article__inner {
        padding: calc(100 / 1000 * 100%) 10px;
    }
}

@media screen and (width <= 767px) {
    .event-benefit-template .article__inner {
        padding: calc(100 / 720 * 100%) 0;
    }
}

/* // layout */

/* 변수 */
@media screen and (width >= 768px) {
    .event-benefit-template .hidden-pc {
        display: none !important;
    }

    .event-benefit-template .pc {
        display: block;
    }

    .event-benefit-template .mobile {
        display: none;
    }
}

@media screen and (width <= 767px) {
    .event-benefit-template .hidden-mo {
        display: none !important;
    }

    .event-benefit-template .pc {
        display: none;
    }

    .event-benefit-template .mobile {
        display: block;
    }
}

/* // 변수 */

/* components */

/* article title area */
.event-benefit-template .c-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 64px;
}

.event-benefit-template .c-title__main-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
    color: #111;
    letter-spacing: calc(-0.72em / 36);
}

.event-benefit-template .c-title__desc {
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    color: #505050;
    letter-spacing: calc(-0.48em / 24);
}

@container article-area (max-width: 999px) {
    .event-benefit-template .c-title {
        gap: calc(12 / (1000 - var(--user-scrollbar-width)) * 100vw);
        margin-bottom: calc(64 / (1000 - var(--user-scrollbar-width)) * 100vw);
    }

    .event-benefit-template .c-title__main-title {
        font-size: calc(36 / (1000 - var(--user-scrollbar-width)) * 100vw);
    }

    .event-benefit-template .c-title__desc {
        font-size: calc(24 / (1000 - var(--user-scrollbar-width)) * 100vw);
    }
}

@media screen and (width <= 767px) {
    .event-benefit-template .c-title {
        gap: calc(12 / 720 * 100vw);
        padding-right: calc(48 / 720 * 100%);
        padding-left: calc(48 / 720 * 100%);
        margin-bottom: calc(48 / 720 * 100%);
    }

    .event-benefit-template .c-title__main-title {
        font-size: calc(48 / 720 * 100vw);
        line-height: 1.3;
        letter-spacing: calc(-0.96em / 48);
    }

    .event-benefit-template .c-title__desc {
        font-size: calc(32 / 720 * 100vw);
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: calc(-0.64em / 32);
    }
}

/* // article title area */

/* swiper */
.event-benefit-template .swiper-slide {
    flex-shrink: 0;
    background-color: transparent;
}

.event-benefit-template .swiper .swiper-pagination-bullets {
    position: relative;
    bottom: initial;
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 48px;
}

.event-benefit-template
    .swiper
    .swiper-pagination-bullets
    .swiper-pagination-bullet::before {
    display: none;
}

@media screen and (width <= 767px) {
    .event-benefit-template .swiper .swiper-pagination-bullets {
        position: relative;
        bottom: initial;
        gap: calc(16 / 720 * 100vw);
        padding-top: calc(48 / 720 * 100vw);
    }

    .event-benefit-template
        .swiper
        .swiper-pagination-bullets
        .swiper-pagination-bullet {
        width: 14px;
        height: 14px;
        margin: 0;
        background-color: #dcdcdc;
        border-radius: 50px;
        opacity: 1;
    }

    .event-benefit-template
        .swiper
        .swiper-pagination-bullets
        .swiper-pagination-bullet-active {
        width: 30px;
        background-color: #505050;
    }
}
/* // swiper */

/* product-img-linker */
.event-benefit-template .product-img-linker {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: repeat(15, calc(836 / var(--user-img-height) * 100%));
    grid-template-columns: repeat(3, 1fr);
    gap: calc(55 / 1000 * 100%);
    row-gap: calc(60 / var(--user-img-height) * 100%);
}

.event-benefit-template .product-img-linker--tooltip-line2 {
    grid-template-rows: repeat(15, calc(875 / var(--user-img-height) * 100%));
}

@media screen and (width <= 767px) {
    .event-benefit-template .product-img-linker {
        inset: 0;
        grid-template-rows: repeat(
            15,
            calc(810 / var(--user-img-height) * 100%)
        );
        grid-template-columns: repeat(2, 1fr);
        gap: calc(30 / 624 * 100%);
        row-gap: calc(60 / var(--user-img-height) * 100%);
    }

    .event-benefit-template .product-img-linker--tooltip-line2 {
        grid-template-rows: repeat(
            15,
            calc(850 / var(--user-img-height) * 100%)
        );
    }
}

/* // product-img-linker */

/* divider */
.event-benefit-template .c-divider {
    width: 100%;
    height: 8px;
    background-color: #e5e5e5;
    border: none;
}

@media screen and (width <= 767px) {
    .event-benefit-template .c-divider {
        height: calc(16 / 720 * 100vw);
    }
}

/* // divider */

/* 아이템 더보기 기능 */
.event-benefit-template .limit-view__wrap .limit-view__list {
    row-gap: 0;
}

.event-benefit-template .limit-view__item {
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.5s ease-out,
        opacity 0.5s ease-out,
        margin-bottom 0.5s ease-out;
}

.event-benefit-template .limit-view__item.is-visible {
    max-height: 1000px;
    margin-bottom: 20px;
    opacity: 1;
}

.event-benefit-template .limit-view__item[style*='--item-delay'] {
    transition-delay: var(--item-delay, 0s);
}

/* // 아이템 더보기 기능 */

/* 통 이미지 accordion */
.event-benefit-template .img-accordion {
    position: relative;
}

.event-benefit-template .img-accordion__open-area {
    display: none;
}

.event-benefit-template .img-accordion--open .img-accordion__close-area {
    display: none;
}

.event-benefit-template .img-accordion--open .img-accordion__open-area {
    display: block;
}

/* // 통 이미지 accordion */

/* toggle 콘텐츠 */
.c-toggle__data {
    display: none;
}

.c-toggle__btn.on + .c-toggle__data {
    position: relative;
    display: block;
    margin-top: 16px;
}

.c-toggle__data:has(+ .c-toggle__btn.on) {
    display: block;
}

@media screen and (width <= 767px) {
    .c-toggle__btn.on + .c-toggle__data {
        margin-top: calc(24 / 720 * 100vw);
    }
}

/* // toggle 콘텐츠 */

/* 튤팁 */
.c-title__help {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-left: 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.32px;
}

.c-title__help:has(> .tooltip-wrap) {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 0 32px;
    background: none;
}

.tooltip-txt {
    cursor: pointer;
}

.c-title__help .tooltip-wrap {
    padding: 0;
    margin: 0;
}

.c-title__help .tooltip-wrap .ui_tooltip-target {
    width: 25px;
    height: 100%;
    background: url('/kr/event/2025/07/19_lg_days/images/icon-tooltip-white.svg')
        no-repeat;
    background-position: center;
    background-size: 17px;
}

@media screen and (width <= 767px) {
    .c-title__help {
        padding-left: clamp(18px, calc(29 / 720 * 100vw), 29px);
        font-size: clamp(12px, calc(22 / 720 * 100vw), 22px);
        font-weight: 500;
        line-height: 1.0526;
        letter-spacing: calc(-0.44em / 22);
        background-size: clamp(14px, calc(25 / 720 * 100vw), 25px);
    }

    .c-title__help:has(> .tooltip-wrap) {
        justify-content: flex-start;
        padding-left: calc(48 / 720 * 100vw);
    }

    .c-title__help .tooltip-wrap .tooltip-box {
        top: 16px;
        right: 16px;
        left: 0;
        min-width: calc(600 / 720 * 100vw);
    }

    .c-title__help .tooltip-wrap .ui_tooltip-target {
        width: clamp(14px, calc(35 / 720 * 100vw), 35px);
        height: 100%;
        background: url('/kr/event/2025/07/19_lg_days/images/icon-tooltip-white.svg')
            no-repeat;
        background-position: center;
        background-size: clamp(14px, calc(25 / 720 * 100vw), 25px);
    }
}
/* // 튤팁 */

/* // components */
