/* Sitemap Section */
.sitemap-section {
  background: linear-gradient(135deg, #0c082b 0%, #182c4f 100%);
  padding: 100px 0;
  position: relative;
}

.sitemap-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumbs */
.sitemap-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.6);
}

.sitemap-breadcrumbs__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sitemap-breadcrumbs__link:hover {
  color: #0096ff;
}

.sitemap-breadcrumbs__link svg {
  color: rgba(255, 255, 255, 0.4);
}

.sitemap-breadcrumbs__divider {
  color: rgba(255, 255, 255, 0.3);
}

.sitemap-breadcrumbs__current {
  color: #0096ff;
  font-weight: 600;
}

/* Wrapper */
.sitemap-wrapper {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 50px 60px;
}

.sitemap-title {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.15;
}

.sitemap-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 40px 0;
  line-height: 1.6;
}

/* List Styling */
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки на десктопі */
  gap: 16px 40px;
}

.sitemap-list li {
  margin: 0;
}

/* Стилізація посилань, які генерує WordPress */
.sitemap-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sitemap-list a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #0096ff;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.sitemap-list a:hover {
  background: rgba(0, 150, 255, 0.1);
  border-color: rgba(0, 150, 255, 0.3);
  color: #ffffff;
  transform: translateX(4px);
}

.sitemap-list a:hover::before {
  background: #00c3ff;
  box-shadow: 0 0 8px rgba(0, 195, 255, 0.6);
}

/* Nested pages (дочірні сторінки) */
.sitemap-list .children {
  list-style: none;
  padding-left: 20px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitemap-list .children a {
  font-size: 14px;
  padding: 8px 12px;
  background: transparent;
  border: none;
}

.sitemap-list .children a::before {
  width: 4px;
  height: 4px;
  background: rgba(0, 150, 255, 0.5);
}

.sitemap-empty {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .sitemap-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .sitemap-wrapper {
    padding: 40px;
  }

  .sitemap-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .sitemap-section {
    padding: 60px 0;
  }

  .sitemap-wrapper {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .sitemap-title {
    font-size: 32px;
  }

  .sitemap-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .sitemap-title {
    font-size: 28px;
  }

  .sitemap-wrapper {
    padding: 24px 20px;
  }
}
