/**
 * OTE Article Manager Frontend Styles
 */

.ote-article-meta {
    margin-bottom: 20px;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    flex: 1;
}

.byline {
    color: #666;
    font-size: 14px;
}

.author-name {
    font-weight: 600;
    text-decoration: none;
    color: #0073aa;
    font-size: 16px;
}

.author-name:hover {
    text-decoration: underline;
}

.author-role {
    color: #666;
    font-size: 14px;
}

.article-meta {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.reading-time {
    font-style: italic;
}

.article-author-bio {
    margin-top: 40px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

.article-author-bio h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.author-bio-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-bio-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bio-text {
    flex: 1;
    line-height: 1.6;
}

.bio-text p {
    margin-bottom: 15px;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

/* Author Archive Pages */
.taxonomy-article_author .author-archive-header {
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    color: white;
    border-radius: 8px;
}

.taxonomy-article_author .author-archive-info {
    display: flex;
    gap: 25px;
    align-items: center;
}

.taxonomy-article_author .author-archive-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.taxonomy-article_author .author-archive-details h1 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 32px;
}

.taxonomy-article_author .author-archive-role {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.taxonomy-article_author .author-archive-bio {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

.taxonomy-article_author .author-social {
    margin-top: 20px;
}

.taxonomy-article_author .author-social a {
    display: inline-block;
    margin-right: 15px;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.taxonomy-article_author .author-social a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Article List in Author Archives */
.taxonomy-article_author .author-articles {
    margin-top: 30px;
}

.taxonomy-article_author .author-articles h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-author-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .author-bio-content {
        flex-direction: column;
        text-align: center;
    }
    
    .taxonomy-article_author .author-archive-info {
        flex-direction: column;
        text-align: center;
    }
    
    .taxonomy-article_author .author-archive-details h1 {
        font-size: 24px;
    }
}

/* Admin Enhancements */
.current-author-info {
    border-radius: 4px;
}

.current-author-info h4 {
    font-size: 14px;
}

.current-author-info p {
    margin: 5px 0;
    font-size: 13px;
}

/* Author Selection in Post Editor */
.ote-author-selector select {
    font-size: 14px;
}