 /* 基础重置与带边框的容器 */
    .sy-custom-component {
        width: 100%;
        max-width: 900px;
        margin: 20px auto;
        font-family: "Microsoft YaHei", Arial, sans-serif;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        border-radius: 8px;
        overflow: hidden;
        /* 1. 整体外边框（即截图里的红框效果） */
        border: 1px solid #e5e7eb;
    }
    
    /* 顶部紫色横幅 */
    .sy-banner {
        background: linear-gradient(135deg, #5b21b6, #0068f7);
        color: #fff;
        padding: 16px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        flex-wrap: wrap;
    }
    .sy-banner-content {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .sy-banner h3 {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
        white-space: nowrap;
    }
    .sy-banner p {
        margin: 4px 0 0;
        font-size: 12px;
        opacity: 0.9;
    }
    .sy-btn {
        background: linear-gradient(135deg, #fde047, #fef3c7);
        color: #1e1b4b;
        border: none;
        padding: 10px 24px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        white-space: nowrap;
        transition: transform 0.2s;
        text-decoration: none;
        display: inline-block;
    }
    .sy-btn:hover {
        transform: scale(1.05);
    }

    /* 底部白色导语区 */
    .sy-content-box {
        background: #fff;
        padding: 24px;
        /* 2. 确保上下部分连接处没有缝隙，且底部有边框 */
        border-top: 1px solid #f3f4f6; 
        border-radius: 0 0 8px 8px;
    }
    .sy-title {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        font-size: 14px;
        color: #6b7280;
        font-weight: bold;
    }
    .sy-tag {
        background-color: #0068f7;
        color: #fff;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
    }
    .sy-text {
        font-size: 14px;
        line-height: 1.8;
        color: #374151;
        margin: 0;
        text-align: justify;
    }
    .sy-link {
        color: #1d4ed8;
        text-decoration: underline;
        cursor: pointer;
    }

    /* 平板与手机端自适应 (宽度小于768px时生效) */
    @media (max-width: 768px) {
        .sy-banner {
            padding: 16px;
            justify-content: center;
            text-align: center;
        }
        .sy-banner-content {
            flex-direction: column;
            align-items: center;
        }
        .sy-banner h3 {
            font-size: 16px;
            margin-bottom: 4px;
        }
        .sy-btn {
            width: 100%;
            text-align: center;
            margin-top: 10px;
        }
        .sy-content-box {
            padding: 16px;
        }
    }
     /* 基础重置，防止页面出现多余留白 */
        body { margin: 0; padding: 0; font-family: "Microsoft YaHei", sans-serif; background-color: #f5f5f5; }
        
        /* 模拟页面容器 */
        .page-container {
            max-width: 1200px; /* 页面最大宽度 */
            /*margin: 40px auto;*/
            padding: 20px;
        }

        /* ============== 律师卡片核心CSS ============== */
        .lawyer-card {
            background-color: #ffffff;
            border: 2px solid #0068f7; 
            border-radius: 12px;
            display: flex;
            align-items: stretch;
            padding: 24px;
            box-sizing: border-box;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* 轻微阴影增加立体感 */
        }

        /* 左侧头像区域 */
        .lawyer-card .avatar-box {
            flex: 0 0 140px; /* 固定宽度，不伸缩 */
            margin-right: 30px;
        }
        .lawyer-card .avatar-box img {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid #eee;
        }

        /* 右侧内容区域 */
        .lawyer-card .content-box {
            flex: 1; /* 占据剩余空间 */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* 顶部：名字与标签 */
        .lawyer-card .card-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        .lawyer-card .name {
            font-size: 22px;
            font-weight: bold;
            color: #222;
            margin-right: 20px;
        }
        .lawyer-card .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .lawyer-card .tag {
            font-size: 12px;
            padding: 4px 12px;
            border-radius: 20px;
            background-color: #fff0f0;
            color: #d32f2f;
        }
        .lawyer-card .tag.primary {
            background-color: #ffebee;
            font-weight: bold;
        }

        /* 中部：简介 */
        .lawyer-card .desc {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        /* 底部：信息与按钮 */
        .lawyer-card .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #f0f0f0;
            padding-top: 15px;
        }
        .lawyer-card .info {
            font-size: 13px;
            color: #888;
            line-height: 1.8;
        }
        .lawyer-card .actions {
            display: flex;
            gap: 15px;
        }
        .lawyer-card .btn {
            text-decoration: none;
            padding: 10px 24px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }
        /* 立即咨询按钮（实心红） */
        .lawyer-card .btn-primary {
            background-color: #0068f7;
            color: #ffffff;
            border: 1px solid #0068f7;
        }
        .lawyer-card .btn-primary:hover { background-color: #d32f2f; }
        /* 查看详情按钮（空心红） */
        .lawyer-card .btn-outline {
            background-color: #ffffff;
            color: #0068f7;
            border: 1px solid #0068f7;
        }
        .lawyer-card .btn-outline:hover { background-color: #fff0f0; }


        /* ============== 手机端自适应适配 (屏幕宽度小于768px时触发) ============== */
        @media (max-width: 768px) {
            .page-container { padding: 10px; margin: 10px auto; }
            .lawyer-card {
                flex-direction: column; /* 改为纵向排列 */
                align-items: center;
                text-align: center;
                padding: 20px 15px;
            }
            .lawyer-card .avatar-box {
                flex: 0 0 auto;
                margin-right: 0;
                margin-bottom: 20px;
            }
            .lawyer-card .card-header {
                flex-direction: column;
                gap: 12px;
                margin-bottom: 12px;
            }
            .lawyer-card .card-footer {
                flex-direction: column;
                gap: 20px;
                width: 100%;
            }
            .lawyer-card .actions {
                width: 100%;
                justify-content: space-between;
            }
            .lawyer-card .btn {
                flex: 1; /* 按钮平均分配宽度 */
                justify-content: center;
            }
        }
    .tishi_112 {
    margin-top: -10px;
    padding: 20px 20px 20px 20px;
    border: 1px solid #a7a57e;
    width: 218px;
}