/* ==============================================================
   CHI TIẾT BÀI VIẾT (SINGLE POST) - BIO MINH LONG
   Style đồng bộ chuẩn mực với Trang Chủ, Trang Giới Thiệu & Chuyên Mục Tin Tức
   ============================================================== */

:root {
    --bml-dark: #0e382b;
    --bml-dark-deep: #07281c;
    --bml-dark-light: #134e3a;
    --bml-lime: #cae88d;
    --bml-lime-vibrant: #c8ea66;
    --bml-lime-soft: rgba(202, 232, 141, 0.15);
    --bml-lime-border: rgba(202, 232, 141, 0.35);
    --bml-text-dark: #1e293b;
    --bml-text-body: #334155;
    --bml-text-muted: #64748b;
    --bml-font: 'Mulish', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bml-radius-card: 20px;
    --bml-radius-pill: 50px;
}

/* --- XÓA KHOẢNG CÁCH DƯ THỪA VÀ ĐỒNG BỘ NỀN CHO SINGLE POST --- */
body.single-post #wrapper,
body.single-post #main,
.blog-wrapper.blog-single,
.blog-single.page-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background-color: #f8faf8 !important;
    font-family: var(--bml-font);
}

body.single-post #main {
    padding-top: 0px !important;
    /* Giảm 50% theo yêu cầu (từ 40px xuống 20px) */
}

/* ==============================================================
   1. HERO BANNER BÀI VIẾT (.bml-single-hero)
   ============================================================== */
.bml-single-hero {
    position: relative;
    background-color: var(--bml-dark-deep);
    padding: 60px 0 50px;
    margin-bottom: 0 !important;
    /* Bỏ margin-bottom để không bị lộ nền trắng của #wrapper */
    overflow: hidden;
    font-family: var(--bml-font);
    box-shadow: 0 10px 30px rgba(7, 40, 28, 0.15);
    color: #ffffff;
}

/* Background image */
.bml-hero-bg-img {
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/10/hero-01.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
    opacity: 1;
    z-index: 1;
}

.bml-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 40, 28, 0.92) 0%, rgba(7, 40, 28, 0.82) 55%, rgba(7, 40, 28, 0.58) 100%),
                linear-gradient(180deg, rgba(7, 40, 28, 0.25) 0%, rgba(7, 40, 28, 0.65) 100%);
    z-index: 2;
}

.bml-single-hero-container {
    position: relative;
    z-index: 3;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 calc(15px + 34px);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Breadcrumbs */
.bml-single-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.bml-single-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.25s ease;
}

.bml-single-breadcrumbs a:hover {
    color: var(--bml-lime);
}

.bml-bc-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* Category badge */
.bml-hero-badge-wrap {
    margin-bottom: 16px;
}

.bml-hero-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    border-radius: var(--bml-radius-pill);
    background: rgba(202, 232, 141, 0.15);
    border: 1px solid var(--bml-lime-border);
    color: var(--bml-lime) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bml-hero-cat-badge:hover {
    background: var(--bml-lime);
    color: var(--bml-dark-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(202, 232, 141, 0.35);
}

/* Title */
.bml-single-title {
    font-family: var(--bml-font);
    font-size: 34px;
    font-weight: 900;
    line-height: 1.38;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    max-width: 960px;
}

/* Meta Bar */
.bml-single-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 24px;
    border-radius: var(--bml-radius-pill);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    font-weight: 600;
}

.bml-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.bml-meta-dot {
    color: rgba(255, 255, 255, 0.3);
}

/* ==============================================================
   2. MAIN ARTICLE CARD & CONTENT
   ============================================================== */
.blog-single .row.row-large {
    max-width: 1260px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: stretch !important;
}

.blog-single .row.row-large>.large-9.col {
    flex: 1 1 0%;
    min-width: 0;
    max-width: none;
    width: auto;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.blog-single .row.row-large>.post-sidebar.large-3.col {
    flex: 0 0 360px;
    max-width: 360px;
    width: 360px;
    padding: 0 !important;
    position: relative !important;
    align-self: stretch !important;
    height: auto !important;
}

/* Hide comments on single post */
.blog-single #comments,
.blog-single .comments-area {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* Main card wrapper */
.blog-single article.post {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(14, 56, 43, 0.08);
    box-shadow: 0 4px 24px rgba(14, 56, 43, 0.04);
    padding: 30px 34px;
    margin-bottom: 0 !important;
    flex-grow: 1;
}

/* Article inner typography */
.bml-single-content {
    font-family: var(--bml-font);
    font-size: 17px;
    line-height: 1.8;
    color: var(--bml-text-body);
}

/* Overriding messy inline styles from content */
.bml-single-content span {
    color: inherit !important;
}

.bml-single-content p {
    color: var(--bml-text-body);
    line-height: 1.8 !important;
    margin-bottom: 18px;
    text-align: justify !important;
    text-justify: inter-word;
}

.bml-single-content li {
    text-align: justify;
    text-justify: inter-word;
}

/* Support WordPress Editor Alignments (căn lề hai bên, căn giữa, căn phải) */
.bml-single-content .has-text-align-justify,
.bml-single-content p[style*="text-align: justify"],
.bml-single-content p[style*="text-align:justify"],
.bml-single-content div[style*="text-align: justify"],
.bml-single-content div[style*="text-align:justify"] {
    text-align: justify !important;
    text-justify: inter-word;
}

.bml-single-content .has-text-align-center,
.bml-single-content p[style*="text-align: center"],
.bml-single-content p[style*="text-align:center"] {
    text-align: center !important;
}

.bml-single-content .has-text-align-right,
.bml-single-content p[style*="text-align: right"],
.bml-single-content p[style*="text-align:right"] {
    text-align: right !important;
}

.bml-single-content .has-text-align-left,
.bml-single-content p[style*="text-align: left"],
.bml-single-content p[style*="text-align:left"] {
    text-align: left !important;
}

/* Headings inside content */
.bml-single-content h2 {
    font-family: var(--bml-font) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--bml-dark) !important;
    margin: 36px 0 16px !important;
    padding: 10px 18px !important;
    border-left: 4px solid #10b981 !important;
    line-height: 1.45 !important;
    background: linear-gradient(90deg, rgba(202, 232, 141, 0.15) 0%, transparent 100%) !important;
    border-radius: 0 10px 10px 0 !important;
}

.bml-single-content h3 {
    font-family: var(--bml-font) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: var(--bml-dark-light) !important;
    margin: 28px 0 14px !important;
    padding-left: 14px !important;
    border-left: 3px solid var(--bml-lime) !important;
    line-height: 1.45 !important;
}

.bml-single-content h2+h3,
.bml-single-content h3+h3 {
    margin-top: 14px !important;
}

.bml-single-content h4 {
    font-family: var(--bml-font) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--bml-dark) !important;
    margin: 22px 0 10px !important;
    line-height: 1.45 !important;
}

/* Blockquote - Bio tip callout */
.bml-single-content blockquote {
    background: #f2f8f2 !important;
    padding: 22px 28px !important;
    margin: 28px 0 !important;
    box-shadow: 0 2px 14px rgba(16, 185, 129, 0.08) !important;
    border-left: 4px solid #10b981 !important;
    border-radius: 0 12px 12px 0 !important;
}

.bml-single-content blockquote p {
    color: var(--bml-dark) !important;
    font-weight: 600 !important;
    margin: 0 !important;
    font-style: normal !important;
}

.bml-single-content blockquote a {
    color: var(--bml-dark) !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-decoration-color: #10b981 !important;
}

.bml-single-content blockquote a:hover {
    color: #15803d !important;
}

/* Lists */
.bml-single-content ul,
.bml-single-content ol {
    margin: 16px 0 24px 24px !important;
    padding: 0 !important;
}

.bml-single-content li {
    margin-bottom: 8px !important;
    line-height: 1.7 !important;
    color: var(--bml-text-body) !important;
}

.bml-single-content li p {
    margin-bottom: 4px !important;
    line-height: 1.7 !important;
}

.bml-single-content li:last-child p {
    margin-bottom: 0 !important;
}

.bml-single-content ul li::marker {
    color: #10b981 !important;
    font-size: 1.15em !important;
}

/* Images in content */
.bml-single-content img:not(.emoji):not(.wp-smiley) {
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-shadow: 0 6px 24px rgba(14, 56, 43, 0.08) !important;
    border: 1px solid rgba(14, 56, 43, 0.06) !important;
    margin: 24px 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
}

.bml-single-content .aligncenter,
.bml-single-content img.aligncenter,
.bml-single-content figure,
.bml-single-content .wp-block-image,
.bml-single-content .wp-caption {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix WordPress Emojis (như 🔹, 👉, ✔...) không bị biến thành ảnh to ở giữa */
.bml-single-content img.emoji,
.bml-single-content img.wp-smiley {
    display: inline !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 1.15em !important;
    width: 1.15em !important;
    margin: 0 0.25em 0 0 !important;
    vertical-align: -0.15em !important;
    padding: 0 !important;
    background: none !important;
}

/* Links in content */
.bml-single-content a:not(.bml-share-btn):not(.bml-tag-item):not(.bml-btn-expert) {
    color: var(--bml-dark) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-decoration-color: var(--bml-lime) !important;
    text-underline-offset: 3px !important;
    transition: all 0.2s ease !important;
}

.bml-single-content a:not(.bml-share-btn):not(.bml-tag-item):not(.bml-btn-expert):hover {
    color: #15803d !important;
    text-decoration-color: #15803d !important;
}

/* Tags */
.bml-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 35px 0 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(14, 56, 43, 0.08);
}

.bml-tag-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bml-text-muted);
}

.bml-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bml-tag-item {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: #f1f5f9;
    color: var(--bml-text-dark) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.bml-tag-item:hover {
    background: var(--bml-dark);
    color: var(--bml-lime) !important;
    transform: translateY(-2px);
}

/* ==============================================================
   3. SHARE BAR (.bml-single-share-bar)
   ============================================================== */
.bml-single-share-bar {
    background: #f8faf8;
    border-radius: 18px;
    padding: 20px 24px;
    margin: 30px 0;
    border: 1px solid rgba(14, 56, 43, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.bml-share-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--bml-dark);
}

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

.bml-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-family: var(--bml-font);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bml-share-btn.facebook {
    background: #1877f2;
    color: #ffffff !important;
}

.bml-share-btn.facebook:hover {
    background: #1464cc;
    transform: translateY(-2px);
}

.bml-share-btn.twitter {
    background: #0f1419;
    color: #ffffff !important;
}

.bml-share-btn.twitter:hover {
    background: #000000;
    transform: translateY(-2px);
}

.bml-share-btn.zalo {
    background: #0068ff;
    color: #ffffff !important;
}

.bml-share-btn.zalo:hover {
    background: #0056d6;
    transform: translateY(-2px);
}

.bml-share-btn.copy-link {
    background: #ffffff;
    color: var(--bml-dark) !important;
    border-color: rgba(14, 56, 43, 0.15);
}

.bml-share-btn.copy-link:hover {
    background: var(--bml-lime);
    color: var(--bml-dark-deep) !important;
    border-color: var(--bml-lime);
    transform: translateY(-2px);
}

/* ==============================================================
   4. EXPERT CONSULTATION CALLOUT (.bml-expert-box)
   ============================================================== */
.bml-expert-box {
    background: linear-gradient(135deg, #07281c 0%, #0e382b 60%, #114232 100%) !important;
    border-radius: 20px !important;
    padding: 34px 38px !important;
    margin: 38px 0 !important;
    color: #ffffff !important;
    border: 1px solid rgba(202, 232, 141, 0.3) !important;
    box-shadow: 0 12px 35px rgba(7, 40, 28, 0.22) !important;
    position: relative !important;
    overflow: hidden !important;
}

.bml-expert-box::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(202, 232, 141, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bml-expert-box .bml-expert-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    background: rgba(202, 232, 141, 0.16) !important;
    border: 1px solid rgba(202, 232, 141, 0.45) !important;
    color: #d4ea7a !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.bml-expert-box .bml-expert-body {
    display: flex !important;
    align-items: flex-start !important;
    gap: 22px !important;
    position: relative !important;
    z-index: 2 !important;
}

.bml-expert-box .bml-expert-icon {
    font-size: 28px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 16px !important;
    background: rgba(202, 232, 141, 0.12) !important;
    border: 1px solid rgba(202, 232, 141, 0.28) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

.bml-expert-box .bml-expert-text {
    flex-grow: 1 !important;
}

.bml-expert-box .bml-expert-title,
.bml-single-content .bml-expert-box h4.bml-expert-title {
    font-family: var(--bml-font) !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.2px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

.bml-expert-box .bml-expert-desc,
.bml-single-content .bml-expert-box p.bml-expert-desc {
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 0 22px 0 !important;
    text-align: left !important;
}

.bml-expert-box .bml-expert-actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.bml-expert-box .bml-btn-expert,
.bml-single-content .bml-expert-box a.bml-btn-expert {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 11px 24px !important;
    border-radius: 50px !important;
    font-family: var(--bml-font) !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    cursor: pointer !important;
}

/* Nút Gọi Hotline: Màu vàng chanh lime nổi bật, chữ xanh đậm tương phản */
.bml-expert-box .bml-btn-expert.btn-hotline,
.bml-expert-box .bml-btn-expert.primary,
.bml-single-content .bml-expert-box a.bml-btn-expert.btn-hotline,
.bml-single-content .bml-expert-box a.bml-btn-expert.primary {
    background: #cae88d !important;
    background-color: #cae88d !important;
    color: #07281c !important;
    border: 1px solid #cae88d !important;
    box-shadow: 0 4px 16px rgba(202, 232, 141, 0.38) !important;
}

.bml-expert-box .bml-btn-expert.btn-hotline span,
.bml-expert-box .bml-btn-expert.primary span,
.bml-single-content .bml-expert-box a.bml-btn-expert.btn-hotline span,
.bml-single-content .bml-expert-box a.bml-btn-expert.primary span {
    color: #07281c !important;
    font-weight: 800 !important;
}

.bml-expert-box .bml-btn-expert.btn-hotline svg,
.bml-expert-box .bml-btn-expert.primary svg,
.bml-single-content .bml-expert-box a.bml-btn-expert.btn-hotline svg,
.bml-single-content .bml-expert-box a.bml-btn-expert.primary svg {
    color: #07281c !important;
    stroke: #07281c !important;
}

.bml-expert-box .bml-btn-expert.btn-hotline:hover,
.bml-expert-box .bml-btn-expert.primary:hover,
.bml-single-content .bml-expert-box a.bml-btn-expert.btn-hotline:hover,
.bml-single-content .bml-expert-box a.bml-btn-expert.primary:hover {
    background: #ddf599 !important;
    background-color: #ddf599 !important;
    color: #07281c !important;
    border-color: #ddf599 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(202, 232, 141, 0.6) !important;
}

/* Nút Đăng ký tư vấn: Kính mờ viền trắng sáng, chữ trắng */
.bml-expert-box .bml-btn-expert.btn-consult,
.bml-expert-box .bml-btn-expert.secondary,
.bml-single-content .bml-expert-box a.bml-btn-expert.btn-consult,
.bml-single-content .bml-expert-box a.bml-btn-expert.secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.bml-expert-box .bml-btn-expert.btn-consult span,
.bml-expert-box .bml-btn-expert.secondary span,
.bml-single-content .bml-expert-box a.bml-btn-expert.btn-consult span,
.bml-single-content .bml-expert-box a.bml-btn-expert.secondary span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.bml-expert-box .bml-btn-expert.btn-consult svg,
.bml-expert-box .bml-btn-expert.secondary svg,
.bml-single-content .bml-expert-box a.bml-btn-expert.btn-consult svg,
.bml-single-content .bml-expert-box a.bml-btn-expert.secondary svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.bml-expert-box .bml-btn-expert.btn-consult:hover,
.bml-expert-box .bml-btn-expert.secondary:hover,
.bml-single-content .bml-expert-box a.bml-btn-expert.btn-consult:hover,
.bml-single-content .bml-expert-box a.bml-btn-expert.secondary:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    background-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

/* ==============================================================
   5. POST NAVIGATION (.bml-post-nav)
   ============================================================== */
.bml-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 35px 0 10px;
    padding-top: 25px;
    border-top: 1px solid rgba(14, 56, 43, 0.08);
}

.bml-nav-link {
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
    border-radius: 16px;
    background: #f8faf8;
    border: 1px solid rgba(14, 56, 43, 0.08);
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.bml-nav-link:hover {
    background: #ffffff;
    border-color: var(--bml-lime);
    box-shadow: 0 6px 18px rgba(14, 56, 43, 0.06);
    transform: translateY(-3px);
}

.bml-nav-link.next {
    text-align: right;
}

.bml-nav-sub {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #10b981;
    margin-bottom: 6px;
}

.bml-nav-name {
    font-family: var(--bml-font);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--bml-dark);
    line-height: 1.45;
}

/* ==============================================================
   6. ROW: ĐỌC THÊM KIẾN THỨC NUÔI TRỒNG (.bml-more-knowledge-row)
   ============================================================== */
.bml-more-knowledge-row {
    margin-top: 30px !important;
    margin-bottom: 25px !important;
}

.bml-more-knowledge-section {
    width: 100%;
    margin-bottom: 0 !important;
}

.bml-more-knowledge-title {
    font-family: var(--bml-font), sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0e382b !important;
    margin: 0 0 18px 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em;
}

.bml-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.bml-knowledge-card {
    background: #ffffff !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(14, 56, 43, 0.07) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.bml-knowledge-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 10px 24px rgba(14, 56, 43, 0.09) !important;
}

.bml-knowledge-img-wrap {
    display: block !important;
    aspect-ratio: 16 / 9.2 !important;
    overflow: hidden !important;
    background: #f1f5f3;
}

.bml-knowledge-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transition: transform 0.4s ease !important;
}

.bml-knowledge-card:hover .bml-knowledge-img-wrap img {
    transform: scale(1.05);
}

.bml-knowledge-body {
    padding: 16px 18px 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.bml-knowledge-badge {
    display: inline-block !important;
    align-self: flex-start !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    background: #e8f4ec !important;
    color: #1a563d !important;
    font-family: var(--bml-font), sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 8px !important;
}

.bml-knowledge-post-title {
    font-family: var(--bml-font), sans-serif !important;
    font-size: 16.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 12px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 45px !important;
}

.bml-knowledge-post-title a {
    color: #0e382b !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.bml-knowledge-card:hover .bml-knowledge-post-title a {
    color: #10b981 !important;
}

.bml-knowledge-read-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-family: var(--bml-font), sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0e382b !important;
    text-decoration: none !important;
    margin-top: auto !important;
    transition: all 0.2s ease !important;
}

.bml-knowledge-card:hover .bml-knowledge-read-btn {
    color: #10b981 !important;
    gap: 7px !important;
}

/* --- CTA BANNER: CÙNG TÌM GIẢI PHÁP PHÙ HỢP --- */
.bml-knowledge-cta-banner {
    background: #0e382b !important;
    border-radius: 12px !important;
    padding: 16px 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    box-shadow: 0 4px 18px rgba(14, 56, 43, 0.12) !important;
    min-height: 68px !important;
}

.bml-cta-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.bml-cta-leaf-icon {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bml-cta-heading {
    font-family: var(--bml-font), sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: -0.01em;
}

.bml-cta-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: #f4f5f0 !important;
    color: #0e382b !important;
    font-family: var(--bml-font), sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.bml-cta-action-btn:hover {
    background: #ffffff !important;
    color: #10b981 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* ==============================================================
   7. SIDEBAR STYLING (.bml-single-sidebar)
   ============================================================== */
.bml-single-sidebar {
    position: sticky !important;
    top: 85px !important;
}

/* 7.1. TOC: MỤC LỤC BÀI VIẾT */
.bml-widget-toc {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 22px;
    border: 1px solid rgba(14, 56, 43, 0.08);
    box-shadow: 0 4px 20px rgba(14, 56, 43, 0.03);
    margin-bottom: 24px;
}

.bml-toc-title {
    font-family: var(--bml-font) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0e382b !important;
    margin: 0 0 14px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f4f1;
    position: relative;
}

.bml-toc-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: #0e382b;
}

.bml-toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bml-toc-item {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #f4f7f5;
}

.bml-toc-item:last-child {
    border-bottom: none !important;
}

.bml-toc-item.bml-toc-sub {
    padding-left: 12px !important;
}

.bml-toc-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #4a5d54;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1.45;
}

.bml-toc-num {
    font-weight: 700;
    color: #0e382b;
    flex-shrink: 0;
    min-width: 16px;
}

.bml-toc-link:hover {
    color: #0e382b;
    background: #f7faf8;
    transform: translateX(3px);
}

.bml-toc-link.active {
    color: #0e382b !important;
    font-weight: 800 !important;
    background: #f2f8f4;
    border-left: 3.5px solid #0e382b !important;
    padding-left: 12px !important;
    border-radius: 0 8px 8px 0;
}

/* 7.2. FORM ĐĂNG KÝ TƯ VẤN (Khung xanh nhạt) */
.bml-widget-consult {
    background: #f1f7f2;
    border-radius: 18px;
    padding: 24px 22px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 0 4px 18px rgba(14, 56, 43, 0.03);
    margin-bottom: 24px;
}

.bml-consult-title {
    font-family: var(--bml-font) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0e382b !important;
    margin: 0 0 6px !important;
    line-height: 1.35 !important;
}

.bml-consult-desc {
    font-size: 13.5px !important;
    color: #475a50 !important;
    margin: 0 0 16px !important;
    line-height: 1.5 !important;
}

.bml-form-group {
    margin-bottom: 12px;
}

.bml-consult-input {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 46px !important;
    background: #ffffff !important;
    border: 1.5px solid #d1ded6 !important;
    border-radius: 12px !important;
    padding: 0 14px !important;
    margin: 0 0 12px !important;
    font-family: var(--bml-font), sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a3328 !important;
    outline: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.bml-consult-input:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.bml-select-wrap {
    position: relative;
    width: 100%;
}

.bml-consult-select {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 46px !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e382b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 15px 15px !important;
    border: 1.5px solid #d1ded6 !important;
    border-radius: 12px !important;
    padding: 0 38px 0 14px !important;
    margin: 0 0 14px !important;
    font-family: var(--bml-font), sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a3328 !important;
    outline: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: all 0.2s ease !important;
}

.bml-consult-select:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.bml-consult-select option {
    font-size: 14px !important;
    color: #1a3328 !important;
    background: #ffffff !important;
    padding: 8px 12px !important;
}

.bml-consult-submit-btn {
    width: 100% !important;
    background: #0e382b !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    padding: 13px 20px !important;
    border-radius: 10px !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(14, 56, 43, 0.2);
}

.bml-consult-submit-btn:hover {
    background: #155e46 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 56, 43, 0.28);
}

.bml-consult-feedback {
    display: none;
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
}

.bml-consult-feedback.success {
    background: #dcfce7;
    color: #166534;
}

/* 7.3. LINK CARD KHÁM PHÁ SẢN PHẨM */
.bml-widget-explore {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    border: 1px solid rgba(14, 56, 43, 0.08) !important;
    box-shadow: 0 4px 16px rgba(14, 56, 43, 0.03) !important;
    text-decoration: none !important;
    margin-bottom: 24px !important;
    transition: all 0.25s ease !important;
}

.bml-widget-explore:hover {
    transform: translateY(-2px);
    border-color: #10b981 !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12) !important;
}

.bml-explore-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0f7f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bml-explore-text {
    font-family: var(--bml-font);
    font-size: 14.5px;
    font-weight: 800;
    color: #0e382b;
    line-height: 1.35;
    flex-grow: 1;
}

.bml-explore-arrow {
    color: #0e382b;
    transition: transform 0.25s ease;
}

.bml-widget-explore:hover .bml-explore-arrow {
    transform: translateX(4px);
    color: #10b981;
}

/* 7.4. CÁC WIDGET MẶC ĐỊNH KHÁC */
.post-sidebar .widget {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 22px;
    border: 1px solid rgba(14, 56, 43, 0.08);
    box-shadow: 0 4px 20px rgba(14, 56, 43, 0.03);
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

.post-sidebar .widget:hover {
    box-shadow: 0 8px 30px rgba(14, 56, 43, 0.07);
}

.post-sidebar .widget-title {
    font-family: var(--bml-font) !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #0e382b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(14, 56, 43, 0.08);
}

.post-sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #10b981 0%, #cae88d 100%);
}

.post-sidebar .is-divider.small {
    display: none !important;
}

/* Hide ugly comment notification in sidebar */
.post-sidebar .post_comments {
    display: none !important;
}

/* --- Widget: Recent Blog Posts --- */
.post-sidebar .recent-blog-posts-li {
    padding: 12px 10px !important;
    margin-bottom: 4px;
    border-radius: 12px;
    border-bottom: 1px dashed rgba(14, 56, 43, 0.08) !important;
    transition: all 0.25s ease;
}

.post-sidebar .recent-blog-posts-li:hover {
    background: rgba(202, 232, 141, 0.12);
    transform: translateX(4px);
    border-bottom-color: transparent !important;
}

.post-sidebar .recent-blog-posts-li:last-child {
    border-bottom: none !important;
    margin-bottom: 0;
}

.post-sidebar .badge.post-date {
    width: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(14, 56, 43, 0.06) !important;
    box-shadow: 0 3px 10px rgba(14, 56, 43, 0.06) !important;
    margin-right: 14px !important;
    flex-shrink: 0;
}

.post-sidebar .badge-inner {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 12px !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-sidebar .recent-blog-posts-li:hover .badge-inner {
    transform: scale(1.08);
}

.post-sidebar .recent-blog-posts a[title] {
    font-family: var(--bml-font);
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: #1a3328 !important;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.post-sidebar .recent-blog-posts a[title]:hover {
    color: #10b981 !important;
}

/* Hide Recent Blog Posts widget in single post sidebar */
.bml-single-sidebar .widget.flatsome_recent_posts,
.post-sidebar .widget.flatsome_recent_posts {
    display: none !important;
}

/* --- Widget: WooCommerce Products --- */
.bml-single-sidebar .widget_products,
.post-sidebar .widget_products {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 24px 20px !important;
    border: 1px solid rgba(14, 56, 43, 0.08) !important;
    box-shadow: 0 4px 20px rgba(14, 56, 43, 0.03) !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
}

.bml-single-sidebar> :last-child,
.bml-single-sidebar .widget:last-child,
.bml-single-sidebar .widget_products:last-child,
.post-sidebar .widget:last-child {
    margin-bottom: 0 !important;
}

.bml-single-sidebar .widget_products .widget-title,
.post-sidebar .widget_products .widget-title {
    font-family: var(--bml-font) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0e382b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(14, 56, 43, 0.08) !important;
    position: relative !important;
    display: block !important;
}

.bml-single-sidebar .widget_products .widget-title::after,
.post-sidebar .widget_products .widget-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 48px !important;
    height: 3px !important;
    border-radius: 3px !important;
    background: linear-gradient(90deg, #10b981 0%, #cae88d 100%) !important;
}

.bml-single-sidebar .widget_products .is-divider.small,
.post-sidebar .widget_products .is-divider.small {
    display: none !important;
}

.bml-single-sidebar .widget_products ul.product_list_widget,
.post-sidebar .widget_products ul.product_list_widget {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bml-single-sidebar .widget_products ul.product_list_widget li,
.post-sidebar .widget_products ul.product_list_widget li {
    display: block !important;
    position: relative !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(14, 56, 43, 0.07) !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(14, 56, 43, 0.02) !important;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.bml-single-sidebar .widget_products ul.product_list_widget li:hover,
.post-sidebar .widget_products ul.product_list_widget li:hover {
    background: #fbfdfc !important;
    transform: translateY(-2px);
    border-color: #10b981 !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.12) !important;
}

.bml-single-sidebar .widget_products ul.product_list_widget li:last-child,
.post-sidebar .widget_products ul.product_list_widget li:last-child {
    margin-bottom: 0 !important;
}

.bml-single-sidebar .widget_products ul.product_list_widget li a,
.post-sidebar .widget_products ul.product_list_widget li a {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-decoration: none !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bml-single-sidebar .widget_products ul.product_list_widget li a img,
.bml-single-sidebar .widget_products ul.product_list_widget li img,
.post-sidebar .widget_products ul.product_list_widget li a img,
.post-sidebar .widget_products ul.product_list_widget li img {
    position: static !important;
    float: none !important;
    left: auto !important;
    top: auto !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    background: #f4f8f5 !important;
    padding: 3px !important;
    border: 1px solid rgba(14, 56, 43, 0.08) !important;
    box-shadow: 0 2px 6px rgba(14, 56, 43, 0.04) !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease !important;
}

.bml-single-sidebar .widget_products ul.product_list_widget li:hover img,
.post-sidebar .widget_products ul.product_list_widget li:hover img {
    transform: scale(1.06);
}

.bml-single-sidebar .widget_products .product-title,
.post-sidebar .widget_products .product-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex: 1 1 auto !important;
    font-family: var(--bml-font), sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #1a3328 !important;
    margin: 0 !important;
    transition: color 0.2s ease !important;
}

.bml-single-sidebar .widget_products ul.product_list_widget li:hover .product-title,
.post-sidebar .widget_products ul.product_list_widget li:hover .product-title {
    color: #10b981 !important;
}

.bml-single-sidebar .widget_products .amount,
.post-sidebar .widget_products .amount {
    color: #10b981 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    margin-top: 3px !important;
    display: block !important;
}

/* --- Sidebar Quick Consultation Banner --- */
.bml-sidebar-banner {
    background: linear-gradient(135deg, #0e382b 0%, #175e47 100%);
    border-radius: 18px;
    padding: 26px 22px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(14, 56, 43, 0.15);
    position: relative;
    overflow: hidden;
    margin-top: 24px;
}

.bml-sidebar-banner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(202, 232, 141, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bml-sidebar-banner-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #cae88d;
    background: rgba(202, 232, 141, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.bml-sidebar-banner-title {
    font-family: var(--bml-font);
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
    margin: 0 0 8px !important;
}

.bml-sidebar-banner-desc {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.55 !important;
    margin: 0 0 16px !important;
}

.bml-sidebar-banner-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #10b981;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 800;
    padding: 11px 18px;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease;
}

.bml-sidebar-banner-btn:hover {
    background: #cae88d;
    color: #0e382b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 232, 141, 0.45);
}

/* ==============================================================
   8. RESPONSIVE BREAKPOINTS
   ============================================================== */
@media (max-width: 1024px) {
    .blog-single .row.row-large {
        gap: 22px;
    }

    .blog-single .row.row-large>.post-sidebar.large-3.col {
        flex: 0 0 310px;
        max-width: 310px;
        width: 310px;
    }

    .blog-single article.post {
        padding: 28px 24px;
    }

    .bml-single-hero-container {
        padding: 0 calc(15px + 24px);
    }

    .bml-knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .blog-single .row.row-large {
        flex-direction: column;
        gap: 25px;
    }

    .blog-single .row.row-large>.large-9.col,
    .blog-single .row.row-large>.post-sidebar.large-3.col {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .bml-single-hero {
        padding: 40px 0 35px;
        margin-bottom: 0 !important;
    }

    .bml-single-hero-container {
        padding: 0 calc(15px + 18px);
    }

    body.single-post #main {
        padding-top: 15px !important;
    }

    .bml-single-title {
        font-size: 25px;
    }

    .bml-single-meta {
        font-size: 12.5px;
        padding: 6px 16px;
        justify-content: flex-start;
    }

    .blog-single article.post {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .bml-single-content {
        font-size: 16px;
    }

    .bml-single-content h2 {
        font-size: 20px !important;
    }

    .bml-expert-box {
        padding: 24px 20px !important;
    }

    .bml-expert-body {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .bml-expert-actions {
        flex-direction: column !important;
        width: 100% !important;
    }

    .bml-expert-box .bml-btn-expert {
        width: 100% !important;
    }

    .bml-post-nav {
        grid-template-columns: 1fr;
    }

    .bml-nav-link.next {
        text-align: left;
    }

    .bml-knowledge-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bml-knowledge-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
        gap: 18px;
    }

    .bml-cta-action-btn {
        width: 100%;
        justify-content: center;
    }

    .bml-more-knowledge-title {
        font-size: 22px !important;
    }

    .bml-cta-heading {
        font-size: 20px !important;
    }

    .post-sidebar {
        margin-top: 10px;
    }
}