/* Browse Terms CSS Styles */

.c-browse-terms {
  width: 100%;
  padding: 64px 0;
  background: #ffffff;
  box-sizing: border-box;
  font-family: var(--font-family, sans-serif);
}

.c-browse-terms__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.c-browse-terms__title {
  font-size: 28px;
  font-weight: 800;
  color: #1a2744;
  margin: 0 0 48px;
  text-align: left;
}

/* Multi-column layout using CSS columns */
.c-browse-terms__grid {
  column-count: 5;
  column-gap: 40px;
  text-align: left;
}

.c-browse-terms__group {
  display: inline-block;
  width: 100%;
  margin-bottom: 36px;
  break-inside: avoid-column;
  box-sizing: border-box;
}

.c-browse-terms__letter {
  font-size: 38px;
  font-weight: 800;
  color: #1a2744;
  margin: 0 0 16px;
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 6px;
  line-height: 1;
}

.c-browse-terms__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-browse-terms__item {
  margin: 0;
}

.c-browse-terms__link {
  font-size: 13.5px;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
  display: block;
  transition: color 0.15s ease;
}

.c-browse-terms__link:hover {
  color: #0070c0;
  text-decoration: underline;
}

/* ---- Responsive Viewports ---- */
@media (max-width: 1024px) {
  .c-browse-terms__grid {
    column-count: 3;
    column-gap: 32px;
  }
}

@media (max-width: 768px) {
  .c-browse-terms__grid {
    column-count: 2;
    column-gap: 24px;
  }
  .c-browse-terms__title {
    font-size: 24px;
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .c-browse-terms__grid {
    column-count: 1;
    column-gap: 0;
  }
}
