main {
  padding: 80px 0;
}

.sitemap-header {
  text-align: center;
  margin-bottom: 50px;
}

.sitemap-header h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.sitemap-header p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.sitemap-wrapper details {
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.sitemap-wrapper details:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.sitemap-wrapper details[open] {
  border-color: #045c68;
  box-shadow: 0 4px 20px rgba(4, 92, 104, 0.15);
}

.sitemap-wrapper details summary {
  background: linear-gradient(to right, #045c68, #22baac);
  color: white;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
  user-select: none;
}

.sitemap-wrapper details summary:hover {
  background: linear-gradient(to right, #024f59, #0d998b);
}

.sitemap-wrapper details[open] summary {
  background: linear-gradient(to right, #1092a3, #2dd6c5);
}

.sitemap-wrapper details summary::-webkit-details-marker {
  display: none;
}

.sitemap-wrapper details summary::marker {
  display: none;
}

.sitemap-wrapper details summary::after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  align-items: center;
  display: flex;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.sitemap-wrapper details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  border-color: rgba(255, 255, 255, 0.8);
}

.sitemap-wrapper details summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.sitemap-wrapper details summary:hover::before {
  left: 100%;
}

.sitemap-details {
  padding: 30px 25px;
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
}

.sitemap-details nav ul {
  list-style: none;
}

.sitemap-details nav ul li {
  margin-bottom: 12px;
}

.sitemap-details nav ul li a {
  color: #495057;
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  font-size: 16px;
}

.sitemap-details nav ul li a:hover {
  background-color: #e8f4f3;
  color: #045c68;
  border-left-color: #045c68;
}

.alphabet-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.alphabet-nav a {
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background: #e8f4f3;
  color: #045c68;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.alphabet-nav a:hover {
  background: #045c68;
  color: white;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sitemap-wrapper details .sitemap-details {
  animation: slideDown 0.3s ease-out;
  transform-origin: top;
}

@media (max-width: 768px) {
  main {
    padding: 40px 0;
  }

  .sitemap-header h1 {
    font-size: 24px;
  }

  .sitemap-header p {
    font-size: 16px;
    padding: 0 15px;
  }

  .sitemap-wrapper details summary {
    padding: 16px 20px;
    font-size: 16px;
  }

  .sitemap-wrapper details summary::after {
    right: 20px;
    font-size: 20px;
    width: 20px;
    height: 20px;
  }

  .sitemap-details {
    padding: 25px 20px;
  }

  .sitemap-details nav ul li a {
    font-size: 15px;
  }

  .alphabet-nav a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .sitemap-wrapper details {
    margin-bottom: 15px;
    border-radius: 8px;
  }

  .sitemap-wrapper details summary {
    padding: 14px 16px;
    font-size: 15px;
  }

  .sitemap-wrapper details summary::after {
    right: 16px;
  }

  .sitemap-details {
    padding: 20px 16px;
  }

  .sitemap-details nav ul li a {
    font-size: 14px;
  }
}

@media (hover: hover) {
  .sitemap-wrapper details summary {
    position: relative;
    overflow: hidden;
  }
}

.sitemap-wrapper details summary:focus {
  outline: 2px solid #045c68;
  outline-offset: 2px;
}

.sitemap-wrapper details summary:focus-visible {
  outline: 2px solid #045c68;
  outline-offset: 2px;
}
