/*************** BLOG SINGLE POST - CLEAN LIGHT THEME ***************/

/* === Page Layout === */
.blog-single #content,
.single-post #content {
    background: #f5f7fa;
    padding-bottom: 40px;
}

/* === Breadcrumbs === */
.blog-single #breadcrumbs,
.single-post #breadcrumbs {
    color: #888;
    padding: 15px 0;
    font-size: 13px;
    margin-bottom: 5px;
}
.blog-single #breadcrumbs a,
.single-post #breadcrumbs a {
    color: #0160e7;
    transition: color 0.3s ease;
}
.blog-single #breadcrumbs a:hover,
.single-post #breadcrumbs a:hover {
    color: #04dbf1;
}

/* === Entry Header & Title === */
.blog-single .entry-header,
.single-post .entry-header {
    margin-bottom: 0;
}
.blog-single .entry-title,
.single-post .entry-title {
    color: #1a1a2e !important;
    font-family: 'UTMAvoBold', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-transform: none;
    line-height: 1.3;
    margin-bottom: 15px;
    padding: 0;
}

/* === Featured Image === */
.blog-single .entry-image,
.single-post .entry-image {
    margin-bottom: 0;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}
.blog-single .entry-image img,
.single-post .entry-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* === Content Card === */
.blog-single .article-inner,
.single-post .article-inner {
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    padding: 35px 40px;
    margin-bottom: 0;
    border: none;
}
.blog-single .entry-content,
.single-post .entry-content {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
    padding: 0;
}
.blog-single .entry-content p,
.single-post .entry-content p {
    margin-bottom: 18px;
}
.blog-single .entry-content img,
.single-post .entry-content img {
    border-radius: 10px;
    margin: 15px 0;
    max-width: 100%;
}
.blog-single .entry-content h2,
.single-post .entry-content h2,
.blog-single .entry-content h3,
.single-post .entry-content h3,
.blog-single .entry-content h4,
.single-post .entry-content h4 {
    color: #1a1a2e;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* === Entry Meta (date, author) === */
.blog-single .entry-meta,
.single-post .entry-meta {
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0;
    color: #888;
    border: none;
    padding: 10px 0 15px;
    margin-bottom: 0;
    background: transparent;
    text-align: left;
}
.blog-single .entry-meta a,
.single-post .entry-meta a {
    color: #0160e7;
    transition: color 0.3s ease;
}
.blog-single .entry-meta a:hover,
.single-post .entry-meta a:hover {
    color: #04dbf1;
}

/* === Footer Meta (categories, tags) === */
.blog-single footer.entry-meta,
.single-post footer.entry-meta {
    background: #f0f4f8;
    border-radius: 10px;
    padding: 18px 22px;
    margin-top: 20px;
    color: #555;
    text-align: left;
    border: none;
}
.blog-single footer.entry-meta a,
.single-post footer.entry-meta a {
    color: #0160e7;
}
.blog-single footer.entry-meta a:hover,
.single-post footer.entry-meta a:hover {
    color: #04dbf1;
}

/* === Share Buttons - Hidden (not SEO relevant per Google) === */
.blog-single .blog-share,
.single-post .blog-share {
    display: none !important;
}

/* === Author Box === */
.blog-single .entry-author,
.single-post .entry-author {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    margin-top: 0;
    border: 1px solid #eef1f5;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}
.blog-single .entry-author .blog-author-image img,
.single-post .entry-author .blog-author-image img {
    border-radius: 50%;
    border: 3px solid #0160e7;
}
.blog-single .entry-author .author-name,
.single-post .entry-author .author-name {
    color: #1a1a2e;
    font-family: 'UTMAvoBold', sans-serif;
    font-size: 16px;
}
.blog-single .entry-author .author-desc,
.single-post .entry-author .author-desc {
    color: #666;
    line-height: 1.6;
}

/* === "Xem thêm" Section === */
.xem-them .tieu-de-xem-them {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: #1a1a2e;
}
.xem-them ul li {
    margin-bottom: 5px;
}
.xem-them ul li a {
    font-weight: 600;
    font-size: 15px;
    color: #0160e7;
    transition: color 0.3s ease;
}
.xem-them ul li a:hover {
    color: #04dbf1;
    text-decoration: underline;
}

/* === Danh mục & Thẻ tìm kiếm === */
.danh-muc {
    margin-bottom: 15px;
}
.danh-muc span.title,
.the-tim-kiem span.title {
    border-radius: 6px;
    background: #0160e7;
    padding: 5px 14px;
    color: white;
    margin-right: 8px;
    font-size: 13px;
    font-family: 'UTMAvoBold', sans-serif;
}
.danh-muc a,
.the-tim-kiem a {
    line-height: 32px;
    border-radius: 6px;
    margin-bottom: 8px;
    padding: 5px 14px;
    background: #e8ecf2;
    color: #333;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}
.danh-muc a:hover,
.the-tim-kiem a:hover {
    background: #0160e7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(1,96,231,0.2);
}

/* === Bài viết liên quan (Flatsome slider) === */

/* Section title */
.single-post .product-section-title,
.blog-single .product-section-title {
    font-size: 22px !important;
    color: #1a1a2e !important;
    font-family: 'UTMAvoBold', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px !important;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef1f5;
    text-align: left !important;
}

/* Slider wrapper — transparent, no extra box */
.single-post .slider-wrapper,
.blog-single .slider-wrapper {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

/* Kill ALL borders + backgrounds from Flatsome box system */
.single-post .box,
.blog-single .box,
.single-post .box-vertical,
.blog-single .box-vertical,
.single-post .box-vertical .col-inner,
.blog-single .box-vertical .col-inner,
.single-post .box-text,
.blog-single .box-text,
.single-post .flickity-viewport,
.blog-single .flickity-viewport,
.single-post .row-slider,
.blog-single .row-slider,
.single-post .section-title-container,
.blog-single .section-title-container,
.single-post .col,
.blog-single .col,
/* Also target div-tin-lien-quan from style.css */
.div-tin-lien-quan .post-item .col-inner,
.div-tin-lien-quan .col-inner,
.div-tin-lien-quan .box,
.div-tin-lien-quan .box-text,
.single-post .post-item .col-inner,
.single-post .post-item .box,
.single-post .post-item .box-text,
.single-post .has-hover,
.single-post .is-light,
.single-post .box-text-bottom {
    border: none !important;
    outline: none !important;
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Individual card — no border, no shadow, no bg */
.single-post .box-vertical .col-inner,
.blog-single .box-vertical .col-inner,
.div-tin-lien-quan .post-item .col-inner {
    background: transparent !important;
    border-radius: 0 !important;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}
.single-post .box-vertical .col-inner:hover,
.blog-single .box-vertical .col-inner:hover {
    transform: translateY(-4px);
}

/* Card image */
.single-post .box-vertical .box-image,
.blog-single .box-vertical .box-image {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}
.single-post .box-vertical .box-image img,
.blog-single .box-vertical .box-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}
.single-post .box-vertical .col-inner:hover .box-image img,
.blog-single .box-vertical .col-inner:hover .box-image img {
    transform: scale(1.05);
}

/* Card text area */
.single-post .box-vertical .box-text,
.blog-single .box-vertical .box-text {
    padding: 15px !important;
}

/* Category label */
.single-post .box-vertical .cat-label,
.blog-single .box-vertical .cat-label {
    color: #0160e7 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

/* Post title */
.single-post .box-vertical .post-title,
.blog-single .box-vertical .post-title {
    font-size: 15px !important;
    line-height: 1.4;
    margin-bottom: 8px !important;
    min-height: auto;
}
.single-post .box-vertical .post-title a,
.blog-single .box-vertical .post-title a {
    color: #1a1a2e !important;
    transition: color 0.3s ease;
}
.single-post .box-vertical .post-title a:hover,
.blog-single .box-vertical .post-title a:hover {
    color: #0160e7 !important;
}

/* Excerpt */
.single-post .box-vertical .from-blog,
.blog-single .box-vertical .from-blog {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post meta (author, date) */
.single-post .box-vertical .post-meta,
.blog-single .box-vertical .post-meta {
    font-size: 12px !important;
    color: #999 !important;
    opacity: 1 !important;
}
.single-post .box-vertical .post-meta a,
.blog-single .box-vertical .post-meta a {
    color: #0160e7 !important;
}

/* Hide dividers inside cards */
.single-post .box-vertical .is-divider,
.blog-single .box-vertical .is-divider {
    display: none !important;
}

/* Flickity pagination dots */
.single-post .flickity-page-dots,
.blog-single .flickity-page-dots {
    margin-top: 15px;
}
.single-post .flickity-page-dots .dot,
.blog-single .flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    background: #d0d5dd;
    opacity: 1;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.single-post .flickity-page-dots .dot.is-selected,
.blog-single .flickity-page-dots .dot.is-selected {
    background: #0160e7;
    transform: scale(1.2);
}

/* Flickity prev/next buttons */
.single-post .flickity-button,
.blog-single .flickity-button {
    background: rgba(1,96,231,0.08) !important;
    color: #0160e7 !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}
.single-post .flickity-button:hover,
.blog-single .flickity-button:hover {
    background: #0160e7 !important;
    color: #fff !important;
}

/* Also keep custom class selectors as fallback */
.bai-viet-lien-quan {
    margin-top: 25px;
}
.bai-viet-lien-quan h3 {
    font-size: 22px;
    color: #1a1a2e;
    font-family: 'UTMAvoBold', sans-serif;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef1f5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* === Next/Prev Navigation === */
.blog-single .nav-next a,
.single-post .nav-next a,
.blog-single .nav-previous a,
.single-post .nav-previous a {
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease;
}
.blog-single .nav-next a:hover,
.single-post .nav-next a:hover,
.blog-single .nav-previous a:hover,
.single-post .nav-previous a:hover {
    color: #0160e7;
}
.blog-single .next-prev-nav,
.single-post .next-prev-nav {
    padding: 20px 0;
    margin-top: 15px;
    border-top: 1px solid #eef1f5;
}

/* === Sidebar === */
.blog-single .post-sidebar,
.single-post .post-sidebar,
.blog-single .large-3,
.single-post .large-3 {
    border-left: none !important;
    padding-left: 15px;
}
.blog-single .post-sidebar .widget,
.single-post .post-sidebar .widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eef1f5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.blog-single .post-sidebar .widget-title,
.single-post .post-sidebar .widget-title {
    color: #1a1a2e;
    font-family: 'UTMAvoBold', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0160e7;
}
.blog-single .post-sidebar .widget a,
.single-post .post-sidebar .widget a {
    color: #555;
    transition: color 0.3s ease;
}
.blog-single .post-sidebar .widget a:hover,
.single-post .post-sidebar .widget a:hover {
    color: #0160e7;
}

/* === Comments - Hidden (spam risk, thin content) === */
.blog-single #comments,
.single-post #comments,
.blog-single #respond,
.single-post #respond {
    display: none !important;
}

/* === Dividers - hide unnecessary ones === */
.blog-single .is-divider,
.single-post .is-divider {
    display: none;
}

/* === Blog Single Mobile === */
@media (max-width: 849px) {
    .blog-single .entry-title,
    .single-post .entry-title {
        font-size: 24px;
        line-height: 1.3;
    }
    .blog-single .article-inner,
    .single-post .article-inner {
        padding: 25px 20px;
        border-radius: 12px;
    }
    .bai-viet-lien-quan ul li {
        width: 100%;
    }
    .bai-viet-lien-quan ul li .box-image img {
        height: 200px;
    }
    .bai-viet-lien-quan {
        padding: 20px 15px;
    }
    .blog-single .post-sidebar .widget,
    .single-post .post-sidebar .widget {
        padding: 15px;
    }
}
