/* blog post page */
/* Blog Post Styles */
.blog-post-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px 20px;
}

ul {
    padding-left: 30px;
}

/* Breadcrumbs */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 10px 0;
    margin-bottom: 20px;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-nav ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
}

.breadcrumb-nav li + li:before {
    content: "›";
    padding: 0 8px;
    color: #666;
}

.breadcrumb-nav a {
    color: #059669;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav .active {
    color: #666;
}

/* Two Column Layout */
.blog-content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-bottom: 30px;
}

/* Article Styles */
.blog-article {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 25px;
}

.article-header {
    margin-bottom: 0;
}

.article-title {
    font-size: 1.6rem;
    font-weight: normal;
    color: #333;
    margin-bottom: 0;
    line-height: 1.4;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.post-meta {
    color: #7f8c8d;
    font-size: 0.85rem;
    padding: 15px 0 20px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.post-meta i {
    margin-right: 4px;
}

.post-meta a {
    color: #059669;
    text-decoration: none;
}

.post-meta a:hover {
    text-decoration: underline;
}

.article-content {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.article-content p {
    margin-bottom: 12px;
}

.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn i {
    margin-right: 5px;
}

.btn-back {
    background: #f8f9fa;
    color: #555;
    border: 1px solid #ddd;
}

.btn-back:hover {
    background: #e9ecef;
    color: #333;
}

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

.share-label {
    color: #7f8c8d;
    font-weight: normal;
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    gap: 6px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.social-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.social-btn.twitter:hover {
    background: #1a8cd8;
}

.social-btn.facebook {
    background: #1877F2;
    color: white;
}

.social-btn.facebook:hover {
    background: #1564d6;
}

.social-btn.linkedin {
    background: #0A66C2;
    color: white;
}

.social-btn.linkedin:hover {
    background: #095196;
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-widget {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.widget-header {
    background: #f8f9fa;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: normal;
    color: #333;
    font-size: 0.95rem;
}

.widget-header i {
    margin-right: 6px;
}

.widget-body {
    padding: 16px;
}

.widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-list li {
    padding: 10px 16px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    color: #333;
    text-decoration: none;
    font-weight: normal;
    flex: 1;
    font-size: 0.9rem;
}

.widget-list a:hover {
    color: #059669;
}

.badge {
    background: #059669;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.recent-post-item {
    padding: 10px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item a {
    color: #333;
    text-decoration: none;
    font-weight: normal;
    display: block;
    font-size: 0.9rem;
}

.recent-post-item a:hover {
    color: #059669;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 4px;
}

.recent-post-date i {
    margin-right: 4px;
}

.about-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

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

    .blog-article {
        padding: 20px;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .post-meta {
        font-size: 0.85rem;
        gap: 10px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .share-section {
        width: 100%;
    }

    .social-buttons {
        flex: 1;
    }

    .blog-post-wrapper {
        padding: 0 10px 20px 10px;
    }

    .breadcrumb-inner {
        padding: 0 10px;
    }

    .blog-article {
        padding: 15px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #059669;
    color: white;
    border-color: #059669;
}

.pagination .active {
    background: #059669;
    color: white;
    border-color: #059669;
    font-weight: normal;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

.pagination .page-info {
    border: none;
    padding: 8px 12px;
    color: #666;
    font-size: 0.85rem;
}
