.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 50px;
  padding: 0 50px;
  box-sizing: border-box;

  background-color: #eee8f4;
  color: #3b3355;
  font-size: 18px;
  letter-spacing: -1px;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.announcement-bar p {
  margin: 0;
  text-align: center;
}

.announcement-bar a {
  color: #280a2c;
  font-weight: 500;
  text-decoration: underline;
}

.announcement-bar a:hover {
  text-decoration: none;
}

.dismiss-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;

  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);

  color: #280a2c;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.dismiss-button:hover {
  opacity: 1;
}

@media (max-width: 800px) {
  body.announcement-scrolled .announcement-bar {
    transform: translateY(-100%);
  }
}
