/* Ajankohtainen tiedote: täyttää navigaation yläpuolisen 40 px raon ja vierii pois sivun mukana. */
.tiedote-palkki {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #c62828;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.3;
}
.tiedote-palkki__teksti {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tiedote-palkki__teksti svg { flex: none; color: #fff; }
.tiedote-palkki__teksti > span { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tiedote-palkki__lyhyt { display: none; }
.tiedote-palkki a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tiedote-palkki a:hover, .tiedote-palkki a:focus-visible { color: #ffe0e0; }
@media (max-width: 640px) {
  .tiedote-palkki { font-size: 12.5px; }
  .tiedote-palkki__pitka { display: none; }
  .tiedote-palkki__lyhyt { display: inline; }
  .tiedote-palkki a { flex: none; }
  .tiedote-palkki__teksti { gap: 6px; }
}
