/* === BAI VIET HUB PAGE === */

/* Hero */
.bv-hero {
  position: relative;
  background: linear-gradient(135deg, #690429 0%, #ad0353 50%, #690429 100%);
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
  min-height: 220px;
}
.bv-hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDM0djItSDI0di0yaDEyek0zNiAyNHYySDI0di0yaDEyeiIvPjwvZz48L2c+PC9zdmc+');
  opacity: 0.5;
}
.bv-hero-content {
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.bv-breadcrumb {
  margin-bottom: 20px;
}
.bv-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bv-breadcrumb li {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}
.bv-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.6;
}
.bv-breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.bv-breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Hero Title */
.bv-hero-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.bv-hero-desc {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Sections */
.bv-section {
  padding: 40px 0;
}
.bv-section-alt {
  background: #f8f5f0;
}
.bv-section-header {
  text-align: center;
  margin-bottom: 30px;
}
.bv-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.bv-section-title i {
  color: #ad0353;
  font-size: 20px;
}
.bv-section-desc {
  color: #666;
  font-size: 14px;
}

/* Cards */
.bv-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.bv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.bv-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.bv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.bv-card:hover .bv-card-img img {
  transform: scale(1.05);
}
.bv-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ad0353;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.bv-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bv-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.bv-card-meta i {
  margin-right: 4px;
}
.bv-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.bv-card-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.bv-card-title a:hover {
  color: #ad0353;
}
.bv-card-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bv-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.bv-card-tags a {
  display: inline-block;
  padding: 3px 10px;
  background: #f0e8f0;
  color: #ad0353;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.bv-card-tags a:hover {
  background: #ad0353;
  color: #fff;
}

/* Featured Card */
.bv-card-featured .bv-card-title {
  font-size: 17px;
}

/* Small Card */
.bv-card-sm .bv-card-body {
  padding: 14px;
}
.bv-card-sm .bv-card-title {
  font-size: 15px;
}
.bv-card-sm .bv-card-excerpt {
  font-size: 13px;
  -webkit-line-clamp: 2;
}

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

/* CTA Banner */
.bv-cta {
  padding: 50px 0;
  background: linear-gradient(135deg, #690429 0%, #ad0353 100%);
  text-align: center;
}
.bv-cta-content h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
.bv-cta-content p {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  margin-bottom: 24px;
}
.bv-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cta-primary {
  display: inline-block;
  padding: 12px 28px;
  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: 12px 28px;
  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;
}

/* Mobile */
@media (max-width: 767px) {
  .bv-hero {
    padding: 40px 0;
    min-height: 180px;
  }
  .bv-hero-title {
    font-size: 22px;
  }
  .bv-hero-desc {
    font-size: 14px;
  }
  .bv-section {
    padding: 30px 0;
  }
  .bv-section-title {
    font-size: 18px;
  }
  .bv-card-title {
    font-size: 15px;
  }
  .bv-card-featured .bv-card-title {
    font-size: 16px;
  }
  .bv-faq-question {
    font-size: 14px;
    padding: 14px 16px;
  }
  .bv-faq-answer p {
    font-size: 13px;
    padding: 0 16px 14px;
  }
  .bv-cta-content h2 {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  .bv-hero-title {
    font-size: 20px;
  }
  .bv-card-meta {
    flex-direction: column;
    gap: 4px;
  }
}
