/* ── Numbered Accordion Widget ─────────────────────────────────── */

.cew-numbered-accordion {
  width: 100%;
}

/* Item row */
.cew-na__item {
  border-bottom: 1px solid #262626;
  padding: 36px 0;
}

.cew-na__item:first-child {
  padding-top: 18px;
}

/* Header / button */
.cew-na__header {
  display: flex;
  align-items: center;
  gap: 34px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.cew-na__header:hover, .cew-na__header:focus {
  background-color: transparent;
  border: 0px;
}

.cew-na__header:focus-visible {
  outline: 0px;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Numbered badge */
.cew-na__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #F0163E;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  font-family: "Config";
  line-height: 20.8px;
}

/* Title */
.cew-na__title {
  color: #8E8E8E;
  font-family: 'Config';
  font-size: 24px;
  font-weight: 700;
  line-height: 26px;
}

/* Active state */
.cew-na__item.is-open .cew-na__title, .cew-na__header:hover .cew-na__title {
  color: #F0163E;
}

/* ── Body – CSS Grid expand/collapse (no JS animation needed) ─── */

.cew-na__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

/* Override browser's default display:none for [hidden] so CSS controls visibility */
.cew-na__body[hidden] {
  display: grid;
}

.cew-na__item.is-open .cew-na__body {
  grid-template-rows: 1fr;
}

/* Direct grid child – no padding so it collapses fully to zero */
.cew-na__body__inner {
  overflow: hidden;
  min-height: 0;
}

.cew-na__desc {
  padding: 16px 0 0 66px;
  color: #FFF;
  font-family: 'Config';
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.cew-na__desc p:last-child {
  margin-bottom: 0;
}
