.featured-lawyers-wrapper {
    margin: 40px 0;
}

.featured-lawyers-section-wrapper {
    background: #fff;
    padding: 40px 0;
    background: linear-gradient( 0deg, rgb(0, 117, 177) 0%, rgb(0, 57, 102) 100% );
}

.featured-lawyers-display {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-lawyers-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 30px 0;
    color: #cfefff;
    padding-bottom: 15px;
}

.featured-lawyers-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.featured-lawyers-grid-1 {
    grid-template-columns: 1fr;
}

.featured-lawyers-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.featured-lawyers-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.featured-lawyers-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.featured-lawyer-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.featured-lawyer-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

.featured-lawyer-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-lawyer-card:hover .featured-lawyer-thumbnail img {
    transform: scale(1.05);
}

.featured-lawyer-content {
    padding: 20px;
}

.featured-lawyer-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.featured-lawyer-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-lawyer-title a:hover {
    color: #0073aa;
}

.featured-lawyer-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
    min-height: 45px;
}

.featured-lawyer-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.featured-lawyer-button:hover {
    background: #005a87;
    color: #fff;
    text-decoration: none;
}

.lawyer-profile-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lawyer-result-item:hover .lawyer-title {
    color: #0073aa;
}

/* Responsive */
@media (max-width: 768px) {
    .lawyer-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-lawyers-grid-4,
    .featured-lawyers-grid-3,
    .featured-lawyers-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .featured-lawyer-thumbnail,
    .lawyer-thumbnail {
        height: 200px;
    }
    
    .featured-lawyers-title {
        font-size: 22px;
    }
}
