/* ECS group membership badge — PUBLIC
   Dark chip #0F172A + turquoise border + text #E8EEF6
*/

.ecs-group-badge{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  align-self:center !important;
  margin:0 !important;
  padding:.28rem .72rem !important;
  border-radius:999px !important;
  border:1px solid rgba(66,199,217,.55) !important;
  background:#0F172A !important;
  color:#E8EEF6 !important;
  font-family:inherit !important;
  font-size:.68rem !important;
  font-weight:700 !important;
  letter-spacing:.05em !important;
  text-transform:uppercase !important;
  text-decoration:none !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
  box-shadow:none !important;
  vertical-align:middle !important;
  max-width:100% !important;
}

a.ecs-group-badge,
a .ecs-group-badge,
.ecs-group-badge a{
  color:#E8EEF6 !important;
  text-decoration:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  background:#0F172A !important;
}

a.ecs-group-badge:hover,
a .ecs-group-badge:hover,
.ecs-group-badge a:hover,
a.ecs-group-badge:focus,
a .ecs-group-badge:focus,
.ecs-group-badge a:focus{
  color:#E8EEF6 !important;
  text-decoration:none !important;
  border-bottom:0 !important;
  outline:2px solid rgba(66,199,217,.45);
  outline-offset:2px;
}

.ecs-header__brand,
.gm-header__brand,
.header__brand{
  display:inline-flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:.45rem .7rem !important;
  min-width:0 !important;
  max-width:100% !important;
}

.ecs-header__brand > .ecs-logo,
.gm-header__brand > .gm-logo,
.header__brand > .logo{
  flex:0 1 auto;
  min-width:0;
}

@media (max-width:900px){
  .ecs-group-badge{
    font-size:.62rem !important;
    padding:.22rem .58rem !important;
  }
}

@media (max-width:640px){
  .ecs-header__brand,
  .gm-header__brand,
  .header__brand{
    flex:1 1 auto !important;
    max-width:calc(100% - 3.25rem) !important;
  }
  .ecs-group-badge{
    display:inline-flex !important;
    position:static !important;
    z-index:auto !important;
  }
}
