.hq-glyph-reference {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.hq-glyph-reference figure {
  margin: 0;
  text-align: center;
}

.hq-glyph-reference img {
  display: block;
  width: 100%;
  aspect-ratio: 8.5 / 11;
  object-fit: contain;
  background: #f7f6f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hq-glyph-reference figcaption {
  margin-top: 7px;
  color: var(--gold);
  font-size: 11px;
}
.hq-reference-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 9px 16px;
  text-decoration: none;
}
.letter-code-reference figure {
  width: min(100%, 560px);
  margin: 18px auto 0;
  text-align: center;
}
.letter-code-reference img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.letter-code-reference figcaption {
  margin-top: 8px;
  color: var(--gold);
  font-size: 11px;
}

@media (max-width: 680px) {
  .hq-glyph-reference { grid-template-columns: 1fr; }
}
