/* 运输方式比较表格样式 */

/* 比较表格部分 */
.comparison-section {
    padding: 80px 0;
    background: var(--gray-lighter);
}

.comparison-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.comparison-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.comparison-section .section-header p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 表格容器 */
.comparison-table-container {
    background: var(--white-color);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
    overflow-x: auto;
}

/* 比较表格 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
}

.comparison-table th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.5;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: var(--gray-lighter);
}

.comparison-table tr:hover {
    background: rgba(0, 86, 179, 0.05);
    transition: var(--transition-fast);
}

/* 选择建议 */
.comparison-tips {
    margin-top: 40px;
}

.comparison-tips h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tip-card {
    background: var(--white-color);
    border-radius: var(--radius-xl);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-light);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 auto 20px;
}

.tip-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.tip-card p {
    color: var(--gray-medium);
    line-height: 1.6;
    font-size: 1rem;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .comparison-section {
        padding: 60px 0;
    }
    
    .comparison-section .section-header h2 {
        font-size: 2.2rem;
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .comparison-table-container {
        padding: 20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 768px) {
    .comparison-section {
        padding: 40px 0;
    }
    
    .comparison-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .comparison-section .section-header p {
        font-size: 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tip-card {
        padding: 25px;
    }
    
    .tip-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .tip-card h4 {
        font-size: 1.2rem;
    }
    
    .comparison-table-container {
        margin: 0 -15px;
        border-radius: 0;
        padding: 15px;
    }
    
    .comparison-table {
        min-width: 700px;
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}

@media screen and (max-width: 480px) {
    .comparison-section .section-header h2 {
        font-size: 1.6rem;
    }
    
    .comparison-tips h3 {
        font-size: 1.5rem;
    }
    
    .tip-card {
        padding: 20px;
    }
    
    .tip-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

/* 打印样式 */
@media print {
    .comparison-section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .comparison-table-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .comparison-table th {
        background: #f0f0f0 !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
    }
    
    .tips-grid {
        break-inside: avoid;
    }
    
    .tip-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}