html {
  font-family: "Google Sans Text", "Google Sans", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color-scheme: light dark;
  background: light-dark(white, black);
  color: light-dark(black, white);
}

body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bg-primary {
  background-color: #a82a26;
}

.text-primary {
  color: #a82a26;
}

.border-primary {
  border-color: #a82a26;
}

.hover-bg-primary:hover {
  background-color: #a82a26;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInDown {
  animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.animate-fadeOutUp {
  animation: fadeOutUp 0.4s ease-in forwards;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 二级左侧导航按钮基础样式与激活态 */
.secondary-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  font-size: 1rem;
  color: #4b5563;
  background: transparent;
  border: 1px solid #e5e7eb;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.15s ease;
}

.secondary-link:hover {
  background-color: #f3f4f6;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.secondary-link.active {
  background-color: #111827;
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.3);
}

.secondary-link .secondary-arrow {
  font-size: 0.75rem;
  color: #9ca3af;
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

.secondary-link:hover .secondary-arrow {
  transform: translateX(3px);
  color: #4b5563;
  opacity: 0.95;
}

.secondary-link.active .secondary-arrow {
  transform: translateX(5px);
  color: #fbbf24;
  opacity: 1;
}
#online-message-form input,
#online-message-form select,
#online-message-form textarea {
  background-color: #ffffff;
}
.pagination {
  gap: 0.5rem;
}

.page-link {
  color: #a82a26;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-link:hover {
  background: #a82a26;
  color: white;
  border-color: #a82a26;
  transform: translateY(-2px);
}

.page-item.active .page-link {
  background: linear-gradient(135deg, #a82a26, #a82a26);
  color: #ffffff;
  border-color: #a82a26;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}
.justify-content-center {
  justify-content: center;
}
.translateSelectLanguage {
  display: none;
}
/* 自定义左侧栏宽度：lg:w-85 */
@media (min-width: 1024px) {
  .lg\:w-85 {
    width: 21.25rem;
  }
}

/* 统一最小正文字号为 14px（约 1rem） */
.text-xs {
  font-size: 1rem;
}

.text-sm {
  font-size: 1.05rem;
}

.text-\[10px\],
.text-\[11px\] {
  font-size: 1rem;
}
