/* Стили для облака тегов */
.tag-cloud {
    text-align: center;
    line-height: 2;
    padding: 20px;
}

.tag-cloud-item {
    display: inline-block;
    margin: 2px 4px;
    padding: 4px 8px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s ease;
}

.tag-cloud-item:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

/* Стили только для badge популярных тегов */
.content-tags .tag .badge,
a.tag[rel="tag"] .badge,
.tag-cloud-item .badge {
    font-size: 0.75rem !important;
    margin-left: 4px !important;
    background: transparent !important;
    color: #ff6b6b !important;
    font-weight: bold !important;
    border: none !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.content-tags .tag .badge::before,
a.tag[rel="tag"] .badge::before,
.tag-cloud-item .badge::before {
    content: "🔥" !important;
    font-size: 1rem !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Стили для контейнера тегов */
.content-tags {
    margin-bottom: 1rem;
}

.tags-container {
    margin-bottom: 2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .tag-cloud {
        padding: 10px;
    }

    .tag-cloud-item {
        font-size: 0.875rem;
        margin: 1px 2px;
        padding: 2px 6px;
    }
}
