/* 全局样式 中国律师网 专业简洁风格 */
:root {
    --primary-color: #2c5f8a;
    --primary-dark: #1e3e5c;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #212529;
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* 首页Banner简约样式 */
.hero-section {
    background: linear-gradient(135deg, #eef2f7 0%, #dfe6ed 100%);
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3c72;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a627a;
}

.section-padding {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e3c72;
}

/* 律师卡片 */
.lawyer-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #eef2f6;
}
.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.lawyer-avatar {
    position: relative;
    text-align: center;
    padding: 20px 0 10px;
}
.lawyer-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.lawyer-tag {
    position: absolute;
    top: 10px;
    right: 20px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}
.lawyer-info {
    padding: 15px 20px 20px;
}
.lawyer-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
}
.law-firm, .practice-area {
    color: #5f6c7a;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.lawyer-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #2c5f8a;
}

/* 咨询列表 */
.message-item {
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    padding: 16px 0;
}
.message-title {
    font-size: 1.1rem;
    font-weight: 500;
}
.message-summary {
    color: #5a6e7c;
    margin: 8px 0;
}
.message-meta {
    font-size: 0.8rem;
    color: #8a9bb0;
}

/* 城市标签 */
.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.city-badge {
    background: #fff;
    border: 1px solid #cbd5e0;
    padding: 8px 20px;
    border-radius: 40px;
    color: #2d3748;
    transition: all 0.2s;
}
.city-badge:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 专业领域卡片 */
.type-card {
    background: #f8fafc;
    border-radius: 12px;
    transition: 0.2s;
}
.type-card:hover {
    background: #e9f0f9;
}
.type-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.type-name {
    display: block;
    font-size: 0.9rem;
}

/* 文章列表 */
.article-item {
    border-bottom: 1px solid #eef2f6;
    padding: 14px 0;
}
.article-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.article-meta {
    font-size: 0.75rem;
    color: #8696a8;
}
.no-cover {
    width: 80px;
    height: 60px;
    background: #d9e2ef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* 律师详情页侧边栏 */
.lawyer-sidebar {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.02);
}
.bg-success-light {
    background-color: #e6f7ec;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .section-padding {
        padding: 40px 0;
    }
    .lawyer-card {
        margin-bottom: 20px;
    }
    .lawyer-avatar img {
        width: 90px;
        height: 90px;
    }
    .city-badge {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* 律师电话按钮样式 */
.lawyer-phone {
    text-align: center;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-call:hover {
    background-color: #218838;
    color: #fff;
    transform: scale(1.02);
    text-decoration: none;
}

/* 大卡片中的电话按钮样式 */
.lawyer-card .btn-call {
    font-size: 14px;
    padding: 6px 15px;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .btn-call {
        font-size: 11px;
        padding: 3px 10px;
    }
    .lawyer-card .btn-call {
        font-size: 12px;
        padding: 5px 12px;
    }
}