.sitemap-content {
    padding-bottom: 30px;
}

.sitemap-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-item {
    margin-bottom: 10px;
    width: 16.6666%;
}

.sitemap-item a {
  display: block;
  padding: 8px 12px;
  background: #f5f5f5;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sitemap-waterfall {
    column-count: 5;
    column-gap: 20px;
}

.waterfall-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.waterfall-item a {
    display: block;
    padding: 12px 15px;
    background: #f5f5f5;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.waterfall-item a:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-title {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .sitemap-waterfall {
        column-count: 4;
    }
}

@media screen and (max-width: 992px) {
    .sitemap-waterfall {
        column-count: 3;
    }
}

@media screen and (max-width: 768px) {
    .sitemap-waterfall {
        column-count: 2;
    }
}

@media screen and (max-width: 480px) {
    .sitemap-waterfall {
        column-count: 1;
    }
}

@media screen and (max-width: 992px) {
    .sitemap-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .sitemap-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .sitemap-list {
        grid-template-columns: 1fr;
    }
}