/* Article reading surface and contextual recommendations. */

.breadcrumbs {
  padding: .65rem .8rem;
  display: flex;
  gap: .25rem;
  color: var(--muted);
  font-size: .55rem;
}

.breadcrumbs>span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumbs a {
  flex-shrink: 0;
}

.article,.article-topics,.article-recommendations {
  margin: 0 .8rem .7rem;
  padding: .85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-header h1 {
  font-size: 1.1rem;
  line-height: 1.55;
  letter-spacing: .02rem;
  overflow-wrap: anywhere;
}

.article-meta {
  display: flex;
  gap: .65rem;
  font-size: .55rem;
  color: var(--muted);
  margin: .6rem 0 .8rem;
}

.article-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: .8rem;
}

.rich-content {
  font-size: .78rem;
  color: #425168;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.rich-content p {
  margin: .65rem 0;
}

.rich-content h2,.rich-content h3 {
  font-size: .95rem;
  color: var(--ink);
  margin: 1.1rem 0 .55rem;
}

.rich-content img,.rich-content video,.rich-content iframe {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: .8rem auto;
  border-radius: .35rem;
}

.rich-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.rich-content a {
  color: var(--brand);
}

.rich-content ul,.rich-content ol {
  list-style: revert;
  padding-left: 1rem;
}

.article-app {
  padding: .65rem;
  margin-bottom: .8rem;
  border-radius: .4rem;
  background: var(--brand-soft);
  border: 1px solid #def1fb;
}

.article-app-top {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.article-app-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: .6rem;
}

.article-app-info {
  min-width: 0;
  flex: 1;
}

.article-app-name p {
  font-size: .7rem;
  font-weight: 600;
}

.article-app-name em {
  font-size: .55rem;
  color: var(--muted);
}

.article-app-meta {
  font-size: .5rem;
  color: var(--muted);
  margin-top: .3rem;
}

.article-app-download {
  padding: .2rem .5rem;
  border-radius: .25rem;
  background: var(--brand);
  color: #fff;
  font-size: .6rem;
}

.article-app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .55rem;
  font-size: .5rem;
  color: #6f95aa;
}

.article-topics nav,.news-list>nav,.article-related>nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .6rem;
}

.article-topics nav a,.section-more {
  font-size: .55rem;
  font-weight: 400;
  color: var(--muted);
}

.article-topic-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .6rem;
}

.article-topic-grid img {
  width: 100%;
  aspect-ratio: 1.8;
  border-radius: .35rem;
}

.article-topic-grid span {
  display: block;
  font-size: .6rem;
  margin-top: .3rem;
}

.related-app-list li {
  display: flex;
  gap: .65rem;
  align-items: center;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}

.related-app-list img {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: .6rem;
}

.related-app-list .app-card-info {
  min-width: 0;
  flex: 1;
  order: 1;
}

.related-app-list .app-card-info>a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-app-list .app-size {
  color: var(--muted);
  font-size: .55rem;
  margin-top: .2rem;
}

.related-app-list .button {
  order: 2;
  padding-inline: .6rem;
}
