/* ============================================
   BÀI VIẾT - SHARED STYLES FOR ALL ARTICLES
   ============================================ */

/* Breadcrumb */
.bv-breadcrumb { background: #f8f8f8; padding: 12px 0; border-bottom: 1px solid #eee; }
.bv-breadcrumb ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; }
.bv-breadcrumb li { font-size: 13px; color: #888; }
.bv-breadcrumb li a { color: #ad0353; text-decoration: none; font-weight: 500; }
.bv-breadcrumb li a:hover { text-decoration: underline; }
.bv-breadcrumb li + li::before { content: '/'; margin: 0 8px; color: #ccc; }
.bv-breadcrumb li:last-child { color: #333; font-weight: 600; }

/* Hero Article */
.bv-hero { position: relative; overflow: hidden; background: #1a1a2e; }
.bv-hero img { width: 100%; height: auto; display: block; }
.bv-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(173,3,83,0.9), rgba(26,26,46,0.85)); display: flex; align-items: center; justify-content: center; }
.bv-hero-content { text-align: center; color: #fff; padding: 30px 20px; max-width: 800px; }
.bv-hero-cat { display: inline-block; background: rgba(255,255,255,0.2); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.bv-hero-content h1 { font-size: 30px; font-weight: 800; margin: 0 0 12px; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.bv-hero-meta { font-size: 13px; opacity: 0.85; display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap; }
.bv-hero-meta i { margin-right: 4px; }

/* Article Layout */
.bv-article-section { padding: 40px 0; background: #fff; }
.bv-article-layout { display: flex; gap: 30px; align-items: flex-start; }
.bv-article-main { flex: 1; min-width: 0; }
.bv-article-sidebar { width: 300px; flex-shrink: 0; position: sticky; top: 20px; }

/* Article Content */
.bv-article-content h2 { font-size: 22px; font-weight: 700; color: #222; margin: 35px 0 15px; padding-bottom: 10px; border-bottom: 2px solid #ad0353; display: inline-block; }
.bv-article-content h3 { font-size: 18px; font-weight: 600; color: #333; margin: 25px 0 12px; }
.bv-article-content p { font-size: 15px; color: #444; line-height: 1.85; margin-bottom: 15px; }
.bv-article-content ul, .bv-article-content ol { margin: 12px 0 18px; padding-left: 25px; }
.bv-article-content li { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 8px; }
.bv-article-content strong { color: #222; }
.bv-article-content a { color: #ad0353; text-decoration: underline; font-weight: 500; }
.bv-article-content a:hover { color: #8a0242; }
.bv-article-content blockquote { background: #fdf2f7; border-left: 4px solid #ad0353; padding: 15px 20px; margin: 20px 0; border-radius: 0 8px 8px 0; font-style: italic; color: #555; }
.bv-article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; }

/* Table */
.bv-article-content .table-responsive { margin: 20px 0; overflow-x: auto; }
.bv-article-content table { width: 100%; border-collapse: collapse; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.bv-article-content table th { background: #ad0353; color: #fff; padding: 12px 15px; font-size: 14px; font-weight: 600; text-align: left; }
.bv-article-content table td { padding: 11px 15px; font-size: 14px; color: #444; border-bottom: 1px solid #f0f0f0; }
.bv-article-content table tr:hover td { background: #fef6f9; }
.bv-article-content table tr:last-child td { border-bottom: none; }

/* TOC (Table of Contents) */
.bv-toc { background: #f9f9f9; border: 1px solid #eee; border-radius: 10px; padding: 20px 25px; margin-bottom: 30px; }
.bv-toc h4 { font-size: 15px; font-weight: 700; color: #333; margin: 0 0 12px; display: flex; align-items: center; }
.bv-toc h4 i { color: #ad0353; margin-right: 8px; }
.bv-toc ol { margin: 0; padding-left: 20px; counter-reset: toc-counter; list-style: none; }
.bv-toc ol li { counter-increment: toc-counter; margin-bottom: 6px; }
.bv-toc ol li::before { content: counter(toc-counter) "."; color: #ad0353; font-weight: 700; margin-right: 8px; font-size: 13px; }
.bv-toc ol li a { color: #555; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.bv-toc ol li a:hover { color: #ad0353; }

/* FAQ Section */
.bv-faq { background: #f9f9f9; border-radius: 10px; padding: 30px; margin: 30px 0; }
.bv-faq h2 { font-size: 20px; font-weight: 700; color: #333; margin: 0 0 20px; text-align: center; }
.bv-faq-item { background: #fff; border-radius: 8px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); overflow: hidden; border: 1px solid #f0f0f0; }
.bv-faq-q { padding: 14px 18px; cursor: pointer; font-weight: 600; color: #333; font-size: 14.5px; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.bv-faq-q:hover { background: #fef6f9; }
.bv-faq-q i { color: #ad0353; transition: transform 0.3s; flex-shrink: 0; margin-left: 10px; font-size: 13px; }
.bv-faq-item.active .bv-faq-q i { transform: rotate(180deg); }
.bv-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 18px; color: #555; font-size: 14px; line-height: 1.75; }
.bv-faq-item.active .bv-faq-a { max-height: 500px; padding: 0 18px 14px; }

/* Author Box */
.bv-author { background: linear-gradient(135deg, #fdf2f7, #fce4ec); border-radius: 10px; padding: 25px; margin: 30px 0; display: flex; gap: 20px; align-items: flex-start; }
.bv-author-icon { width: 55px; height: 55px; background: #ad0353; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bv-author-icon i { color: #fff; font-size: 24px; }
.bv-author-info h4 { font-size: 15px; font-weight: 700; color: #333; margin: 0 0 8px; }
.bv-author-info p { font-size: 13.5px; color: #666; line-height: 1.7; margin: 0 0 5px; }
.bv-author-info .bv-author-date { font-size: 12px; color: #999; }

/* Sidebar */
.bv-sidebar-widget { background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: hidden; margin-bottom: 25px; border: 1px solid #f0f0f0; }
.bv-sidebar-title { background: #ad0353; color: #fff; padding: 13px 18px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; margin: 0; display: flex; align-items: center; }
.bv-sidebar-title i { margin-right: 8px; font-size: 14px; }
.bv-sidebar-list { list-style: none; padding: 0; margin: 0; }
.bv-sidebar-list li { border-bottom: 1px solid #f5f5f5; }
.bv-sidebar-list li:last-child { border-bottom: none; }
.bv-sidebar-list li a { display: flex; align-items: center; padding: 11px 18px; color: #444; font-size: 13.5px; font-weight: 500; transition: all 0.2s; text-decoration: none; }
.bv-sidebar-list li a i { color: #ad0353; margin-right: 10px; font-size: 11px; width: 14px; text-align: center; flex-shrink: 0; }
.bv-sidebar-list li a:hover { background: #fef6f9; color: #ad0353; padding-left: 22px; }

/* CTA */
.bv-cta { background: linear-gradient(135deg, #ad0353, #d40662); color: #fff; text-align: center; padding: 40px 20px; border-radius: 10px; margin: 30px 0; }
.bv-cta h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.bv-cta p { font-size: 14px; opacity: 0.9; margin-bottom: 18px; }
.bv-cta a { display: inline-block; background: #fff; color: #ad0353; padding: 11px 30px; border-radius: 25px; font-weight: 700; font-size: 13px; text-decoration: none; transition: all 0.3s; margin: 0 5px; }
.bv-cta a:hover { background: #333; color: #fff; }
.bv-cta a.cta-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.bv-cta a.cta-outline:hover { background: #fff; color: #ad0353; }

/* Footer fix */
.companyinfo h4 span { color: #ad0353; }

/* Responsive */
@media (max-width: 991px) {
    .bv-article-layout { flex-direction: column; }
    .bv-article-sidebar { width: 100%; }
}
@media (max-width: 767px) {
    .bv-hero-content h1 { font-size: 22px; }
    .bv-hero-meta { font-size: 12px; gap: 10px; }
    .bv-article-content h2 { font-size: 19px; }
    .bv-author { flex-direction: column; align-items: center; text-align: center; }
    .bv-cta h3 { font-size: 19px; }
}
