.page-resources-quang-ngai-lottery-prediction-methods__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

.page-resources-quang-ngai-lottery-prediction-methods__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 116, 57, 0.7);
  z-index: 1;
}

.page-resources-quang-ngai-lottery-prediction-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.page-resources-quang-ngai-lottery-prediction-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00;
}

.page-resources-quang-ngai-lottery-prediction-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-quang-ngai-lottery-prediction-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-quang-ngai-lottery-prediction-methods__btn-primary,
.page-resources-quang-ngai-lottery-prediction-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-resources-quang-ngai-lottery-prediction-methods__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-resources-quang-ngai-lottery-prediction-methods__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-2px);
}

.page-resources-quang-ngai-lottery-prediction-methods__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border-color: #017439;
}

.page-resources-quang-ngai-lottery-prediction-methods__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
  transform: translateY(-2px);
}

.page-resources-quang-ngai-lottery-prediction-methods__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
  line-height: 1.7;
}

.page-resources-quang-ngai-lottery-prediction-methods__section-title {
  font-size: 2.5em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-resources-quang-ngai-lottery-prediction-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-quang-ngai-lottery-prediction-methods__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-quang-ngai-lottery-prediction-methods__card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-resources-quang-ngai-lottery-prediction-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-quang-ngai-lottery-prediction-methods__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-resources-quang-ngai-lottery-prediction-methods__card-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-quang-ngai-lottery-prediction-methods__card-description {
  font-size: 1em;
  color: #555555;
}

.page-resources-quang-ngai-lottery-prediction-methods__step-by-step {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-quang-ngai-lottery-prediction-methods__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f0fdf5;
  border-left: 5px solid #017439;
  border-radius: 8px;
}

.page-resources-quang-ngai-lottery-prediction-methods__step-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.page-resources-quang-ngai-lottery-prediction-methods__step-description {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-quang-ngai-lottery-prediction-methods__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-quang-ngai-lottery-prediction-methods__tips-list,
.page-resources-quang-ngai-lottery-prediction-methods__warning-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-quang-ngai-lottery-prediction-methods__tips-list li,
.page-resources-quang-ngai-lottery-prediction-methods__warning-list li {
  background-color: #f8f8f8;
  border-left: 4px solid #017439;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-quang-ngai-lottery-prediction-methods__warning-list li {
  border-left-color: #C30808; /* Use warning color for warnings */
}

.page-resources-quang-ngai-lottery-prediction-methods__tip-heading,
.page-resources-quang-ngai-lottery-prediction-methods__warning-heading {
  font-size: 1.4em;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-quang-ngai-lottery-prediction-methods__warning-heading {
  color: #C30808;
}

.page-resources-quang-ngai-lottery-prediction-methods__tips-list li p,
.page-resources-quang-ngai-lottery-prediction-methods__warning-list li p {
  font-size: 1em;
  color: #555555;
}

.page-resources-quang-ngai-lottery-prediction-methods__faq-list {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources-quang-ngai-lottery-prediction-methods__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-quang-ngai-lottery-prediction-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed;
  transition: background-color 0.3s ease;
}

.page-resources-quang-ngai-lottery-prediction-methods__faq-question:hover {
  background-color: #d0f0d8;
}

.page-resources-quang-ngai-lottery-prediction-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-quang-ngai-lottery-prediction-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-quang-ngai-lottery-prediction-methods__faq-answer p {
  padding-bottom: 15px;
  margin-bottom: 0;
}

.page-resources-quang-ngai-lottery-prediction-methods__faq-item.active .page-resources-quang-ngai-lottery-prediction-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-resources-quang-ngai-lottery-prediction-methods__faq-item.active .page-resources-quang-ngai-lottery-prediction-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-quang-ngai-lottery-prediction-methods__cta-bottom {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-quang-ngai-lottery-prediction-methods__hero-title {
    font-size: 3em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__section-title {
    font-size: 2em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__card-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-quang-ngai-lottery-prediction-methods__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__hero-title {
    font-size: 2.5em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__hero-description {
    font-size: 1em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__btn-primary,
  .page-resources-quang-ngai-lottery-prediction-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__content-area {
    padding: 30px 15px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__text-block {
    font-size: 0.95em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__card {
    padding: 20px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__step-item {
    padding: 15px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__step-title {
    font-size: 1.6em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__step-description {
    font-size: 0.95em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__tips-list li,
  .page-resources-quang-ngai-lottery-prediction-methods__warning-list li {
    padding: 15px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__tip-heading,
  .page-resources-quang-ngai-lottery-prediction-methods__warning-heading {
    font-size: 1.2em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__faq-answer {
    padding: 0 20px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__faq-item.active .page-resources-quang-ngai-lottery-prediction-methods__faq-answer {
    padding: 15px 20px;
  }

  /* Image and Video responsiveness */
  .page-resources-quang-ngai-lottery-prediction-methods img,
  .page-resources-quang-ngai-lottery-prediction-methods video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__card-image,
  .page-resources-quang-ngai-lottery-prediction-methods__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__container,
  .page-resources-quang-ngai-lottery-prediction-methods__methods-grid,
  .page-resources-quang-ngai-lottery-prediction-methods__step-by-step,
  .page-resources-quang-ngai-lottery-prediction-methods__faq-list,
  .page-resources-quang-ngai-lottery-prediction-methods__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-resources-quang-ngai-lottery-prediction-methods__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__video-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-resources-quang-ngai-lottery-prediction-methods__hero-title {
    font-size: 2em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__section-title {
    font-size: 1.6em;
  }
  .page-resources-quang-ngai-lottery-prediction-methods__btn-primary,
  .page-resources-quang-ngai-lottery-prediction-methods__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}