/* ============================================================
   BNB1000 Knowledge Base — Stylesheet
   ============================================================ */


/* ==========================================================
   1. CSS RESET & BASE
   ========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}


/* ==========================================================
   2. CUSTOM PROPERTIES & THEMES
   ========================================================== */

html[data-theme="dark"] {
  --bg-primary: #0B0E11;
  --bg-secondary: #1E2329;
  --bg-tertiary: #2B3139;
  --text-primary: #EAECEF;
  --text-secondary: #848E9C;
  --text-tertiary: #5E6673;
  --accent: #F0B90B;
  --accent-hover: #F8D12F;
  --accent-soft: rgba(240, 185, 11, 0.1);
  --border: rgba(255, 255, 255, 0.06);
  --glass-bg: rgba(30, 35, 41, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --overlay: rgba(0, 0, 0, 0.7);
  --sidebar-bg: #14171C;
}

html[data-theme="light"] {
  --bg-primary: #FAFAFA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F5F5F5;
  --text-primary: #1E2329;
  --text-secondary: #474D57;
  --text-tertiary: #848E9C;
  --accent: #C99400;
  --accent-hover: #E8AB00;
  --accent-soft: rgba(240, 185, 11, 0.08);
  --border: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --overlay: rgba(0, 0, 0, 0.4);
  --sidebar-bg: #FFFFFF;
}

html[data-theme="dark"],
html[data-theme="light"] {
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --header-height: 56px;
  --sidebar-width: 260px;
  --max-width: 1280px;
}


/* ==========================================================
   3. THEME TRANSITION
   ========================================================== */

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 400ms ease,
              color 400ms ease,
              border-color 400ms ease,
              box-shadow 400ms ease !important;
}


/* ==========================================================
   4. HEADER
   ========================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.logo-text-dim {
  color: var(--text-secondary);
}

/* --- Nav Buttons --- */
.nav-btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  transition: background-color var(--transition), color var(--transition);
}

.nav-btn-icon:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* --- Theme Toggle Icons --- */
html[data-theme="dark"] .theme-icon-dark { display: block; }
html[data-theme="dark"] .theme-icon-light { display: none; }
html[data-theme="light"] .theme-icon-dark { display: none; }
html[data-theme="light"] .theme-icon-light { display: block; }

/* --- Language Toggle --- */
.lang-toggle {
  display: flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition);
}

.lang-toggle:hover {
  background: var(--accent-soft);
}

/* --- Sidebar Toggle --- */
.sidebar-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: background-color var(--transition), color var(--transition);
}

.sidebar-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}


/* ==========================================================
   5. APP LAYOUT
   ========================================================== */

.app-layout {
  display: flex;
  min-height: calc(100vh - var(--header-height));
}

.main-content {
  flex: 1;
  min-width: 0;
}


/* ==========================================================
   6. SIDEBAR
   ========================================================== */

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 50;
}

.sidebar-nav {
  padding: 12px 0 24px;
}

/* --- Home Link --- */
.sidebar-home-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  margin: 0 8px 4px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition), background-color var(--transition);
}

.sidebar-home-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar-home-link:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.sidebar-home-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}

/* --- Section --- */
.sidebar-section {
  margin-top: 8px;
}

.sidebar-section-title {
  padding: 12px 20px 6px;
  font-size: 0.675rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

/* --- Link --- */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin: 1px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.835rem;
  cursor: pointer;
  transition: color var(--transition), background-color var(--transition);
  line-height: 1.4;
}

.sidebar-link:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.sidebar-link.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 500;
}

.sidebar-link-icon {
  font-size: 1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}

/* --- Sidebar Overlay (mobile) --- */
.sidebar-overlay {
  display: none;
}


/* ==========================================================
   7. HERO SECTION
   ========================================================== */

.hero {
  padding: 56px 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

html[data-theme="dark"] .hero-title {
  background: linear-gradient(135deg, var(--accent) 0%, #EAECEF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .hero-title {
  background: linear-gradient(135deg, var(--accent) 0%, #1E2329 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

/* --- Hero Search --- */
.hero-search {
  max-width: 460px;
  margin: 24px auto 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  width: 100%;
}

.hero-search:hover {
  border-color: var(--accent);
}

.hero-search svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-tertiary);
}

.hero-search span {
  flex: 1;
  text-align: left;
}

.hero-search kbd {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-family: inherit;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* --- Orbs --- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.06;
  filter: blur(60px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 250px;
  height: 250px;
  top: -80px;
  right: -30px;
  animation: float 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: -20px;
  animation: float 15s ease-in-out infinite;
  animation-delay: -5s;
}


/* ==========================================================
   8. TOPIC GRID
   ========================================================== */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 0 24px 60px;
  max-width: 1100px;
}


/* ==========================================================
   9. TOPIC CARDS
   ========================================================== */

.topic-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  animation: cardEntrance 0.5s ease forwards;
  opacity: 0;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent-soft);
}

.topic-card { animation-delay: calc(var(--card-index, 0) * 0.06s); }
.topic-card:nth-child(1)  { animation-delay: 0s; }
.topic-card:nth-child(2)  { animation-delay: 0.05s; }
.topic-card:nth-child(3)  { animation-delay: 0.10s; }
.topic-card:nth-child(4)  { animation-delay: 0.15s; }
.topic-card:nth-child(5)  { animation-delay: 0.20s; }
.topic-card:nth-child(6)  { animation-delay: 0.25s; }
.topic-card:nth-child(7)  { animation-delay: 0.30s; }
.topic-card:nth-child(8)  { animation-delay: 0.35s; }
.topic-card:nth-child(9)  { animation-delay: 0.40s; }
.topic-card:nth-child(10) { animation-delay: 0.45s; }

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 10px;
  line-height: 1;
}

.card-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.card-summary {
  font-size: 0.835rem;
  color: var(--text-secondary);
  line-height: 1.5;
}


/* ==========================================================
   10. BREADCRUMB
   ========================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.835rem;
  color: var(--text-tertiary);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.breadcrumb-link {
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition);
}

.breadcrumb-link:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--text-tertiary);
  user-select: none;
}

.breadcrumb-cat {
  color: var(--text-secondary);
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 500;
}


/* ==========================================================
   11. ARTICLE VIEW
   ========================================================== */

#article-view {
  max-width: 800px;
  padding: 28px 32px;
}

.article-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  line-height: 1;
}

#article-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.3;
  color: var(--text-primary);
}

.article-body {
  max-width: 720px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.article-body h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  color: var(--text-primary);
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.article-body p {
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.article-body ul,
.article-body ol {
  margin: 0 0 14px 24px;
  list-style: revert;
}

.article-body ul { list-style-type: disc; }
.article-body ol { list-style-type: decimal; }

.article-body li {
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-body code {
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 14px 0;
  color: var(--text-secondary);
  font-style: italic;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition);
}

.article-body a:hover {
  text-decoration-color: var(--accent);
}


/* ==========================================================
   12. ARTICLE NAVIGATION
   ========================================================== */

.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  gap: 12px;
}

.article-nav .nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: border-color var(--transition), background-color var(--transition);
  max-width: 48%;
}

.article-nav .nav-btn:hover {
  border-color: var(--accent);
  background: var(--bg-tertiary);
}

.article-nav .nav-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.article-nav .nav-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-nav .nav-btn.prev { text-align: left; }
.article-nav .nav-btn.next { text-align: right; margin-left: auto; }
.article-nav .nav-btn[hidden] { visibility: hidden; }


/* ==========================================================
   13. SEARCH OVERLAY
   ========================================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  background: var(--overlay);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.search-overlay[hidden] {
  display: none;
}

.glass {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.search-panel {
  width: 100%;
  max-width: 540px;
  margin: 0 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.search-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  gap: 8px;
}

.search-header-icon {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

#search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 4px;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
}

#search-input::placeholder {
  color: var(--text-tertiary);
}

.search-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
  flex-shrink: 0;
}

.search-close:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

/* --- Results --- */
.search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 8px;
}

.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition);
}

.search-result-item:hover {
  background: var(--bg-tertiary);
}

.search-result-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 26px;
  text-align: center;
  padding-top: 2px;
}

.search-result-content {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.search-result-snippet {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.search-result-item mark {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 2px;
  padding: 0 2px;
}

.search-empty,
.search-hint {
  text-align: center;
  padding: 28px;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}


/* ==========================================================
   14. FOOTER
   ========================================================== */

.footer {
  padding: 32px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.78rem;
}

.footer .container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer p + p {
  margin-top: 4px;
}


/* ==========================================================
   15. UTILITIES
   ========================================================== */

[hidden] {
  display: none !important;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* ==========================================================
   16. KEYFRAME ANIMATIONS
   ========================================================== */

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}


/* ==========================================================
   17. SCROLLBAR
   ========================================================== */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-tertiary) transparent;
}


/* ==========================================================
   18. RESPONSIVE — TABLET & MOBILE (768px and below)
   ========================================================== */

@media (max-width: 768px) {
  /* Show sidebar toggle */
  .sidebar-toggle {
    display: flex;
  }

  /* Sidebar as overlay */
  .sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 150;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--header-height);
    z-index: 149;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .sidebar-overlay.visible {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .hero {
    padding: 40px 20px 24px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-search {
    max-width: 400px;
  }

  /* Grid */
  .topic-grid {
    padding: 0 16px 40px;
    gap: 12px;
  }

  /* Article */
  #article-view {
    padding: 20px 16px;
  }

  #article-title {
    margin-bottom: 20px;
  }

  .article-nav {
    flex-direction: column;
  }

  .article-nav .nav-btn {
    max-width: 100%;
  }

  .article-nav .nav-btn.next {
    margin-left: 0;
  }

  /* Search */
  .search-overlay {
    padding-top: 10vh;
  }

  .search-panel {
    margin: 0 12px;
  }
}


/* ==========================================================
   19. RESPONSIVE — SMALL MOBILE (480px and below)
   ========================================================== */

@media (max-width: 480px) {
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 12px 32px;
  }

  .topic-card {
    padding: 16px;
  }

  .card-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-summary {
    font-size: 0.8rem;
  }

  .hero {
    padding: 32px 16px 20px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-search {
    margin-left: 0;
    margin-right: 0;
    padding: 10px 14px;
  }

  .article-body {
    font-size: 0.9rem;
  }

  .article-body h2 {
    font-size: 1.15rem;
    margin: 28px 0 10px;
  }

  .article-body h3 {
    font-size: 1rem;
    margin: 20px 0 8px;
  }

  .article-nav .nav-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .footer {
    padding: 24px 12px;
    font-size: 0.72rem;
  }

  .search-panel {
    margin: 0 8px;
  }

  .search-results {
    max-height: 300px;
  }

  .breadcrumb {
    font-size: 0.78rem;
  }
}


/* ==========================================================
   20. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .topic-card {
    opacity: 1;
  }

  .topic-card:hover {
    transform: none;
  }

  .hero-orb {
    animation: none;
  }
}
