/**
 * Estilos para Posts Individuais
 * NextLevel Theme
 */

/* Post Header */
.single-post .post-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1.5rem;
}

.single-post .post-title {
    color: var(--bs-primary);
    line-height: 1.2;
}

.single-post .post-meta {
    font-size: 0.9rem;
}

.single-post .post-meta span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Post Thumbnail */
.single-post .post-thumbnail {
    text-align: center;
}

.single-post .post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Post Content */
.single-post .post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.single-post .post-content h1,
.single-post .post-content h2,
.single-post .post-content h3,
.single-post .post-content h4,
.single-post .post-content h5,
.single-post .post-content h6 {
    color: var(--bs-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post .post-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.single-post .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.single-post .post-content blockquote {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.single-post .post-content ul,
.single-post .post-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.single-post .post-content li {
    margin-bottom: 0.5rem;
}

/* Post Tags */
.single-post .post-tags {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.single-post .tags-list a {
    display: inline-block;
    background: var(--bs-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.single-post .tags-list a:hover {
    background: var(--bs-primary);
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Post Navigation */
.single-post .post-navigation {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.single-post .nav-post-card {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.single-post .nav-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post .nav-post-card h6 a {
    color: var(--bs-primary);
    font-weight: 600;
}

.single-post .nav-post-card h6 a:hover {
    color: var(--bs-primary);
    filter: brightness(1.1);
}

/* Related Posts Section */
.related-posts {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.related-posts .section-title {
    color: var(--bs-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--bs-primary);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.related-posts .card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-posts .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-posts .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-posts .card:hover .card-img-top {
    transform: scale(1.05);
}

.related-posts .card-title a {
    color: var(--bs-primary);
    font-weight: 600;
}

.related-posts .card-title a:hover {
    color: var(--bs-primary);
    filter: brightness(1.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .single-post .post-title {
        font-size: 2rem;
    }
    
    .single-post .post-content {
        font-size: 1rem;
    }
    
    .single-post .post-meta {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .single-post .nav-post-card {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .single-post .nav-post-card.text-end {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .single-post .post-header {
        padding-bottom: 1rem;
    }
    
    .single-post .post-content p {
        text-align: left;
    }
    
    .single-post .post-content blockquote {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/* Print Styles */
@media print {
    .single-post .post-navigation,
    .related-posts {
        display: none;
    }
    
    .single-post .post-content {
        font-size: 12pt;
        line-height: 1.6;
        color: black;
    }
    
    .single-post .post-title {
        color: black;
    }
}