/* Post Container */
.post-container {
    padding: 100px 0 40px;
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.9rem;
    padding: 0 20px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    margin-right: 10px;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #999;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs [aria-current="page"] {
    color: #666;
}

/* Blog Post */
.blog-post {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 0 20px 40px;
}

.post-header h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.3;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.post-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.featured-image-wrapper {
    margin: 20px 0 30px;
}

.featured-image-figure {
    margin: 0;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 10px;
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.post-content h2, 
.post-content h3, 
.post-content h4 {
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.post-content h2 {
    font-size: 1.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.3rem;
}

.post-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

/* Post Footer */
.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.social-sharing {
    margin-bottom: 30px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.copy-url-btn {
    background-color: var(--primary-color);
    border: none;
    cursor: pointer;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.tags-label {
    margin-right: 10px;
    font-weight: 500;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-list a {
    display: inline-block;
    background-color: #f0f0f0;
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tags-list a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Related Posts */
.related-posts {
    margin: 40px 20px 0;
}

.related-posts h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.related-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.related-card h3 {
    padding: 15px;
    font-size: 1.2rem;
}

.related-card a {
    color: var(--dark-color);
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 1rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-content h2 {
        font-size: 1rem;
    }
    
    .post-content h3 {
        font-size: 0.5rem;
    }
}

@media (max-width: 576px) {
    .post-container {
        padding: 80px 0 30px;
    }
    
    .blog-post {
        padding: 20px;
        margin: 0 10px 30px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .related-posts {
        margin: 30px 10px 0;
    }
}