/* Single Post Styling for IPTV Theme */

/* Main post container */
.single-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Post header styling */
.post-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a2a6c;
    margin-bottom: 15px;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-icon {
    color: #ff6b00;
}

/* Featured image styling */
.post-featured-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.post-featured-image img:hover {
    transform: scale(1.02);
}

/* Post content styling */
.post-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.post-content h2 {
    color: #1a2a6c;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.post-content h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul, 
.post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content a {
    color: #ff6b00;
    text-decoration: none;
    border-bottom: 1px dotted #ff6b00;
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: #e55e00;
    border-bottom: 1px solid #e55e00;
}

.post-content blockquote {
    border-left: 4px solid #ff6b00;
    padding: 20px;
    margin: 25px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.post-content blockquote p {
    margin-bottom: 0;
    color: #555;
}

.post-content code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.post-content pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
}

/* Tags styling */
.post-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.tags-title {
    font-size: 1.2rem;
    color: #1a2a6c;
    margin-bottom: 15px;
    font-weight: 600;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tag {
    display: inline-block;
    background: #1a2a6c;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #ff6b00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Post navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-previous, 
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.post-nav-link {
    display: block;
    color: #1a2a6c;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.post-nav-link:hover {
    background: #ff6b00;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

.nav-label {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
    opacity: 0.8;
}

.nav-title {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Comments section */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 1.5rem;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.comment:last-child {
    border-bottom: none;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author {
    font-weight: 600;
    color: #1a2a6c;
}

.comment-date {
    margin-left: 15px;
    font-size: 0.9rem;
    color: #666;
}

.comment-content {
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .single-post-container {
        padding: 20px 15px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .post-nav-link {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.7rem;
    }
    
    .single-post-container {
        padding: 15px 10px;
    }
    
    .post-content {
        font-size: 0.95rem;
    }
}
