/* PAHM FOOTER CLEANUP — v17 */
/* Header intentionally untouched. This file only controls the footer brand area. */
/* Production trigger: editorial gallery is injected by logo-runtime-fix.js. */

/* Remove any legacy/generated oversized logo layer that may sit above the real footer lockup. */
footer::before,
footer > .footer-brand::before,
footer > .footer-brand::after{
  content:none !important;
  display:none !important;
  background:none !important;
}

/* Keep exactly one compact footer lockup. */
footer > .footer-brand{
  position:relative !important;
  grid-column:1 / -1 !important;
  grid-row:1 !important;
  justify-self:center !important;
  align-self:start !important;
  width:100% !important;
  max-width:none !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 0 22px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:0 !important;
  text-align:center !important;
  overflow:visible !important;
}

/* Monogram: increase to 12px — more than double the previous 3px mark. */
footer > .footer-brand > .pahm-monogram{
  display:block !important;
  visibility:visible !important;
  width:12px !important;
  height:12px !important;
  min-width:12px !important;
  min-height:12px !important;
  max-width:12px !important;
  max-height:12px !important;
  margin:0 0 7px !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  transform:none !important;
  opacity:1 !important;
}

/* Compact PAHM wordmark directly under the monogram. */
footer > .footer-brand > .footer-pahm{
  display:block !important;
  visibility:visible !important;
  width:auto !important;
  height:auto !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  padding-left:.18em !important;
  font-size:15px !important;
  line-height:.9 !important;
  letter-spacing:.18em !important;
}

footer > .footer-brand > .footer-bypham{
  display:block !important;
  visibility:visible !important;
  width:35px !important;
  max-width:35px !important;
  height:auto !important;
  max-height:none !important;
  margin:3px 0 0 !important;
  opacity:1 !important;
}

footer > .footer-brand > em{
  display:block !important;
  visibility:visible !important;
  width:auto !important;
  height:auto !important;
  margin:2px 0 0 !important;
  padding:0 !important;
  font-size:5px !important;
  line-height:1.4 !important;
  letter-spacing:.15em !important;
  text-align:center !important;
}

footer > div:not(.footer-brand){
  grid-row:2 !important;
}

@media(max-width:900px){
  footer > .footer-brand{
    grid-column:1 / -1 !important;
    grid-row:1 !important;
    padding-bottom:22px !important;
  }
  footer > .footer-brand > .pahm-monogram{
    width:12px !important;
    height:12px !important;
    min-width:12px !important;
    min-height:12px !important;
    max-width:12px !important;
    max-height:12px !important;
  }
}

@media(max-width:480px){
  footer > .footer-brand > .pahm-monogram{
    width:12px !important;
    height:12px !important;
    min-width:12px !important;
    min-height:12px !important;
    max-width:12px !important;
    max-height:12px !important;
  }
  footer > .footer-brand > .footer-pahm{font-size:15px !important;}
  footer > .footer-brand > .footer-bypham{width:35px !important;max-width:35px !important;}
}