.department-updates {
  padding: 58px 0;
  border-bottom: 1px solid #e2e5e6;
  background: #f5f6f6;
}

.department-updates[hidden] {
  display: none;
}

.department-updates-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.department-updates-heading h2 {
  margin: 5px 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 600;
}

.department-updates-heading p {
  max-width: 520px;
  margin: 0;
  color: #667177;
  font-size: .78rem;
}

.department-updates-count {
  color: #b51f24;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.department-updates-list {
  max-height: 321px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid #cfd5d7;
  scrollbar-gutter: stable;
}

.department-updates-list:focus-visible {
  outline: 3px solid rgba(181, 31, 36, .25);
  outline-offset: 4px;
}

.department-updates-list article {
  display: grid;
  grid-template-columns: 110px 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 80px;
  padding: 12px 3px;
  border-bottom: 1px solid #d9dfe1;
}

.department-updates-list time {
  color: #657077;
  font-family: Georgia, serif;
  font-size: .74rem;
}

.department-updates-list > article > span {
  padding: 5px 8px;
  background: #172026;
  color: #fff;
  font-size: .55rem;
  font-weight: 800;
  text-align: center;
}

.department-updates-list .update-type-vehicle-added {
  background: #b51f24;
}

.department-updates-list .update-type-vehicle-image {
  background: #2f6f9f;
}

.department-updates-list .update-type-vehicle-info,
.department-updates-list .update-type-vehicles {
  background: #6f4b9f;
}

.department-updates-list .update-type-station {
  background: #5f6f2f;
}

.department-updates-list h3,
.department-updates-list p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.department-updates-list h3 {
  margin: 0;
  font-size: .88rem;
}

.department-updates-list p {
  margin: 2px 0 0;
  color: #69757b;
  font-size: .65rem;
}

.department-updates-list a {
  color: #172026;
  font-size: .65rem;
  font-weight: 800;
  text-decoration: none;
}

.department-updates-list a b {
  margin-left: 7px;
  color: #b51f24;
}

@media (max-width: 700px) {
  .department-updates {
    padding: 40px 0;
  }

  .department-updates-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .department-updates-list {
    max-height: 473px;
  }

  .department-updates-list article {
    grid-template-columns: 90px 1fr;
    gap: 7px 12px;
    min-height: 118px;
    padding: 13px 3px;
  }

  .department-updates-list article > div,
  .department-updates-list article > a {
    grid-column: 1 / -1;
  }

  .department-updates-list > article > span {
    justify-self: start;
  }
}
