.tpl.tpl-glossary-page {
  overflow: visible;
  color: #fff;
  background-color: #07080a;
  background-image:
    url('../img/blurs/top-left.svg'),
    url('../img/blurs/centr-right.svg'),
    url('../img/blurs/footer-left.svg'),
    url('../img/blurs/3.svg');
  background-repeat: no-repeat;
  background-size: auto, 700px auto, 410px auto, 560px auto;
  background-position:
    left top,
    right 420px,
    450px calc(100% + 120px),
    calc(100% - 300px) calc(100% + 100px);
}

.tpl .tpl-glossary-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 76px;
  color: #fff;
  background: transparent;
}

.tpl .tpl-glossary-hero::after {
  content: none;
}

.tpl .tpl-glossary-hero .tpl-container {
  position: relative;
  z-index: 1;
}

.tpl .tpl-glossary-hero .tpl-container,
.tpl .tpl-glossary-content-section > .tpl-container {
  max-width: 1200px;
}

.tpl .tpl-glossary-breadcrumbs {
  margin: 0 0 54px;
  color: rgba(255, 255, 255, 0.54);
}

.tpl .tpl-glossary-breadcrumbs .tpl-breadcrumbs__item,
.tpl .tpl-glossary-breadcrumbs .tpl-breadcrumbs__item a,
.tpl .tpl-glossary-breadcrumbs .tpl-breadcrumbs__item[aria-current='page'] {
  color: inherit;
}

.tpl .tpl-glossary-breadcrumbs .tpl-breadcrumbs__item a:hover {
  color: #8ad545;
}

.tpl .tpl-glossary-hero__content {
  max-width: 900px;
}

.tpl .tpl-glossary-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(138, 213, 69, 0.38);
  border-radius: 8px;
  color: #8ad545;
  background: rgba(138, 213, 69, 0.08);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tpl .tpl-glossary-hero h1 {
  max-width: 860px;
  margin: 0 0 22px;
  font: 56px/1.03 'Inter-SemiBold', sans-serif;
  letter-spacing: -0.045em;
}

.tpl .tpl-glossary-hero__content > p {
  max-width: 810px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
  line-height: 1.55;
}

.tpl .tpl-glossary-content-section {
  padding: 76px 0 100px;
  background: transparent;
}

.tpl .tpl-glossary-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 820px);
  justify-content: center;
  align-items: start;
  gap: 44px;
}

.tpl .tpl-glossary-nav {
  position: sticky;
  top: 88px;
  padding: 22px;
  border: 1px solid #3a3a3a;
  border-radius: 16px;
  background: rgba(19, 20, 21, 0.88);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}

.tpl .tpl-glossary-nav__title {
  margin-bottom: 15px;
  color: #fff;
  font: 16px/1.3 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-nav ol {
  max-height: 385px;
  margin-right: -10px;
  padding-right: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(146, 154, 255, 0.55) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  list-style: none;
}

.tpl .tpl-glossary-nav ol::-webkit-scrollbar {
  width: 5px;
}

.tpl .tpl-glossary-nav ol::-webkit-scrollbar-track {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}

.tpl .tpl-glossary-nav ol::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(146, 154, 255, 0.55);
}

.tpl .tpl-glossary-nav ol::-webkit-scrollbar-thumb:hover {
  background: rgba(146, 154, 255, 0.8);
}

.tpl .tpl-glossary-nav li + li {
  margin-top: 3px;
}

.tpl .tpl-glossary-nav a {
  display: block;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.35;
}

.tpl .tpl-glossary-nav a span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  line-height: 1.65;
}

.tpl .tpl-glossary-nav a:hover,
.tpl .tpl-glossary-nav a.is-active {
  color: #fff;
  background: rgba(75, 94, 255, 0.16);
}

.tpl .tpl-glossary-nav a.is-active span {
  color: #5562ff;
}

.tpl .tpl-glossary-article {
  max-width: none;
  padding: 48px 56px;
  border: 1px solid #3a3a3a;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(19, 20, 21, 0.9);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  font-size: 17px;
  line-height: 1.65;
}

.tpl .tpl-glossary-article h2,
.tpl .tpl-glossary-article h3 {
  color: #fff;
  font-family: 'Inter-SemiBold', sans-serif;
  letter-spacing: -0.025em;
}

.tpl .tpl-glossary-article h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.tpl .tpl-glossary-article p + h2,
.tpl .tpl-glossary-article ol + h2,
.tpl .tpl-glossary-article ul + h2,
.tpl .tpl-glossary-article div + h2 {
  margin-top: 48px;
}

.tpl .tpl-glossary-article p,
.tpl .tpl-glossary-article ol,
.tpl .tpl-glossary-article ul {
  margin-bottom: 20px;
}

.tpl .tpl-glossary-article p span,
.tpl .tpl-glossary-article li span {
  color: inherit !important;
  background-color: transparent !important;
  font-family: inherit !important;
  font-size: inherit !important;
}

.tpl .tpl-glossary-article ul li,
.tpl .tpl-glossary-article ol li {
  margin-bottom: 13px;
}

.tpl .tpl-glossary-article ul li {
  padding-left: 22px;
}

.tpl .tpl-glossary-article ul li::before {
  top: 10px;
  width: 8px;
  height: 8px;
  background: #8ad545;
}

.tpl .tpl-glossary-article ol {
  counter-reset: glossary-list;
}

.tpl .tpl-glossary-article ol li {
  min-height: 32px;
  padding-left: 48px;
}

.tpl .tpl-glossary-article ol li::before {
  counter-increment: glossary-list;
  content: counter(glossary-list);
  display: flex;
  position: absolute;
  top: 1px;
  left: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 8px;
  color: #5562ff;
  background: #f0f1ff;
  font: 13px/1 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-article a {
  color: #929aff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tpl .tpl-glossary-article .tpl-definition-block {
  position: relative;
  margin: 0 0 24px;
  padding: 24px 26px 24px 29px;
  border: 0;
  border-left: 4px solid #8ad545;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(138, 213, 69, 0.14), rgba(138, 213, 69, 0.035));
}

.tpl .tpl-glossary-article .tpl-definition-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 18px;
  line-height: 1.55;
}

.tpl .tpl-glossary-article .tpl-definition-block p span,
.tpl .tpl-glossary-article .tpl-definition-block p strong {
  color: inherit !important;
  background-color: transparent !important;
}

.tpl .tpl-glossary-article .tpl-article-quote {
  position: relative;
  overflow: hidden;
  margin: 32px 0;
  padding: 24px 78px 24px 28px;
  border: 0;
  border-left: 4px solid #6674ff;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(100deg, rgba(75, 94, 255, 0.2), rgba(75, 94, 255, 0.055));
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 18px;
  font-style: normal;
  line-height: 1.55;
}

.tpl .tpl-glossary-article .tpl-article-quote::after {
  content: '\201C';
  position: absolute;
  top: 8px;
  right: 22px;
  color: rgba(146, 154, 255, 0.28);
  font: 72px/1 Georgia, serif;
  pointer-events: none;
}

.tpl .tpl-glossary-article .tpl-article-quote p {
  margin: 0 0 12px;
  color: inherit !important;
}

.tpl .tpl-glossary-article .tpl-article-quote p:last-child {
  margin-bottom: 0;
}

.tpl .tpl-glossary-article .tpl-article-quote span,
.tpl .tpl-glossary-article .tpl-article-quote strong,
.tpl .tpl-glossary-article .tpl-article-quote em {
  color: inherit !important;
  background-color: transparent !important;
}

.tpl .tpl-glossary-table {
  overflow-x: auto;
  margin-bottom: 26px;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
}

.tpl .tpl-glossary-article .tpl-glossary-table table {
  min-width: 660px;
  margin: 0;
}

.tpl .tpl-glossary-article .tpl-glossary-table th,
.tpl .tpl-glossary-article .tpl-glossary-table td {
  padding: 15px 17px;
  border: 0;
  border-right: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
  text-align: left;
}

.tpl .tpl-glossary-article .tpl-glossary-table th {
  color: #fff;
  background: rgba(75, 94, 255, 0.22);
  font-family: 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-article .tpl-glossary-table tr:last-child td {
  border-bottom: 0;
}

.tpl .tpl-glossary-article .tpl-glossary-table th:last-child,
.tpl .tpl-glossary-article .tpl-glossary-table td:last-child {
  border-right: 0;
}

.tpl .tpl-glossary-note {
  display: block;
  position: relative;
  margin-top: 52px;
  padding: 28px 150px 28px 28px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #4b5eff, #6975ff);
}

.tpl .tpl-glossary-note__mark {
  display: block;
  position: absolute;
  top: 50%;
  right: 28px;
  width: 104px;
  height: 104px;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.tpl .tpl-glossary-note__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tpl .tpl-glossary-note > div {
  position: relative;
  z-index: 1;
}

.tpl .tpl-glossary-article .tpl-glossary-note p {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.5;
}

.tpl .tpl-glossary-article .tpl-glossary-note .tpl-glossary-note__title {
  color: #fff;
  font: 21px/1.3 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-article .tpl-glossary-note__link {
  display: inline-flex;
  gap: 8px;
  margin-top: 8px;
  color: #fff;
  font-family: 'Inter-SemiBold', sans-serif;
  text-decoration: none;
}

.tpl .tpl-glossary-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1150px;
  margin: 38px auto 0;
}

.tpl .tpl-glossary-pagination a {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  justify-content: center;
  padding: 22px 26px;
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  color: #fff;
  background: rgba(19, 20, 21, 0.88);
}

.tpl .tpl-glossary-pagination a:hover {
  border-color: #5562ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(25, 30, 55, 0.08);
}

.tpl .tpl-glossary-pagination a span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.tpl .tpl-glossary-pagination a strong {
  font: 16px/1.35 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-pagination__next {
  text-align: right;
}

.tpl .tpl-glossary-directory {
  max-width: 1160px;
  margin: 0 auto;
}

.tpl .tpl-glossary-filter {
  max-width: 1160px;
  margin: 0 auto 30px;
}

.tpl .tpl-glossary-filter__title {
  margin-bottom: 14px;
  color: #fff;
  font: 16px/1.3 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-search {
  display: block;
  position: relative;
  max-width: 560px;
  margin-bottom: 18px;
}

.tpl .tpl-glossary-search input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 18px 0 46px;
  border: 1px solid #3a3a3a;
  border-radius: 23px;
  color: #fff;
  background: rgba(19, 20, 21, 0.84);
  font-size: 14px;
}

.tpl .tpl-glossary-search input:focus {
  border-color: #8ad545;
}

.tpl .tpl-glossary-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.tpl .tpl-glossary-search__icon {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 18px;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

.tpl .tpl-glossary-search__icon::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

.tpl .tpl-glossary-filter__letters {
  display: block;
}

.tpl .tpl-glossary-filter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tpl .tpl-glossary-filter__row + .tpl-glossary-filter__row {
  margin-top: 8px;
}

.tpl .tpl-glossary-filter__letters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #3a3a3a;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(19, 20, 21, 0.84);
  font: 13px/1 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-filter__letters button:not(:disabled):hover {
  color: #fff;
  border-color: rgba(138, 213, 69, 0.7);
}

.tpl .tpl-glossary-filter__letters button.is-active {
  border-color: #8ad545;
  color: #07080a;
  background: #8ad545;
}

.tpl .tpl-glossary-filter__letters button:disabled {
  cursor: default;
  opacity: 0.25;
}

.tpl [data-glossary-card][hidden],
.tpl [data-glossary-letter-section][hidden],
.tpl [data-glossary-language-group][hidden],
.tpl .tpl-glossary-filter__empty[hidden] {
  display: none;
}

.tpl .tpl-glossary-filter__empty {
  max-width: 1160px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

.tpl .tpl-glossary-consultation {
  max-width: 1160px;
  margin: 76px auto 0;
}

.tpl .tpl-glossary-consultation .tpl-glossary-consultation__subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-consultation .tpl-glossary-consultation__text {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.tpl .tpl-glossary-directory__group {
  padding: 34px 36px 38px;
  border: 1px solid #3a3a3a;
  border-radius: 18px;
  background: rgba(19, 20, 21, 0.84);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.2);
}

.tpl .tpl-glossary-directory__group + .tpl-glossary-directory__group {
  margin-top: 24px;
}

.tpl .tpl-glossary-directory__group > h2 {
  margin: 0 0 28px;
  color: #fff;
  font: 30px/1.1 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-directory__letters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 34px 48px;
}

.tpl .tpl-glossary-directory__letter {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 15px;
}

.tpl .tpl-glossary-directory__letter h3 {
  margin: 2px 0 0;
  color: #8ad545;
  font: 17px/1.4 'Inter-SemiBold', sans-serif;
}

.tpl .tpl-glossary-directory__letter ul {
  margin: 0;
  list-style: none;
}

.tpl .tpl-glossary-directory__letter li + li {
  margin-top: 10px;
}

.tpl .tpl-glossary-directory__letter a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.45;
}

.tpl .tpl-glossary-directory__letter a > span:last-child {
  flex: 0 0 auto;
  color: rgba(138, 213, 69, 0.65);
  transition: transform 0.2s ease;
}

.tpl .tpl-glossary-directory__letter a:hover {
  color: #fff;
  border-bottom-color: rgba(138, 213, 69, 0.45);
}

.tpl .tpl-glossary-directory__letter a:hover > span:last-child {
  transform: translateX(3px);
}

@media only screen and (max-width: 1100px) {
  .tpl .tpl-glossary-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
  }

  .tpl .tpl-glossary-article {
    padding: 40px;
  }
}

@media only screen and (max-width: 1024px) {
  .tpl .tpl-glossary-hero {
    padding: 44px 0 58px;
  }

  .tpl .tpl-glossary-breadcrumbs {
    margin-bottom: 38px;
  }

  .tpl .tpl-glossary-hero h1 {
    font-size: 42px;
  }

  .tpl .tpl-glossary-layout {
    display: block;
  }

  .tpl .tpl-glossary-nav {
    position: static;
    margin-bottom: 24px;
  }

  .tpl .tpl-glossary-nav ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    max-height: 195px;
  }

  .tpl .tpl-glossary-directory__letters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 700px) {
  .tpl .tpl-glossary-hero {
    padding: 30px 0 42px;
  }

  .tpl .tpl-glossary-breadcrumbs {
    margin-bottom: 30px;
  }

  .tpl .tpl-glossary-kicker {
    margin-bottom: 16px;
  }

  .tpl .tpl-glossary-hero h1 {
    margin-bottom: 16px;
    font-size: 34px;
  }

  .tpl .tpl-glossary-hero__content > p {
    font-size: 16px;
  }

  .tpl .tpl-glossary-content-section {
    padding: 36px 0 62px;
  }

  .tpl .tpl-glossary-filter {
    margin-bottom: 22px;
  }

  .tpl .tpl-glossary-consultation {
    margin-top: 48px;
  }

  .tpl .tpl-glossary-filter__row {
    gap: 6px;
  }

  .tpl .tpl-glossary-search {
    max-width: none;
    margin-bottom: 16px;
  }

  .tpl .tpl-glossary-filter__letters button {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 12px;
  }

  .tpl .tpl-glossary-nav {
    padding: 17px;
    border-radius: 12px;
  }

  .tpl .tpl-glossary-nav ol {
    display: block;
    max-height: 385px;
  }

  .tpl .tpl-glossary-article {
    padding: 26px 20px;
    border-radius: 14px;
    font-size: 15px;
  }

  .tpl .tpl-glossary-article h2 {
    font-size: 23px;
  }

  .tpl .tpl-glossary-article p + h2,
  .tpl .tpl-glossary-article ol + h2,
  .tpl .tpl-glossary-article ul + h2,
  .tpl .tpl-glossary-article div + h2 {
    margin-top: 36px;
  }

  .tpl .tpl-glossary-article .tpl-definition-block {
    padding: 19px 18px 19px 20px;
  }

  .tpl .tpl-glossary-article .tpl-definition-block p {
    font-size: 16px;
  }

  .tpl .tpl-glossary-article .tpl-article-quote {
    margin: 24px 0;
    padding: 19px 58px 19px 20px;
    border-radius: 0 12px 12px 0;
    font-size: 16px;
  }

  .tpl .tpl-glossary-article .tpl-article-quote::after {
    top: 8px;
    right: 15px;
    font-size: 56px;
  }

  .tpl .tpl-glossary-note {
    display: block;
    margin-top: 38px;
    padding: 22px 74px 22px 22px;
  }

  .tpl .tpl-glossary-note__mark {
    top: 22px;
    right: 14px;
    width: 58px;
    height: 58px;
    opacity: 0.34;
    transform: none;
  }

  .tpl .tpl-glossary-pagination {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .tpl .tpl-glossary-pagination > span {
    display: none;
  }

  .tpl .tpl-glossary-pagination__next {
    text-align: left;
  }

  .tpl .tpl-glossary-directory__group {
    padding: 24px 20px 28px;
    border-radius: 14px;
  }

  .tpl .tpl-glossary-directory__group > h2 {
    margin-bottom: 22px;
    font-size: 25px;
  }

  .tpl .tpl-glossary-directory__letters {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
