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

/* Variables for color scheme */
:root {
  --primary-color: #8B0000; /* Deep Red */
  --secondary-color: #FFD700; /* Gold */
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --background-dark: #111;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the page content, considering body background is #111 (dark) */
.page-index-review-saobet {
  color: var(--text-on-dark); /* Default text color for the main content area */
  background-color: var(--background-dark);
  min-height: 100vh;
}

/* Fixed header spacing */
.page-index-review-saobet__hero-placeholder {
  height: 120px; /* Desktop: Adjust based on fixed header height */
  width: 100%;
}

@media (max-width: 768px) {
  .page-index-review-saobet__hero-placeholder {
    height: 100px !important; /* Mobile: Adjust for mobile fixed header height */
  }
}

.page-index-review-saobet__review-section {
  padding: 40px 20px;
  background: var(--background-light); /* Light background for main review content */
  color: var(--text-on-light);
}

.page-index-review-saobet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

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

.page-index-review-saobet__introduction-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 40px;
  color: var(--text-on-light);
}

.page-index-review-saobet__review-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 30px;
  overflow: hidden; /* Ensure content stays within card */
}

.page-index-review-saobet__card-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.page-index-review-saobet__card-content h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-review-saobet__card-content p,
.page-index-review-saobet__card-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-light);
  margin-bottom: 15px;
  text-align: justify;
}

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

.page-index-review-saobet__card-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-saobet__card-content a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-index-review-saobet__image--full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

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

.page-index-review-saobet__btn-primary,
.page-index-review-saobet__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin: 0 10px;
}

.page-index-review-saobet__btn-primary {
  background: var(--primary-color);
  color: var(--text-on-dark);
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
}

.page-index-review-saobet__btn-primary:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 0, 0, 0.3);
}

.page-index-review-saobet__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-on-light);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.page-index-review-saobet__btn-secondary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

.page-index-review-saobet__conclusion-section {
  background: var(--primary-color);
  color: var(--text-on-dark);
  padding: 50px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 30px;
}

.page-index-review-saobet__conclusion-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-index-review-saobet__conclusion-text {
  font-size: 18px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Section */
.page-index-review-saobet__faq-section {
  padding: 50px 20px;
  background: var(--background-light);
  color: var(--text-on-light);
}

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

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

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

.page-index-review-saobet__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 25px;
  opacity: 0;
  background: #f9f9f9;
  color: var(--text-on-light);
}

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

.page-index-review-saobet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--card-background);
  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-saobet__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

.page-index-review-saobet__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: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-saobet__main-title {
    font-size: 32px;
  }
  .page-index-review-saobet__card-title {
    font-size: 24px;
  }
  .page-index-review-saobet__card-content h3 {
    font-size: 20px;
  }
  .page-index-review-saobet__card-content p,
  .page-index-review-saobet__card-content li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-index-review-saobet__review-section,
  .page-index-review-saobet__faq-section {
    padding: 20px 15px;
  }

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

  .page-index-review-saobet__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-index-review-saobet__introduction-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-index-review-saobet__review-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  .page-index-review-saobet__card-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .page-index-review-saobet__card-content h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-index-review-saobet__card-content p,
  .page-index-review-saobet__card-content li {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .page-index-review-saobet__image--full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .page-index-review-saobet__btn-primary,
  .page-index-review-saobet__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    width: 100%;
    margin: 10px 0;
  }

  .page-index-review-saobet__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-index-review-saobet__conclusion-title {
    font-size: 26px;
  }

  .page-index-review-saobet__conclusion-text {
    font-size: 16px;
  }

  .page-index-review-saobet__faq-main-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-index-review-saobet__faq-question {
    padding: 15px 20px;
  }

  .page-index-review-saobet__faq-question h3 {
    font-size: 16px;
  }

  .page-index-review-saobet__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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