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

:root {
  --primary-color: #0056B3;
  --secondary-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-card: #ffffff;
  --border-color: #e0e0e0;
}

.page-index-review-saobet {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* HERO Section */
.page-index-review-saobet__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
}

.page-index-review-saobet__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-review-saobet__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-index-review-saobet__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-review-saobet__page-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-saobet__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-saobet__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index-review-saobet__cta-button:hover {
  background: #e6b000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-saobet__cta-button--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  width: fit-content;
}

/* Review Content Section */
.page-index-review-saobet__review-content-section {
  padding: 40px 20px;
  background: var(--bg-light);
}

.page-index-review-saobet__review-content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-review-saobet__review-content-card {
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: var(--text-dark);
}

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

.page-index-review-saobet__subsection-title {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-review-saobet__review-content-card p,
.page-index-review-saobet__review-content-card li {
  font-size: 1em;
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-index-review-saobet__review-content-card ol,
.page-index-review-saobet__review-content-card ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-index-review-saobet__review-content-card ol li,
.page-index-review-saobet__review-content-card ul li {
  margin-bottom: 8px;
}

.page-index-review-saobet__pros-cons {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index-review-saobet__pros-card,
.page-index-review-saobet__cons-card {
  flex: 1;
  min-width: 300px;
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 25px;
  border: 1px solid var(--border-color);
}

.page-index-review-saobet__pros-card h3,
.page-index-review-saobet__cons-card h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-align: center;
}

.page-index-review-saobet__pros-card ul,
.page-index-review-saobet__cons-card ul {
  list-style: disc;
  padding-left: 20px;
}

.page-index-review-saobet__pros-card li {
  color: #28a745; /* Green for pros */
  font-weight: 500;
}

.page-index-review-saobet__cons-card li {
  color: #dc3545; /* Red for cons */
  font-weight: 500;
}

/* FAQ Section */
.page-index-review-saobet__faq-section {
  padding: 40px 20px;
  background: var(--bg-light);
}

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

.page-index-review-saobet__faq-list {
  margin-top: 30px;
}

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

.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 15px;
  opacity: 0;
}

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

.page-index-review-saobet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  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: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

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

/* General image responsiveness */
.page-index-review-saobet img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-index-review-saobet__hero-content p {
    font-size: 1.1em;
  }

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

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

@media (max-width: 768px) {
  .page-index-review-saobet__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-review-saobet__page-title {
    font-size: 2.2em;
  }

  .page-index-review-saobet__hero-content p {
    font-size: 1em;
  }

  .page-index-review-saobet__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-index-review-saobet__review-content-section,
  .page-index-review-saobet__faq-section {
    padding: 20px 15px;
  }
  
  .page-index-review-saobet__review-content-card {
    padding: 25px 20px;
  }

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

  .page-index-review-saobet__subsection-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-index-review-saobet__review-content-card p,
  .page-index-review-saobet__review-content-card li {
    font-size: 0.95em;
    margin-bottom: 12px;
  }

  .page-index-review-saobet__pros-cons {
    flex-direction: column;
    gap: 20px;
  }

  .page-index-review-saobet__pros-card,
  .page-index-review-saobet__cons-card {
    min-width: unset;
    padding: 20px;
  }

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

  /* Force images and containers to fit mobile screen */
  .page-index-review-saobet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-saobet__review-content-section,
  .page-index-review-saobet__faq-section,
  .page-index-review-saobet__review-content-container,
  .page-index-review-saobet__faq-container,
  .page-index-review-saobet__review-content-card,
  .page-index-review-saobet__pros-card,
  .page-index-review-saobet__cons-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-saobet__hero-container {
    padding-left: 0px;
    padding-right: 0px;
  }
  .page-index-review-saobet__hero-image {
    padding-left: 0px;
    padding-right: 0px;
  }
}