/* ===========================================
   火星智旅 · 统一 Logo 样式
   全站共用：改这一个文件，全站 logo 同步更新
   =========================================== */

/* 主容器：导航栏 logo */
.hxlg-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.hxlg-nav:hover { opacity: 0.85; }

/* 抽屉 logo */
.hxlg-drawer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* 页脚 logo */
.hxlg-footer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
}

/* SVG图标 */
.hxlg-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--gradient, linear-gradient(135deg, #0891B2 0%, #0E7490 50%, #155E75 100%));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(14, 116, 144, 0.35);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.hxlg-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 60%);
  pointer-events: none;
}
.hxlg-mark--lg {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}
.hxlg-svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}
.hxlg-mark--lg .hxlg-svg {
  width: 34px;
  height: 34px;
}

/* 文字栈 */
.hxlg-stack {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 2px;
}
.hxlg-text {
  font-size: 18px;
  font-weight: 900;
  color: var(--fg, #1A2E35);
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: linear-gradient(135deg, #1A2E35 0%, #0E7490 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hxlg-sub {
  font-size: 10px;
  color: var(--muted, #7A8B94);
  font-weight: 500;
  letter-spacing: 0.4px;
  white-space: nowrap;
  text-transform: uppercase;
}
.hxlg-stack--simple .hxlg-sub { display: none; }

/* 响应式 */
@media (max-width: 640px) {
  .hxlg-mark { width: 36px; height: 36px; border-radius: 10px; }
  .hxlg-mark--lg { width: 42px; height: 42px; }
  .hxlg-svg { width: 24px; height: 24px; }
  .hxlg-mark--lg .hxlg-svg { width: 30px; height: 30px; }
  .hxlg-text { font-size: 16px; }
  .hxlg-sub { display: none; }
}
