/**
 * Smart Tag Listing Styles
 */

.stl-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 30px 0;
}

/* Kompakte Navigation */
.stl-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    justify-content: center;
}

.stl-nav a {
    text-decoration: none;
    color: #495057;
    font-weight: 600;
    font-size: 0.85rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.stl-nav a:hover {
    background: var(--stl-primary, #0073aa);
    color: #fff;
    border-color: var(--stl-primary, #0073aa);
}

/* Sektionen */
.stl-section {
    margin-bottom: 40px;
}

.stl-letter-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #212529;
    border-bottom: 2px solid var(--stl-primary, #0073aa);
    display: inline-block;
    padding-right: 20px;
}

/* Tag Liste (Modern & Platzsparend) */
.stl-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stl-tag-item {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 6px 14px;
    transition: all 0.2s ease;
    color: #343a40;
}

.stl-tag-item:hover {
    background: var(--stl-primary, #0073aa);
    color: #fff;
    border-color: var(--stl-primary, #0073aa);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stl-tag-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.stl-tag-count {
    font-size: 0.75rem;
    background: #f1f3f5;
    color: #868e96;
    border-radius: 10px;
    padding: 2px 8px;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.stl-tag-item:hover .stl-tag-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .stl-tag-list {
        gap: 8px;
    }
    .stl-tag-item {
        padding: 5px 12px;
    }
    .stl-letter-title {
        font-size: 1.5rem;
    }
}
