.page-so-sanh-nha-cai {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

.page-so-sanh-nha-cai__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-so-sanh-nha-cai__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-so-sanh-nha-cai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-so-sanh-nha-cai__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-so-sanh-nha-cai__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-so-sanh-nha-cai__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-so-sanh-nha-cai__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-so-sanh-nha-cai__cta-buttons--center {
  margin-top: 30px;
}

.page-so-sanh-nha-cai__btn-primary,
.page-so-sanh-nha-cai__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-so-sanh-nha-cai__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-so-sanh-nha-cai__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-so-sanh-nha-cai__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-so-sanh-nha-cai__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-so-sanh-nha-cai__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-so-sanh-nha-cai__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-so-sanh-nha-cai__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-so-sanh-nha-cai__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: inherit;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-so-sanh-nha-cai__dark-bg .page-so-sanh-nha-cai__section-title {
  color: #ffffff;
}

.page-so-sanh-nha-cai__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
  text-align: justify;
}

.page-so-sanh-nha-cai__criteria-list,
.page-so-sanh-nha-cai__game-list,
.page-so-sanh-nha-cai__why-choose-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-so-sanh-nha-cai__criteria-item,
.page-so-sanh-nha-cai__game-item,
.page-so-sanh-nha-cai__why-choose-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 1.05em;
  line-height: 1.6;
}

.page-so-sanh-nha-cai__dark-bg .page-so-sanh-nha-cai__criteria-item,
.page-so-sanh-nha-cai__dark-bg .page-so-sanh-nha-cai__game-item,
.page-so-sanh-nha-cai__dark-bg .page-so-sanh-nha-cai__why-choose-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-left-color: #ffffff;
}

.page-so-sanh-nha-cai__image-text-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.page-so-sanh-nha-cai__image-block {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-so-sanh-nha-cai__text-content {
  flex: 1;
}

.page-so-sanh-nha-cai__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: inherit;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-so-sanh-nha-cai__game-list li {
  background-color: #eef7fc;
  border-left-color: #26A9E0;
  color: #333333;
}

.page-so-sanh-nha-cai__dark-bg .page-so-sanh-nha-cai__game-list li {
  background-color: rgba(255, 255, 255, 0.15);
  border-left-color: #ffffff;
  color: #ffffff;
}

.page-so-sanh-nha-cai__comparison-table-section {
  padding-bottom: 30px;
}

.page-so-sanh-nha-cai__table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
}

.page-so-sanh-nha-cai__comparison-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-so-sanh-nha-cai__comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  min-width: 600px; /* Ensure table is wide enough for comparison */
}

.page-so-sanh-nha-cai__comparison-table th,
.page-so-sanh-nha-cai__comparison-table td {
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  text-align: left;
  font-size: 0.95em;
}

.page-so-sanh-nha-cai__comparison-table th {
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: bold;
}

.page-so-sanh-nha-cai__comparison-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.page-so-sanh-nha-cai__comparison-table tbody tr:hover {
  background-color: #e0f2f7;
}

.page-so-sanh-nha-cai__faq-section {
  padding-top: 30px;
}

.page-so-sanh-nha-cai__faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-so-sanh-nha-cai__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-so-sanh-nha-cai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  cursor: pointer;
  background-color: #eef7fc;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-so-sanh-nha-cai__faq-question::-webkit-details-marker {
  display: none;
}

.page-so-sanh-nha-cai__faq-question:hover {
  background-color: #e0f2f7;
}

.page-so-sanh-nha-cai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-so-sanh-nha-cai__faq-item[open] .page-so-sanh-nha-cai__faq-toggle {
  content: "-";
  transform: rotate(45deg);
}

.page-so-sanh-nha-cai__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  background-color: #ffffff;
}

.page-so-sanh-nha-cai__faq-answer p {
  margin: 0;
}

.page-so-sanh-nha-cai__conclusion-section {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-so-sanh-nha-cai__hero-content {
    max-width: 768px;
  }

  .page-so-sanh-nha-cai__section {
    padding: 50px 20px;
  }

  .page-so-sanh-nha-cai__image-text-block {
    flex-direction: column;
    align-items: center;
  }

  .page-so-sanh-nha-cai__image-block {
    max-width: 80%;
    margin-bottom: 20px;
  }

  .page-so-sanh-nha-cai__comparison-table {
    min-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-so-sanh-nha-cai {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-so-sanh-nha-cai__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-so-sanh-nha-cai__main-title {
    font-size: 2em;
  }

  .page-so-sanh-nha-cai__hero-description {
    font-size: 1em;
  }

  .page-so-sanh-nha-cai__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-so-sanh-nha-cai__btn-primary,
  .page-so-sanh-nha-cai__btn-secondary,
  .page-so-sanh-nha-cai a[class*="button"],
  .page-so-sanh-nha-cai a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-so-sanh-nha-cai__section,
  .page-so-sanh-nha-cai__card,
  .page-so-sanh-nha-cai__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-so-sanh-nha-cai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-so-sanh-nha-cai__section-title {
    font-size: 1.8em;
  }

  .page-so-sanh-nha-cai__image-text-block {
    flex-direction: column;
    align-items: center;
  }

  .page-so-sanh-nha-cai__image-block {
    max-width: 100%;
    min-width: unset;
  }

  .page-so-sanh-nha-cai__sub-title {
    font-size: 1.5em;
  }

  .page-so-sanh-nha-cai__criteria-item,
  .page-so-sanh-nha-cai__game-item,
  .page-so-sanh-nha-cai__why-choose-item {
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-so-sanh-nha-cai__comparison-table {
    min-width: unset;
  }

  .page-so-sanh-nha-cai__comparison-table th,
  .page-so-sanh-nha-cai__comparison-table td {
    padding: 10px;
    font-size: 0.9em;
  }

  .page-so-sanh-nha-cai__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-so-sanh-nha-cai__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }
}

/* No module 3-6 specific styles for non-homepage */
/* The following are placeholder styles for homepage modules, not applicable here */
.page-so-sanh-nha-cai__home-content { /* Not applicable */ }
.page-so-sanh-nha-cai__row-games { /* Not applicable */ }
.page-so-sanh-nha-cai__games-title { /* Not applicable */ }
.page-so-sanh-nha-cai__slider-wrapper { /* Not applicable */ }
.page-so-sanh-nha-cai__slider-track { /* Not applicable */ }
.page-so-sanh-nha-cai__game-slide { /* Not applicable */ }
.page-so-sanh-nha-cai__banners-top-wrapper { /* Not applicable */ }
.page-so-sanh-nha-cai__banner-item img { /* Not applicable */ }
.page-so-sanh-nha-cai__blog-masonry { /* Not applicable */ }
.page-so-sanh-nha-cai__blog-card-link { /* Not applicable */ }
.page-so-sanh-nha-cai__btn-outline { /* Not applicable */ }
.page-so-sanh-nha-cai__blog-slider-track { /* Not applicable */ }
.page-so-sanh-nha-cai__blog-slide { /* Not applicable */ }
.page-so-sanh-nha-cai__row-sport { /* Not applicable */ }
.page-so-sanh-nha-cai__sport-title { /* Not applicable */ }
.page-so-sanh-nha-cai__row-coop { /* Not applicable */ }
.page-so-sanh-nha-cai__coop-title { /* Not applicable */ }