/* style/resources-latest-hb88-promotions.css */

/* Base styles for the page content */
.page-resources-latest-hb88-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background is white */
}

/* Fixed Header Spacing */
.page-resources-latest-hb88-promotions__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-latest-hb88-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
.page-resources-latest-hb88-promotions__hero-section {
  position: relative;
  background: linear-gradient(90deg, #26A9E0, #4CAF50); /* Example gradient, adjust if needed */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding-bottom: 60px;
}

.page-resources-latest-hb88-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-resources-latest-hb88-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-latest-hb88-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-latest-hb88-promotions__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-latest-hb88-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-latest-hb88-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Blurs the image slightly for text readability */
}

.page-resources-latest-hb88-promotions__introduction-section,
.page-resources-latest-hb88-promotions__welcome-offer-details,
.page-resources-latest-hb88-promotions__vip-program-section,
.page-resources-latest-hb88-promotions__guide-section,
.page-resources-latest-hb88-promotions__conclusion-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for contrast */
}

.page-resources-latest-hb88-promotions__types-section,
.page-resources-latest-hb88-promotions__deposit-cashback-section,
.page-resources-latest-hb88-promotions__terms-conditions-section,
.page-resources-latest-hb88-promotions__faq-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text for contrast */
}

.page-resources-latest-hb88-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section for contrast */
}

.page-resources-latest-hb88-promotions__subsection-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-latest-hb88-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-latest-hb88-promotions__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-resources-latest-hb88-promotions__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
}

.page-resources-latest-hb88-promotions__btn-primary:hover {
  background-color: #1a7fb3; /* Darker shade of primary */
  transform: translateY(-2px);
}

.page-resources-latest-hb88-promotions__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0; /* Brand primary color */
  padding: 15px 30px;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-resources-latest-hb88-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Specific button for Login/Register where color is specified */
.page-resources-latest-hb88-promotions__btn-login {
  background-color: #EA7C07; /* Login specific color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-resources-latest-hb88-promotions__btn-login:hover {
  background-color: #c46400; /* Darker shade */
}

/* Cards */
.page-resources-latest-hb88-promotions__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-latest-hb88-promotions__card {
  background-color: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for contrast */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-latest-hb88-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-latest-hb88-promotions__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-latest-hb88-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand primary color for titles */
}

.page-resources-latest-hb88-promotions__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows description to take available space */
}

/* Lists */
.page-resources-latest-hb88-promotions__ordered-list,
.page-resources-latest-hb88-promotions__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-resources-latest-hb88-promotions__ordered-list li,
.page-resources-latest-hb88-promotions__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-latest-hb88-promotions__list-highlight {
  color: inherit; /* Inherit color from section for contrast */
}

/* Step cards */
.page-resources-latest-hb88-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-latest-hb88-promotions__step-card {
  background-color: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-latest-hb88-promotions__step-number {
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-resources-latest-hb88-promotions__step-description {
  font-size: 0.95em;
}

/* FAQ Section */
.page-resources-latest-hb88-promotions__faq-list {
  margin-top: 40px;
}

.page-resources-latest-hb88-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-resources-latest-hb88-promotions__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-latest-hb88-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff; /* White text for dark background */
}

.page-resources-latest-hb88-promotions__faq-title {
  margin: 0;
  color: inherit;
}

.page-resources-latest-hb88-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-resources-latest-hb88-promotions__faq-item.active .page-resources-latest-hb88-promotions__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-resources-latest-hb88-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0; /* Lighter white for answer text */
}

.page-resources-latest-hb88-promotions__faq-item.active .page-resources-latest-hb88-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-resources-latest-hb88-promotions__faq-answer p {
  margin: 0;
}

/* CTA buttons at the end */
.page-resources-latest-hb88-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-latest-hb88-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-resources-latest-hb88-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-hb88-promotions__hero-section {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    padding-bottom: 40px;
  }

  .page-resources-latest-hb88-promotions__hero-title {
    font-size: 2.2em;
  }

  .page-resources-latest-hb88-promotions__hero-description {
    font-size: 1em;
  }

  .page-resources-latest-hb88-promotions__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-latest-hb88-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-latest-hb88-promotions__subsection-title {
    font-size: 1.5em;
  }

  .page-resources-latest-hb88-promotions__text-block,
  .page-resources-latest-hb88-promotions__ordered-list li,
  .page-resources-latest-hb88-promotions__unordered-list li,
  .page-resources-latest-hb88-promotions__card-description,
  .page-resources-latest-hb88-promotions__step-description,
  .page-resources-latest-hb88-promotions__faq-question,
  .page-resources-latest-hb88-promotions__faq-answer p {
    font-size: 1em;
  }

  .page-resources-latest-hb88-promotions__cards-grid,
  .page-resources-latest-hb88-promotions__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-latest-hb88-promotions__container {
    padding: 0 15px;
  }
}