.title-intro {
  margin-top: 10rem;
  color: #232222;
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
#search-box-index {
  margin-top: 32rem;
}

.ul-Alphabet {
  position: sticky;
  margin-top: 26rem;
  display: flex;
  justify-content: space-between;
  gap: 20rem;
}
.li-letter {
  color: #000;
  font-size: 16rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  cursor: pointer;
}
.isSelested,
.li-letter:hover {
  color: #a52933 !important;
}
.isSelested {
  font-weight: 700;
}

.section1 {
  margin-top: 50rem;
  display: flex;
  flex-direction: column;
  gap: 36rem;
}
.letter-item-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.letter-item-title h3 {
  color: #232222;
  font-size: 20rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.isSelected .letter-item-title h3 {
  color: #a52933;
}
.btn-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4rem;
  flex-shrink: 0;
  color: #6a6967;
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}

.isShowMore .btn-text .icon-chevron_right {
  transform: rotate(270deg);
}
.btn-text .icon-chevron_right {
  font-size: 16rem;
  line-height: 1.3;
  transition: all 0.3s;
  transform: rotate(90deg);
}
.isShowMore .dictionary-card {
  max-height: 5000rem;
}
.dictionary-card {
  margin-top: 16rem;
  display: flex;
  flex-wrap: wrap;
  gap: 20rem 0;
  padding: 26rem 24rem;
  border-radius: 8rem;
  border: 1rem solid #e1e6ed;
  max-height: 145rem;
  overflow: hidden;
  transition: all 0.3s;
}
.dictionary-item {
  width: 25%;
  padding-right: 10rem;
  height: 20rem;
  line-height: normal;
  overflow: hidden;
}
.dictionary-item a {
  position: relative;
  padding-left: 16rem;
  padding-right: 30rem;
  color: #232222;
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: 20rem;
  display: inline-block;
  width: 100%;
  white-space: nowrap; /* 禁止换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出时显示省略号 */
}
.dictionary-item a:hover {
  color: #a52933;
  font-weight: 700;
}
.dictionary-item a:hover::before{
  color: #a52933;
}
.dictionary-item a::before {
  font-family: "iconfont" !important;
  content: "\e618";
  position: absolute;
  left: 0;
  /* top: 0; */
  font-size: 14rem;
  color: #B2AFAD;
  line-height: 21rem;
  /* transform: rotate(180deg); */
}
.ar .dictionary-item a{
  padding-left: 30rem;
  padding-right: 16rem;
}
.ar .dictionary-item a::before{
  transform: rotate(180deg);
  left: unset;
  right: 0;
}
.dictionary-item .isSelested {
  font-weight: 700;
  color: #a52933 !important;
}

@media (max-width: 996px) {
  #search-box-index {
    margin-top: 42rem;
  }
  .title-intro {
    margin-top: 18rem;
    font-size: 28rem;
  }
  .ul-Alphabet {
    margin-top: 36rem;
    width: 100%;
    overflow-x: auto;
    gap: 40rem;
  }
  .li-letter {
    font-size: 28rem;
  }

  .letter-item-title h3 {
    font-size: 40rem;
  }
  .btn-text {
    font-size: 28rem;
  }
  .btn-text .icon-chevron_right{
    font-size: 28rem;
    line-height: normal;
  }

  .dictionary-card {
    max-height: 222rem;
  }

  .dictionary-item {
    width: 100%;
    height: auto;
    padding-right: 0;
  }

  .dictionary-item a {
    padding-left: 0;
    font-size: 28rem;
    line-height: 42rem;
    height: 42rem;
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 溢出时显示省略号 */
    padding-right: 40rem;
  }
  .dictionary-item a::before {
    left: unset;
    right: 0;
    font-size: 28rem;
    line-height: 43rem;
  }
}
