/* 05 Products (v2): all products at once in equal columns */
.products-stage {
  width: 100%;
}

.products-cols {
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto;
  gap: 0 32px;
  align-items: start;
}

.products-col {
  grid-row: 1 / -1;
  display: grid;
  grid-template-rows: subgrid;
  align-content: start;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease);
}

.products-col.is-in {
  opacity: 1;
  transform: translateY(0);
}

.products-col.is-instant,
.products-col.is-instant * {
  transition: none !important;
}

.products-part {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.products-part.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* 1. Product icon well and name */
.products-col-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 50px;
}

.products-col-well {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--p-tint);
  border: 1px solid var(--p-rule);
  color: var(--p-text);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.products-col-well svg.ic {
  width: 18px;
  height: 18px;
}

.products-col-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--p-text);
}

/* 2. Verified quote */
.products-quote {
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.42;
  color: var(--ink);
}

/* 3. Thin rule in the product colour */
.products-rule-wrap {
  margin-top: 18px;
  display: flex;
  align-items: center;
}

.products-rule {
  display: block;
  width: 52px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--p-hue);
}

/* 4. Figure */
.products-figure {
  margin-top: 16px;
}

.products-fig-big {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--p-text);
  font-variant-numeric: tabular-nums;
}

.products-fig-words {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-2);
}

/* 5. Topics label + watching_for list */
.products-topics {
  margin-top: 22px;
}

.products-topics-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
}

.products-col-list {
  list-style: none;
  margin-top: 12px;
  padding: 0 0 0 16px;
  margin-left: 0;
  border-left: 1.5px solid var(--p-rule);
  display: flex;
  flex-direction: column;
}

.products-col-item {
  font-size: 1rem;
  line-height: 1.38;
  color: var(--ink-2);
  padding: 10px 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.products-col-item:first-child {
  border-top: 0;
  padding-top: 2px;
}

.products-col-item:last-child {
  padding-bottom: 2px;
}

/* usage figures removed: they are Surescripts own numbers and add nothing to the story */
.products-rule-wrap, .products-figure { display: none !important; }

/* five groupings */
.products-cols { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 22px !important; }
.products-col-name, .products-name { font-size: 1.12rem !important; }

/* five columns get a little more room: the column block runs 44px past the page margin on each side */
.products-stage { width: calc(100% + 88px) !important; max-width: none !important; margin-left: -44px !important; margin-right: -44px !important; align-self: flex-start; }
.products-cols { width: 100% !important; max-width: none !important; gap: 26px !important; }
.products-wrap .act-header { padding-bottom: 6px !important; }
.products-col-head { min-height: 48px !important; }

/* more air under the title; descriptions set smaller so they wrap onto fewer lines */
.products-wrap .act-header { padding-bottom: 34px !important; }
.products-stage { width: calc(100% + 120px) !important; margin-left: -60px !important; margin-right: -60px !important; }
.products-cols { gap: 24px !important; }
.products-quote { font-size: 0.9375rem !important; line-height: 1.42 !important; }
