/* iECnet Scrolling News Pro — news-ticker.css */
.isn-ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-family: inherit;
  user-select: none;
  line-height: 1;
}
.isn-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-size: .85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
/* Angled right edge on label */
.isn-label::after {
  content: '';
  position: absolute;
  right: -10px; top: 0; bottom: 0;
  width: 20px;
  background: inherit;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.isn-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  position: relative;
}

/* ── HORIZONTAL scroll ── */
.isn-mode-horizontal .isn-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  will-change: transform;
}
.isn-mode-horizontal .isn-item {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  white-space: nowrap;
}
.isn-mode-horizontal .isn-item a {
  text-decoration: none;
}
.isn-mode-horizontal .isn-item a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ── VERTICAL flip ── */
.isn-mode-vertical .isn-track-wrap { overflow: hidden; }
.isn-mode-vertical .isn-track { display: flex; flex-direction: column; }
.isn-mode-vertical .isn-item {
  display: flex;
  align-items: center;
  height: var(--isn-height, 44px);
  padding: 0 16px;
  white-space: nowrap;
}

/* ── BREAKING NEWS (static, slide in) ── */
.isn-mode-breaking .isn-track { display: flex; align-items: center; height: 100%; }
.isn-mode-breaking .isn-item {
  display: inline-flex; align-items: center;
  padding: 0 12px; white-space: nowrap;
}
.isn-mode-breaking .isn-item.isn-active { animation: isn-slidein .4s ease forwards; }
@keyframes isn-slidein {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── FADE mode ── */
.isn-mode-fade .isn-track-wrap { position: relative; }
.isn-mode-fade .isn-item {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 16px;
  opacity: 0;
  transition: opacity .6s ease;
}
.isn-mode-fade .isn-item.isn-active { opacity: 1; }

/* ── Pause cursor ── */
.isn-ticker[data-pause="true"] .isn-track-wrap:hover { cursor: pause; }

/* ── Admin badge colors ── */
