/* =============== Sitemap Section =============== */
.sitemap-section {
  padding: 3.5rem 0;
}

.site-details {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  max-width: 936px;
  width: 100%;
}

/* Common styles for sitemap items */
.sitemap-items-top,
.sitemap-items-center,
.sitemap-items-bottom {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 2.5rem;
}

.sitemap-items-top h2,
.sitemap-items-center h2,
.sitemap-items-bottom h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-left: 2.5rem;
}

/* Lists styling */
.sitemap-lists {
  display: flex;
  gap: 3.125rem;
  justify-content: flex-start;
  max-width: 840px;
  flex-wrap: wrap;
  margin-left: calc(3.125rem + 3.4375rem);
}

.sitemap-lists ul {
  list-style: disc;
  font-size: 1.125rem;
  list-style-position: inside;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.sitemap-lists ul li {
  line-height: 1.75;
  margin-bottom: 0.25rem;
}

.sitemap-lists ul li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sitemap-lists ul li a:hover {
  color: #3E5EC0;
}

/* Background stripes */
.sitemap-items-top::before,
.sitemap-items-center::before,
.sitemap-items-bottom::before {
  position: absolute;
  content: "";
  width: 3.4375rem;
  height: 100%;
  z-index: -1;
  left: 0;
}

.sitemap-items-top::before {
  background-color: #ebf5ff;
}

.sitemap-items-center::before {
  background-color: #ebfffe;
}

.sitemap-items-bottom::before {
  background-color: #ebf5ff;
}

/* Categories specific styling */
.sitemap-lists-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  margin-left: calc(3.125rem + 3.4375rem);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .sitemap-section {
    padding: 2rem 0;
  }

  .site-details {
    gap: 2.5rem;
  }

  .sitemap-items-top h2,
  .sitemap-items-center h2,
  .sitemap-items-bottom h2 {
    font-size: 1.875rem;
    margin-left: 0;
  }

  .sitemap-lists,
  .sitemap-lists-2 {
    margin-left: 0;
    gap: 2rem;
  }

  .sitemap-lists ul {
    font-size: 1rem;
  }

  .sitemap-items-top::before,
  .sitemap-items-center::before,
  .sitemap-items-bottom::before {
    display: none;
  }

  .sitemap-lists-2 {
    grid-template-columns: 1fr;
  }
}