/* 푸터 — 차콜 단일 톤 (헤더는 밝게 유지, 하단만 LG식 다크 통일)
   section.wrap 으로 특이도 상향 — media.css 구형 푸터 레이아웃 덮어씀 */

section.wrap footer {
  background-color: #161618;
  color: #a1a1aa;
}
section.wrap footer > * {
  color: #a1a1aa;
}

section.wrap footer .foot_info {
  padding: 14px 25px;
  background-color: #1c1c1f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
}
section.wrap footer .foot_info:after {
  display: none;
}
section.wrap footer .foot_info li {
  float: none;
  width: auto;
  margin-left: 0;
  padding-left: 20px;
  text-align: left;
  border-left: 0;
  box-sizing: border-box;
}
section.wrap footer .foot_info li:first-child {
  padding-left: 0;
}
section.wrap footer .foot_info li:before {
  display: block;
  top: 50%;
  bottom: auto;
  height: 12px;
  transform: translateY(-50%);
  border-left-color: rgba(255, 255, 255, 0.16);
}
section.wrap footer .foot_info li a {
  position: relative;
  display: block;
  height: auto;
  min-height: 28px;
  width: auto;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 500;
  color: #a1a1aa;
  letter-spacing: 0.01em;
  text-align: left;
  /* comm.css 아이콘(::after) 공간 — padding 제거 시 글자·아이콘 겹침 방지 */
  padding: 6px 36px 6px 0;
  box-sizing: border-box;
  transition: color 0.18s ease;
}
section.wrap footer .foot_info li a:hover {
  color: #f4f4f5;
}
section.wrap footer .foot_info li a:after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  margin-top: 0;
  opacity: 0.85;
  filter: grayscale(1) brightness(1.4);
}
section.wrap footer .foot_info li a.com_contact:after {
  background-position: 0 -60px;
}
section.wrap footer .foot_info li a span {
  display: inline;
  vertical-align: baseline;
  line-height: inherit;
}

section.wrap footer address {
  padding: 28px 25px 32px;
  max-width: 1320px;
  margin: 0 auto;
}
section.wrap footer address div {
  float: none;
  max-width: calc(100% - 200px);
}
section.wrap footer address p,
section.wrap footer address .email {
  color: #a1a1aa;
}
section.wrap footer address p:before,
section.wrap footer address .email:before {
  background-color: #52525b;
  top: 9px;
}
section.wrap footer address a {
  color: #a1a1aa;
  transition: color 0.18s ease;
}
section.wrap footer address a:hover {
  color: #f4f4f5;
}
section.wrap footer address p span a,
section.wrap footer address .email {
  color: #c4c4cc;
}
section.wrap footer address p span a:hover,
section.wrap footer address .email:hover {
  color: #fafafa;
}
section.wrap footer address p.copy {
  margin-top: 4px;
  padding-top: 16px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #71717a;
}

section.wrap footer .btn_tab_share {
  background-color: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}
section.wrap footer .btn_tab_share:hover {
  background-color: #3f3f46;
}
section.wrap footer .tab_share_form {
  background-color: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
section.wrap footer .btn_tab_share02 {
  background-color: #27272a;
  border-color: rgba(255, 255, 255, 0.2);
}

/* media.css (500–767) 구형 4열 푸터 네비 무력화 */
@media all and (min-width: 500px) and (max-width: 767px) {
  section.wrap footer .foot_info {
    padding: 14px 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  section.wrap footer .foot_info li {
    width: auto;
    padding-left: 20px;
    margin: 0;
    text-align: left;
    border-left: 0;
  }
  section.wrap footer .foot_info li:first-child {
    padding-left: 0;
  }
  section.wrap footer .foot_info li:before {
    display: block;
  }
  section.wrap footer .foot_info li a {
    display: block;
    height: auto;
    width: auto;
    padding: 6px 36px 6px 0;
    text-align: left;
  }
  section.wrap footer .foot_info li a:after {
    display: block;
  }
  section.wrap footer .foot_info li a span {
    display: inline;
    vertical-align: baseline;
  }
}

@media screen and (max-width: 768px) {
  section.wrap footer address div {
    max-width: 100%;
    float: none;
  }
  section.wrap footer .foot_info {
    padding: 12px 18px;
  }
  section.wrap footer address {
    padding: 22px 18px 28px;
  }
  section.wrap footer address p span a,
  section.wrap footer address .email {
    color: #c4c4cc;
  }
}
