/* 布局文件专用样式 */

/* 夜间模式切换按钮样式 */
.theme-toggle-menu {
    cursor: pointer;
    transition: color 0.3s ease;
}
.theme-toggle-menu:hover {
    color: var(--accent-color, #1a73e8) !important;
    text-decoration: none;
}
.theme-toggle-menu .fa {
    margin-right: 5px;
}

/* ===== 一体化页脚：配色使用你的 CSS 变量，不改字号等级 ===== */
.site-footer{
  background: var(--surface-color, #fff);
  border-top: 1px solid var(--border-color, #e6e8eb);
}

/* 导航区（上层） */
.footer-nav{
  padding: 40px 0 28px;
}
.footer-nav .group-title{
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--text-primary, #2b2f36);
  font-size: 14px;          /* 与站内层级一致，不放大 */
}
.footer-nav .col-title{
  margin: 12px 0 10px;
  font-weight: 600;
  color: var(--text-primary, #2b2f36);
  font-size: 13px;
}
.footer-nav .link-list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav .link-list li{ margin: 0 0 6px; }
.footer-nav .link-list a{
  color: var(--text-secondary, #7a828f);
  font-size: 13px;          /* 不改变全站字体等级 */
  text-decoration: none;
  line-height: 1.8;
}
.footer-nav .link-list a:hover{
  color: var(--accent-color, #1a73e8);
  text-decoration: underline; /* 仅 hover 才出现下划线 */
}

/* 分隔线 */
.footer-divider{
  border-top: 1px solid var(--border-color, #e6e8eb);
  margin: 26px 0;
}

/* 友情链接（中层） */
.footer-friends{
  padding: 6px 0 2px;
}
.footer-friends .friends-title{
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--text-primary, #2b2f36);
  font-size: 13px;
}
.footer-friends .friends-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.footer-friends .friends-list li{ margin: 0; }
.footer-friends .friends-list a{
  color: var(--text-secondary, #7a828f);
  font-size: 13px;
  text-decoration: none;
}
.footer-friends .friends-list a:hover{
  color: var(--accent-color, #1a73e8);
  text-decoration: underline;
}

/* 底部版权（底层） */
.footer-bottom{
  padding: 14px 0 22px;
  color: var(--text-secondary, #7a828f);
  font-size: 12px;   /* 版权区常规小字 */
}
.footer-bottom a{
  color: var(--text-secondary, #7a828f);
  text-decoration: none;
}
.footer-bottom a:hover{
  color: var(--accent-color, #1a73e8);
  text-decoration: underline;
}
.footer-bottom .sep{
  margin: 0 6px;
  color: var(--text-secondary, #7a828f);
}

/* 暗色主题跟随你的变量 */
.dark-theme .site-footer{
  background: var(--surface-color, #16181d);
  border-color: var(--border-color, #2b3138);
}
