/* 品牌与 Hero */
.brand-text { font-weight: 700; letter-spacing: .5px; }
.hero-card { border: 0; border-radius: 1rem; }
.hero-card .card-body { padding: 2rem 1.25rem; }
@media (min-width: 576px){
  .hero-card .card-body { padding: 2.5rem 2rem; }
}

/* 咨询 CTA 按钮：移动端满宽，≥576px 自适应；暗红 + 轻微闪动 */
.btn-cta{
  background:#8b0000; border-color:#8b0000; color:#fff;
  font-weight:600; display:inline-block; width:100%;
  animation: subtlePulse 1.6s ease-in-out infinite;
}
.btn-cta:hover{ background:#a11111; border-color:#a11111; color:#fff; }
.btn-cta:focus{ box-shadow:0 0 0 .2rem rgba(139,0,0,.25); outline:0; }
@media (min-width:576px){ .btn-cta{ width:auto; } }
@media (prefers-reduced-motion: reduce){
  .btn-cta{ animation:none; }
}
@keyframes subtlePulse{
  0%,100%{ opacity:.95; text-shadow:0 0 0 rgba(139,0,0,.25); }
  50%{ opacity:1; text-shadow:0 0 6px rgba(139,0,0,.35); }
}

/* 文章模块：列表贴合 AdminLTE */
.article-list .list-group-item{
  display:flex; align-items:center; justify-content:space-between;
  padding:.75rem 1rem;
}
.article-list .title{
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%;
}
.article-list .meta{
  flex-shrink:0; margin-left:.75rem; color:#6b7280; font-size:.8125rem;
}

/* 友情链接：朴素文本样式，利于 SEO */
.friend-link a{
  display:inline-block;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-decoration:underline;
  word-break: break-all;
}
.friend-link a:hover{ text-decoration:none; }

/* 深色模式（跟随系统） */
@media (prefers-color-scheme: dark){
  body{ background:#111827; color:#e5e7eb; }
  .navbar-white{ background:#111827 !important; }
  .content-wrapper{ background:#111827; }
  .card{ background:#1f2937; color:#e5e7eb; border-color:#374151; }
  .list-group-item{ background:#1f2937; color:#e5e7eb; border-color:#374151; }
  .article-list .meta{ color:#9ca3af; }
  .btn-cta{ background:#b31d1d; border-color:#b31d1d; }
  .btn-cta:hover{ background:#c22626; border-color:#c22626; }
}

/* Footer */
.site-footer{ color:#6b7280; font-size:.875rem; }
@media (prefers-color-scheme: dark){
  .site-footer{ color:#9ca3af; }
}
