.link-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 320px));
    justify-content: center;
    gap: 1rem;
    max-width: 100%;
}

.card {
    width: 100%;
    max-width: 320px;
    height: 90px;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 25px;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    display: flex;
    align-items: center;
    color: #333;
    justify-self: center;
    font-family: "Microsoft YaHei Light", "Microsoft YaHei UI Light", "Microsoft YaHei", sans-serif;
    font-weight: 300;
}

.card:hover {
    transform: scale(1.05);
    background-color: rgba(68, 138, 255, 0.1);
    color: #040000;
}

.card a {
    border: none;
}

.card .ava {
    width: 3rem !important;
    height: 3rem !important;
    margin: 0 1em 0 0 !important;
    border-radius: 50%;
}

.card .card-header {
    overflow: hidden;
    width: auto;
}

.card .card-header a {
    color: #608DBD;
    font-weight: 300;
    text-decoration: none;
}

.card .card-header a:hover {
    color: #d480aa;
    text-decoration: none;
}

.card .card-header .info {
    color: #706f6f;
    font-size: 14px;
    font-weight: 300;
    min-width: 0;
    white-space: normal;
}


@media (max-width: 768px) {
    .link-navigation {
        grid-template-columns: 1fr;
    }

    .card {
        max-width: 100%;
        height: auto;
        min-height: 80px;
    }
}


/* Waline 留言板整体 */
#waline {
  --waline-font-size: 0.82rem;
  --waline-theme-color: #608dbd;
  --waline-active-color: #d480aa;
  --waline-border-color: rgba(120, 145, 160, 0.35);
  --waline-bg-color: transparent;
  --waline-bg-color-light: rgba(255, 255, 255, 0.04);
  --waline-color: var(--md-default-fg-color);
  --waline-light-grey: var(--md-default-fg-color--light);
  --waline-dark-grey: var(--md-default-fg-color--light);
  font-family: "Microsoft YaHei Light", "Microsoft YaHei UI Light", "Microsoft YaHei", sans-serif;
  font-weight: 300;
}

/* 输入框外框 */
#waline .wl-panel {
  border: 1px solid rgba(120, 145, 160, 0.45);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

/* 昵称、邮箱、网址输入栏 */
#waline .wl-header input {
  font-family: inherit;
  font-weight: 300;
  color: var(--md-default-fg-color);
}

/* 评论输入框 */
#waline .wl-editor {
  min-height: 10rem;
  font-family: inherit;
  font-weight: 300;
  color: var(--md-default-fg-color);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 10px;
}

/* 提交按钮 */
#waline .wl-btn.primary {
  background: #608dbd;
  border-color: #608dbd;
  color: #fff;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 400;
}

#waline .wl-btn.primary:hover {
  background: #d480aa;
  border-color: #d480aa;
}

/* 评论标题、排序 */
#waline .wl-count,
#waline .wl-sort li {
  font-family: inherit;
  font-weight: 300;
}

/* 暗色模式微调 */
[data-md-color-scheme="slate"] #waline {
  --waline-theme-color: #8bb7e0;
  --waline-active-color: #e1a0c0;
  --waline-border-color: rgba(190, 205, 215, 0.35);
  --waline-bg-color-light: rgba(255, 255, 255, 0.045);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.photo-card {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.photo-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.photo-card span {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--md-default-fg-color--light);
  font-size: 0.78rem;
}

