﻿/* 传播工具页面样式 */
.tools-content {
    padding: 40px 0;
    background-color: #ffffff;
}

.tools-header {
    text-align: center;
    margin-bottom: 40px;
}

.tools-header h1 {
    font-size: 28px;
    color: #333;
    font-weight: 500;
}

/* 工具卡片网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 50px;
    padding: 0px 100px;
    
}

.tool-card {
    display: block;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tool-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding-top: 10px;
}

.tool-info {
    width: 100%;
    padding: 15px;
}

.tool-info h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
    padding-bottom: 0;
}

.tool-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tool-image {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .tools-grid {
        grid-template-columns: 1fr;
        padding: 20px 1%;
    }
    
    .tool-card {
        max-width: 350px;
        margin: 0 auto;
    }
} 