body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, sans-serif;
    background-color: #fff;
    color: #333;
    overflow-x: visible !important;
}

/* ============================================
   BLOG INDEX PAGE STYLES
   ============================================ */

/* Container */
.blog-page-container {
    max-width: 1200px;
    margin: 80px auto 0 auto;
    padding: 20px 16px;
}

/* Breadcrumb */
.blog-breadcrumb {
    margin-bottom: 20px;
}

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

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-item a:hover {
    color: #111827;
}

.breadcrumb-item a i {
    font-size: 12px;
}

.breadcrumb-item.active span {
    color: #111827;
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #9ca3af;
    font-size: 10px;
    display: flex;
    align-items: center;
}

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #fdf2f8, #faf5ff);
    border-radius: 16px;
    padding: clamp(20px, 3vw, 32px);
    margin-bottom: clamp(16px, 2vw, 24px);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.blog-hero-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-hero-content {
    flex: 1;
    min-width: 280px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fce7f3;
    color: #9d174d;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-hero-title {
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.4;
    font-weight: 700;
    margin: 8px 0;
    color: #111827;
}

.blog-hero-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 8px 0 16px;
    line-height: 1.5;
}

.hero-list {
    margin: 16px 0 0;
    padding-left: 20px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.6;
}

.hero-list li {
    margin-bottom: 6px;
}

.blog-hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.blog-hero-stat-item {
    text-align: center;
}

.blog-hero-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.blog-hero-stat-label {
    font-size: 11px;
    color: #6b7280;
    display: block;
    margin-top: 4px;
}

/* Featured Section */
.blog-featured {
    margin-bottom: 32px;
}

.blog-featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-featured-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.blog-featured-label {
    font-size: 11px;
    color: #6b7280;
}

.blog-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.blog-featured-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.blog-featured-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.blog-featured-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-featured-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.blog-featured-badge {
    display: inline-block;
    background: #f3f4f6;
    color: #111827;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    width: fit-content;
}

.blog-featured-card-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.blog-featured-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-featured-card-title a:hover {
    color: #db2777;
}

.blog-featured-card-excerpt {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.blog-featured-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6b7280;
    margin-top: auto;
}

/* Main Content Wrapper */
.blog-main-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

/* Posts Grid */
.blog-main-content {
    min-width: 0;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.blog-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
}

.blog-card img {
    height: 150px;
    object-fit: cover;
    width: 100%;
}

.blog-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.blog-card-meta-top {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 4px;
}

.blog-card-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 8px;
    font-weight: 600;
}

.blog-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #db2777;
}

.blog-card-excerpt {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 11px;
    color: #6b7280;
}

.blog-card-read-more {
    padding: 6px 12px;
    border: 1px solid #111827;
    border-radius: 4px;
    color: #111827;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.blog-card-read-more:hover {
    background: #111827;
    color: #fff;
}

/* Empty State */
.blog-empty {
    grid-column: 1 / -1;
}

.blog-empty-message {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #6b7280;
    font-size: 14px;
}

/* Pagination */
.blog-pagination-wrapper {
    margin-top: 24px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
}

.blog-pagination-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination-item {
    margin: 0;
}

.blog-pagination-link {
    display: block;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    min-width: 40px;
    text-align: center;
}

.blog-pagination-link:hover:not(
        .blog-pagination-item-disabled .blog-pagination-link
    ) {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.blog-pagination-item-active .blog-pagination-link {
    background: #db2777;
    color: #fff;
    border-color: #db2777;
}

.blog-pagination-item-disabled .blog-pagination-link {
    color: #9ca3af;
    cursor: not-allowed;
    background: #f9fafb;
}

/* Sidebar */
.blog-sidebar {
    min-width: 0;
}

.blog-sidebar-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: #fff;
}

.blog-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #111827;
}

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

.blog-sidebar-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.blog-sidebar-list-item:last-child {
    border-bottom: none;
}

.blog-sidebar-list-item a {
    color: #111827;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    flex: 1;
}

.blog-sidebar-list-item a:hover {
    color: #db2777;
}

.blog-sidebar-count {
    font-size: 12px;
    color: #6b7280;
}

.blog-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-tag {
    display: inline-block;
    background: #f3f4f6;
    color: #111827;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-tag:hover {
    background: #db2777;
    color: #fff;
}

.blog-sidebar-post-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f1f1;
}

.blog-sidebar-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-sidebar-post-item a {
    color: #111827;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.blog-sidebar-post-item a:hover {
    color: #db2777;
}

.blog-sidebar-post-date {
    font-size: 11px;
    color: #6b7280;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-page-container {
        padding: 16px 12px;
    }

    .blog-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-hero-stats {
        width: 100%;
        justify-content: space-around;
    }

    .blog-main-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-featured-grid {
        grid-template-columns: 1fr;
    }

    .blog-card img {
        height: 180px;
    }

    .blog-featured-card img {
        height: 200px;
    }
}

/* ============================================
   BLOG SHOW PAGE STYLES
   ============================================ */

/* Table of Contents */
.kb-article-toc {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    padding: 5px;
    border-radius: 10px;
    margin: auto;
    margin-bottom: 20px;
    border: 1px solid #fbcfe8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    font-size: 12px;
    width: 100%;
}

.kb-article-toc-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

img.kb_blog_featured-image {
    max-width: 100% !important;
    height: auto !important;
}

.kb-article-toc-title p {
    font-size: 15px;
    font-weight: 700;
    color: #831843;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kb-article-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kb-article-toc-list li {
    margin-bottom: 6px;
    line-height: 1.4;
    font-size: 14px;
}

.kb-article-toc-item-h3 {
    margin-left: 14px !important;
    padding-left: 10px;
    border-left: 2px solid #f9a8d4;
    font-size: 13px !important;
}

.kb-article-toc-list a {
    color: #be185d;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    display: block;
    transition: 0.2s;
    font-size: 13px;
}

.kb-article-toc-list a:hover {
    background: #fbcfe8;
    color: #831843;
    transform: translateX(3px);
}

.kb-article-toc-list a.active {
    background: #e11d48 !important;
    color: #fff !important;
    font-weight: 700 !important;
    transform: translateX(3px) !important;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3) !important;
}

/* Author Info */
.kb-article-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.kb-article-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.kb-article-author-details h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.kb-article-author-details p {
    font-size: 12px;
    color: #999;
}

/* ============================================
   CAROUSEL STYLES
   ============================================ */
.kb-article-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.kb-article-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.kb-article-carousel-item {
    min-width: 100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.kb-article-carousel-item.active {
    opacity: 1;
    position: relative;
}

.kb-article-carousel-prev,
.kb-article-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
}

.kb-article-carousel-prev {
    left: 15px;
}

.kb-article-carousel-next {
    right: 15px;
}

.kb-article-carousel-prev:hover,
.kb-article-carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.kb-article-carousel-prev:active,
.kb-article-carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
    .kb-article-carousel-prev,
    .kb-article-carousel-next {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .kb-article-carousel-prev {
        left: 10px;
    }

    .kb-article-carousel-next {
        right: 10px;
    }
}

/* ============================================
   NEW BLOG DESIGN - Full Integration
   ============================================ */

/* Reset & Base */
.kb_blog_main-wrapper * {
    box-sizing: border-box;
}

/* Main Layout */
.kb_blog_main-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    min-height: calc(100vh - 60px);
}

/* Left Sidebar - TOC */
.kb_blog_left-sidebar {
    width: 350px;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    flex-shrink: 0;
    position: sticky;
    top: 110px;
    height: calc(100vh - 110px);
    overflow-y: auto;
}

.kb_blog_left-sidebar::-webkit-scrollbar {
    display: none;
}

.kb_blog_left-sidebar::-webkit-scrollbar-thumb {
    display: none;
}

.kb_blog_left-sidebar::-webkit-scrollbar-track {
    display: none;
}

.kb_blog_left-sidebar .kb-article-sidebar-content {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between TOC and Widget */
}

/* Sidebar Widget */
.kb_blog_sidebar-widget {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.kb_blog_sidebar-widget-title h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kb_blog_sidebar-widget-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kb_blog_sidebar-widget-item {
    display: flex;
    gap: 10px;
    text-decoration: none;
    align-items: flex-start;
    padding: 5px;
    border-radius: 8px;
    transition: background 0.2s;
}

.kb_blog_sidebar-widget-item:hover {
    background: #f8fafc;
}

.kb_blog_sidebar-widget-item-img {
    width: 60px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
}

.kb_blog_sidebar-widget-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kb_blog_sidebar-widget-item-content p {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kb_blog_sidebar-widget-item:hover .kb_blog_sidebar-widget-item-content p {
    color: #db2777;
}

/* Content Area */
.kb_blog_content-area {
    flex: 1;
    padding: 0;
    background: #fff;
}

/* Breadcrumb */
.kb_blog_breadcrumb {
    padding: 10px 5%;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px;
    color: #999;
    text-align: center;
}

.kb_blog_breadcrumb a {
    color: #666;
    text-decoration: none;
}

/* ============================================
   DEFINITION LIST
   Thẻ dl, dt, dd trong nội dung bài viết
   ============================================ */

.kb_blog_article-content dl {
    margin: 1.5rem 0;
    padding: 6px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.05);
}

/* Thuật ngữ hoặc tiêu đề */
.kb_blog_article-content dt {
    position: relative;
    margin: 0;
    padding: 16px 0 8px 22px;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
}

/* Dấu tròn trang trí trước tiêu đề */
.kb_blog_article-content dt::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 0;
    width: 9px;
    height: 9px;
    background: #db2777;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.12);
}

/* Nội dung giải thích */
.kb_blog_article-content dd {
    margin: 0;
    padding: 0 0 16px 22px;
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    border-bottom: 1px dashed #e2e8f0;
}

/* Bỏ đường kẻ ở phần tử cuối */
.kb_blog_article-content dd:last-child {
    border-bottom: none;
}

/* Nếu bên trong dd có đoạn văn */
.kb_blog_article-content dd p {
    margin: 0 0 8px;
}

.kb_blog_article-content dd p:last-child {
    margin-bottom: 0;
}

/* Link bên trong definition list */
.kb_blog_article-content dl a {
    color: #db2777;
    font-weight: 600;
    text-decoration: none;
}

.kb_blog_article-content dl a:hover {
    color: #be185d;
    text-decoration: underline;
}

/* Strong bên trong dt */
.kb_blog_article-content dt strong {
    color: inherit;
    font-weight: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .kb_blog_article-content dl {
        margin: 1.25rem 0;
        padding: 4px 14px;
        border-radius: 10px;
    }

    .kb_blog_article-content dt {
        padding: 14px 0 7px 20px;
        font-size: 16px;
    }

    .kb_blog_article-content dt::before {
        top: 21px;
        width: 8px;
        height: 8px;
    }

    .kb_blog_article-content dd {
        padding: 0 0 14px 20px;
        font-size: 15px;
        line-height: 1.7;
    }
}

.kb_blog_breadcrumb a:hover {
    color: #1d9cd7;
}

.kb_blog_breadcrumb span {
    color: #ccc;
}

/* ============================================
   ARTICLE CONTENT FORM
   Form HTML thuần bên trong nội dung bài viết
   ============================================ */

.kb_blog_article-content form {
    width: 100%;
    max-width: 760px;
    margin: 25px auto;
    padding: 0;
    font-family: inherit;
    font-size: 16px;
    color: #334155;
}

/* Khung bao quanh biểu mẫu */
.kb_blog_article-content form fieldset {
    min-width: 0;
    margin: 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

/* Tiêu đề của fieldset */
.kb_blog_article-content form legend {
    max-width: calc(100% - 30px);
    padding: 0 12px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
}

/* Mỗi nhóm trường trong form */
.kb_blog_article-content form p {
    margin: 0 0 18px;
}

/* Nhóm cuối không cần khoảng cách lớn */
.kb_blog_article-content form p:last-child {
    margin-bottom: 0;
}

/* Nhãn chung */
.kb_blog_article-content form label,
.kb_blog_article-content form p > span {
    display: inline-block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

/* Trường nhập liệu chung */
.kb_blog_article-content form input,
.kb_blog_article-content form select,
.kb_blog_article-content form textarea,
.kb_blog_article-content form button {
    box-sizing: border-box;
    font: inherit;
}

/* Text input */
.kb_blog_article-content form input[type="text"],
.kb_blog_article-content form input[type="email"],
.kb_blog_article-content form input[type="tel"],
.kb_blog_article-content form input[type="url"],
.kb_blog_article-content form input[type="password"],
.kb_blog_article-content form input[type="search"],
.kb_blog_article-content form input[type="number"],
.kb_blog_article-content form input[type="date"],
.kb_blog_article-content form input[type="time"],
.kb_blog_article-content form input[type="datetime-local"],
.kb_blog_article-content form input[type="month"],
.kb_blog_article-content form input[type="week"],
.kb_blog_article-content form input[type="color"],
.kb_blog_article-content form input[type="file"],
.kb_blog_article-content form select,
.kb_blog_article-content form textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 13px;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

/* Không áp chiều cao cố định cho textarea */
.kb_blog_article-content form textarea {
    min-height: 130px;
    line-height: 1.6;
    resize: vertical;
}

/* Select */
.kb_blog_article-content form select {
    cursor: pointer;
}

/* Date, time */
.kb_blog_article-content form input[type="date"],
.kb_blog_article-content form input[type="time"],
.kb_blog_article-content form input[type="datetime-local"] {
    cursor: pointer;
}

/* File input */
.kb_blog_article-content form input[type="file"] {
    min-height: auto;
    padding: 8px;
    cursor: pointer;
}

.kb_blog_article-content form input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 8px 12px;
    color: #831843;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kb_blog_article-content form input[type="file"]::file-selector-button:hover {
    color: #ffffff;
    background: #db2777;
    border-color: #db2777;
}

/* Placeholder */
.kb_blog_article-content form input::placeholder,
.kb_blog_article-content form textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* Hover */
.kb_blog_article-content form input[type="text"]:hover,
.kb_blog_article-content form input[type="email"]:hover,
.kb_blog_article-content form input[type="tel"]:hover,
.kb_blog_article-content form input[type="url"]:hover,
.kb_blog_article-content form input[type="password"]:hover,
.kb_blog_article-content form input[type="search"]:hover,
.kb_blog_article-content form input[type="number"]:hover,
.kb_blog_article-content form input[type="date"]:hover,
.kb_blog_article-content form input[type="time"]:hover,
.kb_blog_article-content form input[type="datetime-local"]:hover,
.kb_blog_article-content form select:hover,
.kb_blog_article-content form textarea:hover {
    border-color: #f9a8d4;
}

/* Focus */
.kb_blog_article-content form input:focus,
.kb_blog_article-content form select:focus,
.kb_blog_article-content form textarea:focus {
    background-color: #ffffff;
    border-color: #db2777;
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.12);
}

/* Checkbox và radio */
.kb_blog_article-content form input[type="checkbox"],
.kb_blog_article-content form input[type="radio"] {
    width: 17px;
    height: 17px;
    margin: 0 7px 0 0;
    padding: 0;
    accent-color: #db2777;
    vertical-align: -3px;
    cursor: pointer;
}

/* Label chứa trực tiếp radio hoặc checkbox */
.kb_blog_article-content form label:has(input[type="checkbox"]),
.kb_blog_article-content form label:has(input[type="radio"]) {
    display: inline-flex;
    align-items: center;
    margin: 4px 16px 5px 0;
    font-weight: 500;
    cursor: pointer;
}

/* Tránh lệch do vertical-align khi nằm trong label flex */
.kb_blog_article-content
    form
    label:has(input[type="checkbox"])
    input[type="checkbox"],
.kb_blog_article-content
    form
    label:has(input[type="radio"])
    input[type="radio"] {
    flex: 0 0 auto;
    vertical-align: middle;
}

/* Range */
.kb_blog_article-content form input[type="range"] {
    width: 100%;
    accent-color: #db2777;
    cursor: pointer;
}

/* Color */
.kb_blog_article-content form input[type="color"] {
    width: 70px;
    padding: 5px;
    cursor: pointer;
}

/* Button */
.kb_blog_article-content form button,
.kb_blog_article-content form input[type="submit"],
.kb_blog_article-content form input[type="reset"],
.kb_blog_article-content form input[type="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 8px 8px 0;
    padding: 9px 18px;
    color: #ffffff;
    background: #db2777;
    border: 1px solid #db2777;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* Nút nhập lại */
.kb_blog_article-content form button[type="reset"],
.kb_blog_article-content form input[type="reset"] {
    color: #475569;
    background: #ffffff;
    border-color: #cbd5e1;
}

/* Hover nút chính */
.kb_blog_article-content form button:hover,
.kb_blog_article-content form input[type="submit"]:hover,
.kb_blog_article-content form input[type="button"]:hover {
    color: #ffffff;
    background: #be185d;
    border-color: #be185d;
    box-shadow: 0 5px 14px rgba(190, 24, 93, 0.2);
    transform: translateY(-1px);
}

/* Hover nút nhập lại */
.kb_blog_article-content form button[type="reset"]:hover,
.kb_blog_article-content form input[type="reset"]:hover {
    color: #0f172a;
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: none;
}

/* Trạng thái nhấn */
.kb_blog_article-content form button:active,
.kb_blog_article-content form input[type="submit"]:active,
.kb_blog_article-content form input[type="reset"]:active,
.kb_blog_article-content form input[type="button"]:active {
    transform: translateY(0);
}

/* Disabled */
.kb_blog_article-content form input:disabled,
.kb_blog_article-content form select:disabled,
.kb_blog_article-content form textarea:disabled,
.kb_blog_article-content form button:disabled {
    color: #94a3b8;
    background: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Readonly */
.kb_blog_article-content form input[readonly],
.kb_blog_article-content form textarea[readonly] {
    background: #f8fafc;
    color: #64748b;
}

/* Trạng thái kiểm tra dữ liệu */
.kb_blog_article-content
    form
    input:not([type="radio"]):not([type="checkbox"]):user-invalid,
.kb_blog_article-content form select:user-invalid,
.kb_blog_article-content form textarea:user-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.kb_blog_article-content
    form
    input:not([type="radio"]):not([type="checkbox"]):user-valid,
.kb_blog_article-content form select:user-valid,
.kb_blog_article-content form textarea:user-valid {
    border-color: #16a34a;
}

/* Mô tả nhỏ phía dưới input */
.kb_blog_article-content form small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

/* Output */
.kb_blog_article-content form output {
    display: inline-block;
    padding: 4px 9px;
    color: #831843;
    background: #fdf2f8;
    border-radius: 5px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .kb_blog_article-content form {
        max-width: 100%;
        margin: 20px auto;
        font-size: 15px;
    }

    .kb_blog_article-content form fieldset {
        padding: 18px 14px;
        border-radius: 10px;
    }

    .kb_blog_article-content form legend {
        font-size: 18px;
    }

    .kb_blog_article-content form input[type="text"],
    .kb_blog_article-content form input[type="email"],
    .kb_blog_article-content form input[type="tel"],
    .kb_blog_article-content form input[type="url"],
    .kb_blog_article-content form input[type="password"],
    .kb_blog_article-content form input[type="search"],
    .kb_blog_article-content form input[type="number"],
    .kb_blog_article-content form input[type="date"],
    .kb_blog_article-content form input[type="time"],
    .kb_blog_article-content form input[type="datetime-local"],
    .kb_blog_article-content form select,
    .kb_blog_article-content form textarea {
        min-height: 44px;
        font-size: 16px;
    }

    .kb_blog_article-content form button,
    .kb_blog_article-content form input[type="submit"],
    .kb_blog_article-content form input[type="reset"],
    .kb_blog_article-content form input[type="button"] {
        width: 100%;
        margin: 0 0 10px;
    }
}

/* Featured Image Section */
.kb_blog_featured-section {
    position: relative;
    background: #000;
    border-radius: 15px;
    margin: 20px 5px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb_blog_featured-section .kb-article-carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.kb_blog_featured-section .kb-article-carousel-item {
    width: 100%;
    height: 100%;
}

.kb_blog_featured-section .kb-article-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kb_blog_featured-overlay {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 500px;
    z-index: 10;
}

.kb_blog_featured-overlay h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.kb_blog_featured-overlay h2 span {
    color: #999;
}

.kb_blog_featured-overlay p {
    font-size: 24px;
    color: #ccc;
    line-height: 1.4;
}

.kb_blog_article {
    position: relative;
    width: 95%;
    margin: 0 auto 20px auto;
    background-color: white;
    z-index: 100;
    border-radius: 10px;
    overflow: hidden;
}

/* Article Header */
.kb_blog_article-header {
    background: #fff;
}

.kb_blog_article-category {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.kb_blog_article-title,
.kb_blog_article-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 10px;
}

.kb_blog_article-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 20px;
}

.kb_blog_article-date i {
    margin-right: 5px;
}

/* Article Content Redesign - International Standard */
.kb_blog_article-content {
    padding: 0;
    font-size: 17px; /* Adjusted from 18px */
    line-height: 1.5;
    color: #334155; /* Slate 700 - softer than pure black */
    font-family: "Quicksand", sans-serif;
}

.kb_blog_article-content p {
    margin-bottom: 10px;
}

.kb_blog_article-content h2,
.kb_blog_article-content h3,
.kb_blog_article-content h4,
.kb_blog_article-content h5,
.kb_blog_article-content h6 {
    color: #0f172a; /* Slate 900 */
    font-weight: 500;
    margin-bottom: 10px;
    scroll-margin-top: 100px;
}

.kb_blog_article-content h2 {
    font-size: 20px; /* Adjusted from 28px */
    border-left: 3px solid #df8e8e;
    padding-left: 12px;
    font-weight: 700;
}

.kb_blog_article-content h3 {
    font-size: 18px; /* Adjusted from 24px */
    font-weight: 600;
    border-bottom: 1px solid #e0bfbf;
    width: max-content;
}

.kb_blog_article-content hr {
    height: 1px;
    background-color: #db2777;
    width: 90%;
    margin: 1rem auto;
    border: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.kb_blog_article-content h4 {
    font-size: 19px; /* Adjusted from 21px */
}

.kb_blog_article-content h5 {
    font-size: 17px; /* Matches body font size but bold */
}

.kb_blog_article-content strong {
    font-weight: 700;
}

.kb_blog_article-content ul,
.kb_blog_article-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
    padding: 0;
}

.kb_blog_article-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.kb_blog_article-content ul li {
    list-style: circle !important;
}

.kb_blog_article-content ol li {
    list-style: decimal !important;
}

.kb_blog_article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid #94a3b8;
    background-color: #f8fafc;
    font-style: italic;
    color: #475569;
}

.kb_blog_article-content blockquote p {
    margin: 0 !important;
}

/* Image Optimization */
.kb_blog_article-content img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important; /* Remove fixed width */
    display: block;
    margin: 0.5rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.kb_blog_article-content figure.image {
    width: auto !important;
    max-width: 100%;
    margin: 0.5rem auto;
    text-align: center;
}

.kb_blog_article-content figure figcaption {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
}

/* ============================================
   ARTICLE TABLE
   Responsive trên desktop, tablet và mobile
   ============================================ */

.kb_blog_article-content table {
    width: 100% !important;
    max-width: 100%;
    margin: 1.75rem 0 !important;

    color: #334155;
    background: #ffffff;

    border: 1px solid #e2e8f0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;

    table-layout: auto;
    overflow: hidden;

    font-size: 15px;
    line-height: 1.6;

    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

/* Tiêu đề bảng */
.kb_blog_article-content table caption {
    caption-side: top;
    padding: 0 10px 12px;

    color: #334155;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}

/* Header */
.kb_blog_article-content table thead {
    background: linear-gradient(135deg, #fdf2f8, #fff1f2);
}

.kb_blog_article-content table th {
    padding: 15px 18px;

    color: #0f172a;
    background: transparent;

    border: 0;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #e2e8f0;

    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    text-align: left;
    vertical-align: middle;

    overflow-wrap: anywhere;
    word-break: normal;
}

/* Cột cuối không có viền phải */
.kb_blog_article-content table th:last-child {
    border-right: 0;
}

/* Nội dung ô */
.kb_blog_article-content table td {
    padding: 15px 18px;

    color: #475569;
    background: #ffffff;

    border: 0;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #e2e8f0;

    line-height: 1.65;
    text-align: left;
    vertical-align: middle;

    overflow-wrap: anywhere;
    word-break: normal;
}

/* Cột đầu tiên nổi bật */
.kb_blog_article-content table tbody th,
.kb_blog_article-content table tbody td:first-child {
    color: #334155;
    font-weight: 700;
}

/* Bỏ viền cột cuối */
.kb_blog_article-content table td:last-child {
    border-right: 0;
}

/* Bỏ viền hàng cuối */
.kb_blog_article-content table tbody tr:last-child th,
.kb_blog_article-content table tbody tr:last-child td {
    border-bottom: 0;
}

/* Hàng xen kẽ */
.kb_blog_article-content table tbody tr:nth-child(even) td,
.kb_blog_article-content table tbody tr:nth-child(even) th {
    background: #f8fafc;
}

/* Hover hàng */
.kb_blog_article-content table tbody tr {
    transition: background-color 0.2s ease;
}

.kb_blog_article-content table tbody tr:hover td,
.kb_blog_article-content table tbody tr:hover th {
    background: #fdf2f8;
}

/* Footer của bảng */
.kb_blog_article-content table tfoot td {
    padding: 13px 18px;

    color: #64748b;
    background: #f8fafc;

    border-top: 1px solid #e2e8f0;
    border-bottom: 0;
    border-right: 0;

    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
}

/* Paragraph bên trong ô */
.kb_blog_article-content table th p,
.kb_blog_article-content table td p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Danh sách bên trong ô */
.kb_blog_article-content table td ul,
.kb_blog_article-content table td ol {
    margin: 8px 0 8px 18px;
}

.kb_blog_article-content table td li {
    margin-bottom: 5px;
}

/* Link bên trong bảng */
.kb_blog_article-content table a {
    color: #db2777 !important;
    font-weight: 600;
    text-decoration: none;
}

.kb_blog_article-content table a:hover {
    color: #be185d !important;
    text-decoration: underline;
}

/* ============================================
   TABLE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    /*
     * Chuyển table thành vùng cuộn ngang.
     * Phù hợp với bảng có nhiều cột.
     */
    .kb_blog_article-content table {
        display: block;
        width: 100% !important;
        max-width: 100%;

        margin: 1.25rem 0 !important;
        border-radius: 10px !important;

        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;

        font-size: 14px;
        white-space: nowrap;
    }

    /*
     * Ép bảng giữ độ rộng tối thiểu để các cột
     * không bị bó quá nhỏ trên điện thoại.
     */
    .kb_blog_article-content table thead,
    .kb_blog_article-content table tbody,
    .kb_blog_article-content table tfoot {
        min-width: 680px;
    }

    .kb_blog_article-content table tr {
        min-width: 680px;
    }

    .kb_blog_article-content table th,
    .kb_blog_article-content table td {
        min-width: 125px;
        padding: 12px 14px;

        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    /* Cột đầu tiên nhỏ hơn một chút */
    .kb_blog_article-content table th:first-child,
    .kb_blog_article-content table td:first-child {
        min-width: 110px;
    }

    .kb_blog_article-content table caption {
        display: block;
        width: 100%;
        min-width: 0;

        padding: 0 5px 10px;

        font-size: 15px;
        white-space: normal;
    }

    .kb_blog_article-content table tfoot td {
        font-size: 13px;
        white-space: normal;
    }

    /*
     * Thanh cuộn ngang dễ nhận biết hơn
     * trên trình duyệt Chromium/Safari.
     */
    .kb_blog_article-content table::-webkit-scrollbar {
        height: 7px;
    }

    .kb_blog_article-content table::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 999px;
    }

    .kb_blog_article-content table::-webkit-scrollbar-thumb {
        background: #f9a8d4;
        border-radius: 999px;
    }

    .kb_blog_article-content table::-webkit-scrollbar-thumb:hover {
        background: #db2777;
    }
}

@media (max-width: 480px) {
    .kb_blog_article-content table {
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: 13px;
    }

    .kb_blog_article-content table thead,
    .kb_blog_article-content table tbody,
    .kb_blog_article-content table tfoot,
    .kb_blog_article-content table tr {
        min-width: 620px;
    }

    .kb_blog_article-content table th,
    .kb_blog_article-content table td {
        min-width: 115px;
        padding: 11px 12px;
        line-height: 1.55;
    }

    .kb_blog_article-content table th:first-child,
    .kb_blog_article-content table td:first-child {
        min-width: 100px;
    }

    .kb_blog_article-content table caption {
        font-size: 14px;
        line-height: 1.45;
    }
}

.kb_blog_article-content a {
    color: #db2777 !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.kb_blog_article-content a:hover {
    border-bottom-color: #db2777 !important;
}

/* Tags Section */
.kb_blog_article-tags {
    padding: 0 30px 20px;
    border-top: 1px solid #e5e5e5;
    margin-top: 30px;
    padding-top: 20px;
}

/* Related Posts Section */
.kb_blog_related-posts {
    padding: 0 30px 40px;
    border-top: 1px solid #e5e5e5;
    margin-top: 30px;
    padding-top: 30px;
}

.kb_blog_related-posts-title {
    margin-bottom: 20px;
}

.kb_blog_related-posts-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.kb_blog_related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.kb_blog_related-post-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
}

.kb_blog_related-post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #d32f2f;
}

.kb_blog_related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.kb_blog_related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.kb_blog_related-post-card:hover .kb_blog_related-post-image img {
    transform: scale(1.05);
}

.kb_blog_related-post-content {
    padding: 16px;
}

.kb_blog_related-post-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kb_blog_related-post-card:hover .kb_blog_related-post-title {
    color: #d32f2f;
}

.kb_blog_related-post-date {
    font-size: 13px;
    color: #718096;
}

/* Social Sidebar Icons */
.kb_blog_social-icons {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.kb_blog_social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.3s;
}

.kb_blog_social-icon:hover {
    transform: translateX(5px);
}

.kb_blog_social-icon.kb_blog_zalo {
    background: #00a8ff;
}
.kb_blog_social-icon.kb_blog_messenger {
    background: #0084ff;
}
.kb_blog_social-icon.kb_blog_chat {
    background: #9b59b6;
}
.kb_blog_social-icon.kb_blog_phone {
    background: #be185d;
}
.kb_blog_social-icon.kb_blog_location {
    background: #f39c12;
}
.kb_blog_social-icon.kb_blog_facebook {
    background: #3b5998;
}

/* Support Button */
.kb_blog_support-button {
    position: fixed;
    bottom: 20px;
    left: 30px;
    background: #00c853;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: background 0.3s;
}

.kb_blog_support-button i {
    font-size: 18px;
}

.kb_blog_support-button:hover {
    background: #00b248;
}

/* Right Sidebar Icons */
.kb_blog_right-icons {
    position: fixed;
    right: 20px;
    bottom: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 997;
}

.kb_blog_right-icon {
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.kb_blog_right-icon:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .kb_blog_left-sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.3s;
        z-index: 1001;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        top: 0;
        height: 100vh;
    }

    .kb_blog_left-sidebar.kb_blog_active {
        left: 0;
    }

    .kb_blog_main-wrapper {
        padding-left: 0;
    }

    .kb_blog_social-icons {
        display: none;
    }

    .kb_blog_featured-overlay h2 {
        font-size: 32px;
    }

    .kb_blog_featured-overlay p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    /* Main Wrapper Mobile */
    .kb_blog_main-wrapper {
        flex-direction: column;
    }

    .kb_blog_left-sidebar {
        position: fixed;
        left: -350px;
        transition: left 0.3s;
        z-index: 1001;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        top: 0;
        height: 100vh;
        width: 280px;
    }

    .kb_blog_left-sidebar.kb_blog_active {
        left: 0;
    }

    .kb_blog_content-area {
        width: 100%;
        padding: 0 !important;
    }

    /* Breadcrumb Mobile */
    .kb_blog_breadcrumb {
        padding: 12px 15px;
        font-size: 12px;
    }

    /* Featured Section Mobile */
    .kb_blog_featured-section {
        margin: 15px 10px;
        min-height: 250px;
        border-radius: 10px;
    }

    .kb_blog_featured-overlay {
        left: 15px;
        right: 15px;
        max-width: 100%;
    }

    .kb_blog_featured-overlay h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .kb_blog_featured-overlay p {
        font-size: 13px;
    }

    /* Article Mobile */
    .kb_blog_article {
        width: 100%;
        margin: 0 auto 20px auto;
        border-radius: 8px;
    }

    .kb_blog_article-title,
    .kb_blog_article-content h1 {
        font-size: 20px;
        line-height: 1.3;
    }

    .kb_blog_article-header {
        padding: 5px;
    }

    .kb_blog_article-category {
        font-size: 12px;
        padding: 5px 14px;
        margin-bottom: 15px;
    }

    .kb_blog_article-date {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .kb_blog_article-content {
        padding: 5px;
        font-size: 15px;
        line-height: 1.8;
    }

    .kb_blog_article-content h2 {
        font-size: 20px;
        margin: 30px 0 15px;
    }

    .kb_blog_article-content img {
        margin: 20px 0;
        border-radius: 6px;
    }

    .kb_blog_article-content table {
        font-size: 14px;
        margin: 20px 0;
    }

    .kb_blog_article-content table th,
    .kb_blog_article-content table td {
        padding: 10px;
    }

    /* Author Info Mobile */
    .kb-article-author-info {
        margin-top: 15px;
        padding-top: 15px;
    }

    .kb-article-author-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .kb-article-author-details h3 {
        font-size: 14px;
    }

    .kb-article-author-details p {
        font-size: 11px;
    }

    /* Tags Mobile */
    .kb_blog_article-tags {
        padding: 0 15px 15px;
        margin-top: 20px;
        padding-top: 15px;
    }

    /* Comments Mobile */
    .kb-article-comments {
        padding: 0 15px 30px;
        margin-top: 20px;
        padding-top: 20px;
    }

    /* Related Posts Mobile */
    .kb_blog_related-posts {
        padding: 0 15px 30px;
        margin-top: 20px;
        padding-top: 20px;
    }

    .kb_blog_related-posts-title {
        margin-bottom: 15px;
    }

    .kb_blog_related-posts-title h3 {
        font-size: 20px;
    }

    .kb_blog_related-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .kb_blog_related-post-card {
        border-radius: 8px;
    }

    .kb_blog_related-post-image {
        height: 160px;
    }

    .kb_blog_related-post-content {
        padding: 12px;
    }

    .kb_blog_related-post-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .kb_blog_related-post-date {
        font-size: 12px;
    }

    /* Sidebar Content Mobile */
    .kb-article-sidebar-content {
        position: relative;
        top: 20px;
    }

    /* TOC Mobile */
    .kb-article-toc {
        margin: 0 0 20px 0 !important;
        padding: 15px !important;
        width: 100% !important;
        border-radius: 8px;
    }

    .kb-article-toc-title p {
        font-size: 14px;
    }

    .kb-article-toc-list a {
        font-size: 12px;
        padding: 3px 6px;
    }

    /* Right Icons & Chat Bubble Mobile */
    .kb_blog_right-icons,
    .kb_blog_chat-bubble {
        display: none;
    }

    .kb_blog_support-button {
        bottom: 30px;
        left: 15px;
        right: 15px;
        width: 60%;
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

.todo-list__label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid green !important;
    color: white !important;
    background-color: green !important;
    position: relative;
}

.todo-list__label input[type="checkbox"]::after {
    content: "✓";
    position: absolute;
    top: -2px;
    left: 2px;
    font-size: 14px;
}

/* ==================== RESPONSIVE: blog.css ==================== */
@media (max-width: 1024px) {
    .blog-page-container {
        padding: 0 16px;
        margin-top: 60px;
    }
    .blog-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .blog-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .blog-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-hero-content {
        padding: 20px;
    }
    .blog-hero-title {
        font-size: 28px;
    }
    .blog-post-title {
        font-size: 20px;
    }

    .kb_blog_article-meta-info {
        font-size: 12px !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }
}
