/* Modern Author Box Styles */
:root {
    --author-primary: #081C9E;
    --author-secondary: #6B72B8;
    --author-white: #ffffff;
    --author-light: #f8f9fa;
    --author-border: #e9ecef;
    --author-shadow: 0 4px 20px rgba(8, 28, 158, 0.08);
    --author-radius: 16px;
}

.bd-who {
    background: var(--author-white);
    border-radius: var(--author-radius);
    box-shadow: var(--author-shadow);
    padding: 24px;
    margin: 32px 0;
    border: 1px solid var(--author-border);
    position: relative;
    overflow: hidden;
}

.bd-who::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--author-primary) 0%, var(--author-secondary) 100%);
}

.bd-who1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.bd-who1-1 {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 200px;
}

.bd-who1-11 {
    width: 72px !important;
    height: 72px !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(8, 28, 158, 0.15);
    transition: transform 0.3s ease;
}

.bd-who1-11:hover {
    transform: scale(1.05);
}

.bd-who1-11 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 16px !important;
}

.bd-who1-12 {
    font-weight: 600;
    font-size: 18px;
    color: var(--author-primary);
    line-height: 1.4;
}

.bd-who1-12 .corange {
    display: inline-block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--author-secondary);
}

.bd-who1-12 .corange u {
    text-decoration: none;
    background: linear-gradient(90deg, var(--author-primary), var(--author-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.bd-who1-2 {
    flex-shrink: 0;
}

.bd-who1-2 .btn100 {
    background: linear-gradient(135deg, var(--author-primary) 0%, var(--author-secondary) 100%);
    color: var(--author-white);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

.bd-who1-2 .btn100::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.bd-who1-2 .btn100:hover::before {
    left: 100%;
}

.bd-who1-2 .btn100:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 28, 158, 0.3);
}

.bd-who2 {
    font-size: 15px;
    line-height: 1.6;
    color: #6c757d;
    padding: 16px 20px;
    background: var(--author-light);
    border-radius: 12px;
    border-left: 4px solid var(--author-secondary);
    margin-top: 16px;
    position: relative;
}

.bd-who2::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 12px;
    font-size: 32px;
    color: var(--author-secondary);
    font-family: serif;
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bd-who {
        padding: 20px 16px;
        margin: 24px 0;
        border-radius: 12px;
    }
    
    .bd-who1 {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .bd-who1-1 {
        width: 100%;
        min-width: auto;
    }
    
    .bd-who1-11 {
        width: 60px !important;
        height: 60px !important;
        border-radius: 12px !important;
    }
    
    .bd-who1-11 img {
        border-radius: 12px !important;
    }
    
    .bd-who1-12 {
        font-size: 16px;
    }
    
    .bd-who1-2 {
        width: 100%;
    }
    
    .bd-who1-2 .btn100 {
        display: block;
        text-align: center;
        width: 100%;
        padding: 14px 24px;
    }
    
    .bd-who2 {
        font-size: 14px;
        padding: 14px 16px;
        margin-top: 12px;
    }
}

/* Star Rating Animation */
@keyframes starGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.bd-who1-12 .corange:hover {
    animation: starGlow 1.5s ease-in-out infinite;
}

/* Accessibility */
.bd-who1-2 .btn100:focus {
    outline: 2px solid var(--author-secondary);
    outline-offset: 2px;
}

.bd-who1-11:focus {
    outline: 2px solid var(--author-secondary);
    outline-offset: 2px;
} 