/*
 * V102.51.15.21 — Brand Development mobile footer + locale floating UI closure.
 * Loaded after V102.51.15.20. Shared by every current/future Brand Master and
 * Market Landing rendered through the public Brand Development system.
 * Desktop remains untouched.
 */

@media (max-width:760px){
  /* Keep the footer compact: brand identity first, then all three navigation
   * destinations on ONE row. This replaces the stacked mobile footer nav. */
  .emwh-brand-development-body .emwh-brand-visual-footer-inner{
    row-gap:11px!important;
    padding-top:20px!important;
    padding-bottom:16px!important;
  }
  .emwh-brand-development-body .emwh-brand-visual-footer-navigation{
    width:100%!important;
    max-width:none!important;
    padding-top:0!important;
    justify-self:stretch!important;
  }
  .emwh-brand-development-body .emwh-brand-visual-footer-navigation .emwh-brand-visual-footer-primary-nav{
    display:flex!important;
    grid-template-columns:none!important;
    width:100%!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    overflow:visible!important;
  }
  .emwh-brand-development-body .emwh-brand-visual-footer-primary-nav a{
    display:inline-flex!important;
    flex:0 0 auto!important;
    min-height:30px!important;
    padding:4px 0!important;
    align-items:center!important;
    gap:0!important;
    white-space:nowrap!important;
    font-family:Arial,sans-serif!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:-.01em!important;
  }
  /* Mobile footer wording follows the approved compact grammar:
   * Markets · Positions · Client Area (or the equivalent locale labels). */
  .emwh-brand-development-body .emwh-brand-visual-footer-primary-nav a:after{
    content:"·"!important;
    display:inline-block!important;
    margin:0 9px!important;
    color:#8fa0a9!important;
    font-family:Arial,sans-serif!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:400!important;
    opacity:.85!important;
    transform:none!important;
  }
  .emwh-brand-development-body .emwh-brand-visual-footer-primary-nav a:last-child:after{
    content:""!important;
    display:none!important;
    margin:0!important;
  }
  .emwh-brand-development-body .emwh-brand-visual-footer-primary-nav a:hover,
  .emwh-brand-development-body .emwh-brand-visual-footer-primary-nav a:focus-visible{
    transform:none!important;
  }
}

@media (max-width:480px){
  /* Explicitly neutralise the older one-column rule from V15.20. */
  .emwh-brand-development-body .emwh-brand-visual-footer-navigation .emwh-brand-visual-footer-primary-nav{
    display:flex!important;
    grid-template-columns:none!important;
    flex-flow:row nowrap!important;
  }
  .emwh-brand-development-body .emwh-brand-visual-footer-primary-nav a{
    font-size:10.5px!important;
  }
  .emwh-brand-development-body .emwh-brand-visual-footer-primary-nav a:after{
    margin-left:7px!important;
    margin-right:7px!important;
  }
}

@media (max-width:360px){
  .emwh-brand-development-body .emwh-brand-visual-footer-primary-nav a{
    font-size:10px!important;
  }
  .emwh-brand-development-body .emwh-brand-visual-footer-primary-nav a:after{
    margin-left:5px!important;
    margin-right:5px!important;
  }
}
