/* Taxonomy pages: tag cloud and term list */

.taxonomy-header {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.taxonomy-meta {
    color: #999;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.taxonomy-description {
    color: #555;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Tag cloud on /tags/ */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.tag-cloud-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    color: #555;
    font-size: 0.875rem;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background-color 0.15s;
    background-color: #fafafa;
}

.tag-cloud-item:hover {
    border-color: #333;
    color: #111;
    background-color: #f0f0f0;
    text-decoration: none;
}

.tag-cloud-count {
    display: inline-block;
    background-color: #e0e0e0;
    color: #555;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.05rem 0.4rem;
    border-radius: 2px;
    min-width: 1.4rem;
    text-align: center;
    line-height: 1.4;
}

.tag-cloud-item:hover .tag-cloud-count {
    background-color: #333;
    color: #fff;
}
