/**
 * ITF Korea — footer
 * Figma PC 6069:9920 · 1024 6069:10016 · 390 6069:10048
 *
 * PC: py 60 · top/bottom 사이 56(28+선+28) · logo 109×40 · partners 우측
 * ≤1024: py 40 · 동일 56 · logo 98×36 · pad --inPd
 * ≤768: 세로 스택 · 동일 56 · logo 82×30 · info 줄바꿈 · pad --inPd
 */

.itf-site .footer {
    padding: 60px 0 40px;
    border-top: 0;
    background: var(--primary);
    color: var(--txtGray3);
}

.itf-site .footer > .in {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: var(--in);
    margin: 0 auto;
    padding: 0 var(--inPd);
    box-sizing: border-box;
}

.itf-site .footer .ftr-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.itf-site .footer .ftr-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-width: 0;
}

.itf-site .footer .ftr-logo {
    display: block;
    width: 109px;
    height: 40px;
    flex-shrink: 0;
}

.itf-site .footer .ftr-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.itf-site .footer .wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.itf-site .footer .box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: var(--tinyTxt);
    font-weight: 400;
    line-height: var(--txtLine, 1.5);
    color: var(--txtGray3);
}

.itf-site .footer .box a {
    color: inherit;
    text-decoration: none;
}

.itf-site .footer .ftr-sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: var(--txtGray3);
    opacity: 0.55;
    flex-shrink: 0;
}

.itf-site .footer .ftr-partners {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 28px;
    flex-shrink: 0;
}

.itf-site .footer .ftr-partner {
    display: block;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}

.itf-site .footer .ftr-partner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right top;
}

.itf-site .footer .ftr-partner--nts {
    width: 103px;
    height: 40px;
}

.itf-site .footer .ftr-partner--acrc {
    width: 163px;
    height: 48px;
}

.itf-site .footer .ftr-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--txtGray3);
}

.itf-site .footer .ftr-copy {
    margin: 0;
    font-size: var(--tinyTxt);
    font-weight: 400;
    line-height: var(--txtLine, 1.5);
    color: var(--txtGray3);
}

.itf-site .footer .ftr-privacy {
    font-size: var(--tinyTxt);
    font-weight: 700;
    line-height: var(--txtLine, 1.5);
    color: var(--txtGray3);
    text-decoration: none;
    white-space: nowrap;
}

@media screen and (max-width: 1024px) {
    .itf-site .footer {
        padding: 40px 0;
    }

    .itf-site .footer .ftr-logo {
        width: 98px;
        height: 36px;
    }

    .itf-site .footer .wrap {
        gap: 8px;
    }

    .itf-site .footer .ftr-partner--nts {
        width: 82px;
        height: 32px;
    }

    .itf-site .footer .ftr-partner--acrc {
        width: 136px;
        height: 40px;
    }
}

@media screen and (max-width: 768px) {
    .itf-site .footer .ftr-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .itf-site .footer .ftr-brand {
        gap: 28px;
        width: 100%;
    }

    .itf-site .footer .ftr-logo {
        width: 82px;
        height: 30px;
    }

    .itf-site .footer .wrap {
        width: 100%;
        gap: 8px;
    }

    /* 모바일: 파이프 없이 한 줄씩 */
    .itf-site .footer .box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .itf-site .footer .ftr-sep {
        display: none;
    }

    .itf-site .footer .ftr-partners {
        justify-content: flex-start;
    }

    .itf-site .footer .ftr-partner--nts {
        width: 82px;
        height: 32px;
    }

    .itf-site .footer .ftr-partner--acrc {
        width: 133px;
        height: 39px;
    }

    .itf-site .footer .ftr-bottom {
        align-items: center;
    }
}

@media screen and (min-width: 769px) and (hover: hover) {
    .itf-site .footer .ftr-privacy:hover {
        color: #fff;
    }
}
