/* style/resources-how-to-choose-best-vn88-team-games.css */

:root {
  --primary-color: #E44D26;
  --secondary-color: #333333;
  --text-light-color: #ffffff;
  --text-dark-color: #333333;
  --bg-dark-color: #121212; /* From body background in shared.css */
  --card-bg-light: #ffffff;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-resources-how-to-choose-best-vn88-team-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light-color); /* Default text color on dark body background */
  background-color: var(--bg-dark-color);
}

.page-resources-how-to-choose-best-vn88-team-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-how-to-choose-best-vn88-team-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background-color: var(--bg-dark-color);
  position: relative;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-resources-how-to-choose-best-vn88-team-games__hero-section .page-resources-how-to-choose-best-vn88-team-games__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-resources-how-to-choose-best-vn88-team-games__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-resources-how-to-choose-best-vn88-team-games__hero-title {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-how-to-choose-best-vn88-team-games__hero-description {
  font-size: 1.2em;
  color: var(--text-light-color);
  margin-bottom: 30px;
}

.page-resources-how-to-choose-best-vn88-team-games__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-resources-how-to-choose-best-vn88-team-games__btn-primary,
.page-resources-how-to-choose-best-vn88-team-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-how-to-choose-best-vn88-team-games__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light-color);
  border: 2px solid var(--primary-color);
}

.page-resources-how-to-choose-best-vn88-team-games__btn-primary:hover {
  background-color: #ff6a40;
  border-color: #ff6a40;
}

.page-resources-how-to-choose-best-vn88-team-games__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-how-to-choose-best-vn88-team-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light-color);
}

.page-resources-how-to-choose-best-vn88-team-games__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-how-to-choose-best-vn88-team-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-how-to-choose-best-vn88-team-games__content-section {
  padding: 60px 0;
}

.page-resources-how-to-choose-best-vn88-team-games__dark-bg {
  background-color: var(--secondary-color);
  color: var(--text-light-color);
}

.page-resources-how-to-choose-best-vn88-team-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-how-to-choose-best-vn88-team-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-resources-how-to-choose-best-vn88-team-games__section-title--white {
  color: var(--text-light-color);
}

.page-resources-how-to-choose-best-vn88-team-games__section-title--white::after {
  background-color: var(--text-light-color);
}

.page-resources-how-to-choose-best-vn88-team-games__text-block {
  font-size: 1.1em;
  color: var(--text-dark-color);
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-how-to-choose-best-vn88-team-games__text-block--white {
  color: var(--text-light-color);
}

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

.page-resources-how-to-choose-best-vn88-team-games__card {
  background-color: var(--card-bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  color: var(--text-dark-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px; /* Ensure cards have minimum height */
}

.page-resources-how-to-choose-best-vn88-team-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-how-to-choose-best-vn88-team-games__card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-how-to-choose-best-vn88-team-games__card-description {
  font-size: 1em;
  color: var(--text-dark-color);
  text-align: justify;
}

.page-resources-how-to-choose-best-vn88-team-games__game-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-how-to-choose-best-vn88-team-games__list-item {
  background-color: var(--card-bg-dark);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-light-color);
}

.page-resources-how-to-choose-best-vn88-team-games__list-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-resources-how-to-choose-best-vn88-team-games__list-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-how-to-choose-best-vn88-team-games__list-title a:hover {
  text-decoration: underline;
}

.page-resources-how-to-choose-best-vn88-team-games__list-description {
  font-size: 1em;
  color: var(--text-light-color);
  text-align: justify;
}

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

.page-resources-how-to-choose-best-vn88-team-games__tip-card {
  background-color: var(--card-bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  color: var(--text-dark-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-how-to-choose-best-vn88-team-games__tip-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-resources-how-to-choose-best-vn88-team-games__tip-description {
  font-size: 1em;
  color: var(--text-dark-color);
  text-align: justify;
}

.page-resources-how-to-choose-best-vn88-team-games__video-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-how-to-choose-best-vn88-team-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.page-resources-how-to-choose-best-vn88-team-games__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-resources-how-to-choose-best-vn88-team-games__cta-buttons--center {
  justify-content: center;
  margin-top: 20px;
}

.page-resources-how-to-choose-best-vn88-team-games__faq-list {
  margin-top: 40px;
}

.page-resources-how-to-choose-best-vn88-team-games__faq-item {
  background-color: var(--card-bg-light);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: var(--text-dark-color);
}

.page-resources-how-to-choose-best-vn88-team-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid var(--border-color);
}

.page-resources-how-to-choose-best-vn88-team-games__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-how-to-choose-best-vn88-team-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-how-to-choose-best-vn88-team-games__faq-item.active .page-resources-how-to-choose-best-vn88-team-games__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-how-to-choose-best-vn88-team-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-how-to-choose-best-vn88-team-games__faq-item.active .page-resources-how-to-choose-best-vn88-team-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px;
}

.page-resources-how-to-choose-best-vn88-team-games__faq-answer p {
  margin: 0;
  color: var(--text-dark-color);
  font-size: 1em;
  text-align: justify;
}

.page-resources-how-to-choose-best-vn88-team-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-best-vn88-team-games__hero-title {
    font-size: 2.8em;
  }
  .page-resources-how-to-choose-best-vn88-team-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-best-vn88-team-games__hero-section .page-resources-how-to-choose-best-vn88-team-games__container {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-how-to-choose-best-vn88-team-games__hero-content,
  .page-resources-how-to-choose-best-vn88-team-games__hero-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-resources-how-to-choose-best-vn88-team-games__hero-title {
    font-size: 2.2em;
  }

  .page-resources-how-to-choose-best-vn88-team-games__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-choose-best-vn88-team-games__cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-resources-how-to-choose-best-vn88-team-games__btn-primary,
  .page-resources-how-to-choose-best-vn88-team-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-how-to-choose-best-vn88-team-games__section-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-choose-best-vn88-team-games__text-block {
    font-size: 0.95em;
  }

  .page-resources-how-to-choose-best-vn88-team-games__card {
    padding: 20px;
  }

  .page-resources-how-to-choose-best-vn88-team-games__card-title {
    font-size: 1.4em;
  }

  .page-resources-how-to-choose-best-vn88-team-games__list-item {
    padding: 20px;
  }

  .page-resources-how-to-choose-best-vn88-team-games__list-title {
    font-size: 1.5em;
  }

  .page-resources-how-to-choose-best-vn88-team-games__tip-title {
    font-size: 1.3em;
  }

  .page-resources-how-to-choose-best-vn88-team-games__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  /* Images and Videos Responsive */
  .page-resources-how-to-choose-best-vn88-team-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-resources-how-to-choose-best-vn88-team-games video,
  .page-resources-how-to-choose-best-vn88-team-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-how-to-choose-best-vn88-team-games__section,
  .page-resources-how-to-choose-best-vn88-team-games__card,
  .page-resources-how-to-choose-best-vn88-team-games__container,
  .page-resources-how-to-choose-best-vn88-team-games__video-section,
  .page-resources-how-to-choose-best-vn88-team-games__video-container,
  .page-resources-how-to-choose-best-vn88-team-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-how-to-choose-best-vn88-team-games__video-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}

@media (max-width: 480px) {
  .page-resources-how-to-choose-best-vn88-team-games__hero-title {
    font-size: 1.8em;
  }
  .page-resources-how-to-choose-best-vn88-team-games__section-title {
    font-size: 1.5em;
  }
  .page-resources-how-to-choose-best-vn88-team-games__btn-primary,
  .page-resources-how-to-choose-best-vn88-team-games__btn-secondary {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}