/* A–Z navigation bar */
.az-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.az-index a {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.az-index a:hover {
  background: #f0f0f0;
}

/* Glossary table */
.glossary-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.glossary-table td {
    word-wrap: break-word;      /* Old name */
    overflow-wrap: break-word;  /* Newer spec */
    white-space: normal;        /* Important: allow wrapping */
    padding: 6px 8px;
}

/* Spacer row to create gap between sections */
.glossary-table tr.letter-spacer td {
    height: 1em;        /* vertical gap between sections */
    background: white;   /* no background */
    border: none;
    padding: 0;
}

/* Letter heading row */
.glossary-table tr[id] td {
  background-color: #e0e0e0; /* gray background */
  font-weight: bold;
  font-size: 1.1em;
  padding: 0.5rem;
}

/* Terms and definitions */
.glossary-table tr:not(.letter-spacer):not([id]) td {
  background-color: #ffffff; /* white background */
  padding: 0.5rem;
  border: 1px solid #ddd;
}
