/* disease-list.css — A–Z index page. Don't re-add style.css. */
.dl-page {
  max-width: var(--container-width);
  padding: 60px 0px;
  margin: 0 auto;
}

.dl-letters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.dl-letters a,
.dl-letters span {
  width: 52px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf3f6;
  border: 2px solid #dde8df;
  color: var(--color-primary, #02646f);
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.dl-letters a:hover {
  background: var(--color-primary, #02646f);
  color: #fff;
}
.dl-letters .is-empty {
  opacity: 0.4;
  cursor: default;
}

.dl-group {
  margin-bottom: 40px;
  scroll-margin-top: 90px;
}
.dl-group__letter {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #222;
  line-height: 1.1;
}
.dl-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: 3;
  column-gap: 28px;
}
.dl-group__list li {
  break-inside: avoid;
  margin-bottom: 14px;
}
.dl-group__list a {
  color: var(--color-primary, #02646f);
  font-size: 0.95rem;
  line-height: 1.7;
  text-decoration: none;
}
.dl-group__list a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .dl-group__list {
    column-count: 2;
  }
}
@media (max-width: 560px) {
  .dl-group__list {
    column-count: 1;
  }
  .dl-letters a,
  .dl-letters span {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}
