/* Estilos da Página do Autor - Topo Simples + Layout Category */

/* Topo Simples do Autor conforme imagem de referência */
.author-simple-header {
    background-color: #ffffff;
    padding: 30px 0;
    border-bottom: 1px solid #e9ecef;
}

.author-info-simple {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.author-avatar-simple img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #007bff;
    object-fit: cover;
}

.author-details-simple {
    flex: 1;
}

.author-name-simple {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.author-bio-simple {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.author-actions-simple {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-follow-simple {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-follow-simple:hover {
    background-color: #0056b3;
}

.btn-contact-simple {
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact-simple:hover {
    background-color: #f8f9fa;
    color: #495057;
}

/* Estilos dos Posts - Layout Category */
.author-posts-section {
    margin-top: 20px;
}

.post-card-horizontal {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.post-card-horizontal:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.post-image-wrapper {
    height: 278px;
    overflow: hidden;
}

.post-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card-horizontal:hover .post-featured-image {
    transform: scale(1.05);
}

.post-content-wrapper {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.post-category-badge {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-date {
    color: #6c757d;
    font-size: 0.85rem;
}

.post-title {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #007bff;
}

.post-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.post-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
}

.post-author img {
    border-radius: 50%;
}

.post-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Paginação */
.pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #dee2e6;
    color: #007bff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* No posts found */
.no-posts-found {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}

.no-posts-found h2 {
    color: #6c757d;
    margin-bottom: 10px;
}

.no-posts-found p {
    color: #868e96;
}

/* Responsividade */
@media (max-width: 768px) {
    .author-info-simple {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .author-name-simple {
        font-size: 1.5rem;
    }
    
    .author-simple-header {
        padding: 20px 0;
    }
    
    .post-image-wrapper {
        height: 180px;
    }
    
    .post-content-wrapper {
        padding: 15px;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
    
    .post-meta-bottom {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .author-name-simple {
        font-size: 1.3rem;
    }
    
    .author-actions-simple {
        justify-content: center;
    }
    
    .post-image-wrapper {
        height: 150px;
    }
    
    .post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}