:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color: #333333;
  --light-bg: #f8f9fa;
  --dark-bg-text: #ffffff;
}

.page-resources-ho88-promotions-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff; /* Default light background */
}

.page-resources-ho88-promotions-analysis__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--dark-bg-text);
}

.page-resources-ho88-promotions-analysis__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-ho88-promotions-analysis__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-ho88-promotions-analysis__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-ho88-promotions-analysis__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-ho88-promotions-analysis__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--dark-bg-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-ho88-promotions-analysis__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--dark-bg-text);
}

.page-resources-ho88-promotions-analysis__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-ho88-promotions-analysis__cta-button:hover {
  background: #ffdb80;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-ho88-promotions-analysis__section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-resources-ho88-promotions-analysis__section:nth-of-type(even) {
  background-color: var(--light-bg);
}

.page-resources-ho88-promotions-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-ho88-promotions-analysis__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-ho88-promotions-analysis__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-resources-ho88-promotions-analysis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-ho88-promotions-analysis__card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-ho88-promotions-analysis__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-resources-ho88-promotions-analysis__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-resources-ho88-promotions-analysis__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-ho88-promotions-analysis__card-title a:hover {
  text-decoration: underline;
}

.page-resources-ho88-promotions-analysis__card p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-ho88-promotions-analysis__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--dark-bg-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-ho88-promotions-analysis__card-button:hover {
  background: #0056b3;
}

.page-resources-ho88-promotions-analysis__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-resources-ho88-promotions-analysis__list li {
  background: #f0f8ff;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-ho88-promotions-analysis__list li strong {
  color: var(--primary-color);
}

.page-resources-ho88-promotions-analysis__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Styles */
.page-resources-ho88-promotions-analysis__faq-section {
  background-color: var(--light-bg);
}

.page-resources-ho88-promotions-analysis__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-ho88-promotions-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-ho88-promotions-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-ho88-promotions-analysis__faq-item.active .page-resources-ho88-promotions-analysis__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-resources-ho88-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-ho88-promotions-analysis__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-ho88-promotions-analysis__faq-question:active {
  background: #eeeeee;
}

.page-resources-ho88-promotions-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-resources-ho88-promotions-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-ho88-promotions-analysis__faq-item.active .page-resources-ho88-promotions-analysis__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-ho88-promotions-analysis__main-title {
    font-size: 2.4em;
  }
  .page-resources-ho88-promotions-analysis__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-ho88-promotions-analysis__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-ho88-promotions-analysis__hero-image img {
    border-radius: 4px;
  }
  .page-resources-ho88-promotions-analysis__main-title {
    font-size: 2em;
    line-height: 1.2;
  }
  .page-resources-ho88-promotions-analysis__intro-text {
    font-size: 1em;
  }
  .page-resources-ho88-promotions-analysis__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 20px;
  }
  .page-resources-ho88-promotions-analysis__section {
    padding: 40px 15px;
  }
  .page-resources-ho88-promotions-analysis__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-resources-ho88-promotions-analysis__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-ho88-promotions-analysis__card {
    padding: 20px;
  }
  .page-resources-ho88-promotions-analysis__card-image {
    height: auto;
  }
  .page-resources-ho88-promotions-analysis__card-title {
    font-size: 1.2em;
  }
  .page-resources-ho88-promotions-analysis__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-ho88-promotions-analysis__list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }
  .page-resources-ho88-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-ho88-promotions-analysis__section,
  .page-resources-ho88-promotions-analysis__card,
  .page-resources-ho88-promotions-analysis__container,
  .page-resources-ho88-promotions-analysis__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-ho88-promotions-analysis__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-resources-ho88-promotions-analysis__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-resources-ho88-promotions-analysis__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-resources-ho88-promotions-analysis__faq-answer {
    padding: 0 15px;
  }
  .page-resources-ho88-promotions-analysis__faq-item.active .page-resources-ho88-promotions-analysis__faq-answer {
    padding: 15px !important;
  }
  .page-resources-ho88-promotions-analysis__grid--tips {
    grid-template-columns: 1fr;
  }
  .page-resources-ho88-promotions-analysis__cta-buttons,
  .page-resources-ho88-promotions-analysis__button-group,
  .page-resources-ho88-promotions-analysis__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;
  }
  .page-resources-ho88-promotions-analysis__cta-bottom .page-resources-ho88-promotions-analysis__cta-button {
    width: auto !important;
    min-width: unset !important;
  }
}

@media (max-width: 480px) {
  .page-resources-ho88-promotions-analysis__main-title {
    font-size: 1.8em;
  }
  .page-resources-ho88-promotions-analysis__section-title {
    font-size: 1.4em;
  }
  .page-resources-ho88-promotions-analysis__cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}