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

/* Variables for consistency */
:root {
  --primary-color: #007BFF;
  --secondary-color: #28A745;
  --dark-text: #333333;
  --light-text: #ffffff;
  --grey-bg: #f1f3f5;
  --border-color: #e0e0e0;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --button-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-review-one88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--grey-bg); /* Assuming shared.css body background is dark, this section will be light for contrast */
}

/* Fixed navigation bar spacing for desktop */
.page-index-review-one88__introduction-section {
  padding-top: 120px; /* Adjust based on actual fixed header height */
  padding-bottom: 40px;
  background-color: var(--grey-bg);
}

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

.page-index-review-one88__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 40px;
}

.page-index-review-one88__section-title--light {
  color: var(--light-text);
}

.page-index-review-one88__highlight {
  color: var(--secondary-color);
}

.page-index-review-one88 p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  text-align: justify;
}

.page-index-review-one88__main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: var(--card-shadow);
  max-width: 800px;
}

.page-index-review-one88__cta-wrapper {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-index-review-one88__primary-cta {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-index-review-one88__primary-cta:hover {
  background: linear-gradient(135deg, #0056b3, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--button-hover-shadow);
}

/* Detailed Review Section */
.page-index-review-one88__detailed-review-section {
  padding: 60px 0;
  background-color: var(--light-text);
}

.page-index-review-one88__review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-one88__review-card {
  background: var(--light-text);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-index-review-one88__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-review-one88__card-image {
  width: 100%;
  max-width: 300px; /* Ensure image is not too wide in card */
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index-review-one88__cta-bottom-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-index-review-one88__cta-bottom-button {
  display: inline-block;
  padding: 18px 35px;
  background: linear-gradient(135deg, var(--secondary-color), #1e7e34);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

/* Guide Section */
.page-index-review-one88__guide-section {
  padding: 60px 0;
  background-color: var(--grey-bg);
}

.page-index-review-one88__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-one88__step-item {
  background: var(--light-text);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-index-review-one88__step-image {
  width: 100%;
  max-width: 250px; /* Ensure image is not too wide */
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-review-one88__step-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-review-one88__secondary-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.page-index-review-one88__secondary-cta:hover {
  background: #1e7e34;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-index-review-one88__faq-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Dark background for FAQ section */
  color: var(--light-text); /* Light text for dark background */
}

.page-index-review-one88__faq-list {
  margin-top: 40px;
}

.page-index-review-one88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-review-one88__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-index-review-one88__faq-item.active .page-index-review-one88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--light-text); /* Ensure light text on slightly dark background */
}

.page-index-review-one88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0066cc; /* Slightly darker than primary for question bar */
  border: 1px solid #0056b3;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-one88__faq-question:hover {
  background: #0056b3;
  border-color: #004499;
}

.page-index-review-one88__faq-question:active {
  background: #004499;
}

.page-index-review-one88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--light-text); /* Ensure light text on dark question bar */
}

.page-index-review-one88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--light-text);
  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-index-review-one88__faq-item.active .page-index-review-one88__faq-toggle {
  transform: rotate(45deg);
  color: var(--light-text);
}

.page-index-review-one88__faq-cta {
  display: inline-block;
  padding: 8px 15px;
  background: var(--secondary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.page-index-review-one88__faq-cta:hover {
  background: #1e7e34;
  transform: translateY(-1px);
}

/* Conclusion Section */
.page-index-review-one88__conclusion-section {
  padding: 60px 0;
  background-color: var(--grey-bg);
}

.page-index-review-one88__cta-final-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-index-review-one88__cta-final-button {
  display: inline-block;
  padding: 20px 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  text-decoration: none;
  border-radius: 12px;
  font-size: 22px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.page-index-review-one88__cta-final-button:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.page-index-review-one88__text-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-review-one88__text-link:hover {
  color: var(--secondary-color);
}

/* Related Articles Section */
.page-index-review-one88__related-articles-section {
  padding: 60px 0;
  background-color: var(--light-text);
}

.page-index-review-one88__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-one88__article-card {
  background: var(--grey-bg);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.page-index-review-one88__article-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index-review-one88__article-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 15px 10px 15px;
  flex-grow: 1;
}

.page-index-review-one88__article-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-one88__article-card h3 a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-index-review-one88__article-excerpt {
  font-size: 15px;
  color: #555555;
  margin: 0 15px 15px 15px;
  text-align: justify;
}

.page-index-review-one88__article-link {
  display: inline-block;
  padding: 8px 15px;
  background: var(--primary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  margin: 0 15px 15px 15px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-index-review-one88__article-link:hover {
  background: #0056b3;
}

.page-index-review-one88__view-all-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-index-review-one88__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-index-review-one88__view-all-button:hover {
  background: #1e7e34;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-one88__section-title {
    font-size: 30px;
  }
  .page-index-review-one88__card-title {
    font-size: 22px;
  }
  .page-index-review-one88__primary-cta,
  .page-index-review-one88__cta-bottom-button,
  .page-index-review-one88__cta-final-button {
    font-size: 16px;
    padding: 12px 25px;
  }
}

@media (max-width: 768px) {
  /* Mobile fixed navigation bar spacing */
  .page-index-review-one88__introduction-section {
    padding-top: 100px !important; /* Adjust based on actual mobile fixed header height */
    padding-bottom: 30px;
  }

  .page-index-review-one88__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-review-one88__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-index-review-one88 p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-index-review-one88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-index-review-one88__review-grid,
  .page-index-review-one88__guide-steps,
  .page-index-review-one88__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-one88__review-card,
  .page-index-review-one88__step-item,
  .page-index-review-one88__article-card {
    padding: 20px;
  }

  .page-index-review-one88__card-title {
    font-size: 20px;
  }

  .page-index-review-one88__step-item h3 {
    font-size: 18px;
  }

  .page-index-review-one88__primary-cta,
  .page-index-review-one88__cta-bottom-button,
  .page-index-review-one88__cta-final-button {
    font-size: 14px;
    padding: 10px 20px;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-index-review-one88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-one88__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-one88__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index-review-one88__faq-answer {
    padding: 0 15px;
  }
  
  .page-index-review-one88__faq-item.active .page-index-review-one88__faq-answer {
    padding: 15px !important;
  }

  .page-index-review-one88__article-image {
    height: 160px;
  }
  .page-index-review-one88__article-card h3 {
    font-size: 18px;
  }
  .page-index-review-one88__article-excerpt {
    font-size: 14px;
  }
  .page-index-review-one88__article-link {
    font-size: 13px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .page-index-review-one88__section-title {
    font-size: 22px;
  }
  .page-index-review-one88 p {
    font-size: 14px;
  }
  .page-index-review-one88__card-title {
    font-size: 18px;
  }
  .page-index-review-one88__step-item h3 {
    font-size: 16px;
  }
  .page-index-review-one88__primary-cta,
  .page-index-review-one88__cta-bottom-button,
  .page-index-review-one88__cta-final-button {
    font-size: 13px;
    padding: 8px 15px;
  }
  .page-index-review-one88__faq-question h3 {
    font-size: 14px;
  }
  .page-index-review-one88__faq-toggle {
    font-size: 18px;
    width: 20px;
    height: 20px;
  }
  .page-index-review-one88__faq-cta {
    font-size: 12px;
    padding: 6px 10px;
  }
  .page-index-review-one88__article-image {
    height: 140px;
  }
  .page-index-review-one88__article-card h3 {
    font-size: 16px;
  }
  .page-index-review-one88__article-excerpt {
    font-size: 13px;
  }
  .page-index-review-one88__article-link {
    font-size: 12px;
    padding: 5px 10px;
  }
}