/* style/blog-khuyen-mai-doc-quyen-6ff-moi-nhat.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --btn-register-bg: #C30808;
  --btn-login-bg: #C30808;
  --btn-text-color-yellow: #FFFF00;
  --background-color: #FFFFFF;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-color);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__hero-section {
  padding-top: 10px; /* Adhering to the 10px top padding rule for non-homepage first section */
  padding-bottom: 60px;
  background-color: var(--secondary-color);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: var(--text-color-dark);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__btn-primary,
.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__btn-primary {
  background-color: var(--btn-register-bg);
  color: var(--btn-text-color-yellow);
  border: 2px solid var(--btn-register-bg);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__main-promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__content-area,
.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__how-to-claim,
.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-color);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-item:hover {
  transform: translateY(-5px);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-item p {
  color: var(--text-color-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__how-to-claim .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__container {
  max-width: 900px;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 30px;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__steps-list li {
  counter-increment: step-counter;
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
  font-size: 1.1rem;
  color: var(--text-color-dark);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-list {
  margin-top: 40px;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-color-dark);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-item[open] .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-question {
  border-bottom: none;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-item[open] .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color-dark);
}

.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* General image responsiveness */
.page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    text-align: center;
    margin-bottom: 15px;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__description {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 25px;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__btn-primary,
  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__hero-image {
    order: -1; /* Image appears above text on mobile */
    width: 100%;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__main-promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__content-area,
  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__how-to-claim,
  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-title {
    font-size: 1.3rem;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__steps-list li {
    font-size: 1rem;
    padding-left: 45px;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__steps-list li::before {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-toggle {
    font-size: 1.5rem;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* Generic image rules for content sections */
  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat p img,
  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat div img,
  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat section img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__container,
  .page-blog-khuyen-mai-doc-quyen-6ff-moi-nhat__promo-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}