/* style/blog-cap-nhat-khuyen-mai-mmoo88.css */

:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --background-page: #F5F7FA;
  --border-color: #E0E0E0;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for light background */
  background-color: var(--background-page);
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__hero-banner {
  padding-top: 10px; /* Small top padding, assuming shared body padding-top */
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__banner-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__banner-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__main-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__banner-image-wrap {
  flex: 1 1 40%;
  text-align: center;
  min-width: 300px;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__banner-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__promo-section {
  padding: 40px 0;
}

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

.page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card-description {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__btn-primary:hover {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__btn-secondary {
  background: var(--card-bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__guide-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

.page-blog-cap-nhat-khuyen-mai-mmoo88__guide-step-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__guide-step p {
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__faq-section {
  padding: 60px 0;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__faq-item summary:hover {
  background-color: #f9f9f9;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__faq-qtext {
  flex-grow: 1;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-blog-cap-nhat-khuyen-mai-mmoo88__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-main-color);
}

/* General image rules for content area */
.page-blog-cap-nhat-khuyen-mai-mmoo88 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-cap-nhat-khuyen-mai-mmoo88__main-title {
    font-size: 2.5em;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__section-title {
    font-size: 2em;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-blog-cap-nhat-khuyen-mai-mmoo88 {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* HERO Banner Section */
  .page-blog-cap-nhat-khuyen-mai-mmoo88__hero-banner {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__banner-wrap {
    flex-direction: column;
    gap: 20px;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__main-title {
    font-size: 2em !important;
    text-align: center;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__intro-text {
    font-size: 1em;
    text-align: center;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__banner-image-wrap {
    order: -1; /* Image appears above text on mobile */
  }

  /* Promotion Section */
  .page-blog-cap-nhat-khuyen-mai-mmoo88__promo-section {
    padding: 30px 0;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card-image {
    height: 200px; /* Adjust height for mobile cards */
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card-content {
    padding: 20px;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card-title {
    font-size: 1.2em !important;
  }

  /* Guide Section */
  .page-blog-cap-nhat-khuyen-mai-mmoo88__guide-section {
    padding: 30px 0;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__guide-step-title {
    font-size: 1.4em !important;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__guide-image {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  /* FAQ Section */
  .page-blog-cap-nhat-khuyen-mai-mmoo88__faq-section {
    padding: 30px 0;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__faq-item summary {
    font-size: 1.1em !important;
    padding: 15px 20px;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__faq-answer {
    padding: 0 20px 15px;
  }

  /* Universal image and container adaptation */
  .page-blog-cap-nhat-khuyen-mai-mmoo88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__container,
  .page-blog-cap-nhat-khuyen-mai-mmoo88__promo-card,
  .page-blog-cap-nhat-khuyen-mai-mmoo88__guide-step,
  .page-blog-cap-nhat-khuyen-mai-mmoo88__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-cap-nhat-khuyen-mai-mmoo88__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-blog-cap-nhat-khuyen-mai-mmoo88__cta-button,
  .page-blog-cap-nhat-khuyen-mai-mmoo88__btn-primary,
  .page-blog-cap-nhat-khuyen-mai-mmoo88__btn-secondary,
  .page-blog-cap-nhat-khuyen-mai-mmoo88 a[class*="button"],
  .page-blog-cap-nhat-khuyen-mai-mmoo88 a[class*="btn"] {
    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-cap-nhat-khuyen-mai-mmoo88__button-group,
  .page-blog-cap-nhat-khuyen-mai-mmoo88__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure buttons stack vertically */
  }
}