.social-banner {
  position: relative;
  z-index: 5;
  isolation: isolate;
  height: 54px;
  overflow: hidden;
  border-bottom: 1px solid rgba(167, 123, 81, 0.25);
  color: #302d2a;
  background:
    linear-gradient(90deg, rgba(250, 247, 242, 0.3), transparent 24%, transparent 76%, rgba(250, 247, 242, 0.3)),
    #d8b4a8;
}

.social-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.11;
  mix-blend-mode: multiply;
  background: url("/papertexture.webp") center 42% / 720px auto;
  pointer-events: none;
}

.social-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1320px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(12px, 4vw, 32px);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-links a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(47, 47, 47, 0.76);
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #faf7f2;
  background: #b89566;
  transform: translateY(-1px);
  outline: none;
}

.social-links a:focus-visible {
  box-shadow: inset 0 0 0 2px #302d2a;
}

.social-links svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: currentColor;
}

.social-links a:nth-child(2) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.social-links .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-banner__message {
  position: absolute;
  left: 50%;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.96rem, 1.45vw, 1.08rem);
  letter-spacing: 0.09em;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

.social-banner__message span:last-child {
  color: #a77b51;
  font-size: 1.2em;
}

@media (max-width: 560px) {
  .social-banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 0 8px 0 14px;
  }

  .social-links {
    grid-column: 2;
    gap: 1px;
  }

  .social-links a {
    width: 35px;
    height: 38px;
  }

  .social-links svg {
    width: 21px;
    height: 21px;
  }

  .social-banner__message {
    position: static;
    grid-column: 1;
    grid-row: 1;
    overflow: hidden;
    font-size: clamp(0.82rem, 4vw, 0.94rem);
    letter-spacing: 0.045em;
    text-overflow: ellipsis;
    transform: none;
  }
}

@media print {
  .social-banner {
    display: none;
  }
}
