.glossary-page {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%);
  padding-bottom: 44px;
}
.glossary-page * {
  font-family: "Roboto", sans-serif;
}
.glossary-breadcrumb-wrap {
  background: linear-gradient(186.63deg, #000000 -4.34%, #005cbd 110.69%);
}
.breadcrumb-bar {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}
.breadcrumb-bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding-right: 10px;
  margin-right: 10px;
  position: relative;
}
.breadcrumb-bar a:hover {
  color: #f9a25a;
}
.breadcrumb-bar a:after {
  content: "\f105";
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 500);
  right: -7px;
  position: absolute;
  color: rgba(255, 255, 255, 0.55);
}
.glossary-hero {
    background: linear-gradient(186.63deg, #000000 -4.34%, #005CBD 110.69%);
    padding: 34px 0 0px;
}
.glossary-title {
    margin: 0 0 10px;
    line-height: 1.04;
    color: #FFF;
    font-size: 38px;
    font-weight: 500;
    font-family: "Roboto Flex";
}
.glossary-subtitle {
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    line-height: 24px;
}
.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.meta-pill {
  border: 1px solid #dbe3f3;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: #1e293b;
}
.search-wrap {
  margin-top: 14px;
  max-width: 560px;
  position: relative;
}
.search-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
}
.search-input {
  border: 1px solid #dbe3f3;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
  color: #0f172a;
  background: #fff;
}
.search-input:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.24);
}
.search-btn,
.clear-btn {
  border: 1px solid #dbe3f3;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
}
.search-btn {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}
.clear-btn {
  background: #fff;
  color: #1b3ea8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-note {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
}
.search-note strong {
  color: #ffffff;
}
.suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #dbe3f3;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.08);
  z-index: 30;
  overflow: hidden;
}
.suggestions[hidden] {
  display: none !important;
}
.suggestion-item {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid #eef2f7;
}
.suggestion-item:last-child {
  border-bottom: 0;
}
.suggestion-item:hover {
  background: #f8fbff;
  color: #1b3ea8;
}
.suggestion-empty {
  padding: 10px 12px;
  font-size: 13px;
  color: #64748b;
}
.section-wrap {
  margin-top: 24px;
}
.index-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
  padding: 20px;
}
img.glossarybanner{
    float: right;
}
.alphabet-sticky {
  position: sticky;
  top: 92px;
  z-index: 5;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.alphabet-sticky.is-hidden-by-search {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
}
.alphabet-nav {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
}
.alphabet-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #dbe3f3;
  border-radius: 10px;
  background: #fff;
  color: #1b3ea8;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.alphabet-arrow:hover {
  background: #eef4ff;
}
.alphabet-track {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.alphabet-track::-webkit-scrollbar {
  display: none;
}
.alphabet-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: max-content;
}
.letter-chip {
  border: 1px solid #dbe3f3;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  min-height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.letter-chip.active {
  border-color: #1b3ea8;
  background: #eaf1ff;
}
.letter-chip.inactive {
  background: #f8fafc;
  color: #94a3b8;
  pointer-events: none;
}
.section-block {
  margin-top: 22px;
  scroll-margin-top: 190px;
}
.letter-heading {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}
.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.term-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  text-decoration: none;
  color: #0f172a;
  transition: all .2s ease;
}
.term-card:hover {
  transform: translateY(-1px);
  border-color: #c8d8f4;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.05);
  color: #1b3ea8;
}
@media (max-width: 991px) {
  .glossary-title { font-size: 32px; }
  .term-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-block { scroll-margin-top: 165px; }
  .alphabet-sticky { top: 82px; }
}
@media (max-width: 767px) {
  .glossary-title { font-size: 28px; }
  .search-form { grid-template-columns: 1fr; }
  .term-grid { grid-template-columns: 1fr; }
  .section-block { scroll-margin-top: 145px; }
  .alphabet-sticky { top: 74px; }
  .alphabet-nav {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 8px;
  }
  .glossarybanner{
    display:none;
  }
  .search-wrap{
      margin-bottom:35px;
  }
  .alphabet-arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}
