/* Project-level tweaks loaded after the theme css (see customCSS in config.toml) */

/* --- Tag cloud in the footer jumbotron ------------------------------------
   The theme pins .jumbotron.fortags to height:350px on desktop. Any tag list
   taller than that overflowed the box and overlapped the footer links, so let
   the box grow instead of clipping. */
.jumbotron.fortags {
    overflow: hidden;
}

@media (min-width: 768px) {
    .jumbotron.fortags {
        height: auto;
        min-height: 350px;
    }
}

.jumbotron.fortags a {
    margin-right: 6px;
}

/* Post count badge next to a tag */
.tagcount {
    display: inline-block;
    margin-left: 7px;
    padding: 0 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1.5;
}

/* "All N tags →" link */
.jumbotron.fortags a.alltags {
    background: transparent !important;
    border: 1px solid #fff;
    text-transform: none;
}

/* --- /tags/ terms index --------------------------------------------------- */
.termsintro {
    margin-bottom: 20px;
    color: rgba(0, 0, 0, .54);
}

.termslist {
    margin-bottom: 40px;
    line-height: 2.4;
}

.termslist a {
    padding: 5px 10px 7px;
    margin-right: 6px;
    background: #1C9963;
    border-radius: 30px;
    color: #fff;
    font-weight: 500;
    text-transform: lowercase;
    font-size: 0.8rem;
    display: inline-block;
}

.termslist a:hover {
    text-decoration: none;
    opacity: 0.85;
}
