/* NT2 Omega Chips — centered headline, chip row, footnote, drop. */

.nt2-chips__section { padding-top: var(--nt2-section-pt); padding-bottom: var(--nt2-section-pb); }

.nt2-chips__intro { margin-top: var(--space-xl); }

.nt2-chips__list {
  margin: var(--space-2xl) 0 var(--space-xl);
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.nt2-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--clr-text-primary);
  background: var(--clr-neutral-lighter);
  border: 1px solid var(--nt2-hairline);
  border-radius: 9999px; /* pill shape, intentional */
  cursor: default;
  transition: color 0.25s ease, border-color 0.25s ease;
}
/* Coral underline reveals on hover — a small moment of craft that
   rewards users who explore the chip row. */
.nt2-chip::after {
  content: "";
  position: absolute;
  left: var(--space-lg);
  right: var(--space-lg);
  bottom: var(--space-sm);
  height: 1px;
  background: var(--clr-tertiary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--nt2-ease-out);
}
.nt2-chip:hover { border-color: color-mix(in srgb, var(--clr-primary) 35%, transparent); }
.nt2-chip:hover::after { transform: scaleX(1); }

.nt2-chips__footnote {
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--clr-text-muted);
  letter-spacing: 0.02em;
  font-style: normal;
}

/* rte wrappers replace the old single h2/div/p elements; strip the
   stray block margins their child tags introduce so spacing stays tight. */
.nt2-chips__headline > :first-child,
.nt2-chips__intro > :last-child,
.nt2-chips__footnote > :last-child { margin-bottom: 0; }
.nt2-chips__headline > :last-child,
.nt2-chips__intro > :first-child,
.nt2-chips__footnote > :first-child { margin-top: 0; }


/* Richtext typography normalization: block-converted text stores its
   content as <h2>/<p> without a class, so the inner tag (notably an
   <h2>) reverts to browser defaults and loses the wrapper typography.
   Force inner richtext tags to inherit the wrapper class type. */
.nt2-chips__headline > *, .nt2-chips__headline h1, .nt2-chips__headline h2, .nt2-chips__headline h3, .nt2-chips__headline h4, .nt2-chips__headline h5, .nt2-chips__headline h6, .nt2-chips__headline p {
  margin: 0 !important; padding: 0 !important; font-size: inherit !important; font-weight: inherit !important; font-family: inherit !important; line-height: inherit; color: inherit;
}
.nt2-chips__intro > *, .nt2-chips__intro h1, .nt2-chips__intro h2, .nt2-chips__intro h3, .nt2-chips__intro h4, .nt2-chips__intro h5, .nt2-chips__intro h6, .nt2-chips__intro p {
  margin: 0 !important; padding: 0 !important; font-size: inherit !important; font-weight: inherit !important; font-family: inherit !important; line-height: inherit; color: inherit;
}
.nt2-chips__footnote > *, .nt2-chips__footnote h1, .nt2-chips__footnote h2, .nt2-chips__footnote h3, .nt2-chips__footnote h4, .nt2-chips__footnote h5, .nt2-chips__footnote h6, .nt2-chips__footnote p {
  margin: 0 !important; padding: 0 !important; font-size: inherit !important; font-weight: inherit !important; font-family: inherit !important; line-height: inherit; color: inherit;
}
