/* ============ NEWS & ANNOUNCEMENTS REDESIGN (STREAM LAYOUT) ============ */
.news-timeline-container {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 10px;
}

/* Vertical Timeline Track Line */
.news-timeline-container::before {
  content: '';
  position: absolute;
  left: 52px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--gold) 60%, rgba(38, 36, 31, 0.1) 100%);
  z-index: 1;
}

.news-timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.news-timeline-item:last-child {
  margin-bottom: 0;
}

/* Calendar Date Badge Node */
.news-timeline-badge {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 2px solid var(--teal);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(17, 94, 89, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.news-timeline-badge .day {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--teal);
}

.news-timeline-badge .month {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-deep);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.news-timeline-item.featured .news-timeline-badge {
  background: var(--chalk-green-deep);
  border-color: var(--gold);
}

.news-timeline-item.featured .news-timeline-badge .day {
  color: #FFFFFF;
}

.news-timeline-item.featured .news-timeline-badge .month {
  color: var(--gold);
}

.news-timeline-item:hover .news-timeline-badge {
  transform: scale(1.06);
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(17, 94, 89, 0.2);
}

/* Content Container Card */
.news-timeline-content {
  flex-grow: 1;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 4px 18px rgba(38, 36, 31, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.news-timeline-item.featured .news-timeline-content {
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(241, 239, 233, 0.5) 100%);
}

.news-timeline-item:hover .news-timeline-content {
  transform: translateX(6px);
  box-shadow: 0 14px 30px rgba(17, 94, 89, 0.1);
  border-color: rgba(17, 94, 89, 0.3);
}

.news-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.news-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--teal-pale);
  color: var(--teal);
}

.news-tag.meeting {
  background: rgba(17, 94, 89, 0.12);
  color: var(--teal);
}

.news-tag.pension {
  background: rgba(180, 83, 9, 0.12);
  color: var(--amber);
}

.news-tag.event {
  background: rgba(30, 58, 138, 0.12);
  color: var(--indigo);
}

.news-tag.notice {
  background: rgba(122, 46, 46, 0.12);
  color: var(--maroon);
}

.news-pin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-deep);
  background: var(--gold-pale);
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.news-time-ago {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--sage);
}

.news-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.news-timeline-item:hover .news-title {
  color: var(--teal);
}

.news-snippet {
  font-size: 14.5px;
  color: var(--sage);
  margin: 0 0 16px 0;
  line-height: 1.55;
}

.news-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal);
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-action svg {
  transition: transform 0.3s ease;
}

.news-timeline-item:hover .news-action {
  color: var(--gold-deep);
}

.news-timeline-item:hover .news-action svg {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 680px) {
  .news-timeline-container {
    padding-left: 0;
  }
  .news-timeline-container::before {
    display: none;
  }
  .news-timeline-item {
    flex-direction: column;
    gap: 14px;
  }
  .news-timeline-badge {
    width: auto;
    height: auto;
    flex-direction: row;
    gap: 8px;
    padding: 8px 16px;
    align-self: flex-start;
  }
  .news-timeline-badge .day {
    font-size: 18px;
  }
  .news-timeline-badge .month {
    margin-top: 0;
  }
}

/* Fallback for legacy .news-board */
.news-board { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.news-row {
  display: grid;
  grid-template-columns: 120px 1fr 90px;
  gap: 20px;
  align-items: center;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.news-row:hover { background: var(--teal-pale); }
.news-row:last-child { border-bottom: none; }
.news-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--gold-deep); font-weight: 600; }
