@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

.renewal {
    footer {
        background: var(--Gray-100, #F5F5F6);
        display: flex;
        justify-content: center;
        padding: 0 !important;
        margin: 0 !important;

        .footer-content {
            padding: 36px 60px;
            max-width: 1200px;
            width: 100%;
            display: flex;
            gap: 12px;
            flex-direction: column;

            >div:last-child {
                display: flex;
                flex-direction: column;
                gap: 32px;

                >div:first-child {
                    display: flex;
                    flex-direction: column;
                    gap: 8px;

                    >div {
                        display: flex;
                        gap: 12px;
                        align-items: center;

                        >a {
                            color: var(--Gray-500, #454545);
                            padding: 8px 0;
                            /* pc/Body2 */
                            font-family: "Pretendard Variable";
                            font-size: 16px;
                            font-style: normal;
                            font-weight: 700;
                            line-height: 24px;
                            /* 150% */
                        }
                    }

                    >div:last-child {
                        color: var(--Gray-400, #9D9D9D);
                        font-family: "Pretendard Variable";
                        font-size: 13px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 23px;
                        /* 176.923% */
                    }
                }

                >div:nth-child(2) {
                    display: flex;
                    gap: 16px;
                    overflow: hidden;

                    >div {
                        flex: 0 0 258px;

                        >span {
                            padding: 12px 0;
                            display: block;
                            overflow: hidden;
                            color: var(--Gray-400, #9D9D9D);
                            text-overflow: ellipsis;

                            /* pc/Body3 */
                            font-family: "Pretendard Variable";
                            font-size: 15px;
                            font-style: normal;
                            font-weight: 700;
                            line-height: 22px;
                            /* 146.667% */

                            >svg {
                                display: none;
                            }
                        }

                        >div {
                            >a {
                                display: block;
                                padding: 4px 8px;
                                overflow: hidden;
                                color: var(--Gray-400, #9D9D9D);
                                text-overflow: ellipsis;

                                /* pc/Caption */
                                font-family: "Pretendard Variable";
                                font-size: 13px;
                                font-style: normal;
                                font-weight: 400;
                                line-height: 23px;
                                /* 176.923% */
                            }
                        }


                    }


                }

                >div:last-child {
                    display: flex;
                    flex-direction: column;
                    gap: 16px;

                    >div:first-child {
                        color: var(--Gray-400, #9D9D9D);

                        /* pc/Caption */
                        font-family: "Pretendard Variable";
                        font-size: 13px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 23px;
                        /* 176.923% */
                    }

                    >div:last-child {
                        display: flex;
                        gap: 8px;
                        flex-direction: column;

                        >div:first-child {
                            color: var(--Gray-500, #454545);

                            /* pc/Body2 */
                            font-family: "Pretendard Variable";
                            font-size: 16px;
                            font-style: normal;
                            font-weight: 700;
                            line-height: 24px;
                            /* 150% */
                        }

                        >div:last-child {
                            color: var(--Gray-400, #9D9D9D);

                            /* m/Caption */
                            font-family: "Pretendard Variable";
                            font-size: 13px;
                            font-style: normal;
                            font-weight: 500;
                            line-height: 20px;
                            /* 153.846% */
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    .renewal {
        footer {
            .footer-content {
                padding: 32px 16px 80px;
                width: 100%;

                >div:last-child {
                    gap: 20px;

                    >div:first-child {

                        >div {
                            >a {
                                font-size: 15px;
                                line-height: 22px;
                            }
                        }

                        >div:last-child {
                            font-weight: 500;
                            line-height: 20px;
                        }
                    }

                    >div:nth-child(2) {
                        flex-direction: column;
                        gap: 0;

                        >div {
                            flex: 1;

                            >span {
                                border-radius: var(--space-8, 8px);
                                transition: all 0.4s ease-in-out;
                                display: flex;
                                align-items: center;
                                justify-content: space-between;
                                gap: 8px;

                                padding: 12px;
                                font-size: 16px;
                                font-weight: 700;
                                line-height: 24px;

                                >svg:nth-child(1) {
                                    display: block;
                                }
                            }

                            >div {
                                display: none;
                                overflow: hidden;

                                >a {
                                    padding: 8px 12px;
                                    color: #454545;

                                    font-size: 15px;
                                    font-weight: 500;
                                    line-height: 22px;
                                }
                            }



                            &.active {

                                >span {


                                    background: var(--Gray-500, #454545);
                                    color: var(--white, #FFF);

                                    >svg:nth-child(1) {
                                        display: none;
                                    }

                                    >svg:nth-child(2) {
                                        display: block;
                                    }
                                }
                            }
                        }


                    }

                    >div:last-child {
                        gap: 8px;

                        >div:first-child {
                            font-size: 12px;
                            font-weight: 500;
                            line-height: 20px;
                            letter-spacing: -0.24px;
                        }
                    }
                }
            }
        }
    }
}