/* style/blog-latest-promotions-analysis.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */

:root {
  --bi88-color-primary: #11A84E;
  --bi88-color-secondary: #22C768;
  --bi88-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bi88-bg-card: #11271B;
  --bi88-bg-body: #08160F;
  --bi88-text-main: #F2FFF6;
  --bi88-text-secondary: #A7D9B8;
  --bi88-border: #2E7A4E;
  --bi88-glow: #57E38D;
  --bi88-gold: #F2C14E;
  --bi88-divider: #1E3A2A;
  --bi88-deep-green: #0A4B2C;
}

.page-blog-latest-promotions-analysis {
  background-color: var(--bi88-bg-body);
  color: var(--bi88-text-main); /* Mặc định text màu sáng trên nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-latest-promotions-analysis__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Hình ảnh trên, nội dung dưới */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một chút top padding, body đã có header offset */
  box-sizing: border-box;
}

.page-blog-latest-promotions-analysis__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px; /* Khoảng cách giữa ảnh và nội dung */
}

.page-blog-latest-promotions-analysis__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-latest-promotions-analysis__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-latest-promotions-analysis__main-title {
  font-size: clamp(2rem, 4vw, 3rem); /* H1 font size with clamp */
  color: var(--bi88-gold); /* Sử dụng màu vàng cho tiêu đề chính */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.page-blog-latest-promotions-analysis__subtitle {
  font-size: 1.15rem;
  color: var(--bi88-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-latest-promotions-analysis__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-blog-latest-promotions-analysis__btn-primary,
.page-blog-latest-promotions-analysis__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px; /* Đảm bảo nút đủ lớn */
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-latest-promotions-analysis__btn-primary {
  background: var(--bi88-btn-gradient);
  color: var(--bi88-text-main);
  border: 2px solid transparent;
}

.page-blog-latest-promotions-analysis__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-promotions-analysis__btn-secondary {
  background-color: transparent;
  color: var(--bi88-color-primary);
  border: 2px solid var(--bi88-color-primary);
}

.page-blog-latest-promotions-analysis__btn-secondary:hover {
  background-color: var(--bi88-color-primary);
  color: var(--bi88-text-main);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-promotions-analysis__section {
  padding: 50px 20px;
  background-color: var(--bi88-bg-body); /* Đảm bảo nền tối cho các section */
  box-sizing: border-box;
}

.page-blog-latest-promotions-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-latest-promotions-analysis__section-title {
  font-size: 2.2rem;
  color: var(--bi88-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-blog-latest-promotions-analysis__text-block {
  font-size: 1.05rem;
  color: var(--bi88-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-latest-promotions-analysis__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-blog-latest-promotions-analysis__list-item {
  background-color: var(--bi88-bg-card); /* Nền thẻ tối */
  border-left: 5px solid var(--bi88-color-primary);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-promotions-analysis__list-title {
  font-size: 1.4rem;
  color: var(--bi88-gold);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-latest-promotions-analysis__list-description {
  font-size: 1rem;
  color: var(--bi88-text-secondary);
  margin-bottom: 0;
}

.page-blog-latest-promotions-analysis__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

.page-blog-latest-promotions-analysis__card {
  background-color: var(--bi88-bg-card);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--bi88-border);
}

.page-blog-latest-promotions-analysis__card-title {
  font-size: 1.5rem;
  color: var(--bi88-gold);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-blog-latest-promotions-analysis__card-text {
  font-size: 1.05rem;
  color: var(--bi88-text-secondary);
  margin-bottom: 0;
}

.page-blog-latest-promotions-analysis__numbered-list {
  list-style: none;
  padding: 0;
  counter-reset: item;
  margin-bottom: 30px;
}

.page-blog-latest-promotions-analysis__numbered-list .page-blog-latest-promotions-analysis__list-item {
  counter-increment: item;
  background-color: var(--bi88-bg-card);
  border: 1px solid var(--bi88-border);
  padding: 20px 20px 20px 60px;
  position: relative;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-blog-latest-promotions-analysis__numbered-list .page-blog-latest-promotions-analysis__list-item::before {
  content: counter(item);
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: var(--bi88-color-primary);
  color: var(--bi88-text-main);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-blog-latest-promotions-analysis__tip {
  font-style: italic;
  padding: 15px;
  background-color: var(--bi88-deep-green);
  border-left: 5px solid var(--bi88-glow);
  border-radius: 5px;
  color: var(--bi88-text-main);
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-blog-latest-promotions-analysis__faq-list {
  margin-top: 30px;
}

.page-blog-latest-promotions-analysis__faq-item {
  background-color: var(--bi88-bg-card);
  border: 1px solid var(--bi88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-blog-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--bi88-gold);
  cursor: pointer;
  background-color: var(--bi88-bg-card);
  border-bottom: 1px solid var(--bi88-divider);
  list-style: none; /* remove default marker for details */
}

.page-blog-latest-promotions-analysis__faq-question::-webkit-details-marker {
  display: none; /* remove default marker for webkit */
}

.page-blog-latest-promotions-analysis__faq-question:hover {
  background-color: var(--bi88-deep-green);
}

.page-blog-latest-promotions-analysis__faq-toggle {
  font-size: 1.5rem;
  color: var(--bi88-color-primary);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-latest-promotions-analysis__faq-item[open] .page-blog-latest-promotions-analysis__faq-toggle {
  transform: rotate(45deg); /* rotate + to x */
}

.page-blog-latest-promotions-analysis__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05rem;
  color: var(--bi88-text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-latest-promotions-analysis__main-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .page-blog-latest-promotions-analysis__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-promotions-analysis {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-latest-promotions-analysis__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body đã có header offset */
  }

  .page-blog-latest-promotions-analysis__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-blog-latest-promotions-analysis__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-blog-latest-promotions-analysis__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-latest-promotions-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .page-blog-latest-promotions-analysis__btn-primary,
  .page-blog-latest-promotions-analysis__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-latest-promotions-analysis__section {
    padding: 30px 0; /* padding-left/right handled by container */
  }

  .page-blog-latest-promotions-analysis__container {
    padding: 0 15px !important; /* Ensure inner content has padding */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog-latest-promotions-analysis__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-latest-promotions-analysis__text-block,
  .page-blog-latest-promotions-analysis__list-description,
  .page-blog-latest-promotions-analysis__card-text,
  .page-blog-latest-promotions-analysis__faq-answer p {
    font-size: 0.95rem;
  }

  .page-blog-latest-promotions-analysis__list-item,
  .page-blog-latest-promotions-analysis__card {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-blog-latest-promotions-analysis__list-title,
  .page-blog-latest-promotions-analysis__card-title {
    font-size: 1.2rem;
  }

  .page-blog-latest-promotions-analysis__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog-latest-promotions-analysis__numbered-list .page-blog-latest-promotions-analysis__list-item {
    padding: 15px 15px 15px 50px;
  }

  .page-blog-latest-promotions-analysis__numbered-list .page-blog-latest-promotions-analysis__list-item::before {
    width: 25px;
    height: 25px;
    font-size: 1rem;
    left: 15px;
    top: 15px;
  }

  .page-blog-latest-promotions-analysis__faq-question {
    padding: 15px;
    font-size: 1.1rem;
  }

  .page-blog-latest-promotions-analysis__faq-toggle {
    font-size: 1.3rem;
  }

  .page-blog-latest-promotions-analysis__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

/* Ensure all images are responsive and don't use filters */
.page-blog-latest-promotions-analysis img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Explicitly disable any filters */
}
/* Ensure content area images maintain min size */
.page-blog-latest-promotions-analysis__image-content {
  min-width: 200px;
  min-height: 200px;
}

/* Specific overrides for mobile images within sections/cards/containers */
@media (max-width: 768px) {
  .page-blog-latest-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important; /* Re-emphasize no filters */
  }

  .page-blog-latest-promotions-analysis__section,
  .page-blog-latest-promotions-analysis__card,
  .page-blog-latest-promotions-analysis__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}