/* Footer Component */
.footer-section {
    background: var(--color-white);
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.footer-info-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.footer-info {
    font-family: var(--font-family-secondary);
    font-size: 12px;
    color: #4d4d4d;
    line-height: 16px;
    flex: 1;
}

.footer-info p {
    margin: 0;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.footer-info strong {
    font-weight: 700;
}

/* Family Site */
.footer-family-site {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.family-site-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 18px;
    color: #6a6e74;
    letter-spacing: -0.28px;
    margin: 0;
    display: inline-block;
}

.family-site-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: #070d17;
    text-decoration: underline;
    text-underline-position: from-font;
    margin: 0;
    cursor: pointer;
    display: inline-block;
}

/* Hide Japanese mobile line breaks by default (desktop & tablet) */
.footer-ja-mobile-break {
    display: none;
}

/* Mobile footer line breaks */
@media (max-width: 767px) {
    /* Hide English line breaks in Korean version */
    .mobile-only .footer-en-break {
        display: none;
    }

    /* Hide Japanese line breaks in Korean and English version */
    .mobile-only .footer-ja-mobile-break {
        display: none;
    }

    /* Hide separators and show line breaks in English mobile version */
    html[lang="en"] .mobile-only .footer-separator {
        display: none !important;
    }

    html[lang="en"] .mobile-only .footer-en-break {
        display: block !important;
    }

    /* Hide only email separators and show line breaks in Japanese mobile version */
    html[lang="ja"] .mobile-only .footer-separator-email {
        display: none !important;
    }

    html[lang="ja"] .mobile-only .footer-ja-mobile-break {
        display: block !important;
    }

    /* Hide only email separators and show line breaks in Chinese mobile version */
    html[lang="zh"] .mobile-only .footer-separator-email {
        display: none !important;
    }

    html[lang="zh"] .mobile-only .footer-ja-mobile-break {
        display: block !important;
    }

    /* Hide separators and show line breaks in Russian mobile version */
    html[lang="ru"] .mobile-only .footer-separator {
        display: none !important;
    }

    html[lang="ru"] .mobile-only .footer-en-break {
        display: block !important;
    }

    /* Russian mobile version - Family Site: use row direction with wrap */
    /* This allows label to take full width (new line) and links to stay on same line */
    html[lang="ru"] .footer-family-site {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start;
    }

    /* Russian mobile version - Make family-site-label take full width (force to new line) */
    html[lang="ru"] .footer-family-site .family-site-label {
        flex-basis: 100% !important;
        width: 100%;
        flex-shrink: 0;
    }

    /* Russian mobile version - Family Site links: keep them inline on same line */
    html[lang="ru"] .footer-family-site .family-site-link {
        display: inline-block !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }
}

/* Footer Responsive - 데스크톱/태블릿 스타일은 각 responsive CSS 파일에서 관리 */
