/* Single Post Styles */

.single-post {
    background: #fff;
}

/* Post Header */
.post-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 24px;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-categories .badge {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Post Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

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

.meta-item i {
    color: #DC2626;
    font-size: 14px;
}

/* Featured Image */
.post-featured-image {
    overflow: hidden;
    border-radius: 12px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Post Content */
.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

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

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

.post-content h2 {
    font-size: 32px;
}

.post-content h3 {
    font-size: 26px;
}

.post-content h4 {
    font-size: 22px;
}

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

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

.post-content blockquote {
    border-left: 4px solid #DC2626;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
}

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

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

.page-links-title {
    font-weight: 600;
    margin-right: 10px;
}

.page-links span {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 12px;
    background: #f8f9fa;
    border-radius: 4px;
}

.page-links span a {
    color: #DC2626;
    text-decoration: none;
}

/* Tags */
.post-tags {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.tags-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.tag-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.tag-badge:hover {
    background: #DC2626;
    color: #fff;
    border-color: #DC2626;
}

/* Social Share */
.post-social-share {
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.share-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.share-facebook {
    background-color: #1877f2;
    color: #fff;
}

.share-facebook:hover {
    background-color: #0d65d9;
    color: #fff;
    transform: translateY(-2px);
}

.share-twitter {
    background-color: #1da1f2;
    color: #fff;
}

.share-twitter:hover {
    background-color: #0c8bd9;
    color: #fff;
    transform: translateY(-2px);
}

.share-linkedin {
    background-color: #0077b5;
    color: #fff;
}

.share-linkedin:hover {
    background-color: #006399;
    color: #fff;
    transform: translateY(-2px);
}

.share-email {
    background-color: #6c757d;
    color: #fff;
}

.share-email:hover {
    background-color: #5a6268;
    color: #fff;
    transform: translateY(-2px);
}

.share-copy {
    background-color: #DC2626;
    color: #fff;
}

.share-copy:hover {
    background-color: #B91C1C;
    color: #fff;
    transform: translateY(-2px);
}

.share-copy.copied {
    background-color: #10b981;
}

/* Post Navigation */
.post-navigation {
    margin-top: 40px;
}

.nav-post {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.nav-post:hover {
    background: #fff;
    border-color: #DC2626;
    transform: translateY(-2px);
}

.nav-label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.nav-prev .nav-label::before {
    content: "← ";
}

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

.nav-next .nav-label::after {
    content: " →";
}

/* Responsive */
@media (max-width: 768px) {
    .post-title {
        font-size: 32px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-content {
        font-size: 16px;
    }
    
    .post-content h2 {
        font-size: 26px;
    }
    
    .post-content h3 {
        font-size: 22px;
    }
    
    .post-content h4 {
        font-size: 18px;
    }
    
    .post-social-share {
        padding: 20px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .nav-post {
        margin-bottom: 15px;
    }
    
    .nav-next {
        text-align: left;
    }
}
