/* Blog Post Styles */
.blog-post-container {
    padding: 50px 0;
    background-color: var(--background-light);
}

.blog-post-header {
    margin-bottom: 30px;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.3;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.post-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-share span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--background-white);
    border-radius: 50%;
    transition: var(--transition);
}

.post-share a span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.post-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.blog-post-layout {
    display: flex;
    gap: 30px;
}

.blog-post-content {
    flex: 2;
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.featured-image img {
    width: 100%;
}

.post-content {
    padding: 30px;
}

.post-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

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

.post-content ul li {
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.6;
}

.post-quote {
    background-color: var(--background-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
}

.post-quote p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
}

.post-tags span {
    color: var(--text-dark);
    font-weight: 500;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.prev-post, .next-post {
    max-width: 45%;
    text-decoration: none;
    transition: var(--transition);
}

.prev-post:hover, .next-post:hover {
    transform: translateX(-5px);
}

.next-post:hover {
    transform: translateX(5px);
}

.prev-post span, .next-post span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.prev-post h4, .next-post h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

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

.post-comments {
    padding: 30px;
}

.post-comments h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

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

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment-content {
    margin-bottom: 15px;
}

.comment-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.reply-btn:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.comment-form {
    margin-top: 40px;
}

.comment-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

.blog-sidebar {
    flex: 1;
}

.author-profile {
    text-align: center;
}

.author-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.author-profile h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.author-profile p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--background-light);
    border-radius: 50%;
    transition: var(--transition);
}

.author-social a span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .blog-post-layout {
        flex-direction: column;
    }
    
    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 1.8rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
    }
    
    .next-post {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .blog-post-header h1 {
        font-size: 1.5rem;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-content h2 {
        font-size: 1.3rem;
    }
    
    .post-tags, .post-navigation {
        padding: 15px 20px;
    }
}