/* Dedicated announcement bar: isolated from the main site and gallery styles. */
.site-announcement {
  position: fixed;
  top: var(--hh, 72px);
  right: 0;
  left: 0;
  z-index: 2000;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 48px;
  overflow: hidden;
  background: #211a14;
  color: #fff5e8;
  border-bottom: 1px solid rgba(210,163,106,.6);
  direction: rtl;
  isolation: isolate;
}
.site-announcement[hidden] { display: none !important; }
.announcement-label {
  flex: 0 0 auto;
  color: #f2c98f;
  font-size: .88rem;
  font-weight: 900;
}
.announcement-track {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  direction: ltr;
  white-space: nowrap;
}
.announcement-text {
  display: inline-block;
  width: max-content;
  min-width: max-content;
  color: #fff5e8;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 800;
  direction: rtl;
  unicode-bidi: plaintext;
  white-space: nowrap;
  text-align: right;
  animation: lamsat-announcement-left-to-right 22s linear infinite;
}
.site-announcement:hover .announcement-text { animation-play-state: paused; }
.announcement-close {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
@keyframes lamsat-announcement-left-to-right {
  from { transform: translateX(-100%); }
  to { transform: translateX(100vw); }
}
@media (prefers-reduced-motion: reduce) {
  .announcement-text {
    animation: none;
    width: auto;
    min-width: 0;
    white-space: normal;
  }
  .announcement-track { white-space: normal; }
}
