#siteFooter{
  width:100%;
  margin:0;
  padding:0;
  clear:both;
}

#siteFooter,
#siteFooter *{
  box-sizing:border-box;
}

#siteFooter .site-footer{
  width:100%;
  margin-top:20px;
  background:#292a2d;
  color:#fff;
  border-top:1px solid rgba(255,255,255,.08);
  font-family:"Pretendard","Noto Sans KR","Malgun Gothic",Arial,sans-serif;
}

#siteFooter .footer-inner{
  width:min(1280px,calc(100% - 48px));
  margin:0 auto;
  padding:42px 0 48px;
}

#siteFooter .footer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-bottom:24px;
  margin-bottom:28px;
  border-bottom:1px solid rgba(255,255,255,.13);
}

#siteFooter .footer-nav{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
  margin:0;
  padding:0;
}

#siteFooter .footer-nav a{
  position:relative;
  padding:0 20px;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  line-height:1.4;
  font-weight:750;
}

#siteFooter .footer-nav a:first-child{
  padding-left:0;
}

#siteFooter .footer-nav a:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  width:1px;
  height:16px;
  transform:translateY(-50%);
  background:rgba(255,255,255,.32);
}

#siteFooter .footer-social{
  display:flex;
  align-items:center;
  gap:10px;
}

#siteFooter .footer-social span{
  min-width:38px;
  height:38px;
  padding:0 10px;
  border-radius:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:#e8e8e8;
  font-size:11px;
  line-height:1;
  font-weight:800;
}

#siteFooter .footer-company{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
}

#siteFooter .footer-company-line{
  display:flex;
  flex-wrap:wrap;
  gap:6px 34px;
  color:#f1f1f1;
  font-size:13px;
  line-height:1.65;
}

#siteFooter .footer-company-line strong{
  font-weight:800;
}

#siteFooter .footer-company-line span{
  white-space:nowrap;
}

#siteFooter .footer-copy{
  margin-top:20px;
  color:#b8b9bb;
  font-size:12px;
  line-height:1.7;
}

@media(max-width:720px){
  #siteFooter .footer-inner{
    width:calc(100% - 28px);
    padding:32px 0 36px;
  }

  #siteFooter .footer-top{
    align-items:flex-start;
    flex-direction:column;
    gap:18px;
    padding-bottom:20px;
    margin-bottom:24px;
  }

  #siteFooter .footer-nav{
    width:100%;
    row-gap:12px;
  }

  #siteFooter .footer-nav a{
    padding:0 12px;
    font-size:13px;
  }

  #siteFooter .footer-nav a:first-child{
    padding-left:0;
  }

  #siteFooter .footer-social{
    flex-wrap:wrap;
  }

  #siteFooter .footer-company-line{
    display:block;
    font-size:12px;
    line-height:1.9;
  }

  #siteFooter .footer-company-line span{
    display:block;
    white-space:normal;
  }

  #siteFooter .footer-copy{
    margin-top:18px;
    font-size:11px;
  }
}


/* 푸터 소셜 아이콘 */
.footer-social{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.footer-social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  overflow:hidden;
  text-decoration:none;
  transition:transform .18s ease, opacity .18s ease;
}

.footer-social-link img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.footer-social-link:hover{
  transform:translateY(-2px);
  opacity:.88;
}

.footer-social-link:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
}

@media(max-width:768px){
  .footer-social{
    gap:9px;
  }

  .footer-social-link{
    width:34px;
    height:34px;
  }
}


/* ==========================================================
   공통 푸터 화면 하단 정렬
   - 기본 body 여백 제거
   - 내용이 짧은 페이지에서도 푸터가 화면 하단에 위치
   ========================================================== */
body.with-site-header{
  margin:0;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
}

body.with-site-header > #siteFooter{
  width:100%;
  margin-top:auto;
  flex:0 0 auto;
}
