.content-topic-tags {
    box-sizing: border-box;
    margin: 0;
    padding: 24px 0 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.content-topic-tags .topic-tag-heading,
#intro .content-topic-tags .topic-tag-heading {
    margin: 0;
    padding: 0;
    border: 0;
    color: #172d49;
    font: 600 14px/20px -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.content-topic-tags .topic-tag-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 8px;
    margin-top: 4px;
}
.content-topic-tags a.topic-tag-chip,
.content-topic-tags a.topic-tag-chip:visited {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #2864dc;
    font: 400 14px/20px -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.content-topic-tags .topic-tag-chip span {
    display: block;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid #d9e5fa;
    border-radius: 5px;
    background: #f3f7ff;
    overflow-wrap: anywhere;
}
.content-topic-tags .topic-tag-chip b {font: inherit; margin-right: 3px}
@media (max-width: 560px) {
    .content-topic-tags .topic-tag-links { flex-wrap: nowrap; }
    .content-topic-tags a.topic-tag-chip { min-width: 0; }
}
@media (hover: hover) {
    .content-topic-tags a.topic-tag-chip:hover {color: #2156bd; text-decoration: none}
    .content-topic-tags .topic-tag-chip:hover span {background: #e9f1ff; border-color: #b8cdf2}
}
.content-topic-tags a.topic-tag-chip:is(:active,:focus-visible) {color: #2156bd; text-decoration: none}
.content-topic-tags .topic-tag-chip:is(:active,:focus-visible) span {background: #e9f1ff; border-color: #b8cdf2}
.content-topic-tags a.topic-tag-chip:focus-visible {outline: 0}
.content-topic-tags .topic-tag-chip:focus-visible span {outline: 2px solid #2156bd; outline-offset: 2px}

/* The tag group owns the space after the final paragraph when there are tags. */
.tutorial-reader .tutorial-content.before-topic-tags,
#intro.has-content-topics .tutorial-content {padding-bottom: 0}
.rich-content.before-topic-tags > :last-child,
#intro.has-content-topics .tutorial-content > :last-child,
#intro.course-intro.has-content-topics > :nth-last-child(2) {margin-bottom: 0}
.course-content.showing-intro-topics,
.course-content.showing-intro-topics > .course-section.active {margin-bottom: 0}
