﻿/* ========== Blog Detail — Editorial Design ========== */

/* Article section */
.blogd-article { overflow: visible !important; }

/* Breadcrumb full title */
.bl-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.78rem;
    color: #4a5568;
}
.bl-breadcrumb a { color: #3d4f5f; text-decoration: none; white-space: nowrap; }
.bl-breadcrumb a:hover { color: #1e3a53; }
.bl-breadcrumb i { font-size: 0.6rem; color: #64748b; }
.bl-breadcrumb span {
    color: #1e3a53;
    font-weight: 600;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    flex: 1 1 12rem;
    min-width: 0;
    line-height: 1.4;
}

/* Hero Image */
.blogd-hero-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}
.blogd-hero-img img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
}
.blogd-hero-img__badges {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}
.blogd-hero-img__badge {
    position: static;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
a.blogd-hero-img__badge:hover {
    background: rgba(0,0,0,0.8);
    color: #fff;
}

/* Meta row */
.blogd-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}
.blogd-meta {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    color: #4a5568;
}
.blogd-share-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: #4a5568;
}
.blogd-share-inline a {
    color: #3d4f5f;
    font-size: 1rem;
    transition: color 0.15s;
    text-decoration: none;
}
.blogd-share-inline a:hover { color: #1e3a53; }

/* Title */
.blogd-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1e3a53;
    line-height: 1.15;
    margin: 0 0 14px;
    font-family: "Newsreader", Georgia, serif;
}

/* Lead — baseline only; child elements keep editor sizes */
.blogd-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: rgb(35, 31, 32);
    margin-bottom: 20px;
    font-family: "Manrope", sans-serif;
}
.blogd-lead p { margin: 0; }
.blogd-lead :is(p, li, span, div, ul, ol) {
    font-size: inherit;
    color: inherit;
}

/* Author */
.blogd-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
}
.blogd-author__link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: inherit;
}
.blogd-author__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a53, #1e3a53);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.blogd-author__name { font-size: 0.85rem; font-weight: 600; color: #1e3a53; }
.blogd-author__role { font-size: 0.72rem; color: #4a5568; }

.blog-author-by__link {
    color: #1e3a53 !important;
    font-weight: 600;
    text-decoration: none !important;
}
.blog-author-by__link:hover {
    color: #1e3a53 !important;
    text-decoration: underline !important;
}

/* Inline TOC */
.blogd-toc-inline {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}
.blogd-toc-inline__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e3a53;
    margin-bottom: 12px;
}
.blogd-toc-inline__list {
    columns: 2;
    column-gap: 24px;
    padding-left: 18px;
    margin: 0;
}
.blogd-toc-inline__list li {
    font-size: 0.8rem;
    color: #334155;
    margin-bottom: 6px;
    break-inside: avoid;
    cursor: pointer;
    transition: color 0.15s;
}
.blogd-toc-inline__list li:hover { color: #1e3a53; }

/* Tags */
.blogd-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}
.blogd-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #1e3a53;
    background: #f0f9ff;
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
a.blogd-tag:hover {
    background: #dbeafe;
    color: #0f2740;
}

/* Hide old hero styles */
.blogd-hero { display: none; }
.blogd-body { display: none; }

@media (max-width: 768px) {
    .blogd-meta-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .blogd-toc-inline__list { columns: 1; }
}

.blog-content code {
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.blog-content pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

.blog-content pre code {
    background: none;
    padding: 0;
    color: #333;
}

/* Tables from text editor — viền xám đậm rõ (không dùng #e9ecef) */
.blog-content table,
.blog-content table.table,
.blog-content table[border] {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #374151 !important;
    margin: 30px 0;
}

.blog-content table th,
.blog-content table td {
    padding: 10px 12px !important;
    border: 1px solid #374151 !important;
    text-align: left;
    color: rgb(35, 31, 32);
    font-family: "Manrope", sans-serif;
}

.blog-content table th {
    background: #f3f4f6 !important;
    font-weight: 600;
    color: #1e3a53 !important;
}

.blog-content table tr:hover {
    background: #f9fafb;
}


/* Blog Tags */

.blog-tags {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.blog-tags__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.blog-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #3d4f5f;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: #1e3a53;
    border-color: #1e3a53;
    color: #fff;
    transform: translateY(-2px);
}


/* Blog Share */

.blog-share {
    margin-top: 40px;
    /* padding-top: 40px; */
    /* border-top: 2px solid #e9ecef; */
}

.blog-share__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.blog-share__buttons {
    display: flex;
    gap: 15px;
}

.blog-share__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-share__button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.blog-share__button--facebook {
    background: #1877f2;
}

.blog-share__button--twitter {
    background: #1da1f2;
}

.blog-share__button--linkedin {
    background: #0077b5;
}

.blog-share__button--email {
    background: #666;
}


/* Related Blogs */

.related-blogs {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.related-blogs .section-title {
    font-weight: 600;
    color: #1e3a53;
    text-align: center;
    margin-bottom: 50px;
}

.related-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.related-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.related-blog-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-blog-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.related-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-blog-card:hover .related-blog-card__image img {
    transform: scale(1.1);
}

.related-blog-card__content {
    padding: 25px;
}

.related-blog-card__date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    color: #3d4f5f;
    margin-bottom: 12px;
}

.related-blog-card__title,
.related-blog-card__title a {
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-blog-card__excerpt {
    font-size: 0.9375rem;
    color: #3d4f5f;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #1e3a53;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.related-blog-card__read-more i {
    margin-left: 0;
    color: #c18a2b;
    transition: transform 0.3s ease;
}

.related-blog-card:hover .related-blog-card__read-more {
    color: #1e3a53;
}

.related-blog-card:hover .related-blog-card__read-more i {
    margin-left: 0;
    transform: translateX(3px);
}


/* Blog CTA */

.blog-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a53 0%, #1e3a53 100%);
    color: #fff;
}

.blog-cta__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.blog-cta__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-cta__description {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.blog-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: #fff;
    color: #1e3a53;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.blog-cta__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    color: #1e3a53;
}

.blog-cta__button i {
    transition: margin-left 0.3s ease;
}

.blog-cta__button:hover i {
    margin-left: 5px;
}


/* Responsive */

@media (max-width: 992px) {
    .blog-header {
        padding: 20px 0 30px;
    }
    .blog-header__title {
        font-size: 2.5rem;
    }
    .blog-featured-image__wrapper img {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 20px 0 30px;
    }
    .blog-header__title {
        font-size: 2rem;
    }
    .blog-header__meta {
        gap: 15px;
    }
    /* .blog-featured-image {
        padding: 30px 0 40px;
    } */
    .blog-featured-image__wrapper img {
        max-height: 400px;
    }
    .blog-content-section {
        padding: 40px 0 60px;
    }
    .related-blogs,
    .blog-cta {
        padding: 0px 0;
    }
    .related-blogs .section-title,
    .blog-cta__title {
        font-size: 2rem;
    }
    .related-blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    .blog-cta__description {
        font-size: 1.125rem;
    }
    .blog-content-section {
        padding: 40px 0 60px;
    }
    .blog-intro {
        margin-bottom: 5px;
        padding-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .blog-header__title {
        font-size: 1.75rem;
    }
    .blog-header__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .blog-featured-image__wrapper img {
        max-height: 300px;
    }
    .blog-share__buttons {
        flex-wrap: wrap;
    }
    .blog-share__button {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    .blog-cta__title {
        font-size: 1.75rem;
    }
    .blog-cta__description {
        font-size: 1rem;
    }
    .blog-cta__button {
        padding: 15px 35px;
        font-size: 1rem;
    }
    .blog-content-section {
        padding: 10px 0 60px;
    }
    .blog-intro {
        margin-bottom: 5px;
        padding-bottom: 5px;
    }
}


/* Experience Video Section */

.experience-video {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.experience-video__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a53;
    margin-bottom: 25px;
}

.experience-video__wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.experience-video__wrapper iframe,
.experience-video__wrapper video {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.experience-video__wrapper video {
    max-height: 500px;
}

@media (max-width: 768px) {
    .experience-video__wrapper iframe {
        height: 300px;
    }
    .experience-video__wrapper video {
        max-height: 300px;
    }
}

/* ========== Blog Sidebar ========== */

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-sidebar.is-fixed {
    position: fixed;
    bottom: 20px;
}

.blog-sidebar.is-bottom {
    position: absolute;
    bottom: 0;
}

.blog-sidebar__widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(10,61,92,0.04);
}

.blog-sidebar__title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #1e3a53;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.blog-sidebar__title i {
    color: #1e3a53;
    font-size: 0.9rem;
}

/* TOC List */
.blog-sidebar-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-toc__item {
    margin-bottom: 2px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    font-size: 0.82rem;
    color: #334155;
    line-height: 1.4;
}

.blog-sidebar-toc__item:hover {
    background: #f0f9ff;
    color: #1e3a53;
}

.blog-sidebar-toc__item .toc-num {
    font-weight: 700;
    color: #1e3a53;
    margin-right: 4px;
}

.blog-sidebar-toc__item--lvl1 { font-size: 0.78rem; }
.blog-sidebar-toc__item--lvl2 { font-size: 0.75rem; }

.blog-sidebar-toc__item a {
    font-size: 0.8rem;
    color: #3d4f5f;
    text-decoration: none;
    display: block;
    padding: 4px 0;
    line-height: 1.4;
    transition: color 0.15s, padding-left 0.15s;
}

.blog-sidebar-toc__item a:hover {
    color: #1e3a53;
    padding-left: 4px;
}

/* Share Buttons */
.blog-share {
    display: flex;
    gap: 10px;
}

.blog-share__btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.blog-share__btn:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.blog-share__btn--fb { background: #1877f2 !important; }
.blog-share__btn--tw { background: #000 !important; }
.blog-share__btn--wa { background: #25d366 !important; }
.blog-share__btn--em { background: #1e3a53 !important; }
.blog-share__btn--link { background: #6366f1 !important; }

/* Sidebar Posts */
.blog-sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.blog-sidebar-post {
    display: flex;
    gap: 12px;
    text-decoration: none !important;
    color: inherit;
    padding: 10px;
    margin: 0 -10px;
    border-radius: 8px;
    transition: background 0.15s;
}

.blog-sidebar-post:hover {
    background: #f0f9ff;
}

.blog-sidebar-post__img {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.blog-sidebar-post__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-sidebar-post__body {
    flex: 1;
    min-width: 0;
}

.blog-sidebar-post__body h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 2px;
    line-height: 1.35;
}

.blog-sidebar-post__body h5 a {
    color: inherit;
    text-decoration: none !important;
}

.blog-sidebar-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
}

.blog-sidebar-post__body span {
    font-size: 0.68rem;
    color: #4a5568;
}

/* Sidebar Tags */
.blog-sidebar-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-sidebar-tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e3a53;
    background: transparent;
    border: 1.5px solid #c8dce8;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.15s;
}

.blog-sidebar-tag:hover {
    background: #1e3a53;
    border-color: #1e3a53;
    color: #fff;
}

@media (max-width: 991px) {
    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }
}

/* ========== Travel Stories Variant ========== */

.blogd-story-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c18a2b;
    margin-bottom: 8px;
}

/* Full-width immersive hero */
.blogd-article--story {
    padding-top: 0;
}

.blogd-article--story .blogd-hero-img--story {
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.blogd-article--story .blogd-hero-img--story img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.blogd-article--story .blogd-hero-img--story::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 14px;
}

.blogd-article--story .blogd-hero-img__badges {
    bottom: auto;
    top: 20px;
    left: 20px;
    z-index: 2;
}
.blogd-article--story .blogd-hero-img__badge {
    background: rgba(255,255,255,0.9);
    color: #1e3a53;
    font-weight: 700;
}
.blogd-article--story a.blogd-hero-img__badge:hover {
    background: #fff;
    color: #0f2740;
}

/* Title on hero — now inside hero wrapper */
.blogd-story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 28px 24px;
    z-index: 2;
}

.blogd-story-overlay__quote {
    font-size: 6rem;
    line-height: 0.6;
    color: #1e3a53;
    font-family: "Cormorant Garamond", Georgia, serif;
    opacity: 0.7;
}

/* Story title below hero */
.blogd-title--story {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 500;
    color: #112a45;
    line-height: 1.2;
    margin: 0 0 12px;
    font-family: 'Newsreader', Georgia, serif;
}

/* Story byline */
.blogd-story-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 0.82rem;
}

.blogd-story-byline__author {
    color: #1e3a53;
    font-weight: 600;
}

.blogd-story-byline__date {
    color: #4a5568;
}

/* Remove old absolute positioning for story elements */
.blogd-article--story .blogd-title { display: none; }
.blogd-article--story .blogd-title--story { display: block; }

/* Lead */
.blogd-article--story .blogd-lead--story {
    font-size: 1.05rem;
    font-style: italic;
    color: #3d4f5f;
    border-left: 3px solid #c18a2b;
    padding-left: 16px;
    margin-bottom: 28px;
    text-align: left;
    max-width: none;
}

.blogd-article--story .blogd-lead--story::before,
.blogd-article--story .blogd-lead--story::after { display: none; }

/* Content */
.blogd-article--story .blog-content {
    max-width: none;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgb(35, 31, 32);
}

.blogd-article--story .blog-content > p:first-of-type::first-letter {
    float: left;
    font-size: 3.2rem;
    line-height: 0.85;
    font-weight: 600;
    color: #1e3a53;
    margin: 4px 10px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
}

.blogd-article--story .blog-content h2 {
    text-align: left;
    border-bottom: none;
}

.blogd-article--story .blog-content h2::after { display: none; }

.blogd-article--story .blog-content blockquote {
    margin: 2rem 0;
    text-align: left;
    border-left: 3px solid #c18a2b;
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    padding: 12px 20px;
    background: #f8f9fa;
    font-size: 1rem;
    color: #334155;
    max-width: none;
}

.blogd-article--story .blog-content blockquote::before { display: none; }

.blogd-article--story .blog-content img {
    margin: 1.5rem 0;
    max-width: 100%;
    border-radius: 10px;
}

/* Tags */
.blogd-article--story .blogd-tags {
    justify-content: flex-start;
    max-width: none;
}

@media (max-width: 768px) {
    .blogd-article--story .blogd-title {
        font-size: 1.5rem;
        bottom: 70px;
    }
    .blogd-article--story .blogd-author { display: none; }
}

/* Meta category label */
.blogd-meta__cat {
    font-weight: 600;
    color: #1e3a53;
}

/* ========== Inline Gallery ========== */
.blogd-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 2rem;
}

.blogd-gallery__img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: transform 0.3s;
    cursor: pointer;
}

.blogd-gallery__img:hover {
    transform: scale(1.02);
}

@media (max-width: 576px) {
    .blogd-gallery { grid-template-columns: 1fr; }
}

/* CTA Button in sidebar */
.bl-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c18a2b, #9a7b2e);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    width: 100%;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s, transform 0.2s;
}
.bl-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #fff !important;
}

/* ========== BUG FIXES ========== */

/* 1. Caption ảnh căn giữa */
/* .blog-content figure { text-align: center; margin: 1.5rem 0; } */
.blog-content figcaption, .blogd-lead  figcaption {
    text-align: center !important;
    font-size: 0.8rem;
    color: #4a5568;
    font-style: italic;
    margin-top: 6px;
}

/* 2. Sidebar - handled above */

/* 3. Blog content justify */
/* .blog-content {
    text-align: justify !important;
    hyphens: auto;
}

.blog-content p {
    text-align: justify !important;
} */

/* 4. Ảnh không tràn */
.blog-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

.blogd-lead img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* 5. Travel Stories - ẩn TOC */
.blogd-article--story #blogToc,
.blogd-article--story .blogd-toc-inline {
    display: none !important;
}

/* ========== Summernote caption fix ========== */
.blog-content figcaption,
.blog-content .note-caption,
.blog-content .caption,
.blog-content p.caption,
.blog-content [data-caption],
.blog-content img + p,
.blog-content figure p,
.blog-content .note-figure p {
    text-align: center !important;
    font-size: 0.8rem;
    color: #4a5568;
    font-style: italic;
    margin-top: 4px;
    display: block;
}

/* Summernote wraps image in p tag sometimes */
.blog-content p > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* If Summernote outputs caption as text after image */
.blog-content figure figcaption {
    text-align: center !important;
    width: 100%;
}

/* ========== CKEditor figure figcaption center ========== */
.blog-content figure.image {
    text-align: center !important;
    margin: 1.5rem auto !important;
    display: table !important;
}

.blog-content figure.image img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}

.blog-content figure.image figcaption {
    display: table-caption !important;
    caption-side: bottom !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    color: #4a5568 !important;
    font-style: italic !important;
    padding: 6px 0 !important;
}

/* ========== TinyMCE figure.image figcaption ========== */
.blog-content figure.image {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 1.5rem auto !important;
    max-width: 100% !important;
}

.blog-content figure.image img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

.blog-content figure.image figcaption {
    text-align: center !important;
    font-size: 0.8rem !important;
    color: #4a5568 !important;
    font-style: italic !important;
    padding: 6px 0 0 !important;
    width: 100% !important;
}

/* Body copy — baseline 16px; respect editor inline font sizes */
.blog-content {
    font-size: 1rem;
    line-height: 1.7;
    color: rgb(35, 31, 32);
    font-family: "Manrope", sans-serif;
}

.blog-content :is(p, li, span, div, td, th, blockquote, ul, ol) {
    font-size: inherit;
    color: inherit;
}

.blog-content :is(ul, ol) {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.blog-content li + li {
    margin-top: 0.35rem;
}

.blog-content :is(h1, h2, h3, h4, h5, h6) {
    font-size: revert;
    line-height: 1.3;
}
