/* Shared presentation for XML and HTML sitemaps; no XSLT or browser JavaScript. */
urlset, sitemapindex, .sitemap-page {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  color: #334155;
  background: #fff;
  font: 14px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

urlset::before, sitemapindex::before, .sitemap-page header {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 20px;
  border-bottom: 3px solid #4275f4;
}

urlset::before, sitemapindex::before, .sitemap-page h1 {
  color: #0f172a;
  font-size: 28px;
  font-weight: 700;
}

urlset::before { content: "Smart Connections - XML Sitemap"; }
sitemapindex::before { content: "Smart Connections - Sitemap Index"; }

.sitemap-page h1 { margin: 12px 0 4px; }
.sitemap-page p { margin: 0; }
.sitemap-page nav a { margin-right: 16px; }
.sitemap-list { margin: 0; padding: 0; list-style: none; }

urlset > url, sitemapindex > sitemap, .sitemap-list > li {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  overflow-wrap: anywhere;
}

urlset loc, sitemapindex loc, .sitemap-list a {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

urlset loc, sitemapindex loc, .sitemap-page a { color: #2563eb; }
.sitemap-page a:hover { color: #1e40af; }
.sitemap-page a:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }

urlset lastmod, sitemapindex lastmod, urlset changefreq, urlset priority, .sitemap-list small {
  display: inline-block;
  margin-right: 16px;
  color: #64748b;
  font-size: 12px;
}

lastmod::before { content: "Updated: "; }
changefreq::before { content: "Frequency: "; }
priority::before { content: "Priority: "; }

@media (max-width: 600px) {
  urlset, sitemapindex, .sitemap-page { padding: 16px; }
  urlset::before, sitemapindex::before, .sitemap-page h1 { font-size: 22px; }
}
