/* vertical-notifications.css */
.vertno-wrapper {
  overflow: hidden;
  position: relative;
  padding: 16px;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
}

.vertno-posts {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.vertno-posts-inner {
  display: flex;
  flex-direction: column;
  /* animation duration set via inline style from JS: --vertno-duration */
  animation: vertno-scroll var(--vertno-duration, 12s) linear infinite;
}

.vertno-post {
  padding: 8px 0;
  /* fallback border, will be overridden by inline CSS from shortcode */
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  font-weight: 500;
}

.vertno-post .vertno-title a {
  text-decoration: none !important;
  color: inherit;
}

.vertno-post .vertno-title a::before {
  content: "📢 ";
  margin-right: 6px;
}

.vertno-post .vertno-title a:hover {
  color: inherit;
  text-decoration: underline;
}

.vertno-post .vertno-date {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 6px;
}

/* small NEW ribbon (fallback) */
.vertno-new {
  display: inline-block;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

/* pause on hover */
.vertno-wrapper:hover .vertno-posts-inner {
  animation-play-state: paused;
}

/* keyframes (we clone inner HTML so 0%-> -50% gives seamless effect) */
@keyframes vertno-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
