/* style/resources-how-to-choose-best-hi88bet-games.css */
.page-resources-how-to-choose-best-hi88bet-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background (#000000), so use light text */
  background-color: transparent; /* Body background handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-how-to-choose-best-hi88bet-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

.page-resources-how-to-choose-best-hi88bet-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-resources-how-to-choose-best-hi88bet-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-resources-how-to-choose-best-hi88bet-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-resources-how-to-choose-best-hi88bet-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for title */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-resources-how-to-choose-best-hi88bet-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-how-to-choose-best-hi88bet-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-how-to-choose-best-hi88bet-games__btn-primary,
.page-resources-how-to-choose-best-hi88bet-games__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, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-resources-how-to-choose-best-hi88bet-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-how-to-choose-best-hi88bet-games__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-resources-how-to-choose-best-hi88bet-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-how-to-choose-best-hi88bet-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-how-to-choose-best-hi88bet-games__btn-center {
  display: block;
  margin: 30px auto;
  text-align: center;
}

.page-resources-how-to-choose-best-hi88bet-games__section {
  padding: 60px 20px;
  text-align: left;
  box-sizing: border-box;
}

.page-resources-how-to-choose-best-hi88bet-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  color: #f0f0f0; /* Light text for main content on dark body background */
}

.page-resources-how-to-choose-best-hi88bet-games__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-resources-how-to-choose-best-hi88bet-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-how-to-choose-best-hi88bet-games__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-best-hi88bet-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-resources-how-to-choose-best-hi88bet-games__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-how-to-choose-best-hi88bet-games__ordered-list {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-how-to-choose-best-hi88bet-games__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-how-to-choose-best-hi88bet-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  display: block;
}

.page-resources-how-to-choose-best-hi88bet-games__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 15px;
  width: 400px; /* Example fixed width for desktop */
  height: 300px;
  object-fit: cover;
}

.page-resources-how-to-choose-best-hi88bet-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-choose-best-hi88bet-games__game-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-resources-how-to-choose-best-hi88bet-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-how-to-choose-best-hi88bet-games__game-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-best-hi88bet-games__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-best-hi88bet-games__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-how-to-choose-best-hi88bet-games__call-to-action {
  text-align: center;
  background-color: #1a1a1a; /* Darker background for CTA */
  padding: 80px 20px;
}

.page-resources-how-to-choose-best-hi88bet-games__faq-container {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-best-hi88bet-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources-how-to-choose-best-hi88bet-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  background-color: rgba(38, 169, 224, 0.2); /* Light brand color tint */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-how-to-choose-best-hi88bet-games__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-resources-how-to-choose-best-hi88bet-games__faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

.page-resources-how-to-choose-best-hi88bet-games__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-resources-how-to-choose-best-hi88bet-games__faq-item.active .page-resources-how-to-choose-best-hi88bet-games__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-resources-how-to-choose-best-hi88bet-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-how-to-choose-best-hi88bet-games__faq-item.active .page-resources-how-to-choose-best-hi88bet-games__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-best-hi88bet-games__hero-title {
    font-size: 2.5em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__section-title {
    font-size: 2em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__sub-title {
    font-size: 1.5em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__image--left {
    float: none;
    margin-right: 0;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-best-hi88bet-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-how-to-choose-best-hi88bet-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
  }
  .page-resources-how-to-choose-best-hi88bet-games__hero-title {
    font-size: 1.8em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__hero-description {
    font-size: 1em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-how-to-choose-best-hi88bet-games__btn-primary,
  .page-resources-how-to-choose-best-hi88bet-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-how-to-choose-best-hi88bet-games__section,
  .page-resources-how-to-choose-best-hi88bet-games__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-resources-how-to-choose-best-hi88bet-games__section-title {
    font-size: 1.8em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__sub-title {
    font-size: 1.3em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__paragraph,
  .page-resources-how-to-choose-best-hi88bet-games__list-item {
    font-size: 1em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__image,
  .page-resources-how-to-choose-best-hi88bet-games__hero-image,
  .page-resources-how-to-choose-best-hi88bet-games__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-how-to-choose-best-hi88bet-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-how-to-choose-best-hi88bet-games__game-card {
    padding: 20px;
  }
  .page-resources-how-to-choose-best-hi88bet-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__faq-answer {
    padding: 0 20px;
  }
  .page-resources-how-to-choose-best-hi88bet-games__faq-item.active .page-resources-how-to-choose-best-hi88bet-games__faq-answer {
    padding: 15px 20px;
  }
  .page-resources-how-to-choose-best-hi88bet-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-how-to-choose-best-hi88bet-games__video-container,
  .page-resources-how-to-choose-best-hi88bet-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-resources-how-to-choose-best-hi88bet-games__hero-title {
    font-size: 1.5em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__section-title {
    font-size: 1.5em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__sub-title {
    font-size: 1.2em;
  }
  .page-resources-how-to-choose-best-hi88bet-games__faq-question {
    font-size: 1em;
  }
}