.page-resources-w88-alternative-vs-official-links {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

.page-resources-w88-alternative-vs-official-links__hero-section {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Brand colors for hero background */
  color: #FFFFFF;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

.page-resources-w88-alternative-vs-official-links__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-resources-w88-alternative-vs-official-links__hero-content {
  z-index: 2;
  max-width: 800px;
}

.page-resources-w88-alternative-vs-official-links__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #FFFFFF; /* Ensure high contrast on brand color background */
}

.page-resources-w88-alternative-vs-official-links__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF; /* Ensure high contrast on brand color background */
}

.page-resources-w88-alternative-vs-official-links__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources-w88-alternative-vs-official-links__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-w88-alternative-vs-official-links__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-w88-alternative-vs-official-links__cta-button:hover {
  background: #d46f06;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-w88-alternative-vs-official-links__content-section {
  padding: 60px 20px;
}

.page-resources-w88-alternative-vs-official-links__light-bg {
  background: #FFFFFF;
  color: #333333;
}

.page-resources-w88-alternative-vs-official-links__dark-bg {
  background: #26A9E0;
  color: #FFFFFF;
}

.page-resources-w88-alternative-vs-official-links__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-w88-alternative-vs-official-links__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from section background */
}

.page-resources-w88-alternative-vs-official-links__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: inherit; /* Inherit color from section background */
}

.page-resources-w88-alternative-vs-official-links__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-w88-alternative-vs-official-links__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-w88-alternative-vs-official-links__image-text-layout--reverse {
  flex-direction: row-reverse;
}

.page-resources-w88-alternative-vs-official-links__text-content {
  flex: 1;
}

.page-resources-w88-alternative-vs-official-links__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-w88-alternative-vs-official-links__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-w88-alternative-vs-official-links__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-resources-w88-alternative-vs-official-links__list li {
  margin-bottom: 10px;
}

.page-resources-w88-alternative-vs-official-links__table-responsive {
  overflow-x: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-w88-alternative-vs-official-links__comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px; /* Ensure table is wide enough for content */
}

.page-resources-w88-alternative-vs-official-links__comparison-table th,
.page-resources-w88-alternative-vs-official-links__comparison-table td {
  border: 1px solid #e0e0e0;
  padding: 15px;
  text-align: left;
  color: #333333;
}

.page-resources-w88-alternative-vs-official-links__comparison-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #000000;
}

.page-resources-w88-alternative-vs-official-links__comparison-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.page-resources-w88-alternative-vs-official-links__comparison-table tbody tr:hover {
  background-color: #eaf6ff;
}

/* FAQ Section Styles */
.page-resources-w88-alternative-vs-official-links__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-resources-w88-alternative-vs-official-links__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-w88-alternative-vs-official-links__faq-item.active .page-resources-w88-alternative-vs-official-links__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-resources-w88-alternative-vs-official-links__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-w88-alternative-vs-official-links__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-w88-alternative-vs-official-links__faq-question:active {
  background: #eeeeee;
}

.page-resources-w88-alternative-vs-official-links__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333; /* Ensure text is dark on light background */
}

.page-resources-w88-alternative-vs-official-links__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-w88-alternative-vs-official-links__faq-item.active .page-resources-w88-alternative-vs-official-links__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Plus to X for close */
}

/* CTA Section */
.page-resources-w88-alternative-vs-official-links__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
}

.page-resources-w88-alternative-vs-official-links__cta-section .page-resources-w88-alternative-vs-official-links__section-title {
  color: #FFFFFF;
}

.page-resources-w88-alternative-vs-official-links__cta-section .page-resources-w88-alternative-vs-official-links__paragraph {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-w88-alternative-vs-official-links__hero-title {
    font-size: 2.5em;
  }
  .page-resources-w88-alternative-vs-official-links__hero-description {
    font-size: 1.1em;
  }
  .page-resources-w88-alternative-vs-official-links__section-title {
    font-size: 1.8em;
  }
  .page-resources-w88-alternative-vs-official-links__sub-title {
    font-size: 1.4em;
  }
  .page-resources-w88-alternative-vs-official-links__image-text-layout {
    flex-direction: column;
    gap: 30px;
  }
  .page-resources-w88-alternative-vs-official-links__image-text-layout--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-resources-w88-alternative-vs-official-links {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-w88-alternative-vs-official-links__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-w88-alternative-vs-official-links__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-resources-w88-alternative-vs-official-links__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-resources-w88-alternative-vs-official-links__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;
  }
  .page-resources-w88-alternative-vs-official-links__content-section {
    padding: 40px 15px;
  }
  .page-resources-w88-alternative-vs-official-links__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-resources-w88-alternative-vs-official-links__sub-title {
    font-size: 1.2em;
    margin-top: 30px;
  }
  .page-resources-w88-alternative-vs-official-links__paragraph {
    font-size: 0.95em;
  }
  .page-resources-w88-alternative-vs-official-links__list {
    margin-left: 20px;
  }
  .page-resources-w88-alternative-vs-official-links__comparison-table {
    min-width: 500px;
  }
  .page-resources-w88-alternative-vs-official-links__comparison-table th,
  .page-resources-w88-alternative-vs-official-links__comparison-table td {
    padding: 10px;
    font-size: 0.9em;
  }
  .page-resources-w88-alternative-vs-official-links__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-resources-w88-alternative-vs-official-links__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-resources-w88-alternative-vs-official-links__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-resources-w88-alternative-vs-official-links__faq-answer {
    padding: 0 15px;
  }
  .page-resources-w88-alternative-vs-official-links__faq-item.active .page-resources-w88-alternative-vs-official-links__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image adaptation */
  .page-resources-w88-alternative-vs-official-links img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-w88-alternative-vs-official-links__section,
  .page-resources-w88-alternative-vs-official-links__card,
  .page-resources-w88-alternative-vs-official-links__container,
  .page-resources-w88-alternative-vs-official-links__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-w88-alternative-vs-official-links__cta-buttons,
  .page-resources-w88-alternative-vs-official-links__button-group,
  .page-resources-w88-alternative-vs-official-links__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-w88-alternative-vs-official-links__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}