/* Glossary and HYROX pages. They load styles.css first for the tokens, the
   type scale, the footer and the App Store badge, and add only this. */
.article-nav { border-bottom: 1px solid var(--line-strong); }
.article-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
}
.article-nav__links { display: flex; gap: var(--s-lg); }
.article-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-2);
  font-size: var(--f-small);
  font-weight: var(--w-600);
}
.article-nav__links a:hover { color: var(--text); }

.article {
  max-width: calc(var(--w-text) + 2 * var(--gutter));
  padding-block: var(--s-xxl) var(--s-section);
}
.article__crumbs a { color: var(--text-2); }
.article__crumbs a:hover { color: var(--text); }
.article__term {
  margin-top: var(--s-md);
  color: var(--c);
  font-size: var(--f-poster);
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.article__title { margin-top: var(--s-md); }
.article__short { margin-top: var(--s-lg); color: var(--text); }
.article__sec { margin-top: var(--s-xl); display: grid; gap: var(--s-sm); }
.article__sec p { color: var(--text-2); }
.article__kevor {
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 4px 0 0 var(--coral);
}
.article__more { margin-top: var(--s-xl); }
.article__more ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin: var(--s-sm) 0 0;
  padding: 0;
  list-style: none;
}
.article__more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-md);
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--c);
  font-weight: var(--w-600);
}
.article-cta {
  margin-top: var(--s-xxl);
  padding: var(--s-xl);
  border-radius: 22px;
  background: var(--surface);
  display: grid;
  gap: var(--s-md);
  justify-items: start;
}
.article-cta__title {
  font-size: var(--f-h2);
  font-weight: var(--w-700);
  letter-spacing: var(--tr-tight);
  line-height: 1.1;
}

.glossary {
  display: grid;
  gap: var(--s-sm);
  margin: var(--s-xl) 0 0;
  padding: 0;
  list-style: none;
}
.glossary__item {
  display: grid;
  gap: var(--s-xs);
  padding: var(--s-md) var(--s-lg);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 4px 0 0 var(--c);
  transition: background var(--dur) var(--ease);
}
.glossary__item:hover { background: var(--line-strong); }
.glossary__item b { color: var(--c); font-size: var(--f-h3); letter-spacing: var(--tr-snug); }
.glossary__item span { color: var(--text-2); font-size: var(--f-small); }

.hyrox {
  display: grid;
  gap: var(--s-xs);
  margin: var(--s-sm) 0 0;
  padding: 0;
  list-style: none;
}
.hyrox li {
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr) auto;
  grid-template-areas: "n run run" "n name d";
  column-gap: var(--s-md);
  padding: var(--s-smd) var(--s-md);
  border-radius: var(--r-md);
  background: var(--surface);
}
.hyrox__n {
  grid-area: n;
  align-self: center;
  font-family: var(--mono);
  font-weight: var(--w-700);
  color: var(--t-amrap);
  font-variant-numeric: tabular-nums;
}
.hyrox__run { grid-area: run; font-size: var(--f-micro); color: var(--text-3); }
.hyrox li b { grid-area: name; }
.hyrox__d { grid-area: d; color: var(--text-2); font-variant-numeric: tabular-nums; }
