
/* Glossary CMS — chunk 02: breadcrumb, hero, meta, TL;DR */

.ch-glossary-breadcrumb {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  letter-spacing: 0.25px;
}

.ch-glossary-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.ch-glossary-breadcrumb a:hover {
  color: var(--black);
}

.ch-glossary-breadcrumb span[aria-hidden="true"] {
  margin: 0 0.4rem;
}

.ch-glossary-breadcrumb [aria-current="page"],
.ch-glossary-breadcrumb .ch-glossary-crumb-current {
  color: var(--black);
}

.ch-glossary-hero {
  margin-bottom: 2rem;
}

.ch-glossary-hero h1,
.ch-glossary-page > h1,
.ch-glossary-page > .h1,
.ch-glossary-page header.ch-glossary-hero h1,
header.ch-glossary-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
  margin: 0 0 0.75rem;
  color: var(--black);
}

.ch-glossary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.25px;
}

.ch-glossary-hero .ch-glossary-meta,
.ch-glossary-page > .ch-glossary-meta {
  margin-bottom: 0;
}

.ch-glossary-meta__chip strong {
  color: var(--black);
  font-weight: 400;
}

.ch-glossary-tldr,
.ch-glossary-tldr-wrap {
  background: var(--light-base);
  border: 1px solid var(--grey);
  border-left: 1px solid #dfdfd9 !important;
  border-radius: var(--ch-radius-lg);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2.5rem;
}

.ch-glossary-tldr__label,
.ch-glossary-tldr-label {
  font-family: var(--font-primary);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--black);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.ch-glossary-tldr p,
.ch-glossary-tldr [data-cms="tldr"] p,
.ch-glossary-tldr .w-richtext p {
  margin: 0 0 1rem;
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.6;
}

.ch-glossary-tldr p:last-child,
.ch-glossary-tldr [data-cms="tldr"] p:last-child,
.ch-glossary-tldr .w-richtext p:last-child {
  margin-bottom: 0;
}

.ch-glossary-tldr h2,
.ch-glossary-tldr [data-cms="tldr"] h2,
.ch-glossary-tldr .w-richtext h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--black);
  margin: 1.25rem 0 0.65rem;
}

.ch-glossary-tldr ol.steps,
.ch-glossary-tldr [data-cms="tldr"] ol.steps,
.ch-glossary-tldr .w-richtext ol.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ch-step;
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.6;
}

.ch-glossary-tldr ol.steps li,
.ch-glossary-tldr [data-cms="tldr"] ol.steps li,
.ch-glossary-tldr .w-richtext ol.steps li {
  counter-increment: ch-step;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.55rem;
}

.ch-glossary-tldr ol.steps li::before,
.ch-glossary-tldr [data-cms="tldr"] ol.steps li::before,
.ch-glossary-tldr .w-richtext ol.steps li::before,
.ch-glossary-tldr-wrap ol.steps li::before {
  content: counter(ch-step);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: transparent !important;
  border: 1px solid #000;
  color: #000;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 400;
  display: grid;
  place-items: center;
}

@media (min-width: 48rem) {
  .ch-glossary-tldr {
    padding: 1.5rem 1.65rem;
  }
}

@media (max-width: 479px) {
  .ch-glossary-tldr {
    padding: 1.15rem 1.2rem;
    margin-bottom: 2rem;
  }

  .ch-glossary-breadcrumb {
    font-size: 13px;
    margin-bottom: 1.25rem;
  }
}
