/* single.css - Estilos da página individual de notícia */

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Single Article */
.single-article {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.article-excerpt {
    font-size: 20px;
    line-height: 1.6;
    color: #555;
    font-weight: 300;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.article-body p {
    margin-bottom: 20px;
}

/* Share Section */
.share-section {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0077b5; }

/* Related News */
.related-news {
    margin: 40px 0;
}

.related-news h3 {
    margin-bottom: 20px;
    font-size: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.related-item h4 {
    font-size: 16px;
    line-height: 1.4;
}

/* Comments Section */
.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comments-section h3 {
    margin-bottom: 30px;
    font-size: 24px;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Comment Form */
.comment-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.comment-form h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.comment-form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.comment-form button:hover {
    background: #0056b3;
}

/* Comments List */
.comments-list {
    margin-top: 30px;
}

.comment {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-header strong {
    color: #333;
}

.comment-date {
    font-size: 12px;
    color: #666;
}

.comment p {
    color: #555;
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    color: #666;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Numbered Sidebar Articles */
.sidebar-article.numbered {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.sidebar-article .number {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 28px;
    }
    
    .article-excerpt {
        font-size: 18px;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        font-size: 12px;
    }
}