/*
 * 주소모음 PC Footer
 * reference: 어두운 Navy 기반의 정보형 링크 디렉터리 Footer
 */

#jm_footer {
    position: relative;
    margin: 0;
    padding: 0;
    background: #17243a;
    color: #cbd5e1;
    font-family: 'SUIT', 'Noto Sans KR', sans-serif;
}

#jm_footer * {
    box-sizing: border-box;
}

#jm_footer .jm_footer_inner {
    width: 1100px;
    margin: 0 auto;
    padding: 48px 0 24px;
}

#jm_footer .jm_footer_top {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
    gap: 72px;
}

#jm_footer .jm_footer_intro h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

#jm_footer .jm_footer_intro > p {
    max-width: 690px;
    margin: 0;
    color: #d4deea;
    font-size: 14px;
    line-height: 1.85;
    word-break: keep-all;
}

#jm_footer .jm_footer_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 26px;
}

#jm_footer .jm_footer_nav a,
#jm_footer .jm_footer_policy a {
    color: #f5f8fc;
    text-decoration: none;
    transition: color .15s ease, opacity .15s ease;
}

#jm_footer .jm_footer_nav a {
    font-size: 14px;
    font-weight: 600;
}

#jm_footer .jm_footer_nav a:hover,
#jm_footer .jm_footer_nav a:focus,
#jm_footer .jm_footer_policy a:hover,
#jm_footer .jm_footer_policy a:focus {
    color: #02e6c9;
}

#jm_footer .jm_footer_policy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 20px;
}

#jm_footer .jm_footer_policy a {
    color: #aebcd0;
    font-size: 13px;
}

#jm_footer .jm_footer_info {
    padding-top: 2px;
}

#jm_footer .jm_footer_info dl {
    margin: 0;
}

#jm_footer .jm_footer_info dl > div + div {
    margin-top: 18px;
}

#jm_footer .jm_footer_info dt {
    margin: 0 0 4px;
    color: #92a6c1;
    font-size: 13px;
    font-weight: 500;
}

#jm_footer .jm_footer_info dd {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    word-break: keep-all;
}

#jm_footer .jm_footer_info dd a {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

#jm_footer .jm_footer_info dd a:hover,
#jm_footer .jm_footer_info dd a:focus {
    color: #02e6c9;
}

#jm_footer .jm_footer_bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
}

#jm_footer .jm_footer_notice {
    max-width: 760px;
    margin: 0;
    color: #91a4be;
    font-size: 12px;
    line-height: 1.7;
    word-break: keep-all;
}

#jm_footer .jm_footer_copy {
    flex: 0 0 auto;
    margin: 0;
    color: #9bacc2;
    font-size: 12px;
    white-space: nowrap;
}

#jm_footer #top_btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: #24344e;
    color: #fff;
    box-shadow: 0 8px 22px rgba(12,24,43,.25);
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}

#jm_footer #top_btn:hover,
#jm_footer #top_btn:focus {
    background: #02e6c9;
    color: #102036;
    transform: translateY(-2px);
}

/* 기존 basic theme Footer 스타일 영향 제거 */
#ft,
#ft_wr,
#ft_link,
#ft_company,
#ft_copy {
    all: unset;
}

@media (max-width: 1199px) {
    #jm_footer .jm_footer_inner {
        width: auto;
        margin: 0 28px;
    }
}

@media (max-width: 860px) {
    #jm_footer .jm_footer_inner {
        margin: 0 20px;
        padding-top: 38px;
    }

    #jm_footer .jm_footer_top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    #jm_footer .jm_footer_bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    #jm_footer .jm_footer_copy {
        white-space: normal;
    }
}
