.tags-index {
    max-width: 760px;
    margin: 0 auto 40px;
    padding: 0 16px;
}
.tags-index__head {
    margin-bottom: 24px;
}
.tags-index__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
}
.tags-index__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(0, 186, 186, 0.12);
    color: #00baba;
    font-size: 12px;
    font-weight: 600;
}
.tags-index__search {
    position: relative;
    max-width: 420px;
}
.tags-index__search_icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: .5;
}
.tags-index__search .form-control {
    padding-right: 38px;
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface-2, #f4f4f6);
    border: 1px solid var(--border, #e5e7eb);
    font-size: 13px;
    color: var(--text, #1f2937);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tag-cloud-item:hover {
    background: #00baba;
    color: #fff;
    border-color: #00baba;
}
.tag-cloud-item__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-inline-start: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.tag-cloud-item:hover .tag-cloud-item__count {
    background: rgba(255, 255, 255, .25);
}
