* { box-sizing: border-box; }
body {
  max-width: 1040px; margin: 0 auto; padding: 0 20px 60px;
  background: #fff; color: #222;
  font: 17px/1.6 Charter, "Bitstream Charter", Cambria, "Times New Roman", serif;
}
a { color: #1a5a96; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
.side-by-side { display: flex; gap: 12px; }
.side-by-side > * { flex: 1; min-width: 0; }

.masthead {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 16px;
  padding: 22px 0 14px; margin-bottom: 28px; border-bottom: 1px solid #ccc;
}
.callsign { font-size: 30px; color: #222; text-decoration: none; }

.columns { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 52px; }
main { max-width: 700px; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; text-wrap: balance; }
h2, h3, h4, h5, h6, aside label { font-weight: bold; }
h1 { font-size: 29px; font-weight: normal; margin: 0 0 14px; }
main h2 { font-size: 23px; margin: 34px 0 8px; }
.entry:last-child { border-bottom: 0; margin-bottom: 0; }
.date { margin: 0; color: #5c5c5c; font-size: 15px; }
.entry { padding-bottom: 14px; margin-bottom: 26px; border-bottom: 1px solid #ddd; }
.subjects { margin-top: 36px; padding-top: 10px; border-top: 1px solid #ddd; font-size: 15px; }
mark { background: #fff0a8; color: inherit; }
table { display: block; overflow-x: auto; border-collapse: collapse; }
th, td { padding: 5px 12px; border: 1px solid #ccc; text-align: left; }
td[style*="right"], .numeric td { white-space: nowrap; }
.numeric th, .numeric td { text-align: right; }
.numeric th[colspan] { text-align: center; }
pre { overflow-x: auto; padding: 12px; background: #f4f4f4; }
code { font-size: 15px; overflow-wrap: anywhere; }

aside { font-size: 15px; }
aside h2, aside label { display: block; font-size: 17px; margin: 0 0 6px; }
aside ul { list-style: none; padding: 0; margin: 0 0 26px; }
aside li { margin-bottom: 5px; }
.searchrow { display: flex; gap: 6px; margin-bottom: 28px; }
.searchrow input { flex: 1; min-width: 0; padding: 5px 8px; border: 1px solid #888; font: inherit; }
.searchrow button { padding: 5px 10px; border: 1px solid #888; background: #f4f4f4; color: #222; font: inherit; }

@media (max-width: 760px) {
  .side-by-side { flex-direction: column; }
  .columns { display: flex; flex-direction: column; gap: 28px; }
  aside { border-top: 1px solid #ccc; padding-top: 20px; }
}

.figure, .figure img { display: block; }
.caption {
  display: inline-block; width: 100%; margin-top: 6px; color: #222;
  font-size: 0.9em; font-style: italic; text-align: center; text-wrap: balance;
}
