.master-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.master-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 300px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.master-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.master-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.master-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.master-info {
    flex: 1;
}

.master-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
}

.master-meta {
    color: #666;
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.master-meta span {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
}

.master-meta .title {
    color: #1890ff;
}

.master-company {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.master-social, .master-contact {
    margin-bottom: 12px;
}

.social-item, .contact-item {
    display: flex;
    gap: 5px;
    font-size: 14px;
    margin-bottom: 8px;
    align-items: center;
}

.social-item .label, .contact-item .label {
    color: #666;
    white-space: nowrap;
}

.social-item .value, .contact-item .value {
    color: #333;
}

.master-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tag {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.master-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.master-desc p {
    margin: 0 0 8px 0;
}

.master-desc p:last-child {
    margin-bottom: 0;
}

/* 特殊标记样式 */
.master-desc p[class^="icon-"] {
    padding-left: 20px;
    position: relative;
}

.master-desc p[class^="icon-"]::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 星标样式 */
.master-meta .title::after {
    content: "⭐";
    margin-left: 4px;
}

/* 认证标记样式 */
.company::after {
    content: "⭐";
    margin-left: 4px;
    color: #1890ff;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .master-cards {
        padding: 10px;
    }

    .master-card {
        width: 100%;
    }
}
