/* reset */
.event-benefit-template [tabindex='0']:focus {
    outline: none;
}

.event-benefit-template [tabindex='0']:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.contents.event .ev-detail-wrap .ev-detail-con .ev-cont {
    max-width: 1380px;
    margin: 0 auto;
}

.event-benefit-template * {
    font-family: Pretendard, sans-serif;
}

.event-benefit-template picture {
    display: block;
}

.event-benefit-template img {
    display: block;
    max-width: 100%;
}

.product__content img{
	display: block;
  	margin: 0 auto;
}

@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;
    height: auto;
    margin: 0 auto;
    /* container-name: full-width-area;
    container-type: inline-size; */
    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: 1020px;
    padding: 80px 10px;
    margin: 0 auto;
}

@container full-width-area (max-width: 1380px) {
}

@container article-area (max-width: 1020px) {
    .event-benefit-template .article__inner {
        padding: calc(80 / 1020 * 100%) 10px;
    }
}

@media screen and (width <= 767px) {
    .event-benefit-template .article__inner {
        padding: calc(80 / 720 * 100%) calc(48 / 720 * 100%);
    }
}

/* // layout */

/* 변수 */
.point-color {
    color: #ff534a;
}
.relative-area {
    position: relative;
}
@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 {
    padding-bottom: calc(60 / 1000 * 100%);
}
.event-benefit-template .c-title--center {
    text-align: center;
}
.event-benefit-template .c-title__main-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 140%;
    color: #2e2e33;
    letter-spacing: calc(-0.8em / 80);
}

.event-benefit-template .c-title__desc {
    margin-top: 6px;
    font-size: 28px;
    font-weight: 700;
    line-height: 140%;
    color: #707278;
    letter-spacing: calc(-1.12em / 80);
}

.event-benefit-template .c-title__add-explanation {
    margin-top: 8px;
    font-size: 24px;
    font-weight: 500;
    line-height: 140%; /* 33.6px */
    color: #707278;
    letter-spacing: calc(-0.96em / 24);
}

@container article-area (max-width: 999px) {
    .event-benefit-template .c-title__main-title {
        font-size: calc(40 / 1000 * 100vw);
    }

    .event-benefit-template .c-title__desc {
        margin-top: calc(6 / 1000 * 100vw);
        font-size: calc(24 / 1000 * 100vw);
    }
    .event-benefit-template .c-title__add-explanation {
        margin-top: calc(8 / 1000 * 100vw);
        font-size: calc(24 / 1000 * 100vw);
    }
}

@media screen and (width <= 767px) {
    .event-benefit-template .c-title {
        padding-bottom: calc(72 / 720 * 100vw);
    }

    .event-benefit-template .c-title__main-title {
        font-size: calc(48 / 720 * 100vw);
        line-height: 1.333;
        letter-spacing: calc(-1.44em / 48);
    }

    .event-benefit-template .c-title__desc {
        margin-top: calc(16 / 720 * 100vw);
        font-size: calc(28 / 720 * 100vw);
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: calc(-1.12em / 28);
    }

    .event-benefit-template .c-title__add-explanation {
        margin-top: calc(16 / 720 * 100vw);
        font-size: calc(26 / 720 * 100vw);
        line-height: 184.615%;
        letter-spacing: calc(-0.78em / 26);
    }
}

/* // article title area */

/* sticky tab */
.event-benefit-template .c-tab--switch + .c-tab__content .c-tab__panel {
    display: none;
}
.event-benefit-template .c-tab--switch + .c-tab__content .c-tab__panel.active {
    display: block;
}

.event-benefit-template .c-tab--main-sticky {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.event-benefit-template .c-tab--main-sticky .c-tab__inner {
    display: flex;
    justify-content: center;
    background-color: #fff;
}

.event-benefit-template .c-tab--main-sticky .c-tab__list {
    display: flex;
    width: 100%;
    height: 60px;
    overflow-x: auto;
}

.event-benefit-template .c-tab--main-sticky .c-tab__item {
    position: relative;
    flex: 1;
    display: flex;
    column-gap: 24px;
    justify-content: center;
    border-bottom: solid 1px #ddd;
}

.event-benefit-template .c-tab--main-sticky .c-tab__item.active::after {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 3px;
    content: '';
    background-color: #000;
}

.event-benefit-template .c-tab--main-sticky .c-tab__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.36px;
    white-space: nowrap;
    transition: color 0.3s;
}

.event-benefit-template .c-tab__item.active .c-tab__link {
    font-weight: 700;
    color: #000;
}

@container full-width-area (max-width: 1379px) {
    .event-benefit-template .c-tab--main-sticky .c-tab__list {
        padding: 0 20px;
    }
}

@container article-area (max-width: 1165px) {
    .event-benefit-template .c-tab--main-sticky .c-tab__link {
        padding: 0 calc(40 / 1165 * 100vw);
        font-size: 20px;
    }
}

@media screen and (max-width: 767px) {
    .event-benefit-template .c-tab--main-sticky {
        top: 45px;
    }

    .header.helloBar ~ .container .event-benefit-template .c-tab--main-sticky {
        top: 87px;
    }

    .event-benefit-template .c-tab--main-sticky .c-tab__list {
        height: calc(112 / 720 * 100vw);
    }

    .event-benefit-template .c-tab--main-sticky .c-tab__link {
        font-size: calc(28 / 720 * 100vw);
        line-height: 142.857%;
        letter-spacing: calc(-0.56em/28);
    }
}
/* // sticky tab */

/* swiper */
.event-benefit-template .swiper-container {
    position: relative;
    overflow: hidden;
}
.event-benefit-template .swiper-wrapper {
    display: flex;
}
.event-benefit-template .swiper-slide {
    flex-shrink: 0;
    background-color: transparent;
}

.event-benefit-template .swiper-container-wrap .swiper-pagination-bullets {
    position: initial;
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
    padding-top: 80px;
}

.event-benefit-template .swiper-container-wrap .swiper-pagination-bullets .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
    background-color: #d3d3d3;
    border-radius: 50px;
    opacity: 1;
}
.event-benefit-template .swiper-container-wrap .swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 30px;
    background-color: #18181d;
    opacity: 1;
}
@media screen and (max-width: 767px) {
    .event-benefit-template .hidden-mo {
        display: none !important;
    }

    .event-benefit-template .swiper-slide {
        padding: 0 2px;
        background-color: transparent;
    }

    .event-benefit-template .swiper-container-wrap .swiper-pagination-bullets {
        gap: calc(16 / 720 * 100vw);
        padding-top: calc(40 / 720 * 100vw);
    }
}
/* // swiper */

/* 아이템 더보기 기능 */
.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__data--reward-benefits {
    margin-top: 20px;
}
.c-toggle__btn-wrap:has(.c-toggle__btn--text) {
    text-align: center;
}
.c-toggle__btn-wrap:has(.c-toggle__btn--text):not(.on) {
    padding-bottom: 80px;
}
.c-toggle__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 26px;
    font-weight: 600;
    line-height: normal;
    color: #000;
    letter-spacing: -0.52px;
}

.c-toggle__btn--text {
    padding-right: 33px;
}

.c-toggle__btn--text::after {
    position: absolute;
    right: 0;
    width: 18px;
    height: 9px;
    content: '';
    background: url(/kr/event/lgeshinhancard/images/icon-line-chervron-down-black.svg) no-repeat;
    background-size: contain;
    transform: rotate(0deg);
    transition: transform 0.3s;
}

.c-toggle__btn-wrap.on .c-toggle__btn--text::after {
    transform: rotate(180deg);
}

.c-toggle__btn-wrap.on + .c-toggle__data {
    display: block;
}
@media screen and (width <= 767px) {
    .c-toggle__btn {
        font-size: calc(30 / 720 * 100vw);
        letter-spacing: calc(-0.6em / 30);
    }
    .c-toggle__btn-wrap:has(.c-toggle__btn--text) {
        text-align: center;
    }
    .c-toggle__btn-wrap:has(.c-toggle__btn--text):not(.on) {
        padding-bottom: calc(80 / 720 * 100vw);
    }
    .c-toggle__btn--text {
        padding-right: calc(47 / 720 * 100vw);
    }
    .c-toggle__btn--text::after {
        width: calc(32 / 720 * 100vw);
        height: calc(16 / 720 * 100vw);
    }
    .c-toggle__data--reward-benefits {
        margin-top: calc(40 / 720 * 100vw);
    }
}
/* // toggle 콘텐츠 */

/* horizen-scroll-bar */
.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 */

/* // components */
