/* Fit fixed-width CMS containers inside tablet and desktop viewports. */
body .container { max-width:100%; box-sizing:border-box; }
/* A mobile template can also be served to landscape tablets wider than 1025px. */
.mobile-portal-header .headersearchrg { top:20px; }

/* Keep footer labels independent of the CMS article line-height. */
body.mobipage .footermob {
  box-sizing:border-box;
  height:auto;
  min-height:60px;
  padding:6px 0;
  padding-bottom:calc(6px + env(safe-area-inset-bottom, 0px));
  line-height:normal;
}
body.mobipage .footermob ul {
  display:flex;
  margin:0;
  padding:0;
  list-style:none;
}
body.mobipage .footermob li {
  float:none;
  flex:1 1 0;
  min-width:0;
  margin:0;
  padding:0;
}
body.mobipage .footermob li a {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-height:47px;
  padding:0;
  font-size:14px;
  line-height:20px;
  text-decoration:none;
}
body.mobipage .footermob li a i {
  display:block;
  font-size:20px;
  line-height:22px;
}
body.mobipage .footermob li a span {
  display:block;
  line-height:20px;
  white-space:nowrap;
}
body.mobipage .dmfooterwrap {
  min-height:60px;
  min-height:calc(60px + env(safe-area-inset-bottom, 0px));
}
