.glossary-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  margin: 32px 0 0;
  padding: 0;
  border: 0;
}

.glossary-filter-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.glossary-filter-label {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 60px;
  padding: 0 16px;
  border: 2px solid #808080;
  border-radius: 8px;
  background: #d9f1e2;
  color: #4d4d4d !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: underline;
  cursor: pointer;
  user-select: none;
}

.glossary-filter-radio:checked + .glossary-filter-label {
  border-color: #808080;
  background: #00a040;
  color: #ffffff !important;
}

.glossary-list {
  margin-top: 42px;
}

.glossary-item {
  padding: 24px 0 16px;
  border-bottom: 0;
}

.glossary-item-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: #1932a0;
}

.glossary-item-text {
  font-size: 16px;
  line-height: 1.65;
  color: #333333;
}

.glossary-row-index {
  margin: 0 0 40px;
  padding: 8px 18px;
  border: 1px solid #1932a0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #4d4d4d !important;
}

.glossary-term-block-wrap {
  margin-left: 36px;
}

.glossary-term-block {
  margin-bottom: 38px;
}

.glossary-term-head {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-left: 4px solid #00a040;
  background: #d9f1e2;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #4d4d4d !important;
}

.glossary-term-body {
  margin: 0;
  padding: 0 0 0 22px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  color: #4d4d4d !important;
}

.is-hidden {
  display: none !important;
}

.glossary-back-to-top {
  font-size: 21px;
  color: #000;
}

.glossary-small {
  color: #4d4d4d !important;
  font-size: 16px;
  line-height: 1.8rem;
}

@media (max-width: 991px) {
  .glossary-filter {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }
  .glossary-filter-label {
    flex: 0 0 calc((100% - 32px) / 5);
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    font-size: 15px;
    border-width: 1px;
    border-radius: 4px;
  }
  .glossary-list {
    margin-top: 20px;
  }
  .glossary-item {
    padding: 16px 0 10px;
  }
  .glossary-item-title {
    font-size: 18px;
  }
  .glossary-item-text {
    font-size: 14px;
  }
  .glossary-row-index {
    margin-bottom: 20px;
    padding: 6px 12px;
    font-size: 18px;
  }
  .glossary-term-block-wrap {
    margin-left: 20px;
  }
  .glossary-term-block {
    margin-bottom: 26px;
  }
  .glossary-term-head {
    margin-bottom: 14px;
    padding: 8px 10px;
    border-left-width: 4px;
    font-size: 16px;
  }
  .glossary-term-body {
    padding: 0 0 0 12px;
    font-size: 14px;
    line-height: 1.7;
  }
  .glossary-back-to-top {
    font-size: 15px;
  }
  .glossary-small {
    font-size: 12px;
    line-height: 1.5rem;
  }
}
.glossary-age-table {
  max-width: 560px;
  padding: 28px 18px 20px;
  font-size: 20px;
  line-height: 1.8;
  color: #333333;
}
.glossary-age-table td {
  font-weight: 700;
}

@media (max-width: 991px) {
  .glossary-age-table {
    padding: 12px;
    font-size: 14px;
    line-height: 1.7;
  }
}