/* ============================================================
   윈스펙 푸터
   ============================================================ */
/* ---------- #footer 자체 리셋 ---------- */
#footer.footer-new {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  background: var(--theme-white);
  border-top: 1px solid var(--theme-gray-250);
  display: flex;
  flex-direction: column;
}

/* ---------- 상단 (회사정보 + 4컬럼) ---------- */
#footer.footer-new .fn-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 0;
}

#footer.footer-new .fn-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}
#footer.footer-new .fn-logo {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  text-decoration: none;
}
#footer.footer-new .fn-logo img {
  display: block;
  width: auto;
  max-width: 128px;
  max-height: 32px;
  height: auto;
}
#footer.footer-new .fn-info {
  display: flex;
  flex-direction: column;
}
#footer.footer-new .fn-info p {
  color: var(--theme-gray-800);
  line-height: 1;
  margin: 0;
  word-break: keep-all;
  white-space: pre-wrap;
}

#footer.footer-new .fn-cols {
  display: flex;
  align-items: flex-start;
  column-gap: 14px;
  flex-shrink: 0;
}

#footer.footer-new .fn-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 6px;
  flex-shrink: 0;
  min-width: 150px;
}
#footer.footer-new .fn-col-title {
  color: var(--theme-gray-800);
  white-space: nowrap;
}
#footer.footer-new .fn-col-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer.footer-new .fn-col-links a {
  color: var(--theme-gray-800);
  text-decoration: none;
  white-space: nowrap;
}
#footer.footer-new .fn-col-links a.is-channel {
  font-weight: 700;
  color: var(--theme-brand-primary);
}

/* ---------- 하단 (다크 + 카피라이트 + 약관) ---------- */
#footer.footer-new .fn-bottom {
  width: 100%;
  background: var(--theme-gray-900);
  border-top: 1px solid var(--theme-gray-800);
}
#footer.footer-new .fn-bottom-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0 12px;
}
#footer.footer-new .fn-copyright {
  color: var(--theme-gray-300);
  margin: 0;
  white-space: nowrap;
}
#footer.footer-new .fn-bottom-nav {
  display: flex;
  align-items: center;
  column-gap: 14px;
}
#footer.footer-new .fn-bottom-nav .nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 0 2px;
  color: var(--theme-gray-300);
  text-decoration: none;
  white-space: nowrap;
}
#footer.footer-new .fn-bottom-nav .nav-btn--emphasis {
  color: var(--theme-white);
}

/* ---------- 모바일 (≤991px) ---------- */
@media screen and (max-width: 991px) {
  #footer.footer-new .fn-inner {
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 24px;
    padding: 24px 16px;
  }
  #footer.footer-new .fn-logo img {
    max-width: 116px;
    max-height: 30px;
  }
  #footer.footer-new .fn-cols {
    width: 100%;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 24px;
    align-items: flex-start;
  }
  #footer.footer-new .fn-col {
    width: 152px;
  }
  #footer.footer-new .fn-bottom {
    border-top: 0;
  }
  #footer.footer-new .fn-bottom-inner {
    width: auto;
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
    padding: 14px 16px;
    text-align: center;
  }
  #footer.footer-new .fn-bottom-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  #footer.footer-new .fn-bottom-nav .nav-btn {
    padding: 4px 0;
  }
}
