html.latest-news-history-frame-document,
body.latest-news-history-frame-document {
  color: #333;
  background: #f2f8f8 !important;
}

* {
  box-sizing: border-box;
}

#newsbox {
  color: #333;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

.history-header,
.history-pagination {
  width: min(100%, 880px);
  margin-inline: auto;
}

.history-header {
  padding: 12px 6px 8px;
}

.history-header h1 {
  display: inline-block;
  margin: 0;
  padding: 0 70px 4px 0;
  color: #2277dd;
  border-bottom: 3px solid #0066ff;
  font-size: 1.9em;
  line-height: 1.15;
  letter-spacing: -1px;
}

.history-intro {
  margin: 7px 0 0;
  color: #666;
  font: 14px/1.45 "Times New Roman", Times, serif;
}

.history-pagination {
  position: relative;
  padding: 12px 14px 16px;
  background: #fff;
  border: 1px solid #d8dfe3;
  border-radius: 7px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.history-page-choice {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.history-page-numbers {
  display: grid;
  grid-template-columns: repeat(10, minmax(58px, 1fr));
  gap: 4px;
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px dotted #bfc7cc;
}

.history-page-numbers label {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 5px;
  color: #1677bf;
  background: #fff;
  border: 1px solid #1677bf;
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
}

.history-page-numbers label:hover {
  color: #005ca3;
  background: #eef7ff;
}

.history-page-number {
  font: 700 13px/1 Arial, Helvetica, sans-serif;
}

.history-page-year {
  color: inherit;
  font: 11px/1 Arial, Helvetica, sans-serif;
}

#history-page-1:checked ~ .history-page-numbers label[for="history-page-1"],
#history-page-2:checked ~ .history-page-numbers label[for="history-page-2"],
#history-page-3:checked ~ .history-page-numbers label[for="history-page-3"],
#history-page-4:checked ~ .history-page-numbers label[for="history-page-4"],
#history-page-5:checked ~ .history-page-numbers label[for="history-page-5"],
#history-page-6:checked ~ .history-page-numbers label[for="history-page-6"],
#history-page-7:checked ~ .history-page-numbers label[for="history-page-7"],
#history-page-8:checked ~ .history-page-numbers label[for="history-page-8"],
#history-page-9:checked ~ .history-page-numbers label[for="history-page-9"],
#history-page-10:checked ~ .history-page-numbers label[for="history-page-10"] {
  color: #fff;
  background: #1677bf;
}

#history-page-1:focus-visible ~ .history-page-numbers label[for="history-page-1"],
#history-page-2:focus-visible ~ .history-page-numbers label[for="history-page-2"],
#history-page-3:focus-visible ~ .history-page-numbers label[for="history-page-3"],
#history-page-4:focus-visible ~ .history-page-numbers label[for="history-page-4"],
#history-page-5:focus-visible ~ .history-page-numbers label[for="history-page-5"],
#history-page-6:focus-visible ~ .history-page-numbers label[for="history-page-6"],
#history-page-7:focus-visible ~ .history-page-numbers label[for="history-page-7"],
#history-page-8:focus-visible ~ .history-page-numbers label[for="history-page-8"],
#history-page-9:focus-visible ~ .history-page-numbers label[for="history-page-9"],
#history-page-10:focus-visible ~ .history-page-numbers label[for="history-page-10"] {
  outline: 2px solid #ffb000;
  outline-offset: 2px;
}

.history-page-controls {
  min-height: 32px;
  margin: 8px 0 0;
}

.history-controls {
  display: none;
  grid-template-columns: minmax(90px, 1fr) auto minmax(90px, 1fr);
  align-items: center;
  gap: 8px;
}

.history-controls label,
.history-control-disabled {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 2px 9px;
  border-radius: 4px;
  font: 13px/1.4 Arial, Helvetica, sans-serif;
}

.history-controls label {
  color: #1677bf;
  background: #fff;
  border: 1px solid #1677bf;
  cursor: pointer;
  user-select: none;
}

.history-controls label:hover {
  color: #fff;
  background: #1677bf;
}

.history-controls label:first-child {
  justify-self: start;
}

.history-controls label:last-child {
  justify-self: end;
}

.history-control-disabled {
  justify-self: start;
  color: #aaa;
  background: #f7f7f7;
  border: 1px solid #d5d5d5;
}

.history-controls--10 .history-control-disabled {
  justify-self: end;
}

.history-page-status {
  color: #777;
  font: 12px/1.4 Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

#history-page-1:checked ~ .history-page-controls .history-controls--1,
#history-page-2:checked ~ .history-page-controls .history-controls--2,
#history-page-3:checked ~ .history-page-controls .history-controls--3,
#history-page-4:checked ~ .history-page-controls .history-controls--4,
#history-page-5:checked ~ .history-page-controls .history-controls--5,
#history-page-6:checked ~ .history-page-controls .history-controls--6,
#history-page-7:checked ~ .history-page-controls .history-controls--7,
#history-page-8:checked ~ .history-page-controls .history-controls--8,
#history-page-9:checked ~ .history-page-controls .history-controls--9,
#history-page-10:checked ~ .history-page-controls .history-controls--10 {
  display: grid;
}

.history-page {
  display: none;
}

#history-page-1:checked ~ .history-pages .history-page--1,
#history-page-2:checked ~ .history-pages .history-page--2,
#history-page-3:checked ~ .history-pages .history-page--3,
#history-page-4:checked ~ .history-pages .history-page--4,
#history-page-5:checked ~ .history-pages .history-page--5,
#history-page-6:checked ~ .history-pages .history-page--6,
#history-page-7:checked ~ .history-pages .history-page--7,
#history-page-8:checked ~ .history-pages .history-page--8,
#history-page-9:checked ~ .history-pages .history-page--9,
#history-page-10:checked ~ .history-pages .history-page--10 {
  display: block;
}

.history-page h2 {
  margin: 0;
  padding: 5px 4px 7px;
  color: #0066cc;
  border-bottom: 1px solid #bfc7cc;
  font-size: 1.15em;
  line-height: 1.2;
  letter-spacing: 0;
}

.history-list {
  margin: 0;
  padding: 0 4px;
  background: #fff;
  list-style: none;
}

.history-list li {
  display: grid;
  grid-template-columns: 88px 25px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 7px 3px;
  color: #666;
  border-bottom: 1px dotted #c9c9c9;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.history-list li:last-child {
  border-bottom: 0;
}

.history-list .style1 {
  color: #666;
  font: 14px/1.45 "Times New Roman", Times, serif;
}

.history-list li > .style1:first-child {
  color: #0066cc;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.history-list li > img {
  width: 25px;
  margin-top: 1px;
  visibility: hidden;
}

.history-list li > img.history-new-marker {
  visibility: visible;
}

.history-new-marker-placeholder {
  display: block;
  width: 25px;
  min-height: 1px;
  margin-top: 1px;
}

.history-list a {
  color: #0066cc;
}

.history-list a:hover {
  text-decoration: none;
}

@media (max-width: 760px) {
  .history-page-numbers {
    grid-template-columns: repeat(5, minmax(58px, 1fr));
  }
}

@media (max-width: 440px) {
  .history-header h1 {
    padding-right: 20px;
    font-size: 1.65em;
  }

  .history-page-numbers {
    grid-template-columns: repeat(2, minmax(58px, 1fr));
  }

  .history-controls {
    grid-template-columns: 1fr 1fr;
  }

  .history-page-status {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }

  .history-list li {
    grid-template-columns: 1fr 25px;
  }

  .history-list li > .style1:last-child {
    grid-column: 1 / -1;
  }
}
