.gu-ebg-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.gu-ebg-card {
  display: flex;
  min-width: 0;
  min-height: 170px;
  padding: 20px 16px 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid #dfe8e7;
  border-radius: 16px;
  background: #fff;
  color: #003f4c;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 7px 22px rgba(0, 63, 76, .045);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.gu-ebg-card:hover,
.gu-ebg-card:focus-visible {
  border-color: #9ac1ca;
  background: #fbfdfd;
  color: #056983;
  outline: none;
  transform: none !important;
}

.gu-ebg-visual {
  display: flex;
  width: 100%;
  height: 88px;
  align-items: center;
  justify-content: center;
}

.gu-ebg-logo {
  display: block;
  width: auto !important;
  max-width: 145px;
  height: auto !important;
  max-height: 76px;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.gu-ebg-name {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #003f4c;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s ease;
}

.gu-ebg-card:hover .gu-ebg-name,
.gu-ebg-card:focus-visible .gu-ebg-name {
  color: #056983;
}

.gu-ebg-empty {
  padding: 24px;
  border: 1px dashed #cfdedf;
  border-radius: 14px;
  background: #fff;
  color: #6c8185;
  text-align: center;
}

@media (max-width: 1024px) {
  .gu-ebg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gu-ebg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gu-ebg-card {
    min-height: 145px;
    padding: 15px 10px 13px;
    gap: 9px;
    border-radius: 13px;
  }

  .gu-ebg-visual {
    height: 72px;
  }

  .gu-ebg-logo {
    max-width: 112px;
    max-height: 60px;
  }

  .gu-ebg-name {
    font-size: 12px;
  }
}
