/* A related article is a reading route, visually distinct from purchase cards. */
:where(.entry-content,.editor-styles-wrapper) .kn-related-card {
  margin-block: 36px;
  border: 1px solid var(--line, #e4ddd7);
  border-radius: 5px 28px 5px 5px;
  background: linear-gradient(135deg, var(--white, #fffefa), #f8f3ef);
  box-shadow: 0 10px 26px rgba(57, 50, 57, .055);
  overflow: hidden;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__link {
  display: grid;
  grid-template-columns: minmax(0, 33%) minmax(0, 1fr);
  align-items: center;
  gap: 27px;
  min-height: 185px;
  padding: 23px;
  color: var(--ink, #393239);
  text-decoration: none;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__link:hover {
  color: var(--ink, #393239);
  background: rgba(243, 234, 230, .45);
  text-decoration: none;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__link:focus-visible {
  outline: 3px solid var(--plum, #654758);
  outline-offset: -5px;
  border-radius: 5px 28px 5px 5px;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16/9;
  background: #eee6e2;
  border: 1px solid #e7dbd9;
  border-radius: 3px 18px 3px 3px;
  overflow: hidden;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__image--empty {
  background: radial-gradient(circle at 75% 25%, #f9f5f2 0 14%, transparent 14.5%),
    linear-gradient(145deg, #eee3e4, #e8ebe5);
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__image--empty span {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid #b9a8ad;
  border-radius: 50%;
  color: var(--plum, #654758);
  font: italic 30px/1 Georgia, serif;
  letter-spacing: -.08em;
  padding-right: 7px;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__eyebrow {
  color: var(--plum, #654758);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.6;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__eyebrow span { padding-inline: 6px; }
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__title {
  margin-top: 9px;
  color: var(--ink, #393239);
  font-family: var(--serif, serif);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__reason {
  margin-top: 10px;
  color: var(--muted, #756b70);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding-bottom: 4px;
  color: var(--plum, #654758);
  border-bottom: 1px solid #b49ca6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__action span {
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__link:hover .kn-related-card__action span { transform: translateX(3px); }
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__fallback {
  display: block;
  margin-block: 30px;
  padding: 18px 22px;
  color: var(--plum, #654758);
  border: 1px solid var(--line, #e4ddd7);
  border-left: 3px solid var(--plum, #654758);
  background: var(--white, #fffefa);
}
:where(.entry-content,.editor-styles-wrapper) .kn-related-card__fallback span { display: block; margin-top: 5px; color: var(--muted, #756b70); }
.kn-related-card-editor { min-height: 70px; }
.kn-related-card-editor__label { margin: 0 0 10px; color: var(--plum, #654758); font-size: 13px; font-weight: 600; }
.kn-related-card-editor__results { display: grid; gap: 6px; max-height: 220px; overflow: auto; }
.kn-related-card-editor__results .components-button { justify-content: flex-start; text-align: left; height: auto; min-height: 38px; white-space: normal; }
.kn-related-card__warning { padding: 15px; border: 1px solid #d9b7ab; color: #6e392f; background: #fcf1ed; }
@media (max-width: 620px) {
  :where(.entry-content,.editor-styles-wrapper) .kn-related-card__link { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  :where(.entry-content,.editor-styles-wrapper) .kn-related-card__reason { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.entry-content,.editor-styles-wrapper) .kn-related-card__action span { transition: none; }
  :where(.entry-content,.editor-styles-wrapper) .kn-related-card__link:hover .kn-related-card__action span { transform: none; }
}
