
/*============================================================================*/


.secweb-sitemap {
  margin: 1rem;
}

.secweb-sitemap-container {
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Header Text Styling */
.secweb-sitemap-header {
  margin-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 16px;
}

.secweb-sitemap-header h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin: 0 0 6px 0;
  font-weight: 700;
}

.secweb-sitemap-header p {
  font-size: 14px;
  color: #666666;
  margin: 0;
}

/* Base Tree Styling */

.secweb-sitemap-tree, .secweb-sitemap-tree ul {
  list-style-type: none;
  padding-left: 24px;
  margin: 0;
}

.secweb-sitemap-tree {
  padding-left: 0;
  display: grid;
  gap: 12px;
}

.secweb-sitemap-tree li {
  position: relative;
  margin-top: 8px;
}

/* Base link styling */
.secweb-sitemap-tree a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.secweb-sitemap-tree a:hover {
  color: #1874CD;

}
/* Nested sub-page vertical lines */
/*
.secweb-sitemap-tree ul li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: -8px;
  bottom: 50%;
  width: 2px;
  background-color: #ccc;
}
*/

/* Default generic icon for deeply nested pages */
.secweb-sitemap-tree li::after {
  content: "📄";
  position: absolute;
  left: -24px;
  top: 0;
}

/* Target Top-Level Unique Icons via Data Attributes */

.secweb-sitemap-tree > li[data-page="secular-web"]::after { content: "🌐"; }
.secweb-sitemap-tree > li[data-page="infidels"]::after {
  content: ""; /* Clear the default emoji text */
  background-image: url('/wp-content/plugins/csrtech-secweb/pub/icon21.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 21px;   /* Explicit width to match emoji sizing */
  height: 21px;  /* Explicit height */
  top: 2px;      /* Slight alignment adjustment if needed */
}

.secweb-sitemap-tree > li[data-page="internet-infidels-articles"]::after { content: "✍️"; }
.secweb-sitemap-tree > li[data-page="contact-us"]::after { content: "✉️"; }
.secweb-sitemap-tree > li[data-page="secular-frontier"]::after { content: "🚀"; }
.secweb-sitemap-tree > li[data-page="library"]::after { content: "📚"; }
.secweb-sitemap-tree > li[data-page="news-wire"]::after { content: "📰"; }
.secweb-sitemap-tree > li[data-page="search-the-secular-web"]::after { content: "🔍"; }
.secweb-sitemap-tree > li[data-page="site-map"]::after { content: "🗺️"; }
.secweb-sitemap-tree > li[data-page="support-us"]::after { content: "💵"; }
.secweb-sitemap-tree > li[data-page="whats-new"]::after { content: "✨"; }

/* Shift top-level text to make room for icons */
.secweb-sitemap-tree > li {
  padding-left: 28px;
}
.secweb-sitemap-tree > li::after {
  left: 0;
}

/*============================================================================*/
