#sitemap-page .sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

#sitemap-page .sitemap-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Tree (categories) */
#sitemap-page .sitemap-tree {
  list-style: none;
  margin: 0;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#sitemap-page .tree-item {
  font-size: 14px;
}

#sitemap-page .tree-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--menu-text);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

#sitemap-page .tree-item > a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--menu-border);
  flex-shrink: 0;
  transition: background 0.15s;
}

#sitemap-page .tree-item > a:hover {
  background: var(--menu-bg);
  color: var(--info-color);
}

#sitemap-page .tree-item > a:hover::before {
  background: var(--info-color);
}

#sitemap-page .tree-children {
  list-style: none;
  margin: 2px 0 2px 20px;
  padding: 0;
  border-left: 2px solid var(--menu-border);
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#sitemap-page .tree-children .tree-item > a {
  font-weight: 400;
  font-size: 13px;
  color: var(--menu-text-muted);
}

#sitemap-page .tree-children .tree-item > a:hover {
  color: var(--info-color);
}

#sitemap-page .tree-children .tree-children {
  margin-left: 14px;
}

#sitemap-page .tree-children .tree-children .tree-item > a {
  font-size: 12px;
}

/* Simple links */
#sitemap-page .sitemap-links {
  list-style: none;
  margin: 0;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#sitemap-page .sitemap-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--menu-text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

#sitemap-page .sitemap-links li a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--menu-border);
  flex-shrink: 0;
  transition: background 0.15s;
}

#sitemap-page .sitemap-links li a:hover {
  background: var(--menu-bg);
  color: var(--info-color);
}

#sitemap-page .sitemap-links li a:hover::before {
  background: var(--info-color);
}

@media (max-width: 768px) {
  #sitemap-page .sitemap-grid {
    grid-template-columns: 1fr;
  }
}