/* Independent projects on the Tools page. Existing card tokens own both themes. */
.tools-community {
    scroll-margin-top: 96px;
}

.tools-community .community-note {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.65;
    margin: 16px 0 0;
}

.tools-community .community-more {
    margin-top: 40px;
}

.tools-community .community-group-title {
    color: var(--color-text-primary);
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 20px;
}

.tools-community .community-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tools-community .tool-card {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tools-community .tool-card-title {
    margin-bottom: 12px;
}

.tools-community .tool-card-footer {
    flex-wrap: wrap;
    gap: 8px 20px;
}

.tools-community .tool-card-footer a,
.tools-community .gh-meta-stars,
.tools-community .community-tool-links a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}

.tools-community a:focus-visible,
.tools-jump-nav a[href="#community-projects"]:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 4px;
    border-radius: 2px;
}

.tools-community .community-tool-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-border-subtle);
}

.tools-community .community-tool-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 32px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border-subtle);
}

.tools-community .community-tool-summary {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tools-community .community-tool-name {
    color: var(--color-text-primary);
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 6px;
}

.tools-community .community-tool-purpose {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 6px;
}

.tools-community .community-tool-component {
    color: var(--color-text-secondary);
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0;
}

.tools-community .community-tool-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
}

@media (max-width: 768px) {
    .tools-community .community-featured-grid,
    .tools-community .community-tool-row {
        grid-template-columns: minmax(0, 1fr);
    }
}
