.study-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid #d7e4e2;
  border-radius: 15px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(25, 73, 68, .06);
}

.study-nav a {
  padding: 8px 12px;
  color: #075f59;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.study-nav a:first-child {
  color: #fff;
  background: #086f68;
}

.study-nav a:hover,
.study-nav a:focus-visible,
.study-nav a[aria-current="page"] {
  border-color: #8fc8c2;
  background: #eaf7f4;
  outline: none;
}

.study-nav a:first-child:hover,
.study-nav a:first-child:focus-visible {
  color: #fff;
  background: #075650;
}

.study-sentence {
  display: flex;
  margin: 0;
  padding: 13px 62px 13px 50px;
  border: 0;
  border-top: 1px solid #e8eeee;
  border-radius: 0;
}

.study-sentence:first-child {
  border-top: 0;
}

.study-sentence .usage-tag {
  align-self: flex-start;
  order: 0;
}

.study-sentence .sentenceText {
  order: 1;
  padding: 0;
}

.study-sentence .sentence-tools {
  order: 2;
}

.study-sentence .localTranslate {
  order: 3;
}

.study-sentence .localInfo {
  order: 4;
}

.study-sentence .word {
  display: inline;
  padding: 3px 4px;
  color: #111;
  border-radius: 6px;
}

.study-sentence .word:hover,
.study-sentence .word:focus,
.study-sentence .word.active {
  color: #123d39;
  background: #ffe08a;
  outline: none;
}

.study-sentence .study-target-word {
  color: #004e49;
  background: #def3ef;
}

.study-sentence .row-audio {
  top: 22px;
}

.study-sentence .localInfo,
.study-sentence .localTranslate {
  width: 100%;
}

.dictionary-hint {
  margin: 10px 0 0;
  color: #1d4ed8;
  font-size: .88rem;
  font-weight: 700;
}

@media (max-width: 560px) {
  .study-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-nav a {
    text-align: center;
  }

  .study-nav a:first-child {
    grid-column: 1 / -1;
  }

  .study-sentence {
    padding-right: 50px;
    padding-left: 43px;
  }
}
