/* Site-wide footer — 5 even columns + Contact / LinkedIn arrows */

/* Black board + white content (beats theme gray, product-detail, and page skins) */
footer.met-foot-info,
footer.met-foot-info.st-pd-foot,
footer.met-foot-info.wwd-foot,
footer.met-foot-info.wwa-foot {
  background: #212121 !important;
  color: #fff !important;
  border-top-color: rgba(255, 255, 255, 0.18) !important;
}

footer.met-foot-info h4,
footer.met-foot-info h4 a,
footer.met-foot-info a,
footer.met-foot-info .foot-nav a,
footer.met-foot-info .ulstyle,
footer.met-foot-info .ulstyle a,
footer.met-foot-info .foot-li a,
footer.met-foot-info .copy,
footer.met-foot-info .copy a,
footer.met-foot-info .copy div,
footer.met-foot-info .st-foot-jump,
footer.met-foot-info i,
footer.met-foot-info .fa,
footer.met-foot-info.st-pd-foot .foot-nav h4,
footer.met-foot-info.st-pd-foot .foot-nav h4 a,
footer.met-foot-info.st-pd-foot .foot-nav .ulstyle,
footer.met-foot-info.st-pd-foot .foot-nav .ulstyle a,
footer.met-foot-info.st-pd-foot .foot-nav .foot-li a {
  color: #fff !important;
}

footer.met-foot-info a:hover,
footer.met-foot-info h4 a:hover,
footer.met-foot-info .foot-nav a:hover,
footer.met-foot-info .st-foot-jump:hover,
footer.met-foot-info .st-foot-jump:focus {
  color: #fff !important;
  opacity: 0.75;
}

footer.met-foot-info .copy,
footer.met-foot-info .border-top1,
footer.met-foot-info.wwd-foot,
footer.met-foot-info.wwa-foot {
  border-top-color: rgba(255, 255, 255, 0.18) !important;
}

/* Compact contact / auth bar */
footer.met-foot {
  background: #212121 !important;
  color: #fff !important;
}
footer.met-foot a,
footer.met-foot p {
  color: #fff !important;
}

/* Plain 7-col footnav (6 nav cols + Contact, no newsletter). Never apply this to --nl or the
   product/about skins win over the newsletter 2-col layout and squash
   Contact into ~25px character stacks. */
footer.met-foot-info .st-home-footnav:not(.st-home-footnav--nl),
.met-foot-info.st-pd-foot .met-footnav > .container > .st-home-footnav:not(.st-home-footnav--nl),
footer.met-foot-info.wwa-foot .st-home-footnav:not(.st-home-footnav--nl),
footer.met-foot-info.wwd-foot .st-home-footnav:not(.st-home-footnav--nl) {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: clamp(1.5rem, 4vw, 3rem);
  justify-content: center;
  align-items: start;
  margin-left: 0;
  margin-right: 0;
}
footer.met-foot-info .st-home-footnav > [class*="col-"],
footer.met-foot-info .st-home-footnav__cols > [class*="col-"],
.met-foot-info.st-pd-foot .met-footnav > .container > .st-home-footnav > [class*="col-"],
footer.met-foot-info.wwa-foot .st-home-footnav > [class*="col-"],
footer.met-foot-info.wwd-foot .st-home-footnav > [class*="col-"],
footer.met-foot-info .st-home-footnav .foot-nav,
footer.met-foot-info .st-home-footnav .st-foot-contact,
footer.met-foot-info .st-home-footnav__cols .foot-nav,
footer.met-foot-info .st-home-footnav__cols .st-foot-contact {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
  min-width: 0;
}

/* Newsletter left + 6 nav cols + Contact right (homepage / product / about) */
/* Content width — match homepage modules (1520 / 100% - 2.5rem), side blanks */
footer.met-foot-info .met-footnav > .container,
.met-foot-info.st-pd-foot .met-footnav > .container,
footer.met-foot-info.wwa-foot .met-footnav > .container,
footer.met-foot-info.wwd-foot .met-footnav > .container {
  width: min(100% - 2.5rem, 1520px) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}
footer.met-foot-info .st-home-footnav.st-home-footnav--nl,
.met-foot-info.st-pd-foot .met-footnav > .container > .st-home-footnav.st-home-footnav--nl,
footer.met-foot-info.wwa-foot .st-home-footnav.st-home-footnav--nl,
footer.met-foot-info.wwd-foot .st-home-footnav.st-home-footnav--nl {
  display: grid !important;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) !important;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  justify-content: center;
  align-items: start;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
footer.met-foot-info .st-home-footnav--nl > .st-foot-newsletter {
  margin-top: 0;
  max-width: 300px;
}
footer.met-foot-info .st-home-footnav__cols,
footer.met-foot-info.wwa-foot .st-home-footnav__cols,
footer.met-foot-info.wwd-foot .st-home-footnav__cols,
.met-foot-info.st-pd-foot .st-home-footnav__cols {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
  min-width: 0;
  width: 100%;
}

@media (max-width: 1199px) {
  footer.met-foot-info .st-home-footnav__cols,
  footer.met-foot-info.wwa-foot .st-home-footnav__cols,
  footer.met-foot-info.wwd-foot .st-home-footnav__cols,
  .met-foot-info.st-pd-foot .st-home-footnav__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 991px) {
  footer.met-foot-info .st-home-footnav:not(.st-home-footnav--nl),
  .met-foot-info.st-pd-foot .met-footnav > .container > .st-home-footnav:not(.st-home-footnav--nl) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  footer.met-foot-info .st-home-footnav.st-home-footnav--nl,
  .met-foot-info.st-pd-foot .met-footnav > .container > .st-home-footnav.st-home-footnav--nl,
  footer.met-foot-info.wwa-foot .st-home-footnav.st-home-footnav--nl,
  footer.met-foot-info.wwd-foot .st-home-footnav.st-home-footnav--nl {
    grid-template-columns: 1fr !important;
  }
  footer.met-foot-info .st-home-footnav--nl > .st-foot-newsletter {
    max-width: 360px;
  }
}
@media (max-width: 767px) {
  footer.met-foot-info .st-home-footnav__cols,
  footer.met-foot-info.wwa-foot .st-home-footnav__cols,
  footer.met-foot-info.wwd-foot .st-home-footnav__cols,
  .met-foot-info.st-pd-foot .st-home-footnav__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 575px) {
  footer.met-foot-info .st-home-footnav:not(.st-home-footnav--nl),
  .met-foot-info.st-pd-foot .met-footnav > .container > .st-home-footnav:not(.st-home-footnav--nl),
  footer.met-foot-info .st-home-footnav__cols,
  footer.met-foot-info.wwa-foot .st-home-footnav__cols,
  footer.met-foot-info.wwd-foot .st-home-footnav__cols,
  .met-foot-info.st-pd-foot .st-home-footnav__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.st-foot-contact {
  text-align: left;
}
.st-foot-contact h4,
.st-foot-contact h4 a {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.571429;
  margin-bottom: 0.35em;
}
.st-foot-contact .ulstyle,
.st-foot-contact .ulstyle a,
.st-foot-contact .foot-li a {
  color: #fff;
  font-size: 14px;
  line-height: 1.571429;
  font-weight: 400;
}
/* Nav column titles / links */
footer.met-foot-info .foot-nav h4,
footer.met-foot-info .foot-nav h4 a,
footer.met-foot-info .foot-nav .font-size-16,
footer.met-foot-info .st-home-footnav__cols .font-size-16 {
  font-size: 16px !important;
}
footer.met-foot-info .foot-nav .ulstyle,
footer.met-foot-info .foot-nav .ulstyle a,
footer.met-foot-info .foot-nav .foot-li a {
  font-size: 14px !important;
}
/* Footer link rows — keep original compact line spacing */
footer.met-foot-info .ulstyle a,
footer.met-foot-info .foot-nav .ulstyle a,
footer.met-foot-info .foot-li a,
footer.met-foot-info .st-foot-contact .ulstyle a {
  display: inline;
  min-height: 0;
  padding: 0;
  line-height: 1.571429;
}
footer.met-foot-info .foot-li + .foot-li,
.st-foot-contact .foot-li + .foot-li {
  margin-top: 0;
}
/* Contact / LinkedIn / inquiry email — gold (beat footer white !important) */
footer.met-foot-info .st-foot-contact h4 a.st-foot-jump,
footer.met-foot-info .st-foot-contact .st-foot-jump,
footer.met-foot-info .st-foot-contact h4 a.st-foot-jump:hover,
footer.met-foot-info .st-foot-contact h4 a.st-foot-jump:focus,
footer.met-foot-info .st-foot-contact .st-foot-jump:hover,
footer.met-foot-info .st-foot-contact .st-foot-jump:focus {
  color: #CFB080 !important;
}
.st-foot-contact .st-foot-jump {
  color: #CFB080 !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: opacity 0.2s ease;
}
.st-foot-contact .st-foot-jump:hover,
.st-foot-contact .st-foot-jump:focus {
  color: #CFB080 !important;
  text-decoration: none;
  opacity: 0.72;
}
footer.met-foot-info .st-foot-contact .ulstyle a[href*="mailto:inquiry"],
footer.met-foot-info .st-foot-contact .foot-li a[href*="mailto:inquiry"],
footer.met-foot-info .st-foot-contact a[href*="mailto:inquiry@st-future.com"] {
  color: #CFB080 !important;
}
footer.met-foot-info .st-foot-contact .ulstyle a[href*="mailto:inquiry"]:hover,
footer.met-foot-info .st-foot-contact .ulstyle a[href*="mailto:inquiry"]:focus,
footer.met-foot-info .st-foot-contact .foot-li a[href*="mailto:inquiry"]:hover,
footer.met-foot-info .st-foot-contact .foot-li a[href*="mailto:inquiry"]:focus,
footer.met-foot-info .st-foot-contact a[href*="mailto:inquiry@st-future.com"]:hover,
footer.met-foot-info .st-foot-contact a[href*="mailto:inquiry@st-future.com"]:focus {
  color: #CFB080 !important;
  opacity: 0.72;
}
.st-foot-contact .st-foot-jump__arrow {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.st-foot-contact .st-foot-jump:hover .st-foot-jump__arrow,
.st-foot-contact .st-foot-jump:focus .st-foot-jump__arrow {
  transform: translate(1.5px, -1.5px);
}
.st-foot-contact h4 + .ulstyle {
  margin-top: 0;
  margin-bottom: 0;
}

/* Broken MetInfo envelope tofu after the hotline — hide leftover icons */
footer.met-foot-info .st-foot-contact .fa-envelope,
footer.met-foot-info .st-foot-contact .fa-esvelope,
footer.met-foot-info .st-foot-contact .fa-frvelope,
footer.met-foot-info .st-foot-contact [class*="velope"] {
  display: none !important;
}

/* Newsletter — Morphe-style signup */
.st-foot-newsletter {
  margin-top: 0;
  max-width: 100%;
  text-align: left;
}
.st-foot-newsletter__title {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em;
}
.st-foot-newsletter__form {
  margin: 0 0 16px;
}
.st-foot-newsletter__label {
  display: block;
  margin: 0 0 8px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.3;
}
.st-foot-newsletter__field {
  position: relative;
  display: flex;
  width: 100%;
}
.st-foot-newsletter__input {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 16px 72px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.st-foot-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  opacity: 1;
}
.st-foot-newsletter__input:focus {
  border-color: #fff;
}
.st-foot-newsletter__input:-webkit-autofill,
.st-foot-newsletter__input:-webkit-autofill:hover,
.st-foot-newsletter__input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 1000px #212121 inset;
  transition: background-color 9999s ease-out;
}
.st-foot-newsletter__join {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  z-index: 1;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 1 !important;
}
.st-foot-newsletter__join:hover,
.st-foot-newsletter__join:focus {
  opacity: 0.75 !important;
}
.st-foot-newsletter__join.disabled,
.st-foot-newsletter__join:disabled {
  pointer-events: auto !important;
  cursor: pointer;
  opacity: 1 !important;
}
.st-foot-newsletter__status {
  margin: 0 0 8px;
  min-height: 1.2em;
  font-size: 13px;
  line-height: 1.3;
  color: #fff;
}
.st-foot-newsletter__status[hidden],
.st-foot-newsletter__msg[hidden] {
  display: none !important;
}
.st-foot-newsletter__info {
  margin: 0;
}
.st-foot-newsletter__info p {
  margin: 0;
  color: #fff !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

