.election-notices {
  margin: 0;
  padding: 0;
  list-style: none;
}

.election-notice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;

  &:first-child {
    border-top: 1px solid #ddd;
  }
}

.election-notice__body {
  flex: 1;
}

.election-notice__title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.election-notice__link {
  display: block;
  width: 100%;
  padding: 0.25rem;
  text-decoration: none;
  color: inherit;

  &:hover .election-notice__title {
    text-decoration: underline;
  }
}

.election-notice__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.election-notice__date {
  color: #595959;
  font-size: 0.9375rem;
}

.election-notice__arrow {
  color: #828282;
}

.election-notice-detail__header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-grey-light, #cecfd0);
}

.election-notice-detail__title {
  margin-bottom: 0;
}
