.TopBanner > .TopBanner__content > .socials-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 8px;
  width: 390px;
  max-width: 100%;
  box-sizing: border-box;
}

.TopBanner > .TopBanner__content > .socials-wrapper > .socials-caption {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.TopBanner > .TopBanner__content > .socials-wrapper > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 4px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 8px;
  background: rgb(8 25 43 / 64%);
  font-weight: 500;
  text-decoration: none;
}

.TopBanner > .TopBanner__content > .socials-wrapper > a > img {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.TopBanner > .TopBanner__content > .socials-wrapper > a > span {
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.TopBanner > .TopBanner__content > .socials-wrapper > a:hover {
  background: rgb(18 49 77 / 92%);
}

.TopBanner > .TopBanner__content > .socials-wrapper > a:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

@media (max-width: 848px) {
  .TopBanner > .TopBanner__content > .socials-wrapper {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 140px));
    justify-content: center;
    padding: 10px 12px;
  }

  .TopBanner > .TopBanner__content > .socials-wrapper > .socials-caption {
    text-align: center;
  }
}

@media (max-width: 390px) {
  .TopBanner > .TopBanner__content > .socials-wrapper {
    gap: 6px;
    padding-inline: 8px;
  }

  .TopBanner > .TopBanner__content > .socials-wrapper > a {
    gap: 4px;
    padding-inline: 2px;
    font-size: 14px;
  }

  .TopBanner > .TopBanner__content > .socials-wrapper > a > img {
    width: 20px;
    height: 20px;
  }
}
