.link-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* 固定一行5列 */
    gap: 12px;   /* 方框之间的间距，可按需调整 */
    max-width: 100%;
    padding: 10px 0;}

.link-card {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    height: 30px;           /* 固定高度30px */
    overflow: hidden;}

.link-card:hover {
    background-color: #f5f5f5;
    border-color: #b0b0b0;}

/* 链接占满整个卡片，垂直居中，文字水平居中 */
.link-card__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 0 4px;         /* 左右小内边距，不增加高度 */
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    color: #1e6f9f;
    white-space: nowrap;    /* 文字不换行 */
    overflow: hidden;
    text-overflow: ellipsis; /* 超长显示省略号 */
    box-sizing: border-box;}

.link-card__inner:hover {
    color: #0a4b6e;}
.link-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* 固定一行5列 */
    gap: 12px;   /* 方框之间的间距，可按需调整 */
    max-width: 100%;
    padding: 10px 0;}

.link-card {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    height: 30px;           /* 固定高度30px */
    overflow: hidden;}

.link-card:hover {
    background-color: #f5f5f5;
    border-color: #b0b0b0;}

/* 链接占满整个卡片，垂直居中，文字水平居中 */
.link-card__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 0 4px;         /* 左右小内边距，不增加高度 */
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    color: #1e6f9f;
    white-space: nowrap;    /* 文字不换行 */
    overflow: hidden;
    text-overflow: ellipsis; /* 超长显示省略号 */
    box-sizing: border-box;}

.link-card__inner:hover {
    color: #0a4b6e;}
