/* Variant A: one visual language for the message templates in articles 71 and 72. */
.kb-pilot-templates .kb-pilot-template > blockquote {
  background: #fffcf7;
  line-height: 1.6;
}

.kb-pilot-templates .kb-pilot-template > blockquote.kb-template-single-card {
  margin: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e9e2d8;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 1px 4px rgb(35 41 52 / 5%);
}

.kb-pilot-templates .kb-pilot-message-variant,
.kb-published-article .kb-pilot-templates .kb-pilot-message-variant {
  background: #fff;
  border-color: #e9e2d8;
  box-shadow: 0 1px 4px rgb(35 41 52 / 5%);
}

.kb-pilot-templates .kb-pilot-message-variant-heading,
.kb-published-article .kb-pilot-templates .kb-pilot-message-variant-heading {
  color: #18324e;
}

.kb-pilot-templates .kb-pilot-message-variant-number,
.kb-published-article .kb-pilot-templates .kb-pilot-message-variant-number {
  background: #f4e100;
  color: #18324e;
}

.kb-pilot-templates .kb-pilot-template > blockquote p.kb-pilot-message-label,
.kb-published-article .kb-pilot-templates .kb-pilot-template > blockquote p.kb-pilot-message-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-left: 4px solid #ff5b78;
  border-radius: 0.6rem;
  background: #f8f2ed;
  color: #18324e;
  font-size: 1rem;
  font-weight: 700;
}

.kb-pilot-templates .kb-pilot-template > blockquote p.kb-pilot-message-label:first-child { margin-top: 0; }

.kb-pilot-templates .kb-pilot-message-count {
  flex: none;
  padding: 0.15rem 0.55rem;
  border: 1px solid #e4dbce;
  border-radius: 999px;
  background: #fff;
  color: #61738c;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.kb-pilot-templates .kb-pilot-template > blockquote > .kb-pilot-message-variant:last-child,
.kb-pilot-templates .kb-pilot-template > blockquote.kb-template-single-card > :last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .kb-pilot-templates .kb-pilot-template > blockquote.kb-template-single-card { margin: 0.7rem; padding: 0.85rem; }
  .kb-pilot-templates .kb-pilot-template > blockquote p.kb-pilot-message-label { align-items: flex-start; }
}
