/* === BAI VIET CHI TIET === */

/* Breadcrumb Bar */
.bv-breadcrumb-bar {
  background: #f8f5f0;
  padding: 12px 0;
  border-bottom: 1px solid #e8e0d8;
}
.bv-breadcrumb-bar ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
}
.bv-breadcrumb-bar li {
  color: #888;
}
.bv-breadcrumb-bar li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  opacity: 0.5;
}
.bv-breadcrumb-bar a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.bv-breadcrumb-bar a:hover {
  color: #ad0353;
}

/* Article Wrap */
.article-wrap {
  padding: 30px 0 50px;
}

/* Article Header */
.article-header {
  margin-bottom: 24px;
}
.article-category {
  display: inline-block;
  padding: 4px 14px;
  background: #ad0353;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.article-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #888;
}
.article-meta i {
  margin-right: 4px;
  color: #ad0353;
}

/* Featured Image */
.article-featured-img {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
}
.article-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Body */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
.article-body .article-lead {
  font-size: 17px;
  color: #333;
  border-left: 4px solid #ad0353;
  padding-left: 16px;
  margin-bottom: 24px;
}
.article-summary {
  background: #f8f9fa;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.article-summary h2 {
  font-size: 18px;
  font-weight: 700;
  color: #ad0353;
  margin: 0 0 12px;
  padding: 0;
  border: none;
}
.article-summary ul {
  margin: 0;
  padding-left: 20px;
}
.article-summary li {
  margin-bottom: 6px;
  font-size: 15px;
}
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0e8f0;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 24px 0 12px;
}
.article-body p {
  margin-bottom: 16px;
}
.article-body ul, .article-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body strong {
  color: #222;
}
.article-body a {
  color: #ad0353;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: #690429;
}

/* Table */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.article-body th {
  background: #ad0353;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.article-body td {
  padding: 10px 16px;
  border-bottom: 1px solid #e8e0d8;
}
.article-body tr:nth-child(even) {
  background: #faf5f0;
}

/* TOC */
.article-toc {
  background: #f8f5f0;
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
}
.article-toc h2 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-toc h2 i {
  color: #ad0353;
}
.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
}
.article-toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}
.article-toc a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.article-toc a:hover {
  color: #ad0353;
}

/* Highlight Box */
.article-highlight {
  background: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}
.highlight-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f0e8f0;
}
.highlight-item:last-child {
  border-bottom: none;
}
.highlight-icon {
  width: 40px;
  height: 40px;
  background: #fdf0f5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-icon i {
  color: #ad0353;
  font-size: 16px;
}
.highlight-item strong {
  display: block;
  margin-bottom: 4px;
  color: #222;
}
.highlight-item p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Checklist */
.article-checklist {
  margin: 20px 0;
}
.check-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0e8f0;
}
.check-item:last-child {
  border-bottom: none;
}
.check-item > i {
  color: #ad0353;
  font-size: 18px;
  margin-top: 2px;
}
.check-item strong {
  display: block;
  margin-bottom: 2px;
}
.check-item p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Steps */
.article-steps {
  margin: 20px 0;
}
.step-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0e8f0;
}
.step-item:last-child {
  border-bottom: none;
}
.step-num {
  width: 36px;
  height: 36px;
  background: #ad0353;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.step-item strong {
  display: block;
  margin-bottom: 4px;
}
.step-item p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Warning Box */
.article-warning {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
}
.article-warning > p {
  margin-bottom: 8px;
  color: #e65100;
}
.article-warning i {
  color: #ff9800;
}
.article-warning ul {
  margin: 0;
  padding-left: 20px;
}
.article-warning li {
  margin-bottom: 4px;
  font-size: 14px;
}

/* FAQ */
.article-faq {
  margin: 20px 0;
}
.faq-item {
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #faf5f0;
}
.faq-question i {
  color: #ad0353;
  font-size: 12px;
  transition: transform 0.3s;
}
.faq-open .faq-question i {
  transform: rotate(90deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 18px 14px;
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* CTA Box */
.article-cta-box {
  background: linear-gradient(135deg, #690429 0%, #ad0353 100%);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin: 30px 0;
  color: #fff;
}
.article-cta-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.article-cta-box p {
  margin-bottom: 20px;
  opacity: 0.9;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cta-primary {
  display: inline-block;
  padding: 10px 24px;
  background: #fff;
  color: #ad0353;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-cta-primary:hover {
  background: #f0e8f0;
  transform: translateY(-2px);
}
.btn-cta-outline {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-cta-outline:hover {
  background: #fff;
  color: #ad0353;
}

/* Article Footer */
.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #e8e0d8;
  margin-top: 30px;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.article-tags span {
  color: #888;
}
.article-tags a {
  display: inline-block;
  padding: 3px 10px;
  background: #f0e8f0;
  color: #ad0353;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.2s, color 0.2s;
}
.article-tags a:hover {
  background: #ad0353;
  color: #fff;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #888;
}
.article-share a {
  width: 32px;
  height: 32px;
  background: #3b5998;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}
.article-share a:hover {
  opacity: 0.8;
}

/* Related Articles */
.related-articles {
  margin-top: 40px;
}
.related-articles h2 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-articles h2 i {
  color: #ad0353;
}
.related-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.related-info {
  padding: 12px;
}
.related-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.4;
}
.related-info span {
  font-size: 12px;
  color: #888;
}

/* Sidebar */
.article-sidebar {
  padding-left: 20px;
}
.sidebar-widget {
  background: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ad0353;
}
.sidebar-product {
  margin-bottom: 12px;
}
.sidebar-product a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.sidebar-product a:hover {
  background: #faf5f0;
}
.sidebar-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.sidebar-product strong {
  display: block;
  font-size: 13px;
  color: #333;
  margin-bottom: 4px;
}
.sidebar-product .price {
  color: #ad0353;
  font-weight: 700;
  font-size: 14px;
}
.sidebar-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-posts li {
  padding: 8px 0;
  border-bottom: 1px solid #f0e8f0;
}
.sidebar-posts li:last-child {
  border-bottom: none;
}
.sidebar-posts a {
  font-size: 13px;
  color: #444;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}
.sidebar-posts a:hover {
  color: #ad0353;
}
.sidebar-cta {
  background: linear-gradient(135deg, #690429, #ad0353);
  color: #fff;
  text-align: center;
}
.sidebar-cta h3 {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.3);
}
.sidebar-cta p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
}
.btn-sidebar-call {
  display: inline-block;
  padding: 10px 24px;
  background: #fff;
  color: #ad0353;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-sidebar-call:hover {
  background: #f0e8f0;
}

/* Mobile */
@media (max-width: 991px) {
  .article-sidebar {
    padding-left: 0;
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .article-title {
    font-size: 22px;
  }
  .article-meta {
    flex-direction: column;
    gap: 6px;
  }
  .article-toc ul {
    columns: 1;
  }
  .article-body {
    font-size: 15px;
  }
  .article-body h2 {
    font-size: 20px;
  }
  .article-cta-box {
    padding: 24px 16px;
  }
  .related-card img {
    height: 140px;
  }
}
