/**
 * 高新技术风格主题 - 统一 index / about / mood 三页 UI
 * 深色底 + 科技蓝/青强调色
 */
.theme-hitech {
  --ht-bg: #0d1117;
  --ht-bg-card: #161b22;
  --ht-bg-card-hover: #1c2128;
  --ht-border: #30363d;
  --ht-accent: #58a6ff;
  --ht-accent-cyan: #00d4aa;
  --ht-text: #c9d1d9;
  --ht-text-muted: #8b949e;
  --ht-radius: 6px;
  --ht-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  --ht-glow: 0 0 12px rgba(88, 166, 255, 0.25);
}

/* ---------- 全局 ---------- */
.theme-hitech {
  background: var(--ht-bg);
  background-image: linear-gradient(160deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
  color: var(--ht-text);
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft Yahei", sans-serif;
}

.theme-hitech a {
  color: var(--ht-accent);
  transition: color 0.2s ease;
}

.theme-hitech a:hover {
  color: var(--ht-accent-cyan);
}

/* ---------- Header / 导航 ---------- */
.theme-hitech .navbar.navbar-fixed-top {
  background: rgba(13, 17, 23, 0.92);
  border-bottom: 1px solid var(--ht-border);
  box-shadow: var(--ht-glow);
  backdrop-filter: blur(8px);
}

.theme-hitech .nav > ul > li > a {
  color: var(--ht-text-muted);
  text-shadow: none;
  letter-spacing: 3px;
}

.theme-hitech .nav > ul > li > a::before {
  color: var(--ht-accent);
}

.theme-hitech .nav ul li.active a,
.theme-hitech .nav > ul > li > a:hover::before,
.theme-hitech .nav > ul > li > a:focus::before {
  color: var(--ht-accent);
}

.theme-hitech .navbar-logo .logo,
.theme-hitech .navbar-logo-m {
  filter: brightness(1.1);
  color: var(--ht-text);
}

.theme-hitech .userInfo i {
  color: var(--ht-text-muted);
}

/* ---------- Footer ---------- */
.theme-hitech .footer {
  border-top: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  color: var(--ht-text-muted);
  padding: 20px 0;
}

.theme-hitech .footer a,
.theme-hitech .footer a:hover {
  color: var(--ht-accent);
}

.theme-hitech .footer p {
  color: var(--ht-text-muted);
}

.theme-hitech #foot p {
  color: var(--ht-text-muted);
}

/* ---------- 面包屑 ---------- */
.theme-hitech .breadcrumb {
  border-bottom: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  color: var(--ht-text-muted);
  line-height: 39px;
  height: 39px;
}

.theme-hitech .breadcrumb .c-primary,
.theme-hitech .breadcrumb a {
  color: var(--ht-accent);
}

.theme-hitech .breadcrumb .c-primary:hover,
.theme-hitech .breadcrumb a:hover {
  color: var(--ht-accent-cyan);
}

.theme-hitech .breadcrumb .c-gray {
  color: var(--ht-text-muted);
}

.theme-hitech .breadcrumb .Hui-iconfont {
  color: var(--ht-text-muted);
}

/* ---------- 卡片 / 面板 ---------- */
.theme-hitech .bg-fff,
.theme-hitech .panel,
.theme-hitech .panel-default,
.theme-hitech .panel-body {
  background: var(--ht-bg-card) !important;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
  box-shadow: var(--ht-shadow);
}

.theme-hitech .tab-category a {
  border-bottom-color: var(--ht-border);
}

.theme-hitech .tab-category strong {
  color: var(--ht-text);
  background: transparent;
  border-left: 3px solid var(--ht-accent);
  padding-left: 12px;
  margin: -1px 0 5px 0;
}

.theme-hitech .tab-category-item {
  border-top: 1px solid var(--ht-border);
  color: var(--ht-text-muted);
}

/* ---------- 首页：轮播 ---------- */
.theme-hitech .slider_main,
.theme-hitech .slider {
  border-radius: var(--ht-radius);
  overflow: hidden;
  border: 1px solid var(--ht-border);
  box-shadow: var(--ht-shadow);
}

.theme-hitech .slider .bd img {
  opacity: 0.95;
}

.theme-hitech .slider-arrow {
  opacity: 0.8;
}

.theme-hitech .slider .hd.dots li {
  color: var(--ht-text-muted);
}

.theme-hitech .slider .hd.dots li.active {
  color: var(--ht-accent);
}

/* ---------- 首页：文章列表 ---------- */
.theme-hitech .index_arc li {
  background: var(--ht-bg-card);
  border: 1px solid var(--ht-border);
  box-shadow: var(--ht-shadow);
  color: var(--ht-text);
}

.theme-hitech .index_arc li:hover {
  border-color: var(--ht-accent);
  box-shadow: var(--ht-glow);
}

.theme-hitech .index_arc li .title a {
  color: var(--ht-text);
}

.theme-hitech .index_arc li .title a:hover {
  color: var(--ht-accent);
}

.theme-hitech .index_arc li .date_hits,
.theme-hitech .index_arc li .date_hits span {
  color: var(--ht-text-muted);
}

.theme-hitech .index_arc li .date_hits span a {
  color: var(--ht-accent);
}

.theme-hitech .index_arc li .date_hits span a:hover {
  color: var(--ht-accent-cyan);
}

.theme-hitech .index_arc li .desc {
  color: var(--ht-text-muted);
}

/* ---------- 首页：侧栏 ---------- */
.theme-hitech .slideTxtBox li a {
  color: var(--ht-text-muted);
}

.theme-hitech .slideTxtBox li a:hover {
  color: var(--ht-accent);
}

.theme-hitech .index_recd li,
.theme-hitech .index_recd li.index_recd_item {
  color: var(--ht-text-muted);
}

.theme-hitech .index_recd li a {
  color: var(--ht-accent);
}

.theme-hitech .index_recd li a:hover {
  color: var(--ht-accent-cyan);
}

.theme-hitech .index_recd li .Hui-iconfont {
  color: var(--ht-accent);
}

.theme-hitech .tab-category-item .img-responsive {
  border-radius: var(--ht-radius);
  border: 1px solid var(--ht-border);
}

/* ---------- 首页：加载更多按钮 ---------- */
.theme-hitech .btn.radius.btn-block {
  background: var(--ht-bg-card);
  border: 1px solid var(--ht-border);
  color: var(--ht-text);
}

.theme-hitech .btn.radius.btn-block:hover {
  border-color: var(--ht-accent);
  color: var(--ht-accent);
}

.theme-hitech #endBlog .btn,
.theme-hitech #endBlog p {
  color: var(--ht-text-muted);
}

/* ---------- 关于页 ---------- */
.theme-hitech .about h2 {
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft Yahei", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ht-accent);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ht-border);
  padding-bottom: 8px;
}

.theme-hitech .about p,
.theme-hitech .about ul {
  color: var(--ht-text-muted);
  line-height: 1.8;
}

.theme-hitech .about ul {
  width: 90%;
}

.theme-hitech .about .Hui-iconfont {
  color: var(--ht-accent);
  margin-right: 6px;
}

.theme-hitech .about a {
  color: var(--ht-accent);
}

.theme-hitech .about a:hover {
  color: var(--ht-accent-cyan);
}

/* ---------- 碎言碎语：时间线 ---------- */
.theme-hitech .timeline::before {
  background: var(--ht-border);
  box-shadow: 0 0 8px rgba(88, 166, 255, 0.2);
}

.theme-hitech .cd-timeline-img {
  box-shadow: 0 0 0 4px var(--ht-bg-card), 0 0 12px rgba(88, 166, 255, 0.3);
}

.theme-hitech .cd-timeline-img.cd-picture {
  background: var(--ht-accent);
}

.theme-hitech .cd-timeline-content {
  background: var(--ht-bg-card);
  border: 1px solid var(--ht-border);
  box-shadow: var(--ht-shadow);
  color: var(--ht-text);
}

.theme-hitech .cd-timeline-content:hover {
  border-color: var(--ht-accent);
  box-shadow: var(--ht-glow);
}

.theme-hitech .cd-timeline-content::before {
  border-right-color: var(--ht-bg-card);
}

.theme-hitech .cd-timeline-content h4 {
  color: var(--ht-text);
}

.theme-hitech .cd-timeline-content p {
  color: var(--ht-text-muted);
}

.theme-hitech .cd-timeline-content .cd-date {
  color: var(--ht-text-muted);
  opacity: 0.9;
}

.theme-hitech .cd-timeline-content .btn.btn-success {
  background: var(--ht-accent);
  border-color: var(--ht-accent);
  color: #fff;
}

.theme-hitech .cd-timeline-content .btn.btn-success:hover {
  background: var(--ht-accent-cyan);
  border-color: var(--ht-accent-cyan);
}

@media only screen and (min-width: 1170px) {
  .theme-hitech .cd-timeline-content::before {
    border-left-color: var(--ht-bg-card);
  }

  .theme-hitech .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    border-right-color: var(--ht-bg-card);
  }
}

/* ---------- 按钮 / 链接通用 ---------- */
.theme-hitech .btn-primary,
.theme-hitech .btn-primary.radius {
  background: var(--ht-accent);
  border-color: var(--ht-accent);
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.theme-hitech .btn-primary:hover,
.theme-hitech .btn-primary.radius:hover {
  background: var(--ht-accent-cyan);
  border-color: var(--ht-accent-cyan);
  color: #fff;
}

.theme-hitech .c-primary {
  color: var(--ht-accent) !important;
}

.theme-hitech .c-gray {
  color: var(--ht-text-muted);
}

/* ---------- 站点声明 panel ---------- */
.theme-hitech .panel-default .panel-body {
  color: var(--ht-text-muted);
}

.theme-hitech .panel-body .Hui-iconfont {
  color: var(--ht-accent);
}

/* ---------- 响应式微调 ---------- */
@media screen and (max-width: 640px) {
  .theme-hitech .nav > ul > li > a {
    letter-spacing: 2px;
  }
}
