@charset "utf-8";


.event-benefit-template {

    /* 더보기 */
    .benefit-accordion {
        .c-tab--3depth .c-tab__list {padding-bottom: 2px;}
        .c-custom-accordion__area--first{
            --header-height:calc(20 * var(--ratio));
        }
        .c-custom-accordion__area--fade {
            height: calc(85 * var(--ratio));

            &::after {
                /* height: calc(140 * var(--ratio)); */
                bottom: calc(-45 * var(--ratio));
                background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 56.25%);
            }
        }

        [data-accordion-toggle="true"] {
            &:has([data-tab-sticky="2depth"]) {
                [data-expand-scroll-dest], [data-expand-scroll-target] {
                    scroll-margin-top: calc(var(--header-height) + var(--sticky-main-switch-height) + var(--sticky-main-sticky-height) + calc(60 * var(--ratio)));
                }
            }
        }
    }
    /* // 더보기 */

    /* 링크 */
    .special-purchase-benefits {
        .special-purchase-benefits__linker {
            position: absolute;
            top: 0;
            width: 32%;
            height: 100%;
        }
        .special-purchase-benefits__linker--01 {
            left: 0;
        }
        .special-purchase-benefits__linker--02 {
            left: 34%;
        }
        .special-purchase-benefits__linker--03 {
            right: 0;
        }
    }
    /* // 링크 */

    /* 제품 리스트 */
    .academy-product .academy-product-item {
        position: relative;
        border-radius: 8px;
        box-shadow: 0 0 1px 0 rgba(33, 39, 49, 0.15), 0 2px 20px 0 rgba(33, 39, 49, 0.15);
    }
    .academy-product .academy-product-item-area {
        display: flex;
        flex-wrap: wrap;
        gap: calc(12 * var(--ratio));
        list-style: none;
        margin: 0;
    }

    .academy-product .academy-product-item {
        position: relative;
        flex: 0 0 calc(50% - calc(6 * var(--ratio)));
    }

    .academy-product .academy-product-item img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .academy-product-item a {
        position: absolute;
        top: 83.8%;
        left: 9.5%;
        width: 80.5%;
        height: 10.5%;
    }
    /* // 제품 리스트 */

    /* 인증하기 버튼 */
    .academy-auth-cont {
        position: relative;
    }
    .academy-auth .complete-btn,
    .academy-auth .join-btn {
        position: absolute;
        top: 43%;
        left: 8.5%;
        width: calc(90 * var(--ratio));
        height: calc(50 * var(--ratio));
        padding: 0;
        border: none;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: start;
    }
    .academy-auth .join-btn {
        left: 8.2%;
    }

    .academy-auth .complete-btn img,
    .academy-auth .join-btn img {
        display: block;
        width: calc(60 * var(--ratio));
        height: calc(20 * var(--ratio));
    }

    /* .academy-auth .join-btn .c-button__icon--arrow-right-black {
        display: inline-block;
        width: calc(16 * var(--ratio));
        height: calc(16 * var(--ratio));
        background: url(/kr/event/promotions/images/icon-new-line-chevron-down-black.svg) no-repeat;
        background-size: contain;
        vertical-align: middle;
        transform: rotate(-90deg);
    } */
    /* // 인증하기 버튼 */

    

    /* 신규가이드 조정 */
    /* gap 조정 */
    .benefit-accordion {
        & .l-article__inner {
            &:has( > .c-title + .l-tab .c-tab--3depth[data-tab-sticky="2depth"]) {
                row-gap: calc(0 * var(--ratio));
            }
        }

        .l-article__content:nth-child(1) {
            row-gap: calc(10 * var(--ratio));
        }
    }
    /* // gap 조정 */

    /* 혜택 닫기 버튼 여백 조정 */
    [data-accordion-toggle="true"] {
        .c-custom-accordion__btn-wrap:has([aria-expanded="true"]) {
            position: relative;
            margin-top: calc(24 * var(--ratio));
        }
    }
    /* // 혜택 닫기 버튼 여백 조정 */
    /* // 신규가이드 조정 */

}