/* style/blog-khuyen-mai-moi-nhat-tu-nwe88.css */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--deep-navy-color);
  line-height: 1.6;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__text-block {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-section {
  padding-top: 10px; /* Rely on body for header offset */
  padding-bottom: 60px;
  background-color: var(--deep-navy-color);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: var(--text-main);
  order: 1; /* Visually content first (left) on desktop */
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__main-title {
  font-size: clamp(28px, 4vw, 48px); /* H1 font size clamp */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-primary,
.page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-secondary,
.page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-secondary {
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--deep-navy-color);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-image {
  flex: 1 1 45%;
  text-align: center;
  min-width: 300px;
  order: 2; /* Visually image second (right) on desktop */
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-side-image {
  max-width: 800px;
  width: 100%;
  height: 600px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-overview {
  background-color: var(--card-bg);
  padding: 60px 0;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-card {
  background-color: var(--deep-navy-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: var(--text-secondary);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--gold-color);
  margin: 20px 20px 10px;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-card-text {
  font-size: 16px;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-link {
  color: var(--glow-color);
  text-align: center;
  padding: 15px 20px;
  display: block;
  border-top: 1px solid var(--divider-color);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-link:hover {
  background-color: rgba(79, 168, 255, 0.1); /* Using rgba from glow-color */
  color: var(--glow-color);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-details {
  background-color: var(--deep-navy-color);
  padding: 60px 0;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__step-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--button-gradient);
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__step-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__step-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__center-cta {
  text-align: center;
  margin-top: 50px;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-section {
  background-color: var(--card-bg);
  padding: 60px 0;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-item {
  background-color: var(--deep-navy-color);
  border: 1px solid var(--divider-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-navy-color);
  border-bottom: 1px solid var(--divider-color);
  list-style: none;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-qtext {
  flex-grow: 1;
  color: var(--gold-color);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
}

.page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-answer {
  padding: 0 25px 18px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* General image responsive styles */
.page-blog-khuyen-mai-moi-nhat-tu-nwe88 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-content {
    order: 2; /* Content below image on tablet */
  }

  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-image {
    order: 1; /* Image above content on tablet */
  }

  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__cta-buttons {
    justify-content: center;
  }

  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-side-image {
    height: auto; /* Adjust height for smaller screens, maintain aspect ratio */
  }

  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-card-image {
    height: 200px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 768px) {
  /* HERO section */
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-container {
    padding: 20px 15px;
    flex-direction: column;
    gap: 30px;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__description {
    font-size: 16px;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-primary,
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Promo Overview Section */
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-overview {
    padding: 40px 0;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Promo Details Section (Steps) */
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-details {
    padding: 40px 0;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__step-item {
    padding: 25px;
  }

  /* FAQ Section */
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-section {
    padding: 40px 0;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

  /* General image responsive styles for content area */
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__hero-side-image,
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__promo-card-image {
    height: auto !important;
  }

  /* Ensure content area images/containers don't cause overflow */
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__section,
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__card,
  .page-blog-khuyen-mai-moi-nhat-tu-nwe88__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}