/* style/resources-hm888-latest-promotions-analysis.css */
.page-resources-hm888-latest-promotions-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

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

.page-resources-hm888-latest-promotions-analysis__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)); /* Overlay to ensure text contrast */
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.page-resources-hm888-latest-promotions-analysis__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-resources-hm888-latest-promotions-analysis__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-hm888-latest-promotions-analysis__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-hm888-latest-promotions-analysis__btn-primary,
.page-resources-hm888-latest-promotions-analysis__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-hm888-latest-promotions-analysis__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-hm888-latest-promotions-analysis__btn-primary:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

.page-resources-hm888-latest-promotions-analysis__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-hm888-latest-promotions-analysis__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-hm888-latest-promotions-analysis__overview-section,
.page-resources-hm888-latest-promotions-analysis__claiming-guide,
.page-resources-hm888-latest-promotions-analysis__faq-section {
  padding: 60px 0;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff; /* Light background */
}

.page-resources-hm888-latest-promotions-analysis__promotion-types,
.page-resources-hm888-latest-promotions-analysis__terms-conditions,
.page-resources-hm888-latest-promotions-analysis__call-to-action {
  padding: 60px 0;
  color: #ffffff; /* Light text for dark background */
  background-color: #0d0d0d; /* Slightly lighter dark background */
}

.page-resources-hm888-latest-promotions-analysis__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-hm888-latest-promotions-analysis__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  color: inherit;
}

.page-resources-hm888-latest-promotions-analysis__text-block a,
.page-resources-hm888-latest-promotions-analysis__card-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-hm888-latest-promotions-analysis__text-block a:hover,
.page-resources-hm888-latest-promotions-analysis__card-link:hover {
  color: #1e87c2;
}

.page-resources-hm888-latest-promotions-analysis__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hm888-latest-promotions-analysis__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-hm888-latest-promotions-analysis__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-resources-hm888-latest-promotions-analysis__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-hm888-latest-promotions-analysis__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-resources-hm888-latest-promotions-analysis__card-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  color: #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-hm888-latest-promotions-analysis__card-link:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-hm888-latest-promotions-analysis__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-hm888-latest-promotions-analysis__guide-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 5px;
  color: #333333;
}

.page-resources-hm888-latest-promotions-analysis__list-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-resources-hm888-latest-promotions-analysis__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  color: inherit;
}

.page-resources-hm888-latest-promotions-analysis__list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-resources-hm888-latest-promotions-analysis__faq-list {
  margin-top: 40px;
}

.page-resources-hm888-latest-promotions-analysis__faq-item {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #333333;
}

.page-resources-hm888-latest-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #e0e0e0;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  border-bottom: 1px solid #cccccc;
  list-style: none; /* For details/summary */
}

.page-resources-hm888-latest-promotions-analysis__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-hm888-latest-promotions-analysis__faq-qtext {
  flex-grow: 1;
  color: #333333;
}

.page-resources-hm888-latest-promotions-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-resources-hm888-latest-promotions-analysis__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
}

.page-resources-hm888-latest-promotions-analysis__faq-answer p {
  margin: 0;
  color: #555555;
}

.page-resources-hm888-latest-promotions-analysis__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-hm888-latest-promotions-analysis__hero-title {
    font-size: 2.8em;
  }

  .page-resources-hm888-latest-promotions-analysis__section-title {
    font-size: 2em;
  }

  .page-resources-hm888-latest-promotions-analysis__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-hm888-latest-promotions-analysis__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-hm888-latest-promotions-analysis__hero-title {
    font-size: 2.2em;
  }

  .page-resources-hm888-latest-promotions-analysis__hero-description {
    font-size: 1.1em;
  }

  .page-resources-hm888-latest-promotions-analysis__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-resources-hm888-latest-promotions-analysis__overview-section,
  .page-resources-hm888-latest-promotions-analysis__promotion-types,
  .page-resources-hm888-latest-promotions-analysis__claiming-guide,
  .page-resources-hm888-latest-promotions-analysis__terms-conditions,
  .page-resources-hm888-latest-promotions-analysis__faq-section,
  .page-resources-hm888-latest-promotions-analysis__call-to-action {
    padding: 40px 0;
  }

  .page-resources-hm888-latest-promotions-analysis__container {
    padding: 0 15px;
  }

  .page-resources-hm888-latest-promotions-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-hm888-latest-promotions-analysis__text-block {
    font-size: 1em;
  }

  .page-resources-hm888-latest-promotions-analysis__card {
    padding: 20px;
  }

  .page-resources-hm888-latest-promotions-analysis__card-title {
    font-size: 1.3em;
  }

  .page-resources-hm888-latest-promotions-analysis__card-image {
    height: 180px;
  }

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

  /* Ensure all image containers are responsive */
  .page-resources-hm888-latest-promotions-analysis__section,
  .page-resources-hm888-latest-promotions-analysis__card,
  .page-resources-hm888-latest-promotions-analysis__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-resources-hm888-latest-promotions-analysis__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-resources-hm888-latest-promotions-analysis__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-hm888-latest-promotions-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-hm888-latest-promotions-analysis__hero-title {
    font-size: 1.8em;
  }

  .page-resources-hm888-latest-promotions-analysis__section-title {
    font-size: 1.5em;
  }

  .page-resources-hm888-latest-promotions-analysis__card-title {
    font-size: 1.2em;
  }
}

/* General image rules to prevent filter usage and ensure min-size */
.page-resources-hm888-latest-promotions-analysis img {
  filter: none; /* Absolutely no filters allowed */
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hm888-latest-promotions-analysis__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-resources-hm888-latest-promotions-analysis__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-hm888-latest-promotions-analysis__card .page-resources-hm888-latest-promotions-analysis__card-title {
  color: #26A9E0;
}

.page-resources-hm888-latest-promotions-analysis__card .page-resources-hm888-latest-promotions-analysis__card-description a {
  color: #26A9E0;
}

.page-resources-hm888-latest-promotions-analysis a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-hm888-latest-promotions-analysis a:hover {
  color: #1e87c2;
}

/* Ensure all links inside content sections have proper color contrast */
.page-resources-hm888-latest-promotions-analysis__dark-bg a {
  color: #90CAF9; /* Lighter blue for dark backgrounds */
}

.page-resources-hm888-latest-promotions-analysis__dark-bg a:hover {
  color: #BBDEFB; /* Even lighter on hover */
}