/* ===== 详情页样式 ===== */
.detail-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
    color: #64748b;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 12px;
    color: #94a3b8;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    padding: 32px;
    background: #f8fafc;
    border-radius: 16px;
}

.tool-icon {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}

.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-title h1 {
    margin: 0 0 8px 0;
    font-size: 36px;
    color: #0f172a;
}

.tool-title .short-desc {
    margin: 0;
    font-size: 16px;
    color: #475569;
}

.detail-section {
    margin-bottom: 30px;
    padding: 28px;
    background: #f8fafc;
    border-radius: 16px;
}

.detail-section h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.full-desc {
    line-height: 1.8;
    color: #334155;
    font-size: 15px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-large {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    color: #1e293b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.tag-large:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.keyword {
    padding: 4px 12px;
    background: white;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    font-size: 12px;
    color: #64748b;
}

.related-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.resource-link {
    padding: 10px 20px;
    background: white;
    border-radius: 8px;
    color: #007bff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.resource-link:hover {
    background: #f1f5f9;
    border-color: #007bff;
}


.share-section {
    text-align: center;
    padding: 20px;
    color: #64748b;
}

.share-section a {
    color: #007bff;
    font-size: 18px;
    margin-left: 10px;
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 768px) {
    .tool-header {
        flex-direction: column;
        text-align: center;
    }
}