/* ==========================================================================
   Common Footer Component Styles (Figma Minimal 4-Column Design)
   File: assets/css/components/footer.css
   ========================================================================== */

.footer.wh-footer {
  background-color: #ffffff !important;
  color: #151515 !important;
  padding: 5.5rem var(--_spacings---site-margin, 2.5rem) 3rem !important;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  position: relative;
  z-index: 5;
}

.wh-footer__inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 5.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
}

.wh-footer__top {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr !important;
  gap: 2.5rem !important;
  align-items: start !important;
  width: 100% !important;
}

.wh-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wh-footer__logo {
  text-decoration: none !important;
  display: inline-block;
}

.wh-footer__logo-text {
  font-family: 'Helvetica Now Display', 'Pretendard', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #151515;
  line-height: 1;
  display: block;
}

.wh-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.wh-footer__heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: #151515;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.wh-footer__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wh-footer__link {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: rgba(21, 21, 21, 0.55) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  line-height: 1.4 !important;
}

.wh-footer__link:hover {
  color: #151515 !important;
}

.wh-footer__bottom {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  padding-top: 2rem !important;
  border-top: none !important;
  text-align: center !important;
}

.wh-footer__copy {
  font-size: 0.72rem !important;
  color: rgba(21, 21, 21, 0.42) !important;
  margin: 0 auto !important;
  text-align: center !important;
  letter-spacing: -0.01em !important;
}

@media screen and (max-width: 991px) {
  .wh-footer__top {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem 1.5rem !important;
  }
}

@media screen and (max-width: 767px) {
  .footer.wh-footer {
    padding: 4rem 1.5rem 2.5rem !important;
  }

  .wh-footer__inner {
    gap: 3.5rem !important;
  }

  .wh-footer__top {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

