@charset "UTF-8";

/*************** Footer ***************/
footer {
  width: 100%;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  margin-top: 50rem;
  padding: 40rem 0 20rem;
}

footer .container {
  max-width: 1200rem;
  margin: 0 auto;
  padding: 0 20rem;
}

footer .footerMain {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30rem;
}

footer .footerLeft {
  display: flex;
  align-items: center;
  gap: 15rem;
}

footer .footerLeft img {
  width: 60rem;
  height: auto;
}

footer .footerLeft span {
  font-size: 16rem;
  font-weight: 700;
  color: #333;
}

footer .footerCenter {
  flex: 1;
  margin-left: 50rem;
  max-width: 100%;
  overflow: hidden;
  word-wrap: break-word;
  word-break: break-all;
}

footer .footerCenter div {
  margin-bottom: 8rem;
  line-height: 1.6;
  font-size: 13rem;
  color: #666;
  white-space: normal;
  overflow: visible;
}

footer .footerCenter div:last-child {
  margin-bottom: 0;
}

footer .footerCenter a {
  color: #0066cc !important;
  text-decoration: none !important;
  display: inline !important;
  white-space: normal !important;
}

footer .footerCenter a:hover {
  text-decoration: underline;
}

footer .footerCopyright {
  font-size: 11rem;
  color: #999;
  text-align: left;
  border-top: 1px solid #dee2e6;
  padding-top: 20rem;
}

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
  footer {
    padding: 30rem 0 15rem;
  }
  
  footer .container {
    padding: 0 15rem;
  }
  
  footer .footerMain {
    flex-direction: column;
    gap: 20rem;
  }
  
  footer .footerLeft {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10rem;
  }
  
  footer .footerCenter {
    margin-left: 0;
    max-width: 100%;
    overflow: hidden;
  }
  
  footer .footerCenter div {
    font-size: 11rem;
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
  }
  
  footer .footerLeft span {
    font-size: 14rem;
  }
  
  footer .footerCopyright {
    font-size: 10rem;
    text-align: center;
  }
}

/* 추가적인 작은 화면 대응 */
@media screen and (max-width: 480px) {
  footer .footerCenter div {
    font-size: 10rem;
  }
  
  footer .footerLeft span {
    font-size: 13rem;
  }
} 