/**
 * EEAT Reviewer Pro - Premium Frontend Styling
 */

/* 1. Main Container */
.eeat-pro-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #ffffff;
    padding: 50px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Premium top accent */
.eeat-pro-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #118AB0, #232e38);
}

/* 2. Expert Card Layout */
.eeat-card {
    flex: 1;
    min-width: 280px;
    display: flex;
    gap: 20px;
    align-items: flex-start; /* Better for multi-line credentials */
    position: relative;
}

/* Vertical divider on desktop */
@media (min-width: 851px) {
    .eeat-card:not(:last-child) {
        border-right: 1px solid #f1f5f9;
        padding-right: 20px;
    }
}

/* 3. Profile Image (Modern Squircle) */
.eeat-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #f8fafc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.eeat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eeat-card:hover .eeat-thumb img {
    transform: scale(1.1);
}

/* 4. Text Information */
.eeat-info {
    flex-grow: 1;
}

.eeat-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1.2px;
    margin-bottom: 4px;
}

/* Ensure the name wrapper handles the tick correctly */
.eeat-name-wrapper {
    margin: -15px 0px 0px 0px !important;
    font-size: 19px !important;
    color: #1e293b;
    font-weight: 700;
    display: inline-flex; 
    align-items: center;
    gap: 6px;
}

/* The Blue Verified Tick stays with the name */
.eeat-name-wrapper::after {
    content: "\2713"; 
    background: #118AB0;
    color: white;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    flex-shrink: 0;
    padding-top: 1px;
}
.eeat-info h4 a {
    text-decoration: none;
    color: #1e293b!important;
}

/* 5. Credentials (New Line Styling) */
.eeat-cred {
    display: block; 
    clear: both;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.3;
    margin-top: -10px;
}

/* Bio Text */
.eeat-info p {
    margin: 8px 0 0 0 !important;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

/* 6. Social Links (Pill Style) */
.eeat-social-icons {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.eeat-social-link {
    background: #f1f5f9;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.2s ease;
}

.eeat-social-link svg {
    width: 12px !important;
    height: 12px !important;
}

.eeat-social-link:hover {
    background: #118AB0;
    color: #ffffff!important;
    transform: translateY(-1px);
}

.eeat-social-icons a{
    color: #118AB0!important;
}

/* 7. Responsive Adjustments */
@media (max-width: 850px) {
    .eeat-pro-panel {
        flex-direction: column;
        gap: 25px;
    }
    
    .eeat-card:not(:last-child) {
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 25px;
    }

    .eeat-thumb {
        width: 70px;
        height: 70px;
    }
}