:root {
    --tags-heading-color: #086db1;
}

.section__title {
    font-family: "Georgia Local", Times, serif;
    font-size: var(--blog-font-heading);
    font-weight: normal;
    color: var(--tags-heading-color);
    margin: 1.32rem 0 0.86rem;
}

.tags__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    column-gap: 50px;
}

.tags__item {
    margin-bottom: 5px;
}

.tags__link {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 确保文字和数字垂直居中对齐 */
    text-decoration: none;
    color: inherit; /* 主文字颜色 */
    /*padding: 0 16px; !* 增加内边距，撑开点击区域并防止内容溢出边界 *!*/
    border-radius: 5px; /* 适度的圆角让界面更现代 */
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; /* 添加平滑的过渡动画 */
}

/* 交互反馈：Hover 状态 */
.tags__link:hover {
    background-color: rgba(187, 224, 252, 0.6); /* 悬浮时显示微弱背景色 */
    color: #0056b3; /* 可选：悬浮时主标题颜色变化 */
    /*transform: translateX(4px); !* 如果喜欢轻微的动效可以解除注释 *!*/
}

/* 专门为数字设计的 Badge 样式 */
.tags__count {
    font-size: 0.9em;
    font-variant-numeric: tabular-nums;
    color: inherit; /* 降低数字颜色的对比度 */
    /*background-color: #eaeaea; !* 给数字一个弱背景色作为 Badge *!*/
    /*padding: 2px 8px;*/
    /*border-radius: 5px;*/
}
