/* Vital SEO — HTML Sitemap page-specific layout refinements */

/* Desktop: raise the decorative sitemap hierarchy illustration. */
@media (min-width: 901px) {
  body:not(.home) .sitemap-page .site-vector-hero
  .service-vector-hero-art {
    translate: 0 -35px;
  }
}

/* Mobile: prevent deep sitemap levels consuming the text width. */
@media (max-width: 700px) {
  .sitemap-page,
  .sitemap-tree-section,
  .sitemap-tree-section .container,
  .sitemap-tree-list,
  .sitemap-tree-list li {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .sitemap-tree-section .sitemap-level-1,
  .sitemap-tree-section .sitemap-level-2,
  .sitemap-tree-section .sitemap-level-3,
  .sitemap-tree-section .sitemap-level-4 {
    margin-left: 8px;
    padding-left: 10px;
  }

  .sitemap-tree-section .sitemap-tree-list a,
  .sitemap-tree-section .sitemap-tree-list .sitemap-tree-heading,
  .sitemap-tree-section .sitemap-tree-list li > span {
    overflow-wrap: anywhere;
    word-break: normal;
    max-width: 100%;
  }
}

/* HTML Sitemap expandable directory */
.sitemap-tree-section .sitemap-tree-list li > ul[hidden] {
  display: none !important;
}
.sitemap-tree-section .sitemap-expand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sitemap-tree-section .sitemap-expand-row > a {
  flex: 1;
  min-width: 0;
}
.sitemap-tree-section .sitemap-expand-toggle {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border, #d8e0ea);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.sitemap-tree-section .sitemap-expand-toggle:hover {
  border-color: #4b86e8;
}
.sitemap-tree-section .sitemap-expand-toggle:focus-visible {
  outline: 2px solid #4b86e8;
  outline-offset: 3px;
}


/* Consistent typography for all main HTML sitemap pages */
.sitemap-tree-section .sitemap-level-0 > li > a,
.sitemap-tree-section .sitemap-level-0 > li > .sitemap-expand-row > a {
  font-size: 1rem;
  font-weight: 700;
  line-height: inherit;
}


/* First-level sitemap entries beneath Home */
.sitemap-tree-section .sitemap-level-1 > li > a,
.sitemap-tree-section .sitemap-level-1 > li > .sitemap-expand-row > a {
  font-weight: 700;
}
