/* 具体AI工具展示 - 全新布局 */
.tool-listings {
    padding: 30px 0;
    background-color: #fff;
    margin-bottom: 30px;
}

.tool-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    max-width: 100%;
}

.tool-card {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    transition: all 0.2s ease;
    height: 60px;
    padding: 0;
    overflow: hidden;
}

.tool-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
    align-items: center;
    padding: 0 12px;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
    background-color: #fff;
}

.tool-logo {
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-content {
    flex: 1;
    overflow: hidden;
}

.tool-content h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-content p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 优化工具列表布局 */
.tool-listings .container {
    padding: 0 20px;
    max-width: 1280px;
}

/* 调整标题样式 */
.tool-listings h2 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* 响应式布局 */
@media (min-width: 1800px) {
    .tool-list-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .tool-list-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 576px) {
    .tool-list-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .tool-logo {
        width: 24px;
        height: 24px;
        min-width: 24px;
        margin-right: 8px;
    }
    
    .tool-content h3 {
        font-size: 0.8rem;
    }
    
    .tool-content p {
        font-size: 0.7rem;
    }
}

/* 响应式布局补充 */
@media (max-width: 1400px) {
    .tool-list-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
} 