.TagPage .TagNavigation {
    margin-bottom: 1rem;
}

.TagPage .page-name [hidden] {
    display: none;
}

.TagPage .page-name > a {
    margin-inline-start: .5rem;
    font-size: 1rem;
}

.tag-results-status {
    margin: 0 0 .5rem;
}

.tag-results-status:empty {
    position: absolute;
    margin: 0;
}

.TagPage .TagNavigationCount {
    background: #eef2f6;
    border-radius: 999px;
    color: #475467;
    padding: .0625rem .5rem;
    font-size: .8125rem;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

.TagPage [data-wol-tab-link][aria-current="page"] .TagNavigationCount {
    background: #dfe7ef;
    color: #1d2939;
}

/* Keep the results shell and type navigation at the full available width. */
.TagPage.TagPage--files .FeedContainer .LeftSidePane,
.TagPage.TagPage--articles .FeedContainer .LeftSidePane,
.TagPage.TagPage--groups .FeedContainer .LeftSidePane,
.TagPage.TagPage--videos .FeedContainer .LeftSidePane,
.TagPage.TagPage--events .FeedContainer .LeftSidePane,
.TagPage.TagPage--landing .FeedContainer .LeftSidePane,
.TagPage.TagPage--profiles .FeedContainer .LeftSidePane,
.TagPage.TagPage--posts .FeedContainer .LeftSidePane {
    max-width: none;
    width: 100%;
}

.TagPage .tag-landing {
    box-sizing: border-box;
    max-width: 40rem;
    margin: clamp(2rem, 6vw, 5rem) auto 2rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid #dfe7ef;
    border-radius: .75rem;
    background: #fff;
    text-align: center;
}

.TagPage .tag-landing-icon {
    display: inline-grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border-radius: .875rem;
    background: #edf4fa;
    color: var(--wol-link-color, #176196);
    font-size: 1.375rem;
}

.TagPage .tag-landing h1 {
    margin: 1rem 0 .5rem;
    color: #1d2939;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 650;
    line-height: 1.25;
}

.TagPage .tag-landing p {
    margin: 0 0 1.25rem;
    color: #475467;
    font-size: 1rem;
    line-height: 1.5;
}

.TagPage .tag-article-results {
    margin: 0;
}

.TagPage--posts #MessageFlow {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
}

.TagPage .TagGroupResults ul.FullGroupList {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.TagPage .TagGroupResults ul.FullGroupList > .group-list-row {
    width: 100%;
    min-width: 0;
}

.TagPage .TagGroupPager {
    padding: 1rem 0;
    text-align: center;
    font-size: 1rem;
}

.TagPage .TagVideoResults .content-detail.meta .font-small {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.TagPage .TagGroupPager [hidden] {
    display: none;
}

.TagPage .TagGroupResults .FullGroupList .Name,
.TagPage .TagGroupResults .GroupListContainer.thumbnails .FullGroupList .GroupClickArea .Description {
    font-size: 1rem;
}

@media (max-width: 1100px) {
    .TagPage .TagGroupResults ul.FullGroupList {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .TagPage .TagGroupResults ul.FullGroupList {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .TagPage .TagNavigation {
        column-gap: 1rem;
    }

    .TagPage .TagGroupResults ul.FullGroupList {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .tag-file-results .latest-files-grid {
        grid-template-columns: minmax(0, 3fr) 7rem minmax(0, 1.5fr) 4.5rem;
    }
}
