/**
 * Single Post Styles
 *
 * Minimal and modern styling for single blog posts
 *
 * @package Nila
 * @since 1.0.0
 */

/* ============================================
   Main Container
   ============================================ */
.single-post .container {
    padding: 40px 15px;
}

.single-post .row {
    margin: 0;
}

.single-post-content {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

/* ============================================
   Post Thumbnail
   ============================================ */
.post-thumbnail-single {
    margin-bottom: 40px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e5e5e5;
}

.post-thumbnail-single img {
    width: 100%;
    height: auto;
    display: block;
}

.post-thumbnail-caption {
    background: #f8f9fa;
    color: #666;
    padding: 10px 20px;
    font-size: 13px;
    text-align: center;
    font-style: italic;
    border-top: 1px solid #e5e5e5;
}

/* ============================================
   Post Categories
   ============================================ */
.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f8f9fa;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e5e5e5;
}

.post-category:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* ============================================
   Entry Header
   ============================================ */
.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.entry-title {
    font-size: 42px;
    font-weight: 300;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* ============================================
   Entry Meta
   ============================================ */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 0;
    border: none;
    margin-bottom: 30px;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
}

.entry-meta span i {
    color: #999;
    font-size: 14px;
}

.entry-meta .meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-meta .meta-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
}

.entry-meta .meta-author a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.entry-meta .meta-author a:hover {
    color: #667eea;
}

.entry-meta a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.entry-meta a:hover {
    color: #667eea;
}

/* ============================================
   Entry Content
   ============================================ */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

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

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 500;
}

.entry-content h2 {
    font-size: 28px;
    font-weight: 400;
}

.entry-content h3 {
    font-size: 24px;
    font-weight: 400;
}

.entry-content h4 {
    font-size: 20px;
    font-weight: 500;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-right: 30px;
}

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

.entry-content blockquote {
    border-right: 3px solid #e5e5e5;
    padding: 20px 25px;
    margin: 30px 0;
    background: #f8f9fa;
    border-radius: 0;
    font-style: italic;
    color: #555;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    margin: 30px 0;
    border: 1px solid #e5e5e5;
}

/* ============================================
   Entry Footer
   ============================================ */
.entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tags-label {
    font-weight: 500;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tags-label i {
    color: #999;
    font-size: 14px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
    border: 1px solid #e5e5e5;
}

.post-tag:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* ============================================
   Share Buttons
   ============================================ */
.post-share-top,
.post-share-bottom {
    margin: 30px 0;
    padding: 20px 0;
    background: transparent;
    border-radius: 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.share-title {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Page Links
   ============================================ */
.page-links {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.page-links a,
.page-links .page-number {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    background: #f8f9fa;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid #e5e5e5;
    font-size: 14px;
}

.page-links a:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .single-post .container {
        padding: 20px 10px;
    }
    
    .entry-title {
        font-size: 28px;
    }
    
    .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .entry-content {
        font-size: 15px;
    }
    
    .entry-content h2 {
        font-size: 22px;
    }
    
    .entry-content h3 {
        font-size: 20px;
    }
    
    .entry-content h4 {
        font-size: 18px;
    }
}

/* ============================================
   RTL Support
   ============================================ */
.rtl .entry-content ul,
.rtl .entry-content ol {
    padding-right: 0;
    padding-left: 30px;
}

.rtl .entry-content blockquote {
    border-right: none;
    border-left: 3px solid #e5e5e5;
}
