.alphabet-directory {
  font-family: sans-serif;
  width: 330px;
  margin: 0 auto;
}

.alphabet-nav {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 8px;
  position: sticky;
  top: 129px;
  background: white;
  z-index: 998;
}
.alphabet-letter-wrapper {
  cursor: pointer;
}
.alphabet-letter-wrapper.disabled {
  cursor: default;
}

#alphabet-trigger {
  height: 1px;
}

.alphabet-nav.stuck {
  padding-block: 16px;
}
#alphabet-trigger {
  height: 1px;
}

.alphabet-letter-wrapper {
  width: 26px;
  height: 40px;
}

.alphabet-nav a,
.letter-title span {
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
}

.letter-title span {
  line-height: 28px;
}

.letter-title {
  border-bottom: 1px solid var(--Brand-Purple-60);
}

.name-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 80px;
  padding-top: 16px;
}

.name-group {
  padding: 11px 0;
  break-inside: avoid;
  width: 180px;
}
.name-group a {
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recipient-list {
  display: none;
  margin-bottom: 1rem;
}

.alphabet-letter-wrapper.active,
.alphabet-letter-wrapper:hover {
  border-radius: 4px;
  background: var(--Brand-Purple-60);
  color: var(--selection-color);
}

.alphabet-link.disabled {
  color: var(--Text-text-placeholder);
}

.recipient-list {
  width: 330px;
  margin: 0 auto;
}

.recipient-list > li {
  border-bottom: 1px solid var(--Default-Gray-10);
}

.recipient-title {
  color: var(--Brand-Purple-60);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  padding: 20px 0 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 112.5% */
  letter-spacing: 0.16px;
}

.recipient-title span:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.correspondent-name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.category-toggle-wrapper {
  padding-bottom: 24px;
}

/* Hide desktop view elements on small screens */
.alphabet-nav,
.name-list,
.letter-title {
  display: none;
}

/* Show recipient-lists on small screens */
.recipient-list {
  display: block;
}

.recipient-title.active .icon {
  transform: rotate(90deg);
}

.recipient-title .icon {
  transition: 0.3s;
}

@media screen and (min-width: 801px) {
  .alphabet-directory {
    width: 500px;
  }

  /* Hide mobile recipient-lists on desktop */
  .recipient-list {
    display: none;
  }

  /* Show desktop alphabet navigation and name list */
  .alphabet-nav,
  .name-list {
    display: flex;
  }

  .letter-title {
    display: block;
  }

  .letter-sections-wrapper {
    gap: 32px;
  }

  .category-toggle-wrapper {
    padding-bottom: 32px;
  }
}

@media screen and (min-width: 1025px) {
  .alphabet-directory {
    width: 744px;
  }
}
