/* style/index-review-saobet.css */
:root {
  --primary-color: #B80F0A;
  --secondary-color: #FFD700;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --background-dark: #000000;
  --card-bg-light: #ffffff;
  --border-light: #e0e0e0;
}

.page-index-review-saobet {
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark); /* Ensure main content area matches body background */
  padding-top: 120px; /* Adjust for fixed header */
}

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

/* HERO Placeholder Section */
.page-index-review-saobet__hero-placeholder {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), #8a0b08);
  color: #ffffff;
  margin-bottom: 40px;
}

.page-index-review-saobet__main-title {
  font-size: 42px;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-review-saobet__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  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(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  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: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-saobet__cta-button--primary {
  background: var(--primary-color);
  color: #ffffff;
}

.page-index-review-saobet__cta-button--primary:hover {
  background: #8a0b08;
}

.page-index-review-saobet__cta-button--secondary {
  background: var(--card-bg-light);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.page-index-review-saobet__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #8a0b08;
}

.page-index-review-saobet__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index-review-saobet__button-group--center {
  margin-top: 40px;
}

.page-index-review-saobet__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-index-review-saobet__introduction-section,
.page-index-review-saobet__detailed-review-section,
.page-index-review-saobet__registration-guide-section,
.page-index-review-saobet__faq-section,
.page-index-review-saobet__latest-news-section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-index-review-saobet__introduction-card,
.page-index-review-saobet__review-card,
.page-index-review-saobet__card,
.page-index-review-saobet__faq-card {
  background: var(--card-bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 40px;
  color: var(--text-dark);
}

.page-index-review-saobet__content-block p,
.page-index-review-saobet__review-item p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-index-review-saobet__content-block h3,
.page-index-review-saobet__review-item h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-review-saobet__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-saobet__review-item {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-light);
}

.page-index-review-saobet__review-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-index-review-saobet__review-heading {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-index-review-saobet__step-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-index-review-saobet__step-list li {
  background: #f9f9f9;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 17px;
  line-height: 1.6;
  border-left: 5px solid var(--secondary-color);
}

.page-index-review-saobet__step-list li strong {
  color: var(--primary-color);
}

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

.page-index-review-saobet__step-list li a:hover {
  text-decoration: underline;
}

/* FAQ Styles */
.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: #fff;
  border: 1px solid #e0e0e0;
  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: 16px;
  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);
}

/* Latest News Section */
.page-index-review-saobet__latest-news-section {
  background-color: var(--background-dark);
}

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

.page-index-review-saobet__news-item {
  background: var(--card-bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-index-review-saobet__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-review-saobet__news-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 15px 10px 15px;
  line-height: 1.4;
}

.page-index-review-saobet__news-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-saobet__news-title a:hover {
  text-decoration: underline;
}

.page-index-review-saobet__news-excerpt {
  font-size: 15px;
  color: #555;
  margin: 0 15px 15px 15px;
  flex-grow: 1;
}

.page-index-review-saobet__news-date {
  font-size: 13px;
  color: #888;
  margin: 0 15px 15px 15px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-saobet__main-title {
    font-size: 38px;
  }
  .page-index-review-saobet__section-title {
    font-size: 28px;
  }
  .page-index-review-saobet__introduction-card,
  .page-index-review-saobet__review-card,
  .page-index-review-saobet__card,
  .page-index-review-saobet__faq-card {
    padding: 30px;
  }
  .page-index-review-saobet__review-heading {
    font-size: 22px;
  }
  .page-index-review-saobet__news-item h3 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-index-review-saobet {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index-review-saobet__container {
    padding: 0 15px;
  }
  .page-index-review-saobet__hero-placeholder {
    padding: 40px 15px;
    margin-bottom: 20px;
  }
  .page-index-review-saobet__main-title {
    font-size: 30px;
  }
  .page-index-review-saobet__subtitle {
    font-size: 16px;
  }
  .page-index-review-saobet__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-index-review-saobet__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-review-saobet__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-index-review-saobet__introduction-section,
  .page-index-review-saobet__detailed-review-section,
  .page-index-review-saobet__registration-guide-section,
  .page-index-review-saobet__faq-section,
  .page-index-review-saobet__latest-news-section {
    padding: 20px 0;
    margin-bottom: 10px;
  }
  .page-index-review-saobet__introduction-card,
  .page-index-review-saobet__review-card,
  .page-index-review-saobet__card,
  .page-index-review-saobet__faq-card {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-index-review-saobet__content-block p,
  .page-index-review-saobet__review-item p {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .page-index-review-saobet__content-block h3,
  .page-index-review-saobet__review-item h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .page-index-review-saobet__image {
    margin: 15px auto;
  }
  .page-index-review-saobet__review-item {
    margin-bottom: 30px;
    padding-bottom: 15px;
  }
  .page-index-review-saobet__review-heading {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .page-index-review-saobet__step-list li {
    font-size: 16px;
    padding: 12px 15px;
  }
  .page-index-review-saobet__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-review-saobet__faq-question h3 {
    font-size: 15px;
    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;
  }
  .page-index-review-saobet__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-saobet__news-image {
    height: 180px;
  }
  .page-index-review-saobet__news-item h3 {
    font-size: 17px;
  }
}

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

/* Mobile specific image and container rules */
@media (max-width: 768px) {
  .page-index-review-saobet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-saobet__section,
  .page-index-review-saobet__card,
  .page-index-review-saobet__container,
  .page-index-review-saobet__introduction-card,
  .page-index-review-saobet__review-card,
  .page-index-review-saobet__faq-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}