/* ✅ 기본 footer 구조 */
.site-footer {
    width: 100%;
    border-top: 1px solid #ddd;
    font-family: 'Noto Sans KR', sans-serif;
    color: #2c3e50; /* 플랜카드 기본 색상 통일 */
    font-size: 14px;
    margin-top: 40px;
    background: transparent;
}

/* ✅ 3영역 컨테이너 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* ✅ 왼쪽 링크 */
.footer-left a {
    text-decoration: none;
    color: #2c3e50;   /* 코스피/나스닥 폰트색과 동일 */
    /*font-weight: 600; !* 살짝 두껍게 *!*/
    font-size: 14px;
    margin-right: 6px;
    transition: color 0.2s;
}
.footer-left a:hover {
    color: #0073e6; /* hover 시 강조 */
}
.footer-left .divider {
    margin: 0 4px;
    color: #999;
}

/* ✅ 중앙 텍스트 */
.footer-center {
    text-align: center;
    /*font-weight: 500;*/
    font-size: 14px;
}

/* ✅ 오른쪽 영역 */
.footer-right {
    /*font-weight: 600;*/
    color: #2c3e50;
}

/* ✅ 다크모드 톤 */
body.dark-mode .site-footer {
    background-color: #1e1e1e;
    border-top: 1px solid #333;
    color: #d1e4ff; /* 플랜카드의 다크모드 글씨톤 */
}
body.dark-mode .footer-left a {
    color: #d1e4ff;
}
body.dark-mode .footer-left a:hover {
    color: #9fc7ff;
}
body.dark-mode .footer-left .divider {
    color: #666;
}
body.dark-mode .footer-right {
    color: #d1e4ff;
}

/* ✅ 모바일 대응 */
@media (max-width: 700px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    .footer-left, .footer-center, .footer-right {
        width: 100%;
        font-size: 13px;
    }
}

.footer-page-container {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 20px;
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    color: #333;
}

.footer-page-container h2 {
    font-size: 22px;
    margin-bottom: 16px;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 6px;
}

.footer-page-container p {
    font-size: 14px;
}

.contact-box {
    background: #f9f9f9;
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
    border: 1px solid #e0e0e0;
}

/* ✅ 다크모드 */
body.dark-mode .footer-page-container {
    color: #f5f5f5;
}
body.dark-mode .contact-box {
    background: #1e1e1e;
    border-color: #333;
}


.termsA {
    margin-top: -162px !important;
    position: relative;
    z-index: 2;
}
