/**
 * 사이트 공통 푸터 (Divi 테마 빌더 레이아웃 #41) 스타일 — 새 디자인(시안 v2)에 맞춤
 * 내용/구조는 테마 빌더 그대로 두고 CSS로만 덮어쓴다. Divi 규칙에 !important 가 있어 선택자를 한 단계 강하게.
 * 끄기: includes/ubw-jobs.php 의 ubw-footer enqueue 한 줄 제거
 */
footer.et-l--footer{
  --ubw-f-ink:#0D1412;
  --ubw-f-mint:#1FD1A5;
  --ubw-f-lime:#D9FF3F;
  --ubw-f-text:rgba(255,255,255,.68);
  --ubw-f-line:rgba(255,255,255,.08);
  --ubw-f-sans:'Manrope','Pretendard',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:var(--ubw-f-ink);
}

/* 섹션: 검정 배경, 위쪽 회색 테두리와 바깥 여백(흰 띠 원인) 제거 */
footer.et-l--footer .et_pb_section.et_pb_section,
.et-db #et-boc footer.et-l--footer .et_pb_section.et_pb_section.et_pb_section{ /* 검색/404 처럼 Divi 가 ID 선택자 CSS 를 따로 싣는 화면 대비 */
  margin-top:0 !important;
  border-top:0 !important;
  background-color:var(--ubw-f-ink) !important;
}
footer.et-l--footer .et_pb_section:first-child{padding-top:72px !important;padding-bottom:48px !important}

/* 본문 글자 */
footer.et-l--footer .et_pb_module.et_pb_text{
  color:var(--ubw-f-text) !important;
  font-family:var(--ubw-f-sans);font-size:14px;font-weight:500;line-height:1.7;
}
footer.et-l--footer .et_pb_module.et_pb_text p{padding-bottom:6px}

/* 제목(Links / Contact Us) → 작은 대문자 흰 라벨 (시안 v2 푸터) */
footer.et-l--footer .et_pb_module.et_pb_text h4,
footer.et-l--footer .et_pb_module.et_pb_text h4 span{
  font-family:var(--ubw-f-sans) !important;font-size:12px !important;font-weight:800 !important;
  letter-spacing:.2em;text-transform:uppercase;line-height:1.4 !important;
  color:#fff !important;
}
footer.et-l--footer .et_pb_module.et_pb_text h4{padding-bottom:4px}

/* 목록(연락처) */
footer.et-l--footer .et_pb_module.et_pb_text ul{padding-left:0 !important;list-style:none !important}
footer.et-l--footer .et_pb_module.et_pb_text ul li{font-family:var(--ubw-f-sans) !important;font-size:14px !important;line-height:2.1 !important;color:var(--ubw-f-text)}

/* 링크 (HTML 안에 color 가 직접 적혀 있어 !important 로 덮어씀) */
footer.et-l--footer .et_pb_module.et_pb_text a,
footer.et-l--footer .et_pb_module.et_pb_text span[style*="color"]{color:#fff !important}
footer.et-l--footer .et_pb_module.et_pb_text a{text-decoration:none;font-weight:600;transition:color .2s}
footer.et-l--footer .et_pb_module.et_pb_text a:hover,
footer.et-l--footer .et_pb_module.et_pb_text a:hover span{color:var(--ubw-f-lime) !important}

/* 페이스북 아이콘: 둥근 버튼 */
footer.et-l--footer .et_pb_module.et_pb_text a[href*="facebook.com"]{
  display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,.08);transition:background-color .2s;
}
footer.et-l--footer .et_pb_module.et_pb_text a[href*="facebook.com"]:hover{background:rgba(255,255,255,.16)}
footer.et-l--footer .et_pb_module.et_pb_text a[href*="facebook.com"] img{width:20px;height:20px;display:block}

/* 저작권 줄 */
footer.et-l--footer .et_pb_fullwidth_code{
  background-color:var(--ubw-f-ink) !important;
  border-top:1px solid var(--ubw-f-line);
  padding-top:22px !important;padding-bottom:26px !important;
}
footer.et-l--footer #custom-footer{
  font-family:var(--ubw-f-sans);font-size:13px;font-weight:500;letter-spacing:.02em;
  color:rgba(255,255,255,.45);text-align:center;
}

@media (max-width:980px){
  footer.et-l--footer .et_pb_section:first-child{padding-top:52px !important;padding-bottom:28px !important}
}
/* 공고 상세 모바일: 하단 고정 바가 저작권 줄을 가리지 않게 */
@media (max-width:900px){
  body.single-task footer.et-l--footer .et_pb_fullwidth_code{padding-bottom:110px !important}
}
