/* Samyoung subpage footer. Loaded in btm.php AFTER legacy CSS.
   Scoped to existing #footer and #footer2 so header and form styles stay untouched. */
#footer, #footer2 {
  box-sizing:border-box !important;
  display:block !important;
  position:relative !important;
  float:none !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  clear:both !important;
  border:0 !important;
  color:#dbe5ef !important;
  font-family:'Malgun Gothic','Apple SD Gothic Neo',Arial,sans-serif !important;
}
#footer {
  margin:28px 0 0 !important;
  padding:0 !important;
  border-top:3px solid #315d83 !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
  background:#102943 !important;
}
#footer2 {
  margin:0 !important;
  padding:0 !important;
  background:#102943 !important;
}
#footer .copyright, #footer .connect, #footer2 .addr {
  box-sizing:border-box !important;
  display:block !important;
  float:none !important;
  position:static !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  width:calc(100% - 40px) !important;
  max-width:1100px !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  text-align:left !important;
}
#footer .copyright {padding:20px 0 !important;}
#footer .copyright ul {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px 16px !important;
  list-style:none !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
}
#footer .copyright li {
  float:none !important;
  display:inline-flex !important;
  gap:12px !important;
  align-items:center !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  line-height:1.65 !important;
  background:none !important;
}
#footer .copyright a, #footer .copyright a:visited {
  color:#e4edf6 !important;
  font-weight:500 !important;
  text-decoration:none !important;
  font-size:13px !important;
}
#footer .copyright a:hover, #footer .copyright a:focus-visible {
  color:#fff !important;
  text-decoration:underline !important;
  text-underline-offset:4px !important;
}
#footer .copyright li span {color:#617d98 !important;}
#footer .connect:empty {display:none !important;}
#footer2 .addr {padding:22px 0 30px !important;}
#footer2 .addr address {
  box-sizing:border-box !important;
  display:block !important;
  float:none !important;
  position:static !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  color:#becbd9 !important;
  background:transparent !important;
  font-size:13px !important;
  font-weight:400 !important;
  font-style:normal !important;
  line-height:1.95 !important;
  letter-spacing:0 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:keep-all !important;
  text-align:left !important;
}
@media (max-width:800px) {
  #footer {margin-top:20px !important;}
  #footer .copyright, #footer2 .addr {
    width:calc(100% - 32px) !important;
    max-width:none !important;
  }
  #footer .copyright {padding:16px 0 !important;}
  #footer2 .addr {padding:20px 0 26px !important;}
  #footer .copyright a {font-size:12px !important;}
  #footer2 .addr address {font-size:12px !important;line-height:1.9 !important;}
}
