/* style/index-review-tot88.css */

:root {
  --primary-color: #0056B3; /* Deep Blue */
  --secondary-color: #FFC107; /* Gold/Amber */
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --border-color: #e0e0e0;
  --background-light-grey: #f1f3f5;
}

/* Ensure body background color is consistent with shared.css and text color is chosen correctly */
.page-index-review-tot88 {
  color: var(--light-text-color); /* Default text color for potentially dark body background */
  background-color: var(--dark-bg-1); /* Assuming --dark-bg-1 is dark from shared.css */
}

.page-index-review-tot88__intro-section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1); /* Consistent with body */
  color: var(--light-text-color);
  text-align: center;
  /* Fixed navigation bar spacing */
  padding-top: 180px; /* Desktop: Adjust based on actual fixed header height */
}

.page-index-review-tot88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index-review-tot88__main-title {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-index-review-tot88__intro-text {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-index-review-tot88__intro-text strong {
  color: var(--secondary-color);
}

.page-index-review-tot88__cta-wrapper {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-index-review-tot88__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, var(--secondary-color), #FFD700);
  color: var(--dark-text-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-index-review-tot88__cta-button:hover {
  background: linear-gradient(135deg, #FFD700, var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-review-tot88__image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-index-review-tot88__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-index-review-tot88__review-section {
  padding: 60px 20px;
  background-color: var(--background-light-grey); /* Light background for review content */
  color: var(--dark-text-color);
}

.page-index-review-tot88__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-index-review-tot88__text-block {
  background-color: var(--light-text-color); /* White card background */
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  line-height: 1.7;
  font-size: 1.05em;
  color: var(--dark-text-color);
}

.page-index-review-tot88__text-block p {
  margin-bottom: 15px;
}

.page-index-review-tot88__text-block strong {
  color: var(--primary-color);
}

.page-index-review-tot88__text-block ul,
.page-index-review-tot88__text-block ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-index-review-tot88__text-block li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-index-review-tot88__content-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 25px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-review-tot88__faq-section {
  padding: 60px 20px;
  background-color: var(--background-light-grey);
  color: var(--dark-text-color);
}

.page-index-review-tot88__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-review-tot88__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index-review-tot88__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-index-review-tot88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--light-text-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-tot88__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-review-tot88__faq-question:active {
  background: #eeeeee;
}

.page-index-review-tot88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--dark-text-color);
}

.page-index-review-tot88__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-toggle {
  color: var(--dark-text-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-tot88__main-title {
    font-size: 2.8em;
  }

  .page-index-review-tot88__section-title {
    font-size: 2em;
  }

  .page-index-review-tot88__text-block {
    padding: 30px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-index-review-tot88__intro-section {
    padding: 40px 15px;
    padding-top: 140px !important; /* Mobile: Adjust based on actual fixed header height */
  }

  .page-index-review-tot88__main-title {
    font-size: 2.2em;
    margin-bottom: 20px;
  }

  .page-index-review-tot88__intro-text {
    font-size: 1em;
    margin-bottom: 15px;
  }

  .page-index-review-tot88__cta-button {
    padding: 15px 35px;
    font-size: 1em;
  }

  .page-index-review-tot88__review-section,
  .page-index-review-tot88__faq-section {
    padding: 40px 15px;
  }

  .page-index-review-tot88__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-index-review-tot88__text-block {
    padding: 25px;
    margin-bottom: 30px;
  }

  .page-index-review-tot88__text-block ul,
  .page-index-review-tot88__text-block ol {
    margin-left: 20px;
  }

  .page-index-review-tot88__faq-question {
    padding: 18px 20px;
  }

  .page-index-review-tot88__faq-question h3 {
    font-size: 1em;
  }

  .page-index-review-tot88__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }

  .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image adaptation */
  .page-index-review-tot88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-tot88__section,
  .page-index-review-tot88__container,
  .page-index-review-tot88__text-block,
  .page-index-review-tot88__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-index-review-tot88__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-review-tot88__main-title {
    font-size: 1.8em;
  }

  .page-index-review-tot88__section-title {
    font-size: 1.5em;
  }

  .page-index-review-tot88__cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page-index-review-tot88__text-block {
    padding: 20px;
  }

  .page-index-review-tot88__faq-question h3 {
    font-size: 0.95em;
  }
}