.sitemap {
  padding: 28px 32px 40px;
}

.sitemap__head {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e8f4fc;
}

.sitemap__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--title-blue);
  letter-spacing: 1px;
}

.sitemap__desc {
  margin-top: 10px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.sitemap__desc strong {
  color: var(--blue);
  font-weight: 700;
}

.sitemap__xml {
  margin-top: 8px;
  font-size: 14px;
}

.sitemap__xml a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sitemap__xml a:hover {
  color: var(--red);
}

.sitemap__xml-hint {
  margin-left: 4px;
  color: #888;
  font-size: 13px;
}

.sitemap__section {
  margin-bottom: 28px;
}

.sitemap__section:last-child {
  margin-bottom: 0;
}

.sitemap__section-title {
  position: relative;
  padding-left: 14px;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.4;
}

.sitemap__section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--red);
}

.sitemap__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 24px;
}

.sitemap__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.sitemap__link {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sitemap__link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sitemap__note {
  flex-shrink: 0;
  padding: 1px 6px;
  font-size: 11px;
  color: #888;
  background: #f3f3f3;
  border-radius: 3px;
  white-space: nowrap;
}

.sitemap__empty {
  padding: 48px 0;
  text-align: center;
  font-size: 15px;
  color: #888;
}

@media (max-width: 1024px) {
  .sitemap__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sitemap {
    padding: 20px 16px 32px;
  }

  .sitemap__title {
    font-size: 22px;
  }

  .sitemap__links {
    grid-template-columns: 1fr;
  }

  .sitemap__link {
    white-space: normal;
  }
}
