.site-topbar {
  background-color: var(--color-secondary);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13px;
}

.site-topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.site-topbar__contact,
.site-topbar__emails,
.site-topbar__socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.95;
}

.site-topbar__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.site-topbar__socials {
  gap: 0.9rem;
}

.site-topbar__social {
  color: #ffffff;
  font-size: 15px;
  display: inline-flex;
}

.site-topbar__social:hover {
  opacity: 0.8;
}

/* Scrolling notification mode */
.site-topbar__marquee {
  overflow: hidden;
  padding: 0.55rem 0;
}

.site-topbar__marquee-track {
  display: flex;
  width: max-content;
  animation: site-topbar-marquee 18s linear infinite;
}

.site-topbar__marquee-track span {
  padding-right: 4rem;
  white-space: nowrap;
  font-weight: 500;
}

.site-topbar__marquee:hover .site-topbar__marquee-track {
  animation-play-state: paused;
}

@keyframes site-topbar-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-topbar__marquee-track {
    animation: none;
  }

  .site-topbar__marquee {
    overflow-x: auto;
  }
}

@media (max-width: 767px) {
  .site-topbar__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0;
    text-align: center;
  }

  .site-topbar__contact {
    order: 1;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-topbar__emails {
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }

  .site-topbar__socials {
    order: 3;
  }

  .site-topbar__link {
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 420px) {
  .site-topbar {
    font-size: 11.5px;
  }

  .site-topbar__contact,
  .site-topbar__emails {
    gap: 0.5rem;
  }

  .site-topbar__socials {
    gap: 0.7rem;
  }
}
