@charset "utf-8";

/* ==============================
Reset
================================= */
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    src: url(https://www.lge.co.kr/kr/event/promotions/fonts/Pretendard-Black.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    src: url(https://www.lge.co.kr/kr/event/promotions/fonts/Pretendard-ExtraBold.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    src: url(https://www.lge.co.kr/kr/event/promotions/fonts/Pretendard-Bold.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    src: url(https://www.lge.co.kr/kr/event/promotions/fonts/Pretendard-SemiBold.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    src: url(https://www.lge.co.kr/kr/event/promotions/fonts/Pretendard-Medium.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    src: url(https://www.lge.co.kr/kr/event/promotions/fonts/Pretendard-Light.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    src: url(https://www.lge.co.kr/kr/event/promotions/fonts/Pretendard-ExtraLight.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    src: url(https://www.lge.co.kr/kr/event/promotions/fonts/Pretendard-Thin.subset.woff2) format('woff2');
}
.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: 80px 10px;
    margin: 0 auto;
}

.event-benefit-template .article__inner--type01 {
    padding-top: 0;
    padding-bottom: 0;
}

.event-benefit-template .article__inner--type02 {
    padding-top: 0;
    padding-bottom: 0;
}

@container full-width-area (max-width: 1380px) {
}

@container article-area (max-width: 999px) {
    .event-benefit-template .article__inner {
        padding: calc(80 / 999 * 100%) 10px;
    }
    .event-benefit-template .article__inner--type01 {
        padding-top: 0;
        padding-bottom: 0;
    }

    .event-benefit-template .article__inner--type02 {
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .event-benefit-template .article__inner {
        padding: calc(80 / 720 * 100%) 0;
        overflow: hidden;
        background-color: #f8f7f4;
    }
    .event-benefit-template .article__inner--type01 {
        padding-top: 0;
        padding-bottom: 0;
    }

    .event-benefit-template .article__inner--type02 {
        padding: 0;
    }
}
/* ==============================
// Layout
================================= */

/* ==============================
전체 공통 변수
================================= */

.event-benefit-template .primary-color {
    color: #ea1917;
}

@media screen and (min-width: 768px) {
    .event-benefit-template .hidden-pc {
        display: none !important;
    }
}
@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: calc(12 / 720 * 100vw);
        padding-top: calc(32 / 720 * 100vw);
    }

    .event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet {
        width: clamp(10px, calc(12 / 720 * 100vw), 14px);
        height: clamp(10px, calc(12 / 720 * 100vw), 14px);
    }
    .event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active {
        width: clamp(20px, calc(30 / 720 * 100vw), 30px);
    }
}
/* ==============================
// 전체 공통 변수
================================= */

/* ==============================
components : c는 components의 약자
================================= */

/* img-accordion */
.event-benefit-template .c-img-accordion {
    position: relative;
    overflow: hidden;
}
.event-benefit-template .c-img-accordion__open-area {
    display: none;
}

.event-benefit-template .c-img-accordion--open .c-img-accordion__open-area {
    position: relative;
    display: block;
}
.event-benefit-template .c-img-accordion--open .c-img-accordion__close-area {
    display: none;
}

.event-benefit-template .c-img-accordion .c-img-accordion__trigger-btn {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
}

.event-benefit-template .c-img-accordion--type01 .c-img-accordion__trigger-btn {
    height: 100%;
}

.event-benefit-template .c-img-accordion--type01.c-img-accordion--open .c-img-accordion__trigger-btn {
    height: 32%;
}

.event-benefit-template .c-img-accordion--type02 .c-img-accordion__trigger-btn {
    display: none;
    top: 74%;
    height: 26%;
}

.event-benefit-template .c-img-accordion--type02.c-img-accordion--open .c-img-accordion__trigger-btn {
    top: 40%;
    height: 14%;
}

@media screen and (max-width: 767px) {
    .event-benefit-template .c-img-accordion--type01 .c-img-accordion__trigger-btn {
        height: 100%;
    }
    .event-benefit-template .c-img-accordion--type01.c-img-accordion--open .c-img-accordion__trigger-btn {
        height: 12vw;
    }
    .event-benefit-template .c-img-accordion--type02 .c-img-accordion__trigger-btn {
        display: block;
        top: 0;
        height: 100%;
    }

    .event-benefit-template .c-img-accordion--type02.c-img-accordion--open .c-img-accordion__trigger-btn {
        top: 74%;
        height: 25%;
    }
}

/* // img accordion */

/* sticky tab */
.event-benefit-template .content-wrap .tab_wrap {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.event-benefit-template .tab_wrap .tab_inner {
    position: relative;
    display: flex;
    justify-content: center;
    background-color: #fff;
    border-top: 1px solid #e1e2e4;
    border-bottom: 1px solid #e1e2e4;
}

.event-benefit-template .tab_wrap .tab_inner ul {
    display: flex;
    width: 100%;
    height: 54px;
    overflow-x: auto;
}

.event-benefit-template .tab_wrap .tab_inner li {
    flex-basis: calc(100% / 2);
}

.event-benefit-template .tab_wrap .tab_inner li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 40px;
    font-size: 18px;
    font-weight: 600;
    line-height: 155.556%;
    color: #505050;
    text-align: center;
    text-align: center;
    letter-spacing: -0.36px;
    transition: color 0.3s;
}

.event-benefit-template .tab_wrap .tab_inner li.active a {
    font-weight: 700;
    color: #ea1917;
}

.event-benefit-template .tab_wrap .tab_inner li.active a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: '';
    background-color: #ea1917;
}

@container article-area (max-width: 999px) {
    .event-benefit-template .tab_wrap .tab_inner li a {
        padding: 0 calc(40 / 999 * 100vw);
    }
}

@media screen and (max-width: 767px) {
    .event-benefit-template .content-wrap .tab_wrap {
        top: 56px;
    }

    .header.helloBar ~ .container .event-benefit-template .content-wrap .tab_wrap {
        top: 98px;
    }

    .event-benefit-template .tab_wrap .tab_inner ul {
        width: 100%;
        height: calc(112 / 720 * 100vw);
    }

    .event-benefit-template .tab_wrap .tab_inner li {
        flex-basis: calc(100% / 2);
    }

    .event-benefit-template .tab_wrap .tab_inner li a {
        justify-content: center;
        width: 100%;
        padding: 0 calc(30 / 720 * 100vw);
        font-size: calc(28 / 720 * 100vw);
        font-weight: 600;
        line-height: 1.4285;
        text-align: center;
        letter-spacing: calc(-0.56em / 28);
    }

    .event-benefit-template .tab_wrap .tab_inner li.active a::after {
        height: calc(8 / 720 * 100vw);
    }
}
/* // sticky tab */

/* swiper */
.event-benefit-template .swiper-container .swiper-pagination-bullets {
    position: relative;
    bottom: initial;
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 32px;
}

.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    margin: 0;
    background-color: #d3d3d3;
    border-radius: 50px;
    opacity: 1;
}
.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 30px;
    background-color: #181818;
    opacity: 1;
}
@media screen and (max-width: 767px) {
    .event-benefit-template .swiper-slide {
        background-color: transparent;
    }

    .event-benefit-template .swiper-container .swiper-pagination-bullets {
        gap: calc(12 / 720 * 100vw);
        padding-top: calc(32 / 720 * 100vw);
    }

    .event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet {
        width: clamp(10px, calc(12 / 720 * 100vw), 14px);
        height: clamp(10px, calc(12 / 720 * 100vw), 14px);
    }
    .event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active {
        width: clamp(20px, calc(30 / 720 * 100vw), 30px);
    }
}
/* // swiper */

/* 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: 781px) {
    .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 / 1000 * 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 */

/* ==============================
// components : c는 components의 약자
================================= */
