/* Glossary page — premium t2 style */
body.gl-v2 main.gl { padding-bottom: 40px; }
.gl-hero { padding: clamp(110px, 16vw, 170px) 0 24px; }
:root body.premium-site[data-theme] main.gl .gl-h1 {
  font-size: clamp(34px, 6vw, 72px) !important;
  line-height: 1.08 !important;
  margin: 14px 0 16px !important;
  letter-spacing: -.01em;
}
.gl-h1 em { display: block; font-style: normal; background: linear-gradient(100deg,#fde8b5,#f2c36b 50%,#7fd8a4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gl-tools { margin-top: 28px; }
.gl-search { display: block; max-width: 520px; position: relative; }
.gl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gl-search input {
  width: 100%; box-sizing: border-box; padding: 15px 18px; font: inherit; font-size: 16px; color: #f8fafa;
  background: rgba(0,19,25,.7); border: 1px solid rgba(242,195,107,.35); border-radius: 12px; outline: none;
  backdrop-filter: blur(10px);
}
.gl-search input:focus { border-color: #f2c36b; box-shadow: 0 0 0 3px rgba(242,195,107,.18); }
.gl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gl-tab {
  font: inherit; font-size: 14px; cursor: pointer; color: #b7cdd0; padding: 9px 16px; border-radius: 999px;
  background: rgba(0,19,25,.6); border: 1px solid rgba(248,250,250,.14); display: inline-flex; gap: 8px; align-items: center;
}
.gl-tab i { font-style: normal; font-size: 12px; opacity: .6; }
.gl-tab:hover { border-color: rgba(242,195,107,.6); }
.gl-tab.on { color: #001319; background: linear-gradient(100deg,#fde8b5,#f2c36b); border-color: transparent; font-weight: 700; }
.gl-tab.on i { opacity: .75; }
.gl-body { padding: 18px 0 40px; }
.gl-count { color: #b7cdd0; font-size: 14px; margin: 0 0 14px; }
.gl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gl-card { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 110px; }
.gl-card[hidden] { display: none; }
.gl-card:target { outline: 2px solid #f2c36b; outline-offset: 3px; }
.gl-cat { margin: 0; font-size: 11px; letter-spacing: .14em; color: #f2c36b; text-transform: uppercase; }
.gl-card h3 { margin: 0; font-size: 22px; line-height: 1.2; color: #f8fafa; }
.gl-th { margin: 0; font-size: 14px; color: #a0e0d8; }
.gl-def { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: #b7cdd0; }
.gl-ex { margin: auto 0 0; padding-top: 12px; font-size: 13.5px; line-height: 1.55; color: #b7cdd0; border-top: 1px dashed rgba(248,250,250,.14); }
.gl-ex b { display: block; font-size: 11px; letter-spacing: .12em; color: #f2c36b; margin-bottom: 3px; }
.gl-empty { text-align: center; color: #b7cdd0; padding: 40px 0; }
.gl-practice { margin-top: 56px; text-align: center; }
.gl-practice h2 { margin: 10px 0 20px; font-size: clamp(24px, 3.4vw, 36px); }
.gl-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 960px) { .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .gl-grid { grid-template-columns: minmax(0, 1fr); }
  .gl-tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-bottom: 6px; }
  .gl-tab { white-space: nowrap; flex: none; }
}
