/**
 * Author Schema Block - Frontend Styles
 */

/* Card Style */
.bw-schema-author-card .bw-author-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    margin: 20px 0;
}

.bw-schema-author-card .bw-author-image {
    flex-shrink: 0;
}

.bw-schema-author-card .bw-author-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bw-schema-author-card .bw-author-content {
    flex: 1;
}

.bw-schema-author-card .bw-author-name {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 600;
}

.bw-schema-author-card .bw-author-name a {
    text-decoration: none;
    color: inherit;
}

.bw-schema-author-card .bw-author-name a:hover {
    text-decoration: underline;
}

.bw-schema-author-card .bw-author-title {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.bw-schema-author-card .bw-author-bio {
    margin: 15px 0;
    line-height: 1.6;
}

.bw-schema-author-card .bw-author-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.bw-schema-author-card .bw-social-link {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: #333;
    border-radius: 50%;
    position: relative;
    transition: background-color 0.3s ease;
}

.bw-schema-author-card .bw-social-link:hover {
    background-color: #555;
}

.bw-schema-author-card .bw-social-link.bw-linkedin {
    background-color: #0077b5;
}

.bw-schema-author-card .bw-social-link.bw-linkedin:hover {
    background-color: #005885;
}

.bw-schema-author-card .bw-social-link.bw-twitter {
    background-color: #1da1f2;
}

.bw-schema-author-card .bw-social-link.bw-twitter:hover {
    background-color: #0c85d0;
}

.bw-schema-author-card .bw-social-link.bw-facebook {
    background-color: #1877f2;
}

.bw-schema-author-card .bw-social-link.bw-facebook:hover {
    background-color: #0c5cbf;
}

/* Social link icons */
.bw-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
}

.bw-social-link.bw-linkedin::before {
    content: 'in';
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: white;
    font-size: 14px;
    background: none;
    filter: none;
}

.bw-social-link.bw-twitter::before {
    content: 'X';
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: white;
    font-size: 14px;
    background: none;
    filter: none;
}

.bw-social-link.bw-facebook::before {
    content: 'f';
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: white;
    font-size: 16px;
    background: none;
    filter: none;
}

/* Inline Style */
.bw-schema-author-inline {
    display: inline-block;
    font-style: italic;
    color: #666;
    margin: 10px 0;
}

.bw-schema-author-inline a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.bw-schema-author-inline a:hover {
    text-decoration: underline;
}

/* Minimal Style */
.bw-schema-author-minimal {
    margin: 10px 0;
    padding: 10px;
    background: #f5f5f5;
    border-left: 3px solid #333;
}

.bw-schema-author-minimal a {
    color: #333;
    text-decoration: none;
}

.bw-schema-author-minimal a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .bw-schema-author-card .bw-author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .bw-schema-author-card .bw-author-social {
        justify-content: center;
    }
}