/* All selectors scoped to the module; no theme or framework dependencies. */
.barnews {
  --barnews-bg: #111111;
  --barnews-color: #fff;
  --barnews-accent: #d6bc87;
  --barnews-font-size: 14px;
  --barnews-font-weight: 600;
  --barnews-padding: 12px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: var(--barnews-bg);
  color: var(--barnews-color);
  font-family: inherit;
  font-size: var(--barnews-font-size);
  font-weight: var(--barnews-font-weight);
  line-height: 1.5;
  isolation: isolate;
}
.barnews *, .barnews *::before, .barnews *::after { box-sizing: border-box; }
.barnews [hidden] { display: none !important; }
.barnews--sticky { position: sticky; top: 0; z-index: 100; }
.barnews--upper .barnews-text { text-transform: uppercase; letter-spacing: .035em; }
.barnews .barnews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--barnews-padding) 16px;
}
.barnews .barnews-viewport { position: relative; min-width: 0; overflow: hidden; }
.barnews .barnews-slide { display: none; width: 100%; }
.barnews .barnews-slide.is-active { display: block; }
.barnews.is-enhanced .barnews-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.barnews.is-enhanced .barnews-slide.is-active,
.barnews.is-enhanced .barnews-slide.is-entering {
  opacity: 1;
  visibility: visible;
}
.barnews.is-enhanced .barnews-slide.is-active { pointer-events: auto; }
.barnews .barnews-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 3px 2px;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--barnews-color);
  text-align: center;
  text-decoration: none;
}
.barnews .barnews-text { min-width: 0; overflow-wrap: anywhere; }
.barnews .barnews-message--link .barnews-text {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color .2s ease;
}
.barnews .barnews-message--link:hover .barnews-text,
.barnews .barnews-message--link:focus-visible .barnews-text { text-decoration-color: currentColor; }
.barnews .barnews-icon { display: flex; flex: 0 0 auto; color: var(--barnews-accent); }
.barnews .barnews-icon svg { display: block; width: 18px; height: 18px; }
.barnews .barnews-message--link:focus-visible { outline: 2px solid var(--barnews-accent); outline-offset: -2px; }
@media (max-width: 575px) {
  .barnews .barnews-layout { padding-left: 8px; padding-right: 8px; gap: 4px; }
  .barnews .barnews-message { gap: 7px; }
  .barnews .barnews-icon svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .barnews .barnews-text { transition: none; }
}
