/* 팝업 */
#popParent {
    display: none;

    &.pop-parent {
        z-index: 9999;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        padding-bottom: 40px;
        background-color: rgba(0, 0, 0, 0.35);

        .pop {
            display: block;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 500px;
            border: 1px solid #fff;

            .btn-toggle {
                width: 40px;
                height: 40px;
                position: relative;
                background-color: black;
                cursor: pointer;

                img {
                    width: auto;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%) rotate(-90deg);
                    transition: all 0.3s;
                }
            }
            .swiper-btn-control {
                width: 8px;
                height: 11px;
                margin-left: 16px;
                position: relative;
                top: 2px;
            }
        }
        .pop-btns {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            height: 40px;
            padding: 0 26px;
            background-color: #fff;
            font-size: 14px;
            font-weight: 500;

            .btn-close {
                display: flex;
                align-items: center;
                gap: 5px;
            }

            .oneday-label {
                opacity: 0.5;

                &:hover {
                    opacity: 1;
                }
            }
        }
        .popupSwiper {
            background-color: #fff;
        }
        .swiper-pagination {
            pointer-events: none;
            top: 16px;
            left: auto;
            right: 16px;
            width: fit-content;
            display: flex;
            gap: 8px;
        }
        .swiper-pagination-bullet {
            margin: 0;
            width: 10px;
            height: 10px;
            border-radius: 0;
            opacity: 0.5;
            background-color: #06103d;
            border: 1px solid #fff;
        }
        .swiper-pagination-bullet-active {
            opacity: 1;
        }
        .active {
            right: -400px;

            .btn-toggle {
                transform: rotate(180deg);
            }
        }
        .m-ratioBox-wrap {
            width: 100%;
            padding-top: 100%;
            position: relative;
            overflow: hidden;

            .m-ratioBox {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-size: cover;
                background-position: center;
                background-color: var(--sub_color01);
            }
            img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translateY(-50%) translateX(-50%);
                z-index: 1;
            }
            iframe {
                width: 105%;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translateY(-50%) translateX(-50%);
                z-index: 1;
            }

            .m-ratioBox-btns {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                display: flex;
                justify-content: center;
                gap: 20px;
                padding: 26px;
                pointer-events: none;
                z-index: 2;

                a {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 100%;
                    max-width: calc(50% - 10px);
                    height: 50px;
                    padding: 0 8px;
                    color: #fff;
                    font-size: 16px;
                    font-weight: 500;
                    background-color: #06103d;
                    pointer-events: auto;
                    text-align: center;
                    line-height: 1.25;
                }
            }
        }

        /* 1279px 이하 */
        @media screen and (max-width: 1279px) {
            .pop {
                width: calc(100% - 40px);
                max-width: 500px;
            }
            &.active {
                right: calc(- (100% - 40px));
            }
        }

        /* 1023px 이하 */
        @media screen and (max-width: 1023px) {
            .floating-btns-wrap {
                bottom: 16px;
                right: 16px;
            }
        }

        /* 767px 이하 */
        @media screen and (max-width: 767px) {
            top: 50%;
            right: unset;
            left: 50%;
            transform: translate(-50%, -50%);

            .pop-btns {
                padding: 0 16px;
            }
            .pop .btn-toggle {
                display: none;
            }

            .m-ratioBox-wrap {
                .m-ratioBox-btns {
                    gap: 10px;
                    padding: 16px;

                    a {
                        height: 46px;
                        font-size: 14px;
                    }
                }
            }
        }
    }
}

/* 
=============================================================
-------------------------커스텀스타일------------------------- 
=============================================================
*/

.sycle_animation {
    animation: sycle-animation 20s linear infinite;

    svg {
        path {
            fill: white;
        }
    }

    &.active {
        svg {
            path {
                fill: var(--color-gold-500);
            }
        }
    }
}

@keyframes sycle-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.scheduleSwiper.swiper {
    margin: 0;

    .scheduleSwiper-pagination {
        display: flex;
        gap: 8px;
        padding-top: 10px;

        .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
            margin: 0;
            border-radius: 0;
            opacity: 0.5;
            background-color: #fff;
            opacity: 0.5;
        }
        .swiper-pagination-bullet-active {
            background-color: #fff;
            opacity: 1;
        }
    }
}

.projectSwiper {
    .swiper-slide {
        opacity: 0.5;
        scale: 0.8;
        transition: all 0.3s ease-in-out;

        a > h3 {
            opacity: 0;
            transition: all 0.3s ease-in-out;
        }

        &.swiper-slide-active {
            opacity: 1;
            scale: 1;

            a > h3 {
                opacity: 1;
                transition: all 0.3s ease-in-out;
            }
        }
    }
}

.sc-point {
    position: relative;
    padding: 0 40px;

    &::after {
        content: "“";
        position: absolute;
        top: 16px;
        left: 0;
        opacity: 0.1;
        color: #06103d;
        font-family: "Escoredream", sans-serif;
        font-weight: 500;
        font-size: 64px;
    }
    &::before {
        content: "”";
        position: absolute;
        top: 16px;
        right: 0;
        opacity: 0.1;
        color: #06103d;
        font-family: "Escoredream", sans-serif;
        font-weight: 500;
        font-size: 64px;
    }

    @media screen and (max-width: 820px) {
        padding: 0 30px;

        &::after,
        &::before {
            top: 8px;
            font-size: 48px;
        }
    }
}

.sponsorship-table {
    width: 100%;
    min-width: 1000px;
    border-style: solid;
    border-color: #202020;
    border-top-width: 2px;
    border-bottom-width: 2px;
    font-size: 18px;

    thead,
    tbody,
    tr {
        border-style: solid;
        border-color: rgba(32, 32, 32, 0.2);
        border-top-width: 1px;
        border-bottom-width: 1px;
    }

    th,
    td {
        border-style: solid;
        border-color: rgba(32, 32, 32, 0.2);
        border-inline-start-width: 1px;
        border-inline-end-width: 1px;
        padding: 16px 24px;

        &:first-child {
            border-inline-start-width: 0;
        }
        &:last-child {
            border-inline-end-width: 0;
        }
    }

    th {
        background-color: var(--color-gray-200);

        span {
            display: block;
            white-space: pre-wrap;
            margin-bottom: 10px;

            &:last-child {
                margin-bottom: 0;
                color: var(--color-gold-500);
                font-weight: 500;
            }
        }
    }

    td {
        height: 70px;
        font-weight: 400;
        text-align: center;

        img {
            width: 32px;
            height: 32px;
            object-fit: contain;
            margin: 0 auto;
        }

        &:first-child {
            font-weight: 500;
            text-align: left;
            background-color: var(--color-gray-200);
        }
    }

    @media screen and (max-width: 1520px) {
        font-size: 15px;

        th,
        td {
            padding: 16px;
        }

        th {
            span {
                margin-bottom: 8px;
            }
        }

        td {
            height: 75px;

            img {
                width: 24px;
                height: 24px;
            }
        }
    }

    @media screen and (max-width: 1024px) {
        font-size: 14px;

        th,
        td {
            padding: 10px;
        }

        th {
            span {
                margin-bottom: 8px;
            }
        }

        td {
            height: 45px;

            img {
                width: 16px;
                height: 16px;
            }
        }
    }
}

.annual-sponsorship-list-wrap ul *,
.leadership-list-wrap ul * {
    line-height: 1.28;
}

/* 공연일정 캘린더 */
#calendar td,
#calendar th,
#calendar .fc-scrollgrid {
    border: 0;
}
#calendar .fc-col-header-cell-cushion {
    padding: 16px 0;
    font-size: 16px;
    font-weight: bold;
}
#calendar .fc-col-header {
    border-bottom: 1px solid #06103d;
}
#calendar .fc-daygrid-body-natural .fc-daygrid-day-events {
    display: none;
}
#calendar .fc-daygrid-day-top {
    padding: 7px;
    justify-content: center;
}
#calendar .fc-daygrid-day-number {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    line-height: 28px;
    text-align: center;
    padding: 0;
    font-size: 16px;
    font-weight: 300;
}
#calendar .fc-daygrid-day-number.has-event {
    background-color: #06103d;
    color: #fff;
    cursor: pointer;
}
#calendar .fc-daygrid-day.fc-day-today {
    background: none;
}
/* #calendar .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    border: 1px solid #06103d;
} */

/* 머큐리 스타일 */
.marquee-style {
    position: relative;
    top: 0;
    left: 0;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    z-index: 2;

    .animate-marquee {
        display: inline-flex;
        animation: marquee linear infinite;
        will-change: transform;

        img {
            flex-shrink: 0;
            width: 283px;
            aspect-ratio: 283/400;
            margin: 0 10px;
            cursor: pointer;
            transition: transform 0.2s ease-in-out;

            &:hover {
                transform: scale(0.9);
            }
            &:active {
                transform: scale(0.9);
            }

            @media screen and (max-width: 767px) {
                width: 200px;
            }
        }
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
