/* Classic Frame: transparent buttons with the site's Times typography.
   Inline groups alternate blue/red frames; hover and focus reverse each frame.
   Dark blue text stays constant for legibility against the paper background. */
:root {
  --button-blue: #03c;
  --button-red: #b00000;
  --button-text: #006;
  --button-focus: #000092;
}
a.site-button[href],
a.site-button[href]:visited {
  --button-border: var(--button-blue);
  --button-hover-border: var(--button-red);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .125em;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 2.75rem;
  padding: .5em .75em;
  border: .1875rem double var(--button-border);
  border-radius: 0;
  background: transparent;
  color: var(--button-text);
  font: 400 1.125rem/1.35 "Times New Roman", Times, serif;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none;
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: middle;
  cursor: pointer;
}
/* Alternate the actual buttons within each inline group, including visited links. */
.site-button-group > a.site-button[href]:nth-child(even) {
  --button-border: var(--button-red);
  --button-hover-border: var(--button-blue);
}
a.site-button[href]:hover,
a.site-button[href]:focus-visible,
a.site-button[href]:active {
  border-color: var(--button-hover-border);
  background: transparent;
  color: var(--button-text);
  text-decoration: none !important;
}
a.site-button[href]:focus-visible {
  outline: .1875rem solid var(--button-focus);
  outline-offset: .1875rem;
  box-shadow: 0 0 0 .1875rem #fff;
}
a.site-button[href][aria-current="page"] {
  text-decoration: underline !important;
  text-underline-offset: .2em;
}
.site-button-detail { font-size: .875em; }
.site-button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  padding: .375rem;
  margin: 0 auto 1rem;
}
.site-button-group > .site-button { flex: 1 1 9rem; }
@media (forced-colors: active) {
  a.site-button[href] { border-color: ButtonText; }
  a.site-button[href]:hover,
  a.site-button[href]:focus-visible,
  a.site-button[href]:active { border-color: Highlight; }
  a.site-button[href]:focus-visible { outline-color: Highlight; }
}
