/**
 * About Author Shortcode Plugin Styles
 * Version: 1.0.0
 */

/* Container */
.about-author-shortcode-container {
    background: #f9f9f900;
}

/* Content Section */
.about-author-content {
    margin-bottom: 20px;
}

/* Additional Content Section */
.about-author-additional-content {
    margin-top: 20px;
}

.about-author-heading {
    margin: 0 0 20px;
    font-weight: 600;
    line-height: 1.3;
    /* Color and font size set by inline styles from admin settings */
}

.about-author-content p,
.about-author-additional-content p {
    margin: 0 0 15px;
    line-height: 1.6;
    /* Color and font size set by inline styles */
}

.about-author-content p:last-child,
.about-author-additional-content p:last-child {
    margin-bottom: 0;
}

.about-author-content ul,
.about-author-content ol,
.about-author-additional-content ul,
.about-author-additional-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.about-author-content li,
.about-author-additional-content li {
    margin: 8px 0;
    line-height: 1.6;
    /* Color and font size set by inline styles from admin settings */
}

.about-author-content a {
    color: #0073aa;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.about-author-content a:hover {
    color: #005a87;
}

.about-author-content strong,
.about-author-content b,
.about-author-additional-content strong,
.about-author-additional-content b {
    font-weight: 600;
    /* Color set by inline styles from admin settings */
}

.about-author-content em,
.about-author-content i,
.about-author-additional-content em,
.about-author-additional-content i {
    font-style: italic;
}

.about-author-content blockquote,
.about-author-additional-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 4px solid #0073aa;
    background-color: rgba(0, 115, 170, 0.05);
    font-style: italic;
    color: #666666;
}

/* Author Meta Section */
.about-author-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    display: block;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    line-height: 1.3;
}

.author-bio {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #666666;
}

.author-website {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.author-website:hover {
    background-color: #005a87;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .about-author-heading {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .about-author-content p {
        font-size: 15px;
    }
    
    .about-author-meta {
        gap: 15px;
        padding-top: 20px;
    }
    
    .author-name {
        font-size: 18px;
    }
    
    .author-bio {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-author-shortcode-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .about-author-heading {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .about-author-content {
        margin-bottom: 20px;
    }
    
    .about-author-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .about-author-meta {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        gap: 15px;
        padding-top: 15px;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .author-info {
        text-align: center;
        width: 100%;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .author-bio {
        font-size: 13px;
    }
    
    .author-website {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-author-shortcode-container {
    animation: fadeInUp 0.6s ease forwards;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .about-author-shortcode-container {
        background: #2a2a2a;
        border-color: #3a3a3a;
    }
    
    .about-author-heading {
        color: #ffffff;
    }
    
    .about-author-content p,
    .about-author-content li,
    .author-bio {
        color: #cccccc;
    }
    
    .about-author-content strong,
    .about-author-content b,
    .author-name {
        color: #ffffff;
    }
    
    .about-author-meta {
        border-top-color: #3a3a3a;
    }
    
    .author-avatar img {
        border-color: #2a2a2a;
    }
}

/* Print Styles */
@media print {
    .about-author-shortcode-container {
        border: 1px solid #000;
        background: #fff;
        color: #000;
        page-break-inside: avoid;
        box-shadow: none;
    }
    
    .about-author-meta {
        border-top: 1px solid #000;
    }
    
    .author-website {
        background: #000;
        color: #fff;
    }
    
    .about-author-shortcode-container::after {
        content: "";
        display: table;
        clear: both;
    }
}
