/* ============================================================
   Notices Board - Smooth Continuous Vertical Scroll (No Hover)
   ============================================================ */

:root {
  --nb-normal: #ecf0f1;
  --nb-important: #fff4e0;
  --nb-urgent: #ffe5e5;
  --nb-new: #2ecc71;
  --nb-bg: #fafafa;
  --nb-text: #333;
  --nb-radius: 10px;
  --nb-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ===== Slider Wrapper ===== */
.nb-slider-wrapper {
  overflow: hidden;
  position: relative;
  border-radius: var(--nb-radius);
  border: 1px solid #e2e2e2;
  background: var(--nb-bg);
  box-shadow: var(--nb-shadow);
}

/* ===== Notices Container ===== */
.nb-notices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  will-change: transform;
}

/* ===== Notice Card ===== */
.nb-notice {
  position: relative;
  padding: 1rem 1.25rem;
  border-radius: var(--nb-radius);
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: none !important;
}

/* ===== Background by Priority ===== */
.nb-normal { background: var(--nb-normal); }
.nb-important { background: var(--nb-important); }
.nb-urgent { background: var(--nb-urgent); }

/* ===== Header ===== */
.nb-notice h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--nb-text);
  line-height: 1.3;
}

@media (max-width: 480px) {
  .nb-notice h4 { font-size: 1rem; }
}

/* ===== Priority Label ===== */
.nb-priority {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.03em;
}

.nb-priority.normal { background: #95a5a6; }
.nb-priority.important { background: #f39c12; }
.nb-priority.urgent { background: #e74c3c; }

/* ===== "New" Tag ===== */
.nb-new-tag {
  background: var(--nb-new);
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Content ===== */
.nb-content {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.nb-content p:last-child { margin-bottom: 0; }
