/* Breadcrumb */
.breadcrumb {
    background: linear-gradient(135deg, #8b1a1a 0%, #c41e1e 50%, #de8d1e 100%);
    padding: 18px 0;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(237, 12, 12, 0.3);
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb li::after {
    content: '›';
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 400;
}

.breadcrumb li:last-child {
    color: #ffffff;
    font-weight: 600;
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #ffffff;
    font-weight: 600;
}

/* Blog Post Page */
.blog-post-page {
    padding: 40px 0 60px;
    background: #fafafa;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

/* Post Content */
.post-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* Post Header */
.post-header {
    padding: 40px 50px 30px;
}

.post-category {
    margin-bottom: 15px;
}

.post-category a {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s;
}

.post-category a:hover {
    background: var(--secondary-color);
}

.post-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-color);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.meta-item svg {
    color: var(--primary-color);
}

/* Featured Image */
.post-featured-image {
    margin: 0;
    border-radius: 0;
}

.post-featured-image .placeholder-image {
    padding-top: 50%;
}

/* Social Share */
.social-share {
    padding: 25px 50px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.share-label {
    font-weight: 600;
    color: var(--text-color);
}

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

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

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

.share-btn.pinterest {
    background: #e60023;
}

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

.share-btn.email {
    background: #666;
}

/* Post Body */
.post-body {
    padding: 40px 50px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
}

.post-body .lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
}

.post-body h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 35px 0 20px;
    color: var(--text-color);
}

.post-body h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--text-color);
}

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

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

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

.post-body blockquote {
    background: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    color: var(--text-color);
}

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

.highlight-box {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6e6 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.highlight-box h3 {
    font-size: 20px;
    margin: 0 0 12px 0;
    color: var(--accent-color);
}

.highlight-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* Post Tags */
.post-tags {
    padding: 25px 50px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tag-label {
    font-weight: 600;
    color: var(--text-color);
}

.tag {
    display: inline-block;
    padding: 6px 15px;
    background: var(--bg-light);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Author Box */
.author-box {
    padding: 30px 50px;
    background: var(--bg-light);
    display: flex;
    gap: 20px;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar .placeholder-image {
    width: 100%;
    height: 100%;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.author-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Comments Section */
.comments-section {
    padding: 40px 50px;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
}

.comments-list {
    margin-bottom: 40px;
}

.comment-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

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

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar .placeholder-image {
    width: 100%;
    height: 100%;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

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

.comment-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 10px;
}

.comment-reply {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.comment-reply:hover {
    color: var(--secondary-color);
}

/* Comment Form */
.comment-form {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
}

.comment-form h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

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

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

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

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

/* Recent Posts Widget */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.recent-post-item:hover {
    background: var(--bg-light);
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb .placeholder-image {
    width: 100%;
    height: 100%;
}

.recent-post-info h5 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text-color);
}

.post-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Categories Widget */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.category-list a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 18px;
}

.category-list span {
    color: var(--text-light);
    font-size: 13px;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr 300px;
        gap: 35px;
    }

    .post-header,
    .post-body,
    .social-share,
    .post-tags,
    .author-box,
    .comments-section {
        padding-left: 35px;
        padding-right: 35px;
    }
}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .post-title {
        font-size: 28px;
    }

    .post-header,
    .post-body,
    .social-share,
    .post-tags,
    .author-box,
    .comments-section {
        padding-left: 25px;
        padding-right: 25px;
    }

    .post-body {
        font-size: 16px;
    }

    .post-body h2 {
        font-size: 24px;
    }

    .post-body h3 {
        font-size: 20px;
    }

    .social-share {
        flex-wrap: wrap;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 24px;
    }

    .post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .post-header,
    .post-body,
    .social-share,
    .post-tags,
    .author-box,
    .comments-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .share-buttons {
        flex-wrap: wrap;
    }
}
