/* Shared article furniture. These components are generated by build_site.py,
   so their layout must not be copied into per-article style variants. */

.article-trust {
  margin: 36px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
}

.article-trust-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 20px;
}

.article-trust-item + .article-trust-item {
  border-top: 1px solid var(--line);
}

/* The advice boundary, outside the citation card. It used to be a second row
   inside it, which read as a finding of equal standing to this article's
   sources. It is a standing footer, so it is set as one: plain paragraph, bold
   lead-in, and reset in case an article variant styled .learn-disclaimer as a
   box of its own. */
article > .learn-disclaimer,
.learn-disclaimer {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.learn-disclaimer strong {
  color: var(--text);
  font-weight: 650;
}

.article-trust-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.article-trust h2 {
  margin: 1px 0 6px;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.article-trust p,
.article-trust .source-line,
.article-trust .learn-disclaimer {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.article-trust a {
  font-weight: 600;
}

.generated-related {
  margin: 36px 0 0;
}

.generated-related h2 {
  margin: 0 0 10px;
}

.generated-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.generated-related li {
  margin: 7px 0;
}

.generated-related a {
  color: var(--blue);
  font-size: 0.95rem;
}

@media (max-width: 560px) {
  .article-trust {
    margin-top: 30px;
  }

  .article-trust-item {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 16px;
  }

  .article-trust-icon {
    width: 26px;
    height: 26px;
  }
}
